@supernova-studio/client 1.48.19 → 1.48.21
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 +42 -5
- package/dist/index.d.ts +42 -5
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -845,9 +845,10 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
845
845
|
approvalRequiredForPublishing: z.ZodBoolean;
|
|
846
846
|
accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
|
|
847
847
|
membersGenerated: z.ZodBoolean;
|
|
848
|
+
sharedDraftId: z.ZodOptional<z.ZodString>;
|
|
848
849
|
createdAt: z.ZodDate;
|
|
849
850
|
updatedAt: z.ZodDate;
|
|
850
|
-
}, "name" | "description" | "docExporterId"> & {
|
|
851
|
+
}, "name" | "description" | "docExporterId" | "sharedDraftId"> & {
|
|
851
852
|
meta: z.ZodObject<{
|
|
852
853
|
name: z.ZodString;
|
|
853
854
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -861,6 +862,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
861
862
|
docExporterId: z.ZodString;
|
|
862
863
|
sources: z.ZodArray<z.ZodAny, "many">;
|
|
863
864
|
isPublic: z.ZodLiteral<true>;
|
|
865
|
+
sharedDraftId: z.ZodString;
|
|
864
866
|
isAvailableToUser: z.ZodBoolean;
|
|
865
867
|
role: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
866
868
|
effectiveRole: z.ZodOptional<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
|
|
@@ -883,6 +885,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
883
885
|
approvalRequiredForPublishing: boolean;
|
|
884
886
|
accessMode: "Open" | "InviteOnly";
|
|
885
887
|
membersGenerated: boolean;
|
|
888
|
+
sharedDraftId: string;
|
|
886
889
|
isPublic: true;
|
|
887
890
|
isAvailableToUser: boolean;
|
|
888
891
|
docUserSlug?: string | undefined;
|
|
@@ -912,6 +915,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
912
915
|
approvalRequiredForPublishing: boolean;
|
|
913
916
|
accessMode: "Open" | "InviteOnly";
|
|
914
917
|
membersGenerated: boolean;
|
|
918
|
+
sharedDraftId: string;
|
|
915
919
|
isPublic: true;
|
|
916
920
|
isAvailableToUser: boolean;
|
|
917
921
|
docUserSlug?: string | null | undefined;
|
|
@@ -1023,6 +1027,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
1023
1027
|
approvalRequiredForPublishing: boolean;
|
|
1024
1028
|
accessMode: "Open" | "InviteOnly";
|
|
1025
1029
|
membersGenerated: boolean;
|
|
1030
|
+
sharedDraftId: string;
|
|
1026
1031
|
isPublic: true;
|
|
1027
1032
|
isAvailableToUser: boolean;
|
|
1028
1033
|
docUserSlug?: string | undefined;
|
|
@@ -1160,6 +1165,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
1160
1165
|
approvalRequiredForPublishing: boolean;
|
|
1161
1166
|
accessMode: "Open" | "InviteOnly";
|
|
1162
1167
|
membersGenerated: boolean;
|
|
1168
|
+
sharedDraftId: string;
|
|
1163
1169
|
isPublic: true;
|
|
1164
1170
|
isAvailableToUser: boolean;
|
|
1165
1171
|
docUserSlug?: string | null | undefined;
|
|
@@ -7151,9 +7157,10 @@ declare const DTODesignSystem: z.ZodObject<Omit<{
|
|
|
7151
7157
|
approvalRequiredForPublishing: z.ZodBoolean;
|
|
7152
7158
|
accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
|
|
7153
7159
|
membersGenerated: z.ZodBoolean;
|
|
7160
|
+
sharedDraftId: z.ZodOptional<z.ZodString>;
|
|
7154
7161
|
createdAt: z.ZodDate;
|
|
7155
7162
|
updatedAt: z.ZodDate;
|
|
7156
|
-
}, "name" | "description" | "docExporterId"> & {
|
|
7163
|
+
}, "name" | "description" | "docExporterId" | "sharedDraftId"> & {
|
|
7157
7164
|
meta: z.ZodObject<{
|
|
7158
7165
|
name: z.ZodString;
|
|
7159
7166
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -7167,6 +7174,7 @@ declare const DTODesignSystem: z.ZodObject<Omit<{
|
|
|
7167
7174
|
docExporterId: z.ZodString;
|
|
7168
7175
|
sources: z.ZodArray<z.ZodAny, "many">;
|
|
7169
7176
|
isPublic: z.ZodLiteral<true>;
|
|
7177
|
+
sharedDraftId: z.ZodString;
|
|
7170
7178
|
/**
|
|
7171
7179
|
* Whether or not user who is requesting the design system
|
|
7172
7180
|
* has access to the design system's contents.
|
|
@@ -7200,6 +7208,7 @@ declare const DTODesignSystem: z.ZodObject<Omit<{
|
|
|
7200
7208
|
approvalRequiredForPublishing: boolean;
|
|
7201
7209
|
accessMode: "Open" | "InviteOnly";
|
|
7202
7210
|
membersGenerated: boolean;
|
|
7211
|
+
sharedDraftId: string;
|
|
7203
7212
|
isPublic: true;
|
|
7204
7213
|
isAvailableToUser: boolean;
|
|
7205
7214
|
docUserSlug?: string | undefined;
|
|
@@ -7229,6 +7238,7 @@ declare const DTODesignSystem: z.ZodObject<Omit<{
|
|
|
7229
7238
|
approvalRequiredForPublishing: boolean;
|
|
7230
7239
|
accessMode: "Open" | "InviteOnly";
|
|
7231
7240
|
membersGenerated: boolean;
|
|
7241
|
+
sharedDraftId: string;
|
|
7232
7242
|
isPublic: true;
|
|
7233
7243
|
isAvailableToUser: boolean;
|
|
7234
7244
|
docUserSlug?: string | null | undefined;
|
|
@@ -7271,9 +7281,10 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7271
7281
|
approvalRequiredForPublishing: z.ZodBoolean;
|
|
7272
7282
|
accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
|
|
7273
7283
|
membersGenerated: z.ZodBoolean;
|
|
7284
|
+
sharedDraftId: z.ZodOptional<z.ZodString>;
|
|
7274
7285
|
createdAt: z.ZodDate;
|
|
7275
7286
|
updatedAt: z.ZodDate;
|
|
7276
|
-
}, "name" | "description" | "docExporterId"> & {
|
|
7287
|
+
}, "name" | "description" | "docExporterId" | "sharedDraftId"> & {
|
|
7277
7288
|
meta: z.ZodObject<{
|
|
7278
7289
|
name: z.ZodString;
|
|
7279
7290
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -7287,6 +7298,7 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7287
7298
|
docExporterId: z.ZodString;
|
|
7288
7299
|
sources: z.ZodArray<z.ZodAny, "many">;
|
|
7289
7300
|
isPublic: z.ZodLiteral<true>;
|
|
7301
|
+
sharedDraftId: z.ZodString;
|
|
7290
7302
|
/**
|
|
7291
7303
|
* Whether or not user who is requesting the design system
|
|
7292
7304
|
* has access to the design system's contents.
|
|
@@ -7320,6 +7332,7 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7320
7332
|
approvalRequiredForPublishing: boolean;
|
|
7321
7333
|
accessMode: "Open" | "InviteOnly";
|
|
7322
7334
|
membersGenerated: boolean;
|
|
7335
|
+
sharedDraftId: string;
|
|
7323
7336
|
isPublic: true;
|
|
7324
7337
|
isAvailableToUser: boolean;
|
|
7325
7338
|
docUserSlug?: string | undefined;
|
|
@@ -7349,6 +7362,7 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7349
7362
|
approvalRequiredForPublishing: boolean;
|
|
7350
7363
|
accessMode: "Open" | "InviteOnly";
|
|
7351
7364
|
membersGenerated: boolean;
|
|
7365
|
+
sharedDraftId: string;
|
|
7352
7366
|
isPublic: true;
|
|
7353
7367
|
isAvailableToUser: boolean;
|
|
7354
7368
|
docUserSlug?: string | null | undefined;
|
|
@@ -7380,6 +7394,7 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7380
7394
|
approvalRequiredForPublishing: boolean;
|
|
7381
7395
|
accessMode: "Open" | "InviteOnly";
|
|
7382
7396
|
membersGenerated: boolean;
|
|
7397
|
+
sharedDraftId: string;
|
|
7383
7398
|
isPublic: true;
|
|
7384
7399
|
isAvailableToUser: boolean;
|
|
7385
7400
|
docUserSlug?: string | undefined;
|
|
@@ -7411,6 +7426,7 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7411
7426
|
approvalRequiredForPublishing: boolean;
|
|
7412
7427
|
accessMode: "Open" | "InviteOnly";
|
|
7413
7428
|
membersGenerated: boolean;
|
|
7429
|
+
sharedDraftId: string;
|
|
7414
7430
|
isPublic: true;
|
|
7415
7431
|
isAvailableToUser: boolean;
|
|
7416
7432
|
docUserSlug?: string | null | undefined;
|
|
@@ -7454,9 +7470,10 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7454
7470
|
approvalRequiredForPublishing: z.ZodBoolean;
|
|
7455
7471
|
accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
|
|
7456
7472
|
membersGenerated: z.ZodBoolean;
|
|
7473
|
+
sharedDraftId: z.ZodOptional<z.ZodString>;
|
|
7457
7474
|
createdAt: z.ZodDate;
|
|
7458
7475
|
updatedAt: z.ZodDate;
|
|
7459
|
-
}, "name" | "description" | "docExporterId"> & {
|
|
7476
|
+
}, "name" | "description" | "docExporterId" | "sharedDraftId"> & {
|
|
7460
7477
|
meta: z.ZodObject<{
|
|
7461
7478
|
name: z.ZodString;
|
|
7462
7479
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -7470,6 +7487,7 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7470
7487
|
docExporterId: z.ZodString;
|
|
7471
7488
|
sources: z.ZodArray<z.ZodAny, "many">;
|
|
7472
7489
|
isPublic: z.ZodLiteral<true>;
|
|
7490
|
+
sharedDraftId: z.ZodString;
|
|
7473
7491
|
/**
|
|
7474
7492
|
* Whether or not user who is requesting the design system
|
|
7475
7493
|
* has access to the design system's contents.
|
|
@@ -7503,6 +7521,7 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7503
7521
|
approvalRequiredForPublishing: boolean;
|
|
7504
7522
|
accessMode: "Open" | "InviteOnly";
|
|
7505
7523
|
membersGenerated: boolean;
|
|
7524
|
+
sharedDraftId: string;
|
|
7506
7525
|
isPublic: true;
|
|
7507
7526
|
isAvailableToUser: boolean;
|
|
7508
7527
|
docUserSlug?: string | undefined;
|
|
@@ -7532,6 +7551,7 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7532
7551
|
approvalRequiredForPublishing: boolean;
|
|
7533
7552
|
accessMode: "Open" | "InviteOnly";
|
|
7534
7553
|
membersGenerated: boolean;
|
|
7554
|
+
sharedDraftId: string;
|
|
7535
7555
|
isPublic: true;
|
|
7536
7556
|
isAvailableToUser: boolean;
|
|
7537
7557
|
docUserSlug?: string | null | undefined;
|
|
@@ -7563,6 +7583,7 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7563
7583
|
approvalRequiredForPublishing: boolean;
|
|
7564
7584
|
accessMode: "Open" | "InviteOnly";
|
|
7565
7585
|
membersGenerated: boolean;
|
|
7586
|
+
sharedDraftId: string;
|
|
7566
7587
|
isPublic: true;
|
|
7567
7588
|
isAvailableToUser: boolean;
|
|
7568
7589
|
docUserSlug?: string | undefined;
|
|
@@ -7594,6 +7615,7 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7594
7615
|
approvalRequiredForPublishing: boolean;
|
|
7595
7616
|
accessMode: "Open" | "InviteOnly";
|
|
7596
7617
|
membersGenerated: boolean;
|
|
7618
|
+
sharedDraftId: string;
|
|
7597
7619
|
isPublic: true;
|
|
7598
7620
|
isAvailableToUser: boolean;
|
|
7599
7621
|
docUserSlug?: string | null | undefined;
|
|
@@ -9903,9 +9925,10 @@ declare const DTOUserDesignSystemsResponse: z.ZodObject<{
|
|
|
9903
9925
|
approvalRequiredForPublishing: z.ZodBoolean;
|
|
9904
9926
|
accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
|
|
9905
9927
|
membersGenerated: z.ZodBoolean;
|
|
9928
|
+
sharedDraftId: z.ZodOptional<z.ZodString>;
|
|
9906
9929
|
createdAt: z.ZodDate;
|
|
9907
9930
|
updatedAt: z.ZodDate;
|
|
9908
|
-
}, "name" | "description" | "docExporterId"> & {
|
|
9931
|
+
}, "name" | "description" | "docExporterId" | "sharedDraftId"> & {
|
|
9909
9932
|
meta: z.ZodObject<{
|
|
9910
9933
|
name: z.ZodString;
|
|
9911
9934
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -9919,6 +9942,7 @@ declare const DTOUserDesignSystemsResponse: z.ZodObject<{
|
|
|
9919
9942
|
docExporterId: z.ZodString;
|
|
9920
9943
|
sources: z.ZodArray<z.ZodAny, "many">;
|
|
9921
9944
|
isPublic: z.ZodLiteral<true>;
|
|
9945
|
+
sharedDraftId: z.ZodString;
|
|
9922
9946
|
isAvailableToUser: z.ZodBoolean;
|
|
9923
9947
|
role: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
9924
9948
|
effectiveRole: z.ZodOptional<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
|
|
@@ -9941,6 +9965,7 @@ declare const DTOUserDesignSystemsResponse: z.ZodObject<{
|
|
|
9941
9965
|
approvalRequiredForPublishing: boolean;
|
|
9942
9966
|
accessMode: "Open" | "InviteOnly";
|
|
9943
9967
|
membersGenerated: boolean;
|
|
9968
|
+
sharedDraftId: string;
|
|
9944
9969
|
isPublic: true;
|
|
9945
9970
|
isAvailableToUser: boolean;
|
|
9946
9971
|
docUserSlug?: string | undefined;
|
|
@@ -9970,6 +9995,7 @@ declare const DTOUserDesignSystemsResponse: z.ZodObject<{
|
|
|
9970
9995
|
approvalRequiredForPublishing: boolean;
|
|
9971
9996
|
accessMode: "Open" | "InviteOnly";
|
|
9972
9997
|
membersGenerated: boolean;
|
|
9998
|
+
sharedDraftId: string;
|
|
9973
9999
|
isPublic: true;
|
|
9974
10000
|
isAvailableToUser: boolean;
|
|
9975
10001
|
docUserSlug?: string | null | undefined;
|
|
@@ -10431,6 +10457,7 @@ declare const DTOUserDesignSystemsResponse: z.ZodObject<{
|
|
|
10431
10457
|
approvalRequiredForPublishing: boolean;
|
|
10432
10458
|
accessMode: "Open" | "InviteOnly";
|
|
10433
10459
|
membersGenerated: boolean;
|
|
10460
|
+
sharedDraftId: string;
|
|
10434
10461
|
isPublic: true;
|
|
10435
10462
|
isAvailableToUser: boolean;
|
|
10436
10463
|
docUserSlug?: string | undefined;
|
|
@@ -10540,6 +10567,7 @@ declare const DTOUserDesignSystemsResponse: z.ZodObject<{
|
|
|
10540
10567
|
approvalRequiredForPublishing: boolean;
|
|
10541
10568
|
accessMode: "Open" | "InviteOnly";
|
|
10542
10569
|
membersGenerated: boolean;
|
|
10570
|
+
sharedDraftId: string;
|
|
10543
10571
|
isPublic: true;
|
|
10544
10572
|
isAvailableToUser: boolean;
|
|
10545
10573
|
docUserSlug?: string | null | undefined;
|
|
@@ -348570,6 +348598,7 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<Omit<{
|
|
|
348570
348598
|
approvalRequiredForPublishing: z.ZodOptional<z.ZodBoolean>;
|
|
348571
348599
|
accessMode: z.ZodOptional<z.ZodEnum<["Open", "InviteOnly"]>>;
|
|
348572
348600
|
membersGenerated: z.ZodOptional<z.ZodBoolean>;
|
|
348601
|
+
sharedDraftId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
348573
348602
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
348574
348603
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
348575
348604
|
}, "id" | "createdAt" | "updatedAt" | "workspaceId" | "docSlug" | "docViewUrl" | "accessMode"> & {
|
|
@@ -348602,6 +348631,7 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<Omit<{
|
|
|
348602
348631
|
isApprovalFeatureEnabled?: boolean | undefined;
|
|
348603
348632
|
approvalRequiredForPublishing?: boolean | undefined;
|
|
348604
348633
|
membersGenerated?: boolean | undefined;
|
|
348634
|
+
sharedDraftId?: string | undefined;
|
|
348605
348635
|
}, {
|
|
348606
348636
|
name?: string | undefined;
|
|
348607
348637
|
description?: string | undefined;
|
|
@@ -348621,6 +348651,7 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<Omit<{
|
|
|
348621
348651
|
isApprovalFeatureEnabled?: boolean | undefined;
|
|
348622
348652
|
approvalRequiredForPublishing?: boolean | undefined;
|
|
348623
348653
|
membersGenerated?: boolean | undefined;
|
|
348654
|
+
sharedDraftId?: string | undefined;
|
|
348624
348655
|
}>;
|
|
348625
348656
|
type DTODesignSystemUpdateInput = z.infer<typeof DTODesignSystemUpdateInput>;
|
|
348626
348657
|
declare const DTODesignSystemUpdateAccessModeInput: z.ZodObject<{
|
|
@@ -357554,6 +357585,7 @@ declare class DesignSystemsEndpoint {
|
|
|
357554
357585
|
approvalRequiredForPublishing: boolean;
|
|
357555
357586
|
accessMode: "Open" | "InviteOnly";
|
|
357556
357587
|
membersGenerated: boolean;
|
|
357588
|
+
sharedDraftId: string;
|
|
357557
357589
|
isPublic: true;
|
|
357558
357590
|
isAvailableToUser: boolean;
|
|
357559
357591
|
docUserSlug?: string | undefined;
|
|
@@ -357586,6 +357618,7 @@ declare class DesignSystemsEndpoint {
|
|
|
357586
357618
|
approvalRequiredForPublishing: boolean;
|
|
357587
357619
|
accessMode: "Open" | "InviteOnly";
|
|
357588
357620
|
membersGenerated: boolean;
|
|
357621
|
+
sharedDraftId: string;
|
|
357589
357622
|
isPublic: true;
|
|
357590
357623
|
isAvailableToUser: boolean;
|
|
357591
357624
|
docUserSlug?: string | undefined;
|
|
@@ -357618,6 +357651,7 @@ declare class DesignSystemsEndpoint {
|
|
|
357618
357651
|
approvalRequiredForPublishing: boolean;
|
|
357619
357652
|
accessMode: "Open" | "InviteOnly";
|
|
357620
357653
|
membersGenerated: boolean;
|
|
357654
|
+
sharedDraftId: string;
|
|
357621
357655
|
isPublic: true;
|
|
357622
357656
|
isAvailableToUser: boolean;
|
|
357623
357657
|
docUserSlug?: string | undefined;
|
|
@@ -357728,6 +357762,7 @@ declare class DesignSystemsEndpoint {
|
|
|
357728
357762
|
approvalRequiredForPublishing: boolean;
|
|
357729
357763
|
accessMode: "Open" | "InviteOnly";
|
|
357730
357764
|
membersGenerated: boolean;
|
|
357765
|
+
sharedDraftId: string;
|
|
357731
357766
|
isPublic: true;
|
|
357732
357767
|
isAvailableToUser: boolean;
|
|
357733
357768
|
docUserSlug?: string | undefined;
|
|
@@ -357761,6 +357796,7 @@ declare class DesignSystemsEndpoint {
|
|
|
357761
357796
|
approvalRequiredForPublishing: boolean;
|
|
357762
357797
|
accessMode: "Open" | "InviteOnly";
|
|
357763
357798
|
membersGenerated: boolean;
|
|
357799
|
+
sharedDraftId: string;
|
|
357764
357800
|
isPublic: true;
|
|
357765
357801
|
isAvailableToUser: boolean;
|
|
357766
357802
|
docUserSlug?: string | undefined;
|
|
@@ -357793,6 +357829,7 @@ declare class DesignSystemsEndpoint {
|
|
|
357793
357829
|
approvalRequiredForPublishing: boolean;
|
|
357794
357830
|
accessMode: "Open" | "InviteOnly";
|
|
357795
357831
|
membersGenerated: boolean;
|
|
357832
|
+
sharedDraftId: string;
|
|
357796
357833
|
isPublic: true;
|
|
357797
357834
|
isAvailableToUser: boolean;
|
|
357798
357835
|
docUserSlug?: string | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -845,9 +845,10 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
845
845
|
approvalRequiredForPublishing: z.ZodBoolean;
|
|
846
846
|
accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
|
|
847
847
|
membersGenerated: z.ZodBoolean;
|
|
848
|
+
sharedDraftId: z.ZodOptional<z.ZodString>;
|
|
848
849
|
createdAt: z.ZodDate;
|
|
849
850
|
updatedAt: z.ZodDate;
|
|
850
|
-
}, "name" | "description" | "docExporterId"> & {
|
|
851
|
+
}, "name" | "description" | "docExporterId" | "sharedDraftId"> & {
|
|
851
852
|
meta: z.ZodObject<{
|
|
852
853
|
name: z.ZodString;
|
|
853
854
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -861,6 +862,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
861
862
|
docExporterId: z.ZodString;
|
|
862
863
|
sources: z.ZodArray<z.ZodAny, "many">;
|
|
863
864
|
isPublic: z.ZodLiteral<true>;
|
|
865
|
+
sharedDraftId: z.ZodString;
|
|
864
866
|
isAvailableToUser: z.ZodBoolean;
|
|
865
867
|
role: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
866
868
|
effectiveRole: z.ZodOptional<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
|
|
@@ -883,6 +885,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
883
885
|
approvalRequiredForPublishing: boolean;
|
|
884
886
|
accessMode: "Open" | "InviteOnly";
|
|
885
887
|
membersGenerated: boolean;
|
|
888
|
+
sharedDraftId: string;
|
|
886
889
|
isPublic: true;
|
|
887
890
|
isAvailableToUser: boolean;
|
|
888
891
|
docUserSlug?: string | undefined;
|
|
@@ -912,6 +915,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
912
915
|
approvalRequiredForPublishing: boolean;
|
|
913
916
|
accessMode: "Open" | "InviteOnly";
|
|
914
917
|
membersGenerated: boolean;
|
|
918
|
+
sharedDraftId: string;
|
|
915
919
|
isPublic: true;
|
|
916
920
|
isAvailableToUser: boolean;
|
|
917
921
|
docUserSlug?: string | null | undefined;
|
|
@@ -1023,6 +1027,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
1023
1027
|
approvalRequiredForPublishing: boolean;
|
|
1024
1028
|
accessMode: "Open" | "InviteOnly";
|
|
1025
1029
|
membersGenerated: boolean;
|
|
1030
|
+
sharedDraftId: string;
|
|
1026
1031
|
isPublic: true;
|
|
1027
1032
|
isAvailableToUser: boolean;
|
|
1028
1033
|
docUserSlug?: string | undefined;
|
|
@@ -1160,6 +1165,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
1160
1165
|
approvalRequiredForPublishing: boolean;
|
|
1161
1166
|
accessMode: "Open" | "InviteOnly";
|
|
1162
1167
|
membersGenerated: boolean;
|
|
1168
|
+
sharedDraftId: string;
|
|
1163
1169
|
isPublic: true;
|
|
1164
1170
|
isAvailableToUser: boolean;
|
|
1165
1171
|
docUserSlug?: string | null | undefined;
|
|
@@ -7151,9 +7157,10 @@ declare const DTODesignSystem: z.ZodObject<Omit<{
|
|
|
7151
7157
|
approvalRequiredForPublishing: z.ZodBoolean;
|
|
7152
7158
|
accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
|
|
7153
7159
|
membersGenerated: z.ZodBoolean;
|
|
7160
|
+
sharedDraftId: z.ZodOptional<z.ZodString>;
|
|
7154
7161
|
createdAt: z.ZodDate;
|
|
7155
7162
|
updatedAt: z.ZodDate;
|
|
7156
|
-
}, "name" | "description" | "docExporterId"> & {
|
|
7163
|
+
}, "name" | "description" | "docExporterId" | "sharedDraftId"> & {
|
|
7157
7164
|
meta: z.ZodObject<{
|
|
7158
7165
|
name: z.ZodString;
|
|
7159
7166
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -7167,6 +7174,7 @@ declare const DTODesignSystem: z.ZodObject<Omit<{
|
|
|
7167
7174
|
docExporterId: z.ZodString;
|
|
7168
7175
|
sources: z.ZodArray<z.ZodAny, "many">;
|
|
7169
7176
|
isPublic: z.ZodLiteral<true>;
|
|
7177
|
+
sharedDraftId: z.ZodString;
|
|
7170
7178
|
/**
|
|
7171
7179
|
* Whether or not user who is requesting the design system
|
|
7172
7180
|
* has access to the design system's contents.
|
|
@@ -7200,6 +7208,7 @@ declare const DTODesignSystem: z.ZodObject<Omit<{
|
|
|
7200
7208
|
approvalRequiredForPublishing: boolean;
|
|
7201
7209
|
accessMode: "Open" | "InviteOnly";
|
|
7202
7210
|
membersGenerated: boolean;
|
|
7211
|
+
sharedDraftId: string;
|
|
7203
7212
|
isPublic: true;
|
|
7204
7213
|
isAvailableToUser: boolean;
|
|
7205
7214
|
docUserSlug?: string | undefined;
|
|
@@ -7229,6 +7238,7 @@ declare const DTODesignSystem: z.ZodObject<Omit<{
|
|
|
7229
7238
|
approvalRequiredForPublishing: boolean;
|
|
7230
7239
|
accessMode: "Open" | "InviteOnly";
|
|
7231
7240
|
membersGenerated: boolean;
|
|
7241
|
+
sharedDraftId: string;
|
|
7232
7242
|
isPublic: true;
|
|
7233
7243
|
isAvailableToUser: boolean;
|
|
7234
7244
|
docUserSlug?: string | null | undefined;
|
|
@@ -7271,9 +7281,10 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7271
7281
|
approvalRequiredForPublishing: z.ZodBoolean;
|
|
7272
7282
|
accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
|
|
7273
7283
|
membersGenerated: z.ZodBoolean;
|
|
7284
|
+
sharedDraftId: z.ZodOptional<z.ZodString>;
|
|
7274
7285
|
createdAt: z.ZodDate;
|
|
7275
7286
|
updatedAt: z.ZodDate;
|
|
7276
|
-
}, "name" | "description" | "docExporterId"> & {
|
|
7287
|
+
}, "name" | "description" | "docExporterId" | "sharedDraftId"> & {
|
|
7277
7288
|
meta: z.ZodObject<{
|
|
7278
7289
|
name: z.ZodString;
|
|
7279
7290
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -7287,6 +7298,7 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7287
7298
|
docExporterId: z.ZodString;
|
|
7288
7299
|
sources: z.ZodArray<z.ZodAny, "many">;
|
|
7289
7300
|
isPublic: z.ZodLiteral<true>;
|
|
7301
|
+
sharedDraftId: z.ZodString;
|
|
7290
7302
|
/**
|
|
7291
7303
|
* Whether or not user who is requesting the design system
|
|
7292
7304
|
* has access to the design system's contents.
|
|
@@ -7320,6 +7332,7 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7320
7332
|
approvalRequiredForPublishing: boolean;
|
|
7321
7333
|
accessMode: "Open" | "InviteOnly";
|
|
7322
7334
|
membersGenerated: boolean;
|
|
7335
|
+
sharedDraftId: string;
|
|
7323
7336
|
isPublic: true;
|
|
7324
7337
|
isAvailableToUser: boolean;
|
|
7325
7338
|
docUserSlug?: string | undefined;
|
|
@@ -7349,6 +7362,7 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7349
7362
|
approvalRequiredForPublishing: boolean;
|
|
7350
7363
|
accessMode: "Open" | "InviteOnly";
|
|
7351
7364
|
membersGenerated: boolean;
|
|
7365
|
+
sharedDraftId: string;
|
|
7352
7366
|
isPublic: true;
|
|
7353
7367
|
isAvailableToUser: boolean;
|
|
7354
7368
|
docUserSlug?: string | null | undefined;
|
|
@@ -7380,6 +7394,7 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7380
7394
|
approvalRequiredForPublishing: boolean;
|
|
7381
7395
|
accessMode: "Open" | "InviteOnly";
|
|
7382
7396
|
membersGenerated: boolean;
|
|
7397
|
+
sharedDraftId: string;
|
|
7383
7398
|
isPublic: true;
|
|
7384
7399
|
isAvailableToUser: boolean;
|
|
7385
7400
|
docUserSlug?: string | undefined;
|
|
@@ -7411,6 +7426,7 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7411
7426
|
approvalRequiredForPublishing: boolean;
|
|
7412
7427
|
accessMode: "Open" | "InviteOnly";
|
|
7413
7428
|
membersGenerated: boolean;
|
|
7429
|
+
sharedDraftId: string;
|
|
7414
7430
|
isPublic: true;
|
|
7415
7431
|
isAvailableToUser: boolean;
|
|
7416
7432
|
docUserSlug?: string | null | undefined;
|
|
@@ -7454,9 +7470,10 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7454
7470
|
approvalRequiredForPublishing: z.ZodBoolean;
|
|
7455
7471
|
accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
|
|
7456
7472
|
membersGenerated: z.ZodBoolean;
|
|
7473
|
+
sharedDraftId: z.ZodOptional<z.ZodString>;
|
|
7457
7474
|
createdAt: z.ZodDate;
|
|
7458
7475
|
updatedAt: z.ZodDate;
|
|
7459
|
-
}, "name" | "description" | "docExporterId"> & {
|
|
7476
|
+
}, "name" | "description" | "docExporterId" | "sharedDraftId"> & {
|
|
7460
7477
|
meta: z.ZodObject<{
|
|
7461
7478
|
name: z.ZodString;
|
|
7462
7479
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -7470,6 +7487,7 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7470
7487
|
docExporterId: z.ZodString;
|
|
7471
7488
|
sources: z.ZodArray<z.ZodAny, "many">;
|
|
7472
7489
|
isPublic: z.ZodLiteral<true>;
|
|
7490
|
+
sharedDraftId: z.ZodString;
|
|
7473
7491
|
/**
|
|
7474
7492
|
* Whether or not user who is requesting the design system
|
|
7475
7493
|
* has access to the design system's contents.
|
|
@@ -7503,6 +7521,7 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7503
7521
|
approvalRequiredForPublishing: boolean;
|
|
7504
7522
|
accessMode: "Open" | "InviteOnly";
|
|
7505
7523
|
membersGenerated: boolean;
|
|
7524
|
+
sharedDraftId: string;
|
|
7506
7525
|
isPublic: true;
|
|
7507
7526
|
isAvailableToUser: boolean;
|
|
7508
7527
|
docUserSlug?: string | undefined;
|
|
@@ -7532,6 +7551,7 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7532
7551
|
approvalRequiredForPublishing: boolean;
|
|
7533
7552
|
accessMode: "Open" | "InviteOnly";
|
|
7534
7553
|
membersGenerated: boolean;
|
|
7554
|
+
sharedDraftId: string;
|
|
7535
7555
|
isPublic: true;
|
|
7536
7556
|
isAvailableToUser: boolean;
|
|
7537
7557
|
docUserSlug?: string | null | undefined;
|
|
@@ -7563,6 +7583,7 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7563
7583
|
approvalRequiredForPublishing: boolean;
|
|
7564
7584
|
accessMode: "Open" | "InviteOnly";
|
|
7565
7585
|
membersGenerated: boolean;
|
|
7586
|
+
sharedDraftId: string;
|
|
7566
7587
|
isPublic: true;
|
|
7567
7588
|
isAvailableToUser: boolean;
|
|
7568
7589
|
docUserSlug?: string | undefined;
|
|
@@ -7594,6 +7615,7 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7594
7615
|
approvalRequiredForPublishing: boolean;
|
|
7595
7616
|
accessMode: "Open" | "InviteOnly";
|
|
7596
7617
|
membersGenerated: boolean;
|
|
7618
|
+
sharedDraftId: string;
|
|
7597
7619
|
isPublic: true;
|
|
7598
7620
|
isAvailableToUser: boolean;
|
|
7599
7621
|
docUserSlug?: string | null | undefined;
|
|
@@ -9903,9 +9925,10 @@ declare const DTOUserDesignSystemsResponse: z.ZodObject<{
|
|
|
9903
9925
|
approvalRequiredForPublishing: z.ZodBoolean;
|
|
9904
9926
|
accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
|
|
9905
9927
|
membersGenerated: z.ZodBoolean;
|
|
9928
|
+
sharedDraftId: z.ZodOptional<z.ZodString>;
|
|
9906
9929
|
createdAt: z.ZodDate;
|
|
9907
9930
|
updatedAt: z.ZodDate;
|
|
9908
|
-
}, "name" | "description" | "docExporterId"> & {
|
|
9931
|
+
}, "name" | "description" | "docExporterId" | "sharedDraftId"> & {
|
|
9909
9932
|
meta: z.ZodObject<{
|
|
9910
9933
|
name: z.ZodString;
|
|
9911
9934
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -9919,6 +9942,7 @@ declare const DTOUserDesignSystemsResponse: z.ZodObject<{
|
|
|
9919
9942
|
docExporterId: z.ZodString;
|
|
9920
9943
|
sources: z.ZodArray<z.ZodAny, "many">;
|
|
9921
9944
|
isPublic: z.ZodLiteral<true>;
|
|
9945
|
+
sharedDraftId: z.ZodString;
|
|
9922
9946
|
isAvailableToUser: z.ZodBoolean;
|
|
9923
9947
|
role: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
9924
9948
|
effectiveRole: z.ZodOptional<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
|
|
@@ -9941,6 +9965,7 @@ declare const DTOUserDesignSystemsResponse: z.ZodObject<{
|
|
|
9941
9965
|
approvalRequiredForPublishing: boolean;
|
|
9942
9966
|
accessMode: "Open" | "InviteOnly";
|
|
9943
9967
|
membersGenerated: boolean;
|
|
9968
|
+
sharedDraftId: string;
|
|
9944
9969
|
isPublic: true;
|
|
9945
9970
|
isAvailableToUser: boolean;
|
|
9946
9971
|
docUserSlug?: string | undefined;
|
|
@@ -9970,6 +9995,7 @@ declare const DTOUserDesignSystemsResponse: z.ZodObject<{
|
|
|
9970
9995
|
approvalRequiredForPublishing: boolean;
|
|
9971
9996
|
accessMode: "Open" | "InviteOnly";
|
|
9972
9997
|
membersGenerated: boolean;
|
|
9998
|
+
sharedDraftId: string;
|
|
9973
9999
|
isPublic: true;
|
|
9974
10000
|
isAvailableToUser: boolean;
|
|
9975
10001
|
docUserSlug?: string | null | undefined;
|
|
@@ -10431,6 +10457,7 @@ declare const DTOUserDesignSystemsResponse: z.ZodObject<{
|
|
|
10431
10457
|
approvalRequiredForPublishing: boolean;
|
|
10432
10458
|
accessMode: "Open" | "InviteOnly";
|
|
10433
10459
|
membersGenerated: boolean;
|
|
10460
|
+
sharedDraftId: string;
|
|
10434
10461
|
isPublic: true;
|
|
10435
10462
|
isAvailableToUser: boolean;
|
|
10436
10463
|
docUserSlug?: string | undefined;
|
|
@@ -10540,6 +10567,7 @@ declare const DTOUserDesignSystemsResponse: z.ZodObject<{
|
|
|
10540
10567
|
approvalRequiredForPublishing: boolean;
|
|
10541
10568
|
accessMode: "Open" | "InviteOnly";
|
|
10542
10569
|
membersGenerated: boolean;
|
|
10570
|
+
sharedDraftId: string;
|
|
10543
10571
|
isPublic: true;
|
|
10544
10572
|
isAvailableToUser: boolean;
|
|
10545
10573
|
docUserSlug?: string | null | undefined;
|
|
@@ -348570,6 +348598,7 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<Omit<{
|
|
|
348570
348598
|
approvalRequiredForPublishing: z.ZodOptional<z.ZodBoolean>;
|
|
348571
348599
|
accessMode: z.ZodOptional<z.ZodEnum<["Open", "InviteOnly"]>>;
|
|
348572
348600
|
membersGenerated: z.ZodOptional<z.ZodBoolean>;
|
|
348601
|
+
sharedDraftId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
348573
348602
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
348574
348603
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
348575
348604
|
}, "id" | "createdAt" | "updatedAt" | "workspaceId" | "docSlug" | "docViewUrl" | "accessMode"> & {
|
|
@@ -348602,6 +348631,7 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<Omit<{
|
|
|
348602
348631
|
isApprovalFeatureEnabled?: boolean | undefined;
|
|
348603
348632
|
approvalRequiredForPublishing?: boolean | undefined;
|
|
348604
348633
|
membersGenerated?: boolean | undefined;
|
|
348634
|
+
sharedDraftId?: string | undefined;
|
|
348605
348635
|
}, {
|
|
348606
348636
|
name?: string | undefined;
|
|
348607
348637
|
description?: string | undefined;
|
|
@@ -348621,6 +348651,7 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<Omit<{
|
|
|
348621
348651
|
isApprovalFeatureEnabled?: boolean | undefined;
|
|
348622
348652
|
approvalRequiredForPublishing?: boolean | undefined;
|
|
348623
348653
|
membersGenerated?: boolean | undefined;
|
|
348654
|
+
sharedDraftId?: string | undefined;
|
|
348624
348655
|
}>;
|
|
348625
348656
|
type DTODesignSystemUpdateInput = z.infer<typeof DTODesignSystemUpdateInput>;
|
|
348626
348657
|
declare const DTODesignSystemUpdateAccessModeInput: z.ZodObject<{
|
|
@@ -357554,6 +357585,7 @@ declare class DesignSystemsEndpoint {
|
|
|
357554
357585
|
approvalRequiredForPublishing: boolean;
|
|
357555
357586
|
accessMode: "Open" | "InviteOnly";
|
|
357556
357587
|
membersGenerated: boolean;
|
|
357588
|
+
sharedDraftId: string;
|
|
357557
357589
|
isPublic: true;
|
|
357558
357590
|
isAvailableToUser: boolean;
|
|
357559
357591
|
docUserSlug?: string | undefined;
|
|
@@ -357586,6 +357618,7 @@ declare class DesignSystemsEndpoint {
|
|
|
357586
357618
|
approvalRequiredForPublishing: boolean;
|
|
357587
357619
|
accessMode: "Open" | "InviteOnly";
|
|
357588
357620
|
membersGenerated: boolean;
|
|
357621
|
+
sharedDraftId: string;
|
|
357589
357622
|
isPublic: true;
|
|
357590
357623
|
isAvailableToUser: boolean;
|
|
357591
357624
|
docUserSlug?: string | undefined;
|
|
@@ -357618,6 +357651,7 @@ declare class DesignSystemsEndpoint {
|
|
|
357618
357651
|
approvalRequiredForPublishing: boolean;
|
|
357619
357652
|
accessMode: "Open" | "InviteOnly";
|
|
357620
357653
|
membersGenerated: boolean;
|
|
357654
|
+
sharedDraftId: string;
|
|
357621
357655
|
isPublic: true;
|
|
357622
357656
|
isAvailableToUser: boolean;
|
|
357623
357657
|
docUserSlug?: string | undefined;
|
|
@@ -357728,6 +357762,7 @@ declare class DesignSystemsEndpoint {
|
|
|
357728
357762
|
approvalRequiredForPublishing: boolean;
|
|
357729
357763
|
accessMode: "Open" | "InviteOnly";
|
|
357730
357764
|
membersGenerated: boolean;
|
|
357765
|
+
sharedDraftId: string;
|
|
357731
357766
|
isPublic: true;
|
|
357732
357767
|
isAvailableToUser: boolean;
|
|
357733
357768
|
docUserSlug?: string | undefined;
|
|
@@ -357761,6 +357796,7 @@ declare class DesignSystemsEndpoint {
|
|
|
357761
357796
|
approvalRequiredForPublishing: boolean;
|
|
357762
357797
|
accessMode: "Open" | "InviteOnly";
|
|
357763
357798
|
membersGenerated: boolean;
|
|
357799
|
+
sharedDraftId: string;
|
|
357764
357800
|
isPublic: true;
|
|
357765
357801
|
isAvailableToUser: boolean;
|
|
357766
357802
|
docUserSlug?: string | undefined;
|
|
@@ -357793,6 +357829,7 @@ declare class DesignSystemsEndpoint {
|
|
|
357793
357829
|
approvalRequiredForPublishing: boolean;
|
|
357794
357830
|
accessMode: "Open" | "InviteOnly";
|
|
357795
357831
|
membersGenerated: boolean;
|
|
357832
|
+
sharedDraftId: string;
|
|
357796
357833
|
isPublic: true;
|
|
357797
357834
|
isAvailableToUser: boolean;
|
|
357798
357835
|
docUserSlug?: string | undefined;
|
package/dist/index.js
CHANGED
|
@@ -5037,6 +5037,7 @@ var DesignSystem = _zod.z.object({
|
|
|
5037
5037
|
approvalRequiredForPublishing: _zod.z.boolean(),
|
|
5038
5038
|
accessMode: DesignSystemAccessMode,
|
|
5039
5039
|
membersGenerated: _zod.z.boolean(),
|
|
5040
|
+
sharedDraftId: _zod.z.string().optional(),
|
|
5040
5041
|
createdAt: _zod.z.coerce.date(),
|
|
5041
5042
|
updatedAt: _zod.z.coerce.date()
|
|
5042
5043
|
});
|
|
@@ -6860,12 +6861,14 @@ var DTODesignSystemMembersUpdatePayload = DesignSystemMembershipUpdates;
|
|
|
6860
6861
|
var DTODesignSystem = DesignSystem.omit({
|
|
6861
6862
|
name: true,
|
|
6862
6863
|
description: true,
|
|
6863
|
-
docExporterId: true
|
|
6864
|
+
docExporterId: true,
|
|
6865
|
+
sharedDraftId: true
|
|
6864
6866
|
}).extend({
|
|
6865
6867
|
meta: ObjectMeta,
|
|
6866
6868
|
docExporterId: _zod.z.string(),
|
|
6867
6869
|
sources: _zod.z.array(_zod.z.any()),
|
|
6868
6870
|
isPublic: _zod.z.literal(true),
|
|
6871
|
+
sharedDraftId: _zod.z.string(),
|
|
6869
6872
|
/**
|
|
6870
6873
|
* Whether or not user who is requesting the design system
|
|
6871
6874
|
* has access to the design system's contents.
|