Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Specify block type format
Tomas Valenta0183f82873d3
diff --git a/state/store.ts b/state/store.tsindex cfadcbee3..e933fae99 100644--- a/state/store.ts+++ b/state/store.ts@@ -8,7 +8,13 @@ import { projects, Prisma } from '@prisma/client'import { Database } from 'db/supabase'import { projectsTable } from 'db/tables'-export type BlockType = 'Basic' | 'RequestBody' | 'StructuredProse'+export type BlockType =+ // Raw text+ 'Basic' |+ // Code that looks like TypeScript interface definition without the outer parenthesses.+ 'RequestBody' |+ // ProseMirror XML+ 'StructuredProse'export interface Block {id: string