@builder.io/ai-utils 0.85.2 → 0.85.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.85.2",
3
+ "version": "0.85.3",
4
4
  "description": "Builder.io AI utils",
5
5
  "files": [
6
6
  "src"
package/src/projects.d.ts CHANGED
@@ -1722,6 +1722,10 @@ export declare const DeployArtifactManifestSchema: z.ZodObject<{
1722
1722
  functions: z.ZodRecord<z.ZodString, z.ZodString>;
1723
1723
  functions_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1724
1724
  function_invocation_modes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1725
+ function_schedules: z.ZodOptional<z.ZodArray<z.ZodObject<{
1726
+ name: z.ZodString;
1727
+ cron: z.ZodString;
1728
+ }, z.core.$strip>>>;
1725
1729
  }, z.core.$strip>;
1726
1730
  export type DeployArtifactManifest = z.infer<typeof DeployArtifactManifestSchema>;
1727
1731
  /**
package/src/projects.js CHANGED
@@ -633,6 +633,15 @@ export const DeployArtifactManifestSchema = z.object({
633
633
  function_invocation_modes: z.record(z.string(), z.string()).optional().meta({
634
634
  description: 'Lambda invocation mode per function name (e.g. "stream" for v2 streaming functions)',
635
635
  }),
636
+ function_schedules: z
637
+ .array(z.object({
638
+ name: z.string(),
639
+ cron: z.string(),
640
+ }))
641
+ .optional()
642
+ .meta({
643
+ description: "Scheduled Netlify functions and their cron expressions",
644
+ }),
636
645
  });
637
646
  /**
638
647
  * Per-deploy overrides passed from ai-services to the deploy pod's build-and-upload endpoint.