@builder.io/ai-utils 0.79.4 → 0.80.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/design-systems.d.ts +1 -0
- package/src/design-systems.js +1 -0
- package/src/events.d.ts +8 -0
- package/src/organization.d.ts +1 -0
- package/src/projects.d.ts +1 -0
package/package.json
CHANGED
package/src/design-systems.d.ts
CHANGED
|
@@ -99,6 +99,7 @@ export declare const uploadTokenPayloadSchema: z.ZodObject<{
|
|
|
99
99
|
mimetype: z.ZodString;
|
|
100
100
|
originalName: z.ZodString;
|
|
101
101
|
idx: z.ZodNumber;
|
|
102
|
+
declaredSize: z.ZodOptional<z.ZodNumber>;
|
|
102
103
|
}, z.core.$strip>;
|
|
103
104
|
export type UploadTokenPayload = z.infer<typeof uploadTokenPayloadSchema>;
|
|
104
105
|
export interface UploadStartResponseItem {
|
package/src/design-systems.js
CHANGED
|
@@ -71,6 +71,7 @@ export const uploadTokenPayloadSchema = z.object({
|
|
|
71
71
|
mimetype: z.string().min(1),
|
|
72
72
|
originalName: z.string().min(1),
|
|
73
73
|
idx: z.number().int().nonnegative(),
|
|
74
|
+
declaredSize: z.number().int().nonnegative().optional(),
|
|
74
75
|
});
|
|
75
76
|
/**
|
|
76
77
|
* Request body for the signed-URL variant of `POST /design-systems/v1/generate`.
|
package/src/events.d.ts
CHANGED
|
@@ -1106,6 +1106,14 @@ export interface FigmaFrameManifestEntry {
|
|
|
1106
1106
|
htmlSizeBytes: number;
|
|
1107
1107
|
/** True if this frame's HTML upload failed after retry; HTML may be missing. */
|
|
1108
1108
|
uploadError?: boolean;
|
|
1109
|
+
/**
|
|
1110
|
+
* Deterministically extracted component names from `data-component-name`
|
|
1111
|
+
* attributes in this frame's HTML. Populated during the decode job while the
|
|
1112
|
+
* HTML is already in memory. Used by the discovery agent as a guaranteed
|
|
1113
|
+
* floor — additional components may exist in the codebase that are not
|
|
1114
|
+
* represented in the Figma file.
|
|
1115
|
+
*/
|
|
1116
|
+
componentNames?: string[];
|
|
1109
1117
|
}
|
|
1110
1118
|
export interface FigmaFrameAsset {
|
|
1111
1119
|
/** Bucket-relative GCS path. */
|
package/src/organization.d.ts
CHANGED
package/src/projects.d.ts
CHANGED
|
@@ -635,6 +635,7 @@ export interface ProjectRolePermissions {
|
|
|
635
635
|
modifyMcpServers?: boolean;
|
|
636
636
|
modifyWorkflowIntegrations?: boolean;
|
|
637
637
|
modifyProjectSettings?: boolean;
|
|
638
|
+
fusionHostingPublish?: boolean;
|
|
638
639
|
}
|
|
639
640
|
export interface ProjectAccessControl {
|
|
640
641
|
roles: Record<string, ProjectRolePermissions | null>;
|