@supernova-studio/client 1.90.0 → 1.90.1

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.ts CHANGED
@@ -16023,6 +16023,188 @@ declare const DTOBrandUpdatePayload: z.ZodObject<{
16023
16023
  }>;
16024
16024
  type DTOBrandUpdatePayload = z.infer<typeof DTOBrandUpdatePayload>;
16025
16025
 
16026
+ declare const DTOCodeComponentPropUsage: z$1.ZodObject<{
16027
+ /** How many times this property has been used in this repository? */
16028
+ usages: z$1.ZodNumber;
16029
+ /** How many times different values have been used with this property? */
16030
+ values: z$1.ZodRecord<z$1.ZodString, z$1.ZodNumber>;
16031
+ /** How many times a value has not been specified? (all component usages - usages with values) */
16032
+ undefinedValue: z$1.ZodNumber;
16033
+ }, "strip", z$1.ZodTypeAny, {
16034
+ values: Record<string, number>;
16035
+ usages: number;
16036
+ undefinedValue: number;
16037
+ }, {
16038
+ values: Record<string, number>;
16039
+ usages: number;
16040
+ undefinedValue: number;
16041
+ }>;
16042
+ type DTOCodeComponentPropUsage = z$1.infer<typeof DTOCodeComponentPropUsage>;
16043
+ declare const DTOCodeComponentUsage: z$1.ZodObject<{
16044
+ /**
16045
+ * Name of the component in its package.
16046
+ * `componentName` and `componentPackageName` uniquely identify a component
16047
+ */
16048
+ componentName: z$1.ZodString;
16049
+ /**
16050
+ * Which package the component is coming from.
16051
+ * `componentName` and `componentPackageName` uniquely identify a component
16052
+ */
16053
+ componentPackageName: z$1.ZodString;
16054
+ /** Which repository this component is used in */
16055
+ usageRepositoryName: z$1.ZodString;
16056
+ /** Which package of the repository the component is used in */
16057
+ usagePackageName: z$1.ZodString;
16058
+ /** How many times this component has been used in this repository? */
16059
+ usages: z$1.ZodNumber;
16060
+ /** How many files has at least one usage of this component? */
16061
+ usageFiles: z$1.ZodNumber;
16062
+ /** Usage data of the component's props */
16063
+ props: z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
16064
+ /** How many times this property has been used in this repository? */
16065
+ usages: z$1.ZodNumber;
16066
+ /** How many times different values have been used with this property? */
16067
+ values: z$1.ZodRecord<z$1.ZodString, z$1.ZodNumber>;
16068
+ /** How many times a value has not been specified? (all component usages - usages with values) */
16069
+ undefinedValue: z$1.ZodNumber;
16070
+ }, "strip", z$1.ZodTypeAny, {
16071
+ values: Record<string, number>;
16072
+ usages: number;
16073
+ undefinedValue: number;
16074
+ }, {
16075
+ values: Record<string, number>;
16076
+ usages: number;
16077
+ undefinedValue: number;
16078
+ }>>;
16079
+ /** Timestamp of the scan that has shapshotted this data */
16080
+ scanTimestamp: z$1.ZodString;
16081
+ }, "strip", z$1.ZodTypeAny, {
16082
+ componentName: string;
16083
+ props: Record<string, {
16084
+ values: Record<string, number>;
16085
+ usages: number;
16086
+ undefinedValue: number;
16087
+ }>;
16088
+ usages: number;
16089
+ componentPackageName: string;
16090
+ usageRepositoryName: string;
16091
+ usagePackageName: string;
16092
+ usageFiles: number;
16093
+ scanTimestamp: string;
16094
+ }, {
16095
+ componentName: string;
16096
+ props: Record<string, {
16097
+ values: Record<string, number>;
16098
+ usages: number;
16099
+ undefinedValue: number;
16100
+ }>;
16101
+ usages: number;
16102
+ componentPackageName: string;
16103
+ usageRepositoryName: string;
16104
+ usagePackageName: string;
16105
+ usageFiles: number;
16106
+ scanTimestamp: string;
16107
+ }>;
16108
+ type DTOCodeComponentUsage = z$1.infer<typeof DTOCodeComponentUsage>;
16109
+ declare const DTOCodeComponentUsageResponse: z$1.ZodObject<{
16110
+ componentUsage: z$1.ZodArray<z$1.ZodObject<{
16111
+ /**
16112
+ * Name of the component in its package.
16113
+ * `componentName` and `componentPackageName` uniquely identify a component
16114
+ */
16115
+ componentName: z$1.ZodString;
16116
+ /**
16117
+ * Which package the component is coming from.
16118
+ * `componentName` and `componentPackageName` uniquely identify a component
16119
+ */
16120
+ componentPackageName: z$1.ZodString;
16121
+ /** Which repository this component is used in */
16122
+ usageRepositoryName: z$1.ZodString;
16123
+ /** Which package of the repository the component is used in */
16124
+ usagePackageName: z$1.ZodString;
16125
+ /** How many times this component has been used in this repository? */
16126
+ usages: z$1.ZodNumber;
16127
+ /** How many files has at least one usage of this component? */
16128
+ usageFiles: z$1.ZodNumber;
16129
+ /** Usage data of the component's props */
16130
+ props: z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
16131
+ /** How many times this property has been used in this repository? */
16132
+ usages: z$1.ZodNumber;
16133
+ /** How many times different values have been used with this property? */
16134
+ values: z$1.ZodRecord<z$1.ZodString, z$1.ZodNumber>;
16135
+ /** How many times a value has not been specified? (all component usages - usages with values) */
16136
+ undefinedValue: z$1.ZodNumber;
16137
+ }, "strip", z$1.ZodTypeAny, {
16138
+ values: Record<string, number>;
16139
+ usages: number;
16140
+ undefinedValue: number;
16141
+ }, {
16142
+ values: Record<string, number>;
16143
+ usages: number;
16144
+ undefinedValue: number;
16145
+ }>>;
16146
+ /** Timestamp of the scan that has shapshotted this data */
16147
+ scanTimestamp: z$1.ZodString;
16148
+ }, "strip", z$1.ZodTypeAny, {
16149
+ componentName: string;
16150
+ props: Record<string, {
16151
+ values: Record<string, number>;
16152
+ usages: number;
16153
+ undefinedValue: number;
16154
+ }>;
16155
+ usages: number;
16156
+ componentPackageName: string;
16157
+ usageRepositoryName: string;
16158
+ usagePackageName: string;
16159
+ usageFiles: number;
16160
+ scanTimestamp: string;
16161
+ }, {
16162
+ componentName: string;
16163
+ props: Record<string, {
16164
+ values: Record<string, number>;
16165
+ usages: number;
16166
+ undefinedValue: number;
16167
+ }>;
16168
+ usages: number;
16169
+ componentPackageName: string;
16170
+ usageRepositoryName: string;
16171
+ usagePackageName: string;
16172
+ usageFiles: number;
16173
+ scanTimestamp: string;
16174
+ }>, "many">;
16175
+ }, "strip", z$1.ZodTypeAny, {
16176
+ componentUsage: {
16177
+ componentName: string;
16178
+ props: Record<string, {
16179
+ values: Record<string, number>;
16180
+ usages: number;
16181
+ undefinedValue: number;
16182
+ }>;
16183
+ usages: number;
16184
+ componentPackageName: string;
16185
+ usageRepositoryName: string;
16186
+ usagePackageName: string;
16187
+ usageFiles: number;
16188
+ scanTimestamp: string;
16189
+ }[];
16190
+ }, {
16191
+ componentUsage: {
16192
+ componentName: string;
16193
+ props: Record<string, {
16194
+ values: Record<string, number>;
16195
+ usages: number;
16196
+ undefinedValue: number;
16197
+ }>;
16198
+ usages: number;
16199
+ componentPackageName: string;
16200
+ usageRepositoryName: string;
16201
+ usagePackageName: string;
16202
+ usageFiles: number;
16203
+ scanTimestamp: string;
16204
+ }[];
16205
+ }>;
16206
+ type DTOCodeComponentUsageResponse = z$1.infer<typeof DTOCodeComponentUsageResponse>;
16207
+
16026
16208
  declare const DTOCodeComponentProperty: z$1.ZodObject<{
16027
16209
  name: z$1.ZodString;
16028
16210
  type: z$1.ZodString;
@@ -16294,188 +16476,6 @@ declare const DTOCodeComponentListResponse: z$1.ZodObject<{
16294
16476
  }>;
16295
16477
  type DTOCodeComponentListResponse = z$1.infer<typeof DTOCodeComponentListResponse>;
16296
16478
 
16297
- declare const DTOCodeComponentPropUsage: z$1.ZodObject<{
16298
- /** How many times this property has been used in this repository? */
16299
- usages: z$1.ZodNumber;
16300
- /** How many times different values have been used with this property? */
16301
- values: z$1.ZodRecord<z$1.ZodString, z$1.ZodNumber>;
16302
- /** How many times a value has not been specified? (all component usages - usages with values) */
16303
- undefinedValue: z$1.ZodNumber;
16304
- }, "strip", z$1.ZodTypeAny, {
16305
- values: Record<string, number>;
16306
- usages: number;
16307
- undefinedValue: number;
16308
- }, {
16309
- values: Record<string, number>;
16310
- usages: number;
16311
- undefinedValue: number;
16312
- }>;
16313
- type DTOCodeComponentPropUsage = z$1.infer<typeof DTOCodeComponentPropUsage>;
16314
- declare const DTOCodeComponentUsage: z$1.ZodObject<{
16315
- /**
16316
- * Name of the component in its package.
16317
- * `componentName` and `componentPackageName` uniquely identify a component
16318
- */
16319
- componentName: z$1.ZodString;
16320
- /**
16321
- * Which package the component is coming from.
16322
- * `componentName` and `componentPackageName` uniquely identify a component
16323
- */
16324
- componentPackageName: z$1.ZodString;
16325
- /** Which repository this component is used in */
16326
- usageRepositoryName: z$1.ZodString;
16327
- /** Which package of the repository the component is used in */
16328
- usagePackageName: z$1.ZodString;
16329
- /** How many times this component has been used in this repository? */
16330
- usages: z$1.ZodNumber;
16331
- /** How many files has at least one usage of this component? */
16332
- usageFiles: z$1.ZodNumber;
16333
- /** Usage data of the component's props */
16334
- props: z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
16335
- /** How many times this property has been used in this repository? */
16336
- usages: z$1.ZodNumber;
16337
- /** How many times different values have been used with this property? */
16338
- values: z$1.ZodRecord<z$1.ZodString, z$1.ZodNumber>;
16339
- /** How many times a value has not been specified? (all component usages - usages with values) */
16340
- undefinedValue: z$1.ZodNumber;
16341
- }, "strip", z$1.ZodTypeAny, {
16342
- values: Record<string, number>;
16343
- usages: number;
16344
- undefinedValue: number;
16345
- }, {
16346
- values: Record<string, number>;
16347
- usages: number;
16348
- undefinedValue: number;
16349
- }>>;
16350
- /** Timestamp of the scan that has shapshotted this data */
16351
- scanTimestamp: z$1.ZodString;
16352
- }, "strip", z$1.ZodTypeAny, {
16353
- componentName: string;
16354
- props: Record<string, {
16355
- values: Record<string, number>;
16356
- usages: number;
16357
- undefinedValue: number;
16358
- }>;
16359
- usages: number;
16360
- componentPackageName: string;
16361
- usageRepositoryName: string;
16362
- usagePackageName: string;
16363
- usageFiles: number;
16364
- scanTimestamp: string;
16365
- }, {
16366
- componentName: string;
16367
- props: Record<string, {
16368
- values: Record<string, number>;
16369
- usages: number;
16370
- undefinedValue: number;
16371
- }>;
16372
- usages: number;
16373
- componentPackageName: string;
16374
- usageRepositoryName: string;
16375
- usagePackageName: string;
16376
- usageFiles: number;
16377
- scanTimestamp: string;
16378
- }>;
16379
- type DTOCodeComponentUsage = z$1.infer<typeof DTOCodeComponentUsage>;
16380
- declare const DTOCodeComponentUsageResponse: z$1.ZodObject<{
16381
- componentUsage: z$1.ZodArray<z$1.ZodObject<{
16382
- /**
16383
- * Name of the component in its package.
16384
- * `componentName` and `componentPackageName` uniquely identify a component
16385
- */
16386
- componentName: z$1.ZodString;
16387
- /**
16388
- * Which package the component is coming from.
16389
- * `componentName` and `componentPackageName` uniquely identify a component
16390
- */
16391
- componentPackageName: z$1.ZodString;
16392
- /** Which repository this component is used in */
16393
- usageRepositoryName: z$1.ZodString;
16394
- /** Which package of the repository the component is used in */
16395
- usagePackageName: z$1.ZodString;
16396
- /** How many times this component has been used in this repository? */
16397
- usages: z$1.ZodNumber;
16398
- /** How many files has at least one usage of this component? */
16399
- usageFiles: z$1.ZodNumber;
16400
- /** Usage data of the component's props */
16401
- props: z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
16402
- /** How many times this property has been used in this repository? */
16403
- usages: z$1.ZodNumber;
16404
- /** How many times different values have been used with this property? */
16405
- values: z$1.ZodRecord<z$1.ZodString, z$1.ZodNumber>;
16406
- /** How many times a value has not been specified? (all component usages - usages with values) */
16407
- undefinedValue: z$1.ZodNumber;
16408
- }, "strip", z$1.ZodTypeAny, {
16409
- values: Record<string, number>;
16410
- usages: number;
16411
- undefinedValue: number;
16412
- }, {
16413
- values: Record<string, number>;
16414
- usages: number;
16415
- undefinedValue: number;
16416
- }>>;
16417
- /** Timestamp of the scan that has shapshotted this data */
16418
- scanTimestamp: z$1.ZodString;
16419
- }, "strip", z$1.ZodTypeAny, {
16420
- componentName: string;
16421
- props: Record<string, {
16422
- values: Record<string, number>;
16423
- usages: number;
16424
- undefinedValue: number;
16425
- }>;
16426
- usages: number;
16427
- componentPackageName: string;
16428
- usageRepositoryName: string;
16429
- usagePackageName: string;
16430
- usageFiles: number;
16431
- scanTimestamp: string;
16432
- }, {
16433
- componentName: string;
16434
- props: Record<string, {
16435
- values: Record<string, number>;
16436
- usages: number;
16437
- undefinedValue: number;
16438
- }>;
16439
- usages: number;
16440
- componentPackageName: string;
16441
- usageRepositoryName: string;
16442
- usagePackageName: string;
16443
- usageFiles: number;
16444
- scanTimestamp: string;
16445
- }>, "many">;
16446
- }, "strip", z$1.ZodTypeAny, {
16447
- componentUsage: {
16448
- componentName: string;
16449
- props: Record<string, {
16450
- values: Record<string, number>;
16451
- usages: number;
16452
- undefinedValue: number;
16453
- }>;
16454
- usages: number;
16455
- componentPackageName: string;
16456
- usageRepositoryName: string;
16457
- usagePackageName: string;
16458
- usageFiles: number;
16459
- scanTimestamp: string;
16460
- }[];
16461
- }, {
16462
- componentUsage: {
16463
- componentName: string;
16464
- props: Record<string, {
16465
- values: Record<string, number>;
16466
- usages: number;
16467
- undefinedValue: number;
16468
- }>;
16469
- usages: number;
16470
- componentPackageName: string;
16471
- usageRepositoryName: string;
16472
- usagePackageName: string;
16473
- usageFiles: number;
16474
- scanTimestamp: string;
16475
- }[];
16476
- }>;
16477
- type DTOCodeComponentUsageResponse = z$1.infer<typeof DTOCodeComponentUsageResponse>;
16478
-
16479
16479
  declare const DTOCodeHistoryRepositoryFilter: z$1.ZodObject<{
16480
16480
  repositoryName: z$1.ZodString;
16481
16481
  usagePackageNames: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
@@ -16630,8 +16630,8 @@ declare const DTOCodeScanListItem: z.ZodObject<{
16630
16630
  }>>;
16631
16631
  cliVersion: z.ZodOptional<z.ZodString>;
16632
16632
  }, "strip", z.ZodTypeAny, {
16633
- repositoryName: string;
16634
16633
  scanTimestamp: string;
16634
+ repositoryName: string;
16635
16635
  packageNames: string[];
16636
16636
  scanId: string;
16637
16637
  uploadedBy?: {
@@ -16641,8 +16641,8 @@ declare const DTOCodeScanListItem: z.ZodObject<{
16641
16641
  } | undefined;
16642
16642
  cliVersion?: string | undefined;
16643
16643
  }, {
16644
- repositoryName: string;
16645
16644
  scanTimestamp: string;
16645
+ repositoryName: string;
16646
16646
  packageNames: string[];
16647
16647
  scanId: string;
16648
16648
  uploadedBy?: {
@@ -16674,8 +16674,8 @@ declare const DTOCodeScanListResponse: z.ZodObject<{
16674
16674
  }>>;
16675
16675
  cliVersion: z.ZodOptional<z.ZodString>;
16676
16676
  }, "strip", z.ZodTypeAny, {
16677
- repositoryName: string;
16678
16677
  scanTimestamp: string;
16678
+ repositoryName: string;
16679
16679
  packageNames: string[];
16680
16680
  scanId: string;
16681
16681
  uploadedBy?: {
@@ -16685,8 +16685,8 @@ declare const DTOCodeScanListResponse: z.ZodObject<{
16685
16685
  } | undefined;
16686
16686
  cliVersion?: string | undefined;
16687
16687
  }, {
16688
- repositoryName: string;
16689
16688
  scanTimestamp: string;
16689
+ repositoryName: string;
16690
16690
  packageNames: string[];
16691
16691
  scanId: string;
16692
16692
  uploadedBy?: {
@@ -16698,8 +16698,8 @@ declare const DTOCodeScanListResponse: z.ZodObject<{
16698
16698
  }>, "many">;
16699
16699
  }, "strip", z.ZodTypeAny, {
16700
16700
  scans: {
16701
- repositoryName: string;
16702
16701
  scanTimestamp: string;
16702
+ repositoryName: string;
16703
16703
  packageNames: string[];
16704
16704
  scanId: string;
16705
16705
  uploadedBy?: {
@@ -16711,8 +16711,8 @@ declare const DTOCodeScanListResponse: z.ZodObject<{
16711
16711
  }[];
16712
16712
  }, {
16713
16713
  scans: {
16714
- repositoryName: string;
16715
16714
  scanTimestamp: string;
16715
+ repositoryName: string;
16716
16716
  packageNames: string[];
16717
16717
  scanId: string;
16718
16718
  uploadedBy?: {
@@ -26251,6 +26251,33 @@ declare const DTOUserDesignSystemsResponse: z.ZodObject<{
26251
26251
  }>;
26252
26252
  type DTOUserDesignSystemsResponse = z.infer<typeof DTOUserDesignSystemsResponse>;
26253
26253
 
26254
+ declare const DTODesignSystemVersionRoom: z.ZodObject<{
26255
+ id: z.ZodString;
26256
+ }, "strip", z.ZodTypeAny, {
26257
+ id: string;
26258
+ }, {
26259
+ id: string;
26260
+ }>;
26261
+ type DTODesignSystemVersionRoom = z.infer<typeof DTODesignSystemVersionRoom>;
26262
+ declare const DTODesignSystemVersionRoomResponse: z.ZodObject<{
26263
+ room: z.ZodObject<{
26264
+ id: z.ZodString;
26265
+ }, "strip", z.ZodTypeAny, {
26266
+ id: string;
26267
+ }, {
26268
+ id: string;
26269
+ }>;
26270
+ }, "strip", z.ZodTypeAny, {
26271
+ room: {
26272
+ id: string;
26273
+ };
26274
+ }, {
26275
+ room: {
26276
+ id: string;
26277
+ };
26278
+ }>;
26279
+ type DTODesignSystemVersionRoomResponse = z.infer<typeof DTODesignSystemVersionRoomResponse>;
26280
+
26254
26281
  declare const VersionSQSPayload: z.ZodObject<{
26255
26282
  jobId: z.ZodString;
26256
26283
  designSystemId: z.ZodString;
@@ -26610,33 +26637,6 @@ declare const DTODesignSystemVersionJobStatusResponse: z.ZodObject<{
26610
26637
  }>;
26611
26638
  type DTODesignSystemVersionJobStatusResponse = z.infer<typeof DTODesignSystemVersionJobStatusResponse>;
26612
26639
 
26613
- declare const DTODesignSystemVersionRoom: z.ZodObject<{
26614
- id: z.ZodString;
26615
- }, "strip", z.ZodTypeAny, {
26616
- id: string;
26617
- }, {
26618
- id: string;
26619
- }>;
26620
- type DTODesignSystemVersionRoom = z.infer<typeof DTODesignSystemVersionRoom>;
26621
- declare const DTODesignSystemVersionRoomResponse: z.ZodObject<{
26622
- room: z.ZodObject<{
26623
- id: z.ZodString;
26624
- }, "strip", z.ZodTypeAny, {
26625
- id: string;
26626
- }, {
26627
- id: string;
26628
- }>;
26629
- }, "strip", z.ZodTypeAny, {
26630
- room: {
26631
- id: string;
26632
- };
26633
- }, {
26634
- room: {
26635
- id: string;
26636
- };
26637
- }>;
26638
- type DTODesignSystemVersionRoomResponse = z.infer<typeof DTODesignSystemVersionRoomResponse>;
26639
-
26640
26640
  declare const DTOElementViewColumnSharedAttributes: z.ZodObject<{
26641
26641
  id: z.ZodString;
26642
26642
  persistentId: z.ZodString;
@@ -145802,7 +145802,7 @@ declare const DTOForgeFeatureRoomResponse: z.ZodObject<{
145802
145802
  }>;
145803
145803
  type DTOForgeFeatureRoomResponse = z.infer<typeof DTOForgeFeatureRoomResponse>;
145804
145804
 
145805
- declare const ForgeFigmaNodeLatestVersion: "V7";
145805
+ declare const ForgeFigmaNodeLatestVersion: "V8";
145806
145806
  declare const DTOForgeFigmaNodeOrigin: z$1.ZodObject<{
145807
145807
  /**
145808
145808
  * Figma file ID that was passed into the create request as a part of the Figma node URL
@@ -146737,7 +146737,7 @@ declare const DTOForgeFigmaNodeValidateResponse: z$1.ZodObject<{
146737
146737
  isValid: boolean;
146738
146738
  }>;
146739
146739
  type DTOForgeFigmaNodeValidateResponse = z$1.infer<typeof DTOForgeFigmaNodeValidateResponse>;
146740
- declare const DTOForgeFigmaNodeConversionVersion: z$1.ZodEnum<["V1", "V2", "V3", "V4", "V5", "V6", "V7"]>;
146740
+ declare const DTOForgeFigmaNodeConversionVersion: z$1.ZodEnum<["V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8"]>;
146741
146741
  type DTOForgeFigmaNodeConversionVersion = z$1.infer<typeof DTOForgeFigmaNodeConversionVersion>;
146742
146742
 
146743
146743
  declare const DTOForgeIterationMessage: z.ZodObject<Omit<{
package/dist/index.js CHANGED
@@ -7148,6 +7148,44 @@ var DTOBrandUpdatePayload = _zod.z.object({
7148
7148
  persistentId: _zod.z.string()
7149
7149
  });
7150
7150
 
7151
+ // src/api/dto/design-systems/code-component-usage.ts
7152
+
7153
+ var DTOCodeComponentPropUsage = _zod2.default.object({
7154
+ /** How many times this property has been used in this repository? */
7155
+ usages: _zod2.default.number(),
7156
+ /** How many times different values have been used with this property? */
7157
+ values: _zod2.default.record(_zod2.default.number()),
7158
+ /** How many times a value has not been specified? (all component usages - usages with values) */
7159
+ undefinedValue: _zod2.default.number()
7160
+ });
7161
+ var DTOCodeComponentUsage = _zod2.default.object({
7162
+ /**
7163
+ * Name of the component in its package.
7164
+ * `componentName` and `componentPackageName` uniquely identify a component
7165
+ */
7166
+ componentName: _zod2.default.string(),
7167
+ /**
7168
+ * Which package the component is coming from.
7169
+ * `componentName` and `componentPackageName` uniquely identify a component
7170
+ */
7171
+ componentPackageName: _zod2.default.string(),
7172
+ /** Which repository this component is used in */
7173
+ usageRepositoryName: _zod2.default.string(),
7174
+ /** Which package of the repository the component is used in */
7175
+ usagePackageName: _zod2.default.string(),
7176
+ /** How many times this component has been used in this repository? */
7177
+ usages: _zod2.default.number(),
7178
+ /** How many files has at least one usage of this component? */
7179
+ usageFiles: _zod2.default.number(),
7180
+ /** Usage data of the component's props */
7181
+ props: _zod2.default.record(DTOCodeComponentPropUsage),
7182
+ /** Timestamp of the scan that has shapshotted this data */
7183
+ scanTimestamp: _zod2.default.string()
7184
+ });
7185
+ var DTOCodeComponentUsageResponse = _zod2.default.object({
7186
+ componentUsage: DTOCodeComponentUsage.array()
7187
+ });
7188
+
7151
7189
  // src/api/dto/design-systems/code-component.ts
7152
7190
 
7153
7191
  var DTOCodeComponentProperty = _zod2.default.object({
@@ -7187,44 +7225,6 @@ var DTOCodeComponentListResponse = _zod2.default.object({
7187
7225
  components: DTOCodeComponent.array()
7188
7226
  });
7189
7227
 
7190
- // src/api/dto/design-systems/code-component-usage.ts
7191
-
7192
- var DTOCodeComponentPropUsage = _zod2.default.object({
7193
- /** How many times this property has been used in this repository? */
7194
- usages: _zod2.default.number(),
7195
- /** How many times different values have been used with this property? */
7196
- values: _zod2.default.record(_zod2.default.number()),
7197
- /** How many times a value has not been specified? (all component usages - usages with values) */
7198
- undefinedValue: _zod2.default.number()
7199
- });
7200
- var DTOCodeComponentUsage = _zod2.default.object({
7201
- /**
7202
- * Name of the component in its package.
7203
- * `componentName` and `componentPackageName` uniquely identify a component
7204
- */
7205
- componentName: _zod2.default.string(),
7206
- /**
7207
- * Which package the component is coming from.
7208
- * `componentName` and `componentPackageName` uniquely identify a component
7209
- */
7210
- componentPackageName: _zod2.default.string(),
7211
- /** Which repository this component is used in */
7212
- usageRepositoryName: _zod2.default.string(),
7213
- /** Which package of the repository the component is used in */
7214
- usagePackageName: _zod2.default.string(),
7215
- /** How many times this component has been used in this repository? */
7216
- usages: _zod2.default.number(),
7217
- /** How many files has at least one usage of this component? */
7218
- usageFiles: _zod2.default.number(),
7219
- /** Usage data of the component's props */
7220
- props: _zod2.default.record(DTOCodeComponentPropUsage),
7221
- /** Timestamp of the scan that has shapshotted this data */
7222
- scanTimestamp: _zod2.default.string()
7223
- });
7224
- var DTOCodeComponentUsageResponse = _zod2.default.object({
7225
- componentUsage: DTOCodeComponentUsage.array()
7226
- });
7227
-
7228
7228
  // src/api/dto/design-systems/code-history.ts
7229
7229
 
7230
7230
  var DTOCodeHistoryRepositoryFilter = _zod2.default.object({
@@ -8465,6 +8465,15 @@ var DTOUserDesignSystemsResponse = _zod.z.object({
8465
8465
  workspaces: DTOWorkspace.array()
8466
8466
  });
8467
8467
 
8468
+ // src/api/dto/design-systems/version-room.ts
8469
+
8470
+ var DTODesignSystemVersionRoom = _zod.z.object({
8471
+ id: _zod.z.string()
8472
+ });
8473
+ var DTODesignSystemVersionRoomResponse = _zod.z.object({
8474
+ room: DTODesignSystemVersionRoom
8475
+ });
8476
+
8468
8477
  // src/api/dto/design-systems/version.ts
8469
8478
 
8470
8479
 
@@ -8863,15 +8872,6 @@ var DTODesignSystemVersionJobStatusResponse = _zod.z.object({
8863
8872
  job: VersionCreationJob
8864
8873
  });
8865
8874
 
8866
- // src/api/dto/design-systems/version-room.ts
8867
-
8868
- var DTODesignSystemVersionRoom = _zod.z.object({
8869
- id: _zod.z.string()
8870
- });
8871
- var DTODesignSystemVersionRoomResponse = _zod.z.object({
8872
- room: DTODesignSystemVersionRoom
8873
- });
8874
-
8875
8875
  // src/api/dto/design-systems/view.ts
8876
8876
 
8877
8877
  var DTOElementViewColumnSharedAttributes = _zod.z.object({
@@ -10724,8 +10724,8 @@ var DTOForgeFeatureRoomResponse = _zod.z.object({
10724
10724
  // src/api/dto/forge/figma-node.ts
10725
10725
 
10726
10726
  var DTOForgeFigmaNodeState = _zod2.default.enum(["Optimizing", "Success", "Failed"]);
10727
- var DTOForgeFigmaNodeConversionVersion = _zod2.default.enum(["V1", "V2", "V3", "V4", "V5", "V6", "V7"]);
10728
- var ForgeFigmaNodeLatestVersion = DTOForgeFigmaNodeConversionVersion.enum.V7;
10727
+ var DTOForgeFigmaNodeConversionVersion = _zod2.default.enum(["V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8"]);
10728
+ var ForgeFigmaNodeLatestVersion = DTOForgeFigmaNodeConversionVersion.enum.V8;
10729
10729
  var DTOForgeFigmaNodeOrigin = _zod2.default.object({
10730
10730
  /**
10731
10731
  * Figma file ID that was passed into the create request as a part of the Figma node URL