Skip to content

ChainGraph API Documentation / @badaitech/chaingraph-types / SerializedFlowMetadataSchema

Variable: SerializedFlowMetadataSchema

const SerializedFlowMetadataSchema: ZodObject<{ canFork: ZodOptional<ZodBoolean>; createdAt: ZodDate; description: ZodOptional<ZodString>; forkRule: ZodOptional<ZodRecord<ZodString, ZodAny>>; id: ZodOptional<ZodString>; isPublic: ZodOptional<ZodBoolean>; metadata: ZodOptional<ZodRecord<ZodString, ZodAny>>; name: ZodString; ownerID: ZodOptional<ZodString>; parentId: ZodOptional<ZodString>; schemaVersion: ZodOptional<ZodString>; tags: ZodOptional<ZodArray<ZodString, "many">>; updatedAt: ZodDate; version: ZodOptional<ZodNumber>; }, "strip", ZodTypeAny, { canFork?: boolean; createdAt: Date; description?: string; forkRule?: Record<string, any>; id?: string; isPublic?: boolean; metadata?: Record<string, any>; name: string; ownerID?: string; parentId?: string; schemaVersion?: string; tags?: string[]; updatedAt: Date; version?: number; }, { canFork?: boolean; createdAt: Date; description?: string; forkRule?: Record<string, any>; id?: string; isPublic?: boolean; metadata?: Record<string, any>; name: string; ownerID?: string; parentId?: string; schemaVersion?: string; tags?: string[]; updatedAt: Date; version?: number; }>

Defined in: packages/chaingraph-types/src/flow/types.zod.ts:13

Licensed under BUSL-1.1