@vellumai/plugin-api 0.10.0-dev.202606232234.a0ec2ee → 0.10.0-dev.202606240021.ba2da8c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +4 -9
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -563,18 +563,13 @@ declare interface BundleAppResponse {
|
|
|
563
563
|
|
|
564
564
|
declare type CardSurfaceData = z.infer<typeof CardSurfaceDataSchema>;
|
|
565
565
|
|
|
566
|
-
/**
|
|
567
|
-
* Card surface data. Defined as a Zod schema so the type is derived (not
|
|
568
|
-
* hand-maintained) and the seed-content-block schema can compose it directly
|
|
569
|
-
* instead of treating card `data` as an opaque record.
|
|
570
|
-
*/
|
|
571
566
|
declare const CardSurfaceDataSchema: z.ZodObject<{
|
|
572
|
-
title: z.ZodString
|
|
567
|
+
title: z.ZodOptional<z.ZodString>;
|
|
573
568
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
574
|
-
body: z.ZodString
|
|
569
|
+
body: z.ZodOptional<z.ZodString>;
|
|
575
570
|
metadata: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
576
|
-
label: z.
|
|
577
|
-
value: z.
|
|
571
|
+
label: z.ZodCoercedString<unknown>;
|
|
572
|
+
value: z.ZodCoercedString<unknown>;
|
|
578
573
|
}, z.core.$strip>>>;
|
|
579
574
|
template: z.ZodOptional<z.ZodString>;
|
|
580
575
|
templateData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
package/package.json
CHANGED