@supernova-studio/model 1.48.19 → 1.48.20
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 +36 -2
- package/dist/index.d.ts +36 -2
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -4436,6 +4436,7 @@ declare const DesignSystemDump: z$1.ZodObject<{
|
|
|
4436
4436
|
approvalRequiredForPublishing: z$1.ZodBoolean;
|
|
4437
4437
|
accessMode: z$1.ZodEnum<["Open", "InviteOnly"]>;
|
|
4438
4438
|
membersGenerated: z$1.ZodBoolean;
|
|
4439
|
+
sharedDraftId: z$1.ZodOptional<z$1.ZodString>;
|
|
4439
4440
|
createdAt: z$1.ZodDate;
|
|
4440
4441
|
updatedAt: z$1.ZodDate;
|
|
4441
4442
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -4460,6 +4461,7 @@ declare const DesignSystemDump: z$1.ZodObject<{
|
|
|
4460
4461
|
isEnabled: boolean;
|
|
4461
4462
|
designSystemIds: string[];
|
|
4462
4463
|
} | undefined;
|
|
4464
|
+
sharedDraftId?: string | undefined;
|
|
4463
4465
|
}, {
|
|
4464
4466
|
id: string;
|
|
4465
4467
|
name: string;
|
|
@@ -4482,6 +4484,7 @@ declare const DesignSystemDump: z$1.ZodObject<{
|
|
|
4482
4484
|
isEnabled: boolean;
|
|
4483
4485
|
designSystemIds: string[];
|
|
4484
4486
|
} | null | undefined;
|
|
4487
|
+
sharedDraftId?: string | undefined;
|
|
4485
4488
|
}>;
|
|
4486
4489
|
dataSources: z$1.ZodArray<z$1.ZodObject<{
|
|
4487
4490
|
id: z$1.ZodString;
|
|
@@ -7676,6 +7679,7 @@ declare const DesignSystemDump: z$1.ZodObject<{
|
|
|
7676
7679
|
isEnabled: boolean;
|
|
7677
7680
|
designSystemIds: string[];
|
|
7678
7681
|
} | undefined;
|
|
7682
|
+
sharedDraftId?: string | undefined;
|
|
7679
7683
|
};
|
|
7680
7684
|
dataSources: {
|
|
7681
7685
|
id: string;
|
|
@@ -8127,6 +8131,7 @@ declare const DesignSystemDump: z$1.ZodObject<{
|
|
|
8127
8131
|
isEnabled: boolean;
|
|
8128
8132
|
designSystemIds: string[];
|
|
8129
8133
|
} | null | undefined;
|
|
8134
|
+
sharedDraftId?: string | undefined;
|
|
8130
8135
|
};
|
|
8131
8136
|
dataSources: {
|
|
8132
8137
|
id: string;
|
|
@@ -12642,6 +12647,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
12642
12647
|
approvalRequiredForPublishing: z$1.ZodBoolean;
|
|
12643
12648
|
accessMode: z$1.ZodEnum<["Open", "InviteOnly"]>;
|
|
12644
12649
|
membersGenerated: z$1.ZodBoolean;
|
|
12650
|
+
sharedDraftId: z$1.ZodOptional<z$1.ZodString>;
|
|
12645
12651
|
createdAt: z$1.ZodDate;
|
|
12646
12652
|
updatedAt: z$1.ZodDate;
|
|
12647
12653
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -12666,6 +12672,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
12666
12672
|
isEnabled: boolean;
|
|
12667
12673
|
designSystemIds: string[];
|
|
12668
12674
|
} | undefined;
|
|
12675
|
+
sharedDraftId?: string | undefined;
|
|
12669
12676
|
}, {
|
|
12670
12677
|
id: string;
|
|
12671
12678
|
name: string;
|
|
@@ -12688,6 +12695,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
12688
12695
|
isEnabled: boolean;
|
|
12689
12696
|
designSystemIds: string[];
|
|
12690
12697
|
} | null | undefined;
|
|
12698
|
+
sharedDraftId?: string | undefined;
|
|
12691
12699
|
}>;
|
|
12692
12700
|
dataSources: z$1.ZodArray<z$1.ZodObject<{
|
|
12693
12701
|
id: z$1.ZodString;
|
|
@@ -15882,6 +15890,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
15882
15890
|
isEnabled: boolean;
|
|
15883
15891
|
designSystemIds: string[];
|
|
15884
15892
|
} | undefined;
|
|
15893
|
+
sharedDraftId?: string | undefined;
|
|
15885
15894
|
};
|
|
15886
15895
|
dataSources: {
|
|
15887
15896
|
id: string;
|
|
@@ -16333,6 +16342,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
16333
16342
|
isEnabled: boolean;
|
|
16334
16343
|
designSystemIds: string[];
|
|
16335
16344
|
} | null | undefined;
|
|
16345
|
+
sharedDraftId?: string | undefined;
|
|
16336
16346
|
};
|
|
16337
16347
|
dataSources: {
|
|
16338
16348
|
id: string;
|
|
@@ -19582,6 +19592,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
19582
19592
|
isEnabled: boolean;
|
|
19583
19593
|
designSystemIds: string[];
|
|
19584
19594
|
} | undefined;
|
|
19595
|
+
sharedDraftId?: string | undefined;
|
|
19585
19596
|
};
|
|
19586
19597
|
dataSources: {
|
|
19587
19598
|
id: string;
|
|
@@ -20482,6 +20493,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
20482
20493
|
isEnabled: boolean;
|
|
20483
20494
|
designSystemIds: string[];
|
|
20484
20495
|
} | null | undefined;
|
|
20496
|
+
sharedDraftId?: string | undefined;
|
|
20485
20497
|
};
|
|
20486
20498
|
dataSources: {
|
|
20487
20499
|
id: string;
|
|
@@ -21384,6 +21396,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
21384
21396
|
isEnabled: boolean;
|
|
21385
21397
|
designSystemIds: string[];
|
|
21386
21398
|
} | undefined;
|
|
21399
|
+
sharedDraftId?: string | undefined;
|
|
21387
21400
|
};
|
|
21388
21401
|
dataSources: {
|
|
21389
21402
|
id: string;
|
|
@@ -22329,6 +22342,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
22329
22342
|
isEnabled: boolean;
|
|
22330
22343
|
designSystemIds: string[];
|
|
22331
22344
|
} | null | undefined;
|
|
22345
|
+
sharedDraftId?: string | undefined;
|
|
22332
22346
|
};
|
|
22333
22347
|
dataSources: {
|
|
22334
22348
|
id: string;
|
|
@@ -23760,6 +23774,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
23760
23774
|
approvalRequiredForPublishing: z$1.ZodBoolean;
|
|
23761
23775
|
accessMode: z$1.ZodEnum<["Open", "InviteOnly"]>;
|
|
23762
23776
|
membersGenerated: z$1.ZodBoolean;
|
|
23777
|
+
sharedDraftId: z$1.ZodOptional<z$1.ZodString>;
|
|
23763
23778
|
createdAt: z$1.ZodDate;
|
|
23764
23779
|
updatedAt: z$1.ZodDate;
|
|
23765
23780
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -23784,6 +23799,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
23784
23799
|
isEnabled: boolean;
|
|
23785
23800
|
designSystemIds: string[];
|
|
23786
23801
|
} | undefined;
|
|
23802
|
+
sharedDraftId?: string | undefined;
|
|
23787
23803
|
}, {
|
|
23788
23804
|
id: string;
|
|
23789
23805
|
name: string;
|
|
@@ -23806,6 +23822,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
23806
23822
|
isEnabled: boolean;
|
|
23807
23823
|
designSystemIds: string[];
|
|
23808
23824
|
} | null | undefined;
|
|
23825
|
+
sharedDraftId?: string | undefined;
|
|
23809
23826
|
}>;
|
|
23810
23827
|
dataSources: z$1.ZodArray<z$1.ZodObject<{
|
|
23811
23828
|
id: z$1.ZodString;
|
|
@@ -27000,6 +27017,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
27000
27017
|
isEnabled: boolean;
|
|
27001
27018
|
designSystemIds: string[];
|
|
27002
27019
|
} | undefined;
|
|
27020
|
+
sharedDraftId?: string | undefined;
|
|
27003
27021
|
};
|
|
27004
27022
|
dataSources: {
|
|
27005
27023
|
id: string;
|
|
@@ -27451,6 +27469,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
27451
27469
|
isEnabled: boolean;
|
|
27452
27470
|
designSystemIds: string[];
|
|
27453
27471
|
} | null | undefined;
|
|
27472
|
+
sharedDraftId?: string | undefined;
|
|
27454
27473
|
};
|
|
27455
27474
|
dataSources: {
|
|
27456
27475
|
id: string;
|
|
@@ -30700,6 +30719,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
30700
30719
|
isEnabled: boolean;
|
|
30701
30720
|
designSystemIds: string[];
|
|
30702
30721
|
} | undefined;
|
|
30722
|
+
sharedDraftId?: string | undefined;
|
|
30703
30723
|
};
|
|
30704
30724
|
dataSources: {
|
|
30705
30725
|
id: string;
|
|
@@ -31600,6 +31620,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
31600
31620
|
isEnabled: boolean;
|
|
31601
31621
|
designSystemIds: string[];
|
|
31602
31622
|
} | null | undefined;
|
|
31623
|
+
sharedDraftId?: string | undefined;
|
|
31603
31624
|
};
|
|
31604
31625
|
dataSources: {
|
|
31605
31626
|
id: string;
|
|
@@ -140593,6 +140614,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
|
|
|
140593
140614
|
approvalRequiredForPublishing: z$1.ZodBoolean;
|
|
140594
140615
|
accessMode: z$1.ZodEnum<["Open", "InviteOnly"]>;
|
|
140595
140616
|
membersGenerated: z$1.ZodBoolean;
|
|
140617
|
+
sharedDraftId: z$1.ZodOptional<z$1.ZodString>;
|
|
140596
140618
|
createdAt: z$1.ZodDate;
|
|
140597
140619
|
updatedAt: z$1.ZodDate;
|
|
140598
140620
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -140617,6 +140639,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
|
|
|
140617
140639
|
isEnabled: boolean;
|
|
140618
140640
|
designSystemIds: string[];
|
|
140619
140641
|
} | undefined;
|
|
140642
|
+
sharedDraftId?: string | undefined;
|
|
140620
140643
|
}, {
|
|
140621
140644
|
id: string;
|
|
140622
140645
|
name: string;
|
|
@@ -140639,6 +140662,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
|
|
|
140639
140662
|
isEnabled: boolean;
|
|
140640
140663
|
designSystemIds: string[];
|
|
140641
140664
|
} | null | undefined;
|
|
140665
|
+
sharedDraftId?: string | undefined;
|
|
140642
140666
|
}>, "many">;
|
|
140643
140667
|
}, "strip", z$1.ZodTypeAny, {
|
|
140644
140668
|
workspace: {
|
|
@@ -140770,6 +140794,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
|
|
|
140770
140794
|
isEnabled: boolean;
|
|
140771
140795
|
designSystemIds: string[];
|
|
140772
140796
|
} | undefined;
|
|
140797
|
+
sharedDraftId?: string | undefined;
|
|
140773
140798
|
}[];
|
|
140774
140799
|
}, {
|
|
140775
140800
|
workspace: {
|
|
@@ -140901,6 +140926,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
|
|
|
140901
140926
|
isEnabled: boolean;
|
|
140902
140927
|
designSystemIds: string[];
|
|
140903
140928
|
} | null | undefined;
|
|
140929
|
+
sharedDraftId?: string | undefined;
|
|
140904
140930
|
}[];
|
|
140905
140931
|
}>;
|
|
140906
140932
|
type WorkspaceWithDesignSystems = z$1.infer<typeof WorkspaceWithDesignSystems>;
|
|
@@ -141784,6 +141810,7 @@ declare const DesignSystem: z$1.ZodObject<{
|
|
|
141784
141810
|
approvalRequiredForPublishing: z$1.ZodBoolean;
|
|
141785
141811
|
accessMode: z$1.ZodEnum<["Open", "InviteOnly"]>;
|
|
141786
141812
|
membersGenerated: z$1.ZodBoolean;
|
|
141813
|
+
sharedDraftId: z$1.ZodOptional<z$1.ZodString>;
|
|
141787
141814
|
createdAt: z$1.ZodDate;
|
|
141788
141815
|
updatedAt: z$1.ZodDate;
|
|
141789
141816
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -141808,6 +141835,7 @@ declare const DesignSystem: z$1.ZodObject<{
|
|
|
141808
141835
|
isEnabled: boolean;
|
|
141809
141836
|
designSystemIds: string[];
|
|
141810
141837
|
} | undefined;
|
|
141838
|
+
sharedDraftId?: string | undefined;
|
|
141811
141839
|
}, {
|
|
141812
141840
|
id: string;
|
|
141813
141841
|
name: string;
|
|
@@ -141830,10 +141858,11 @@ declare const DesignSystem: z$1.ZodObject<{
|
|
|
141830
141858
|
isEnabled: boolean;
|
|
141831
141859
|
designSystemIds: string[];
|
|
141832
141860
|
} | null | undefined;
|
|
141861
|
+
sharedDraftId?: string | undefined;
|
|
141833
141862
|
}>;
|
|
141834
141863
|
type DesignSystem = z$1.infer<typeof DesignSystem>;
|
|
141835
|
-
type CreateDesignSystem = DbCreateInputOmit<DesignSystem>;
|
|
141836
|
-
type UpdateDesignSystem = OmitStrict<DbUpdate<DesignSystem>, "workspaceId" | "docSlug" | "docSlugDeprecated">;
|
|
141864
|
+
type CreateDesignSystem = OmitStrict<DbCreateInputOmit<DesignSystem>, "sharedDraftId">;
|
|
141865
|
+
type UpdateDesignSystem = OmitStrict<DbUpdate<DesignSystem>, "workspaceId" | "docSlug" | "docSlugDeprecated" | "sharedDraftId">;
|
|
141837
141866
|
|
|
141838
141867
|
declare const ExporterPropertyImageValue: z$1.ZodObject<{
|
|
141839
141868
|
asset: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -144838,6 +144867,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
144838
144867
|
approvalRequiredForPublishing: z$1.ZodBoolean;
|
|
144839
144868
|
accessMode: z$1.ZodEnum<["Open", "InviteOnly"]>;
|
|
144840
144869
|
membersGenerated: z$1.ZodBoolean;
|
|
144870
|
+
sharedDraftId: z$1.ZodOptional<z$1.ZodString>;
|
|
144841
144871
|
createdAt: z$1.ZodDate;
|
|
144842
144872
|
updatedAt: z$1.ZodDate;
|
|
144843
144873
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -144862,6 +144892,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
144862
144892
|
isEnabled: boolean;
|
|
144863
144893
|
designSystemIds: string[];
|
|
144864
144894
|
} | undefined;
|
|
144895
|
+
sharedDraftId?: string | undefined;
|
|
144865
144896
|
}, {
|
|
144866
144897
|
id: string;
|
|
144867
144898
|
name: string;
|
|
@@ -144884,6 +144915,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
144884
144915
|
isEnabled: boolean;
|
|
144885
144916
|
designSystemIds: string[];
|
|
144886
144917
|
} | null | undefined;
|
|
144918
|
+
sharedDraftId?: string | undefined;
|
|
144887
144919
|
}>;
|
|
144888
144920
|
invitedBy: z$1.ZodObject<{
|
|
144889
144921
|
id: z$1.ZodString;
|
|
@@ -145387,6 +145419,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
145387
145419
|
isEnabled: boolean;
|
|
145388
145420
|
designSystemIds: string[];
|
|
145389
145421
|
} | undefined;
|
|
145422
|
+
sharedDraftId?: string | undefined;
|
|
145390
145423
|
};
|
|
145391
145424
|
documentationDomain?: string | undefined;
|
|
145392
145425
|
}, {
|
|
@@ -145569,6 +145602,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
145569
145602
|
isEnabled: boolean;
|
|
145570
145603
|
designSystemIds: string[];
|
|
145571
145604
|
} | null | undefined;
|
|
145605
|
+
sharedDraftId?: string | undefined;
|
|
145572
145606
|
};
|
|
145573
145607
|
documentationDomain?: string | undefined;
|
|
145574
145608
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -4436,6 +4436,7 @@ declare const DesignSystemDump: z$1.ZodObject<{
|
|
|
4436
4436
|
approvalRequiredForPublishing: z$1.ZodBoolean;
|
|
4437
4437
|
accessMode: z$1.ZodEnum<["Open", "InviteOnly"]>;
|
|
4438
4438
|
membersGenerated: z$1.ZodBoolean;
|
|
4439
|
+
sharedDraftId: z$1.ZodOptional<z$1.ZodString>;
|
|
4439
4440
|
createdAt: z$1.ZodDate;
|
|
4440
4441
|
updatedAt: z$1.ZodDate;
|
|
4441
4442
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -4460,6 +4461,7 @@ declare const DesignSystemDump: z$1.ZodObject<{
|
|
|
4460
4461
|
isEnabled: boolean;
|
|
4461
4462
|
designSystemIds: string[];
|
|
4462
4463
|
} | undefined;
|
|
4464
|
+
sharedDraftId?: string | undefined;
|
|
4463
4465
|
}, {
|
|
4464
4466
|
id: string;
|
|
4465
4467
|
name: string;
|
|
@@ -4482,6 +4484,7 @@ declare const DesignSystemDump: z$1.ZodObject<{
|
|
|
4482
4484
|
isEnabled: boolean;
|
|
4483
4485
|
designSystemIds: string[];
|
|
4484
4486
|
} | null | undefined;
|
|
4487
|
+
sharedDraftId?: string | undefined;
|
|
4485
4488
|
}>;
|
|
4486
4489
|
dataSources: z$1.ZodArray<z$1.ZodObject<{
|
|
4487
4490
|
id: z$1.ZodString;
|
|
@@ -7676,6 +7679,7 @@ declare const DesignSystemDump: z$1.ZodObject<{
|
|
|
7676
7679
|
isEnabled: boolean;
|
|
7677
7680
|
designSystemIds: string[];
|
|
7678
7681
|
} | undefined;
|
|
7682
|
+
sharedDraftId?: string | undefined;
|
|
7679
7683
|
};
|
|
7680
7684
|
dataSources: {
|
|
7681
7685
|
id: string;
|
|
@@ -8127,6 +8131,7 @@ declare const DesignSystemDump: z$1.ZodObject<{
|
|
|
8127
8131
|
isEnabled: boolean;
|
|
8128
8132
|
designSystemIds: string[];
|
|
8129
8133
|
} | null | undefined;
|
|
8134
|
+
sharedDraftId?: string | undefined;
|
|
8130
8135
|
};
|
|
8131
8136
|
dataSources: {
|
|
8132
8137
|
id: string;
|
|
@@ -12642,6 +12647,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
12642
12647
|
approvalRequiredForPublishing: z$1.ZodBoolean;
|
|
12643
12648
|
accessMode: z$1.ZodEnum<["Open", "InviteOnly"]>;
|
|
12644
12649
|
membersGenerated: z$1.ZodBoolean;
|
|
12650
|
+
sharedDraftId: z$1.ZodOptional<z$1.ZodString>;
|
|
12645
12651
|
createdAt: z$1.ZodDate;
|
|
12646
12652
|
updatedAt: z$1.ZodDate;
|
|
12647
12653
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -12666,6 +12672,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
12666
12672
|
isEnabled: boolean;
|
|
12667
12673
|
designSystemIds: string[];
|
|
12668
12674
|
} | undefined;
|
|
12675
|
+
sharedDraftId?: string | undefined;
|
|
12669
12676
|
}, {
|
|
12670
12677
|
id: string;
|
|
12671
12678
|
name: string;
|
|
@@ -12688,6 +12695,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
12688
12695
|
isEnabled: boolean;
|
|
12689
12696
|
designSystemIds: string[];
|
|
12690
12697
|
} | null | undefined;
|
|
12698
|
+
sharedDraftId?: string | undefined;
|
|
12691
12699
|
}>;
|
|
12692
12700
|
dataSources: z$1.ZodArray<z$1.ZodObject<{
|
|
12693
12701
|
id: z$1.ZodString;
|
|
@@ -15882,6 +15890,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
15882
15890
|
isEnabled: boolean;
|
|
15883
15891
|
designSystemIds: string[];
|
|
15884
15892
|
} | undefined;
|
|
15893
|
+
sharedDraftId?: string | undefined;
|
|
15885
15894
|
};
|
|
15886
15895
|
dataSources: {
|
|
15887
15896
|
id: string;
|
|
@@ -16333,6 +16342,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
16333
16342
|
isEnabled: boolean;
|
|
16334
16343
|
designSystemIds: string[];
|
|
16335
16344
|
} | null | undefined;
|
|
16345
|
+
sharedDraftId?: string | undefined;
|
|
16336
16346
|
};
|
|
16337
16347
|
dataSources: {
|
|
16338
16348
|
id: string;
|
|
@@ -19582,6 +19592,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
19582
19592
|
isEnabled: boolean;
|
|
19583
19593
|
designSystemIds: string[];
|
|
19584
19594
|
} | undefined;
|
|
19595
|
+
sharedDraftId?: string | undefined;
|
|
19585
19596
|
};
|
|
19586
19597
|
dataSources: {
|
|
19587
19598
|
id: string;
|
|
@@ -20482,6 +20493,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
20482
20493
|
isEnabled: boolean;
|
|
20483
20494
|
designSystemIds: string[];
|
|
20484
20495
|
} | null | undefined;
|
|
20496
|
+
sharedDraftId?: string | undefined;
|
|
20485
20497
|
};
|
|
20486
20498
|
dataSources: {
|
|
20487
20499
|
id: string;
|
|
@@ -21384,6 +21396,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
21384
21396
|
isEnabled: boolean;
|
|
21385
21397
|
designSystemIds: string[];
|
|
21386
21398
|
} | undefined;
|
|
21399
|
+
sharedDraftId?: string | undefined;
|
|
21387
21400
|
};
|
|
21388
21401
|
dataSources: {
|
|
21389
21402
|
id: string;
|
|
@@ -22329,6 +22342,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
22329
22342
|
isEnabled: boolean;
|
|
22330
22343
|
designSystemIds: string[];
|
|
22331
22344
|
} | null | undefined;
|
|
22345
|
+
sharedDraftId?: string | undefined;
|
|
22332
22346
|
};
|
|
22333
22347
|
dataSources: {
|
|
22334
22348
|
id: string;
|
|
@@ -23760,6 +23774,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
23760
23774
|
approvalRequiredForPublishing: z$1.ZodBoolean;
|
|
23761
23775
|
accessMode: z$1.ZodEnum<["Open", "InviteOnly"]>;
|
|
23762
23776
|
membersGenerated: z$1.ZodBoolean;
|
|
23777
|
+
sharedDraftId: z$1.ZodOptional<z$1.ZodString>;
|
|
23763
23778
|
createdAt: z$1.ZodDate;
|
|
23764
23779
|
updatedAt: z$1.ZodDate;
|
|
23765
23780
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -23784,6 +23799,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
23784
23799
|
isEnabled: boolean;
|
|
23785
23800
|
designSystemIds: string[];
|
|
23786
23801
|
} | undefined;
|
|
23802
|
+
sharedDraftId?: string | undefined;
|
|
23787
23803
|
}, {
|
|
23788
23804
|
id: string;
|
|
23789
23805
|
name: string;
|
|
@@ -23806,6 +23822,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
23806
23822
|
isEnabled: boolean;
|
|
23807
23823
|
designSystemIds: string[];
|
|
23808
23824
|
} | null | undefined;
|
|
23825
|
+
sharedDraftId?: string | undefined;
|
|
23809
23826
|
}>;
|
|
23810
23827
|
dataSources: z$1.ZodArray<z$1.ZodObject<{
|
|
23811
23828
|
id: z$1.ZodString;
|
|
@@ -27000,6 +27017,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
27000
27017
|
isEnabled: boolean;
|
|
27001
27018
|
designSystemIds: string[];
|
|
27002
27019
|
} | undefined;
|
|
27020
|
+
sharedDraftId?: string | undefined;
|
|
27003
27021
|
};
|
|
27004
27022
|
dataSources: {
|
|
27005
27023
|
id: string;
|
|
@@ -27451,6 +27469,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
27451
27469
|
isEnabled: boolean;
|
|
27452
27470
|
designSystemIds: string[];
|
|
27453
27471
|
} | null | undefined;
|
|
27472
|
+
sharedDraftId?: string | undefined;
|
|
27454
27473
|
};
|
|
27455
27474
|
dataSources: {
|
|
27456
27475
|
id: string;
|
|
@@ -30700,6 +30719,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
30700
30719
|
isEnabled: boolean;
|
|
30701
30720
|
designSystemIds: string[];
|
|
30702
30721
|
} | undefined;
|
|
30722
|
+
sharedDraftId?: string | undefined;
|
|
30703
30723
|
};
|
|
30704
30724
|
dataSources: {
|
|
30705
30725
|
id: string;
|
|
@@ -31600,6 +31620,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
31600
31620
|
isEnabled: boolean;
|
|
31601
31621
|
designSystemIds: string[];
|
|
31602
31622
|
} | null | undefined;
|
|
31623
|
+
sharedDraftId?: string | undefined;
|
|
31603
31624
|
};
|
|
31604
31625
|
dataSources: {
|
|
31605
31626
|
id: string;
|
|
@@ -140593,6 +140614,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
|
|
|
140593
140614
|
approvalRequiredForPublishing: z$1.ZodBoolean;
|
|
140594
140615
|
accessMode: z$1.ZodEnum<["Open", "InviteOnly"]>;
|
|
140595
140616
|
membersGenerated: z$1.ZodBoolean;
|
|
140617
|
+
sharedDraftId: z$1.ZodOptional<z$1.ZodString>;
|
|
140596
140618
|
createdAt: z$1.ZodDate;
|
|
140597
140619
|
updatedAt: z$1.ZodDate;
|
|
140598
140620
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -140617,6 +140639,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
|
|
|
140617
140639
|
isEnabled: boolean;
|
|
140618
140640
|
designSystemIds: string[];
|
|
140619
140641
|
} | undefined;
|
|
140642
|
+
sharedDraftId?: string | undefined;
|
|
140620
140643
|
}, {
|
|
140621
140644
|
id: string;
|
|
140622
140645
|
name: string;
|
|
@@ -140639,6 +140662,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
|
|
|
140639
140662
|
isEnabled: boolean;
|
|
140640
140663
|
designSystemIds: string[];
|
|
140641
140664
|
} | null | undefined;
|
|
140665
|
+
sharedDraftId?: string | undefined;
|
|
140642
140666
|
}>, "many">;
|
|
140643
140667
|
}, "strip", z$1.ZodTypeAny, {
|
|
140644
140668
|
workspace: {
|
|
@@ -140770,6 +140794,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
|
|
|
140770
140794
|
isEnabled: boolean;
|
|
140771
140795
|
designSystemIds: string[];
|
|
140772
140796
|
} | undefined;
|
|
140797
|
+
sharedDraftId?: string | undefined;
|
|
140773
140798
|
}[];
|
|
140774
140799
|
}, {
|
|
140775
140800
|
workspace: {
|
|
@@ -140901,6 +140926,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
|
|
|
140901
140926
|
isEnabled: boolean;
|
|
140902
140927
|
designSystemIds: string[];
|
|
140903
140928
|
} | null | undefined;
|
|
140929
|
+
sharedDraftId?: string | undefined;
|
|
140904
140930
|
}[];
|
|
140905
140931
|
}>;
|
|
140906
140932
|
type WorkspaceWithDesignSystems = z$1.infer<typeof WorkspaceWithDesignSystems>;
|
|
@@ -141784,6 +141810,7 @@ declare const DesignSystem: z$1.ZodObject<{
|
|
|
141784
141810
|
approvalRequiredForPublishing: z$1.ZodBoolean;
|
|
141785
141811
|
accessMode: z$1.ZodEnum<["Open", "InviteOnly"]>;
|
|
141786
141812
|
membersGenerated: z$1.ZodBoolean;
|
|
141813
|
+
sharedDraftId: z$1.ZodOptional<z$1.ZodString>;
|
|
141787
141814
|
createdAt: z$1.ZodDate;
|
|
141788
141815
|
updatedAt: z$1.ZodDate;
|
|
141789
141816
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -141808,6 +141835,7 @@ declare const DesignSystem: z$1.ZodObject<{
|
|
|
141808
141835
|
isEnabled: boolean;
|
|
141809
141836
|
designSystemIds: string[];
|
|
141810
141837
|
} | undefined;
|
|
141838
|
+
sharedDraftId?: string | undefined;
|
|
141811
141839
|
}, {
|
|
141812
141840
|
id: string;
|
|
141813
141841
|
name: string;
|
|
@@ -141830,10 +141858,11 @@ declare const DesignSystem: z$1.ZodObject<{
|
|
|
141830
141858
|
isEnabled: boolean;
|
|
141831
141859
|
designSystemIds: string[];
|
|
141832
141860
|
} | null | undefined;
|
|
141861
|
+
sharedDraftId?: string | undefined;
|
|
141833
141862
|
}>;
|
|
141834
141863
|
type DesignSystem = z$1.infer<typeof DesignSystem>;
|
|
141835
|
-
type CreateDesignSystem = DbCreateInputOmit<DesignSystem>;
|
|
141836
|
-
type UpdateDesignSystem = OmitStrict<DbUpdate<DesignSystem>, "workspaceId" | "docSlug" | "docSlugDeprecated">;
|
|
141864
|
+
type CreateDesignSystem = OmitStrict<DbCreateInputOmit<DesignSystem>, "sharedDraftId">;
|
|
141865
|
+
type UpdateDesignSystem = OmitStrict<DbUpdate<DesignSystem>, "workspaceId" | "docSlug" | "docSlugDeprecated" | "sharedDraftId">;
|
|
141837
141866
|
|
|
141838
141867
|
declare const ExporterPropertyImageValue: z$1.ZodObject<{
|
|
141839
141868
|
asset: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -144838,6 +144867,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
144838
144867
|
approvalRequiredForPublishing: z$1.ZodBoolean;
|
|
144839
144868
|
accessMode: z$1.ZodEnum<["Open", "InviteOnly"]>;
|
|
144840
144869
|
membersGenerated: z$1.ZodBoolean;
|
|
144870
|
+
sharedDraftId: z$1.ZodOptional<z$1.ZodString>;
|
|
144841
144871
|
createdAt: z$1.ZodDate;
|
|
144842
144872
|
updatedAt: z$1.ZodDate;
|
|
144843
144873
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -144862,6 +144892,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
144862
144892
|
isEnabled: boolean;
|
|
144863
144893
|
designSystemIds: string[];
|
|
144864
144894
|
} | undefined;
|
|
144895
|
+
sharedDraftId?: string | undefined;
|
|
144865
144896
|
}, {
|
|
144866
144897
|
id: string;
|
|
144867
144898
|
name: string;
|
|
@@ -144884,6 +144915,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
144884
144915
|
isEnabled: boolean;
|
|
144885
144916
|
designSystemIds: string[];
|
|
144886
144917
|
} | null | undefined;
|
|
144918
|
+
sharedDraftId?: string | undefined;
|
|
144887
144919
|
}>;
|
|
144888
144920
|
invitedBy: z$1.ZodObject<{
|
|
144889
144921
|
id: z$1.ZodString;
|
|
@@ -145387,6 +145419,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
145387
145419
|
isEnabled: boolean;
|
|
145388
145420
|
designSystemIds: string[];
|
|
145389
145421
|
} | undefined;
|
|
145422
|
+
sharedDraftId?: string | undefined;
|
|
145390
145423
|
};
|
|
145391
145424
|
documentationDomain?: string | undefined;
|
|
145392
145425
|
}, {
|
|
@@ -145569,6 +145602,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
145569
145602
|
isEnabled: boolean;
|
|
145570
145603
|
designSystemIds: string[];
|
|
145571
145604
|
} | null | undefined;
|
|
145605
|
+
sharedDraftId?: string | undefined;
|
|
145572
145606
|
};
|
|
145573
145607
|
documentationDomain?: string | undefined;
|
|
145574
145608
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -5760,6 +5760,7 @@ var DesignSystem = _zod.z.object({
|
|
|
5760
5760
|
approvalRequiredForPublishing: _zod.z.boolean(),
|
|
5761
5761
|
accessMode: DesignSystemAccessMode,
|
|
5762
5762
|
membersGenerated: _zod.z.boolean(),
|
|
5763
|
+
sharedDraftId: _zod.z.string().optional(),
|
|
5763
5764
|
createdAt: _zod.z.coerce.date(),
|
|
5764
5765
|
updatedAt: _zod.z.coerce.date()
|
|
5765
5766
|
});
|