@builder.io/ai-utils 0.92.0 → 0.93.0
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 +1 -1
- package/src/projects.d.ts +2 -2
- package/src/projects.js +4 -2
package/package.json
CHANGED
package/src/projects.d.ts
CHANGED
|
@@ -3450,8 +3450,8 @@ export declare const ProjectTemplateSchema: z.ZodObject<{
|
|
|
3450
3450
|
updatedAt: z.ZodString;
|
|
3451
3451
|
createdBy: z.ZodString;
|
|
3452
3452
|
lastUpdateBy: z.ZodString;
|
|
3453
|
-
sourceProjectId: z.ZodString
|
|
3454
|
-
sourceBranchName: z.ZodString
|
|
3453
|
+
sourceProjectId: z.ZodOptional<z.ZodString>;
|
|
3454
|
+
sourceBranchName: z.ZodOptional<z.ZodString>;
|
|
3455
3455
|
settings: z.ZodObject<{
|
|
3456
3456
|
isNativeApp: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3457
3457
|
autoDetectDevServer: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
package/src/projects.js
CHANGED
|
@@ -1861,8 +1861,10 @@ export const ProjectTemplateSchema = z.object({
|
|
|
1861
1861
|
updatedAt: z.string(),
|
|
1862
1862
|
createdBy: z.string(),
|
|
1863
1863
|
lastUpdateBy: z.string(),
|
|
1864
|
-
|
|
1865
|
-
|
|
1864
|
+
// Only set when the template is seeded from an unconnected built-in
|
|
1865
|
+
// template's container backup; repo-connected sources clone from their repo.
|
|
1866
|
+
sourceProjectId: z.string().optional(),
|
|
1867
|
+
sourceBranchName: z.string().optional(),
|
|
1866
1868
|
settings: ProjectSettingsSchema.partial(),
|
|
1867
1869
|
hosting: ProjectHostingSchema.optional(),
|
|
1868
1870
|
});
|