@supernova-studio/client 1.44.7 → 1.45.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
@@ -66509,9 +66509,9 @@ declare const DTOFigmaExportNodeResponse: z.ZodObject<{
66509
66509
  id: string;
66510
66510
  name: string;
66511
66511
  url: string;
66512
+ storagePath: string;
66512
66513
  size: number;
66513
66514
  deduplicationKey: string;
66514
- storagePath: string;
66515
66515
  source?: {
66516
66516
  type: "UserUpload";
66517
66517
  userId: string;
@@ -66524,9 +66524,9 @@ declare const DTOFigmaExportNodeResponse: z.ZodObject<{
66524
66524
  id: string;
66525
66525
  name: string;
66526
66526
  url: string;
66527
+ storagePath: string;
66527
66528
  size: number;
66528
66529
  deduplicationKey: string;
66529
- storagePath: string;
66530
66530
  source?: {
66531
66531
  type: "UserUpload";
66532
66532
  userId: string;
@@ -66541,9 +66541,9 @@ declare const DTOFigmaExportNodeResponse: z.ZodObject<{
66541
66541
  id: string;
66542
66542
  name: string;
66543
66543
  url: string;
66544
+ storagePath: string;
66544
66545
  size: number;
66545
66546
  deduplicationKey: string;
66546
- storagePath: string;
66547
66547
  source?: {
66548
66548
  type: "UserUpload";
66549
66549
  userId: string;
@@ -66558,9 +66558,9 @@ declare const DTOFigmaExportNodeResponse: z.ZodObject<{
66558
66558
  id: string;
66559
66559
  name: string;
66560
66560
  url: string;
66561
+ storagePath: string;
66561
66562
  size: number;
66562
66563
  deduplicationKey: string;
66563
- storagePath: string;
66564
66564
  source?: {
66565
66565
  type: "UserUpload";
66566
66566
  userId: string;
@@ -66625,10 +66625,6 @@ declare const DTOFile: z$1.ZodObject<{
66625
66625
  storagePath: z$1.ZodString;
66626
66626
  url: z$1.ZodString;
66627
66627
  size: z$1.ZodNumber;
66628
- /**
66629
- * Object describing where did the file come from. Undefined source indicates a file produced by the
66630
- * system (e.g. thumbnails, etc)
66631
- */
66632
66628
  source: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
66633
66629
  type: z$1.ZodLiteral<"UserUpload">;
66634
66630
  userId: z$1.ZodString;
@@ -66652,9 +66648,9 @@ declare const DTOFile: z$1.ZodObject<{
66652
66648
  id: string;
66653
66649
  name: string;
66654
66650
  url: string;
66651
+ storagePath: string;
66655
66652
  size: number;
66656
66653
  deduplicationKey: string;
66657
- storagePath: string;
66658
66654
  source?: {
66659
66655
  type: "UserUpload";
66660
66656
  userId: string;
@@ -66667,9 +66663,9 @@ declare const DTOFile: z$1.ZodObject<{
66667
66663
  id: string;
66668
66664
  name: string;
66669
66665
  url: string;
66666
+ storagePath: string;
66670
66667
  size: number;
66671
66668
  deduplicationKey: string;
66672
- storagePath: string;
66673
66669
  source?: {
66674
66670
  type: "UserUpload";
66675
66671
  userId: string;
@@ -66688,10 +66684,6 @@ declare const DTOFileReference: z$1.ZodObject<Pick<{
66688
66684
  storagePath: z$1.ZodString;
66689
66685
  url: z$1.ZodString;
66690
66686
  size: z$1.ZodNumber;
66691
- /**
66692
- * Object describing where did the file come from. Undefined source indicates a file produced by the
66693
- * system (e.g. thumbnails, etc)
66694
- */
66695
66687
  source: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
66696
66688
  type: z$1.ZodLiteral<"UserUpload">;
66697
66689
  userId: z$1.ZodString;
@@ -66812,10 +66804,6 @@ declare const DTOFileListResponse: z$1.ZodObject<{
66812
66804
  storagePath: z$1.ZodString;
66813
66805
  url: z$1.ZodString;
66814
66806
  size: z$1.ZodNumber;
66815
- /**
66816
- * Object describing where did the file come from. Undefined source indicates a file produced by the
66817
- * system (e.g. thumbnails, etc)
66818
- */
66819
66807
  source: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
66820
66808
  type: z$1.ZodLiteral<"UserUpload">;
66821
66809
  userId: z$1.ZodString;
@@ -66839,9 +66827,9 @@ declare const DTOFileListResponse: z$1.ZodObject<{
66839
66827
  id: string;
66840
66828
  name: string;
66841
66829
  url: string;
66830
+ storagePath: string;
66842
66831
  size: number;
66843
66832
  deduplicationKey: string;
66844
- storagePath: string;
66845
66833
  source?: {
66846
66834
  type: "UserUpload";
66847
66835
  userId: string;
@@ -66854,9 +66842,9 @@ declare const DTOFileListResponse: z$1.ZodObject<{
66854
66842
  id: string;
66855
66843
  name: string;
66856
66844
  url: string;
66845
+ storagePath: string;
66857
66846
  size: number;
66858
66847
  deduplicationKey: string;
66859
- storagePath: string;
66860
66848
  source?: {
66861
66849
  type: "UserUpload";
66862
66850
  userId: string;
@@ -66871,9 +66859,9 @@ declare const DTOFileListResponse: z$1.ZodObject<{
66871
66859
  id: string;
66872
66860
  name: string;
66873
66861
  url: string;
66862
+ storagePath: string;
66874
66863
  size: number;
66875
66864
  deduplicationKey: string;
66876
- storagePath: string;
66877
66865
  source?: {
66878
66866
  type: "UserUpload";
66879
66867
  userId: string;
@@ -66888,9 +66876,9 @@ declare const DTOFileListResponse: z$1.ZodObject<{
66888
66876
  id: string;
66889
66877
  name: string;
66890
66878
  url: string;
66879
+ storagePath: string;
66891
66880
  size: number;
66892
66881
  deduplicationKey: string;
66893
- storagePath: string;
66894
66882
  source?: {
66895
66883
  type: "UserUpload";
66896
66884
  userId: string;
@@ -66911,10 +66899,6 @@ declare const DTOFileUploadBulkResponse: z$1.ZodObject<{
66911
66899
  storagePath: z$1.ZodString;
66912
66900
  url: z$1.ZodString;
66913
66901
  size: z$1.ZodNumber;
66914
- /**
66915
- * Object describing where did the file come from. Undefined source indicates a file produced by the
66916
- * system (e.g. thumbnails, etc)
66917
- */
66918
66902
  source: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
66919
66903
  type: z$1.ZodLiteral<"UserUpload">;
66920
66904
  userId: z$1.ZodString;
@@ -66938,9 +66922,9 @@ declare const DTOFileUploadBulkResponse: z$1.ZodObject<{
66938
66922
  id: string;
66939
66923
  name: string;
66940
66924
  url: string;
66925
+ storagePath: string;
66941
66926
  size: number;
66942
66927
  deduplicationKey: string;
66943
- storagePath: string;
66944
66928
  source?: {
66945
66929
  type: "UserUpload";
66946
66930
  userId: string;
@@ -66953,9 +66937,9 @@ declare const DTOFileUploadBulkResponse: z$1.ZodObject<{
66953
66937
  id: string;
66954
66938
  name: string;
66955
66939
  url: string;
66940
+ storagePath: string;
66956
66941
  size: number;
66957
66942
  deduplicationKey: string;
66958
- storagePath: string;
66959
66943
  source?: {
66960
66944
  type: "UserUpload";
66961
66945
  userId: string;
@@ -66980,9 +66964,9 @@ declare const DTOFileUploadBulkResponse: z$1.ZodObject<{
66980
66964
  id: string;
66981
66965
  name: string;
66982
66966
  url: string;
66967
+ storagePath: string;
66983
66968
  size: number;
66984
66969
  deduplicationKey: string;
66985
- storagePath: string;
66986
66970
  source?: {
66987
66971
  type: "UserUpload";
66988
66972
  userId: string;
@@ -67001,9 +66985,9 @@ declare const DTOFileUploadBulkResponse: z$1.ZodObject<{
67001
66985
  id: string;
67002
66986
  name: string;
67003
66987
  url: string;
66988
+ storagePath: string;
67004
66989
  size: number;
67005
66990
  deduplicationKey: string;
67006
- storagePath: string;
67007
66991
  source?: {
67008
66992
  type: "UserUpload";
67009
66993
  userId: string;
@@ -67028,10 +67012,6 @@ declare const DTOFileFinalizeBulkResponse: z$1.ZodObject<{
67028
67012
  storagePath: z$1.ZodString;
67029
67013
  url: z$1.ZodString;
67030
67014
  size: z$1.ZodNumber;
67031
- /**
67032
- * Object describing where did the file come from. Undefined source indicates a file produced by the
67033
- * system (e.g. thumbnails, etc)
67034
- */
67035
67015
  source: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
67036
67016
  type: z$1.ZodLiteral<"UserUpload">;
67037
67017
  userId: z$1.ZodString;
@@ -67055,9 +67035,9 @@ declare const DTOFileFinalizeBulkResponse: z$1.ZodObject<{
67055
67035
  id: string;
67056
67036
  name: string;
67057
67037
  url: string;
67038
+ storagePath: string;
67058
67039
  size: number;
67059
67040
  deduplicationKey: string;
67060
- storagePath: string;
67061
67041
  source?: {
67062
67042
  type: "UserUpload";
67063
67043
  userId: string;
@@ -67070,9 +67050,9 @@ declare const DTOFileFinalizeBulkResponse: z$1.ZodObject<{
67070
67050
  id: string;
67071
67051
  name: string;
67072
67052
  url: string;
67053
+ storagePath: string;
67073
67054
  size: number;
67074
67055
  deduplicationKey: string;
67075
- storagePath: string;
67076
67056
  source?: {
67077
67057
  type: "UserUpload";
67078
67058
  userId: string;
@@ -67087,9 +67067,9 @@ declare const DTOFileFinalizeBulkResponse: z$1.ZodObject<{
67087
67067
  id: string;
67088
67068
  name: string;
67089
67069
  url: string;
67070
+ storagePath: string;
67090
67071
  size: number;
67091
67072
  deduplicationKey: string;
67092
- storagePath: string;
67093
67073
  source?: {
67094
67074
  type: "UserUpload";
67095
67075
  userId: string;
@@ -67104,9 +67084,9 @@ declare const DTOFileFinalizeBulkResponse: z$1.ZodObject<{
67104
67084
  id: string;
67105
67085
  name: string;
67106
67086
  url: string;
67087
+ storagePath: string;
67107
67088
  size: number;
67108
67089
  deduplicationKey: string;
67109
- storagePath: string;
67110
67090
  source?: {
67111
67091
  type: "UserUpload";
67112
67092
  userId: string;
@@ -84088,6 +84068,58 @@ declare const DTOForgeProjectArtifact: z.ZodObject<{
84088
84068
  createdByUserId: z.ZodString;
84089
84069
  sectionId: z.ZodOptional<z.ZodString>;
84090
84070
  threadId: z.ZodOptional<z.ZodString>;
84071
+ thumbnail: z.ZodOptional<z.ZodObject<Pick<{
84072
+ id: z.ZodString;
84073
+ name: z.ZodString;
84074
+ deduplicationKey: z.ZodString;
84075
+ pendingUpload: z.ZodOptional<z.ZodBoolean>;
84076
+ storagePath: z.ZodString;
84077
+ url: z.ZodString;
84078
+ size: z.ZodNumber;
84079
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
84080
+ type: z.ZodLiteral<"UserUpload">;
84081
+ userId: z.ZodString;
84082
+ }, "strip", z.ZodTypeAny, {
84083
+ type: "UserUpload";
84084
+ userId: string;
84085
+ }, {
84086
+ type: "UserUpload";
84087
+ userId: string;
84088
+ }>, z.ZodObject<{
84089
+ type: z.ZodLiteral<"Figma">;
84090
+ renderMode: z.ZodEnum<["Image", "HTML", "JSON"]>;
84091
+ }, "strip", z.ZodTypeAny, {
84092
+ type: "Figma";
84093
+ renderMode: "Image" | "HTML" | "JSON";
84094
+ }, {
84095
+ type: "Figma";
84096
+ renderMode: "Image" | "HTML" | "JSON";
84097
+ }>]>>;
84098
+ }, "id" | "source" | "url"> & {
84099
+ name: z.ZodOptional<z.ZodString>;
84100
+ }, "strip", z.ZodTypeAny, {
84101
+ id: string;
84102
+ url: string;
84103
+ name?: string | undefined;
84104
+ source?: {
84105
+ type: "UserUpload";
84106
+ userId: string;
84107
+ } | {
84108
+ type: "Figma";
84109
+ renderMode: "Image" | "HTML" | "JSON";
84110
+ } | undefined;
84111
+ }, {
84112
+ id: string;
84113
+ url: string;
84114
+ name?: string | undefined;
84115
+ source?: {
84116
+ type: "UserUpload";
84117
+ userId: string;
84118
+ } | {
84119
+ type: "Figma";
84120
+ renderMode: "Image" | "HTML" | "JSON";
84121
+ } | undefined;
84122
+ }>>;
84091
84123
  }, "strip", z.ZodTypeAny, {
84092
84124
  id: string;
84093
84125
  createdAt: Date;
@@ -84098,6 +84130,18 @@ declare const DTOForgeProjectArtifact: z.ZodObject<{
84098
84130
  projectId: string;
84099
84131
  threadId?: string | undefined;
84100
84132
  previewUrl?: string | null | undefined;
84133
+ thumbnail?: {
84134
+ id: string;
84135
+ url: string;
84136
+ name?: string | undefined;
84137
+ source?: {
84138
+ type: "UserUpload";
84139
+ userId: string;
84140
+ } | {
84141
+ type: "Figma";
84142
+ renderMode: "Image" | "HTML" | "JSON";
84143
+ } | undefined;
84144
+ } | undefined;
84101
84145
  iterationId?: string | null | undefined;
84102
84146
  sectionId?: string | undefined;
84103
84147
  }, {
@@ -84110,6 +84154,18 @@ declare const DTOForgeProjectArtifact: z.ZodObject<{
84110
84154
  threadId?: string | undefined;
84111
84155
  sortOrder?: number | undefined;
84112
84156
  previewUrl?: string | null | undefined;
84157
+ thumbnail?: {
84158
+ id: string;
84159
+ url: string;
84160
+ name?: string | undefined;
84161
+ source?: {
84162
+ type: "UserUpload";
84163
+ userId: string;
84164
+ } | {
84165
+ type: "Figma";
84166
+ renderMode: "Image" | "HTML" | "JSON";
84167
+ } | undefined;
84168
+ } | undefined;
84113
84169
  iterationId?: string | null | undefined;
84114
84170
  sectionId?: string | undefined;
84115
84171
  }>;
@@ -84358,6 +84414,58 @@ declare const DTOForgeProjectArtifactGetResponse: z.ZodObject<{
84358
84414
  createdByUserId: z.ZodString;
84359
84415
  sectionId: z.ZodOptional<z.ZodString>;
84360
84416
  threadId: z.ZodOptional<z.ZodString>;
84417
+ thumbnail: z.ZodOptional<z.ZodObject<Pick<{
84418
+ id: z.ZodString;
84419
+ name: z.ZodString;
84420
+ deduplicationKey: z.ZodString;
84421
+ pendingUpload: z.ZodOptional<z.ZodBoolean>;
84422
+ storagePath: z.ZodString;
84423
+ url: z.ZodString;
84424
+ size: z.ZodNumber;
84425
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
84426
+ type: z.ZodLiteral<"UserUpload">;
84427
+ userId: z.ZodString;
84428
+ }, "strip", z.ZodTypeAny, {
84429
+ type: "UserUpload";
84430
+ userId: string;
84431
+ }, {
84432
+ type: "UserUpload";
84433
+ userId: string;
84434
+ }>, z.ZodObject<{
84435
+ type: z.ZodLiteral<"Figma">;
84436
+ renderMode: z.ZodEnum<["Image", "HTML", "JSON"]>;
84437
+ }, "strip", z.ZodTypeAny, {
84438
+ type: "Figma";
84439
+ renderMode: "Image" | "HTML" | "JSON";
84440
+ }, {
84441
+ type: "Figma";
84442
+ renderMode: "Image" | "HTML" | "JSON";
84443
+ }>]>>;
84444
+ }, "id" | "source" | "url"> & {
84445
+ name: z.ZodOptional<z.ZodString>;
84446
+ }, "strip", z.ZodTypeAny, {
84447
+ id: string;
84448
+ url: string;
84449
+ name?: string | undefined;
84450
+ source?: {
84451
+ type: "UserUpload";
84452
+ userId: string;
84453
+ } | {
84454
+ type: "Figma";
84455
+ renderMode: "Image" | "HTML" | "JSON";
84456
+ } | undefined;
84457
+ }, {
84458
+ id: string;
84459
+ url: string;
84460
+ name?: string | undefined;
84461
+ source?: {
84462
+ type: "UserUpload";
84463
+ userId: string;
84464
+ } | {
84465
+ type: "Figma";
84466
+ renderMode: "Image" | "HTML" | "JSON";
84467
+ } | undefined;
84468
+ }>>;
84361
84469
  }, "strip", z.ZodTypeAny, {
84362
84470
  id: string;
84363
84471
  createdAt: Date;
@@ -84368,6 +84476,18 @@ declare const DTOForgeProjectArtifactGetResponse: z.ZodObject<{
84368
84476
  projectId: string;
84369
84477
  threadId?: string | undefined;
84370
84478
  previewUrl?: string | null | undefined;
84479
+ thumbnail?: {
84480
+ id: string;
84481
+ url: string;
84482
+ name?: string | undefined;
84483
+ source?: {
84484
+ type: "UserUpload";
84485
+ userId: string;
84486
+ } | {
84487
+ type: "Figma";
84488
+ renderMode: "Image" | "HTML" | "JSON";
84489
+ } | undefined;
84490
+ } | undefined;
84371
84491
  iterationId?: string | null | undefined;
84372
84492
  sectionId?: string | undefined;
84373
84493
  }, {
@@ -84380,6 +84500,18 @@ declare const DTOForgeProjectArtifactGetResponse: z.ZodObject<{
84380
84500
  threadId?: string | undefined;
84381
84501
  sortOrder?: number | undefined;
84382
84502
  previewUrl?: string | null | undefined;
84503
+ thumbnail?: {
84504
+ id: string;
84505
+ url: string;
84506
+ name?: string | undefined;
84507
+ source?: {
84508
+ type: "UserUpload";
84509
+ userId: string;
84510
+ } | {
84511
+ type: "Figma";
84512
+ renderMode: "Image" | "HTML" | "JSON";
84513
+ } | undefined;
84514
+ } | undefined;
84383
84515
  iterationId?: string | null | undefined;
84384
84516
  sectionId?: string | undefined;
84385
84517
  }>;
@@ -84394,6 +84526,18 @@ declare const DTOForgeProjectArtifactGetResponse: z.ZodObject<{
84394
84526
  projectId: string;
84395
84527
  threadId?: string | undefined;
84396
84528
  previewUrl?: string | null | undefined;
84529
+ thumbnail?: {
84530
+ id: string;
84531
+ url: string;
84532
+ name?: string | undefined;
84533
+ source?: {
84534
+ type: "UserUpload";
84535
+ userId: string;
84536
+ } | {
84537
+ type: "Figma";
84538
+ renderMode: "Image" | "HTML" | "JSON";
84539
+ } | undefined;
84540
+ } | undefined;
84397
84541
  iterationId?: string | null | undefined;
84398
84542
  sectionId?: string | undefined;
84399
84543
  };
@@ -84408,6 +84552,18 @@ declare const DTOForgeProjectArtifactGetResponse: z.ZodObject<{
84408
84552
  threadId?: string | undefined;
84409
84553
  sortOrder?: number | undefined;
84410
84554
  previewUrl?: string | null | undefined;
84555
+ thumbnail?: {
84556
+ id: string;
84557
+ url: string;
84558
+ name?: string | undefined;
84559
+ source?: {
84560
+ type: "UserUpload";
84561
+ userId: string;
84562
+ } | {
84563
+ type: "Figma";
84564
+ renderMode: "Image" | "HTML" | "JSON";
84565
+ } | undefined;
84566
+ } | undefined;
84411
84567
  iterationId?: string | null | undefined;
84412
84568
  sectionId?: string | undefined;
84413
84569
  };
@@ -84426,6 +84582,58 @@ declare const DTOForgeProjectArtifactCreateResponse: z.ZodObject<{
84426
84582
  createdByUserId: z.ZodString;
84427
84583
  sectionId: z.ZodOptional<z.ZodString>;
84428
84584
  threadId: z.ZodOptional<z.ZodString>;
84585
+ thumbnail: z.ZodOptional<z.ZodObject<Pick<{
84586
+ id: z.ZodString;
84587
+ name: z.ZodString;
84588
+ deduplicationKey: z.ZodString;
84589
+ pendingUpload: z.ZodOptional<z.ZodBoolean>;
84590
+ storagePath: z.ZodString;
84591
+ url: z.ZodString;
84592
+ size: z.ZodNumber;
84593
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
84594
+ type: z.ZodLiteral<"UserUpload">;
84595
+ userId: z.ZodString;
84596
+ }, "strip", z.ZodTypeAny, {
84597
+ type: "UserUpload";
84598
+ userId: string;
84599
+ }, {
84600
+ type: "UserUpload";
84601
+ userId: string;
84602
+ }>, z.ZodObject<{
84603
+ type: z.ZodLiteral<"Figma">;
84604
+ renderMode: z.ZodEnum<["Image", "HTML", "JSON"]>;
84605
+ }, "strip", z.ZodTypeAny, {
84606
+ type: "Figma";
84607
+ renderMode: "Image" | "HTML" | "JSON";
84608
+ }, {
84609
+ type: "Figma";
84610
+ renderMode: "Image" | "HTML" | "JSON";
84611
+ }>]>>;
84612
+ }, "id" | "source" | "url"> & {
84613
+ name: z.ZodOptional<z.ZodString>;
84614
+ }, "strip", z.ZodTypeAny, {
84615
+ id: string;
84616
+ url: string;
84617
+ name?: string | undefined;
84618
+ source?: {
84619
+ type: "UserUpload";
84620
+ userId: string;
84621
+ } | {
84622
+ type: "Figma";
84623
+ renderMode: "Image" | "HTML" | "JSON";
84624
+ } | undefined;
84625
+ }, {
84626
+ id: string;
84627
+ url: string;
84628
+ name?: string | undefined;
84629
+ source?: {
84630
+ type: "UserUpload";
84631
+ userId: string;
84632
+ } | {
84633
+ type: "Figma";
84634
+ renderMode: "Image" | "HTML" | "JSON";
84635
+ } | undefined;
84636
+ }>>;
84429
84637
  }, "strip", z.ZodTypeAny, {
84430
84638
  id: string;
84431
84639
  createdAt: Date;
@@ -84436,6 +84644,18 @@ declare const DTOForgeProjectArtifactCreateResponse: z.ZodObject<{
84436
84644
  projectId: string;
84437
84645
  threadId?: string | undefined;
84438
84646
  previewUrl?: string | null | undefined;
84647
+ thumbnail?: {
84648
+ id: string;
84649
+ url: string;
84650
+ name?: string | undefined;
84651
+ source?: {
84652
+ type: "UserUpload";
84653
+ userId: string;
84654
+ } | {
84655
+ type: "Figma";
84656
+ renderMode: "Image" | "HTML" | "JSON";
84657
+ } | undefined;
84658
+ } | undefined;
84439
84659
  iterationId?: string | null | undefined;
84440
84660
  sectionId?: string | undefined;
84441
84661
  }, {
@@ -84448,6 +84668,18 @@ declare const DTOForgeProjectArtifactCreateResponse: z.ZodObject<{
84448
84668
  threadId?: string | undefined;
84449
84669
  sortOrder?: number | undefined;
84450
84670
  previewUrl?: string | null | undefined;
84671
+ thumbnail?: {
84672
+ id: string;
84673
+ url: string;
84674
+ name?: string | undefined;
84675
+ source?: {
84676
+ type: "UserUpload";
84677
+ userId: string;
84678
+ } | {
84679
+ type: "Figma";
84680
+ renderMode: "Image" | "HTML" | "JSON";
84681
+ } | undefined;
84682
+ } | undefined;
84451
84683
  iterationId?: string | null | undefined;
84452
84684
  sectionId?: string | undefined;
84453
84685
  }>;
@@ -84462,6 +84694,18 @@ declare const DTOForgeProjectArtifactCreateResponse: z.ZodObject<{
84462
84694
  projectId: string;
84463
84695
  threadId?: string | undefined;
84464
84696
  previewUrl?: string | null | undefined;
84697
+ thumbnail?: {
84698
+ id: string;
84699
+ url: string;
84700
+ name?: string | undefined;
84701
+ source?: {
84702
+ type: "UserUpload";
84703
+ userId: string;
84704
+ } | {
84705
+ type: "Figma";
84706
+ renderMode: "Image" | "HTML" | "JSON";
84707
+ } | undefined;
84708
+ } | undefined;
84465
84709
  iterationId?: string | null | undefined;
84466
84710
  sectionId?: string | undefined;
84467
84711
  };
@@ -84476,6 +84720,18 @@ declare const DTOForgeProjectArtifactCreateResponse: z.ZodObject<{
84476
84720
  threadId?: string | undefined;
84477
84721
  sortOrder?: number | undefined;
84478
84722
  previewUrl?: string | null | undefined;
84723
+ thumbnail?: {
84724
+ id: string;
84725
+ url: string;
84726
+ name?: string | undefined;
84727
+ source?: {
84728
+ type: "UserUpload";
84729
+ userId: string;
84730
+ } | {
84731
+ type: "Figma";
84732
+ renderMode: "Image" | "HTML" | "JSON";
84733
+ } | undefined;
84734
+ } | undefined;
84479
84735
  iterationId?: string | null | undefined;
84480
84736
  sectionId?: string | undefined;
84481
84737
  };
@@ -84494,6 +84750,58 @@ declare const DTOForgeProjectArtifactUpdateResponse: z.ZodObject<{
84494
84750
  createdByUserId: z.ZodString;
84495
84751
  sectionId: z.ZodOptional<z.ZodString>;
84496
84752
  threadId: z.ZodOptional<z.ZodString>;
84753
+ thumbnail: z.ZodOptional<z.ZodObject<Pick<{
84754
+ id: z.ZodString;
84755
+ name: z.ZodString;
84756
+ deduplicationKey: z.ZodString;
84757
+ pendingUpload: z.ZodOptional<z.ZodBoolean>;
84758
+ storagePath: z.ZodString;
84759
+ url: z.ZodString;
84760
+ size: z.ZodNumber;
84761
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
84762
+ type: z.ZodLiteral<"UserUpload">;
84763
+ userId: z.ZodString;
84764
+ }, "strip", z.ZodTypeAny, {
84765
+ type: "UserUpload";
84766
+ userId: string;
84767
+ }, {
84768
+ type: "UserUpload";
84769
+ userId: string;
84770
+ }>, z.ZodObject<{
84771
+ type: z.ZodLiteral<"Figma">;
84772
+ renderMode: z.ZodEnum<["Image", "HTML", "JSON"]>;
84773
+ }, "strip", z.ZodTypeAny, {
84774
+ type: "Figma";
84775
+ renderMode: "Image" | "HTML" | "JSON";
84776
+ }, {
84777
+ type: "Figma";
84778
+ renderMode: "Image" | "HTML" | "JSON";
84779
+ }>]>>;
84780
+ }, "id" | "source" | "url"> & {
84781
+ name: z.ZodOptional<z.ZodString>;
84782
+ }, "strip", z.ZodTypeAny, {
84783
+ id: string;
84784
+ url: string;
84785
+ name?: string | undefined;
84786
+ source?: {
84787
+ type: "UserUpload";
84788
+ userId: string;
84789
+ } | {
84790
+ type: "Figma";
84791
+ renderMode: "Image" | "HTML" | "JSON";
84792
+ } | undefined;
84793
+ }, {
84794
+ id: string;
84795
+ url: string;
84796
+ name?: string | undefined;
84797
+ source?: {
84798
+ type: "UserUpload";
84799
+ userId: string;
84800
+ } | {
84801
+ type: "Figma";
84802
+ renderMode: "Image" | "HTML" | "JSON";
84803
+ } | undefined;
84804
+ }>>;
84497
84805
  }, "strip", z.ZodTypeAny, {
84498
84806
  id: string;
84499
84807
  createdAt: Date;
@@ -84504,6 +84812,18 @@ declare const DTOForgeProjectArtifactUpdateResponse: z.ZodObject<{
84504
84812
  projectId: string;
84505
84813
  threadId?: string | undefined;
84506
84814
  previewUrl?: string | null | undefined;
84815
+ thumbnail?: {
84816
+ id: string;
84817
+ url: string;
84818
+ name?: string | undefined;
84819
+ source?: {
84820
+ type: "UserUpload";
84821
+ userId: string;
84822
+ } | {
84823
+ type: "Figma";
84824
+ renderMode: "Image" | "HTML" | "JSON";
84825
+ } | undefined;
84826
+ } | undefined;
84507
84827
  iterationId?: string | null | undefined;
84508
84828
  sectionId?: string | undefined;
84509
84829
  }, {
@@ -84516,6 +84836,18 @@ declare const DTOForgeProjectArtifactUpdateResponse: z.ZodObject<{
84516
84836
  threadId?: string | undefined;
84517
84837
  sortOrder?: number | undefined;
84518
84838
  previewUrl?: string | null | undefined;
84839
+ thumbnail?: {
84840
+ id: string;
84841
+ url: string;
84842
+ name?: string | undefined;
84843
+ source?: {
84844
+ type: "UserUpload";
84845
+ userId: string;
84846
+ } | {
84847
+ type: "Figma";
84848
+ renderMode: "Image" | "HTML" | "JSON";
84849
+ } | undefined;
84850
+ } | undefined;
84519
84851
  iterationId?: string | null | undefined;
84520
84852
  sectionId?: string | undefined;
84521
84853
  }>;
@@ -84530,6 +84862,18 @@ declare const DTOForgeProjectArtifactUpdateResponse: z.ZodObject<{
84530
84862
  projectId: string;
84531
84863
  threadId?: string | undefined;
84532
84864
  previewUrl?: string | null | undefined;
84865
+ thumbnail?: {
84866
+ id: string;
84867
+ url: string;
84868
+ name?: string | undefined;
84869
+ source?: {
84870
+ type: "UserUpload";
84871
+ userId: string;
84872
+ } | {
84873
+ type: "Figma";
84874
+ renderMode: "Image" | "HTML" | "JSON";
84875
+ } | undefined;
84876
+ } | undefined;
84533
84877
  iterationId?: string | null | undefined;
84534
84878
  sectionId?: string | undefined;
84535
84879
  };
@@ -84544,6 +84888,18 @@ declare const DTOForgeProjectArtifactUpdateResponse: z.ZodObject<{
84544
84888
  threadId?: string | undefined;
84545
84889
  sortOrder?: number | undefined;
84546
84890
  previewUrl?: string | null | undefined;
84891
+ thumbnail?: {
84892
+ id: string;
84893
+ url: string;
84894
+ name?: string | undefined;
84895
+ source?: {
84896
+ type: "UserUpload";
84897
+ userId: string;
84898
+ } | {
84899
+ type: "Figma";
84900
+ renderMode: "Image" | "HTML" | "JSON";
84901
+ } | undefined;
84902
+ } | undefined;
84547
84903
  iterationId?: string | null | undefined;
84548
84904
  sectionId?: string | undefined;
84549
84905
  };
@@ -84570,6 +84926,58 @@ declare const DTOForgeProjectArtifactMoveResponse: z.ZodObject<{
84570
84926
  createdByUserId: z.ZodString;
84571
84927
  sectionId: z.ZodOptional<z.ZodString>;
84572
84928
  threadId: z.ZodOptional<z.ZodString>;
84929
+ thumbnail: z.ZodOptional<z.ZodObject<Pick<{
84930
+ id: z.ZodString;
84931
+ name: z.ZodString;
84932
+ deduplicationKey: z.ZodString;
84933
+ pendingUpload: z.ZodOptional<z.ZodBoolean>;
84934
+ storagePath: z.ZodString;
84935
+ url: z.ZodString;
84936
+ size: z.ZodNumber;
84937
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
84938
+ type: z.ZodLiteral<"UserUpload">;
84939
+ userId: z.ZodString;
84940
+ }, "strip", z.ZodTypeAny, {
84941
+ type: "UserUpload";
84942
+ userId: string;
84943
+ }, {
84944
+ type: "UserUpload";
84945
+ userId: string;
84946
+ }>, z.ZodObject<{
84947
+ type: z.ZodLiteral<"Figma">;
84948
+ renderMode: z.ZodEnum<["Image", "HTML", "JSON"]>;
84949
+ }, "strip", z.ZodTypeAny, {
84950
+ type: "Figma";
84951
+ renderMode: "Image" | "HTML" | "JSON";
84952
+ }, {
84953
+ type: "Figma";
84954
+ renderMode: "Image" | "HTML" | "JSON";
84955
+ }>]>>;
84956
+ }, "id" | "source" | "url"> & {
84957
+ name: z.ZodOptional<z.ZodString>;
84958
+ }, "strip", z.ZodTypeAny, {
84959
+ id: string;
84960
+ url: string;
84961
+ name?: string | undefined;
84962
+ source?: {
84963
+ type: "UserUpload";
84964
+ userId: string;
84965
+ } | {
84966
+ type: "Figma";
84967
+ renderMode: "Image" | "HTML" | "JSON";
84968
+ } | undefined;
84969
+ }, {
84970
+ id: string;
84971
+ url: string;
84972
+ name?: string | undefined;
84973
+ source?: {
84974
+ type: "UserUpload";
84975
+ userId: string;
84976
+ } | {
84977
+ type: "Figma";
84978
+ renderMode: "Image" | "HTML" | "JSON";
84979
+ } | undefined;
84980
+ }>>;
84573
84981
  }, "strip", z.ZodTypeAny, {
84574
84982
  id: string;
84575
84983
  createdAt: Date;
@@ -84580,6 +84988,18 @@ declare const DTOForgeProjectArtifactMoveResponse: z.ZodObject<{
84580
84988
  projectId: string;
84581
84989
  threadId?: string | undefined;
84582
84990
  previewUrl?: string | null | undefined;
84991
+ thumbnail?: {
84992
+ id: string;
84993
+ url: string;
84994
+ name?: string | undefined;
84995
+ source?: {
84996
+ type: "UserUpload";
84997
+ userId: string;
84998
+ } | {
84999
+ type: "Figma";
85000
+ renderMode: "Image" | "HTML" | "JSON";
85001
+ } | undefined;
85002
+ } | undefined;
84583
85003
  iterationId?: string | null | undefined;
84584
85004
  sectionId?: string | undefined;
84585
85005
  }, {
@@ -84592,6 +85012,18 @@ declare const DTOForgeProjectArtifactMoveResponse: z.ZodObject<{
84592
85012
  threadId?: string | undefined;
84593
85013
  sortOrder?: number | undefined;
84594
85014
  previewUrl?: string | null | undefined;
85015
+ thumbnail?: {
85016
+ id: string;
85017
+ url: string;
85018
+ name?: string | undefined;
85019
+ source?: {
85020
+ type: "UserUpload";
85021
+ userId: string;
85022
+ } | {
85023
+ type: "Figma";
85024
+ renderMode: "Image" | "HTML" | "JSON";
85025
+ } | undefined;
85026
+ } | undefined;
84595
85027
  iterationId?: string | null | undefined;
84596
85028
  sectionId?: string | undefined;
84597
85029
  }>;
@@ -84606,6 +85038,18 @@ declare const DTOForgeProjectArtifactMoveResponse: z.ZodObject<{
84606
85038
  projectId: string;
84607
85039
  threadId?: string | undefined;
84608
85040
  previewUrl?: string | null | undefined;
85041
+ thumbnail?: {
85042
+ id: string;
85043
+ url: string;
85044
+ name?: string | undefined;
85045
+ source?: {
85046
+ type: "UserUpload";
85047
+ userId: string;
85048
+ } | {
85049
+ type: "Figma";
85050
+ renderMode: "Image" | "HTML" | "JSON";
85051
+ } | undefined;
85052
+ } | undefined;
84609
85053
  iterationId?: string | null | undefined;
84610
85054
  sectionId?: string | undefined;
84611
85055
  };
@@ -84620,6 +85064,18 @@ declare const DTOForgeProjectArtifactMoveResponse: z.ZodObject<{
84620
85064
  threadId?: string | undefined;
84621
85065
  sortOrder?: number | undefined;
84622
85066
  previewUrl?: string | null | undefined;
85067
+ thumbnail?: {
85068
+ id: string;
85069
+ url: string;
85070
+ name?: string | undefined;
85071
+ source?: {
85072
+ type: "UserUpload";
85073
+ userId: string;
85074
+ } | {
85075
+ type: "Figma";
85076
+ renderMode: "Image" | "HTML" | "JSON";
85077
+ } | undefined;
85078
+ } | undefined;
84623
85079
  iterationId?: string | null | undefined;
84624
85080
  sectionId?: string | undefined;
84625
85081
  };
@@ -84638,6 +85094,58 @@ declare const DTOForgeProjectArtifactsListResponse: z.ZodObject<{
84638
85094
  createdByUserId: z.ZodString;
84639
85095
  sectionId: z.ZodOptional<z.ZodString>;
84640
85096
  threadId: z.ZodOptional<z.ZodString>;
85097
+ thumbnail: z.ZodOptional<z.ZodObject<Pick<{
85098
+ id: z.ZodString;
85099
+ name: z.ZodString;
85100
+ deduplicationKey: z.ZodString;
85101
+ pendingUpload: z.ZodOptional<z.ZodBoolean>;
85102
+ storagePath: z.ZodString;
85103
+ url: z.ZodString;
85104
+ size: z.ZodNumber;
85105
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
85106
+ type: z.ZodLiteral<"UserUpload">;
85107
+ userId: z.ZodString;
85108
+ }, "strip", z.ZodTypeAny, {
85109
+ type: "UserUpload";
85110
+ userId: string;
85111
+ }, {
85112
+ type: "UserUpload";
85113
+ userId: string;
85114
+ }>, z.ZodObject<{
85115
+ type: z.ZodLiteral<"Figma">;
85116
+ renderMode: z.ZodEnum<["Image", "HTML", "JSON"]>;
85117
+ }, "strip", z.ZodTypeAny, {
85118
+ type: "Figma";
85119
+ renderMode: "Image" | "HTML" | "JSON";
85120
+ }, {
85121
+ type: "Figma";
85122
+ renderMode: "Image" | "HTML" | "JSON";
85123
+ }>]>>;
85124
+ }, "id" | "source" | "url"> & {
85125
+ name: z.ZodOptional<z.ZodString>;
85126
+ }, "strip", z.ZodTypeAny, {
85127
+ id: string;
85128
+ url: string;
85129
+ name?: string | undefined;
85130
+ source?: {
85131
+ type: "UserUpload";
85132
+ userId: string;
85133
+ } | {
85134
+ type: "Figma";
85135
+ renderMode: "Image" | "HTML" | "JSON";
85136
+ } | undefined;
85137
+ }, {
85138
+ id: string;
85139
+ url: string;
85140
+ name?: string | undefined;
85141
+ source?: {
85142
+ type: "UserUpload";
85143
+ userId: string;
85144
+ } | {
85145
+ type: "Figma";
85146
+ renderMode: "Image" | "HTML" | "JSON";
85147
+ } | undefined;
85148
+ }>>;
84641
85149
  }, "strip", z.ZodTypeAny, {
84642
85150
  id: string;
84643
85151
  createdAt: Date;
@@ -84648,6 +85156,18 @@ declare const DTOForgeProjectArtifactsListResponse: z.ZodObject<{
84648
85156
  projectId: string;
84649
85157
  threadId?: string | undefined;
84650
85158
  previewUrl?: string | null | undefined;
85159
+ thumbnail?: {
85160
+ id: string;
85161
+ url: string;
85162
+ name?: string | undefined;
85163
+ source?: {
85164
+ type: "UserUpload";
85165
+ userId: string;
85166
+ } | {
85167
+ type: "Figma";
85168
+ renderMode: "Image" | "HTML" | "JSON";
85169
+ } | undefined;
85170
+ } | undefined;
84651
85171
  iterationId?: string | null | undefined;
84652
85172
  sectionId?: string | undefined;
84653
85173
  }, {
@@ -84660,6 +85180,18 @@ declare const DTOForgeProjectArtifactsListResponse: z.ZodObject<{
84660
85180
  threadId?: string | undefined;
84661
85181
  sortOrder?: number | undefined;
84662
85182
  previewUrl?: string | null | undefined;
85183
+ thumbnail?: {
85184
+ id: string;
85185
+ url: string;
85186
+ name?: string | undefined;
85187
+ source?: {
85188
+ type: "UserUpload";
85189
+ userId: string;
85190
+ } | {
85191
+ type: "Figma";
85192
+ renderMode: "Image" | "HTML" | "JSON";
85193
+ } | undefined;
85194
+ } | undefined;
84663
85195
  iterationId?: string | null | undefined;
84664
85196
  sectionId?: string | undefined;
84665
85197
  }>, "many">;
@@ -84674,6 +85206,18 @@ declare const DTOForgeProjectArtifactsListResponse: z.ZodObject<{
84674
85206
  projectId: string;
84675
85207
  threadId?: string | undefined;
84676
85208
  previewUrl?: string | null | undefined;
85209
+ thumbnail?: {
85210
+ id: string;
85211
+ url: string;
85212
+ name?: string | undefined;
85213
+ source?: {
85214
+ type: "UserUpload";
85215
+ userId: string;
85216
+ } | {
85217
+ type: "Figma";
85218
+ renderMode: "Image" | "HTML" | "JSON";
85219
+ } | undefined;
85220
+ } | undefined;
84677
85221
  iterationId?: string | null | undefined;
84678
85222
  sectionId?: string | undefined;
84679
85223
  }[];
@@ -84688,6 +85232,18 @@ declare const DTOForgeProjectArtifactsListResponse: z.ZodObject<{
84688
85232
  threadId?: string | undefined;
84689
85233
  sortOrder?: number | undefined;
84690
85234
  previewUrl?: string | null | undefined;
85235
+ thumbnail?: {
85236
+ id: string;
85237
+ url: string;
85238
+ name?: string | undefined;
85239
+ source?: {
85240
+ type: "UserUpload";
85241
+ userId: string;
85242
+ } | {
85243
+ type: "Figma";
85244
+ renderMode: "Image" | "HTML" | "JSON";
85245
+ } | undefined;
85246
+ } | undefined;
84691
85247
  iterationId?: string | null | undefined;
84692
85248
  sectionId?: string | undefined;
84693
85249
  }[];
@@ -140401,6 +140957,58 @@ declare const DTOForgeProjectFeature: z$1.ZodObject<{
140401
140957
  numberOfBookmarkedIterations: z$1.ZodDefault<z$1.ZodNumber>;
140402
140958
  lastReplyTimestamp: z$1.ZodOptional<z$1.ZodDate>;
140403
140959
  threadId: z$1.ZodOptional<z$1.ZodString>;
140960
+ thumbnail: z$1.ZodOptional<z$1.ZodObject<Pick<{
140961
+ id: z$1.ZodString;
140962
+ name: z$1.ZodString;
140963
+ deduplicationKey: z$1.ZodString;
140964
+ pendingUpload: z$1.ZodOptional<z$1.ZodBoolean>;
140965
+ storagePath: z$1.ZodString;
140966
+ url: z$1.ZodString;
140967
+ size: z$1.ZodNumber;
140968
+ source: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
140969
+ type: z$1.ZodLiteral<"UserUpload">;
140970
+ userId: z$1.ZodString;
140971
+ }, "strip", z$1.ZodTypeAny, {
140972
+ type: "UserUpload";
140973
+ userId: string;
140974
+ }, {
140975
+ type: "UserUpload";
140976
+ userId: string;
140977
+ }>, z$1.ZodObject<{
140978
+ type: z$1.ZodLiteral<"Figma">;
140979
+ renderMode: z$1.ZodEnum<["Image", "HTML", "JSON"]>;
140980
+ }, "strip", z$1.ZodTypeAny, {
140981
+ type: "Figma";
140982
+ renderMode: "Image" | "HTML" | "JSON";
140983
+ }, {
140984
+ type: "Figma";
140985
+ renderMode: "Image" | "HTML" | "JSON";
140986
+ }>]>>;
140987
+ }, "id" | "source" | "url"> & {
140988
+ name: z$1.ZodOptional<z$1.ZodString>;
140989
+ }, "strip", z$1.ZodTypeAny, {
140990
+ id: string;
140991
+ url: string;
140992
+ name?: string | undefined;
140993
+ source?: {
140994
+ type: "UserUpload";
140995
+ userId: string;
140996
+ } | {
140997
+ type: "Figma";
140998
+ renderMode: "Image" | "HTML" | "JSON";
140999
+ } | undefined;
141000
+ }, {
141001
+ id: string;
141002
+ url: string;
141003
+ name?: string | undefined;
141004
+ source?: {
141005
+ type: "UserUpload";
141006
+ userId: string;
141007
+ } | {
141008
+ type: "Figma";
141009
+ renderMode: "Image" | "HTML" | "JSON";
141010
+ } | undefined;
141011
+ }>>;
140404
141012
  }, "strip", z$1.ZodTypeAny, {
140405
141013
  status: "Draft" | "ReadyForDevelopment";
140406
141014
  id: string;
@@ -140414,6 +141022,18 @@ declare const DTOForgeProjectFeature: z$1.ZodObject<{
140414
141022
  numberOfBookmarkedIterations: number;
140415
141023
  updatedAt?: Date | undefined;
140416
141024
  threadId?: string | undefined;
141025
+ thumbnail?: {
141026
+ id: string;
141027
+ url: string;
141028
+ name?: string | undefined;
141029
+ source?: {
141030
+ type: "UserUpload";
141031
+ userId: string;
141032
+ } | {
141033
+ type: "Figma";
141034
+ renderMode: "Image" | "HTML" | "JSON";
141035
+ } | undefined;
141036
+ } | undefined;
140417
141037
  sectionId?: string | undefined;
140418
141038
  isArchived?: boolean | undefined;
140419
141039
  e2bTemplateId?: string | null | undefined;
@@ -140430,6 +141050,18 @@ declare const DTOForgeProjectFeature: z$1.ZodObject<{
140430
141050
  updatedAt?: Date | undefined;
140431
141051
  threadId?: string | undefined;
140432
141052
  sortOrder?: number | undefined;
141053
+ thumbnail?: {
141054
+ id: string;
141055
+ url: string;
141056
+ name?: string | undefined;
141057
+ source?: {
141058
+ type: "UserUpload";
141059
+ userId: string;
141060
+ } | {
141061
+ type: "Figma";
141062
+ renderMode: "Image" | "HTML" | "JSON";
141063
+ } | undefined;
141064
+ } | undefined;
140433
141065
  sectionId?: string | undefined;
140434
141066
  isArchived?: boolean | undefined;
140435
141067
  e2bTemplateId?: string | null | undefined;
@@ -140458,6 +141090,58 @@ declare const DTOForgeProjectFeatureListResponse: z$1.ZodObject<{
140458
141090
  numberOfBookmarkedIterations: z$1.ZodDefault<z$1.ZodNumber>;
140459
141091
  lastReplyTimestamp: z$1.ZodOptional<z$1.ZodDate>;
140460
141092
  threadId: z$1.ZodOptional<z$1.ZodString>;
141093
+ thumbnail: z$1.ZodOptional<z$1.ZodObject<Pick<{
141094
+ id: z$1.ZodString;
141095
+ name: z$1.ZodString;
141096
+ deduplicationKey: z$1.ZodString;
141097
+ pendingUpload: z$1.ZodOptional<z$1.ZodBoolean>;
141098
+ storagePath: z$1.ZodString;
141099
+ url: z$1.ZodString;
141100
+ size: z$1.ZodNumber;
141101
+ source: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
141102
+ type: z$1.ZodLiteral<"UserUpload">;
141103
+ userId: z$1.ZodString;
141104
+ }, "strip", z$1.ZodTypeAny, {
141105
+ type: "UserUpload";
141106
+ userId: string;
141107
+ }, {
141108
+ type: "UserUpload";
141109
+ userId: string;
141110
+ }>, z$1.ZodObject<{
141111
+ type: z$1.ZodLiteral<"Figma">;
141112
+ renderMode: z$1.ZodEnum<["Image", "HTML", "JSON"]>;
141113
+ }, "strip", z$1.ZodTypeAny, {
141114
+ type: "Figma";
141115
+ renderMode: "Image" | "HTML" | "JSON";
141116
+ }, {
141117
+ type: "Figma";
141118
+ renderMode: "Image" | "HTML" | "JSON";
141119
+ }>]>>;
141120
+ }, "id" | "source" | "url"> & {
141121
+ name: z$1.ZodOptional<z$1.ZodString>;
141122
+ }, "strip", z$1.ZodTypeAny, {
141123
+ id: string;
141124
+ url: string;
141125
+ name?: string | undefined;
141126
+ source?: {
141127
+ type: "UserUpload";
141128
+ userId: string;
141129
+ } | {
141130
+ type: "Figma";
141131
+ renderMode: "Image" | "HTML" | "JSON";
141132
+ } | undefined;
141133
+ }, {
141134
+ id: string;
141135
+ url: string;
141136
+ name?: string | undefined;
141137
+ source?: {
141138
+ type: "UserUpload";
141139
+ userId: string;
141140
+ } | {
141141
+ type: "Figma";
141142
+ renderMode: "Image" | "HTML" | "JSON";
141143
+ } | undefined;
141144
+ }>>;
140461
141145
  }, "strip", z$1.ZodTypeAny, {
140462
141146
  status: "Draft" | "ReadyForDevelopment";
140463
141147
  id: string;
@@ -140471,6 +141155,18 @@ declare const DTOForgeProjectFeatureListResponse: z$1.ZodObject<{
140471
141155
  numberOfBookmarkedIterations: number;
140472
141156
  updatedAt?: Date | undefined;
140473
141157
  threadId?: string | undefined;
141158
+ thumbnail?: {
141159
+ id: string;
141160
+ url: string;
141161
+ name?: string | undefined;
141162
+ source?: {
141163
+ type: "UserUpload";
141164
+ userId: string;
141165
+ } | {
141166
+ type: "Figma";
141167
+ renderMode: "Image" | "HTML" | "JSON";
141168
+ } | undefined;
141169
+ } | undefined;
140474
141170
  sectionId?: string | undefined;
140475
141171
  isArchived?: boolean | undefined;
140476
141172
  e2bTemplateId?: string | null | undefined;
@@ -140487,6 +141183,18 @@ declare const DTOForgeProjectFeatureListResponse: z$1.ZodObject<{
140487
141183
  updatedAt?: Date | undefined;
140488
141184
  threadId?: string | undefined;
140489
141185
  sortOrder?: number | undefined;
141186
+ thumbnail?: {
141187
+ id: string;
141188
+ url: string;
141189
+ name?: string | undefined;
141190
+ source?: {
141191
+ type: "UserUpload";
141192
+ userId: string;
141193
+ } | {
141194
+ type: "Figma";
141195
+ renderMode: "Image" | "HTML" | "JSON";
141196
+ } | undefined;
141197
+ } | undefined;
140490
141198
  sectionId?: string | undefined;
140491
141199
  isArchived?: boolean | undefined;
140492
141200
  e2bTemplateId?: string | null | undefined;
@@ -140509,6 +141217,18 @@ declare const DTOForgeProjectFeatureListResponse: z$1.ZodObject<{
140509
141217
  numberOfBookmarkedIterations: number;
140510
141218
  updatedAt?: Date | undefined;
140511
141219
  threadId?: string | undefined;
141220
+ thumbnail?: {
141221
+ id: string;
141222
+ url: string;
141223
+ name?: string | undefined;
141224
+ source?: {
141225
+ type: "UserUpload";
141226
+ userId: string;
141227
+ } | {
141228
+ type: "Figma";
141229
+ renderMode: "Image" | "HTML" | "JSON";
141230
+ } | undefined;
141231
+ } | undefined;
140512
141232
  sectionId?: string | undefined;
140513
141233
  isArchived?: boolean | undefined;
140514
141234
  e2bTemplateId?: string | null | undefined;
@@ -140527,6 +141247,18 @@ declare const DTOForgeProjectFeatureListResponse: z$1.ZodObject<{
140527
141247
  updatedAt?: Date | undefined;
140528
141248
  threadId?: string | undefined;
140529
141249
  sortOrder?: number | undefined;
141250
+ thumbnail?: {
141251
+ id: string;
141252
+ url: string;
141253
+ name?: string | undefined;
141254
+ source?: {
141255
+ type: "UserUpload";
141256
+ userId: string;
141257
+ } | {
141258
+ type: "Figma";
141259
+ renderMode: "Image" | "HTML" | "JSON";
141260
+ } | undefined;
141261
+ } | undefined;
140530
141262
  sectionId?: string | undefined;
140531
141263
  isArchived?: boolean | undefined;
140532
141264
  e2bTemplateId?: string | null | undefined;
@@ -140799,6 +141531,58 @@ declare const DTOForgeProjectFeatureGetResponse: z$1.ZodObject<{
140799
141531
  numberOfBookmarkedIterations: z$1.ZodDefault<z$1.ZodNumber>;
140800
141532
  lastReplyTimestamp: z$1.ZodOptional<z$1.ZodDate>;
140801
141533
  threadId: z$1.ZodOptional<z$1.ZodString>;
141534
+ thumbnail: z$1.ZodOptional<z$1.ZodObject<Pick<{
141535
+ id: z$1.ZodString;
141536
+ name: z$1.ZodString;
141537
+ deduplicationKey: z$1.ZodString;
141538
+ pendingUpload: z$1.ZodOptional<z$1.ZodBoolean>;
141539
+ storagePath: z$1.ZodString;
141540
+ url: z$1.ZodString;
141541
+ size: z$1.ZodNumber;
141542
+ source: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
141543
+ type: z$1.ZodLiteral<"UserUpload">;
141544
+ userId: z$1.ZodString;
141545
+ }, "strip", z$1.ZodTypeAny, {
141546
+ type: "UserUpload";
141547
+ userId: string;
141548
+ }, {
141549
+ type: "UserUpload";
141550
+ userId: string;
141551
+ }>, z$1.ZodObject<{
141552
+ type: z$1.ZodLiteral<"Figma">;
141553
+ renderMode: z$1.ZodEnum<["Image", "HTML", "JSON"]>;
141554
+ }, "strip", z$1.ZodTypeAny, {
141555
+ type: "Figma";
141556
+ renderMode: "Image" | "HTML" | "JSON";
141557
+ }, {
141558
+ type: "Figma";
141559
+ renderMode: "Image" | "HTML" | "JSON";
141560
+ }>]>>;
141561
+ }, "id" | "source" | "url"> & {
141562
+ name: z$1.ZodOptional<z$1.ZodString>;
141563
+ }, "strip", z$1.ZodTypeAny, {
141564
+ id: string;
141565
+ url: string;
141566
+ name?: string | undefined;
141567
+ source?: {
141568
+ type: "UserUpload";
141569
+ userId: string;
141570
+ } | {
141571
+ type: "Figma";
141572
+ renderMode: "Image" | "HTML" | "JSON";
141573
+ } | undefined;
141574
+ }, {
141575
+ id: string;
141576
+ url: string;
141577
+ name?: string | undefined;
141578
+ source?: {
141579
+ type: "UserUpload";
141580
+ userId: string;
141581
+ } | {
141582
+ type: "Figma";
141583
+ renderMode: "Image" | "HTML" | "JSON";
141584
+ } | undefined;
141585
+ }>>;
140802
141586
  }, "strip", z$1.ZodTypeAny, {
140803
141587
  status: "Draft" | "ReadyForDevelopment";
140804
141588
  id: string;
@@ -140812,6 +141596,18 @@ declare const DTOForgeProjectFeatureGetResponse: z$1.ZodObject<{
140812
141596
  numberOfBookmarkedIterations: number;
140813
141597
  updatedAt?: Date | undefined;
140814
141598
  threadId?: string | undefined;
141599
+ thumbnail?: {
141600
+ id: string;
141601
+ url: string;
141602
+ name?: string | undefined;
141603
+ source?: {
141604
+ type: "UserUpload";
141605
+ userId: string;
141606
+ } | {
141607
+ type: "Figma";
141608
+ renderMode: "Image" | "HTML" | "JSON";
141609
+ } | undefined;
141610
+ } | undefined;
140815
141611
  sectionId?: string | undefined;
140816
141612
  isArchived?: boolean | undefined;
140817
141613
  e2bTemplateId?: string | null | undefined;
@@ -140828,6 +141624,18 @@ declare const DTOForgeProjectFeatureGetResponse: z$1.ZodObject<{
140828
141624
  updatedAt?: Date | undefined;
140829
141625
  threadId?: string | undefined;
140830
141626
  sortOrder?: number | undefined;
141627
+ thumbnail?: {
141628
+ id: string;
141629
+ url: string;
141630
+ name?: string | undefined;
141631
+ source?: {
141632
+ type: "UserUpload";
141633
+ userId: string;
141634
+ } | {
141635
+ type: "Figma";
141636
+ renderMode: "Image" | "HTML" | "JSON";
141637
+ } | undefined;
141638
+ } | undefined;
140831
141639
  sectionId?: string | undefined;
140832
141640
  isArchived?: boolean | undefined;
140833
141641
  e2bTemplateId?: string | null | undefined;
@@ -140850,6 +141658,18 @@ declare const DTOForgeProjectFeatureGetResponse: z$1.ZodObject<{
140850
141658
  numberOfBookmarkedIterations: number;
140851
141659
  updatedAt?: Date | undefined;
140852
141660
  threadId?: string | undefined;
141661
+ thumbnail?: {
141662
+ id: string;
141663
+ url: string;
141664
+ name?: string | undefined;
141665
+ source?: {
141666
+ type: "UserUpload";
141667
+ userId: string;
141668
+ } | {
141669
+ type: "Figma";
141670
+ renderMode: "Image" | "HTML" | "JSON";
141671
+ } | undefined;
141672
+ } | undefined;
140853
141673
  sectionId?: string | undefined;
140854
141674
  isArchived?: boolean | undefined;
140855
141675
  e2bTemplateId?: string | null | undefined;
@@ -140868,6 +141688,18 @@ declare const DTOForgeProjectFeatureGetResponse: z$1.ZodObject<{
140868
141688
  updatedAt?: Date | undefined;
140869
141689
  threadId?: string | undefined;
140870
141690
  sortOrder?: number | undefined;
141691
+ thumbnail?: {
141692
+ id: string;
141693
+ url: string;
141694
+ name?: string | undefined;
141695
+ source?: {
141696
+ type: "UserUpload";
141697
+ userId: string;
141698
+ } | {
141699
+ type: "Figma";
141700
+ renderMode: "Image" | "HTML" | "JSON";
141701
+ } | undefined;
141702
+ } | undefined;
140871
141703
  sectionId?: string | undefined;
140872
141704
  isArchived?: boolean | undefined;
140873
141705
  e2bTemplateId?: string | null | undefined;
@@ -237318,6 +238150,7 @@ type ProjectContentState = {
237318
238150
  features: DTOForgeProjectFeature[];
237319
238151
  artifactSections: DTOForgeSection[];
237320
238152
  featureSections: DTOForgeSection[];
238153
+ relations: DTOForgeRelation[];
237321
238154
  };
237322
238155
 
237323
238156
  type DocsPage$3 = LocalDocsPage | VersionRoomDocsPage;
@@ -247722,6 +248555,18 @@ declare class ForgeProjectFeaturesEndpoint {
247722
248555
  numberOfBookmarkedIterations: number;
247723
248556
  updatedAt?: Date | undefined;
247724
248557
  threadId?: string | undefined;
248558
+ thumbnail?: {
248559
+ id: string;
248560
+ url: string;
248561
+ name?: string | undefined;
248562
+ source?: {
248563
+ type: "UserUpload";
248564
+ userId: string;
248565
+ } | {
248566
+ type: "Figma";
248567
+ renderMode: "Image" | "HTML" | "JSON";
248568
+ } | undefined;
248569
+ } | undefined;
247725
248570
  sectionId?: string | undefined;
247726
248571
  isArchived?: boolean | undefined;
247727
248572
  e2bTemplateId?: string | null | undefined;
@@ -247743,6 +248588,18 @@ declare class ForgeProjectFeaturesEndpoint {
247743
248588
  numberOfBookmarkedIterations: number;
247744
248589
  updatedAt?: Date | undefined;
247745
248590
  threadId?: string | undefined;
248591
+ thumbnail?: {
248592
+ id: string;
248593
+ url: string;
248594
+ name?: string | undefined;
248595
+ source?: {
248596
+ type: "UserUpload";
248597
+ userId: string;
248598
+ } | {
248599
+ type: "Figma";
248600
+ renderMode: "Image" | "HTML" | "JSON";
248601
+ } | undefined;
248602
+ } | undefined;
247746
248603
  sectionId?: string | undefined;
247747
248604
  isArchived?: boolean | undefined;
247748
248605
  e2bTemplateId?: string | null | undefined;
@@ -254614,9 +255471,9 @@ declare class FilesEndpoint {
254614
255471
  id: string;
254615
255472
  name: string;
254616
255473
  url: string;
255474
+ storagePath: string;
254617
255475
  size: number;
254618
255476
  deduplicationKey: string;
254619
- storagePath: string;
254620
255477
  source?: {
254621
255478
  type: "UserUpload";
254622
255479
  userId: string;
@@ -254636,9 +255493,9 @@ declare class FilesEndpoint {
254636
255493
  id: string;
254637
255494
  name: string;
254638
255495
  url: string;
255496
+ storagePath: string;
254639
255497
  size: number;
254640
255498
  deduplicationKey: string;
254641
- storagePath: string;
254642
255499
  source?: {
254643
255500
  type: "UserUpload";
254644
255501
  userId: string;
@@ -257571,6 +258428,18 @@ declare function applyProjectActionsLocally(input: Input): {
257571
258428
  projectId: string;
257572
258429
  threadId?: string | undefined;
257573
258430
  previewUrl?: string | null | undefined;
258431
+ thumbnail?: {
258432
+ id: string;
258433
+ url: string;
258434
+ name?: string | undefined;
258435
+ source?: {
258436
+ type: "UserUpload";
258437
+ userId: string;
258438
+ } | {
258439
+ type: "Figma";
258440
+ renderMode: "Image" | "HTML" | "JSON";
258441
+ } | undefined;
258442
+ } | undefined;
257574
258443
  iterationId?: string | null | undefined;
257575
258444
  sectionId?: string | undefined;
257576
258445
  }[];
@@ -257587,6 +258456,18 @@ declare function applyProjectActionsLocally(input: Input): {
257587
258456
  numberOfBookmarkedIterations: number;
257588
258457
  updatedAt?: Date | undefined;
257589
258458
  threadId?: string | undefined;
258459
+ thumbnail?: {
258460
+ id: string;
258461
+ url: string;
258462
+ name?: string | undefined;
258463
+ source?: {
258464
+ type: "UserUpload";
258465
+ userId: string;
258466
+ } | {
258467
+ type: "Figma";
258468
+ renderMode: "Image" | "HTML" | "JSON";
258469
+ } | undefined;
258470
+ } | undefined;
257590
258471
  sectionId?: string | undefined;
257591
258472
  isArchived?: boolean | undefined;
257592
258473
  e2bTemplateId?: string | null | undefined;
@@ -257642,6 +258523,18 @@ declare class LocalProjectActionExecutor {
257642
258523
  projectId: string;
257643
258524
  threadId?: string | undefined;
257644
258525
  previewUrl?: string | null | undefined;
258526
+ thumbnail?: {
258527
+ id: string;
258528
+ url: string;
258529
+ name?: string | undefined;
258530
+ source?: {
258531
+ type: "UserUpload";
258532
+ userId: string;
258533
+ } | {
258534
+ type: "Figma";
258535
+ renderMode: "Image" | "HTML" | "JSON";
258536
+ } | undefined;
258537
+ } | undefined;
257645
258538
  iterationId?: string | null | undefined;
257646
258539
  sectionId?: string | undefined;
257647
258540
  }[];
@@ -257658,6 +258551,18 @@ declare class LocalProjectActionExecutor {
257658
258551
  numberOfBookmarkedIterations: number;
257659
258552
  updatedAt?: Date | undefined;
257660
258553
  threadId?: string | undefined;
258554
+ thumbnail?: {
258555
+ id: string;
258556
+ url: string;
258557
+ name?: string | undefined;
258558
+ source?: {
258559
+ type: "UserUpload";
258560
+ userId: string;
258561
+ } | {
258562
+ type: "Figma";
258563
+ renderMode: "Image" | "HTML" | "JSON";
258564
+ } | undefined;
258565
+ } | undefined;
257661
258566
  sectionId?: string | undefined;
257662
258567
  isArchived?: boolean | undefined;
257663
258568
  e2bTemplateId?: string | null | undefined;