BlockSuite API Documentation / @blocksuite/affine-model / EdgelessTextZodSchema
Variable: EdgelessTextZodSchema
constEdgelessTextZodSchema:ZodDefault<ZodObject<{color:ZodUnion<[ZodString,ZodObject<{normal:ZodString; },"strip",ZodTypeAny, {normal:string; }, {normal:string; }>,ZodObject<{dark:ZodString;light:ZodString; },"strip",ZodTypeAny, {dark:string;light:string; }, {dark:string;light:string; }>]>;fontFamily:ZodNativeEnum<typeofFontFamily>;fontStyle:ZodNativeEnum<typeofFontStyle>;fontWeight:ZodNativeEnum<typeofFontWeight>;textAlign:ZodNativeEnum<typeofTextAlign>; },"strip",ZodTypeAny, {color:string| {normal:string; } | {dark:string;light:string; };fontFamily:FontFamily;fontStyle:FontStyle;fontWeight:FontWeight;textAlign:TextAlign; }, {color:string| {normal:string; } | {dark:string;light:string; };fontFamily:FontFamily;fontStyle:FontStyle;fontWeight:FontWeight;textAlign:TextAlign; }>>
Defined in: packages/affine/model/src/blocks/edgeless-text/edgeless-text-model.ts:32