@supernova-studio/model 1.14.0 → 1.14.2

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.mjs CHANGED
@@ -6257,108 +6257,106 @@ var ForgeBuildArtifact = Artifact.extend({
6257
6257
  });
6258
6258
  var ForgeArtifact = z192.union([ForgeBuildArtifact, ForgeSpecArtifact, ForgeFigmaArtifact, ForgeFileArtifact]);
6259
6259
 
6260
+ // src/forge/id.ts
6261
+ import { z as z193 } from "zod";
6262
+ var Id = z193.string().uuid();
6263
+
6260
6264
  // src/forge/iteration-message.ts
6261
- import { z as z194 } from "zod";
6265
+ import { z as z195 } from "zod";
6262
6266
 
6263
6267
  // src/forge/participant.ts
6264
- import { z as z193 } from "zod";
6265
- var ForgeParticipant = z193.object({
6266
- id: z193.string(),
6267
- agentId: z193.string().optional(),
6268
+ import { z as z194 } from "zod";
6269
+ var ForgeParticipant = z194.object({
6270
+ id: z194.string(),
6271
+ agentId: z194.string().optional(),
6268
6272
  agent: ForgeAgent.optional(),
6269
- projectIterationId: z193.string(),
6270
- role: z193.enum(["Editor", "Viewer"]),
6271
- type: z193.enum(["Agent", "User"]),
6272
- userId: z193.string().optional(),
6273
+ projectIterationId: z194.string(),
6274
+ role: z194.enum(["Editor", "Viewer"]),
6275
+ type: z194.enum(["Agent", "User"]),
6276
+ userId: z194.string().optional(),
6273
6277
  user: User.optional()
6274
6278
  });
6275
6279
 
6276
6280
  // src/forge/iteration-message.ts
6277
- var ForgeIterationMessageStep = z194.object({
6278
- name: z194.string(),
6279
- text: z194.string(),
6280
- status: z194.enum(["pending", "started", "completed", "error"])
6281
+ var ForgeIterationMessageStep = z195.object({
6282
+ name: z195.string(),
6283
+ text: z195.string(),
6284
+ status: z195.enum(["pending", "started", "completed", "error"])
6281
6285
  });
6282
- var ForgeIterationMessage = z194.object({
6283
- id: z194.string(),
6284
- createdAt: z194.coerce.date(),
6285
- participantId: z194.string(),
6286
+ var ForgeIterationMessage = z195.object({
6287
+ id: z195.string(),
6288
+ createdAt: z195.coerce.date(),
6289
+ participantId: z195.string(),
6286
6290
  participant: ForgeParticipant,
6287
- projectIterationId: z194.string(),
6288
- steps: z194.array(ForgeIterationMessageStep).optional(),
6289
- type: z194.enum(["Note", "Action", "Steps"]),
6290
- text: z194.string()
6291
+ projectIterationId: z195.string(),
6292
+ steps: z195.array(ForgeIterationMessageStep).optional(),
6293
+ type: z195.enum(["Note", "Action", "Steps"]),
6294
+ text: z195.string()
6291
6295
  });
6292
6296
 
6293
6297
  // src/forge/meta.ts
6294
- import { z as z195 } from "zod";
6295
- var ForgeMeta = z195.object({
6296
- name: z195.string(),
6297
- description: z195.string().optional()
6298
- });
6299
-
6300
- // src/forge/project-artifact-content.ts
6301
6298
  import { z as z196 } from "zod";
6302
- var ForgeProjectArtifactContentData = DocumentationPageContentData;
6303
- var ForgeProjectArtifactContent = z196.object({
6304
- id: z196.string(),
6305
- artifactId: z196.string(),
6306
- projectId: z196.string(),
6307
- createdAt: z196.coerce.date(),
6308
- updatedAt: z196.coerce.date(),
6309
- data: ForgeProjectArtifactContentData
6299
+ var ForgeMeta = z196.object({
6300
+ name: z196.string(),
6301
+ description: z196.string().optional()
6310
6302
  });
6311
6303
 
6312
- // src/forge/project-artifact.ts
6304
+ // src/forge/project-artifact-content.ts
6313
6305
  import { z as z197 } from "zod";
6314
- var ForgeProjectArtifact = z197.object({
6306
+ var ForgeProjectArtifactContentData = DocumentationPageContentData;
6307
+ var ForgeProjectArtifactContent = z197.object({
6315
6308
  id: z197.string(),
6309
+ artifactId: z197.string(),
6316
6310
  projectId: z197.string(),
6317
- iterationId: z197.string().nullish(),
6318
- title: z197.string(),
6319
- previewUrl: z197.string().nullish(),
6320
- path: z197.string(),
6321
- sortOrder: z197.number().default(0),
6322
6311
  createdAt: z197.coerce.date(),
6323
6312
  updatedAt: z197.coerce.date(),
6324
- createdByUserId: z197.string()
6313
+ data: ForgeProjectArtifactContentData
6325
6314
  });
6326
6315
 
6327
- // src/forge/project-context.ts
6316
+ // src/forge/project-artifact.ts
6328
6317
  import { z as z198 } from "zod";
6329
- var ForgeProjectContextDependency = z198.object({
6330
- packageName: z198.string(),
6331
- type: z198.literal("npm"),
6332
- version: z198.string().default("latest")
6333
- });
6334
- var ForgeProjectContextTailwindConfig = z198.object({
6335
- content: z198.string(),
6336
- version: z198.string()
6337
- });
6338
- var ForgeProjectContext = z198.object({
6339
- createdAt: z198.coerce.date(),
6340
- definition: z198.string(),
6341
- dependencies: z198.array(ForgeProjectContextDependency),
6342
- designSystemId: z198.string(),
6318
+ var ForgeProjectArtifact = z198.object({
6343
6319
  id: z198.string(),
6320
+ projectId: z198.string(),
6321
+ iterationId: z198.string().nullish(),
6322
+ title: z198.string(),
6323
+ previewUrl: z198.string().nullish(),
6324
+ path: z198.string(),
6325
+ sortOrder: z198.number().default(0),
6326
+ createdAt: z198.coerce.date(),
6327
+ updatedAt: z198.coerce.date(),
6328
+ createdByUserId: z198.string()
6329
+ });
6330
+
6331
+ // src/forge/project-context.ts
6332
+ import { z as z199 } from "zod";
6333
+ var ForgeProjectContextDependency = z199.object({
6334
+ packageName: z199.string(),
6335
+ type: z199.literal("npm"),
6336
+ version: z199.string().default("latest")
6337
+ });
6338
+ var ForgeProjectContextTailwindConfig = z199.object({
6339
+ content: z199.string(),
6340
+ version: z199.string()
6341
+ });
6342
+ var ForgeProjectContext = z199.object({
6343
+ createdAt: z199.coerce.date(),
6344
+ definition: z199.string(),
6345
+ dependencies: z199.array(ForgeProjectContextDependency),
6346
+ designSystemId: z199.string(),
6347
+ id: z199.string(),
6344
6348
  meta: ForgeMeta,
6345
- name: z198.string(),
6349
+ name: z199.string(),
6346
6350
  npmProxySettings: NpmRegistryConfig,
6347
- platform: z198.enum(["React", "Vue", "Angular"]),
6348
- styling: z198.enum(["CSS", "Tailwind"]),
6351
+ platform: z199.enum(["React", "Vue", "Angular"]),
6352
+ styling: z199.enum(["CSS", "Tailwind"]),
6349
6353
  tailwindConfig: ForgeProjectContextTailwindConfig.optional(),
6350
- updatedAt: z198.coerce.date(),
6351
- workspaceId: z198.string()
6354
+ updatedAt: z199.coerce.date(),
6355
+ workspaceId: z199.string()
6352
6356
  });
6353
6357
 
6354
6358
  // src/forge/project-feature.ts
6355
6359
  import { z as z200 } from "zod";
6356
-
6357
- // src/forge/id.ts
6358
- import { z as z199 } from "zod";
6359
- var Id = z199.string().uuid();
6360
-
6361
- // src/forge/project-feature.ts
6362
6360
  var ProjectFeature = z200.object({
6363
6361
  createdAt: z200.coerce.date(),
6364
6362
  createdByUserId: z200.string(),
@@ -6953,6 +6951,7 @@ export {
6953
6951
  HANDLE_MIN_LENGTH,
6954
6952
  HierarchicalElements,
6955
6953
  IconSet,
6954
+ Id,
6956
6955
  ImageImportModel,
6957
6956
  ImageImportModelType,
6958
6957
  ImportFunctionInput,