@vellumai/plugin-api 0.10.1-staging.3 → 0.10.1

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.
Files changed (2) hide show
  1. package/index.d.ts +4 -9
  2. 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.ZodString;
577
- value: z.ZodString;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.1-staging.3",
3
+ "version": "0.10.1",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",