@supernova-studio/client 0.55.14 → 0.55.16
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 +34 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/design-systems/design-system.ts +7 -0
package/dist/index.d.mts
CHANGED
|
@@ -2906,6 +2906,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
2906
2906
|
}>;
|
|
2907
2907
|
docExporterId: z.ZodString;
|
|
2908
2908
|
sources: z.ZodArray<z.ZodAny, "many">;
|
|
2909
|
+
isAvailableToUser: z.ZodBoolean;
|
|
2909
2910
|
role: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
2910
2911
|
}>, "strip", z.ZodTypeAny, {
|
|
2911
2912
|
id: string;
|
|
@@ -2927,6 +2928,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
2927
2928
|
approvalRequiredForPublishing: boolean;
|
|
2928
2929
|
accessMode: "Open" | "InviteOnly";
|
|
2929
2930
|
membersGenerated: boolean;
|
|
2931
|
+
isAvailableToUser: boolean;
|
|
2930
2932
|
docUserSlug?: string | undefined;
|
|
2931
2933
|
docViewUrl?: string | undefined;
|
|
2932
2934
|
designSystemSwitcher?: {
|
|
@@ -2954,6 +2956,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
2954
2956
|
approvalRequiredForPublishing: boolean;
|
|
2955
2957
|
accessMode: "Open" | "InviteOnly";
|
|
2956
2958
|
membersGenerated: boolean;
|
|
2959
|
+
isAvailableToUser: boolean;
|
|
2957
2960
|
docUserSlug?: string | null | undefined;
|
|
2958
2961
|
docViewUrl?: string | null | undefined;
|
|
2959
2962
|
designSystemSwitcher?: {
|
|
@@ -3063,6 +3066,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
3063
3066
|
approvalRequiredForPublishing: boolean;
|
|
3064
3067
|
accessMode: "Open" | "InviteOnly";
|
|
3065
3068
|
membersGenerated: boolean;
|
|
3069
|
+
isAvailableToUser: boolean;
|
|
3066
3070
|
docUserSlug?: string | undefined;
|
|
3067
3071
|
docViewUrl?: string | undefined;
|
|
3068
3072
|
designSystemSwitcher?: {
|
|
@@ -3297,6 +3301,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
3297
3301
|
approvalRequiredForPublishing: boolean;
|
|
3298
3302
|
accessMode: "Open" | "InviteOnly";
|
|
3299
3303
|
membersGenerated: boolean;
|
|
3304
|
+
isAvailableToUser: boolean;
|
|
3300
3305
|
docUserSlug?: string | null | undefined;
|
|
3301
3306
|
docViewUrl?: string | null | undefined;
|
|
3302
3307
|
designSystemSwitcher?: {
|
|
@@ -7241,6 +7246,11 @@ declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
7241
7246
|
}>;
|
|
7242
7247
|
docExporterId: z.ZodString;
|
|
7243
7248
|
sources: z.ZodArray<z.ZodAny, "many">;
|
|
7249
|
+
/**
|
|
7250
|
+
* Whether or not user who is requesting the design system
|
|
7251
|
+
* has access to the design system's contents.
|
|
7252
|
+
*/
|
|
7253
|
+
isAvailableToUser: z.ZodBoolean;
|
|
7244
7254
|
role: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
7245
7255
|
}>, "strip", z.ZodTypeAny, {
|
|
7246
7256
|
id: string;
|
|
@@ -7262,6 +7272,7 @@ declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
7262
7272
|
approvalRequiredForPublishing: boolean;
|
|
7263
7273
|
accessMode: "Open" | "InviteOnly";
|
|
7264
7274
|
membersGenerated: boolean;
|
|
7275
|
+
isAvailableToUser: boolean;
|
|
7265
7276
|
docUserSlug?: string | undefined;
|
|
7266
7277
|
docViewUrl?: string | undefined;
|
|
7267
7278
|
designSystemSwitcher?: {
|
|
@@ -7289,6 +7300,7 @@ declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
7289
7300
|
approvalRequiredForPublishing: boolean;
|
|
7290
7301
|
accessMode: "Open" | "InviteOnly";
|
|
7291
7302
|
membersGenerated: boolean;
|
|
7303
|
+
isAvailableToUser: boolean;
|
|
7292
7304
|
docUserSlug?: string | null | undefined;
|
|
7293
7305
|
docViewUrl?: string | null | undefined;
|
|
7294
7306
|
designSystemSwitcher?: {
|
|
@@ -7344,6 +7356,11 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7344
7356
|
}>;
|
|
7345
7357
|
docExporterId: z.ZodString;
|
|
7346
7358
|
sources: z.ZodArray<z.ZodAny, "many">;
|
|
7359
|
+
/**
|
|
7360
|
+
* Whether or not user who is requesting the design system
|
|
7361
|
+
* has access to the design system's contents.
|
|
7362
|
+
*/
|
|
7363
|
+
isAvailableToUser: z.ZodBoolean;
|
|
7347
7364
|
role: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
7348
7365
|
}>, "strip", z.ZodTypeAny, {
|
|
7349
7366
|
id: string;
|
|
@@ -7365,6 +7382,7 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7365
7382
|
approvalRequiredForPublishing: boolean;
|
|
7366
7383
|
accessMode: "Open" | "InviteOnly";
|
|
7367
7384
|
membersGenerated: boolean;
|
|
7385
|
+
isAvailableToUser: boolean;
|
|
7368
7386
|
docUserSlug?: string | undefined;
|
|
7369
7387
|
docViewUrl?: string | undefined;
|
|
7370
7388
|
designSystemSwitcher?: {
|
|
@@ -7392,6 +7410,7 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7392
7410
|
approvalRequiredForPublishing: boolean;
|
|
7393
7411
|
accessMode: "Open" | "InviteOnly";
|
|
7394
7412
|
membersGenerated: boolean;
|
|
7413
|
+
isAvailableToUser: boolean;
|
|
7395
7414
|
docUserSlug?: string | null | undefined;
|
|
7396
7415
|
docViewUrl?: string | null | undefined;
|
|
7397
7416
|
designSystemSwitcher?: {
|
|
@@ -7421,6 +7440,7 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7421
7440
|
approvalRequiredForPublishing: boolean;
|
|
7422
7441
|
accessMode: "Open" | "InviteOnly";
|
|
7423
7442
|
membersGenerated: boolean;
|
|
7443
|
+
isAvailableToUser: boolean;
|
|
7424
7444
|
docUserSlug?: string | undefined;
|
|
7425
7445
|
docViewUrl?: string | undefined;
|
|
7426
7446
|
designSystemSwitcher?: {
|
|
@@ -7450,6 +7470,7 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7450
7470
|
approvalRequiredForPublishing: boolean;
|
|
7451
7471
|
accessMode: "Open" | "InviteOnly";
|
|
7452
7472
|
membersGenerated: boolean;
|
|
7473
|
+
isAvailableToUser: boolean;
|
|
7453
7474
|
docUserSlug?: string | null | undefined;
|
|
7454
7475
|
docViewUrl?: string | null | undefined;
|
|
7455
7476
|
designSystemSwitcher?: {
|
|
@@ -7506,6 +7527,11 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7506
7527
|
}>;
|
|
7507
7528
|
docExporterId: z.ZodString;
|
|
7508
7529
|
sources: z.ZodArray<z.ZodAny, "many">;
|
|
7530
|
+
/**
|
|
7531
|
+
* Whether or not user who is requesting the design system
|
|
7532
|
+
* has access to the design system's contents.
|
|
7533
|
+
*/
|
|
7534
|
+
isAvailableToUser: z.ZodBoolean;
|
|
7509
7535
|
role: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
7510
7536
|
}>, "strip", z.ZodTypeAny, {
|
|
7511
7537
|
id: string;
|
|
@@ -7527,6 +7553,7 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7527
7553
|
approvalRequiredForPublishing: boolean;
|
|
7528
7554
|
accessMode: "Open" | "InviteOnly";
|
|
7529
7555
|
membersGenerated: boolean;
|
|
7556
|
+
isAvailableToUser: boolean;
|
|
7530
7557
|
docUserSlug?: string | undefined;
|
|
7531
7558
|
docViewUrl?: string | undefined;
|
|
7532
7559
|
designSystemSwitcher?: {
|
|
@@ -7554,6 +7581,7 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7554
7581
|
approvalRequiredForPublishing: boolean;
|
|
7555
7582
|
accessMode: "Open" | "InviteOnly";
|
|
7556
7583
|
membersGenerated: boolean;
|
|
7584
|
+
isAvailableToUser: boolean;
|
|
7557
7585
|
docUserSlug?: string | null | undefined;
|
|
7558
7586
|
docViewUrl?: string | null | undefined;
|
|
7559
7587
|
designSystemSwitcher?: {
|
|
@@ -7583,6 +7611,7 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7583
7611
|
approvalRequiredForPublishing: boolean;
|
|
7584
7612
|
accessMode: "Open" | "InviteOnly";
|
|
7585
7613
|
membersGenerated: boolean;
|
|
7614
|
+
isAvailableToUser: boolean;
|
|
7586
7615
|
docUserSlug?: string | undefined;
|
|
7587
7616
|
docViewUrl?: string | undefined;
|
|
7588
7617
|
designSystemSwitcher?: {
|
|
@@ -7612,6 +7641,7 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7612
7641
|
approvalRequiredForPublishing: boolean;
|
|
7613
7642
|
accessMode: "Open" | "InviteOnly";
|
|
7614
7643
|
membersGenerated: boolean;
|
|
7644
|
+
isAvailableToUser: boolean;
|
|
7615
7645
|
docUserSlug?: string | null | undefined;
|
|
7616
7646
|
docViewUrl?: string | null | undefined;
|
|
7617
7647
|
designSystemSwitcher?: {
|
|
@@ -47749,6 +47779,7 @@ declare class DesignSystemsEndpoint {
|
|
|
47749
47779
|
approvalRequiredForPublishing: boolean;
|
|
47750
47780
|
accessMode: "Open" | "InviteOnly";
|
|
47751
47781
|
membersGenerated: boolean;
|
|
47782
|
+
isAvailableToUser: boolean;
|
|
47752
47783
|
docUserSlug?: string | undefined;
|
|
47753
47784
|
docViewUrl?: string | undefined;
|
|
47754
47785
|
designSystemSwitcher?: {
|
|
@@ -47779,6 +47810,7 @@ declare class DesignSystemsEndpoint {
|
|
|
47779
47810
|
approvalRequiredForPublishing: boolean;
|
|
47780
47811
|
accessMode: "Open" | "InviteOnly";
|
|
47781
47812
|
membersGenerated: boolean;
|
|
47813
|
+
isAvailableToUser: boolean;
|
|
47782
47814
|
docUserSlug?: string | undefined;
|
|
47783
47815
|
docViewUrl?: string | undefined;
|
|
47784
47816
|
designSystemSwitcher?: {
|
|
@@ -47811,6 +47843,7 @@ declare class DesignSystemsEndpoint {
|
|
|
47811
47843
|
approvalRequiredForPublishing: boolean;
|
|
47812
47844
|
accessMode: "Open" | "InviteOnly";
|
|
47813
47845
|
membersGenerated: boolean;
|
|
47846
|
+
isAvailableToUser: boolean;
|
|
47814
47847
|
docUserSlug?: string | undefined;
|
|
47815
47848
|
docViewUrl?: string | undefined;
|
|
47816
47849
|
designSystemSwitcher?: {
|
|
@@ -47841,6 +47874,7 @@ declare class DesignSystemsEndpoint {
|
|
|
47841
47874
|
approvalRequiredForPublishing: boolean;
|
|
47842
47875
|
accessMode: "Open" | "InviteOnly";
|
|
47843
47876
|
membersGenerated: boolean;
|
|
47877
|
+
isAvailableToUser: boolean;
|
|
47844
47878
|
docUserSlug?: string | undefined;
|
|
47845
47879
|
docViewUrl?: string | undefined;
|
|
47846
47880
|
designSystemSwitcher?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -2906,6 +2906,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
2906
2906
|
}>;
|
|
2907
2907
|
docExporterId: z.ZodString;
|
|
2908
2908
|
sources: z.ZodArray<z.ZodAny, "many">;
|
|
2909
|
+
isAvailableToUser: z.ZodBoolean;
|
|
2909
2910
|
role: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
2910
2911
|
}>, "strip", z.ZodTypeAny, {
|
|
2911
2912
|
id: string;
|
|
@@ -2927,6 +2928,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
2927
2928
|
approvalRequiredForPublishing: boolean;
|
|
2928
2929
|
accessMode: "Open" | "InviteOnly";
|
|
2929
2930
|
membersGenerated: boolean;
|
|
2931
|
+
isAvailableToUser: boolean;
|
|
2930
2932
|
docUserSlug?: string | undefined;
|
|
2931
2933
|
docViewUrl?: string | undefined;
|
|
2932
2934
|
designSystemSwitcher?: {
|
|
@@ -2954,6 +2956,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
2954
2956
|
approvalRequiredForPublishing: boolean;
|
|
2955
2957
|
accessMode: "Open" | "InviteOnly";
|
|
2956
2958
|
membersGenerated: boolean;
|
|
2959
|
+
isAvailableToUser: boolean;
|
|
2957
2960
|
docUserSlug?: string | null | undefined;
|
|
2958
2961
|
docViewUrl?: string | null | undefined;
|
|
2959
2962
|
designSystemSwitcher?: {
|
|
@@ -3063,6 +3066,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
3063
3066
|
approvalRequiredForPublishing: boolean;
|
|
3064
3067
|
accessMode: "Open" | "InviteOnly";
|
|
3065
3068
|
membersGenerated: boolean;
|
|
3069
|
+
isAvailableToUser: boolean;
|
|
3066
3070
|
docUserSlug?: string | undefined;
|
|
3067
3071
|
docViewUrl?: string | undefined;
|
|
3068
3072
|
designSystemSwitcher?: {
|
|
@@ -3297,6 +3301,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
3297
3301
|
approvalRequiredForPublishing: boolean;
|
|
3298
3302
|
accessMode: "Open" | "InviteOnly";
|
|
3299
3303
|
membersGenerated: boolean;
|
|
3304
|
+
isAvailableToUser: boolean;
|
|
3300
3305
|
docUserSlug?: string | null | undefined;
|
|
3301
3306
|
docViewUrl?: string | null | undefined;
|
|
3302
3307
|
designSystemSwitcher?: {
|
|
@@ -7241,6 +7246,11 @@ declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
7241
7246
|
}>;
|
|
7242
7247
|
docExporterId: z.ZodString;
|
|
7243
7248
|
sources: z.ZodArray<z.ZodAny, "many">;
|
|
7249
|
+
/**
|
|
7250
|
+
* Whether or not user who is requesting the design system
|
|
7251
|
+
* has access to the design system's contents.
|
|
7252
|
+
*/
|
|
7253
|
+
isAvailableToUser: z.ZodBoolean;
|
|
7244
7254
|
role: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
7245
7255
|
}>, "strip", z.ZodTypeAny, {
|
|
7246
7256
|
id: string;
|
|
@@ -7262,6 +7272,7 @@ declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
7262
7272
|
approvalRequiredForPublishing: boolean;
|
|
7263
7273
|
accessMode: "Open" | "InviteOnly";
|
|
7264
7274
|
membersGenerated: boolean;
|
|
7275
|
+
isAvailableToUser: boolean;
|
|
7265
7276
|
docUserSlug?: string | undefined;
|
|
7266
7277
|
docViewUrl?: string | undefined;
|
|
7267
7278
|
designSystemSwitcher?: {
|
|
@@ -7289,6 +7300,7 @@ declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
7289
7300
|
approvalRequiredForPublishing: boolean;
|
|
7290
7301
|
accessMode: "Open" | "InviteOnly";
|
|
7291
7302
|
membersGenerated: boolean;
|
|
7303
|
+
isAvailableToUser: boolean;
|
|
7292
7304
|
docUserSlug?: string | null | undefined;
|
|
7293
7305
|
docViewUrl?: string | null | undefined;
|
|
7294
7306
|
designSystemSwitcher?: {
|
|
@@ -7344,6 +7356,11 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7344
7356
|
}>;
|
|
7345
7357
|
docExporterId: z.ZodString;
|
|
7346
7358
|
sources: z.ZodArray<z.ZodAny, "many">;
|
|
7359
|
+
/**
|
|
7360
|
+
* Whether or not user who is requesting the design system
|
|
7361
|
+
* has access to the design system's contents.
|
|
7362
|
+
*/
|
|
7363
|
+
isAvailableToUser: z.ZodBoolean;
|
|
7347
7364
|
role: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
7348
7365
|
}>, "strip", z.ZodTypeAny, {
|
|
7349
7366
|
id: string;
|
|
@@ -7365,6 +7382,7 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7365
7382
|
approvalRequiredForPublishing: boolean;
|
|
7366
7383
|
accessMode: "Open" | "InviteOnly";
|
|
7367
7384
|
membersGenerated: boolean;
|
|
7385
|
+
isAvailableToUser: boolean;
|
|
7368
7386
|
docUserSlug?: string | undefined;
|
|
7369
7387
|
docViewUrl?: string | undefined;
|
|
7370
7388
|
designSystemSwitcher?: {
|
|
@@ -7392,6 +7410,7 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7392
7410
|
approvalRequiredForPublishing: boolean;
|
|
7393
7411
|
accessMode: "Open" | "InviteOnly";
|
|
7394
7412
|
membersGenerated: boolean;
|
|
7413
|
+
isAvailableToUser: boolean;
|
|
7395
7414
|
docUserSlug?: string | null | undefined;
|
|
7396
7415
|
docViewUrl?: string | null | undefined;
|
|
7397
7416
|
designSystemSwitcher?: {
|
|
@@ -7421,6 +7440,7 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7421
7440
|
approvalRequiredForPublishing: boolean;
|
|
7422
7441
|
accessMode: "Open" | "InviteOnly";
|
|
7423
7442
|
membersGenerated: boolean;
|
|
7443
|
+
isAvailableToUser: boolean;
|
|
7424
7444
|
docUserSlug?: string | undefined;
|
|
7425
7445
|
docViewUrl?: string | undefined;
|
|
7426
7446
|
designSystemSwitcher?: {
|
|
@@ -7450,6 +7470,7 @@ declare const DTODesignSystemResponse: z.ZodObject<{
|
|
|
7450
7470
|
approvalRequiredForPublishing: boolean;
|
|
7451
7471
|
accessMode: "Open" | "InviteOnly";
|
|
7452
7472
|
membersGenerated: boolean;
|
|
7473
|
+
isAvailableToUser: boolean;
|
|
7453
7474
|
docUserSlug?: string | null | undefined;
|
|
7454
7475
|
docViewUrl?: string | null | undefined;
|
|
7455
7476
|
designSystemSwitcher?: {
|
|
@@ -7506,6 +7527,11 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7506
7527
|
}>;
|
|
7507
7528
|
docExporterId: z.ZodString;
|
|
7508
7529
|
sources: z.ZodArray<z.ZodAny, "many">;
|
|
7530
|
+
/**
|
|
7531
|
+
* Whether or not user who is requesting the design system
|
|
7532
|
+
* has access to the design system's contents.
|
|
7533
|
+
*/
|
|
7534
|
+
isAvailableToUser: z.ZodBoolean;
|
|
7509
7535
|
role: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
7510
7536
|
}>, "strip", z.ZodTypeAny, {
|
|
7511
7537
|
id: string;
|
|
@@ -7527,6 +7553,7 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7527
7553
|
approvalRequiredForPublishing: boolean;
|
|
7528
7554
|
accessMode: "Open" | "InviteOnly";
|
|
7529
7555
|
membersGenerated: boolean;
|
|
7556
|
+
isAvailableToUser: boolean;
|
|
7530
7557
|
docUserSlug?: string | undefined;
|
|
7531
7558
|
docViewUrl?: string | undefined;
|
|
7532
7559
|
designSystemSwitcher?: {
|
|
@@ -7554,6 +7581,7 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7554
7581
|
approvalRequiredForPublishing: boolean;
|
|
7555
7582
|
accessMode: "Open" | "InviteOnly";
|
|
7556
7583
|
membersGenerated: boolean;
|
|
7584
|
+
isAvailableToUser: boolean;
|
|
7557
7585
|
docUserSlug?: string | null | undefined;
|
|
7558
7586
|
docViewUrl?: string | null | undefined;
|
|
7559
7587
|
designSystemSwitcher?: {
|
|
@@ -7583,6 +7611,7 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7583
7611
|
approvalRequiredForPublishing: boolean;
|
|
7584
7612
|
accessMode: "Open" | "InviteOnly";
|
|
7585
7613
|
membersGenerated: boolean;
|
|
7614
|
+
isAvailableToUser: boolean;
|
|
7586
7615
|
docUserSlug?: string | undefined;
|
|
7587
7616
|
docViewUrl?: string | undefined;
|
|
7588
7617
|
designSystemSwitcher?: {
|
|
@@ -7612,6 +7641,7 @@ declare const DTODesignSystemsListResponse: z.ZodObject<{
|
|
|
7612
7641
|
approvalRequiredForPublishing: boolean;
|
|
7613
7642
|
accessMode: "Open" | "InviteOnly";
|
|
7614
7643
|
membersGenerated: boolean;
|
|
7644
|
+
isAvailableToUser: boolean;
|
|
7615
7645
|
docUserSlug?: string | null | undefined;
|
|
7616
7646
|
docViewUrl?: string | null | undefined;
|
|
7617
7647
|
designSystemSwitcher?: {
|
|
@@ -47749,6 +47779,7 @@ declare class DesignSystemsEndpoint {
|
|
|
47749
47779
|
approvalRequiredForPublishing: boolean;
|
|
47750
47780
|
accessMode: "Open" | "InviteOnly";
|
|
47751
47781
|
membersGenerated: boolean;
|
|
47782
|
+
isAvailableToUser: boolean;
|
|
47752
47783
|
docUserSlug?: string | undefined;
|
|
47753
47784
|
docViewUrl?: string | undefined;
|
|
47754
47785
|
designSystemSwitcher?: {
|
|
@@ -47779,6 +47810,7 @@ declare class DesignSystemsEndpoint {
|
|
|
47779
47810
|
approvalRequiredForPublishing: boolean;
|
|
47780
47811
|
accessMode: "Open" | "InviteOnly";
|
|
47781
47812
|
membersGenerated: boolean;
|
|
47813
|
+
isAvailableToUser: boolean;
|
|
47782
47814
|
docUserSlug?: string | undefined;
|
|
47783
47815
|
docViewUrl?: string | undefined;
|
|
47784
47816
|
designSystemSwitcher?: {
|
|
@@ -47811,6 +47843,7 @@ declare class DesignSystemsEndpoint {
|
|
|
47811
47843
|
approvalRequiredForPublishing: boolean;
|
|
47812
47844
|
accessMode: "Open" | "InviteOnly";
|
|
47813
47845
|
membersGenerated: boolean;
|
|
47846
|
+
isAvailableToUser: boolean;
|
|
47814
47847
|
docUserSlug?: string | undefined;
|
|
47815
47848
|
docViewUrl?: string | undefined;
|
|
47816
47849
|
designSystemSwitcher?: {
|
|
@@ -47841,6 +47874,7 @@ declare class DesignSystemsEndpoint {
|
|
|
47841
47874
|
approvalRequiredForPublishing: boolean;
|
|
47842
47875
|
accessMode: "Open" | "InviteOnly";
|
|
47843
47876
|
membersGenerated: boolean;
|
|
47877
|
+
isAvailableToUser: boolean;
|
|
47844
47878
|
docUserSlug?: string | undefined;
|
|
47845
47879
|
docViewUrl?: string | undefined;
|
|
47846
47880
|
designSystemSwitcher?: {
|
package/dist/index.js
CHANGED
|
@@ -2244,7 +2244,9 @@ var PageBlockItemFigmaComponentValue = _zod.z.object({
|
|
|
2244
2244
|
_zod.z.object({
|
|
2245
2245
|
entityId: _zod.z.string(),
|
|
2246
2246
|
entityType: _zod.z.enum(["FigmaComponent"]),
|
|
2247
|
-
|
|
2247
|
+
entityMeta: _zod.z.object({
|
|
2248
|
+
selectedComponentProperties: _zod.z.string().array().optional()
|
|
2249
|
+
}).optional()
|
|
2248
2250
|
})
|
|
2249
2251
|
).default([])
|
|
2250
2252
|
});
|
|
@@ -5153,6 +5155,11 @@ var DTODesignSystem = DesignSystem.omit({
|
|
|
5153
5155
|
meta: ObjectMeta,
|
|
5154
5156
|
docExporterId: _zod.z.string(),
|
|
5155
5157
|
sources: _zod.z.array(_zod.z.any()),
|
|
5158
|
+
/**
|
|
5159
|
+
* Whether or not user who is requesting the design system
|
|
5160
|
+
* has access to the design system's contents.
|
|
5161
|
+
*/
|
|
5162
|
+
isAvailableToUser: _zod.z.boolean(),
|
|
5156
5163
|
role: WorkspaceRoleSchema.optional()
|
|
5157
5164
|
});
|
|
5158
5165
|
var DTODesignSystemResponse = _zod.z.object({
|