@supernova-studio/model 1.46.6 → 1.47.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/dist/index.d.mts CHANGED
@@ -158029,6 +158029,7 @@ declare const ForgeProjectArtifact: z$1.ZodObject<{
158029
158029
  renderMode: "Image" | "HTML" | "JSON";
158030
158030
  } | undefined;
158031
158031
  }>>;
158032
+ isArchived: z$1.ZodDefault<z$1.ZodBoolean>;
158032
158033
  }, "strip", z$1.ZodTypeAny, {
158033
158034
  id: string;
158034
158035
  createdAt: Date;
@@ -158037,6 +158038,7 @@ declare const ForgeProjectArtifact: z$1.ZodObject<{
158037
158038
  sortOrder: number;
158038
158039
  createdByUserId: string;
158039
158040
  projectId: string;
158041
+ isArchived: boolean;
158040
158042
  threadId?: string | undefined;
158041
158043
  previewUrl?: string | null | undefined;
158042
158044
  thumbnail?: {
@@ -158077,6 +158079,7 @@ declare const ForgeProjectArtifact: z$1.ZodObject<{
158077
158079
  } | undefined;
158078
158080
  iterationId?: string | null | undefined;
158079
158081
  sectionId?: string | undefined;
158082
+ isArchived?: boolean | undefined;
158080
158083
  }>;
158081
158084
  type ForgeProjectArtifact = z$1.infer<typeof ForgeProjectArtifact>;
158082
158085
 
@@ -158086,7 +158089,7 @@ declare const ProjectFeature: z$1.ZodObject<{
158086
158089
  createdByUserId: z$1.ZodString;
158087
158090
  description: z$1.ZodString;
158088
158091
  id: z$1.ZodString;
158089
- isArchived: z$1.ZodOptional<z$1.ZodBoolean>;
158092
+ isArchived: z$1.ZodBoolean;
158090
158093
  name: z$1.ZodString;
158091
158094
  projectId: z$1.ZodString;
158092
158095
  sectionId: z$1.ZodOptional<z$1.ZodString>;
@@ -158160,6 +158163,7 @@ declare const ProjectFeature: z$1.ZodObject<{
158160
158163
  sortOrder: number;
158161
158164
  createdByUserId: string;
158162
158165
  projectId: string;
158166
+ isArchived: boolean;
158163
158167
  numberOfIterations: number;
158164
158168
  numberOfBookmarkedIterations: number;
158165
158169
  updatedAt?: Date | undefined;
@@ -158177,7 +158181,6 @@ declare const ProjectFeature: z$1.ZodObject<{
158177
158181
  } | undefined;
158178
158182
  } | undefined;
158179
158183
  sectionId?: string | undefined;
158180
- isArchived?: boolean | undefined;
158181
158184
  e2bTemplateId?: string | null | undefined;
158182
158185
  e2bIterationId?: string | null | undefined;
158183
158186
  lastReplyTimestamp?: Date | undefined;
@@ -158188,6 +158191,7 @@ declare const ProjectFeature: z$1.ZodObject<{
158188
158191
  description: string;
158189
158192
  createdByUserId: string;
158190
158193
  projectId: string;
158194
+ isArchived: boolean;
158191
158195
  status?: "Draft" | "ReadyForDevelopment" | undefined;
158192
158196
  updatedAt?: Date | undefined;
158193
158197
  threadId?: string | undefined;
@@ -158205,7 +158209,6 @@ declare const ProjectFeature: z$1.ZodObject<{
158205
158209
  } | undefined;
158206
158210
  } | undefined;
158207
158211
  sectionId?: string | undefined;
158208
- isArchived?: boolean | undefined;
158209
158212
  e2bTemplateId?: string | null | undefined;
158210
158213
  e2bIterationId?: string | null | undefined;
158211
158214
  numberOfIterations?: number | undefined;
@@ -188870,6 +188873,7 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
188870
188873
  renderMode: "Image" | "HTML" | "JSON";
188871
188874
  } | undefined;
188872
188875
  }>>;
188876
+ isArchived: z$1.ZodDefault<z$1.ZodBoolean>;
188873
188877
  }, "strip", z$1.ZodTypeAny, {
188874
188878
  id: string;
188875
188879
  createdAt: Date;
@@ -188878,6 +188882,7 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
188878
188882
  sortOrder: number;
188879
188883
  createdByUserId: string;
188880
188884
  projectId: string;
188885
+ isArchived: boolean;
188881
188886
  threadId?: string | undefined;
188882
188887
  previewUrl?: string | null | undefined;
188883
188888
  thumbnail?: {
@@ -188918,13 +188923,14 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
188918
188923
  } | undefined;
188919
188924
  iterationId?: string | null | undefined;
188920
188925
  sectionId?: string | undefined;
188926
+ isArchived?: boolean | undefined;
188921
188927
  }>, "many">;
188922
188928
  features: z$1.ZodArray<z$1.ZodObject<{
188923
188929
  createdAt: z$1.ZodDate;
188924
188930
  createdByUserId: z$1.ZodString;
188925
188931
  description: z$1.ZodString;
188926
188932
  id: z$1.ZodString;
188927
- isArchived: z$1.ZodOptional<z$1.ZodBoolean>;
188933
+ isArchived: z$1.ZodBoolean;
188928
188934
  name: z$1.ZodString;
188929
188935
  projectId: z$1.ZodString;
188930
188936
  sectionId: z$1.ZodOptional<z$1.ZodString>;
@@ -188998,6 +189004,7 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
188998
189004
  sortOrder: number;
188999
189005
  createdByUserId: string;
189000
189006
  projectId: string;
189007
+ isArchived: boolean;
189001
189008
  numberOfIterations: number;
189002
189009
  numberOfBookmarkedIterations: number;
189003
189010
  updatedAt?: Date | undefined;
@@ -189015,7 +189022,6 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
189015
189022
  } | undefined;
189016
189023
  } | undefined;
189017
189024
  sectionId?: string | undefined;
189018
- isArchived?: boolean | undefined;
189019
189025
  e2bTemplateId?: string | null | undefined;
189020
189026
  e2bIterationId?: string | null | undefined;
189021
189027
  lastReplyTimestamp?: Date | undefined;
@@ -189026,6 +189032,7 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
189026
189032
  description: string;
189027
189033
  createdByUserId: string;
189028
189034
  projectId: string;
189035
+ isArchived: boolean;
189029
189036
  status?: "Draft" | "ReadyForDevelopment" | undefined;
189030
189037
  updatedAt?: Date | undefined;
189031
189038
  threadId?: string | undefined;
@@ -189043,7 +189050,6 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
189043
189050
  } | undefined;
189044
189051
  } | undefined;
189045
189052
  sectionId?: string | undefined;
189046
- isArchived?: boolean | undefined;
189047
189053
  e2bTemplateId?: string | null | undefined;
189048
189054
  e2bIterationId?: string | null | undefined;
189049
189055
  numberOfIterations?: number | undefined;
@@ -189135,6 +189141,7 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
189135
189141
  sortOrder: number;
189136
189142
  createdByUserId: string;
189137
189143
  projectId: string;
189144
+ isArchived: boolean;
189138
189145
  numberOfIterations: number;
189139
189146
  numberOfBookmarkedIterations: number;
189140
189147
  updatedAt?: Date | undefined;
@@ -189152,7 +189159,6 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
189152
189159
  } | undefined;
189153
189160
  } | undefined;
189154
189161
  sectionId?: string | undefined;
189155
- isArchived?: boolean | undefined;
189156
189162
  e2bTemplateId?: string | null | undefined;
189157
189163
  e2bIterationId?: string | null | undefined;
189158
189164
  lastReplyTimestamp?: Date | undefined;
@@ -189165,6 +189171,7 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
189165
189171
  sortOrder: number;
189166
189172
  createdByUserId: string;
189167
189173
  projectId: string;
189174
+ isArchived: boolean;
189168
189175
  threadId?: string | undefined;
189169
189176
  previewUrl?: string | null | undefined;
189170
189177
  thumbnail?: {
@@ -189217,6 +189224,7 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
189217
189224
  description: string;
189218
189225
  createdByUserId: string;
189219
189226
  projectId: string;
189227
+ isArchived: boolean;
189220
189228
  status?: "Draft" | "ReadyForDevelopment" | undefined;
189221
189229
  updatedAt?: Date | undefined;
189222
189230
  threadId?: string | undefined;
@@ -189234,7 +189242,6 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
189234
189242
  } | undefined;
189235
189243
  } | undefined;
189236
189244
  sectionId?: string | undefined;
189237
- isArchived?: boolean | undefined;
189238
189245
  e2bTemplateId?: string | null | undefined;
189239
189246
  e2bIterationId?: string | null | undefined;
189240
189247
  numberOfIterations?: number | undefined;
@@ -189265,6 +189272,7 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
189265
189272
  } | undefined;
189266
189273
  iterationId?: string | null | undefined;
189267
189274
  sectionId?: string | undefined;
189275
+ isArchived?: boolean | undefined;
189268
189276
  }[];
189269
189277
  artifactSections: {
189270
189278
  id: string;
@@ -189360,6 +189368,7 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189360
189368
  renderMode: "Image" | "HTML" | "JSON";
189361
189369
  } | undefined;
189362
189370
  }>>;
189371
+ isArchived: z$1.ZodDefault<z$1.ZodBoolean>;
189363
189372
  }, "strip", z$1.ZodTypeAny, {
189364
189373
  id: string;
189365
189374
  createdAt: Date;
@@ -189368,6 +189377,7 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189368
189377
  sortOrder: number;
189369
189378
  createdByUserId: string;
189370
189379
  projectId: string;
189380
+ isArchived: boolean;
189371
189381
  threadId?: string | undefined;
189372
189382
  previewUrl?: string | null | undefined;
189373
189383
  thumbnail?: {
@@ -189408,6 +189418,7 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189408
189418
  } | undefined;
189409
189419
  iterationId?: string | null | undefined;
189410
189420
  sectionId?: string | undefined;
189421
+ isArchived?: boolean | undefined;
189411
189422
  }>, "many">>;
189412
189423
  artifactIdsToDelete: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
189413
189424
  features: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
@@ -189415,7 +189426,7 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189415
189426
  createdByUserId: z$1.ZodString;
189416
189427
  description: z$1.ZodString;
189417
189428
  id: z$1.ZodString;
189418
- isArchived: z$1.ZodOptional<z$1.ZodBoolean>;
189429
+ isArchived: z$1.ZodBoolean;
189419
189430
  name: z$1.ZodString;
189420
189431
  projectId: z$1.ZodString;
189421
189432
  sectionId: z$1.ZodOptional<z$1.ZodString>;
@@ -189489,6 +189500,7 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189489
189500
  sortOrder: number;
189490
189501
  createdByUserId: string;
189491
189502
  projectId: string;
189503
+ isArchived: boolean;
189492
189504
  numberOfIterations: number;
189493
189505
  numberOfBookmarkedIterations: number;
189494
189506
  updatedAt?: Date | undefined;
@@ -189506,7 +189518,6 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189506
189518
  } | undefined;
189507
189519
  } | undefined;
189508
189520
  sectionId?: string | undefined;
189509
- isArchived?: boolean | undefined;
189510
189521
  e2bTemplateId?: string | null | undefined;
189511
189522
  e2bIterationId?: string | null | undefined;
189512
189523
  lastReplyTimestamp?: Date | undefined;
@@ -189517,6 +189528,7 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189517
189528
  description: string;
189518
189529
  createdByUserId: string;
189519
189530
  projectId: string;
189531
+ isArchived: boolean;
189520
189532
  status?: "Draft" | "ReadyForDevelopment" | undefined;
189521
189533
  updatedAt?: Date | undefined;
189522
189534
  threadId?: string | undefined;
@@ -189534,7 +189546,6 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189534
189546
  } | undefined;
189535
189547
  } | undefined;
189536
189548
  sectionId?: string | undefined;
189537
- isArchived?: boolean | undefined;
189538
189549
  e2bTemplateId?: string | null | undefined;
189539
189550
  e2bIterationId?: string | null | undefined;
189540
189551
  numberOfIterations?: number | undefined;
@@ -189630,6 +189641,7 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189630
189641
  sortOrder: number;
189631
189642
  createdByUserId: string;
189632
189643
  projectId: string;
189644
+ isArchived: boolean;
189633
189645
  numberOfIterations: number;
189634
189646
  numberOfBookmarkedIterations: number;
189635
189647
  updatedAt?: Date | undefined;
@@ -189647,7 +189659,6 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189647
189659
  } | undefined;
189648
189660
  } | undefined;
189649
189661
  sectionId?: string | undefined;
189650
- isArchived?: boolean | undefined;
189651
189662
  e2bTemplateId?: string | null | undefined;
189652
189663
  e2bIterationId?: string | null | undefined;
189653
189664
  lastReplyTimestamp?: Date | undefined;
@@ -189661,6 +189672,7 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189661
189672
  sortOrder: number;
189662
189673
  createdByUserId: string;
189663
189674
  projectId: string;
189675
+ isArchived: boolean;
189664
189676
  threadId?: string | undefined;
189665
189677
  previewUrl?: string | null | undefined;
189666
189678
  thumbnail?: {
@@ -189717,6 +189729,7 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189717
189729
  description: string;
189718
189730
  createdByUserId: string;
189719
189731
  projectId: string;
189732
+ isArchived: boolean;
189720
189733
  status?: "Draft" | "ReadyForDevelopment" | undefined;
189721
189734
  updatedAt?: Date | undefined;
189722
189735
  threadId?: string | undefined;
@@ -189734,7 +189747,6 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189734
189747
  } | undefined;
189735
189748
  } | undefined;
189736
189749
  sectionId?: string | undefined;
189737
- isArchived?: boolean | undefined;
189738
189750
  e2bTemplateId?: string | null | undefined;
189739
189751
  e2bIterationId?: string | null | undefined;
189740
189752
  numberOfIterations?: number | undefined;
@@ -189766,6 +189778,7 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189766
189778
  } | undefined;
189767
189779
  iterationId?: string | null | undefined;
189768
189780
  sectionId?: string | undefined;
189781
+ isArchived?: boolean | undefined;
189769
189782
  }[] | undefined;
189770
189783
  artifactSections?: {
189771
189784
  id: string;
package/dist/index.d.ts CHANGED
@@ -158029,6 +158029,7 @@ declare const ForgeProjectArtifact: z$1.ZodObject<{
158029
158029
  renderMode: "Image" | "HTML" | "JSON";
158030
158030
  } | undefined;
158031
158031
  }>>;
158032
+ isArchived: z$1.ZodDefault<z$1.ZodBoolean>;
158032
158033
  }, "strip", z$1.ZodTypeAny, {
158033
158034
  id: string;
158034
158035
  createdAt: Date;
@@ -158037,6 +158038,7 @@ declare const ForgeProjectArtifact: z$1.ZodObject<{
158037
158038
  sortOrder: number;
158038
158039
  createdByUserId: string;
158039
158040
  projectId: string;
158041
+ isArchived: boolean;
158040
158042
  threadId?: string | undefined;
158041
158043
  previewUrl?: string | null | undefined;
158042
158044
  thumbnail?: {
@@ -158077,6 +158079,7 @@ declare const ForgeProjectArtifact: z$1.ZodObject<{
158077
158079
  } | undefined;
158078
158080
  iterationId?: string | null | undefined;
158079
158081
  sectionId?: string | undefined;
158082
+ isArchived?: boolean | undefined;
158080
158083
  }>;
158081
158084
  type ForgeProjectArtifact = z$1.infer<typeof ForgeProjectArtifact>;
158082
158085
 
@@ -158086,7 +158089,7 @@ declare const ProjectFeature: z$1.ZodObject<{
158086
158089
  createdByUserId: z$1.ZodString;
158087
158090
  description: z$1.ZodString;
158088
158091
  id: z$1.ZodString;
158089
- isArchived: z$1.ZodOptional<z$1.ZodBoolean>;
158092
+ isArchived: z$1.ZodBoolean;
158090
158093
  name: z$1.ZodString;
158091
158094
  projectId: z$1.ZodString;
158092
158095
  sectionId: z$1.ZodOptional<z$1.ZodString>;
@@ -158160,6 +158163,7 @@ declare const ProjectFeature: z$1.ZodObject<{
158160
158163
  sortOrder: number;
158161
158164
  createdByUserId: string;
158162
158165
  projectId: string;
158166
+ isArchived: boolean;
158163
158167
  numberOfIterations: number;
158164
158168
  numberOfBookmarkedIterations: number;
158165
158169
  updatedAt?: Date | undefined;
@@ -158177,7 +158181,6 @@ declare const ProjectFeature: z$1.ZodObject<{
158177
158181
  } | undefined;
158178
158182
  } | undefined;
158179
158183
  sectionId?: string | undefined;
158180
- isArchived?: boolean | undefined;
158181
158184
  e2bTemplateId?: string | null | undefined;
158182
158185
  e2bIterationId?: string | null | undefined;
158183
158186
  lastReplyTimestamp?: Date | undefined;
@@ -158188,6 +158191,7 @@ declare const ProjectFeature: z$1.ZodObject<{
158188
158191
  description: string;
158189
158192
  createdByUserId: string;
158190
158193
  projectId: string;
158194
+ isArchived: boolean;
158191
158195
  status?: "Draft" | "ReadyForDevelopment" | undefined;
158192
158196
  updatedAt?: Date | undefined;
158193
158197
  threadId?: string | undefined;
@@ -158205,7 +158209,6 @@ declare const ProjectFeature: z$1.ZodObject<{
158205
158209
  } | undefined;
158206
158210
  } | undefined;
158207
158211
  sectionId?: string | undefined;
158208
- isArchived?: boolean | undefined;
158209
158212
  e2bTemplateId?: string | null | undefined;
158210
158213
  e2bIterationId?: string | null | undefined;
158211
158214
  numberOfIterations?: number | undefined;
@@ -188870,6 +188873,7 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
188870
188873
  renderMode: "Image" | "HTML" | "JSON";
188871
188874
  } | undefined;
188872
188875
  }>>;
188876
+ isArchived: z$1.ZodDefault<z$1.ZodBoolean>;
188873
188877
  }, "strip", z$1.ZodTypeAny, {
188874
188878
  id: string;
188875
188879
  createdAt: Date;
@@ -188878,6 +188882,7 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
188878
188882
  sortOrder: number;
188879
188883
  createdByUserId: string;
188880
188884
  projectId: string;
188885
+ isArchived: boolean;
188881
188886
  threadId?: string | undefined;
188882
188887
  previewUrl?: string | null | undefined;
188883
188888
  thumbnail?: {
@@ -188918,13 +188923,14 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
188918
188923
  } | undefined;
188919
188924
  iterationId?: string | null | undefined;
188920
188925
  sectionId?: string | undefined;
188926
+ isArchived?: boolean | undefined;
188921
188927
  }>, "many">;
188922
188928
  features: z$1.ZodArray<z$1.ZodObject<{
188923
188929
  createdAt: z$1.ZodDate;
188924
188930
  createdByUserId: z$1.ZodString;
188925
188931
  description: z$1.ZodString;
188926
188932
  id: z$1.ZodString;
188927
- isArchived: z$1.ZodOptional<z$1.ZodBoolean>;
188933
+ isArchived: z$1.ZodBoolean;
188928
188934
  name: z$1.ZodString;
188929
188935
  projectId: z$1.ZodString;
188930
188936
  sectionId: z$1.ZodOptional<z$1.ZodString>;
@@ -188998,6 +189004,7 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
188998
189004
  sortOrder: number;
188999
189005
  createdByUserId: string;
189000
189006
  projectId: string;
189007
+ isArchived: boolean;
189001
189008
  numberOfIterations: number;
189002
189009
  numberOfBookmarkedIterations: number;
189003
189010
  updatedAt?: Date | undefined;
@@ -189015,7 +189022,6 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
189015
189022
  } | undefined;
189016
189023
  } | undefined;
189017
189024
  sectionId?: string | undefined;
189018
- isArchived?: boolean | undefined;
189019
189025
  e2bTemplateId?: string | null | undefined;
189020
189026
  e2bIterationId?: string | null | undefined;
189021
189027
  lastReplyTimestamp?: Date | undefined;
@@ -189026,6 +189032,7 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
189026
189032
  description: string;
189027
189033
  createdByUserId: string;
189028
189034
  projectId: string;
189035
+ isArchived: boolean;
189029
189036
  status?: "Draft" | "ReadyForDevelopment" | undefined;
189030
189037
  updatedAt?: Date | undefined;
189031
189038
  threadId?: string | undefined;
@@ -189043,7 +189050,6 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
189043
189050
  } | undefined;
189044
189051
  } | undefined;
189045
189052
  sectionId?: string | undefined;
189046
- isArchived?: boolean | undefined;
189047
189053
  e2bTemplateId?: string | null | undefined;
189048
189054
  e2bIterationId?: string | null | undefined;
189049
189055
  numberOfIterations?: number | undefined;
@@ -189135,6 +189141,7 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
189135
189141
  sortOrder: number;
189136
189142
  createdByUserId: string;
189137
189143
  projectId: string;
189144
+ isArchived: boolean;
189138
189145
  numberOfIterations: number;
189139
189146
  numberOfBookmarkedIterations: number;
189140
189147
  updatedAt?: Date | undefined;
@@ -189152,7 +189159,6 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
189152
189159
  } | undefined;
189153
189160
  } | undefined;
189154
189161
  sectionId?: string | undefined;
189155
- isArchived?: boolean | undefined;
189156
189162
  e2bTemplateId?: string | null | undefined;
189157
189163
  e2bIterationId?: string | null | undefined;
189158
189164
  lastReplyTimestamp?: Date | undefined;
@@ -189165,6 +189171,7 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
189165
189171
  sortOrder: number;
189166
189172
  createdByUserId: string;
189167
189173
  projectId: string;
189174
+ isArchived: boolean;
189168
189175
  threadId?: string | undefined;
189169
189176
  previewUrl?: string | null | undefined;
189170
189177
  thumbnail?: {
@@ -189217,6 +189224,7 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
189217
189224
  description: string;
189218
189225
  createdByUserId: string;
189219
189226
  projectId: string;
189227
+ isArchived: boolean;
189220
189228
  status?: "Draft" | "ReadyForDevelopment" | undefined;
189221
189229
  updatedAt?: Date | undefined;
189222
189230
  threadId?: string | undefined;
@@ -189234,7 +189242,6 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
189234
189242
  } | undefined;
189235
189243
  } | undefined;
189236
189244
  sectionId?: string | undefined;
189237
- isArchived?: boolean | undefined;
189238
189245
  e2bTemplateId?: string | null | undefined;
189239
189246
  e2bIterationId?: string | null | undefined;
189240
189247
  numberOfIterations?: number | undefined;
@@ -189265,6 +189272,7 @@ declare const ForgeProjectRoomInitialState: z$1.ZodObject<{
189265
189272
  } | undefined;
189266
189273
  iterationId?: string | null | undefined;
189267
189274
  sectionId?: string | undefined;
189275
+ isArchived?: boolean | undefined;
189268
189276
  }[];
189269
189277
  artifactSections: {
189270
189278
  id: string;
@@ -189360,6 +189368,7 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189360
189368
  renderMode: "Image" | "HTML" | "JSON";
189361
189369
  } | undefined;
189362
189370
  }>>;
189371
+ isArchived: z$1.ZodDefault<z$1.ZodBoolean>;
189363
189372
  }, "strip", z$1.ZodTypeAny, {
189364
189373
  id: string;
189365
189374
  createdAt: Date;
@@ -189368,6 +189377,7 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189368
189377
  sortOrder: number;
189369
189378
  createdByUserId: string;
189370
189379
  projectId: string;
189380
+ isArchived: boolean;
189371
189381
  threadId?: string | undefined;
189372
189382
  previewUrl?: string | null | undefined;
189373
189383
  thumbnail?: {
@@ -189408,6 +189418,7 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189408
189418
  } | undefined;
189409
189419
  iterationId?: string | null | undefined;
189410
189420
  sectionId?: string | undefined;
189421
+ isArchived?: boolean | undefined;
189411
189422
  }>, "many">>;
189412
189423
  artifactIdsToDelete: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
189413
189424
  features: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
@@ -189415,7 +189426,7 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189415
189426
  createdByUserId: z$1.ZodString;
189416
189427
  description: z$1.ZodString;
189417
189428
  id: z$1.ZodString;
189418
- isArchived: z$1.ZodOptional<z$1.ZodBoolean>;
189429
+ isArchived: z$1.ZodBoolean;
189419
189430
  name: z$1.ZodString;
189420
189431
  projectId: z$1.ZodString;
189421
189432
  sectionId: z$1.ZodOptional<z$1.ZodString>;
@@ -189489,6 +189500,7 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189489
189500
  sortOrder: number;
189490
189501
  createdByUserId: string;
189491
189502
  projectId: string;
189503
+ isArchived: boolean;
189492
189504
  numberOfIterations: number;
189493
189505
  numberOfBookmarkedIterations: number;
189494
189506
  updatedAt?: Date | undefined;
@@ -189506,7 +189518,6 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189506
189518
  } | undefined;
189507
189519
  } | undefined;
189508
189520
  sectionId?: string | undefined;
189509
- isArchived?: boolean | undefined;
189510
189521
  e2bTemplateId?: string | null | undefined;
189511
189522
  e2bIterationId?: string | null | undefined;
189512
189523
  lastReplyTimestamp?: Date | undefined;
@@ -189517,6 +189528,7 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189517
189528
  description: string;
189518
189529
  createdByUserId: string;
189519
189530
  projectId: string;
189531
+ isArchived: boolean;
189520
189532
  status?: "Draft" | "ReadyForDevelopment" | undefined;
189521
189533
  updatedAt?: Date | undefined;
189522
189534
  threadId?: string | undefined;
@@ -189534,7 +189546,6 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189534
189546
  } | undefined;
189535
189547
  } | undefined;
189536
189548
  sectionId?: string | undefined;
189537
- isArchived?: boolean | undefined;
189538
189549
  e2bTemplateId?: string | null | undefined;
189539
189550
  e2bIterationId?: string | null | undefined;
189540
189551
  numberOfIterations?: number | undefined;
@@ -189630,6 +189641,7 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189630
189641
  sortOrder: number;
189631
189642
  createdByUserId: string;
189632
189643
  projectId: string;
189644
+ isArchived: boolean;
189633
189645
  numberOfIterations: number;
189634
189646
  numberOfBookmarkedIterations: number;
189635
189647
  updatedAt?: Date | undefined;
@@ -189647,7 +189659,6 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189647
189659
  } | undefined;
189648
189660
  } | undefined;
189649
189661
  sectionId?: string | undefined;
189650
- isArchived?: boolean | undefined;
189651
189662
  e2bTemplateId?: string | null | undefined;
189652
189663
  e2bIterationId?: string | null | undefined;
189653
189664
  lastReplyTimestamp?: Date | undefined;
@@ -189661,6 +189672,7 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189661
189672
  sortOrder: number;
189662
189673
  createdByUserId: string;
189663
189674
  projectId: string;
189675
+ isArchived: boolean;
189664
189676
  threadId?: string | undefined;
189665
189677
  previewUrl?: string | null | undefined;
189666
189678
  thumbnail?: {
@@ -189717,6 +189729,7 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189717
189729
  description: string;
189718
189730
  createdByUserId: string;
189719
189731
  projectId: string;
189732
+ isArchived: boolean;
189720
189733
  status?: "Draft" | "ReadyForDevelopment" | undefined;
189721
189734
  updatedAt?: Date | undefined;
189722
189735
  threadId?: string | undefined;
@@ -189734,7 +189747,6 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189734
189747
  } | undefined;
189735
189748
  } | undefined;
189736
189749
  sectionId?: string | undefined;
189737
- isArchived?: boolean | undefined;
189738
189750
  e2bTemplateId?: string | null | undefined;
189739
189751
  e2bIterationId?: string | null | undefined;
189740
189752
  numberOfIterations?: number | undefined;
@@ -189766,6 +189778,7 @@ declare const ForgeProjectRoomUpdate: z$1.ZodObject<{
189766
189778
  } | undefined;
189767
189779
  iterationId?: string | null | undefined;
189768
189780
  sectionId?: string | undefined;
189781
+ isArchived?: boolean | undefined;
189769
189782
  }[] | undefined;
189770
189783
  artifactSections?: {
189771
189784
  id: string;
package/dist/index.js CHANGED
@@ -5905,20 +5905,6 @@ var ForgeProjectArtifactContent = _zod.z.object({
5905
5905
  // src/forge/project-artifact.ts
5906
5906
 
5907
5907
 
5908
- // src/forge/project-section.ts
5909
-
5910
- var ForgeProjectSectionChildType = _zod.z.enum(["Artifact", "Feature"]);
5911
- var SortOrder = _zod.z.number().int();
5912
- var ForgeSection = _zod.z.object({
5913
- id: Id,
5914
- projectId: _zod.z.string(),
5915
- name: _zod.z.string(),
5916
- sortOrder: SortOrder.default(0),
5917
- createdAt: _zod.z.coerce.date(),
5918
- updatedAt: _zod.z.coerce.date(),
5919
- childType: ForgeProjectSectionChildType
5920
- });
5921
-
5922
5908
  // src/files/files.ts
5923
5909
 
5924
5910
  var FileFigmaRenderMode = _zod2.default.enum(["Image", "HTML", "JSON"]);
@@ -5953,6 +5939,20 @@ var FileReference = File.pick({
5953
5939
  name: File.shape.name.optional()
5954
5940
  });
5955
5941
 
5942
+ // src/forge/project-section.ts
5943
+
5944
+ var ForgeProjectSectionChildType = _zod.z.enum(["Artifact", "Feature"]);
5945
+ var SortOrder = _zod.z.number().int();
5946
+ var ForgeSection = _zod.z.object({
5947
+ id: Id,
5948
+ projectId: _zod.z.string(),
5949
+ name: _zod.z.string(),
5950
+ sortOrder: SortOrder.default(0),
5951
+ createdAt: _zod.z.coerce.date(),
5952
+ updatedAt: _zod.z.coerce.date(),
5953
+ childType: ForgeProjectSectionChildType
5954
+ });
5955
+
5956
5956
  // src/forge/project-artifact.ts
5957
5957
  var ForgeProjectArtifact = _zod.z.object({
5958
5958
  id: Id,
@@ -5966,7 +5966,10 @@ var ForgeProjectArtifact = _zod.z.object({
5966
5966
  createdByUserId: _zod.z.string(),
5967
5967
  sectionId: Id.optional(),
5968
5968
  threadId: _zod.z.string().optional(),
5969
- thumbnail: FileReference.optional()
5969
+ thumbnail: FileReference.optional(),
5970
+ // Default value here is important for backward compatibility for parsing artifacts
5971
+ // from project rooms!
5972
+ isArchived: _zod.z.boolean().default(false)
5970
5973
  });
5971
5974
 
5972
5975
  // src/forge/project-feature.ts
@@ -5977,7 +5980,7 @@ var ProjectFeature = _zod.z.object({
5977
5980
  createdByUserId: _zod.z.string(),
5978
5981
  description: _zod.z.string(),
5979
5982
  id: Id,
5980
- isArchived: _zod.z.boolean().optional(),
5983
+ isArchived: _zod.z.boolean(),
5981
5984
  name: _zod.z.string(),
5982
5985
  projectId: _zod.z.string(),
5983
5986
  sectionId: Id.optional(),