@supernova-studio/client 0.57.4 → 0.57.6
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 +49853 -24809
- package/dist/index.d.ts +49853 -24809
- package/dist/index.js +86 -23
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +691 -628
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/design-tokens/design-token.ts +25 -1
- package/src/api/dto/index.ts +1 -0
- package/src/api/dto/themes/index.ts +2 -0
- package/src/api/dto/themes/override.ts +27 -0
- package/src/api/dto/themes/theme.ts +45 -0
- package/src/api/endpoints/design-system/versions/themes.ts +14 -3
- package/src/api/endpoints/design-system/versions/tokens.ts +10 -4
- package/src/api/payloads/design-systems/index.ts +0 -1
- package/src/api/payloads/design-systems/theme.ts +0 -14
package/dist/index.mjs
CHANGED
|
@@ -702,7 +702,8 @@ var ComponentElementData = z33.object({
|
|
|
702
702
|
}).optional(),
|
|
703
703
|
parentComponentPersistentId: nullishToOptional(z33.string()),
|
|
704
704
|
componentPropertyDefinitions: nullishToOptional(FigmaComponentPropertyMap),
|
|
705
|
-
variantPropertyValues: nullishToOptional(z33.record(z33.string()))
|
|
705
|
+
variantPropertyValues: nullishToOptional(z33.record(z33.string())),
|
|
706
|
+
renderNodeId: nullishToOptional(z33.string())
|
|
706
707
|
})
|
|
707
708
|
});
|
|
708
709
|
var SupernovaException = class _SupernovaException extends Error {
|
|
@@ -2774,7 +2775,8 @@ var FigmaComponent = DesignElementBase.extend(DesignElementGroupableRequiredPart
|
|
|
2774
2775
|
variantPropertyValues: z82.record(z82.string()).optional(),
|
|
2775
2776
|
svg: FigmaComponentAsset.optional(),
|
|
2776
2777
|
isAsset: z82.boolean(),
|
|
2777
|
-
parentComponentPersistentId: nullishToOptional(z82.string())
|
|
2778
|
+
parentComponentPersistentId: nullishToOptional(z82.string()),
|
|
2779
|
+
renderNodeId: z82.string().optional()
|
|
2778
2780
|
});
|
|
2779
2781
|
var FigmaFileStructureOrigin = z83.object({
|
|
2780
2782
|
sourceId: z83.string(),
|
|
@@ -3280,7 +3282,8 @@ var FigmaComponentImportModelPart = z93.object({
|
|
|
3280
3282
|
thumbnail: ImageImportModel,
|
|
3281
3283
|
parentComponentId: z93.string().optional(),
|
|
3282
3284
|
componentPropertyDefinitions: FigmaComponentPropertyMap.optional(),
|
|
3283
|
-
variantPropertyValues: z93.record(z93.string()).optional()
|
|
3285
|
+
variantPropertyValues: z93.record(z93.string()).optional(),
|
|
3286
|
+
renderNodeId: z93.string()
|
|
3284
3287
|
});
|
|
3285
3288
|
var FigmaComponentImportModel = ImportModelBase.extend(FigmaComponentImportModelPart.shape).extend({
|
|
3286
3289
|
isAsset: z93.boolean(),
|
|
@@ -4433,10 +4436,12 @@ var ExportJobContext = z161.object({
|
|
|
4433
4436
|
themeId: z161.string().optional(),
|
|
4434
4437
|
themePersistentIds: z161.string().array().optional(),
|
|
4435
4438
|
exporterName: z161.string(),
|
|
4436
|
-
exporterPackageUrl: z161.string(),
|
|
4437
|
-
exporterPropertyValues: ExporterPropertyValue.array(),
|
|
4438
4439
|
documentation: ExportJobDocumentationContext.optional()
|
|
4439
4440
|
});
|
|
4441
|
+
var ExportJobExporterConfiguration = z161.object({
|
|
4442
|
+
exporterPackageUrl: z161.string(),
|
|
4443
|
+
exporterPropertyValues: ExporterPropertyValue.array()
|
|
4444
|
+
});
|
|
4440
4445
|
var ExporterFunctionPayload = z162.object({
|
|
4441
4446
|
exportJobId: z162.string(),
|
|
4442
4447
|
exportContextId: z162.string(),
|
|
@@ -5070,7 +5075,7 @@ var DTOPagination = z175.object({
|
|
|
5070
5075
|
});
|
|
5071
5076
|
|
|
5072
5077
|
// src/api/dto/bff/app-bootstrap-data.ts
|
|
5073
|
-
import { z as
|
|
5078
|
+
import { z as z204 } from "zod";
|
|
5074
5079
|
|
|
5075
5080
|
// src/api/dto/design-systems/brand.ts
|
|
5076
5081
|
import { z as z176 } from "zod";
|
|
@@ -5406,7 +5411,7 @@ var DTODesignSystemVersionStatsQuery = z185.object({
|
|
|
5406
5411
|
});
|
|
5407
5412
|
|
|
5408
5413
|
// src/api/dto/design-systems/version.ts
|
|
5409
|
-
import { z as
|
|
5414
|
+
import { z as z196 } from "zod";
|
|
5410
5415
|
|
|
5411
5416
|
// src/api/payloads/design-systems/brand.ts
|
|
5412
5417
|
import { z as z186 } from "zod";
|
|
@@ -5418,21 +5423,8 @@ var DTOCreateBrandInput = z186.object({
|
|
|
5418
5423
|
})
|
|
5419
5424
|
});
|
|
5420
5425
|
|
|
5421
|
-
// src/api/payloads/design-systems/theme.ts
|
|
5422
|
-
import { z as z187 } from "zod";
|
|
5423
|
-
var DTOCreateThemeInput = z187.object({
|
|
5424
|
-
meta: ObjectMeta,
|
|
5425
|
-
persistentId: z187.string(),
|
|
5426
|
-
designSystemVersionId: z187.string(),
|
|
5427
|
-
brandId: z187.string(),
|
|
5428
|
-
codeName: z187.string(),
|
|
5429
|
-
version: z187.string().optional(),
|
|
5430
|
-
overrides: z187.array(z187.any())
|
|
5431
|
-
// TODO Add actual overrides.
|
|
5432
|
-
});
|
|
5433
|
-
|
|
5434
5426
|
// src/api/payloads/design-systems/update-design-system.ts
|
|
5435
|
-
import { z as
|
|
5427
|
+
import { z as z187 } from "zod";
|
|
5436
5428
|
var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
|
|
5437
5429
|
id: true,
|
|
5438
5430
|
workspaceId: true,
|
|
@@ -5444,40 +5436,40 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
|
|
|
5444
5436
|
}).extend({
|
|
5445
5437
|
meta: ObjectMeta.partial().optional()
|
|
5446
5438
|
});
|
|
5447
|
-
var DTODesignSystemUpdateAccessModeInput =
|
|
5439
|
+
var DTODesignSystemUpdateAccessModeInput = z187.object({
|
|
5448
5440
|
accessMode: DesignSystemAccessMode,
|
|
5449
|
-
retain:
|
|
5450
|
-
userIds:
|
|
5451
|
-
inviteIds:
|
|
5441
|
+
retain: z187.object({
|
|
5442
|
+
userIds: z187.string().array(),
|
|
5443
|
+
inviteIds: z187.string().array()
|
|
5452
5444
|
}).optional()
|
|
5453
5445
|
});
|
|
5454
5446
|
|
|
5455
5447
|
// src/api/payloads/design-systems/version.ts
|
|
5456
|
-
import { z as
|
|
5457
|
-
var ObjectMeta2 =
|
|
5458
|
-
name:
|
|
5459
|
-
description:
|
|
5448
|
+
import { z as z188 } from "zod";
|
|
5449
|
+
var ObjectMeta2 = z188.object({
|
|
5450
|
+
name: z188.string().max(150).optional(),
|
|
5451
|
+
description: z188.string().max(2e3).optional()
|
|
5460
5452
|
});
|
|
5461
5453
|
function validateDesignSystemVersion(version) {
|
|
5462
5454
|
const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
|
|
5463
5455
|
return urlCompliantRegex.test(version);
|
|
5464
5456
|
}
|
|
5465
|
-
var DTOCreateVersionInput =
|
|
5457
|
+
var DTOCreateVersionInput = z188.object({
|
|
5466
5458
|
meta: ObjectMeta2,
|
|
5467
|
-
version:
|
|
5459
|
+
version: z188.string().refine(validateDesignSystemVersion, {
|
|
5468
5460
|
message: "Invalid semantic versioning format"
|
|
5469
5461
|
}),
|
|
5470
|
-
changeLog:
|
|
5462
|
+
changeLog: z188.string().optional()
|
|
5471
5463
|
});
|
|
5472
|
-
var DTOUpdateVersionInput =
|
|
5464
|
+
var DTOUpdateVersionInput = z188.object({
|
|
5473
5465
|
meta: ObjectMeta2,
|
|
5474
|
-
version:
|
|
5466
|
+
version: z188.string(),
|
|
5475
5467
|
// required for PUT, but not editable
|
|
5476
|
-
changeLog:
|
|
5468
|
+
changeLog: z188.string()
|
|
5477
5469
|
});
|
|
5478
5470
|
|
|
5479
5471
|
// src/api/payloads/documentation/block-definitions.ts
|
|
5480
|
-
import { z as
|
|
5472
|
+
import { z as z189 } from "zod";
|
|
5481
5473
|
|
|
5482
5474
|
// src/api/dto/documentation/block-definition.ts
|
|
5483
5475
|
var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
|
|
@@ -5489,60 +5481,60 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
|
|
|
5489
5481
|
var DTOPageBlockDefinition = PageBlockDefinition;
|
|
5490
5482
|
|
|
5491
5483
|
// src/api/payloads/documentation/block-definitions.ts
|
|
5492
|
-
var DTOGetBlockDefinitionsOutput =
|
|
5493
|
-
definitions:
|
|
5484
|
+
var DTOGetBlockDefinitionsOutput = z189.object({
|
|
5485
|
+
definitions: z189.array(DTOPageBlockDefinition)
|
|
5494
5486
|
});
|
|
5495
5487
|
|
|
5496
5488
|
// src/api/payloads/documentation/design-data-doc-diff.ts
|
|
5497
|
-
import { z as
|
|
5498
|
-
var DTODocumentationPublishTypeQueryParams =
|
|
5499
|
-
environment:
|
|
5489
|
+
import { z as z190 } from "zod";
|
|
5490
|
+
var DTODocumentationPublishTypeQueryParams = z190.object({
|
|
5491
|
+
environment: z190.enum(["Live", "Preview"])
|
|
5500
5492
|
});
|
|
5501
5493
|
|
|
5502
5494
|
// src/api/payloads/export/pipeline.ts
|
|
5503
|
-
import { z as
|
|
5504
|
-
var DTOPipelineCreateBody =
|
|
5505
|
-
name:
|
|
5506
|
-
exporterId:
|
|
5507
|
-
designSystemId:
|
|
5508
|
-
isEnabled:
|
|
5495
|
+
import { z as z191 } from "zod";
|
|
5496
|
+
var DTOPipelineCreateBody = z191.object({
|
|
5497
|
+
name: z191.string(),
|
|
5498
|
+
exporterId: z191.string(),
|
|
5499
|
+
designSystemId: z191.string(),
|
|
5500
|
+
isEnabled: z191.boolean(),
|
|
5509
5501
|
eventType: PipelineEventType,
|
|
5510
|
-
brandPersistentId:
|
|
5511
|
-
themePersistentId:
|
|
5512
|
-
themePersistentIds:
|
|
5502
|
+
brandPersistentId: z191.string().optional(),
|
|
5503
|
+
themePersistentId: z191.string().optional(),
|
|
5504
|
+
themePersistentIds: z191.string().array().optional(),
|
|
5513
5505
|
destination: PipelineDestinationType.optional(),
|
|
5514
5506
|
gitQuery: GitObjectsQuery,
|
|
5515
|
-
destinations:
|
|
5507
|
+
destinations: z191.object({
|
|
5516
5508
|
s3: ExporterDestinationS3.nullish(),
|
|
5517
5509
|
azure: ExporterDestinationAzure.nullish(),
|
|
5518
5510
|
bitbucket: ExporterDestinationBitbucket.nullish(),
|
|
5519
5511
|
github: ExporterDestinationGithub.nullish(),
|
|
5520
5512
|
gitlab: ExporterDestinationGitlab.nullish(),
|
|
5521
5513
|
documentation: ExporterDestinationDocs.nullish(),
|
|
5522
|
-
webhookUrl:
|
|
5514
|
+
webhookUrl: z191.string().nullish()
|
|
5523
5515
|
})
|
|
5524
5516
|
});
|
|
5525
5517
|
var DTOPipelineUpdateBody = DTOPipelineCreateBody.extend({
|
|
5526
|
-
id:
|
|
5518
|
+
id: z191.string()
|
|
5527
5519
|
});
|
|
5528
|
-
var DTOPipelineTriggerBody =
|
|
5529
|
-
designSystemVersionId:
|
|
5520
|
+
var DTOPipelineTriggerBody = z191.object({
|
|
5521
|
+
designSystemVersionId: z191.string()
|
|
5530
5522
|
});
|
|
5531
5523
|
|
|
5532
5524
|
// src/api/payloads/liveblocks/auth.ts
|
|
5533
|
-
import { z as
|
|
5534
|
-
var DTOLiveblocksAuthRequest =
|
|
5535
|
-
room:
|
|
5525
|
+
import { z as z192 } from "zod";
|
|
5526
|
+
var DTOLiveblocksAuthRequest = z192.object({
|
|
5527
|
+
room: z192.string().optional()
|
|
5536
5528
|
});
|
|
5537
5529
|
|
|
5538
5530
|
// src/api/payloads/users/notifications/notification-settings.ts
|
|
5539
|
-
import { z as
|
|
5540
|
-
var DTOUpdateUserNotificationSettingsPayload =
|
|
5531
|
+
import { z as z193 } from "zod";
|
|
5532
|
+
var DTOUpdateUserNotificationSettingsPayload = z193.object({
|
|
5541
5533
|
notificationSettings: UserNotificationSettings
|
|
5542
5534
|
});
|
|
5543
|
-
var DTOUserNotificationSettingsResponse =
|
|
5544
|
-
userId:
|
|
5545
|
-
workspaceId:
|
|
5535
|
+
var DTOUserNotificationSettingsResponse = z193.object({
|
|
5536
|
+
userId: z193.string(),
|
|
5537
|
+
workspaceId: z193.string(),
|
|
5546
5538
|
notificationSettings: UserNotificationSettings
|
|
5547
5539
|
});
|
|
5548
5540
|
|
|
@@ -5550,7 +5542,7 @@ var DTOUserNotificationSettingsResponse = z194.object({
|
|
|
5550
5542
|
var DTOUserProfileUpdatePayload = UserProfileUpdate;
|
|
5551
5543
|
|
|
5552
5544
|
// src/api/payloads/workspaces/workspace-configuration.ts
|
|
5553
|
-
import { z as
|
|
5545
|
+
import { z as z194 } from "zod";
|
|
5554
5546
|
var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
|
|
5555
5547
|
function validateSsoPayload(ssoPayload) {
|
|
5556
5548
|
const keys = [];
|
|
@@ -5573,21 +5565,21 @@ function validateSsoPayload(ssoPayload) {
|
|
|
5573
5565
|
keys
|
|
5574
5566
|
};
|
|
5575
5567
|
}
|
|
5576
|
-
var NpmRegistryInput =
|
|
5577
|
-
enabledScopes:
|
|
5578
|
-
customRegistryUrl:
|
|
5579
|
-
bypassProxy:
|
|
5580
|
-
npmProxyRegistryConfigId:
|
|
5581
|
-
npmProxyVersion:
|
|
5582
|
-
registryType:
|
|
5583
|
-
authType:
|
|
5584
|
-
authHeaderName:
|
|
5585
|
-
authHeaderValue:
|
|
5586
|
-
accessToken:
|
|
5587
|
-
username:
|
|
5588
|
-
password:
|
|
5589
|
-
});
|
|
5590
|
-
var WorkspaceConfigurationPayload =
|
|
5568
|
+
var NpmRegistryInput = z194.object({
|
|
5569
|
+
enabledScopes: z194.array(z194.string()),
|
|
5570
|
+
customRegistryUrl: z194.string().optional(),
|
|
5571
|
+
bypassProxy: z194.boolean().optional(),
|
|
5572
|
+
npmProxyRegistryConfigId: z194.string().optional(),
|
|
5573
|
+
npmProxyVersion: z194.number().optional(),
|
|
5574
|
+
registryType: z194.string(),
|
|
5575
|
+
authType: z194.string(),
|
|
5576
|
+
authHeaderName: z194.string(),
|
|
5577
|
+
authHeaderValue: z194.string(),
|
|
5578
|
+
accessToken: z194.string(),
|
|
5579
|
+
username: z194.string(),
|
|
5580
|
+
password: z194.string()
|
|
5581
|
+
});
|
|
5582
|
+
var WorkspaceConfigurationPayload = z194.object({
|
|
5591
5583
|
ipWhitelist: WorkspaceIpSettings.partial().optional(),
|
|
5592
5584
|
sso: SsoProvider.partial().optional(),
|
|
5593
5585
|
npmRegistrySettings: NpmRegistryInput.partial().optional(),
|
|
@@ -5595,217 +5587,217 @@ var WorkspaceConfigurationPayload = z195.object({
|
|
|
5595
5587
|
});
|
|
5596
5588
|
|
|
5597
5589
|
// src/api/payloads/workspaces/workspace-integrations.ts
|
|
5598
|
-
import { z as
|
|
5599
|
-
var DTOWorkspaceIntegrationOauthInput =
|
|
5590
|
+
import { z as z195 } from "zod";
|
|
5591
|
+
var DTOWorkspaceIntegrationOauthInput = z195.object({
|
|
5600
5592
|
type: IntegrationType
|
|
5601
5593
|
});
|
|
5602
|
-
var DTOWorkspaceIntegrationPATInput =
|
|
5603
|
-
userId:
|
|
5594
|
+
var DTOWorkspaceIntegrationPATInput = z195.object({
|
|
5595
|
+
userId: z195.string(),
|
|
5604
5596
|
type: IntegrationType,
|
|
5605
5597
|
token: IntegrationToken
|
|
5606
5598
|
});
|
|
5607
|
-
var DTOWorkspaceIntegrationGetGitObjectsInput =
|
|
5608
|
-
organization:
|
|
5599
|
+
var DTOWorkspaceIntegrationGetGitObjectsInput = z195.object({
|
|
5600
|
+
organization: z195.string().optional(),
|
|
5609
5601
|
// Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
|
|
5610
|
-
project:
|
|
5602
|
+
project: z195.string().optional(),
|
|
5611
5603
|
// Only for Bitbucket and Azure
|
|
5612
|
-
repository:
|
|
5604
|
+
repository: z195.string().optional(),
|
|
5613
5605
|
// For all providers. Pay attention for Gitlab, they call repositories "projects".
|
|
5614
|
-
branch:
|
|
5606
|
+
branch: z195.string().optional(),
|
|
5615
5607
|
// For all providers, useful for PR creations.
|
|
5616
|
-
user:
|
|
5608
|
+
user: z195.string().optional()
|
|
5617
5609
|
// Only for Gitlab User Repositories
|
|
5618
5610
|
});
|
|
5619
5611
|
|
|
5620
5612
|
// src/api/dto/design-systems/version.ts
|
|
5621
|
-
var DTODesignSystemVersion =
|
|
5622
|
-
id:
|
|
5623
|
-
createdAt:
|
|
5613
|
+
var DTODesignSystemVersion = z196.object({
|
|
5614
|
+
id: z196.string(),
|
|
5615
|
+
createdAt: z196.coerce.date(),
|
|
5624
5616
|
meta: ObjectMeta,
|
|
5625
|
-
version:
|
|
5626
|
-
isReadonly:
|
|
5627
|
-
changeLog:
|
|
5628
|
-
designSystemId:
|
|
5617
|
+
version: z196.string(),
|
|
5618
|
+
isReadonly: z196.boolean(),
|
|
5619
|
+
changeLog: z196.string(),
|
|
5620
|
+
designSystemId: z196.string()
|
|
5629
5621
|
});
|
|
5630
|
-
var DTODesignSystemVersionsListResponse =
|
|
5631
|
-
designSystemVersions:
|
|
5622
|
+
var DTODesignSystemVersionsListResponse = z196.object({
|
|
5623
|
+
designSystemVersions: z196.array(DTODesignSystemVersion)
|
|
5632
5624
|
});
|
|
5633
|
-
var DTODesignSystemVersionGetResponse =
|
|
5625
|
+
var DTODesignSystemVersionGetResponse = z196.object({
|
|
5634
5626
|
designSystemVersion: DTODesignSystemVersion
|
|
5635
5627
|
});
|
|
5636
|
-
var DTODesignSystemVersionCreationResponse =
|
|
5628
|
+
var DTODesignSystemVersionCreationResponse = z196.object({
|
|
5637
5629
|
meta: ObjectMeta,
|
|
5638
|
-
version:
|
|
5639
|
-
changeLog:
|
|
5640
|
-
isReadOnly:
|
|
5641
|
-
designSystemId:
|
|
5642
|
-
jobId:
|
|
5643
|
-
});
|
|
5644
|
-
var VersionSQSPayload =
|
|
5645
|
-
jobId:
|
|
5646
|
-
designSystemId:
|
|
5630
|
+
version: z196.string(),
|
|
5631
|
+
changeLog: z196.string(),
|
|
5632
|
+
isReadOnly: z196.boolean(),
|
|
5633
|
+
designSystemId: z196.string(),
|
|
5634
|
+
jobId: z196.string()
|
|
5635
|
+
});
|
|
5636
|
+
var VersionSQSPayload = z196.object({
|
|
5637
|
+
jobId: z196.string(),
|
|
5638
|
+
designSystemId: z196.string(),
|
|
5647
5639
|
input: DTOCreateVersionInput
|
|
5648
5640
|
});
|
|
5649
|
-
var DTODesignSystemVersionJobsResponse =
|
|
5650
|
-
jobs:
|
|
5641
|
+
var DTODesignSystemVersionJobsResponse = z196.object({
|
|
5642
|
+
jobs: z196.array(VersionCreationJob)
|
|
5651
5643
|
});
|
|
5652
|
-
var DTODesignSystemVersionJobStatusResponse =
|
|
5644
|
+
var DTODesignSystemVersionJobStatusResponse = z196.object({
|
|
5653
5645
|
job: VersionCreationJob
|
|
5654
5646
|
});
|
|
5655
5647
|
|
|
5656
5648
|
// src/api/dto/design-systems/view.ts
|
|
5657
|
-
import { z as
|
|
5658
|
-
var DTOElementViewColumnSharedAttributes =
|
|
5659
|
-
id:
|
|
5660
|
-
persistentId:
|
|
5661
|
-
width:
|
|
5649
|
+
import { z as z197 } from "zod";
|
|
5650
|
+
var DTOElementViewColumnSharedAttributes = z197.object({
|
|
5651
|
+
id: z197.string(),
|
|
5652
|
+
persistentId: z197.string(),
|
|
5653
|
+
width: z197.number()
|
|
5662
5654
|
});
|
|
5663
5655
|
var DTOElementViewBasePropertyColumn = DTOElementViewColumnSharedAttributes.extend({
|
|
5664
|
-
type:
|
|
5656
|
+
type: z197.literal("BaseProperty"),
|
|
5665
5657
|
basePropertyType: ElementViewBaseColumnType
|
|
5666
5658
|
});
|
|
5667
5659
|
var DTOElementViewPropertyDefinitionColumn = DTOElementViewColumnSharedAttributes.extend({
|
|
5668
|
-
type:
|
|
5669
|
-
propertyDefinitionId:
|
|
5660
|
+
type: z197.literal("PropertyDefinition"),
|
|
5661
|
+
propertyDefinitionId: z197.string()
|
|
5670
5662
|
});
|
|
5671
5663
|
var DTOElementViewThemeColumn = DTOElementViewColumnSharedAttributes.extend({
|
|
5672
|
-
type:
|
|
5673
|
-
themeId:
|
|
5664
|
+
type: z197.literal("Theme"),
|
|
5665
|
+
themeId: z197.string()
|
|
5674
5666
|
});
|
|
5675
|
-
var DTOElementViewColumn =
|
|
5667
|
+
var DTOElementViewColumn = z197.discriminatedUnion("type", [
|
|
5676
5668
|
DTOElementViewBasePropertyColumn,
|
|
5677
5669
|
DTOElementViewPropertyDefinitionColumn,
|
|
5678
5670
|
DTOElementViewThemeColumn
|
|
5679
5671
|
]);
|
|
5680
|
-
var DTOElementView =
|
|
5672
|
+
var DTOElementView = z197.object({
|
|
5681
5673
|
meta: ObjectMeta,
|
|
5682
|
-
persistentId:
|
|
5674
|
+
persistentId: z197.string(),
|
|
5683
5675
|
targetElementType: ElementPropertyTargetType,
|
|
5684
|
-
id:
|
|
5685
|
-
isDefault:
|
|
5686
|
-
columns:
|
|
5676
|
+
id: z197.string(),
|
|
5677
|
+
isDefault: z197.boolean(),
|
|
5678
|
+
columns: z197.array(DTOElementViewColumn)
|
|
5687
5679
|
});
|
|
5688
|
-
var DTOElementViewsListResponse =
|
|
5689
|
-
elementDataViews:
|
|
5680
|
+
var DTOElementViewsListResponse = z197.object({
|
|
5681
|
+
elementDataViews: z197.array(DTOElementView)
|
|
5690
5682
|
});
|
|
5691
5683
|
|
|
5692
5684
|
// src/api/dto/workspaces/git.ts
|
|
5693
|
-
import { z as
|
|
5694
|
-
var DTOGitOrganization =
|
|
5695
|
-
id:
|
|
5696
|
-
name:
|
|
5697
|
-
url:
|
|
5698
|
-
slug:
|
|
5685
|
+
import { z as z198 } from "zod";
|
|
5686
|
+
var DTOGitOrganization = z198.object({
|
|
5687
|
+
id: z198.string(),
|
|
5688
|
+
name: z198.string(),
|
|
5689
|
+
url: z198.string(),
|
|
5690
|
+
slug: z198.string()
|
|
5699
5691
|
});
|
|
5700
|
-
var DTOGitProject =
|
|
5701
|
-
id:
|
|
5702
|
-
name:
|
|
5703
|
-
url:
|
|
5704
|
-
slug:
|
|
5692
|
+
var DTOGitProject = z198.object({
|
|
5693
|
+
id: z198.string(),
|
|
5694
|
+
name: z198.string(),
|
|
5695
|
+
url: z198.string(),
|
|
5696
|
+
slug: z198.string()
|
|
5705
5697
|
});
|
|
5706
|
-
var DTOGitRepository =
|
|
5707
|
-
id:
|
|
5708
|
-
name:
|
|
5709
|
-
url:
|
|
5710
|
-
slug:
|
|
5711
|
-
defaultBranch:
|
|
5698
|
+
var DTOGitRepository = z198.object({
|
|
5699
|
+
id: z198.string(),
|
|
5700
|
+
name: z198.string(),
|
|
5701
|
+
url: z198.string(),
|
|
5702
|
+
slug: z198.string(),
|
|
5703
|
+
defaultBranch: z198.string().optional()
|
|
5712
5704
|
});
|
|
5713
|
-
var DTOGitBranch =
|
|
5714
|
-
name:
|
|
5715
|
-
lastCommitId:
|
|
5705
|
+
var DTOGitBranch = z198.object({
|
|
5706
|
+
name: z198.string(),
|
|
5707
|
+
lastCommitId: z198.string()
|
|
5716
5708
|
});
|
|
5717
5709
|
|
|
5718
5710
|
// src/api/dto/workspaces/integrations.ts
|
|
5719
|
-
import { z as
|
|
5711
|
+
import { z as z199 } from "zod";
|
|
5720
5712
|
var DTOIntegrationCredentials = IntegrationCredentials.omit({
|
|
5721
5713
|
accessToken: true,
|
|
5722
5714
|
refreshToken: true
|
|
5723
5715
|
});
|
|
5724
|
-
var DTOIntegration =
|
|
5725
|
-
id:
|
|
5726
|
-
workspaceId:
|
|
5716
|
+
var DTOIntegration = z199.object({
|
|
5717
|
+
id: z199.string(),
|
|
5718
|
+
workspaceId: z199.string(),
|
|
5727
5719
|
type: ExtendedIntegrationType,
|
|
5728
|
-
createdAt:
|
|
5729
|
-
integrationCredentials:
|
|
5730
|
-
integrationDesignSystems:
|
|
5720
|
+
createdAt: z199.coerce.date(),
|
|
5721
|
+
integrationCredentials: z199.array(DTOIntegrationCredentials).optional(),
|
|
5722
|
+
integrationDesignSystems: z199.array(IntegrationDesignSystem).optional()
|
|
5731
5723
|
});
|
|
5732
|
-
var DTOIntegrationOAuthGetResponse =
|
|
5733
|
-
url:
|
|
5724
|
+
var DTOIntegrationOAuthGetResponse = z199.object({
|
|
5725
|
+
url: z199.string()
|
|
5734
5726
|
});
|
|
5735
|
-
var DTOIntegrationPostResponse =
|
|
5727
|
+
var DTOIntegrationPostResponse = z199.object({
|
|
5736
5728
|
integration: DTOIntegration
|
|
5737
5729
|
});
|
|
5738
|
-
var DTOIntegrationsGetListResponse =
|
|
5730
|
+
var DTOIntegrationsGetListResponse = z199.object({
|
|
5739
5731
|
integrations: DTOIntegration.array()
|
|
5740
5732
|
});
|
|
5741
5733
|
|
|
5742
5734
|
// src/api/dto/workspaces/invitations.ts
|
|
5743
|
-
import { z as
|
|
5744
|
-
var DTOWorkspaceInvitationInput =
|
|
5745
|
-
email:
|
|
5735
|
+
import { z as z200 } from "zod";
|
|
5736
|
+
var DTOWorkspaceInvitationInput = z200.object({
|
|
5737
|
+
email: z200.string().email(),
|
|
5746
5738
|
role: WorkspaceRoleSchema
|
|
5747
5739
|
});
|
|
5748
|
-
var DTOWorkspaceInvitationsListInput =
|
|
5740
|
+
var DTOWorkspaceInvitationsListInput = z200.object({
|
|
5749
5741
|
invites: DTOWorkspaceInvitationInput.array().max(100),
|
|
5750
|
-
designSystemId:
|
|
5742
|
+
designSystemId: z200.string().optional()
|
|
5751
5743
|
});
|
|
5752
|
-
var DTOWorkspaceInvitationsResponse =
|
|
5744
|
+
var DTOWorkspaceInvitationsResponse = z200.object({
|
|
5753
5745
|
invitations: WorkspaceInvitation.array()
|
|
5754
5746
|
});
|
|
5755
|
-
var DTOWorkspaceInviteUpdate =
|
|
5747
|
+
var DTOWorkspaceInviteUpdate = z200.object({
|
|
5756
5748
|
role: WorkspaceRoleSchema
|
|
5757
5749
|
});
|
|
5758
|
-
var DTOWorkspaceInvitationUpdateResponse =
|
|
5750
|
+
var DTOWorkspaceInvitationUpdateResponse = z200.object({
|
|
5759
5751
|
invitation: WorkspaceInvitation
|
|
5760
5752
|
});
|
|
5761
5753
|
|
|
5762
5754
|
// src/api/dto/workspaces/membership.ts
|
|
5763
|
-
import { z as
|
|
5755
|
+
import { z as z203 } from "zod";
|
|
5764
5756
|
|
|
5765
5757
|
// src/api/dto/workspaces/workspace.ts
|
|
5766
|
-
import { z as
|
|
5758
|
+
import { z as z202 } from "zod";
|
|
5767
5759
|
|
|
5768
5760
|
// src/api/dto/workspaces/npm-registry.ts
|
|
5769
|
-
import { z as
|
|
5761
|
+
import { z as z201 } from "zod";
|
|
5770
5762
|
var DTONpmRegistryConfigConstants = {
|
|
5771
5763
|
passwordPlaceholder: "redacted"
|
|
5772
5764
|
};
|
|
5773
|
-
var DTONpmRegistryConfig =
|
|
5765
|
+
var DTONpmRegistryConfig = z201.object({
|
|
5774
5766
|
// Registry basic configuration
|
|
5775
5767
|
registryType: NpmRegistryType,
|
|
5776
|
-
registryUrl:
|
|
5777
|
-
customRegistryUrl:
|
|
5768
|
+
registryUrl: z201.string(),
|
|
5769
|
+
customRegistryUrl: z201.string().optional(),
|
|
5778
5770
|
// URL of Supernova NPM packages proxy
|
|
5779
|
-
proxyUrl:
|
|
5771
|
+
proxyUrl: z201.string(),
|
|
5780
5772
|
// Auth configuration
|
|
5781
5773
|
authType: NpmRegistryAuthType,
|
|
5782
|
-
accessToken:
|
|
5783
|
-
username:
|
|
5784
|
-
password:
|
|
5774
|
+
accessToken: z201.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
|
|
5775
|
+
username: z201.string().optional(),
|
|
5776
|
+
password: z201.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
|
|
5785
5777
|
// NPM package scopes for whih the proxy should be enabled
|
|
5786
|
-
enabledScopes:
|
|
5778
|
+
enabledScopes: z201.array(z201.string()),
|
|
5787
5779
|
// True if client should bypass Supernova proxy and connect directly to the registry
|
|
5788
5780
|
// (e.g. when the NPM registry is behind a VPN or firewall which prevents Supernova from accessing it)
|
|
5789
|
-
bypassProxy:
|
|
5781
|
+
bypassProxy: z201.boolean()
|
|
5790
5782
|
});
|
|
5791
5783
|
|
|
5792
5784
|
// src/api/dto/workspaces/workspace.ts
|
|
5793
|
-
var DTOWorkspace =
|
|
5794
|
-
id:
|
|
5785
|
+
var DTOWorkspace = z202.object({
|
|
5786
|
+
id: z202.string(),
|
|
5795
5787
|
profile: WorkspaceProfile,
|
|
5796
5788
|
subscription: Subscription,
|
|
5797
5789
|
npmRegistry: DTONpmRegistryConfig.optional()
|
|
5798
5790
|
});
|
|
5799
|
-
var DTOWorkspaceCreateInput =
|
|
5800
|
-
name:
|
|
5791
|
+
var DTOWorkspaceCreateInput = z202.object({
|
|
5792
|
+
name: z202.string()
|
|
5801
5793
|
});
|
|
5802
|
-
var DTOWorkspaceResponse =
|
|
5794
|
+
var DTOWorkspaceResponse = z202.object({
|
|
5803
5795
|
workspace: DTOWorkspace
|
|
5804
5796
|
});
|
|
5805
5797
|
|
|
5806
5798
|
// src/api/dto/workspaces/membership.ts
|
|
5807
|
-
var DTOWorkspaceRole =
|
|
5808
|
-
var DTOUserWorkspaceMembership =
|
|
5799
|
+
var DTOWorkspaceRole = z203.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
|
|
5800
|
+
var DTOUserWorkspaceMembership = z203.object({
|
|
5809
5801
|
// Workspace the user is a member of
|
|
5810
5802
|
workspace: DTOWorkspace,
|
|
5811
5803
|
// Assigned role the user has in the workspace
|
|
@@ -5815,26 +5807,26 @@ var DTOUserWorkspaceMembership = z204.object({
|
|
|
5815
5807
|
// when a workspace's subscription is downgraded to free tier
|
|
5816
5808
|
effectiveRole: DTOWorkspaceRole
|
|
5817
5809
|
});
|
|
5818
|
-
var DTOWorkspaceMember =
|
|
5810
|
+
var DTOWorkspaceMember = z203.object({
|
|
5819
5811
|
user: User,
|
|
5820
5812
|
role: WorkspaceRoleSchema,
|
|
5821
5813
|
effectiveRole: WorkspaceRoleSchema
|
|
5822
5814
|
});
|
|
5823
|
-
var DTOUserWorkspaceMembershipsResponse =
|
|
5824
|
-
membership:
|
|
5815
|
+
var DTOUserWorkspaceMembershipsResponse = z203.object({
|
|
5816
|
+
membership: z203.array(DTOUserWorkspaceMembership)
|
|
5825
5817
|
});
|
|
5826
|
-
var DTOWorkspaceMembersListResponse =
|
|
5827
|
-
members:
|
|
5818
|
+
var DTOWorkspaceMembersListResponse = z203.object({
|
|
5819
|
+
members: z203.array(DTOWorkspaceMember)
|
|
5828
5820
|
});
|
|
5829
5821
|
|
|
5830
5822
|
// src/api/dto/bff/app-bootstrap-data.ts
|
|
5831
|
-
var DTOAppBootstrapDataQuery =
|
|
5832
|
-
preferredWorkspaceId:
|
|
5833
|
-
preferredDesignSystemId:
|
|
5834
|
-
preferredVersionId:
|
|
5835
|
-
preferredBrandId:
|
|
5823
|
+
var DTOAppBootstrapDataQuery = z204.object({
|
|
5824
|
+
preferredWorkspaceId: z204.string().optional(),
|
|
5825
|
+
preferredDesignSystemId: z204.string().optional(),
|
|
5826
|
+
preferredVersionId: z204.string().optional(),
|
|
5827
|
+
preferredBrandId: z204.string().optional()
|
|
5836
5828
|
});
|
|
5837
|
-
var DTOAppBootstrapDataResponse =
|
|
5829
|
+
var DTOAppBootstrapDataResponse = z204.object({
|
|
5838
5830
|
workspaceMembership: DTOUserWorkspaceMembership.optional(),
|
|
5839
5831
|
designSystem: DTODesignSystem.optional(),
|
|
5840
5832
|
version: DTODesignSystemVersion.optional(),
|
|
@@ -5842,54 +5834,65 @@ var DTOAppBootstrapDataResponse = z205.object({
|
|
|
5842
5834
|
});
|
|
5843
5835
|
|
|
5844
5836
|
// src/api/dto/collections/collection.ts
|
|
5845
|
-
import { z as
|
|
5846
|
-
var DTOTokenCollection =
|
|
5847
|
-
id:
|
|
5848
|
-
persistentId:
|
|
5849
|
-
designSystemVersionId:
|
|
5837
|
+
import { z as z205 } from "zod";
|
|
5838
|
+
var DTOTokenCollection = z205.object({
|
|
5839
|
+
id: z205.string(),
|
|
5840
|
+
persistentId: z205.string(),
|
|
5841
|
+
designSystemVersionId: z205.string(),
|
|
5850
5842
|
meta: ObjectMeta,
|
|
5851
|
-
createdAt:
|
|
5852
|
-
updatedAt:
|
|
5853
|
-
origin:
|
|
5854
|
-
id:
|
|
5855
|
-
sourceId:
|
|
5843
|
+
createdAt: z205.coerce.date(),
|
|
5844
|
+
updatedAt: z205.coerce.date(),
|
|
5845
|
+
origin: z205.object({
|
|
5846
|
+
id: z205.string(),
|
|
5847
|
+
sourceId: z205.string()
|
|
5856
5848
|
})
|
|
5857
5849
|
});
|
|
5858
|
-
var DTOTokenCollectionsListReponse =
|
|
5850
|
+
var DTOTokenCollectionsListReponse = z205.object({
|
|
5859
5851
|
collections: DTOTokenCollection.array()
|
|
5860
5852
|
});
|
|
5861
5853
|
|
|
5862
5854
|
// src/api/dto/design-tokens/design-token.ts
|
|
5863
|
-
import { z as
|
|
5855
|
+
import { z as z206 } from "zod";
|
|
5864
5856
|
var DTODesignToken = DesignTokenTypedData.and(
|
|
5865
|
-
|
|
5866
|
-
id:
|
|
5867
|
-
persistentId:
|
|
5868
|
-
designSystemVersionId:
|
|
5857
|
+
z206.object({
|
|
5858
|
+
id: z206.string(),
|
|
5859
|
+
persistentId: z206.string(),
|
|
5860
|
+
designSystemVersionId: z206.string(),
|
|
5869
5861
|
meta: ObjectMeta,
|
|
5870
|
-
|
|
5871
|
-
brandId:
|
|
5872
|
-
updatedAt:
|
|
5862
|
+
originStyle: DesignTokenOrigin.optional(),
|
|
5863
|
+
brandId: z206.string(),
|
|
5864
|
+
updatedAt: z206.coerce.date()
|
|
5873
5865
|
})
|
|
5874
5866
|
);
|
|
5875
|
-
var DTODesignTokenListResponse =
|
|
5867
|
+
var DTODesignTokenListResponse = z206.object({
|
|
5876
5868
|
tokens: DTODesignToken.array()
|
|
5877
5869
|
});
|
|
5870
|
+
var DTODesignTokenResponse = z206.object({
|
|
5871
|
+
token: DTODesignToken
|
|
5872
|
+
});
|
|
5873
|
+
var DTODesignTokenCreatePayload = DesignTokenTypedData.and(
|
|
5874
|
+
z206.object({
|
|
5875
|
+
persistentId: z206.string(),
|
|
5876
|
+
meta: ObjectMeta,
|
|
5877
|
+
brandId: z206.string(),
|
|
5878
|
+
groupPersistentId: z206.string().optional()
|
|
5879
|
+
})
|
|
5880
|
+
);
|
|
5878
5881
|
|
|
5879
5882
|
// src/api/dto/documentation/anchor.ts
|
|
5880
|
-
import { z as
|
|
5883
|
+
import { z as z207 } from "zod";
|
|
5881
5884
|
var DTODocumentationPageAnchor = DocumentationPageAnchor;
|
|
5882
|
-
var DTOGetDocumentationPageAnchorsResponse =
|
|
5883
|
-
anchors:
|
|
5885
|
+
var DTOGetDocumentationPageAnchorsResponse = z207.object({
|
|
5886
|
+
anchors: z207.array(DTODocumentationPageAnchor)
|
|
5884
5887
|
});
|
|
5885
5888
|
|
|
5886
5889
|
// src/api/dto/documentation/approvals.ts
|
|
5887
|
-
import { z as
|
|
5890
|
+
import { z as z208 } from "zod";
|
|
5888
5891
|
var DTODocumentationPageApprovalState = DocumentationPageApproval;
|
|
5889
|
-
var DTODocumentationGroupApprovalState =
|
|
5890
|
-
persistentId:
|
|
5891
|
-
groupId:
|
|
5892
|
-
designSystemVersionId:
|
|
5892
|
+
var DTODocumentationGroupApprovalState = z208.object({
|
|
5893
|
+
persistentId: z208.string(),
|
|
5894
|
+
groupId: z208.string(),
|
|
5895
|
+
designSystemVersionId: z208.string(),
|
|
5893
5896
|
approvalState: DocumentationPageApprovalState
|
|
5894
5897
|
});
|
|
5895
5898
|
|
|
@@ -5897,68 +5900,68 @@ var DTODocumentationGroupApprovalState = z209.object({
|
|
|
5897
5900
|
var DTOPageBlockItemV2 = PageBlockItemV2;
|
|
5898
5901
|
|
|
5899
5902
|
// src/api/dto/documentation/documentation-page-snapshot.ts
|
|
5900
|
-
import { z as
|
|
5903
|
+
import { z as z213 } from "zod";
|
|
5901
5904
|
|
|
5902
5905
|
// src/api/dto/elements/documentation/page-v2.ts
|
|
5903
|
-
import { z as
|
|
5906
|
+
import { z as z212 } from "zod";
|
|
5904
5907
|
|
|
5905
5908
|
// src/api/dto/elements/documentation/draft-state.ts
|
|
5906
|
-
import { z as
|
|
5909
|
+
import { z as z210 } from "zod";
|
|
5907
5910
|
|
|
5908
5911
|
// src/api/dto/elements/documentation/item-configuration-v2.ts
|
|
5909
|
-
import { z as
|
|
5912
|
+
import { z as z209 } from "zod";
|
|
5910
5913
|
var DTODocumentationItemHeaderV2 = DocumentationItemHeaderV2;
|
|
5911
|
-
var DTODocumentationItemConfigurationV2 =
|
|
5912
|
-
showSidebar:
|
|
5913
|
-
isPrivate:
|
|
5914
|
-
isHidden:
|
|
5914
|
+
var DTODocumentationItemConfigurationV2 = z209.object({
|
|
5915
|
+
showSidebar: z209.boolean(),
|
|
5916
|
+
isPrivate: z209.boolean(),
|
|
5917
|
+
isHidden: z209.boolean(),
|
|
5915
5918
|
header: DTODocumentationItemHeaderV2
|
|
5916
5919
|
});
|
|
5917
5920
|
|
|
5918
5921
|
// src/api/dto/elements/documentation/draft-state.ts
|
|
5919
|
-
var DTODocumentationDraftChangeType =
|
|
5920
|
-
var DTODocumentationDraftStateCreated =
|
|
5921
|
-
changeType:
|
|
5922
|
-
});
|
|
5923
|
-
var DTODocumentationDraftStateUpdated =
|
|
5924
|
-
changeType:
|
|
5925
|
-
changes:
|
|
5926
|
-
previousTitle:
|
|
5922
|
+
var DTODocumentationDraftChangeType = z210.enum(["Created", "Updated", "Deleted"]);
|
|
5923
|
+
var DTODocumentationDraftStateCreated = z210.object({
|
|
5924
|
+
changeType: z210.literal(DTODocumentationDraftChangeType.enum.Created)
|
|
5925
|
+
});
|
|
5926
|
+
var DTODocumentationDraftStateUpdated = z210.object({
|
|
5927
|
+
changeType: z210.literal(DTODocumentationDraftChangeType.enum.Updated),
|
|
5928
|
+
changes: z210.object({
|
|
5929
|
+
previousTitle: z210.string().optional(),
|
|
5927
5930
|
previousConfiguration: DTODocumentationItemConfigurationV2.optional(),
|
|
5928
|
-
previousContentHash:
|
|
5931
|
+
previousContentHash: z210.string().optional()
|
|
5929
5932
|
})
|
|
5930
5933
|
});
|
|
5931
|
-
var DTODocumentationDraftStateDeleted =
|
|
5932
|
-
changeType:
|
|
5933
|
-
deletedAt:
|
|
5934
|
-
deletedByUserId:
|
|
5934
|
+
var DTODocumentationDraftStateDeleted = z210.object({
|
|
5935
|
+
changeType: z210.literal(DTODocumentationDraftChangeType.enum.Deleted),
|
|
5936
|
+
deletedAt: z210.coerce.date(),
|
|
5937
|
+
deletedByUserId: z210.string()
|
|
5935
5938
|
});
|
|
5936
|
-
var DTODocumentationDraftState =
|
|
5939
|
+
var DTODocumentationDraftState = z210.discriminatedUnion("changeType", [
|
|
5937
5940
|
DTODocumentationDraftStateCreated,
|
|
5938
5941
|
DTODocumentationDraftStateUpdated,
|
|
5939
5942
|
DTODocumentationDraftStateDeleted
|
|
5940
5943
|
]);
|
|
5941
5944
|
|
|
5942
5945
|
// src/api/dto/elements/documentation/metadata.ts
|
|
5943
|
-
import { z as
|
|
5944
|
-
var DTODocumentationPublishMetadata =
|
|
5945
|
-
lastPublishedByUserId:
|
|
5946
|
-
lastPublishedAt:
|
|
5946
|
+
import { z as z211 } from "zod";
|
|
5947
|
+
var DTODocumentationPublishMetadata = z211.object({
|
|
5948
|
+
lastPublishedByUserId: z211.string(),
|
|
5949
|
+
lastPublishedAt: z211.coerce.date()
|
|
5947
5950
|
});
|
|
5948
5951
|
|
|
5949
5952
|
// src/api/dto/elements/documentation/page-v2.ts
|
|
5950
|
-
var DTODocumentationPageV2 =
|
|
5951
|
-
id:
|
|
5952
|
-
persistentId:
|
|
5953
|
-
designSystemVersionId:
|
|
5954
|
-
title:
|
|
5953
|
+
var DTODocumentationPageV2 = z212.object({
|
|
5954
|
+
id: z212.string(),
|
|
5955
|
+
persistentId: z212.string(),
|
|
5956
|
+
designSystemVersionId: z212.string(),
|
|
5957
|
+
title: z212.string(),
|
|
5955
5958
|
configuration: DTODocumentationItemConfigurationV2,
|
|
5956
|
-
shortPersistentId:
|
|
5957
|
-
slug:
|
|
5958
|
-
userSlug:
|
|
5959
|
-
createdAt:
|
|
5960
|
-
updatedAt:
|
|
5961
|
-
path:
|
|
5959
|
+
shortPersistentId: z212.string(),
|
|
5960
|
+
slug: z212.string().optional(),
|
|
5961
|
+
userSlug: z212.string().optional(),
|
|
5962
|
+
createdAt: z212.coerce.date(),
|
|
5963
|
+
updatedAt: z212.coerce.date(),
|
|
5964
|
+
path: z212.string(),
|
|
5962
5965
|
/** Defined when a page has changed since last publish and can be included into a partial publish */
|
|
5963
5966
|
draftState: DTODocumentationDraftState.optional(),
|
|
5964
5967
|
/** Defined if a page was published at least once and contains metadata about last publish */
|
|
@@ -5966,197 +5969,197 @@ var DTODocumentationPageV2 = z213.object({
|
|
|
5966
5969
|
/** Defines the approval state of the documentation page */
|
|
5967
5970
|
approvalState: DTODocumentationPageApprovalState.optional(),
|
|
5968
5971
|
// Backward compatibility
|
|
5969
|
-
type:
|
|
5972
|
+
type: z212.literal("Page")
|
|
5970
5973
|
});
|
|
5971
|
-
var DTOCreateDocumentationPageInputV2 =
|
|
5974
|
+
var DTOCreateDocumentationPageInputV2 = z212.object({
|
|
5972
5975
|
// Identifier
|
|
5973
|
-
persistentId:
|
|
5976
|
+
persistentId: z212.string(),
|
|
5974
5977
|
// Page properties
|
|
5975
|
-
title:
|
|
5978
|
+
title: z212.string(),
|
|
5976
5979
|
configuration: DTODocumentationItemConfigurationV2.partial().optional(),
|
|
5977
5980
|
// Page placement properties
|
|
5978
|
-
parentPersistentId:
|
|
5979
|
-
afterPersistentId:
|
|
5981
|
+
parentPersistentId: z212.string(),
|
|
5982
|
+
afterPersistentId: z212.string().nullish()
|
|
5980
5983
|
});
|
|
5981
|
-
var DTOUpdateDocumentationPageInputV2 =
|
|
5984
|
+
var DTOUpdateDocumentationPageInputV2 = z212.object({
|
|
5982
5985
|
// Identifier of the group to update
|
|
5983
|
-
id:
|
|
5986
|
+
id: z212.string(),
|
|
5984
5987
|
// Page properties
|
|
5985
|
-
title:
|
|
5988
|
+
title: z212.string().optional(),
|
|
5986
5989
|
configuration: DTODocumentationItemConfigurationV2.partial().optional()
|
|
5987
5990
|
});
|
|
5988
|
-
var DTOMoveDocumentationPageInputV2 =
|
|
5991
|
+
var DTOMoveDocumentationPageInputV2 = z212.object({
|
|
5989
5992
|
// Identifier of the group to update
|
|
5990
|
-
id:
|
|
5993
|
+
id: z212.string(),
|
|
5991
5994
|
// Page placement properties
|
|
5992
|
-
parentPersistentId:
|
|
5993
|
-
afterPersistentId:
|
|
5995
|
+
parentPersistentId: z212.string(),
|
|
5996
|
+
afterPersistentId: z212.string().nullish()
|
|
5994
5997
|
});
|
|
5995
|
-
var DTODuplicateDocumentationPageInputV2 =
|
|
5998
|
+
var DTODuplicateDocumentationPageInputV2 = z212.object({
|
|
5996
5999
|
// Identifier of the page to duplicate from
|
|
5997
|
-
id:
|
|
6000
|
+
id: z212.string(),
|
|
5998
6001
|
// New page persistent id
|
|
5999
|
-
persistentId:
|
|
6002
|
+
persistentId: z212.string(),
|
|
6000
6003
|
// Page placement properties
|
|
6001
|
-
parentPersistentId:
|
|
6002
|
-
afterPersistentId:
|
|
6004
|
+
parentPersistentId: z212.string(),
|
|
6005
|
+
afterPersistentId: z212.string().nullish()
|
|
6003
6006
|
});
|
|
6004
|
-
var DTODeleteDocumentationPageInputV2 =
|
|
6007
|
+
var DTODeleteDocumentationPageInputV2 = z212.object({
|
|
6005
6008
|
// Identifier
|
|
6006
|
-
id:
|
|
6009
|
+
id: z212.string()
|
|
6007
6010
|
});
|
|
6008
|
-
var DTORestoreDocumentationPageInput =
|
|
6009
|
-
persistentId:
|
|
6010
|
-
snapshotId:
|
|
6011
|
+
var DTORestoreDocumentationPageInput = z212.object({
|
|
6012
|
+
persistentId: z212.string(),
|
|
6013
|
+
snapshotId: z212.string().optional()
|
|
6011
6014
|
});
|
|
6012
|
-
var DTORestoreDocumentationGroupInput =
|
|
6013
|
-
persistentId:
|
|
6014
|
-
snapshotId:
|
|
6015
|
+
var DTORestoreDocumentationGroupInput = z212.object({
|
|
6016
|
+
persistentId: z212.string(),
|
|
6017
|
+
snapshotId: z212.string().optional()
|
|
6015
6018
|
});
|
|
6016
|
-
var DTODocumentationPageApprovalStateChangeInput =
|
|
6017
|
-
persistentId:
|
|
6019
|
+
var DTODocumentationPageApprovalStateChangeInput = z212.object({
|
|
6020
|
+
persistentId: z212.string(),
|
|
6018
6021
|
approvalState: DocumentationPageApprovalState.optional()
|
|
6019
6022
|
});
|
|
6020
6023
|
|
|
6021
6024
|
// src/api/dto/documentation/documentation-page-snapshot.ts
|
|
6022
|
-
var DTODocumentationPageSnapshot =
|
|
6023
|
-
id:
|
|
6024
|
-
designSystemVersionId:
|
|
6025
|
-
createdAt:
|
|
6026
|
-
updatedAt:
|
|
6025
|
+
var DTODocumentationPageSnapshot = z213.object({
|
|
6026
|
+
id: z213.string(),
|
|
6027
|
+
designSystemVersionId: z213.string(),
|
|
6028
|
+
createdAt: z213.string(),
|
|
6029
|
+
updatedAt: z213.string(),
|
|
6027
6030
|
documentationPage: DTODocumentationPageV2,
|
|
6028
|
-
pageContentHash:
|
|
6031
|
+
pageContentHash: z213.string(),
|
|
6029
6032
|
reason: DesignElementSnapshotReason
|
|
6030
6033
|
});
|
|
6031
6034
|
|
|
6032
6035
|
// src/api/dto/documentation/link-preview.ts
|
|
6033
|
-
import { z as
|
|
6034
|
-
var DTODocumentationLinkPreviewResponse =
|
|
6036
|
+
import { z as z214 } from "zod";
|
|
6037
|
+
var DTODocumentationLinkPreviewResponse = z214.object({
|
|
6035
6038
|
linkPreview: DocumentationLinkPreview
|
|
6036
6039
|
});
|
|
6037
|
-
var DTODocumentationLinkPreviewRequest =
|
|
6038
|
-
url:
|
|
6039
|
-
documentationItemPersistentId:
|
|
6040
|
+
var DTODocumentationLinkPreviewRequest = z214.object({
|
|
6041
|
+
url: z214.string().optional(),
|
|
6042
|
+
documentationItemPersistentId: z214.string().optional()
|
|
6040
6043
|
});
|
|
6041
6044
|
|
|
6042
6045
|
// src/api/dto/documentation/publish.ts
|
|
6043
|
-
import { z as
|
|
6046
|
+
import { z as z218 } from "zod";
|
|
6044
6047
|
|
|
6045
6048
|
// src/api/dto/export/exporter.ts
|
|
6046
|
-
import { z as
|
|
6047
|
-
var DTOExporterType =
|
|
6048
|
-
var DTOExporterSource =
|
|
6049
|
-
var DTOExporterMembershipRole =
|
|
6050
|
-
var DTOExporter =
|
|
6051
|
-
id:
|
|
6052
|
-
name:
|
|
6053
|
-
isPrivate:
|
|
6049
|
+
import { z as z215 } from "zod";
|
|
6050
|
+
var DTOExporterType = z215.enum(["documentation", "code"]);
|
|
6051
|
+
var DTOExporterSource = z215.enum(["git", "upload"]);
|
|
6052
|
+
var DTOExporterMembershipRole = z215.enum(["Owner", "OwnerArchived", "User"]);
|
|
6053
|
+
var DTOExporter = z215.object({
|
|
6054
|
+
id: z215.string(),
|
|
6055
|
+
name: z215.string(),
|
|
6056
|
+
isPrivate: z215.boolean(),
|
|
6054
6057
|
exporterType: DTOExporterType,
|
|
6055
|
-
isDefaultDocumentationExporter:
|
|
6056
|
-
iconURL:
|
|
6058
|
+
isDefaultDocumentationExporter: z215.boolean(),
|
|
6059
|
+
iconURL: z215.string().optional(),
|
|
6057
6060
|
configurationProperties: PulsarContributionConfigurationProperty.array(),
|
|
6058
6061
|
customBlocks: PulsarCustomBlock.array(),
|
|
6059
|
-
blockVariants:
|
|
6060
|
-
usesBrands:
|
|
6061
|
-
usesThemes:
|
|
6062
|
+
blockVariants: z215.record(z215.string(), PulsarContributionVariant.array()),
|
|
6063
|
+
usesBrands: z215.boolean(),
|
|
6064
|
+
usesThemes: z215.boolean(),
|
|
6062
6065
|
source: DTOExporterSource,
|
|
6063
|
-
gitUrl:
|
|
6064
|
-
gitBranch:
|
|
6065
|
-
gitDirectory:
|
|
6066
|
+
gitUrl: z215.string().optional(),
|
|
6067
|
+
gitBranch: z215.string().optional(),
|
|
6068
|
+
gitDirectory: z215.string().optional()
|
|
6066
6069
|
});
|
|
6067
|
-
var DTOExporterMembership =
|
|
6068
|
-
workspaceId:
|
|
6069
|
-
exporterId:
|
|
6070
|
+
var DTOExporterMembership = z215.object({
|
|
6071
|
+
workspaceId: z215.string(),
|
|
6072
|
+
exporterId: z215.string(),
|
|
6070
6073
|
role: DTOExporterMembershipRole
|
|
6071
6074
|
});
|
|
6072
|
-
var DTOExporterCreateOutput =
|
|
6075
|
+
var DTOExporterCreateOutput = z215.object({
|
|
6073
6076
|
exporter: DTOExporter,
|
|
6074
6077
|
membership: DTOExporterMembership
|
|
6075
6078
|
});
|
|
6076
|
-
var DTOExporterGitProviderEnum =
|
|
6077
|
-
var DTOExporterCreateInput =
|
|
6078
|
-
url:
|
|
6079
|
+
var DTOExporterGitProviderEnum = z215.enum(["github", "gitlab", "bitbucket", "azure"]);
|
|
6080
|
+
var DTOExporterCreateInput = z215.object({
|
|
6081
|
+
url: z215.string(),
|
|
6079
6082
|
provider: DTOExporterGitProviderEnum
|
|
6080
6083
|
});
|
|
6081
|
-
var DTOExporterUpdateInput =
|
|
6082
|
-
url:
|
|
6084
|
+
var DTOExporterUpdateInput = z215.object({
|
|
6085
|
+
url: z215.string().optional()
|
|
6083
6086
|
});
|
|
6084
6087
|
|
|
6085
6088
|
// src/api/dto/export/filter.ts
|
|
6086
6089
|
var DTOExportJobsListFilter = ExportJobFindByFilter;
|
|
6087
6090
|
|
|
6088
6091
|
// src/api/dto/export/job.ts
|
|
6089
|
-
import { z as
|
|
6090
|
-
var DTOExportJobCreatedBy =
|
|
6091
|
-
userId:
|
|
6092
|
-
userName:
|
|
6092
|
+
import { z as z216 } from "zod";
|
|
6093
|
+
var DTOExportJobCreatedBy = z216.object({
|
|
6094
|
+
userId: z216.string(),
|
|
6095
|
+
userName: z216.string()
|
|
6093
6096
|
});
|
|
6094
|
-
var DTOExportJobDesignSystemPreview =
|
|
6095
|
-
id:
|
|
6097
|
+
var DTOExportJobDesignSystemPreview = z216.object({
|
|
6098
|
+
id: z216.string(),
|
|
6096
6099
|
meta: ObjectMeta
|
|
6097
6100
|
});
|
|
6098
|
-
var DTOExportJobDesignSystemVersionPreview =
|
|
6099
|
-
id:
|
|
6101
|
+
var DTOExportJobDesignSystemVersionPreview = z216.object({
|
|
6102
|
+
id: z216.string(),
|
|
6100
6103
|
meta: ObjectMeta,
|
|
6101
|
-
version:
|
|
6102
|
-
isReadonly:
|
|
6104
|
+
version: z216.string(),
|
|
6105
|
+
isReadonly: z216.boolean()
|
|
6103
6106
|
});
|
|
6104
|
-
var DTOExportJobDestinations =
|
|
6107
|
+
var DTOExportJobDestinations = z216.object({
|
|
6105
6108
|
s3: ExporterDestinationS3.optional(),
|
|
6106
6109
|
azure: ExporterDestinationAzure.optional(),
|
|
6107
6110
|
bitbucket: ExporterDestinationBitbucket.optional(),
|
|
6108
6111
|
github: ExporterDestinationGithub.optional(),
|
|
6109
6112
|
gitlab: ExporterDestinationGitlab.optional(),
|
|
6110
6113
|
documentation: ExporterDestinationDocs.optional(),
|
|
6111
|
-
webhookUrl:
|
|
6114
|
+
webhookUrl: z216.string().optional()
|
|
6112
6115
|
});
|
|
6113
6116
|
var DTOExportJobResult = ExportJobResult.omit({
|
|
6114
6117
|
sndocs: true
|
|
6115
6118
|
}).extend({
|
|
6116
6119
|
documentation: ExportJobDocsDestinationResult.optional()
|
|
6117
6120
|
});
|
|
6118
|
-
var DTOExportJob =
|
|
6119
|
-
id:
|
|
6120
|
-
createdAt:
|
|
6121
|
-
finishedAt:
|
|
6122
|
-
index:
|
|
6121
|
+
var DTOExportJob = z216.object({
|
|
6122
|
+
id: z216.string(),
|
|
6123
|
+
createdAt: z216.coerce.date(),
|
|
6124
|
+
finishedAt: z216.coerce.date().optional(),
|
|
6125
|
+
index: z216.number().optional(),
|
|
6123
6126
|
status: ExportJobStatus,
|
|
6124
|
-
estimatedExecutionTime:
|
|
6127
|
+
estimatedExecutionTime: z216.number().optional(),
|
|
6125
6128
|
createdBy: DTOExportJobCreatedBy.optional(),
|
|
6126
6129
|
designSystem: DTOExportJobDesignSystemPreview,
|
|
6127
6130
|
designSystemVersion: DTOExportJobDesignSystemVersionPreview,
|
|
6128
6131
|
destinations: DTOExportJobDestinations,
|
|
6129
|
-
exporterId:
|
|
6130
|
-
scheduleId:
|
|
6132
|
+
exporterId: z216.string(),
|
|
6133
|
+
scheduleId: z216.string().optional(),
|
|
6131
6134
|
result: DTOExportJobResult.optional(),
|
|
6132
|
-
brandPersistentId:
|
|
6133
|
-
themePersistentId:
|
|
6134
|
-
themePersistentIds:
|
|
6135
|
+
brandPersistentId: z216.string().optional(),
|
|
6136
|
+
themePersistentId: z216.string().optional(),
|
|
6137
|
+
themePersistentIds: z216.string().array().optional()
|
|
6135
6138
|
});
|
|
6136
|
-
var DTOExportJobResponse =
|
|
6139
|
+
var DTOExportJobResponse = z216.object({
|
|
6137
6140
|
job: DTOExportJob
|
|
6138
6141
|
});
|
|
6139
6142
|
|
|
6140
6143
|
// src/api/dto/export/pipeline.ts
|
|
6141
|
-
import { z as
|
|
6142
|
-
var DTOPipeline =
|
|
6143
|
-
id:
|
|
6144
|
-
name:
|
|
6144
|
+
import { z as z217 } from "zod";
|
|
6145
|
+
var DTOPipeline = z217.object({
|
|
6146
|
+
id: z217.string(),
|
|
6147
|
+
name: z217.string(),
|
|
6145
6148
|
eventType: PipelineEventType,
|
|
6146
|
-
isEnabled:
|
|
6147
|
-
workspaceId:
|
|
6148
|
-
designSystemId:
|
|
6149
|
-
exporterId:
|
|
6150
|
-
brandPersistentId:
|
|
6151
|
-
themePersistentId:
|
|
6152
|
-
themePersistentIds:
|
|
6149
|
+
isEnabled: z217.boolean(),
|
|
6150
|
+
workspaceId: z217.string(),
|
|
6151
|
+
designSystemId: z217.string(),
|
|
6152
|
+
exporterId: z217.string(),
|
|
6153
|
+
brandPersistentId: z217.string().optional(),
|
|
6154
|
+
themePersistentId: z217.string().optional(),
|
|
6155
|
+
themePersistentIds: z217.string().array().optional(),
|
|
6153
6156
|
...ExportDestinationsMap.shape,
|
|
6154
6157
|
latestJobs: DTOExportJob.array()
|
|
6155
6158
|
});
|
|
6156
6159
|
|
|
6157
6160
|
// src/api/dto/documentation/publish.ts
|
|
6158
6161
|
var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
|
|
6159
|
-
var DTOPublishDocumentationRequest =
|
|
6162
|
+
var DTOPublishDocumentationRequest = z218.object({
|
|
6160
6163
|
environment: PublishedDocEnvironment,
|
|
6161
6164
|
/**
|
|
6162
6165
|
* If defined, this allows narrowing down what is published to a set of specific pages and groups
|
|
@@ -6164,42 +6167,42 @@ var DTOPublishDocumentationRequest = z219.object({
|
|
|
6164
6167
|
*/
|
|
6165
6168
|
changes: DTOPublishDocumentationChanges.optional()
|
|
6166
6169
|
});
|
|
6167
|
-
var DTOPublishDocumentationResponse =
|
|
6170
|
+
var DTOPublishDocumentationResponse = z218.object({
|
|
6168
6171
|
job: DTOExportJob
|
|
6169
6172
|
});
|
|
6170
6173
|
|
|
6171
6174
|
// src/api/dto/elements/components/figma-component.ts
|
|
6172
|
-
import { z as
|
|
6175
|
+
import { z as z219 } from "zod";
|
|
6173
6176
|
var DTOFigmaComponentProperty = FigmaComponentProperty;
|
|
6174
|
-
var DTOFigmaComponentPropertyMap =
|
|
6175
|
-
var DTOFigmaComponent =
|
|
6176
|
-
id:
|
|
6177
|
-
persistentId:
|
|
6178
|
-
designSystemVersionId:
|
|
6179
|
-
brandId:
|
|
6180
|
-
thumbnailUrl:
|
|
6181
|
-
svgUrl:
|
|
6182
|
-
exportProperties:
|
|
6183
|
-
isAsset:
|
|
6177
|
+
var DTOFigmaComponentPropertyMap = z219.record(DTOFigmaComponentProperty);
|
|
6178
|
+
var DTOFigmaComponent = z219.object({
|
|
6179
|
+
id: z219.string(),
|
|
6180
|
+
persistentId: z219.string(),
|
|
6181
|
+
designSystemVersionId: z219.string(),
|
|
6182
|
+
brandId: z219.string(),
|
|
6183
|
+
thumbnailUrl: z219.string().optional(),
|
|
6184
|
+
svgUrl: z219.string().optional(),
|
|
6185
|
+
exportProperties: z219.object({
|
|
6186
|
+
isAsset: z219.boolean()
|
|
6184
6187
|
}),
|
|
6185
|
-
createdAt:
|
|
6186
|
-
updatedAt:
|
|
6188
|
+
createdAt: z219.coerce.date(),
|
|
6189
|
+
updatedAt: z219.coerce.date(),
|
|
6187
6190
|
meta: ObjectMeta,
|
|
6188
6191
|
originComponent: FigmaComponentOrigin.optional(),
|
|
6189
|
-
parentComponentPersistentId:
|
|
6190
|
-
childrenPersistentIds:
|
|
6192
|
+
parentComponentPersistentId: z219.string().optional(),
|
|
6193
|
+
childrenPersistentIds: z219.string().array().optional(),
|
|
6191
6194
|
componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
|
|
6192
|
-
variantPropertyValues:
|
|
6195
|
+
variantPropertyValues: z219.record(z219.string()).optional()
|
|
6193
6196
|
});
|
|
6194
|
-
var DTOFigmaComponentListResponse =
|
|
6197
|
+
var DTOFigmaComponentListResponse = z219.object({
|
|
6195
6198
|
components: DTOFigmaComponent.array()
|
|
6196
6199
|
});
|
|
6197
6200
|
|
|
6198
6201
|
// src/api/dto/elements/documentation/group-action.ts
|
|
6199
|
-
import { z as
|
|
6202
|
+
import { z as z221 } from "zod";
|
|
6200
6203
|
|
|
6201
6204
|
// src/api/dto/elements/documentation/group-v2.ts
|
|
6202
|
-
import { z as
|
|
6205
|
+
import { z as z220 } from "zod";
|
|
6203
6206
|
var DTODocumentationGroupV2 = ElementGroup.omit({
|
|
6204
6207
|
sortOrder: true,
|
|
6205
6208
|
parentPersistentId: true,
|
|
@@ -6209,13 +6212,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
|
|
|
6209
6212
|
data: true,
|
|
6210
6213
|
shortPersistentId: true
|
|
6211
6214
|
}).extend({
|
|
6212
|
-
title:
|
|
6213
|
-
isRoot:
|
|
6214
|
-
childrenIds:
|
|
6215
|
+
title: z220.string(),
|
|
6216
|
+
isRoot: z220.boolean(),
|
|
6217
|
+
childrenIds: z220.array(z220.string()),
|
|
6215
6218
|
groupBehavior: DocumentationGroupBehavior,
|
|
6216
|
-
shortPersistentId:
|
|
6219
|
+
shortPersistentId: z220.string(),
|
|
6217
6220
|
configuration: DTODocumentationItemConfigurationV2,
|
|
6218
|
-
type:
|
|
6221
|
+
type: z220.literal("Group"),
|
|
6219
6222
|
/** Defined when a group has changed since last publish and can be included into a partial publish */
|
|
6220
6223
|
draftState: DTODocumentationDraftState.optional(),
|
|
6221
6224
|
/** Defined if a group was published at least once and contains metadata about last publish */
|
|
@@ -6223,127 +6226,127 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
|
|
|
6223
6226
|
//** An approval state for frontend to utilize. */
|
|
6224
6227
|
approvalState: DTODocumentationGroupApprovalState.optional()
|
|
6225
6228
|
});
|
|
6226
|
-
var DTOCreateDocumentationGroupInput =
|
|
6229
|
+
var DTOCreateDocumentationGroupInput = z220.object({
|
|
6227
6230
|
// Identifier
|
|
6228
|
-
persistentId:
|
|
6231
|
+
persistentId: z220.string(),
|
|
6229
6232
|
// Group properties
|
|
6230
|
-
title:
|
|
6233
|
+
title: z220.string(),
|
|
6231
6234
|
configuration: DTODocumentationItemConfigurationV2.partial().optional(),
|
|
6232
6235
|
// Group placement properties
|
|
6233
|
-
afterPersistentId:
|
|
6234
|
-
parentPersistentId:
|
|
6236
|
+
afterPersistentId: z220.string().nullish(),
|
|
6237
|
+
parentPersistentId: z220.string()
|
|
6235
6238
|
});
|
|
6236
|
-
var DTOUpdateDocumentationGroupInput =
|
|
6239
|
+
var DTOUpdateDocumentationGroupInput = z220.object({
|
|
6237
6240
|
// Identifier of the group to update
|
|
6238
|
-
id:
|
|
6241
|
+
id: z220.string(),
|
|
6239
6242
|
// Group properties
|
|
6240
|
-
title:
|
|
6243
|
+
title: z220.string().optional(),
|
|
6241
6244
|
configuration: DTODocumentationItemConfigurationV2.partial().optional()
|
|
6242
6245
|
});
|
|
6243
|
-
var DTOMoveDocumentationGroupInput =
|
|
6246
|
+
var DTOMoveDocumentationGroupInput = z220.object({
|
|
6244
6247
|
// Identifier of the group to update
|
|
6245
|
-
id:
|
|
6248
|
+
id: z220.string(),
|
|
6246
6249
|
// Group placement properties
|
|
6247
|
-
parentPersistentId:
|
|
6248
|
-
afterPersistentId:
|
|
6250
|
+
parentPersistentId: z220.string(),
|
|
6251
|
+
afterPersistentId: z220.string().nullish()
|
|
6249
6252
|
});
|
|
6250
|
-
var DTODuplicateDocumentationGroupInput =
|
|
6253
|
+
var DTODuplicateDocumentationGroupInput = z220.object({
|
|
6251
6254
|
// Identifier of the group to duplicate from
|
|
6252
|
-
id:
|
|
6255
|
+
id: z220.string(),
|
|
6253
6256
|
// New group persistent id
|
|
6254
|
-
persistentId:
|
|
6257
|
+
persistentId: z220.string(),
|
|
6255
6258
|
// Group placement properties
|
|
6256
|
-
afterPersistentId:
|
|
6257
|
-
parentPersistentId:
|
|
6259
|
+
afterPersistentId: z220.string().nullish(),
|
|
6260
|
+
parentPersistentId: z220.string()
|
|
6258
6261
|
});
|
|
6259
|
-
var DTOCreateDocumentationTabInput =
|
|
6262
|
+
var DTOCreateDocumentationTabInput = z220.object({
|
|
6260
6263
|
// New group persistent id
|
|
6261
|
-
persistentId:
|
|
6264
|
+
persistentId: z220.string(),
|
|
6262
6265
|
// If this is page, we will attempt to convert it to tab
|
|
6263
6266
|
// If this is tab group, we will add a new tab to it
|
|
6264
|
-
fromItemPersistentId:
|
|
6265
|
-
tabName:
|
|
6267
|
+
fromItemPersistentId: z220.string(),
|
|
6268
|
+
tabName: z220.string()
|
|
6266
6269
|
});
|
|
6267
|
-
var DTODeleteDocumentationTabGroupInput =
|
|
6270
|
+
var DTODeleteDocumentationTabGroupInput = z220.object({
|
|
6268
6271
|
// Deleted group id
|
|
6269
|
-
id:
|
|
6272
|
+
id: z220.string()
|
|
6270
6273
|
});
|
|
6271
|
-
var DTODeleteDocumentationGroupInput =
|
|
6274
|
+
var DTODeleteDocumentationGroupInput = z220.object({
|
|
6272
6275
|
// Identifier
|
|
6273
|
-
id:
|
|
6276
|
+
id: z220.string(),
|
|
6274
6277
|
// Deletion options
|
|
6275
|
-
deleteSubtree:
|
|
6278
|
+
deleteSubtree: z220.boolean().default(false)
|
|
6276
6279
|
});
|
|
6277
6280
|
|
|
6278
6281
|
// src/api/dto/elements/documentation/group-action.ts
|
|
6279
|
-
var SuccessPayload =
|
|
6280
|
-
success:
|
|
6282
|
+
var SuccessPayload = z221.object({
|
|
6283
|
+
success: z221.literal(true)
|
|
6281
6284
|
});
|
|
6282
|
-
var DTODocumentationGroupCreateActionOutputV2 =
|
|
6283
|
-
type:
|
|
6285
|
+
var DTODocumentationGroupCreateActionOutputV2 = z221.object({
|
|
6286
|
+
type: z221.literal("DocumentationGroupCreate"),
|
|
6284
6287
|
output: SuccessPayload
|
|
6285
6288
|
});
|
|
6286
|
-
var DTODocumentationTabCreateActionOutputV2 =
|
|
6287
|
-
type:
|
|
6289
|
+
var DTODocumentationTabCreateActionOutputV2 = z221.object({
|
|
6290
|
+
type: z221.literal("DocumentationTabCreate"),
|
|
6288
6291
|
output: SuccessPayload
|
|
6289
6292
|
});
|
|
6290
|
-
var DTODocumentationGroupUpdateActionOutputV2 =
|
|
6291
|
-
type:
|
|
6293
|
+
var DTODocumentationGroupUpdateActionOutputV2 = z221.object({
|
|
6294
|
+
type: z221.literal("DocumentationGroupUpdate"),
|
|
6292
6295
|
output: SuccessPayload
|
|
6293
6296
|
});
|
|
6294
|
-
var DTODocumentationGroupMoveActionOutputV2 =
|
|
6295
|
-
type:
|
|
6297
|
+
var DTODocumentationGroupMoveActionOutputV2 = z221.object({
|
|
6298
|
+
type: z221.literal("DocumentationGroupMove"),
|
|
6296
6299
|
output: SuccessPayload
|
|
6297
6300
|
});
|
|
6298
|
-
var DTODocumentationGroupDuplicateActionOutputV2 =
|
|
6299
|
-
type:
|
|
6301
|
+
var DTODocumentationGroupDuplicateActionOutputV2 = z221.object({
|
|
6302
|
+
type: z221.literal("DocumentationGroupDuplicate"),
|
|
6300
6303
|
output: SuccessPayload
|
|
6301
6304
|
});
|
|
6302
|
-
var DTODocumentationGroupDeleteActionOutputV2 =
|
|
6303
|
-
type:
|
|
6305
|
+
var DTODocumentationGroupDeleteActionOutputV2 = z221.object({
|
|
6306
|
+
type: z221.literal("DocumentationGroupDelete"),
|
|
6304
6307
|
output: SuccessPayload
|
|
6305
6308
|
});
|
|
6306
|
-
var DTODocumentationTabGroupDeleteActionOutputV2 =
|
|
6307
|
-
type:
|
|
6309
|
+
var DTODocumentationTabGroupDeleteActionOutputV2 = z221.object({
|
|
6310
|
+
type: z221.literal("DocumentationTabGroupDelete"),
|
|
6308
6311
|
output: SuccessPayload
|
|
6309
6312
|
});
|
|
6310
|
-
var DTODocumentationGroupCreateActionInputV2 =
|
|
6311
|
-
type:
|
|
6313
|
+
var DTODocumentationGroupCreateActionInputV2 = z221.object({
|
|
6314
|
+
type: z221.literal("DocumentationGroupCreate"),
|
|
6312
6315
|
input: DTOCreateDocumentationGroupInput
|
|
6313
6316
|
});
|
|
6314
|
-
var DTODocumentationTabCreateActionInputV2 =
|
|
6315
|
-
type:
|
|
6317
|
+
var DTODocumentationTabCreateActionInputV2 = z221.object({
|
|
6318
|
+
type: z221.literal("DocumentationTabCreate"),
|
|
6316
6319
|
input: DTOCreateDocumentationTabInput
|
|
6317
6320
|
});
|
|
6318
|
-
var DTODocumentationGroupUpdateActionInputV2 =
|
|
6319
|
-
type:
|
|
6321
|
+
var DTODocumentationGroupUpdateActionInputV2 = z221.object({
|
|
6322
|
+
type: z221.literal("DocumentationGroupUpdate"),
|
|
6320
6323
|
input: DTOUpdateDocumentationGroupInput
|
|
6321
6324
|
});
|
|
6322
|
-
var DTODocumentationGroupMoveActionInputV2 =
|
|
6323
|
-
type:
|
|
6325
|
+
var DTODocumentationGroupMoveActionInputV2 = z221.object({
|
|
6326
|
+
type: z221.literal("DocumentationGroupMove"),
|
|
6324
6327
|
input: DTOMoveDocumentationGroupInput
|
|
6325
6328
|
});
|
|
6326
|
-
var DTODocumentationGroupDuplicateActionInputV2 =
|
|
6327
|
-
type:
|
|
6329
|
+
var DTODocumentationGroupDuplicateActionInputV2 = z221.object({
|
|
6330
|
+
type: z221.literal("DocumentationGroupDuplicate"),
|
|
6328
6331
|
input: DTODuplicateDocumentationGroupInput
|
|
6329
6332
|
});
|
|
6330
|
-
var DTODocumentationGroupDeleteActionInputV2 =
|
|
6331
|
-
type:
|
|
6333
|
+
var DTODocumentationGroupDeleteActionInputV2 = z221.object({
|
|
6334
|
+
type: z221.literal("DocumentationGroupDelete"),
|
|
6332
6335
|
input: DTODeleteDocumentationGroupInput
|
|
6333
6336
|
});
|
|
6334
|
-
var DTODocumentationTabGroupDeleteActionInputV2 =
|
|
6335
|
-
type:
|
|
6337
|
+
var DTODocumentationTabGroupDeleteActionInputV2 = z221.object({
|
|
6338
|
+
type: z221.literal("DocumentationTabGroupDelete"),
|
|
6336
6339
|
input: DTODeleteDocumentationTabGroupInput
|
|
6337
6340
|
});
|
|
6338
6341
|
|
|
6339
6342
|
// src/api/dto/elements/documentation/group-v1.ts
|
|
6340
|
-
import { z as
|
|
6343
|
+
import { z as z223 } from "zod";
|
|
6341
6344
|
|
|
6342
6345
|
// src/api/dto/elements/documentation/item-configuration-v1.ts
|
|
6343
|
-
import { z as
|
|
6344
|
-
var DocumentationColorV1 =
|
|
6345
|
-
aliasTo:
|
|
6346
|
-
value:
|
|
6346
|
+
import { z as z222 } from "zod";
|
|
6347
|
+
var DocumentationColorV1 = z222.object({
|
|
6348
|
+
aliasTo: z222.string().optional(),
|
|
6349
|
+
value: z222.string().optional()
|
|
6347
6350
|
});
|
|
6348
6351
|
var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
|
|
6349
6352
|
foregroundColor: true,
|
|
@@ -6352,10 +6355,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
|
|
|
6352
6355
|
foregroundColor: DocumentationColorV1.optional(),
|
|
6353
6356
|
backgroundColor: DocumentationColorV1.optional()
|
|
6354
6357
|
});
|
|
6355
|
-
var DTODocumentationItemConfigurationV1 =
|
|
6356
|
-
showSidebar:
|
|
6357
|
-
isPrivate:
|
|
6358
|
-
isHidden:
|
|
6358
|
+
var DTODocumentationItemConfigurationV1 = z222.object({
|
|
6359
|
+
showSidebar: z222.boolean(),
|
|
6360
|
+
isPrivate: z222.boolean(),
|
|
6361
|
+
isHidden: z222.boolean(),
|
|
6359
6362
|
header: DTODocumentationItemHeaderV1
|
|
6360
6363
|
});
|
|
6361
6364
|
|
|
@@ -6369,27 +6372,27 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
|
|
|
6369
6372
|
data: true,
|
|
6370
6373
|
shortPersistentId: true
|
|
6371
6374
|
}).extend({
|
|
6372
|
-
title:
|
|
6373
|
-
isRoot:
|
|
6374
|
-
childrenIds:
|
|
6375
|
+
title: z223.string(),
|
|
6376
|
+
isRoot: z223.boolean(),
|
|
6377
|
+
childrenIds: z223.array(z223.string()),
|
|
6375
6378
|
groupBehavior: DocumentationGroupBehavior,
|
|
6376
|
-
shortPersistentId:
|
|
6377
|
-
type:
|
|
6379
|
+
shortPersistentId: z223.string(),
|
|
6380
|
+
type: z223.literal("Group")
|
|
6378
6381
|
});
|
|
6379
6382
|
var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
|
|
6380
6383
|
configuration: DTODocumentationItemConfigurationV1
|
|
6381
6384
|
});
|
|
6382
6385
|
|
|
6383
6386
|
// src/api/dto/elements/documentation/hierarchy.ts
|
|
6384
|
-
import { z as
|
|
6385
|
-
var DTODocumentationHierarchyV2 =
|
|
6386
|
-
pages:
|
|
6387
|
+
import { z as z224 } from "zod";
|
|
6388
|
+
var DTODocumentationHierarchyV2 = z224.object({
|
|
6389
|
+
pages: z224.array(
|
|
6387
6390
|
DTODocumentationPageV2.extend({
|
|
6388
6391
|
/** Defined when a page has changed since last publish and can be included into a partial publish */
|
|
6389
6392
|
draftState: DTODocumentationDraftState.optional()
|
|
6390
6393
|
})
|
|
6391
6394
|
),
|
|
6392
|
-
groups:
|
|
6395
|
+
groups: z224.array(
|
|
6393
6396
|
DTODocumentationGroupV2.extend({
|
|
6394
6397
|
/** Defined when a page has changed since last publish and can be included into a partial publish */
|
|
6395
6398
|
draftState: DTODocumentationDraftState.optional()
|
|
@@ -6398,84 +6401,84 @@ var DTODocumentationHierarchyV2 = z225.object({
|
|
|
6398
6401
|
});
|
|
6399
6402
|
|
|
6400
6403
|
// src/api/dto/elements/documentation/page-actions-v2.ts
|
|
6401
|
-
import { z as
|
|
6402
|
-
var SuccessPayload2 =
|
|
6403
|
-
success:
|
|
6404
|
+
import { z as z225 } from "zod";
|
|
6405
|
+
var SuccessPayload2 = z225.object({
|
|
6406
|
+
success: z225.literal(true)
|
|
6404
6407
|
});
|
|
6405
|
-
var DTODocumentationPageCreateActionOutputV2 =
|
|
6406
|
-
type:
|
|
6408
|
+
var DTODocumentationPageCreateActionOutputV2 = z225.object({
|
|
6409
|
+
type: z225.literal("DocumentationPageCreate"),
|
|
6407
6410
|
output: SuccessPayload2
|
|
6408
6411
|
});
|
|
6409
|
-
var DTODocumentationPageUpdateActionOutputV2 =
|
|
6410
|
-
type:
|
|
6412
|
+
var DTODocumentationPageUpdateActionOutputV2 = z225.object({
|
|
6413
|
+
type: z225.literal("DocumentationPageUpdate"),
|
|
6411
6414
|
output: SuccessPayload2
|
|
6412
6415
|
});
|
|
6413
|
-
var DTODocumentationPageMoveActionOutputV2 =
|
|
6414
|
-
type:
|
|
6416
|
+
var DTODocumentationPageMoveActionOutputV2 = z225.object({
|
|
6417
|
+
type: z225.literal("DocumentationPageMove"),
|
|
6415
6418
|
output: SuccessPayload2
|
|
6416
6419
|
});
|
|
6417
|
-
var DTODocumentationPageDuplicateActionOutputV2 =
|
|
6418
|
-
type:
|
|
6420
|
+
var DTODocumentationPageDuplicateActionOutputV2 = z225.object({
|
|
6421
|
+
type: z225.literal("DocumentationPageDuplicate"),
|
|
6419
6422
|
output: SuccessPayload2
|
|
6420
6423
|
});
|
|
6421
|
-
var DTODocumentationPageDeleteActionOutputV2 =
|
|
6422
|
-
type:
|
|
6424
|
+
var DTODocumentationPageDeleteActionOutputV2 = z225.object({
|
|
6425
|
+
type: z225.literal("DocumentationPageDelete"),
|
|
6423
6426
|
output: SuccessPayload2
|
|
6424
6427
|
});
|
|
6425
|
-
var DTODocumentationPageRestoreActionOutput =
|
|
6426
|
-
type:
|
|
6428
|
+
var DTODocumentationPageRestoreActionOutput = z225.object({
|
|
6429
|
+
type: z225.literal("DocumentationPageRestore"),
|
|
6427
6430
|
output: SuccessPayload2
|
|
6428
6431
|
});
|
|
6429
|
-
var DTODocumentationGroupRestoreActionOutput =
|
|
6430
|
-
type:
|
|
6432
|
+
var DTODocumentationGroupRestoreActionOutput = z225.object({
|
|
6433
|
+
type: z225.literal("DocumentationGroupRestore"),
|
|
6431
6434
|
output: SuccessPayload2
|
|
6432
6435
|
});
|
|
6433
|
-
var DTODocumentationPageApprovalStateChangeActionOutput =
|
|
6434
|
-
type:
|
|
6436
|
+
var DTODocumentationPageApprovalStateChangeActionOutput = z225.object({
|
|
6437
|
+
type: z225.literal("DocumentationPageApprovalStateChange"),
|
|
6435
6438
|
output: SuccessPayload2
|
|
6436
6439
|
});
|
|
6437
|
-
var DTODocumentationPageCreateActionInputV2 =
|
|
6438
|
-
type:
|
|
6440
|
+
var DTODocumentationPageCreateActionInputV2 = z225.object({
|
|
6441
|
+
type: z225.literal("DocumentationPageCreate"),
|
|
6439
6442
|
input: DTOCreateDocumentationPageInputV2
|
|
6440
6443
|
});
|
|
6441
|
-
var DTODocumentationPageUpdateActionInputV2 =
|
|
6442
|
-
type:
|
|
6444
|
+
var DTODocumentationPageUpdateActionInputV2 = z225.object({
|
|
6445
|
+
type: z225.literal("DocumentationPageUpdate"),
|
|
6443
6446
|
input: DTOUpdateDocumentationPageInputV2
|
|
6444
6447
|
});
|
|
6445
|
-
var DTODocumentationPageMoveActionInputV2 =
|
|
6446
|
-
type:
|
|
6448
|
+
var DTODocumentationPageMoveActionInputV2 = z225.object({
|
|
6449
|
+
type: z225.literal("DocumentationPageMove"),
|
|
6447
6450
|
input: DTOMoveDocumentationPageInputV2
|
|
6448
6451
|
});
|
|
6449
|
-
var DTODocumentationPageDuplicateActionInputV2 =
|
|
6450
|
-
type:
|
|
6452
|
+
var DTODocumentationPageDuplicateActionInputV2 = z225.object({
|
|
6453
|
+
type: z225.literal("DocumentationPageDuplicate"),
|
|
6451
6454
|
input: DTODuplicateDocumentationPageInputV2
|
|
6452
6455
|
});
|
|
6453
|
-
var DTODocumentationPageDeleteActionInputV2 =
|
|
6454
|
-
type:
|
|
6456
|
+
var DTODocumentationPageDeleteActionInputV2 = z225.object({
|
|
6457
|
+
type: z225.literal("DocumentationPageDelete"),
|
|
6455
6458
|
input: DTODeleteDocumentationPageInputV2
|
|
6456
6459
|
});
|
|
6457
|
-
var DTODocumentationPageRestoreActionInput =
|
|
6458
|
-
type:
|
|
6460
|
+
var DTODocumentationPageRestoreActionInput = z225.object({
|
|
6461
|
+
type: z225.literal("DocumentationPageRestore"),
|
|
6459
6462
|
input: DTORestoreDocumentationPageInput
|
|
6460
6463
|
});
|
|
6461
|
-
var DTODocumentationGroupRestoreActionInput =
|
|
6462
|
-
type:
|
|
6464
|
+
var DTODocumentationGroupRestoreActionInput = z225.object({
|
|
6465
|
+
type: z225.literal("DocumentationGroupRestore"),
|
|
6463
6466
|
input: DTORestoreDocumentationGroupInput
|
|
6464
6467
|
});
|
|
6465
|
-
var DTODocumentationPageApprovalStateChangeActionInput =
|
|
6466
|
-
type:
|
|
6468
|
+
var DTODocumentationPageApprovalStateChangeActionInput = z225.object({
|
|
6469
|
+
type: z225.literal("DocumentationPageApprovalStateChange"),
|
|
6467
6470
|
input: DTODocumentationPageApprovalStateChangeInput
|
|
6468
6471
|
});
|
|
6469
6472
|
|
|
6470
6473
|
// src/api/dto/elements/documentation/page-content.ts
|
|
6471
|
-
import { z as
|
|
6474
|
+
import { z as z226 } from "zod";
|
|
6472
6475
|
var DTODocumentationPageContent = DocumentationPageContent;
|
|
6473
|
-
var DTODocumentationPageContentGetResponse =
|
|
6476
|
+
var DTODocumentationPageContentGetResponse = z226.object({
|
|
6474
6477
|
pageContent: DTODocumentationPageContent
|
|
6475
6478
|
});
|
|
6476
6479
|
|
|
6477
6480
|
// src/api/dto/elements/documentation/page-v1.ts
|
|
6478
|
-
import { z as
|
|
6481
|
+
import { z as z227 } from "zod";
|
|
6479
6482
|
var DocumentationPageV1DTO = DocumentationPageV1.omit({
|
|
6480
6483
|
data: true,
|
|
6481
6484
|
meta: true,
|
|
@@ -6483,32 +6486,32 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
|
|
|
6483
6486
|
sortOrder: true
|
|
6484
6487
|
}).extend({
|
|
6485
6488
|
configuration: DTODocumentationItemConfigurationV1,
|
|
6486
|
-
blocks:
|
|
6487
|
-
title:
|
|
6488
|
-
path:
|
|
6489
|
+
blocks: z227.array(PageBlockV1),
|
|
6490
|
+
title: z227.string(),
|
|
6491
|
+
path: z227.string()
|
|
6489
6492
|
});
|
|
6490
6493
|
|
|
6491
6494
|
// src/api/dto/elements/figma-nodes/figma-node.ts
|
|
6492
|
-
import { z as
|
|
6495
|
+
import { z as z228 } from "zod";
|
|
6493
6496
|
var DTOFigmaNodeRenderFormat = FigmaNodeRenderFormat;
|
|
6494
|
-
var DTOFigmaNodeOrigin =
|
|
6495
|
-
sourceId:
|
|
6496
|
-
fileId:
|
|
6497
|
-
parentName:
|
|
6497
|
+
var DTOFigmaNodeOrigin = z228.object({
|
|
6498
|
+
sourceId: z228.string(),
|
|
6499
|
+
fileId: z228.string().optional(),
|
|
6500
|
+
parentName: z228.string().optional()
|
|
6498
6501
|
});
|
|
6499
|
-
var DTOFigmaNodeData =
|
|
6502
|
+
var DTOFigmaNodeData = z228.object({
|
|
6500
6503
|
// Id of the node in the Figma file
|
|
6501
|
-
figmaNodeId:
|
|
6504
|
+
figmaNodeId: z228.string(),
|
|
6502
6505
|
// Validity
|
|
6503
|
-
isValid:
|
|
6506
|
+
isValid: z228.boolean(),
|
|
6504
6507
|
// Asset data
|
|
6505
|
-
assetId:
|
|
6506
|
-
assetUrl:
|
|
6508
|
+
assetId: z228.string(),
|
|
6509
|
+
assetUrl: z228.string(),
|
|
6507
6510
|
assetFormat: DTOFigmaNodeRenderFormat,
|
|
6508
6511
|
// Asset metadata
|
|
6509
|
-
assetScale:
|
|
6510
|
-
assetWidth:
|
|
6511
|
-
assetHeight:
|
|
6512
|
+
assetScale: z228.number(),
|
|
6513
|
+
assetWidth: z228.number().optional(),
|
|
6514
|
+
assetHeight: z228.number().optional()
|
|
6512
6515
|
});
|
|
6513
6516
|
var DTOFigmaNode = FigmaNodeReference.omit({
|
|
6514
6517
|
data: true,
|
|
@@ -6517,15 +6520,15 @@ var DTOFigmaNode = FigmaNodeReference.omit({
|
|
|
6517
6520
|
data: DTOFigmaNodeData,
|
|
6518
6521
|
origin: DTOFigmaNodeOrigin
|
|
6519
6522
|
});
|
|
6520
|
-
var DTOFigmaNodeRenderInput =
|
|
6523
|
+
var DTOFigmaNodeRenderInput = z228.object({
|
|
6521
6524
|
/**
|
|
6522
6525
|
* Id of a design system's data source representing a linked Figma file
|
|
6523
6526
|
*/
|
|
6524
|
-
sourceId:
|
|
6527
|
+
sourceId: z228.string(),
|
|
6525
6528
|
/**
|
|
6526
6529
|
* Id of a node within the Figma file
|
|
6527
6530
|
*/
|
|
6528
|
-
figmaFileNodeId:
|
|
6531
|
+
figmaFileNodeId: z228.string(),
|
|
6529
6532
|
/**
|
|
6530
6533
|
* Format in which the node must be rendered, png by default.
|
|
6531
6534
|
*/
|
|
@@ -6533,97 +6536,97 @@ var DTOFigmaNodeRenderInput = z229.object({
|
|
|
6533
6536
|
});
|
|
6534
6537
|
|
|
6535
6538
|
// src/api/dto/elements/figma-nodes/node-actions-v2.ts
|
|
6536
|
-
import { z as
|
|
6537
|
-
var DTOFigmaNodeRenderActionOutput =
|
|
6538
|
-
type:
|
|
6539
|
-
figmaNodes:
|
|
6539
|
+
import { z as z229 } from "zod";
|
|
6540
|
+
var DTOFigmaNodeRenderActionOutput = z229.object({
|
|
6541
|
+
type: z229.literal("FigmaNodeRender"),
|
|
6542
|
+
figmaNodes: z229.array(DTOFigmaNode)
|
|
6540
6543
|
});
|
|
6541
|
-
var DTOFigmaNodeRenderActionInput =
|
|
6542
|
-
type:
|
|
6544
|
+
var DTOFigmaNodeRenderActionInput = z229.object({
|
|
6545
|
+
type: z229.literal("FigmaNodeRender"),
|
|
6543
6546
|
input: DTOFigmaNodeRenderInput.array()
|
|
6544
6547
|
});
|
|
6545
6548
|
|
|
6546
6549
|
// src/api/dto/elements/properties/property-definitions-actions-v2.ts
|
|
6547
|
-
import { z as
|
|
6550
|
+
import { z as z231 } from "zod";
|
|
6548
6551
|
|
|
6549
6552
|
// src/api/dto/elements/properties/property-definitions.ts
|
|
6550
|
-
import { z as
|
|
6553
|
+
import { z as z230 } from "zod";
|
|
6551
6554
|
var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9]{1,99}$/;
|
|
6552
|
-
var DTOElementPropertyDefinition =
|
|
6553
|
-
id:
|
|
6554
|
-
designSystemVersionId:
|
|
6555
|
+
var DTOElementPropertyDefinition = z230.object({
|
|
6556
|
+
id: z230.string(),
|
|
6557
|
+
designSystemVersionId: z230.string(),
|
|
6555
6558
|
meta: ObjectMeta,
|
|
6556
|
-
persistentId:
|
|
6559
|
+
persistentId: z230.string(),
|
|
6557
6560
|
type: ElementPropertyTypeSchema,
|
|
6558
6561
|
targetElementType: ElementPropertyTargetType,
|
|
6559
|
-
codeName:
|
|
6560
|
-
options:
|
|
6562
|
+
codeName: z230.string().regex(CODE_NAME_REGEX2),
|
|
6563
|
+
options: z230.array(ElementPropertyDefinitionOption).optional(),
|
|
6561
6564
|
linkElementType: ElementPropertyLinkType.optional()
|
|
6562
6565
|
});
|
|
6563
|
-
var DTOElementPropertyDefinitionsGetResponse =
|
|
6564
|
-
definitions:
|
|
6566
|
+
var DTOElementPropertyDefinitionsGetResponse = z230.object({
|
|
6567
|
+
definitions: z230.array(DTOElementPropertyDefinition)
|
|
6565
6568
|
});
|
|
6566
6569
|
var DTOCreateElementPropertyDefinitionInputV2 = DTOElementPropertyDefinition.omit({
|
|
6567
6570
|
id: true,
|
|
6568
6571
|
designSystemVersionId: true
|
|
6569
6572
|
});
|
|
6570
|
-
var DTOUpdateElementPropertyDefinitionInputV2 =
|
|
6571
|
-
id:
|
|
6572
|
-
name:
|
|
6573
|
-
description:
|
|
6574
|
-
codeName:
|
|
6575
|
-
options:
|
|
6573
|
+
var DTOUpdateElementPropertyDefinitionInputV2 = z230.object({
|
|
6574
|
+
id: z230.string(),
|
|
6575
|
+
name: z230.string().optional(),
|
|
6576
|
+
description: z230.string().optional(),
|
|
6577
|
+
codeName: z230.string().regex(CODE_NAME_REGEX2).optional(),
|
|
6578
|
+
options: z230.array(ElementPropertyDefinitionOption).optional()
|
|
6576
6579
|
});
|
|
6577
|
-
var DTODeleteElementPropertyDefinitionInputV2 =
|
|
6578
|
-
id:
|
|
6580
|
+
var DTODeleteElementPropertyDefinitionInputV2 = z230.object({
|
|
6581
|
+
id: z230.string()
|
|
6579
6582
|
});
|
|
6580
6583
|
|
|
6581
6584
|
// src/api/dto/elements/properties/property-definitions-actions-v2.ts
|
|
6582
|
-
var SuccessPayload3 =
|
|
6583
|
-
success:
|
|
6585
|
+
var SuccessPayload3 = z231.object({
|
|
6586
|
+
success: z231.literal(true)
|
|
6584
6587
|
});
|
|
6585
|
-
var DTOPropertyDefinitionCreateActionOutputV2 =
|
|
6586
|
-
type:
|
|
6588
|
+
var DTOPropertyDefinitionCreateActionOutputV2 = z231.object({
|
|
6589
|
+
type: z231.literal("PropertyDefinitionCreate"),
|
|
6587
6590
|
definition: DTOElementPropertyDefinition
|
|
6588
6591
|
});
|
|
6589
|
-
var DTOPropertyDefinitionUpdateActionOutputV2 =
|
|
6590
|
-
type:
|
|
6592
|
+
var DTOPropertyDefinitionUpdateActionOutputV2 = z231.object({
|
|
6593
|
+
type: z231.literal("PropertyDefinitionUpdate"),
|
|
6591
6594
|
definition: DTOElementPropertyDefinition
|
|
6592
6595
|
});
|
|
6593
|
-
var DTOPropertyDefinitionDeleteActionOutputV2 =
|
|
6594
|
-
type:
|
|
6596
|
+
var DTOPropertyDefinitionDeleteActionOutputV2 = z231.object({
|
|
6597
|
+
type: z231.literal("PropertyDefinitionDelete"),
|
|
6595
6598
|
output: SuccessPayload3
|
|
6596
6599
|
});
|
|
6597
|
-
var DTOPropertyDefinitionCreateActionInputV2 =
|
|
6598
|
-
type:
|
|
6600
|
+
var DTOPropertyDefinitionCreateActionInputV2 = z231.object({
|
|
6601
|
+
type: z231.literal("PropertyDefinitionCreate"),
|
|
6599
6602
|
input: DTOCreateElementPropertyDefinitionInputV2
|
|
6600
6603
|
});
|
|
6601
|
-
var DTOPropertyDefinitionUpdateActionInputV2 =
|
|
6602
|
-
type:
|
|
6604
|
+
var DTOPropertyDefinitionUpdateActionInputV2 = z231.object({
|
|
6605
|
+
type: z231.literal("PropertyDefinitionUpdate"),
|
|
6603
6606
|
input: DTOUpdateElementPropertyDefinitionInputV2
|
|
6604
6607
|
});
|
|
6605
|
-
var DTOPropertyDefinitionDeleteActionInputV2 =
|
|
6606
|
-
type:
|
|
6608
|
+
var DTOPropertyDefinitionDeleteActionInputV2 = z231.object({
|
|
6609
|
+
type: z231.literal("PropertyDefinitionDelete"),
|
|
6607
6610
|
input: DTODeleteElementPropertyDefinitionInputV2
|
|
6608
6611
|
});
|
|
6609
6612
|
|
|
6610
6613
|
// src/api/dto/elements/properties/property-values.ts
|
|
6611
|
-
import { z as
|
|
6612
|
-
var DTOElementPropertyValue =
|
|
6613
|
-
id:
|
|
6614
|
-
designSystemVersionId:
|
|
6615
|
-
definitionId:
|
|
6616
|
-
targetElementId:
|
|
6617
|
-
value:
|
|
6618
|
-
valuePreview:
|
|
6614
|
+
import { z as z232 } from "zod";
|
|
6615
|
+
var DTOElementPropertyValue = z232.object({
|
|
6616
|
+
id: z232.string(),
|
|
6617
|
+
designSystemVersionId: z232.string(),
|
|
6618
|
+
definitionId: z232.string(),
|
|
6619
|
+
targetElementId: z232.string(),
|
|
6620
|
+
value: z232.union([z232.string(), z232.number(), z232.boolean()]).optional(),
|
|
6621
|
+
valuePreview: z232.string().optional()
|
|
6619
6622
|
});
|
|
6620
|
-
var DTOElementPropertyValuesGetResponse =
|
|
6621
|
-
values:
|
|
6623
|
+
var DTOElementPropertyValuesGetResponse = z232.object({
|
|
6624
|
+
values: z232.array(DTOElementPropertyValue)
|
|
6622
6625
|
});
|
|
6623
6626
|
|
|
6624
6627
|
// src/api/dto/elements/elements-action-v2.ts
|
|
6625
|
-
import { z as
|
|
6626
|
-
var DTOElementActionOutput =
|
|
6628
|
+
import { z as z233 } from "zod";
|
|
6629
|
+
var DTOElementActionOutput = z233.discriminatedUnion("type", [
|
|
6627
6630
|
// Documentation pages
|
|
6628
6631
|
DTODocumentationPageCreateActionOutputV2,
|
|
6629
6632
|
DTODocumentationPageUpdateActionOutputV2,
|
|
@@ -6650,7 +6653,7 @@ var DTOElementActionOutput = z234.discriminatedUnion("type", [
|
|
|
6650
6653
|
// Approvals
|
|
6651
6654
|
DTODocumentationPageApprovalStateChangeActionOutput
|
|
6652
6655
|
]);
|
|
6653
|
-
var DTOElementActionInput =
|
|
6656
|
+
var DTOElementActionInput = z233.discriminatedUnion("type", [
|
|
6654
6657
|
// Documentation pages
|
|
6655
6658
|
DTODocumentationPageCreateActionInputV2,
|
|
6656
6659
|
DTODocumentationPageUpdateActionInputV2,
|
|
@@ -6679,60 +6682,99 @@ var DTOElementActionInput = z234.discriminatedUnion("type", [
|
|
|
6679
6682
|
]);
|
|
6680
6683
|
|
|
6681
6684
|
// src/api/dto/elements/get-elements-v2.ts
|
|
6682
|
-
import { z as
|
|
6683
|
-
var DTOElementsGetTypeFilter =
|
|
6684
|
-
var DTOElementsGetQuerySchema =
|
|
6685
|
-
types:
|
|
6685
|
+
import { z as z234 } from "zod";
|
|
6686
|
+
var DTOElementsGetTypeFilter = z234.enum(["FigmaNode"]);
|
|
6687
|
+
var DTOElementsGetQuerySchema = z234.object({
|
|
6688
|
+
types: z234.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v)))
|
|
6686
6689
|
});
|
|
6687
|
-
var DTOElementsGetOutput =
|
|
6688
|
-
figmaNodes:
|
|
6690
|
+
var DTOElementsGetOutput = z234.object({
|
|
6691
|
+
figmaNodes: z234.array(DTOFigmaNode).optional()
|
|
6689
6692
|
});
|
|
6690
6693
|
|
|
6691
6694
|
// src/api/dto/figma-components/assets/download.ts
|
|
6692
|
-
import { z as
|
|
6693
|
-
var DTOAssetRenderConfiguration =
|
|
6694
|
-
prefix:
|
|
6695
|
-
suffix:
|
|
6696
|
-
scale:
|
|
6697
|
-
format:
|
|
6698
|
-
});
|
|
6699
|
-
var DTORenderedAssetFile =
|
|
6700
|
-
assetId:
|
|
6701
|
-
fileName:
|
|
6702
|
-
sourceUrl:
|
|
6695
|
+
import { z as z235 } from "zod";
|
|
6696
|
+
var DTOAssetRenderConfiguration = z235.object({
|
|
6697
|
+
prefix: z235.string().optional(),
|
|
6698
|
+
suffix: z235.string().optional(),
|
|
6699
|
+
scale: z235.enum(["x1", "x2", "x3", "x4"]),
|
|
6700
|
+
format: z235.enum(["png", "pdf", "svg"])
|
|
6701
|
+
});
|
|
6702
|
+
var DTORenderedAssetFile = z235.object({
|
|
6703
|
+
assetId: z235.string(),
|
|
6704
|
+
fileName: z235.string(),
|
|
6705
|
+
sourceUrl: z235.string(),
|
|
6703
6706
|
settings: DTOAssetRenderConfiguration,
|
|
6704
|
-
originalName:
|
|
6707
|
+
originalName: z235.string()
|
|
6705
6708
|
});
|
|
6706
|
-
var DTODownloadAssetsRequest =
|
|
6707
|
-
persistentIds:
|
|
6709
|
+
var DTODownloadAssetsRequest = z235.object({
|
|
6710
|
+
persistentIds: z235.array(z235.string().uuid()).optional(),
|
|
6708
6711
|
settings: DTOAssetRenderConfiguration.array()
|
|
6709
6712
|
});
|
|
6710
|
-
var DTODownloadAssetsResponse =
|
|
6713
|
+
var DTODownloadAssetsResponse = z235.object({
|
|
6711
6714
|
items: DTORenderedAssetFile.array()
|
|
6712
6715
|
});
|
|
6713
6716
|
|
|
6714
6717
|
// src/api/dto/liveblocks/auth-response.ts
|
|
6718
|
+
import { z as z236 } from "zod";
|
|
6719
|
+
var DTOLiveblocksAuthResponse = z236.object({
|
|
6720
|
+
token: z236.string()
|
|
6721
|
+
});
|
|
6722
|
+
|
|
6723
|
+
// src/api/dto/themes/override.ts
|
|
6715
6724
|
import { z as z237 } from "zod";
|
|
6716
|
-
var
|
|
6717
|
-
|
|
6725
|
+
var DTOThemeOverride = DesignTokenTypedData.and(
|
|
6726
|
+
z237.object({
|
|
6727
|
+
tokenPersistentId: z237.string(),
|
|
6728
|
+
origin: ThemeOverrideOrigin.optional()
|
|
6729
|
+
})
|
|
6730
|
+
);
|
|
6731
|
+
var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
|
|
6732
|
+
z237.object({
|
|
6733
|
+
tokenPersistentId: z237.string()
|
|
6734
|
+
})
|
|
6735
|
+
);
|
|
6736
|
+
|
|
6737
|
+
// src/api/dto/themes/theme.ts
|
|
6738
|
+
import { z as z238 } from "zod";
|
|
6739
|
+
var DTOTheme = z238.object({
|
|
6740
|
+
id: z238.string(),
|
|
6741
|
+
persistentId: z238.string(),
|
|
6742
|
+
designSystemVersionId: z238.string(),
|
|
6743
|
+
brandId: z238.string(),
|
|
6744
|
+
meta: ObjectMeta,
|
|
6745
|
+
codeName: z238.string(),
|
|
6746
|
+
overrides: DTOThemeOverride.array()
|
|
6747
|
+
});
|
|
6748
|
+
var DTOThemeResponse = z238.object({
|
|
6749
|
+
theme: DTOTheme
|
|
6750
|
+
});
|
|
6751
|
+
var DTOThemeListResponse = z238.object({
|
|
6752
|
+
themes: DTOTheme.array()
|
|
6753
|
+
});
|
|
6754
|
+
var DTOThemeCreatePayload = z238.object({
|
|
6755
|
+
meta: ObjectMeta,
|
|
6756
|
+
persistentId: z238.string(),
|
|
6757
|
+
brandId: z238.string(),
|
|
6758
|
+
codeName: z238.string(),
|
|
6759
|
+
overrides: DTOThemeOverride.array()
|
|
6718
6760
|
});
|
|
6719
6761
|
|
|
6720
6762
|
// src/api/dto/users/authenticated-user.ts
|
|
6721
|
-
import { z as
|
|
6763
|
+
import { z as z240 } from "zod";
|
|
6722
6764
|
|
|
6723
6765
|
// src/api/dto/users/user.ts
|
|
6724
|
-
import { z as
|
|
6725
|
-
var DTOUserProfile =
|
|
6726
|
-
name:
|
|
6727
|
-
nickname:
|
|
6728
|
-
avatar:
|
|
6729
|
-
});
|
|
6730
|
-
var DTOUser =
|
|
6731
|
-
id:
|
|
6732
|
-
email:
|
|
6766
|
+
import { z as z239 } from "zod";
|
|
6767
|
+
var DTOUserProfile = z239.object({
|
|
6768
|
+
name: z239.string(),
|
|
6769
|
+
nickname: z239.string().optional(),
|
|
6770
|
+
avatar: z239.string().optional()
|
|
6771
|
+
});
|
|
6772
|
+
var DTOUser = z239.object({
|
|
6773
|
+
id: z239.string(),
|
|
6774
|
+
email: z239.string(),
|
|
6733
6775
|
profile: DTOUserProfile
|
|
6734
6776
|
});
|
|
6735
|
-
var DTOUserGetResponse =
|
|
6777
|
+
var DTOUserGetResponse = z239.object({
|
|
6736
6778
|
user: DTOUser
|
|
6737
6779
|
});
|
|
6738
6780
|
var DTOUserProfileUpdate = UserProfileUpdate;
|
|
@@ -6741,34 +6783,34 @@ var DTOUserProfileUpdate = UserProfileUpdate;
|
|
|
6741
6783
|
var DTOUserOnboardingDepartment = UserOnboardingDepartment;
|
|
6742
6784
|
var DTOUserOnboardingJobLevel = UserOnboardingJobLevel;
|
|
6743
6785
|
var DTOUserSource = UserSource;
|
|
6744
|
-
var DTOUserOnboarding =
|
|
6745
|
-
companyName:
|
|
6746
|
-
numberOfPeopleInOrg:
|
|
6747
|
-
numberOfPeopleInDesignTeam:
|
|
6786
|
+
var DTOUserOnboarding = z240.object({
|
|
6787
|
+
companyName: z240.string().optional(),
|
|
6788
|
+
numberOfPeopleInOrg: z240.string().optional(),
|
|
6789
|
+
numberOfPeopleInDesignTeam: z240.string().optional(),
|
|
6748
6790
|
department: DTOUserOnboardingDepartment.optional(),
|
|
6749
|
-
jobTitle:
|
|
6750
|
-
phase:
|
|
6791
|
+
jobTitle: z240.string().optional(),
|
|
6792
|
+
phase: z240.string().optional(),
|
|
6751
6793
|
jobLevel: DTOUserOnboardingJobLevel.optional(),
|
|
6752
|
-
designSystemName:
|
|
6753
|
-
defaultDestination:
|
|
6754
|
-
isPageDraftOnboardingFinished:
|
|
6794
|
+
designSystemName: z240.string().optional(),
|
|
6795
|
+
defaultDestination: z240.string().optional(),
|
|
6796
|
+
isPageDraftOnboardingFinished: z240.boolean().optional()
|
|
6755
6797
|
});
|
|
6756
6798
|
var DTOAuthenticatedUserProfile = DTOUserProfile.extend({
|
|
6757
6799
|
onboarding: DTOUserOnboarding.optional()
|
|
6758
6800
|
});
|
|
6759
6801
|
var DTOAuthenticatedUser = DTOUser.extend({
|
|
6760
6802
|
profile: DTOAuthenticatedUserProfile,
|
|
6761
|
-
createdAt:
|
|
6762
|
-
loggedOutAt:
|
|
6803
|
+
createdAt: z240.coerce.date(),
|
|
6804
|
+
loggedOutAt: z240.coerce.date().optional(),
|
|
6763
6805
|
source: DTOUserSource.optional()
|
|
6764
6806
|
});
|
|
6765
|
-
var DTOAuthenticatedUserResponse =
|
|
6807
|
+
var DTOAuthenticatedUserResponse = z240.object({
|
|
6766
6808
|
user: DTOAuthenticatedUser
|
|
6767
6809
|
});
|
|
6768
6810
|
|
|
6769
6811
|
// src/api/dto/users/update.ts
|
|
6770
|
-
import { z as
|
|
6771
|
-
var DTOUserProfileUpdateResponse =
|
|
6812
|
+
import { z as z241 } from "zod";
|
|
6813
|
+
var DTOUserProfileUpdateResponse = z241.object({
|
|
6772
6814
|
user: User
|
|
6773
6815
|
});
|
|
6774
6816
|
|
|
@@ -6817,10 +6859,10 @@ var VersionStatsEndpoint = class {
|
|
|
6817
6859
|
};
|
|
6818
6860
|
|
|
6819
6861
|
// src/api/endpoints/design-system/versions/themes.ts
|
|
6820
|
-
import { z as
|
|
6862
|
+
import { z as z243 } from "zod";
|
|
6821
6863
|
|
|
6822
6864
|
// src/api/endpoints/design-system/versions/overrides.ts
|
|
6823
|
-
import { z as
|
|
6865
|
+
import { z as z242 } from "zod";
|
|
6824
6866
|
var OverridesEndpoint = class {
|
|
6825
6867
|
constructor(requestExecutor) {
|
|
6826
6868
|
this.requestExecutor = requestExecutor;
|
|
@@ -6828,7 +6870,7 @@ var OverridesEndpoint = class {
|
|
|
6828
6870
|
create(dsId, versionId, themeId, body) {
|
|
6829
6871
|
return this.requestExecutor.json(
|
|
6830
6872
|
`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
|
|
6831
|
-
|
|
6873
|
+
z242.any(),
|
|
6832
6874
|
{
|
|
6833
6875
|
method: "POST",
|
|
6834
6876
|
body
|
|
@@ -6844,27 +6886,35 @@ var ThemesEndpoint = class {
|
|
|
6844
6886
|
__publicField(this, "overrides");
|
|
6845
6887
|
this.overrides = new OverridesEndpoint(requestExecutor);
|
|
6846
6888
|
}
|
|
6889
|
+
list(dsId, versionId) {
|
|
6890
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes`, DTOThemeListResponse);
|
|
6891
|
+
}
|
|
6892
|
+
get(dsId, versionId, themeId) {
|
|
6893
|
+
return this.requestExecutor.json(
|
|
6894
|
+
`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`,
|
|
6895
|
+
DTOThemeResponse
|
|
6896
|
+
);
|
|
6897
|
+
}
|
|
6847
6898
|
create(dsId, versionId, body) {
|
|
6848
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes`,
|
|
6899
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes`, DTOThemeResponse, {
|
|
6849
6900
|
method: "POST",
|
|
6850
6901
|
body
|
|
6851
6902
|
});
|
|
6852
6903
|
}
|
|
6853
6904
|
delete(dsId, versionId, themeId) {
|
|
6854
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`,
|
|
6905
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z243.any(), {
|
|
6855
6906
|
method: "DELETE"
|
|
6856
6907
|
});
|
|
6857
6908
|
}
|
|
6858
6909
|
};
|
|
6859
6910
|
|
|
6860
6911
|
// src/api/endpoints/design-system/versions/tokens.ts
|
|
6861
|
-
import { z as z243 } from "zod";
|
|
6862
6912
|
var TokensEndpoint = class {
|
|
6863
6913
|
constructor(requestExecutor) {
|
|
6864
6914
|
this.requestExecutor = requestExecutor;
|
|
6865
6915
|
}
|
|
6866
6916
|
create(dsId, versionId, body) {
|
|
6867
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/tokens`,
|
|
6917
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/tokens`, DTODesignTokenResponse, {
|
|
6868
6918
|
method: "POST",
|
|
6869
6919
|
body
|
|
6870
6920
|
});
|
|
@@ -6875,6 +6925,12 @@ var TokensEndpoint = class {
|
|
|
6875
6925
|
DTODesignTokenListResponse
|
|
6876
6926
|
);
|
|
6877
6927
|
}
|
|
6928
|
+
get(dsId, versionId, tokenId) {
|
|
6929
|
+
return this.requestExecutor.json(
|
|
6930
|
+
`/design-systems/${dsId}/versions/${versionId}/tokens/${tokenId}`,
|
|
6931
|
+
DTODesignTokenListResponse
|
|
6932
|
+
);
|
|
6933
|
+
}
|
|
6878
6934
|
};
|
|
6879
6935
|
|
|
6880
6936
|
// src/api/endpoints/design-system/versions.ts
|
|
@@ -12147,7 +12203,6 @@ export {
|
|
|
12147
12203
|
DTOCreateDocumentationPageInputV2,
|
|
12148
12204
|
DTOCreateDocumentationTabInput,
|
|
12149
12205
|
DTOCreateElementPropertyDefinitionInputV2,
|
|
12150
|
-
DTOCreateThemeInput,
|
|
12151
12206
|
DTOCreateVersionInput,
|
|
12152
12207
|
DTODataSource,
|
|
12153
12208
|
DTODataSourceCreationResponse,
|
|
@@ -12182,7 +12237,9 @@ export {
|
|
|
12182
12237
|
DTODesignSystemVersionsListResponse,
|
|
12183
12238
|
DTODesignSystemsListResponse,
|
|
12184
12239
|
DTODesignToken,
|
|
12240
|
+
DTODesignTokenCreatePayload,
|
|
12185
12241
|
DTODesignTokenListResponse,
|
|
12242
|
+
DTODesignTokenResponse,
|
|
12186
12243
|
DTODiffCountBase,
|
|
12187
12244
|
DTODocumentationDraftChangeType,
|
|
12188
12245
|
DTODocumentationDraftState,
|
|
@@ -12332,6 +12389,12 @@ export {
|
|
|
12332
12389
|
DTORenderedAssetFile,
|
|
12333
12390
|
DTORestoreDocumentationGroupInput,
|
|
12334
12391
|
DTORestoreDocumentationPageInput,
|
|
12392
|
+
DTOTheme,
|
|
12393
|
+
DTOThemeCreatePayload,
|
|
12394
|
+
DTOThemeListResponse,
|
|
12395
|
+
DTOThemeOverride,
|
|
12396
|
+
DTOThemeOverrideCreatePayload,
|
|
12397
|
+
DTOThemeResponse,
|
|
12335
12398
|
DTOTokenCollection,
|
|
12336
12399
|
DTOTokenCollectionsListReponse,
|
|
12337
12400
|
DTOUpdateDocumentationGroupInput,
|