@supernova-studio/client 1.48.15 → 1.48.16

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/dist/index.js CHANGED
@@ -3439,7 +3439,6 @@ var FileStructureStats = _zod.z.object({
3439
3439
  componentSets: zeroNumberByDefault()
3440
3440
  });
3441
3441
  var SourceImportSummaryByTokenTypeKey = DesignTokenType.or(
3442
- // Backward compatibility
3443
3442
  _zod.z.enum(["Measure", "Radius", "GenericToken", "Font", "Text"])
3444
3443
  );
3445
3444
  var SourceImportSummaryByTokenType = _zod.z.record(SourceImportSummaryByTokenTypeKey, _zod.z.number());
@@ -10241,54 +10240,6 @@ var DTOForgeProjectArtifactRoomResponse = _zod.z.object({
10241
10240
  // src/api/dto/forge/project-context-override.ts
10242
10241
 
10243
10242
 
10244
- // src/api/dto/forge/project-context.ts
10245
-
10246
- var DTOForgeProjectContext = _zod.z.object({
10247
- definition: _zod.z.string(),
10248
- dependencies: _zod.z.array(
10249
- _zod.z.object({
10250
- packageName: _zod.z.string(),
10251
- type: _zod.z.literal("npm"),
10252
- version: _zod.z.string().default("latest")
10253
- })
10254
- ),
10255
- designSystemId: _zod.z.string(),
10256
- id: _zod.z.string(),
10257
- meta: _zod.z.object({
10258
- name: _zod.z.string(),
10259
- description: _zod.z.string().optional()
10260
- }),
10261
- name: _zod.z.string(),
10262
- npmProxySettings: DTONpmRegistryConfig.optional(),
10263
- platform: _zod.z.enum(["React", "Vue", "Angular"]),
10264
- styling: _zod.z.enum(["CSS", "Tailwind"]),
10265
- tailwindConfig: _zod.z.object({
10266
- content: _zod.z.string(),
10267
- version: _zod.z.string()
10268
- }).optional(),
10269
- createdAt: _zod.z.coerce.date(),
10270
- updatedAt: _zod.z.coerce.date(),
10271
- workspaceId: _zod.z.string()
10272
- });
10273
- var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
10274
- definition: true,
10275
- name: true,
10276
- meta: true,
10277
- designSystemId: true,
10278
- platform: true,
10279
- dependencies: true,
10280
- tailwindConfig: true,
10281
- styling: true
10282
- }).extend({ npmProxySettings: DTONpmRegistryConfig });
10283
- var DTOUpdateForgeProjectContext = DTOCreateForgeProjectContext.partial().extend({ id: _zod.z.string() });
10284
- var DTOForgeProjectContextGetResponse = _zod.z.object({ context: DTOForgeProjectContext });
10285
- var DTOForgeProjectContextListResponse = _zod.z.object({ contexts: _zod.z.array(DTOForgeProjectContext) });
10286
- var DTOForgeProjectContextCreateResponse = _zod.z.object({ context: DTOForgeProjectContext });
10287
- var DTOForgeProjectContextUpdateResponse = _zod.z.object({ context: DTOForgeProjectContext });
10288
- var DTOForgeProjectContextRemoveResponse = _zod.z.object({
10289
- ok: _zod.z.literal(true)
10290
- });
10291
-
10292
10243
  // src/api/dto/forge/project-context-v2.ts
10293
10244
 
10294
10245
  var DTOForgeComponentSetTypeV2 = _zod.z.enum(["Shadcn"]);
@@ -10447,7 +10398,56 @@ var DTOProjectContextOverrideInput = _zod2.default.object({
10447
10398
  });
10448
10399
  var DTOProjectContextOverrideResponse = _zod2.default.object({
10449
10400
  override: DTOProjectContextOverride,
10450
- resolvedContext: DTOForgeProjectContext
10401
+ originalContext: DTOForgeProjectContextV2,
10402
+ resolvedContext: DTOForgeProjectContextV2
10403
+ });
10404
+
10405
+ // src/api/dto/forge/project-context.ts
10406
+
10407
+ var DTOForgeProjectContext = _zod.z.object({
10408
+ definition: _zod.z.string(),
10409
+ dependencies: _zod.z.array(
10410
+ _zod.z.object({
10411
+ packageName: _zod.z.string(),
10412
+ type: _zod.z.literal("npm"),
10413
+ version: _zod.z.string().default("latest")
10414
+ })
10415
+ ),
10416
+ designSystemId: _zod.z.string(),
10417
+ id: _zod.z.string(),
10418
+ meta: _zod.z.object({
10419
+ name: _zod.z.string(),
10420
+ description: _zod.z.string().optional()
10421
+ }),
10422
+ name: _zod.z.string(),
10423
+ npmProxySettings: DTONpmRegistryConfig.optional(),
10424
+ platform: _zod.z.enum(["React", "Vue", "Angular"]),
10425
+ styling: _zod.z.enum(["CSS", "Tailwind"]),
10426
+ tailwindConfig: _zod.z.object({
10427
+ content: _zod.z.string(),
10428
+ version: _zod.z.string()
10429
+ }).optional(),
10430
+ createdAt: _zod.z.coerce.date(),
10431
+ updatedAt: _zod.z.coerce.date(),
10432
+ workspaceId: _zod.z.string()
10433
+ });
10434
+ var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
10435
+ definition: true,
10436
+ name: true,
10437
+ meta: true,
10438
+ designSystemId: true,
10439
+ platform: true,
10440
+ dependencies: true,
10441
+ tailwindConfig: true,
10442
+ styling: true
10443
+ }).extend({ npmProxySettings: DTONpmRegistryConfig });
10444
+ var DTOUpdateForgeProjectContext = DTOCreateForgeProjectContext.partial().extend({ id: _zod.z.string() });
10445
+ var DTOForgeProjectContextGetResponse = _zod.z.object({ context: DTOForgeProjectContext });
10446
+ var DTOForgeProjectContextListResponse = _zod.z.object({ contexts: _zod.z.array(DTOForgeProjectContext) });
10447
+ var DTOForgeProjectContextCreateResponse = _zod.z.object({ context: DTOForgeProjectContext });
10448
+ var DTOForgeProjectContextUpdateResponse = _zod.z.object({ context: DTOForgeProjectContext });
10449
+ var DTOForgeProjectContextRemoveResponse = _zod.z.object({
10450
+ ok: _zod.z.literal(true)
10451
10451
  });
10452
10452
 
10453
10453
  // src/api/dto/forge/project-figma-node.ts