@supernova-studio/client 0.54.14 → 0.54.15
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 +6 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.js +91 -90
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1202 -1201
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/design-systems/design-system.ts +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -5093,6 +5093,7 @@ declare const DTODesignSystemCreateInput: z.ZodObject<{
|
|
|
5093
5093
|
name: z.ZodOptional<z.ZodString>;
|
|
5094
5094
|
description: z.ZodOptional<z.ZodString>;
|
|
5095
5095
|
accessMode: z.ZodOptional<z.ZodEnum<["Open", "InviteOnly"]>>;
|
|
5096
|
+
inviteUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5096
5097
|
}, "strip", z.ZodTypeAny, {
|
|
5097
5098
|
workspaceId: string;
|
|
5098
5099
|
description?: string | undefined;
|
|
@@ -5102,6 +5103,7 @@ declare const DTODesignSystemCreateInput: z.ZodObject<{
|
|
|
5102
5103
|
} | undefined;
|
|
5103
5104
|
name?: string | undefined;
|
|
5104
5105
|
accessMode?: "Open" | "InviteOnly" | undefined;
|
|
5106
|
+
inviteUserIds?: string[] | undefined;
|
|
5105
5107
|
}, {
|
|
5106
5108
|
workspaceId: string;
|
|
5107
5109
|
description?: string | undefined;
|
|
@@ -5111,6 +5113,7 @@ declare const DTODesignSystemCreateInput: z.ZodObject<{
|
|
|
5111
5113
|
} | undefined;
|
|
5112
5114
|
name?: string | undefined;
|
|
5113
5115
|
accessMode?: "Open" | "InviteOnly" | undefined;
|
|
5116
|
+
inviteUserIds?: string[] | undefined;
|
|
5114
5117
|
}>;
|
|
5115
5118
|
type DTODesignSystemCreateInput = z.infer<typeof DTODesignSystemCreateInput>;
|
|
5116
5119
|
|
|
@@ -29379,8 +29382,8 @@ declare const DTOExportJobsListFilter: z.ZodObject<{
|
|
|
29379
29382
|
designSystemVersionId: z.ZodOptional<z.ZodString>;
|
|
29380
29383
|
brandId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
29381
29384
|
createdByUserId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
29382
|
-
exporterId: z.ZodOptional<z.ZodString>;
|
|
29383
29385
|
themeId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
29386
|
+
exporterId: z.ZodOptional<z.ZodString>;
|
|
29384
29387
|
scheduleId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
29385
29388
|
destinations: z.ZodOptional<z.ZodArray<z.ZodEnum<["s3", "webhookUrl", "github", "documentation", "azure", "gitlab", "bitbucket"]>, "many">>;
|
|
29386
29389
|
docsEnvironment: z.ZodOptional<z.ZodEnum<["Live", "Preview"]>>;
|
|
@@ -29390,8 +29393,8 @@ declare const DTOExportJobsListFilter: z.ZodObject<{
|
|
|
29390
29393
|
designSystemVersionId?: string | undefined;
|
|
29391
29394
|
brandId?: string | undefined;
|
|
29392
29395
|
createdByUserId?: string | undefined;
|
|
29393
|
-
exporterId?: string | undefined;
|
|
29394
29396
|
themeId?: string | undefined;
|
|
29397
|
+
exporterId?: string | undefined;
|
|
29395
29398
|
scheduleId?: string | null | undefined;
|
|
29396
29399
|
destinations?: ("s3" | "azure" | "bitbucket" | "github" | "gitlab" | "documentation" | "webhookUrl")[] | undefined;
|
|
29397
29400
|
docsEnvironment?: "Live" | "Preview" | undefined;
|
|
@@ -29401,8 +29404,8 @@ declare const DTOExportJobsListFilter: z.ZodObject<{
|
|
|
29401
29404
|
designSystemVersionId?: string | undefined;
|
|
29402
29405
|
brandId?: string | undefined;
|
|
29403
29406
|
createdByUserId?: string | undefined;
|
|
29404
|
-
exporterId?: string | undefined;
|
|
29405
29407
|
themeId?: string | undefined;
|
|
29408
|
+
exporterId?: string | undefined;
|
|
29406
29409
|
scheduleId?: string | null | undefined;
|
|
29407
29410
|
destinations?: ("s3" | "azure" | "bitbucket" | "github" | "gitlab" | "documentation" | "webhookUrl")[] | undefined;
|
|
29408
29411
|
docsEnvironment?: "Live" | "Preview" | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -5093,6 +5093,7 @@ declare const DTODesignSystemCreateInput: z.ZodObject<{
|
|
|
5093
5093
|
name: z.ZodOptional<z.ZodString>;
|
|
5094
5094
|
description: z.ZodOptional<z.ZodString>;
|
|
5095
5095
|
accessMode: z.ZodOptional<z.ZodEnum<["Open", "InviteOnly"]>>;
|
|
5096
|
+
inviteUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5096
5097
|
}, "strip", z.ZodTypeAny, {
|
|
5097
5098
|
workspaceId: string;
|
|
5098
5099
|
description?: string | undefined;
|
|
@@ -5102,6 +5103,7 @@ declare const DTODesignSystemCreateInput: z.ZodObject<{
|
|
|
5102
5103
|
} | undefined;
|
|
5103
5104
|
name?: string | undefined;
|
|
5104
5105
|
accessMode?: "Open" | "InviteOnly" | undefined;
|
|
5106
|
+
inviteUserIds?: string[] | undefined;
|
|
5105
5107
|
}, {
|
|
5106
5108
|
workspaceId: string;
|
|
5107
5109
|
description?: string | undefined;
|
|
@@ -5111,6 +5113,7 @@ declare const DTODesignSystemCreateInput: z.ZodObject<{
|
|
|
5111
5113
|
} | undefined;
|
|
5112
5114
|
name?: string | undefined;
|
|
5113
5115
|
accessMode?: "Open" | "InviteOnly" | undefined;
|
|
5116
|
+
inviteUserIds?: string[] | undefined;
|
|
5114
5117
|
}>;
|
|
5115
5118
|
type DTODesignSystemCreateInput = z.infer<typeof DTODesignSystemCreateInput>;
|
|
5116
5119
|
|
|
@@ -29379,8 +29382,8 @@ declare const DTOExportJobsListFilter: z.ZodObject<{
|
|
|
29379
29382
|
designSystemVersionId: z.ZodOptional<z.ZodString>;
|
|
29380
29383
|
brandId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
29381
29384
|
createdByUserId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
29382
|
-
exporterId: z.ZodOptional<z.ZodString>;
|
|
29383
29385
|
themeId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
29386
|
+
exporterId: z.ZodOptional<z.ZodString>;
|
|
29384
29387
|
scheduleId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
29385
29388
|
destinations: z.ZodOptional<z.ZodArray<z.ZodEnum<["s3", "webhookUrl", "github", "documentation", "azure", "gitlab", "bitbucket"]>, "many">>;
|
|
29386
29389
|
docsEnvironment: z.ZodOptional<z.ZodEnum<["Live", "Preview"]>>;
|
|
@@ -29390,8 +29393,8 @@ declare const DTOExportJobsListFilter: z.ZodObject<{
|
|
|
29390
29393
|
designSystemVersionId?: string | undefined;
|
|
29391
29394
|
brandId?: string | undefined;
|
|
29392
29395
|
createdByUserId?: string | undefined;
|
|
29393
|
-
exporterId?: string | undefined;
|
|
29394
29396
|
themeId?: string | undefined;
|
|
29397
|
+
exporterId?: string | undefined;
|
|
29395
29398
|
scheduleId?: string | null | undefined;
|
|
29396
29399
|
destinations?: ("s3" | "azure" | "bitbucket" | "github" | "gitlab" | "documentation" | "webhookUrl")[] | undefined;
|
|
29397
29400
|
docsEnvironment?: "Live" | "Preview" | undefined;
|
|
@@ -29401,8 +29404,8 @@ declare const DTOExportJobsListFilter: z.ZodObject<{
|
|
|
29401
29404
|
designSystemVersionId?: string | undefined;
|
|
29402
29405
|
brandId?: string | undefined;
|
|
29403
29406
|
createdByUserId?: string | undefined;
|
|
29404
|
-
exporterId?: string | undefined;
|
|
29405
29407
|
themeId?: string | undefined;
|
|
29408
|
+
exporterId?: string | undefined;
|
|
29406
29409
|
scheduleId?: string | null | undefined;
|
|
29407
29410
|
destinations?: ("s3" | "azure" | "bitbucket" | "github" | "gitlab" | "documentation" | "webhookUrl")[] | undefined;
|
|
29408
29411
|
docsEnvironment?: "Live" | "Preview" | undefined;
|
package/dist/index.js
CHANGED
|
@@ -46,7 +46,6 @@ var _zod = require('zod');
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
|
|
50
49
|
|
|
51
50
|
|
|
52
51
|
var _slugify = require('@sindresorhus/slugify'); var _slugify2 = _interopRequireDefault(_slugify);
|
|
@@ -148,6 +147,7 @@ var _slugify = require('@sindresorhus/slugify'); var _slugify2 = _interopRequire
|
|
|
148
147
|
|
|
149
148
|
|
|
150
149
|
|
|
150
|
+
|
|
151
151
|
|
|
152
152
|
|
|
153
153
|
var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr);
|
|
@@ -553,13 +553,6 @@ var Asset = _zod.z.object({
|
|
|
553
553
|
var ResolvedAsset = Asset.extend({
|
|
554
554
|
url: _zod.z.string()
|
|
555
555
|
});
|
|
556
|
-
var Brand = _zod.z.object({
|
|
557
|
-
id: _zod.z.string(),
|
|
558
|
-
designSystemVersionId: _zod.z.string(),
|
|
559
|
-
persistentId: _zod.z.string(),
|
|
560
|
-
name: _zod.z.string(),
|
|
561
|
-
description: _zod.z.string()
|
|
562
|
-
});
|
|
563
556
|
var FigmaFileDownloadScope = _zod.z.object({
|
|
564
557
|
styles: _zod.z.boolean(),
|
|
565
558
|
components: _zod.z.boolean(),
|
|
@@ -3372,31 +3365,6 @@ var RenderedAssetFile = _zod.z.object({
|
|
|
3372
3365
|
renderedImageUrl: _zod.z.string(),
|
|
3373
3366
|
settings: AssetRenderConfiguration
|
|
3374
3367
|
});
|
|
3375
|
-
var DesignSystemAccessMode = _zod.z.enum(["Open", "InviteOnly"]);
|
|
3376
|
-
var DesignSystemSwitcher = _zod.z.object({
|
|
3377
|
-
isEnabled: _zod.z.boolean(),
|
|
3378
|
-
designSystemIds: _zod.z.array(_zod.z.string())
|
|
3379
|
-
});
|
|
3380
|
-
var DesignSystem = _zod.z.object({
|
|
3381
|
-
id: _zod.z.string(),
|
|
3382
|
-
workspaceId: _zod.z.string(),
|
|
3383
|
-
name: _zod.z.string(),
|
|
3384
|
-
description: _zod.z.string(),
|
|
3385
|
-
docExporterId: nullishToOptional(_zod.z.string()),
|
|
3386
|
-
docSlug: _zod.z.string(),
|
|
3387
|
-
docUserSlug: nullishToOptional(_zod.z.string()),
|
|
3388
|
-
docSlugDeprecated: _zod.z.string(),
|
|
3389
|
-
isPublic: _zod.z.boolean(),
|
|
3390
|
-
isMultibrand: _zod.z.boolean(),
|
|
3391
|
-
docViewUrl: nullishToOptional(_zod.z.string()),
|
|
3392
|
-
basePrefixes: _zod.z.array(_zod.z.string()),
|
|
3393
|
-
designSystemSwitcher: nullishToOptional(DesignSystemSwitcher),
|
|
3394
|
-
isApprovalFeatureEnabled: _zod.z.boolean(),
|
|
3395
|
-
approvalRequiredForPublishing: _zod.z.boolean(),
|
|
3396
|
-
accessMode: DesignSystemAccessMode,
|
|
3397
|
-
createdAt: _zod.z.coerce.date(),
|
|
3398
|
-
updatedAt: _zod.z.coerce.date()
|
|
3399
|
-
});
|
|
3400
3368
|
var DocumentationPageApprovalState = _zod.z.enum(["ReadyForReview", "ChangesRequested", "Approved"]);
|
|
3401
3369
|
var DocumentationPageApproval = _zod.z.object({
|
|
3402
3370
|
id: _zod.z.string(),
|
|
@@ -3586,6 +3554,83 @@ var ElementGroupSnapshot = DesignElementSnapshotBase.extend({
|
|
|
3586
3554
|
function pickLatestGroupSnapshots(snapshots) {
|
|
3587
3555
|
return pickLatestSnapshots(snapshots, (s) => s.group.id);
|
|
3588
3556
|
}
|
|
3557
|
+
var DesignSystemMembership = _zod.z.object({
|
|
3558
|
+
id: _zod.z.string(),
|
|
3559
|
+
userId: _zod.z.string(),
|
|
3560
|
+
designSystemId: _zod.z.string(),
|
|
3561
|
+
workspaceMembershipId: _zod.z.string()
|
|
3562
|
+
});
|
|
3563
|
+
var ElementViewBaseColumnType = _zod.z.enum(["Name", "Description", "Value", "UpdatedAt"]);
|
|
3564
|
+
var ElementViewColumnType = _zod.z.union([
|
|
3565
|
+
_zod.z.literal("BaseProperty"),
|
|
3566
|
+
_zod.z.literal("PropertyDefinition"),
|
|
3567
|
+
_zod.z.literal("Theme")
|
|
3568
|
+
]);
|
|
3569
|
+
var ElementViewColumnSharedAttributes = _zod.z.object({
|
|
3570
|
+
id: _zod.z.string(),
|
|
3571
|
+
persistentId: _zod.z.string(),
|
|
3572
|
+
elementDataViewId: _zod.z.string(),
|
|
3573
|
+
sortPosition: _zod.z.number(),
|
|
3574
|
+
width: _zod.z.number()
|
|
3575
|
+
});
|
|
3576
|
+
var ElementViewBasePropertyColumn = ElementViewColumnSharedAttributes.extend({
|
|
3577
|
+
type: _zod.z.literal("BaseProperty"),
|
|
3578
|
+
basePropertyType: ElementViewBaseColumnType
|
|
3579
|
+
});
|
|
3580
|
+
var ElementViewPropertyDefinitionColumn = ElementViewColumnSharedAttributes.extend({
|
|
3581
|
+
type: _zod.z.literal("PropertyDefinition"),
|
|
3582
|
+
propertyDefinitionId: _zod.z.string()
|
|
3583
|
+
});
|
|
3584
|
+
var ElementViewThemeColumn = ElementViewColumnSharedAttributes.extend({
|
|
3585
|
+
type: _zod.z.literal("Theme"),
|
|
3586
|
+
themeId: _zod.z.string()
|
|
3587
|
+
});
|
|
3588
|
+
var ElementViewColumn = _zod.z.discriminatedUnion("type", [
|
|
3589
|
+
ElementViewBasePropertyColumn,
|
|
3590
|
+
ElementViewPropertyDefinitionColumn,
|
|
3591
|
+
ElementViewThemeColumn
|
|
3592
|
+
]);
|
|
3593
|
+
var ElementView = _zod.z.object({
|
|
3594
|
+
id: _zod.z.string(),
|
|
3595
|
+
persistentId: _zod.z.string(),
|
|
3596
|
+
designSystemVersionId: _zod.z.string(),
|
|
3597
|
+
name: _zod.z.string(),
|
|
3598
|
+
description: _zod.z.string(),
|
|
3599
|
+
targetElementType: ElementPropertyTargetType,
|
|
3600
|
+
isDefault: _zod.z.boolean()
|
|
3601
|
+
});
|
|
3602
|
+
var Brand = _zod.z.object({
|
|
3603
|
+
id: _zod.z.string(),
|
|
3604
|
+
designSystemVersionId: _zod.z.string(),
|
|
3605
|
+
persistentId: _zod.z.string(),
|
|
3606
|
+
name: _zod.z.string(),
|
|
3607
|
+
description: _zod.z.string()
|
|
3608
|
+
});
|
|
3609
|
+
var DesignSystemAccessMode = _zod.z.enum(["Open", "InviteOnly"]);
|
|
3610
|
+
var DesignSystemSwitcher = _zod.z.object({
|
|
3611
|
+
isEnabled: _zod.z.boolean(),
|
|
3612
|
+
designSystemIds: _zod.z.array(_zod.z.string())
|
|
3613
|
+
});
|
|
3614
|
+
var DesignSystem = _zod.z.object({
|
|
3615
|
+
id: _zod.z.string(),
|
|
3616
|
+
workspaceId: _zod.z.string(),
|
|
3617
|
+
name: _zod.z.string(),
|
|
3618
|
+
description: _zod.z.string(),
|
|
3619
|
+
docExporterId: nullishToOptional(_zod.z.string()),
|
|
3620
|
+
docSlug: _zod.z.string(),
|
|
3621
|
+
docUserSlug: nullishToOptional(_zod.z.string()),
|
|
3622
|
+
docSlugDeprecated: _zod.z.string(),
|
|
3623
|
+
isPublic: _zod.z.boolean(),
|
|
3624
|
+
isMultibrand: _zod.z.boolean(),
|
|
3625
|
+
docViewUrl: nullishToOptional(_zod.z.string()),
|
|
3626
|
+
basePrefixes: _zod.z.array(_zod.z.string()),
|
|
3627
|
+
designSystemSwitcher: nullishToOptional(DesignSystemSwitcher),
|
|
3628
|
+
isApprovalFeatureEnabled: _zod.z.boolean(),
|
|
3629
|
+
approvalRequiredForPublishing: _zod.z.boolean(),
|
|
3630
|
+
accessMode: DesignSystemAccessMode,
|
|
3631
|
+
createdAt: _zod.z.coerce.date(),
|
|
3632
|
+
updatedAt: _zod.z.coerce.date()
|
|
3633
|
+
});
|
|
3589
3634
|
var ExporterPropertyImageValue = _zod.z.object({
|
|
3590
3635
|
asset: PageBlockAsset.optional(),
|
|
3591
3636
|
assetId: _zod.z.string().optional(),
|
|
@@ -3608,11 +3653,18 @@ var ExporterPropertyValuesCollection = _zod.z.object({
|
|
|
3608
3653
|
exporterId: _zod.z.string(),
|
|
3609
3654
|
values: _zod.z.array(ExporterPropertyValue)
|
|
3610
3655
|
});
|
|
3611
|
-
var
|
|
3656
|
+
var PublishedDocPage = _zod.z.object({
|
|
3612
3657
|
id: _zod.z.string(),
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3658
|
+
publishedDocId: _zod.z.string(),
|
|
3659
|
+
pageShortPersistentId: _zod.z.string(),
|
|
3660
|
+
pathV1: _zod.z.string(),
|
|
3661
|
+
pathV2: _zod.z.string(),
|
|
3662
|
+
storagePath: _zod.z.string(),
|
|
3663
|
+
locale: _zod.z.string().optional(),
|
|
3664
|
+
isPrivate: _zod.z.boolean(),
|
|
3665
|
+
isHidden: _zod.z.boolean(),
|
|
3666
|
+
createdAt: _zod.z.coerce.date(),
|
|
3667
|
+
updatedAt: _zod.z.coerce.date()
|
|
3616
3668
|
});
|
|
3617
3669
|
var publishedDocEnvironments = ["Live", "Preview"];
|
|
3618
3670
|
var PublishedDocEnvironment = _zod.z.enum(publishedDocEnvironments);
|
|
@@ -3636,19 +3688,6 @@ var PublishedDoc = _zod.z.object({
|
|
|
3636
3688
|
tokenCount: _zod.z.number(),
|
|
3637
3689
|
assetCount: _zod.z.number()
|
|
3638
3690
|
});
|
|
3639
|
-
var PublishedDocPage = _zod.z.object({
|
|
3640
|
-
id: _zod.z.string(),
|
|
3641
|
-
publishedDocId: _zod.z.string(),
|
|
3642
|
-
pageShortPersistentId: _zod.z.string(),
|
|
3643
|
-
pathV1: _zod.z.string(),
|
|
3644
|
-
pathV2: _zod.z.string(),
|
|
3645
|
-
storagePath: _zod.z.string(),
|
|
3646
|
-
locale: _zod.z.string().optional(),
|
|
3647
|
-
isPrivate: _zod.z.boolean(),
|
|
3648
|
-
isHidden: _zod.z.boolean(),
|
|
3649
|
-
createdAt: _zod.z.coerce.date(),
|
|
3650
|
-
updatedAt: _zod.z.coerce.date()
|
|
3651
|
-
});
|
|
3652
3691
|
var DesignSystemVersion = _zod.z.object({
|
|
3653
3692
|
id: _zod.z.string(),
|
|
3654
3693
|
version: _zod.z.string(),
|
|
@@ -3670,45 +3709,6 @@ var VersionCreationJob = _zod.z.object({
|
|
|
3670
3709
|
status: VersionCreationJobStatus,
|
|
3671
3710
|
errorMessage: nullishToOptional(_zod.z.string())
|
|
3672
3711
|
});
|
|
3673
|
-
var ElementViewBaseColumnType = _zod.z.enum(["Name", "Description", "Value", "UpdatedAt"]);
|
|
3674
|
-
var ElementViewColumnType = _zod.z.union([
|
|
3675
|
-
_zod.z.literal("BaseProperty"),
|
|
3676
|
-
_zod.z.literal("PropertyDefinition"),
|
|
3677
|
-
_zod.z.literal("Theme")
|
|
3678
|
-
]);
|
|
3679
|
-
var ElementViewColumnSharedAttributes = _zod.z.object({
|
|
3680
|
-
id: _zod.z.string(),
|
|
3681
|
-
persistentId: _zod.z.string(),
|
|
3682
|
-
elementDataViewId: _zod.z.string(),
|
|
3683
|
-
sortPosition: _zod.z.number(),
|
|
3684
|
-
width: _zod.z.number()
|
|
3685
|
-
});
|
|
3686
|
-
var ElementViewBasePropertyColumn = ElementViewColumnSharedAttributes.extend({
|
|
3687
|
-
type: _zod.z.literal("BaseProperty"),
|
|
3688
|
-
basePropertyType: ElementViewBaseColumnType
|
|
3689
|
-
});
|
|
3690
|
-
var ElementViewPropertyDefinitionColumn = ElementViewColumnSharedAttributes.extend({
|
|
3691
|
-
type: _zod.z.literal("PropertyDefinition"),
|
|
3692
|
-
propertyDefinitionId: _zod.z.string()
|
|
3693
|
-
});
|
|
3694
|
-
var ElementViewThemeColumn = ElementViewColumnSharedAttributes.extend({
|
|
3695
|
-
type: _zod.z.literal("Theme"),
|
|
3696
|
-
themeId: _zod.z.string()
|
|
3697
|
-
});
|
|
3698
|
-
var ElementViewColumn = _zod.z.discriminatedUnion("type", [
|
|
3699
|
-
ElementViewBasePropertyColumn,
|
|
3700
|
-
ElementViewPropertyDefinitionColumn,
|
|
3701
|
-
ElementViewThemeColumn
|
|
3702
|
-
]);
|
|
3703
|
-
var ElementView = _zod.z.object({
|
|
3704
|
-
id: _zod.z.string(),
|
|
3705
|
-
persistentId: _zod.z.string(),
|
|
3706
|
-
designSystemVersionId: _zod.z.string(),
|
|
3707
|
-
name: _zod.z.string(),
|
|
3708
|
-
description: _zod.z.string(),
|
|
3709
|
-
targetElementType: ElementPropertyTargetType,
|
|
3710
|
-
isDefault: _zod.z.boolean()
|
|
3711
|
-
});
|
|
3712
3712
|
var BITBUCKET_SLUG = /^[-a-zA-Z0-9~]*$/;
|
|
3713
3713
|
var BITBUCKET_MAX_LENGTH = 64;
|
|
3714
3714
|
var ExportJobDocumentationChanges = _zod.z.object({
|
|
@@ -5092,7 +5092,8 @@ var DTODesignSystemCreateInput = _zod.z.object({
|
|
|
5092
5092
|
meta: ObjectMeta.optional(),
|
|
5093
5093
|
name: _zod.z.string().min(2).max(64).optional(),
|
|
5094
5094
|
description: _zod.z.string().max(1024).optional(),
|
|
5095
|
-
accessMode: DesignSystemAccessMode.optional()
|
|
5095
|
+
accessMode: DesignSystemAccessMode.optional(),
|
|
5096
|
+
inviteUserIds: _zod.z.string().array().optional()
|
|
5096
5097
|
});
|
|
5097
5098
|
|
|
5098
5099
|
// src/api/dto/design-systems/elements-diff.ts
|