@supernova-studio/client 1.6.3 → 1.6.5
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 +1175 -1016
- package/dist/index.d.ts +1175 -1016
- package/dist/index.js +34 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1361 -1329
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5650,81 +5650,106 @@ function integrationCredentialToDto(credential) {
|
|
|
5650
5650
|
};
|
|
5651
5651
|
}
|
|
5652
5652
|
|
|
5653
|
-
// src/api/dto/
|
|
5653
|
+
// src/api/dto/access-tokens/access-token.ts
|
|
5654
5654
|
import { z as z191 } from "zod";
|
|
5655
|
-
var
|
|
5656
|
-
|
|
5655
|
+
var DTOAccessToken = z191.object({
|
|
5656
|
+
id: z191.string(),
|
|
5657
|
+
createdAt: z191.coerce.date(),
|
|
5658
|
+
name: z191.string(),
|
|
5659
|
+
scope: z191.string().optional()
|
|
5660
|
+
});
|
|
5661
|
+
var DTOAccessTokenFull = DTOAccessToken.extend({
|
|
5662
|
+
token: z191.string()
|
|
5663
|
+
});
|
|
5664
|
+
var DTOAccessTokenListResponse = z191.object({
|
|
5665
|
+
tokens: DTOAccessToken.array()
|
|
5666
|
+
});
|
|
5667
|
+
var DTOAccessTokenResponse = z191.object({
|
|
5668
|
+
token: DTOAccessToken
|
|
5669
|
+
});
|
|
5670
|
+
var DTOAccessTokenFullResponse = z191.object({
|
|
5671
|
+
token: DTOAccessTokenFull
|
|
5672
|
+
});
|
|
5673
|
+
var DTOAccessTokenCreatePayload = z191.object({
|
|
5674
|
+
name: z191.string(),
|
|
5675
|
+
scope: z191.string().optional()
|
|
5657
5676
|
});
|
|
5658
5677
|
|
|
5659
|
-
// src/api/dto/aux/
|
|
5678
|
+
// src/api/dto/aux/color.ts
|
|
5660
5679
|
import { z as z192 } from "zod";
|
|
5661
|
-
var
|
|
5662
|
-
|
|
5663
|
-
description: z192.string().max(2048).optional()
|
|
5680
|
+
var DTOColorTokenInlineData = z192.object({
|
|
5681
|
+
value: z192.string().regex(/^#[a-f0-9]{6,8}$/)
|
|
5664
5682
|
});
|
|
5665
5683
|
|
|
5666
|
-
// src/api/dto/aux/
|
|
5684
|
+
// src/api/dto/aux/meta.ts
|
|
5667
5685
|
import { z as z193 } from "zod";
|
|
5668
|
-
var
|
|
5669
|
-
|
|
5670
|
-
|
|
5686
|
+
var DTOObjectMeta = z193.object({
|
|
5687
|
+
name: z193.string().max(512),
|
|
5688
|
+
description: z193.string().max(2048).optional()
|
|
5689
|
+
});
|
|
5690
|
+
|
|
5691
|
+
// src/api/dto/aux/pagination.ts
|
|
5692
|
+
import { z as z194 } from "zod";
|
|
5693
|
+
var DTOPagination = z194.object({
|
|
5694
|
+
limit: z194.string().optional(),
|
|
5695
|
+
offset: z194.string().optional()
|
|
5671
5696
|
});
|
|
5672
5697
|
|
|
5673
5698
|
// src/api/dto/bff/app-bootstrap-data.ts
|
|
5674
|
-
import { z as
|
|
5699
|
+
import { z as z235 } from "zod";
|
|
5675
5700
|
|
|
5676
5701
|
// src/api/dto/design-systems/brand.ts
|
|
5677
|
-
import { z as
|
|
5678
|
-
var DTOBrand =
|
|
5679
|
-
id:
|
|
5680
|
-
designSystemVersionId:
|
|
5681
|
-
persistentId:
|
|
5702
|
+
import { z as z195 } from "zod";
|
|
5703
|
+
var DTOBrand = z195.object({
|
|
5704
|
+
id: z195.string(),
|
|
5705
|
+
designSystemVersionId: z195.string(),
|
|
5706
|
+
persistentId: z195.string(),
|
|
5682
5707
|
meta: ObjectMeta
|
|
5683
5708
|
});
|
|
5684
|
-
var DTOBrandGetResponse =
|
|
5685
|
-
var DTOBrandCreateResponse =
|
|
5709
|
+
var DTOBrandGetResponse = z195.object({ brand: DTOBrand });
|
|
5710
|
+
var DTOBrandCreateResponse = z195.object({
|
|
5686
5711
|
brand: DTOBrand
|
|
5687
5712
|
});
|
|
5688
|
-
var DTOBrandsListResponse =
|
|
5689
|
-
var DTOBrandCreatePayload =
|
|
5690
|
-
persistentId:
|
|
5713
|
+
var DTOBrandsListResponse = z195.object({ brands: z195.array(DTOBrand) });
|
|
5714
|
+
var DTOBrandCreatePayload = z195.object({
|
|
5715
|
+
persistentId: z195.string().uuid(),
|
|
5691
5716
|
meta: DTOObjectMeta
|
|
5692
5717
|
});
|
|
5693
|
-
var DTOBrandUpdatePayload =
|
|
5718
|
+
var DTOBrandUpdatePayload = z195.object({
|
|
5694
5719
|
meta: DTOObjectMeta.optional(),
|
|
5695
|
-
persistentId:
|
|
5720
|
+
persistentId: z195.string()
|
|
5696
5721
|
});
|
|
5697
5722
|
|
|
5698
5723
|
// src/api/dto/design-systems/code-component.ts
|
|
5699
|
-
import { z as
|
|
5724
|
+
import { z as z196 } from "zod";
|
|
5700
5725
|
var DTOCodeComponentResolvedTypeKind = CodeComponentResolvedTypeKind;
|
|
5701
5726
|
var DTOCodeComponentResolvedType = CodeComponentResolvedType;
|
|
5702
5727
|
var DTOCodeComponentParentType = CodeComponentParentType;
|
|
5703
5728
|
var DTOCodeComponentProperty = CodeComponentProperty;
|
|
5704
5729
|
var DTOCodeComponent = CodeComponent;
|
|
5705
|
-
var DTOCodeComponentResponse =
|
|
5730
|
+
var DTOCodeComponentResponse = z196.object({
|
|
5706
5731
|
codeComponent: DTOCodeComponent
|
|
5707
5732
|
});
|
|
5708
|
-
var DTOCodeComponentListResponse =
|
|
5733
|
+
var DTOCodeComponentListResponse = z196.object({
|
|
5709
5734
|
codeComponents: DTOCodeComponent.array()
|
|
5710
5735
|
});
|
|
5711
|
-
var DTOCodeComponentCreateInput =
|
|
5712
|
-
persistentId:
|
|
5713
|
-
exportName:
|
|
5714
|
-
componentPath:
|
|
5715
|
-
description:
|
|
5716
|
-
properties:
|
|
5717
|
-
tags:
|
|
5736
|
+
var DTOCodeComponentCreateInput = z196.object({
|
|
5737
|
+
persistentId: z196.string(),
|
|
5738
|
+
exportName: z196.string(),
|
|
5739
|
+
componentPath: z196.string(),
|
|
5740
|
+
description: z196.string(),
|
|
5741
|
+
properties: z196.record(z196.string(), DTOCodeComponentProperty),
|
|
5742
|
+
tags: z196.record(z196.string(), z196.string()).nullable()
|
|
5718
5743
|
});
|
|
5719
|
-
var DTOCodeComponentsCreateInput =
|
|
5744
|
+
var DTOCodeComponentsCreateInput = z196.object({
|
|
5720
5745
|
codeComponents: DTOCodeComponentCreateInput.array()
|
|
5721
5746
|
});
|
|
5722
5747
|
var DTOCodeComponentUpsertResponse = CodeComponentUpsertResponse;
|
|
5723
5748
|
var DTOAnalyzeCodeComponentsInPackage = AnalyzeCodeComponentsInPackage;
|
|
5724
5749
|
var DTODependencyDefinition = DependencyDefinition;
|
|
5725
5750
|
var DTORegistry = Registry;
|
|
5726
|
-
var DTOAnalyzeCodeComponentsInPackageResponse =
|
|
5727
|
-
ok:
|
|
5751
|
+
var DTOAnalyzeCodeComponentsInPackageResponse = z196.object({
|
|
5752
|
+
ok: z196.literal(true)
|
|
5728
5753
|
});
|
|
5729
5754
|
var DTOAnalyzeCodeComponentsInPackageInput = AnalyzeCodeComponentsInPackage.omit({
|
|
5730
5755
|
designSystemId: true,
|
|
@@ -5733,48 +5758,48 @@ var DTOAnalyzeCodeComponentsInPackageInput = AnalyzeCodeComponentsInPackage.omit
|
|
|
5733
5758
|
});
|
|
5734
5759
|
|
|
5735
5760
|
// src/api/dto/design-systems/component.ts
|
|
5736
|
-
import { z as
|
|
5737
|
-
var DTODesignSystemComponent =
|
|
5738
|
-
id:
|
|
5739
|
-
persistentId:
|
|
5740
|
-
designSystemVersionId:
|
|
5741
|
-
brandId:
|
|
5761
|
+
import { z as z197 } from "zod";
|
|
5762
|
+
var DTODesignSystemComponent = z197.object({
|
|
5763
|
+
id: z197.string(),
|
|
5764
|
+
persistentId: z197.string(),
|
|
5765
|
+
designSystemVersionId: z197.string(),
|
|
5766
|
+
brandId: z197.string(),
|
|
5742
5767
|
meta: DTOObjectMeta,
|
|
5743
|
-
createdAt:
|
|
5744
|
-
updatedAt:
|
|
5768
|
+
createdAt: z197.coerce.date(),
|
|
5769
|
+
updatedAt: z197.coerce.date()
|
|
5745
5770
|
});
|
|
5746
|
-
var DTODesignSystemComponentResponse =
|
|
5771
|
+
var DTODesignSystemComponentResponse = z197.object({
|
|
5747
5772
|
designSystemComponent: DTODesignSystemComponent
|
|
5748
5773
|
});
|
|
5749
|
-
var DTODesignSystemComponentListResponse =
|
|
5774
|
+
var DTODesignSystemComponentListResponse = z197.object({
|
|
5750
5775
|
designSystemComponents: DTODesignSystemComponent.array()
|
|
5751
5776
|
});
|
|
5752
|
-
var DTODesignSystemComponentCreateInput =
|
|
5753
|
-
brandId:
|
|
5777
|
+
var DTODesignSystemComponentCreateInput = z197.object({
|
|
5778
|
+
brandId: z197.string(),
|
|
5754
5779
|
// Persistent ID,
|
|
5755
|
-
persistentId:
|
|
5780
|
+
persistentId: z197.string(),
|
|
5756
5781
|
meta: DTOObjectMeta
|
|
5757
5782
|
});
|
|
5758
5783
|
|
|
5759
5784
|
// src/api/dto/design-systems/contact.ts
|
|
5760
|
-
import { z as
|
|
5785
|
+
import { z as z201 } from "zod";
|
|
5761
5786
|
|
|
5762
5787
|
// src/api/dto/users/authenticated-user.ts
|
|
5763
|
-
import { z as
|
|
5788
|
+
import { z as z199 } from "zod";
|
|
5764
5789
|
|
|
5765
5790
|
// src/api/dto/users/user.ts
|
|
5766
|
-
import { z as
|
|
5767
|
-
var DTOUserProfile =
|
|
5768
|
-
name:
|
|
5769
|
-
nickname:
|
|
5770
|
-
avatar:
|
|
5771
|
-
});
|
|
5772
|
-
var DTOUser =
|
|
5773
|
-
id:
|
|
5774
|
-
email:
|
|
5791
|
+
import { z as z198 } from "zod";
|
|
5792
|
+
var DTOUserProfile = z198.object({
|
|
5793
|
+
name: z198.string(),
|
|
5794
|
+
nickname: z198.string().optional(),
|
|
5795
|
+
avatar: z198.string().optional()
|
|
5796
|
+
});
|
|
5797
|
+
var DTOUser = z198.object({
|
|
5798
|
+
id: z198.string(),
|
|
5799
|
+
email: z198.string(),
|
|
5775
5800
|
profile: DTOUserProfile
|
|
5776
5801
|
});
|
|
5777
|
-
var DTOUserGetResponse =
|
|
5802
|
+
var DTOUserGetResponse = z198.object({
|
|
5778
5803
|
user: DTOUser
|
|
5779
5804
|
});
|
|
5780
5805
|
var DTOUserProfileUpdate = UserProfileUpdate;
|
|
@@ -5784,17 +5809,17 @@ var DTOUserOnboardingDepartment = UserOnboardingDepartment;
|
|
|
5784
5809
|
var DTOUserOnboardingJobLevel = UserOnboardingJobLevel;
|
|
5785
5810
|
var DTOUserSource = UserSource;
|
|
5786
5811
|
var DTOUserTheme = UserTheme;
|
|
5787
|
-
var DTOUserOnboarding =
|
|
5788
|
-
companyName:
|
|
5789
|
-
numberOfPeopleInOrg:
|
|
5790
|
-
numberOfPeopleInDesignTeam:
|
|
5812
|
+
var DTOUserOnboarding = z199.object({
|
|
5813
|
+
companyName: z199.string().optional(),
|
|
5814
|
+
numberOfPeopleInOrg: z199.string().optional(),
|
|
5815
|
+
numberOfPeopleInDesignTeam: z199.string().optional(),
|
|
5791
5816
|
department: DTOUserOnboardingDepartment.optional(),
|
|
5792
|
-
jobTitle:
|
|
5793
|
-
phase:
|
|
5817
|
+
jobTitle: z199.string().optional(),
|
|
5818
|
+
phase: z199.string().optional(),
|
|
5794
5819
|
jobLevel: DTOUserOnboardingJobLevel.optional(),
|
|
5795
|
-
designSystemName:
|
|
5796
|
-
defaultDestination:
|
|
5797
|
-
isPageDraftOnboardingFinished:
|
|
5820
|
+
designSystemName: z199.string().optional(),
|
|
5821
|
+
defaultDestination: z199.string().optional(),
|
|
5822
|
+
isPageDraftOnboardingFinished: z199.boolean().optional()
|
|
5798
5823
|
});
|
|
5799
5824
|
var DTOAuthenticatedUserProfile = DTOUserProfile.extend({
|
|
5800
5825
|
onboarding: DTOUserOnboarding.optional(),
|
|
@@ -5802,189 +5827,189 @@ var DTOAuthenticatedUserProfile = DTOUserProfile.extend({
|
|
|
5802
5827
|
});
|
|
5803
5828
|
var DTOAuthenticatedUser = DTOUser.extend({
|
|
5804
5829
|
profile: DTOAuthenticatedUserProfile,
|
|
5805
|
-
createdAt:
|
|
5806
|
-
loggedOutAt:
|
|
5830
|
+
createdAt: z199.coerce.date(),
|
|
5831
|
+
loggedOutAt: z199.coerce.date().optional(),
|
|
5807
5832
|
source: DTOUserSource.optional()
|
|
5808
5833
|
});
|
|
5809
|
-
var DTOAuthenticatedUserResponse =
|
|
5834
|
+
var DTOAuthenticatedUserResponse = z199.object({
|
|
5810
5835
|
user: DTOAuthenticatedUser
|
|
5811
5836
|
});
|
|
5812
5837
|
|
|
5813
5838
|
// src/api/dto/users/update.ts
|
|
5814
|
-
import { z as
|
|
5815
|
-
var DTOUserProfileUpdateResponse =
|
|
5839
|
+
import { z as z200 } from "zod";
|
|
5840
|
+
var DTOUserProfileUpdateResponse = z200.object({
|
|
5816
5841
|
user: User
|
|
5817
5842
|
});
|
|
5818
5843
|
|
|
5819
5844
|
// src/api/dto/design-systems/contact.ts
|
|
5820
|
-
var DTODesignSystemContactsResponse =
|
|
5821
|
-
contacts:
|
|
5822
|
-
workspace:
|
|
5823
|
-
designSystem:
|
|
5845
|
+
var DTODesignSystemContactsResponse = z201.object({
|
|
5846
|
+
contacts: z201.object({
|
|
5847
|
+
workspace: z201.array(DTOUser),
|
|
5848
|
+
designSystem: z201.array(DTOUser)
|
|
5824
5849
|
})
|
|
5825
5850
|
});
|
|
5826
5851
|
|
|
5827
5852
|
// src/api/dto/design-systems/data-source.ts
|
|
5828
|
-
import { z as
|
|
5853
|
+
import { z as z202 } from "zod";
|
|
5829
5854
|
var DTODataSourceFigmaScope = DataSourceFigmaScope;
|
|
5830
|
-
var DTODataSourceFigmaFileVersion =
|
|
5831
|
-
id:
|
|
5832
|
-
created_at:
|
|
5833
|
-
label:
|
|
5834
|
-
description:
|
|
5835
|
-
});
|
|
5836
|
-
var DTODataSourceFigmaCloud =
|
|
5837
|
-
fileId:
|
|
5855
|
+
var DTODataSourceFigmaFileVersion = z202.object({
|
|
5856
|
+
id: z202.string(),
|
|
5857
|
+
created_at: z202.coerce.date(),
|
|
5858
|
+
label: z202.string(),
|
|
5859
|
+
description: z202.string()
|
|
5860
|
+
});
|
|
5861
|
+
var DTODataSourceFigmaCloud = z202.object({
|
|
5862
|
+
fileId: z202.string(),
|
|
5838
5863
|
state: DataSourceFigmaState,
|
|
5839
5864
|
autoImportMode: DataSourceAutoImportMode,
|
|
5840
|
-
fileThumbnailUrl:
|
|
5865
|
+
fileThumbnailUrl: z202.string().optional(),
|
|
5841
5866
|
lastImportResult: SourceImportSummary.nullish(),
|
|
5842
|
-
lastImportedAt:
|
|
5867
|
+
lastImportedAt: z202.coerce.date().nullish(),
|
|
5843
5868
|
lastImportedVersion: DTODataSourceFigmaFileVersion.nullish(),
|
|
5844
|
-
lastUpdatesCheckedAt:
|
|
5845
|
-
ownerId:
|
|
5846
|
-
ownerUserName:
|
|
5847
|
-
preferredCredentialId:
|
|
5869
|
+
lastUpdatesCheckedAt: z202.date().nullish(),
|
|
5870
|
+
ownerId: z202.string(),
|
|
5871
|
+
ownerUserName: z202.string().optional(),
|
|
5872
|
+
preferredCredentialId: z202.string().optional(),
|
|
5848
5873
|
stats: DataSourceStats
|
|
5849
5874
|
});
|
|
5850
|
-
var DTODataSourceFigma =
|
|
5851
|
-
id:
|
|
5852
|
-
type:
|
|
5853
|
-
fileName:
|
|
5875
|
+
var DTODataSourceFigma = z202.object({
|
|
5876
|
+
id: z202.string(),
|
|
5877
|
+
type: z202.literal(DataSourceRemoteType.Enum.Figma),
|
|
5878
|
+
fileName: z202.string(),
|
|
5854
5879
|
scope: DTODataSourceFigmaScope,
|
|
5855
|
-
brandId:
|
|
5856
|
-
themeId:
|
|
5880
|
+
brandId: z202.string(),
|
|
5881
|
+
themeId: z202.string().nullish(),
|
|
5857
5882
|
cloud: DTODataSourceFigmaCloud.nullish(),
|
|
5858
|
-
sortOrder:
|
|
5859
|
-
});
|
|
5860
|
-
var DTODataSourceTokenStudio =
|
|
5861
|
-
id:
|
|
5862
|
-
type:
|
|
5863
|
-
fileName:
|
|
5864
|
-
brandId:
|
|
5865
|
-
themeId:
|
|
5866
|
-
sortOrder:
|
|
5867
|
-
tokenStudio:
|
|
5868
|
-
settings:
|
|
5869
|
-
dryRun:
|
|
5870
|
-
verbose:
|
|
5871
|
-
preciseCopy:
|
|
5883
|
+
sortOrder: z202.number().optional()
|
|
5884
|
+
});
|
|
5885
|
+
var DTODataSourceTokenStudio = z202.object({
|
|
5886
|
+
id: z202.string(),
|
|
5887
|
+
type: z202.literal(DataSourceRemoteType.Enum.TokenStudio),
|
|
5888
|
+
fileName: z202.string(),
|
|
5889
|
+
brandId: z202.string(),
|
|
5890
|
+
themeId: z202.string().nullish(),
|
|
5891
|
+
sortOrder: z202.number().optional(),
|
|
5892
|
+
tokenStudio: z202.object({
|
|
5893
|
+
settings: z202.object({
|
|
5894
|
+
dryRun: z202.boolean(),
|
|
5895
|
+
verbose: z202.boolean(),
|
|
5896
|
+
preciseCopy: z202.boolean()
|
|
5872
5897
|
}),
|
|
5873
|
-
connectionName:
|
|
5874
|
-
lastImportedAt:
|
|
5875
|
-
lastImportedResults:
|
|
5876
|
-
|
|
5877
|
-
mapping:
|
|
5878
|
-
tokenSets:
|
|
5879
|
-
supernovaBrand:
|
|
5880
|
-
supernovaTheme:
|
|
5898
|
+
connectionName: z202.string(),
|
|
5899
|
+
lastImportedAt: z202.coerce.date(),
|
|
5900
|
+
lastImportedResults: z202.array(
|
|
5901
|
+
z202.object({
|
|
5902
|
+
mapping: z202.object({
|
|
5903
|
+
tokenSets: z202.array(z202.string()),
|
|
5904
|
+
supernovaBrand: z202.string(),
|
|
5905
|
+
supernovaTheme: z202.string().optional()
|
|
5881
5906
|
}),
|
|
5882
|
-
isFailed:
|
|
5883
|
-
tokensCreated:
|
|
5884
|
-
tokensDeleted:
|
|
5885
|
-
tokensUpdated:
|
|
5907
|
+
isFailed: z202.boolean(),
|
|
5908
|
+
tokensCreated: z202.number(),
|
|
5909
|
+
tokensDeleted: z202.number(),
|
|
5910
|
+
tokensUpdated: z202.number()
|
|
5886
5911
|
})
|
|
5887
5912
|
)
|
|
5888
5913
|
})
|
|
5889
5914
|
});
|
|
5890
|
-
var DTODataSourceFigmaVariablesPlugin =
|
|
5891
|
-
id:
|
|
5892
|
-
type:
|
|
5893
|
-
fileName:
|
|
5894
|
-
brandId:
|
|
5895
|
-
sortOrder:
|
|
5896
|
-
upload:
|
|
5897
|
-
remoteId:
|
|
5915
|
+
var DTODataSourceFigmaVariablesPlugin = z202.object({
|
|
5916
|
+
id: z202.string(),
|
|
5917
|
+
type: z202.literal(DataSourceRemoteType.Enum.FigmaVariablesPlugin),
|
|
5918
|
+
fileName: z202.string(),
|
|
5919
|
+
brandId: z202.string(),
|
|
5920
|
+
sortOrder: z202.number().optional(),
|
|
5921
|
+
upload: z202.object({
|
|
5922
|
+
remoteId: z202.string(),
|
|
5898
5923
|
remoteSourceType: DataSourceUploadRemoteSource,
|
|
5899
|
-
lastImportedAt:
|
|
5924
|
+
lastImportedAt: z202.coerce.date().optional(),
|
|
5900
5925
|
lastImportMetadata: DataSourceUploadImportMetadata.optional(),
|
|
5901
|
-
isTokenTypeSplitEnabled:
|
|
5926
|
+
isTokenTypeSplitEnabled: z202.boolean()
|
|
5902
5927
|
}),
|
|
5903
|
-
figmaVariablesPlugin:
|
|
5904
|
-
fileId:
|
|
5905
|
-
lastImportedAt:
|
|
5928
|
+
figmaVariablesPlugin: z202.object({
|
|
5929
|
+
fileId: z202.string(),
|
|
5930
|
+
lastImportedAt: z202.coerce.date().optional(),
|
|
5906
5931
|
lastImportMetadata: DataSourceUploadImportMetadata.optional(),
|
|
5907
|
-
isTokenTypeSplitEnabled:
|
|
5908
|
-
isCollectionsMigrationCompleted:
|
|
5932
|
+
isTokenTypeSplitEnabled: z202.boolean(),
|
|
5933
|
+
isCollectionsMigrationCompleted: z202.boolean().default(false)
|
|
5909
5934
|
})
|
|
5910
5935
|
});
|
|
5911
|
-
var DTODataSourceStorybook =
|
|
5912
|
-
id:
|
|
5913
|
-
type:
|
|
5914
|
-
fileName:
|
|
5915
|
-
brandId:
|
|
5916
|
-
sortOrder:
|
|
5917
|
-
storybook:
|
|
5918
|
-
indexUrl:
|
|
5919
|
-
userUrl:
|
|
5920
|
-
lastImportedAt:
|
|
5936
|
+
var DTODataSourceStorybook = z202.object({
|
|
5937
|
+
id: z202.string(),
|
|
5938
|
+
type: z202.literal(DataSourceRemoteType.Enum.Storybook),
|
|
5939
|
+
fileName: z202.string(),
|
|
5940
|
+
brandId: z202.string(),
|
|
5941
|
+
sortOrder: z202.number().optional(),
|
|
5942
|
+
storybook: z202.object({
|
|
5943
|
+
indexUrl: z202.string(),
|
|
5944
|
+
userUrl: z202.string(),
|
|
5945
|
+
lastImportedAt: z202.coerce.date().optional(),
|
|
5921
5946
|
lastImportedResult: SourceImportStorybookSummary.optional(),
|
|
5922
|
-
lastImportedSuccessfully:
|
|
5923
|
-
isFailed:
|
|
5924
|
-
storiesCount:
|
|
5925
|
-
docsCount:
|
|
5926
|
-
description:
|
|
5927
|
-
isUsingVpn:
|
|
5947
|
+
lastImportedSuccessfully: z202.coerce.date().optional(),
|
|
5948
|
+
isFailed: z202.boolean(),
|
|
5949
|
+
storiesCount: z202.number(),
|
|
5950
|
+
docsCount: z202.number(),
|
|
5951
|
+
description: z202.string().optional(),
|
|
5952
|
+
isUsingVpn: z202.boolean().optional()
|
|
5928
5953
|
})
|
|
5929
5954
|
});
|
|
5930
|
-
var DTODataSourcesStorybookResponse =
|
|
5931
|
-
isFailed:
|
|
5932
|
-
storiesCount:
|
|
5933
|
-
docsCount:
|
|
5934
|
-
created:
|
|
5935
|
-
updated:
|
|
5936
|
-
deleted:
|
|
5955
|
+
var DTODataSourcesStorybookResponse = z202.object({
|
|
5956
|
+
isFailed: z202.boolean(),
|
|
5957
|
+
storiesCount: z202.number(),
|
|
5958
|
+
docsCount: z202.number(),
|
|
5959
|
+
created: z202.array(z202.string()).optional(),
|
|
5960
|
+
updated: z202.array(z202.string()).optional(),
|
|
5961
|
+
deleted: z202.array(z202.string()).optional()
|
|
5937
5962
|
});
|
|
5938
|
-
var DTODataSource =
|
|
5963
|
+
var DTODataSource = z202.discriminatedUnion("type", [
|
|
5939
5964
|
DTODataSourceFigma,
|
|
5940
5965
|
DTODataSourceFigmaVariablesPlugin,
|
|
5941
5966
|
DTODataSourceTokenStudio,
|
|
5942
5967
|
DTODataSourceStorybook
|
|
5943
5968
|
]);
|
|
5944
|
-
var DTODataSourcesListResponse =
|
|
5945
|
-
sources:
|
|
5969
|
+
var DTODataSourcesListResponse = z202.object({
|
|
5970
|
+
sources: z202.array(DTODataSource)
|
|
5946
5971
|
});
|
|
5947
|
-
var DTODataSourceResponse =
|
|
5972
|
+
var DTODataSourceResponse = z202.object({
|
|
5948
5973
|
source: DTODataSource
|
|
5949
5974
|
});
|
|
5950
|
-
var DTODataSourceFigmaCreatePayload =
|
|
5951
|
-
brandPersistentId:
|
|
5952
|
-
figmaFileUrl:
|
|
5975
|
+
var DTODataSourceFigmaCreatePayload = z202.object({
|
|
5976
|
+
brandPersistentId: z202.string(),
|
|
5977
|
+
figmaFileUrl: z202.string(),
|
|
5953
5978
|
scope: DTODataSourceFigmaScope,
|
|
5954
5979
|
autoImportMode: DataSourceAutoImportMode
|
|
5955
5980
|
});
|
|
5956
|
-
var DTODataSourceFigmaImportPayload =
|
|
5957
|
-
sourceIds:
|
|
5981
|
+
var DTODataSourceFigmaImportPayload = z202.object({
|
|
5982
|
+
sourceIds: z202.array(z202.string())
|
|
5958
5983
|
});
|
|
5959
|
-
var DTODataSourceStorybookCreatePayload =
|
|
5960
|
-
brandPersistentId:
|
|
5961
|
-
fileName:
|
|
5962
|
-
userUrl:
|
|
5963
|
-
indexUrl:
|
|
5964
|
-
payload:
|
|
5965
|
-
type:
|
|
5966
|
-
description:
|
|
5967
|
-
isUsingVpn:
|
|
5984
|
+
var DTODataSourceStorybookCreatePayload = z202.object({
|
|
5985
|
+
brandPersistentId: z202.string(),
|
|
5986
|
+
fileName: z202.string().optional(),
|
|
5987
|
+
userUrl: z202.string(),
|
|
5988
|
+
indexUrl: z202.string(),
|
|
5989
|
+
payload: z202.unknown(),
|
|
5990
|
+
type: z202.literal(DataSourceRemoteType.Enum.Storybook),
|
|
5991
|
+
description: z202.string().optional(),
|
|
5992
|
+
isUsingVpn: z202.boolean().optional()
|
|
5968
5993
|
});
|
|
5969
|
-
var DTOStorybookImportPayload =
|
|
5970
|
-
sourceId:
|
|
5971
|
-
payload:
|
|
5994
|
+
var DTOStorybookImportPayload = z202.object({
|
|
5995
|
+
sourceId: z202.string(),
|
|
5996
|
+
payload: z202.unknown()
|
|
5972
5997
|
});
|
|
5973
|
-
var DTOStorybookSourceUpdatePayload =
|
|
5974
|
-
description:
|
|
5975
|
-
isUsingVpn:
|
|
5976
|
-
fileName:
|
|
5998
|
+
var DTOStorybookSourceUpdatePayload = z202.object({
|
|
5999
|
+
description: z202.string().nullish().optional(),
|
|
6000
|
+
isUsingVpn: z202.boolean().optional(),
|
|
6001
|
+
fileName: z202.string().optional()
|
|
5977
6002
|
});
|
|
5978
6003
|
|
|
5979
6004
|
// src/api/dto/design-systems/design-system.ts
|
|
5980
|
-
import { z as
|
|
6005
|
+
import { z as z205 } from "zod";
|
|
5981
6006
|
|
|
5982
6007
|
// src/api/dto/design-systems/members.ts
|
|
5983
|
-
import { z as
|
|
6008
|
+
import { z as z204 } from "zod";
|
|
5984
6009
|
|
|
5985
6010
|
// src/api/dto/design-systems/role.ts
|
|
5986
|
-
import { z as
|
|
5987
|
-
var DTODesignSystemRole =
|
|
6011
|
+
import { z as z203 } from "zod";
|
|
6012
|
+
var DTODesignSystemRole = z203.enum([
|
|
5988
6013
|
WorkspaceRole.Admin,
|
|
5989
6014
|
WorkspaceRole.Contributor,
|
|
5990
6015
|
WorkspaceRole.Creator,
|
|
@@ -5992,29 +6017,29 @@ var DTODesignSystemRole = z202.enum([
|
|
|
5992
6017
|
]);
|
|
5993
6018
|
|
|
5994
6019
|
// src/api/dto/design-systems/members.ts
|
|
5995
|
-
var DTODesignSystemMember =
|
|
5996
|
-
userId:
|
|
6020
|
+
var DTODesignSystemMember = z204.object({
|
|
6021
|
+
userId: z204.string(),
|
|
5997
6022
|
/**
|
|
5998
6023
|
* Role that the member has in the design system,
|
|
5999
6024
|
* undefined if set to inherit from workspace
|
|
6000
6025
|
*/
|
|
6001
6026
|
designSystemRole: DTODesignSystemRole.optional()
|
|
6002
6027
|
});
|
|
6003
|
-
var DTODesignSystemInvitation =
|
|
6004
|
-
id:
|
|
6005
|
-
workspaceInvitationId:
|
|
6028
|
+
var DTODesignSystemInvitation = z204.object({
|
|
6029
|
+
id: z204.string(),
|
|
6030
|
+
workspaceInvitationId: z204.string(),
|
|
6006
6031
|
/**
|
|
6007
6032
|
* Role that the invitation has in the design system,
|
|
6008
6033
|
* undefined if set to inherit from workspace
|
|
6009
6034
|
*/
|
|
6010
6035
|
designSystemRole: DTODesignSystemRole.optional()
|
|
6011
6036
|
});
|
|
6012
|
-
var DTODesignSystemMemberListResponse =
|
|
6037
|
+
var DTODesignSystemMemberListResponse = z204.object({
|
|
6013
6038
|
members: DTODesignSystemMember.array(),
|
|
6014
6039
|
invitations: DTODesignSystemInvitation.array()
|
|
6015
6040
|
});
|
|
6016
|
-
var DTODesignSystemMembersUpdateResponse =
|
|
6017
|
-
ok:
|
|
6041
|
+
var DTODesignSystemMembersUpdateResponse = z204.object({
|
|
6042
|
+
ok: z204.literal(true)
|
|
6018
6043
|
});
|
|
6019
6044
|
var DTODesignSystemMembersUpdatePayload = DesignSystemMembershipUpdates;
|
|
6020
6045
|
|
|
@@ -6025,14 +6050,14 @@ var DTODesignSystem = DesignSystem.omit({
|
|
|
6025
6050
|
docExporterId: true
|
|
6026
6051
|
}).extend({
|
|
6027
6052
|
meta: ObjectMeta,
|
|
6028
|
-
docExporterId:
|
|
6029
|
-
sources:
|
|
6030
|
-
isPublic:
|
|
6053
|
+
docExporterId: z205.string(),
|
|
6054
|
+
sources: z205.array(z205.any()),
|
|
6055
|
+
isPublic: z205.literal(true),
|
|
6031
6056
|
/**
|
|
6032
6057
|
* Whether or not user who is requesting the design system
|
|
6033
6058
|
* has access to the design system's contents.
|
|
6034
6059
|
*/
|
|
6035
|
-
isAvailableToUser:
|
|
6060
|
+
isAvailableToUser: z205.boolean(),
|
|
6036
6061
|
/**
|
|
6037
6062
|
* @deprecated
|
|
6038
6063
|
*/
|
|
@@ -6043,17 +6068,17 @@ var DTODesignSystem = DesignSystem.omit({
|
|
|
6043
6068
|
*/
|
|
6044
6069
|
effectiveRole: DTODesignSystemRole.optional()
|
|
6045
6070
|
});
|
|
6046
|
-
var DTODesignSystemResponse =
|
|
6071
|
+
var DTODesignSystemResponse = z205.object({
|
|
6047
6072
|
designSystem: DTODesignSystem
|
|
6048
6073
|
});
|
|
6049
|
-
var DTODesignSystemsListResponse =
|
|
6074
|
+
var DTODesignSystemsListResponse = z205.object({
|
|
6050
6075
|
designSystems: DTODesignSystem.array()
|
|
6051
6076
|
});
|
|
6052
|
-
var DTODesignSystemCreateInput =
|
|
6053
|
-
workspaceId:
|
|
6077
|
+
var DTODesignSystemCreateInput = z205.object({
|
|
6078
|
+
workspaceId: z205.string(),
|
|
6054
6079
|
meta: ObjectMeta.optional(),
|
|
6055
|
-
name:
|
|
6056
|
-
description:
|
|
6080
|
+
name: z205.string().min(2).max(64).optional(),
|
|
6081
|
+
description: z205.string().max(1024).optional(),
|
|
6057
6082
|
accessMode: DesignSystemAccessMode.optional(),
|
|
6058
6083
|
invites: DTODesignSystemMembersUpdatePayload.pick({
|
|
6059
6084
|
usersToInvite: true,
|
|
@@ -6063,20 +6088,20 @@ var DTODesignSystemCreateInput = z204.object({
|
|
|
6063
6088
|
});
|
|
6064
6089
|
|
|
6065
6090
|
// src/api/dto/design-systems/elements-diff.ts
|
|
6066
|
-
import { z as
|
|
6067
|
-
var DTODiffCountBase =
|
|
6068
|
-
created:
|
|
6069
|
-
updated:
|
|
6070
|
-
deleted:
|
|
6091
|
+
import { z as z206 } from "zod";
|
|
6092
|
+
var DTODiffCountBase = z206.object({
|
|
6093
|
+
created: z206.number(),
|
|
6094
|
+
updated: z206.number(),
|
|
6095
|
+
deleted: z206.number()
|
|
6071
6096
|
});
|
|
6072
|
-
var DTODesignElementsDataDiffResponse =
|
|
6097
|
+
var DTODesignElementsDataDiffResponse = z206.object({
|
|
6073
6098
|
tokens: DTODiffCountBase,
|
|
6074
6099
|
assets: DTODiffCountBase
|
|
6075
6100
|
});
|
|
6076
6101
|
|
|
6077
6102
|
// src/api/dto/design-systems/figma-variables.ts
|
|
6078
|
-
import { z as
|
|
6079
|
-
var DimensionsVariableScopeSchema =
|
|
6103
|
+
import { z as z207 } from "zod";
|
|
6104
|
+
var DimensionsVariableScopeSchema = z207.enum([
|
|
6080
6105
|
"CORNER_RADIUS",
|
|
6081
6106
|
"WIDTH_HEIGHT",
|
|
6082
6107
|
"GAP",
|
|
@@ -6090,327 +6115,328 @@ var DimensionsVariableScopeSchema = z206.enum([
|
|
|
6090
6115
|
"PARAGRAPH_INDENT",
|
|
6091
6116
|
"FONT_WEIGHT"
|
|
6092
6117
|
]);
|
|
6093
|
-
var StringVariableScopeSchema =
|
|
6118
|
+
var StringVariableScopeSchema = z207.enum(["TEXT_CONTENT", "FONT_FAMILY", "FONT_STYLE"]);
|
|
6094
6119
|
var DimensionsVariableScopeType = DimensionsVariableScopeSchema.enum;
|
|
6095
6120
|
var StringVariableScopeType = StringVariableScopeSchema.enum;
|
|
6096
|
-
var VariableScope =
|
|
6097
|
-
var ReferencedVariableOrigin =
|
|
6098
|
-
name:
|
|
6099
|
-
remote:
|
|
6121
|
+
var VariableScope = z207.string();
|
|
6122
|
+
var ReferencedVariableOrigin = z207.object({
|
|
6123
|
+
name: z207.string(),
|
|
6124
|
+
remote: z207.boolean()
|
|
6100
6125
|
});
|
|
6101
|
-
var RGB =
|
|
6102
|
-
r:
|
|
6103
|
-
g:
|
|
6104
|
-
b:
|
|
6126
|
+
var RGB = z207.object({
|
|
6127
|
+
r: z207.number(),
|
|
6128
|
+
g: z207.number(),
|
|
6129
|
+
b: z207.number()
|
|
6105
6130
|
});
|
|
6106
6131
|
var RGBA = RGB.extend({
|
|
6107
|
-
a:
|
|
6108
|
-
});
|
|
6109
|
-
var VariableAlias =
|
|
6110
|
-
type:
|
|
6111
|
-
id:
|
|
6112
|
-
resolvedValue:
|
|
6113
|
-
referenceOrigin: ReferencedVariableOrigin.optional().or(
|
|
6114
|
-
});
|
|
6115
|
-
var VariableValue =
|
|
6116
|
-
var ResolvedVariableType =
|
|
6117
|
-
var Variable =
|
|
6118
|
-
id:
|
|
6119
|
-
name:
|
|
6120
|
-
key:
|
|
6121
|
-
variableCollectionId:
|
|
6132
|
+
a: z207.number()
|
|
6133
|
+
});
|
|
6134
|
+
var VariableAlias = z207.object({
|
|
6135
|
+
type: z207.literal("VARIABLE_ALIAS"),
|
|
6136
|
+
id: z207.string(),
|
|
6137
|
+
resolvedValue: z207.boolean().or(z207.number()).or(z207.string()).or(RGBA).or(RGB).optional(),
|
|
6138
|
+
referenceOrigin: ReferencedVariableOrigin.optional().or(z207.null())
|
|
6139
|
+
});
|
|
6140
|
+
var VariableValue = z207.boolean().or(z207.number()).or(z207.string()).or(RGBA).or(RGB).or(VariableAlias);
|
|
6141
|
+
var ResolvedVariableType = z207.enum(["BOOLEAN", "FLOAT", "STRING", "COLOR"]);
|
|
6142
|
+
var Variable = z207.object({
|
|
6143
|
+
id: z207.string(),
|
|
6144
|
+
name: z207.string(),
|
|
6145
|
+
key: z207.string(),
|
|
6146
|
+
variableCollectionId: z207.string(),
|
|
6122
6147
|
resolvedType: ResolvedVariableType,
|
|
6123
|
-
valuesByMode:
|
|
6124
|
-
remote:
|
|
6125
|
-
description:
|
|
6126
|
-
hiddenFromPublishing:
|
|
6127
|
-
scopes:
|
|
6128
|
-
codeSyntax:
|
|
6129
|
-
});
|
|
6130
|
-
var VariableMode =
|
|
6131
|
-
modeId:
|
|
6132
|
-
name:
|
|
6133
|
-
});
|
|
6134
|
-
var Collection2 =
|
|
6135
|
-
id:
|
|
6136
|
-
name:
|
|
6137
|
-
modes:
|
|
6138
|
-
defaultModeId:
|
|
6139
|
-
remote:
|
|
6140
|
-
hiddenFromPublishing:
|
|
6141
|
-
});
|
|
6142
|
-
var VariablesMapping =
|
|
6143
|
-
variableCollections:
|
|
6144
|
-
variableMode:
|
|
6145
|
-
supernovaBrand:
|
|
6146
|
-
supernovaTheme:
|
|
6147
|
-
});
|
|
6148
|
-
var FormattedCollections =
|
|
6149
|
-
variables:
|
|
6150
|
-
variableCollections:
|
|
6151
|
-
mappings:
|
|
6152
|
-
variablesOrder:
|
|
6148
|
+
valuesByMode: z207.record(VariableValue),
|
|
6149
|
+
remote: z207.boolean(),
|
|
6150
|
+
description: z207.string(),
|
|
6151
|
+
hiddenFromPublishing: z207.boolean(),
|
|
6152
|
+
scopes: z207.array(VariableScope),
|
|
6153
|
+
codeSyntax: z207.record(z207.any()).optional()
|
|
6154
|
+
});
|
|
6155
|
+
var VariableMode = z207.object({
|
|
6156
|
+
modeId: z207.string(),
|
|
6157
|
+
name: z207.string()
|
|
6158
|
+
});
|
|
6159
|
+
var Collection2 = z207.object({
|
|
6160
|
+
id: z207.string(),
|
|
6161
|
+
name: z207.string(),
|
|
6162
|
+
modes: z207.array(VariableMode),
|
|
6163
|
+
defaultModeId: z207.string(),
|
|
6164
|
+
remote: z207.boolean(),
|
|
6165
|
+
hiddenFromPublishing: z207.boolean()
|
|
6166
|
+
});
|
|
6167
|
+
var VariablesMapping = z207.object({
|
|
6168
|
+
variableCollections: z207.array(z207.string()).min(1),
|
|
6169
|
+
variableMode: z207.string().min(1),
|
|
6170
|
+
supernovaBrand: z207.string().min(1),
|
|
6171
|
+
supernovaTheme: z207.string().min(1).optional().or(z207.null())
|
|
6172
|
+
});
|
|
6173
|
+
var FormattedCollections = z207.object({
|
|
6174
|
+
variables: z207.record(z207.string(), Variable),
|
|
6175
|
+
variableCollections: z207.record(z207.string(), Collection2),
|
|
6176
|
+
mappings: z207.array(VariablesMapping).optional(),
|
|
6177
|
+
variablesOrder: z207.string().array().optional()
|
|
6153
6178
|
});
|
|
6154
6179
|
|
|
6155
6180
|
// src/api/dto/design-systems/import-job.ts
|
|
6156
|
-
import { z as
|
|
6157
|
-
var DTOImportJob =
|
|
6158
|
-
id:
|
|
6159
|
-
designSystemId:
|
|
6160
|
-
designSystemVersionId:
|
|
6161
|
-
operation:
|
|
6162
|
-
createdAt:
|
|
6163
|
-
stateChangedAt:
|
|
6181
|
+
import { z as z208 } from "zod";
|
|
6182
|
+
var DTOImportJob = z208.object({
|
|
6183
|
+
id: z208.string(),
|
|
6184
|
+
designSystemId: z208.string(),
|
|
6185
|
+
designSystemVersionId: z208.string(),
|
|
6186
|
+
operation: z208.literal("Import"),
|
|
6187
|
+
createdAt: z208.coerce.date(),
|
|
6188
|
+
stateChangedAt: z208.coerce.date(),
|
|
6164
6189
|
state: ImportJobState,
|
|
6165
|
-
sourceIds:
|
|
6190
|
+
sourceIds: z208.string().array()
|
|
6166
6191
|
});
|
|
6167
|
-
var DTOImportJobResponse =
|
|
6192
|
+
var DTOImportJobResponse = z208.object({
|
|
6168
6193
|
job: DTOImportJob
|
|
6169
6194
|
});
|
|
6170
|
-
var DTOBffFigmaImportRequestBody =
|
|
6171
|
-
type:
|
|
6172
|
-
brandPersistentId:
|
|
6173
|
-
fileId:
|
|
6195
|
+
var DTOBffFigmaImportRequestBody = z208.object({
|
|
6196
|
+
type: z208.literal(DataSourceRemoteType.Enum.Figma),
|
|
6197
|
+
brandPersistentId: z208.string().optional(),
|
|
6198
|
+
fileId: z208.string(),
|
|
6174
6199
|
scope: DataSourceFigmaScope,
|
|
6175
6200
|
autoImportMode: DataSourceAutoImportMode
|
|
6176
6201
|
});
|
|
6177
|
-
var DTOBffUploadImportRequestBody =
|
|
6178
|
-
type:
|
|
6179
|
-
brandPersistentId:
|
|
6180
|
-
sourceName:
|
|
6181
|
-
remoteId:
|
|
6182
|
-
isTokenTypeSplitEnabled:
|
|
6183
|
-
payload:
|
|
6202
|
+
var DTOBffUploadImportRequestBody = z208.object({
|
|
6203
|
+
type: z208.enum([DataSourceRemoteType.Enum.FigmaVariablesPlugin, "Upload"]).transform((v) => DataSourceRemoteType.Enum.FigmaVariablesPlugin),
|
|
6204
|
+
brandPersistentId: z208.string().optional(),
|
|
6205
|
+
sourceName: z208.string().optional(),
|
|
6206
|
+
remoteId: z208.string(),
|
|
6207
|
+
isTokenTypeSplitEnabled: z208.boolean().optional(),
|
|
6208
|
+
payload: z208.any()
|
|
6184
6209
|
});
|
|
6185
|
-
var DTOBffImportRequestBody =
|
|
6210
|
+
var DTOBffImportRequestBody = z208.discriminatedUnion("type", [
|
|
6186
6211
|
DTOBffFigmaImportRequestBody,
|
|
6187
6212
|
DTOBffUploadImportRequestBody
|
|
6188
6213
|
]);
|
|
6189
6214
|
|
|
6190
6215
|
// src/api/dto/design-systems/redirects.ts
|
|
6191
|
-
import { z as
|
|
6192
|
-
var DTOPageRedirectCreateBody =
|
|
6193
|
-
pagePersistentId:
|
|
6194
|
-
path:
|
|
6216
|
+
import { z as z209 } from "zod";
|
|
6217
|
+
var DTOPageRedirectCreateBody = z209.object({
|
|
6218
|
+
pagePersistentId: z209.string(),
|
|
6219
|
+
path: z209.string()
|
|
6195
6220
|
});
|
|
6196
6221
|
var DTOPageRedirectUpdateBody = DTOPageRedirectCreateBody.partial();
|
|
6197
|
-
var DTOPageRedirect =
|
|
6198
|
-
id:
|
|
6199
|
-
pagePersistentId:
|
|
6200
|
-
path:
|
|
6222
|
+
var DTOPageRedirect = z209.object({
|
|
6223
|
+
id: z209.string(),
|
|
6224
|
+
pagePersistentId: z209.string(),
|
|
6225
|
+
path: z209.string()
|
|
6201
6226
|
});
|
|
6202
|
-
var DTOPageRedirectListResponse =
|
|
6227
|
+
var DTOPageRedirectListResponse = z209.object({
|
|
6203
6228
|
redirects: DTOPageRedirect.array()
|
|
6204
6229
|
});
|
|
6205
|
-
var DTOPageRedirectResponse =
|
|
6230
|
+
var DTOPageRedirectResponse = z209.object({
|
|
6206
6231
|
redirect: DTOPageRedirect
|
|
6207
6232
|
});
|
|
6208
|
-
var DTOPageRedirectDeleteResponse =
|
|
6209
|
-
success:
|
|
6233
|
+
var DTOPageRedirectDeleteResponse = z209.object({
|
|
6234
|
+
success: z209.boolean()
|
|
6210
6235
|
});
|
|
6211
6236
|
|
|
6212
6237
|
// src/api/dto/design-systems/stats.ts
|
|
6213
|
-
import { z as
|
|
6214
|
-
var DTODesignSystemVersionStats =
|
|
6215
|
-
tokens:
|
|
6216
|
-
designSystemComponents:
|
|
6217
|
-
assets:
|
|
6218
|
-
documentationPages:
|
|
6219
|
-
figmaComponents:
|
|
6220
|
-
});
|
|
6221
|
-
var DTODesignSystemVersionStatsQuery =
|
|
6238
|
+
import { z as z210 } from "zod";
|
|
6239
|
+
var DTODesignSystemVersionStats = z210.object({
|
|
6240
|
+
tokens: z210.number(),
|
|
6241
|
+
designSystemComponents: z210.number(),
|
|
6242
|
+
assets: z210.number(),
|
|
6243
|
+
documentationPages: z210.number(),
|
|
6244
|
+
figmaComponents: z210.number()
|
|
6245
|
+
});
|
|
6246
|
+
var DTODesignSystemVersionStatsQuery = z210.object({
|
|
6222
6247
|
/**
|
|
6223
6248
|
* Unique ID across versions (non-persistent ID)
|
|
6224
6249
|
*/
|
|
6225
|
-
brandId:
|
|
6250
|
+
brandId: z210.string().optional()
|
|
6226
6251
|
});
|
|
6227
6252
|
|
|
6228
6253
|
// src/api/dto/design-systems/storybook.ts
|
|
6229
|
-
import { z as
|
|
6230
|
-
var DTOStorybookUploadUrlRequest =
|
|
6231
|
-
name:
|
|
6232
|
-
});
|
|
6233
|
-
var DTOStorybookUploadUrlResponse =
|
|
6234
|
-
signedUrl:
|
|
6235
|
-
storybookUploadId:
|
|
6236
|
-
});
|
|
6237
|
-
var DTOStorybookAccessTokenResponse =
|
|
6238
|
-
accessToken:
|
|
6239
|
-
});
|
|
6240
|
-
var DTOStorybookAccessTokenPayload =
|
|
6241
|
-
designSystemId:
|
|
6242
|
-
storybookUploadId:
|
|
6243
|
-
});
|
|
6244
|
-
var DTOStorybookUploadStatus =
|
|
6245
|
-
status:
|
|
6246
|
-
timestamp:
|
|
6247
|
-
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
|
|
6253
|
-
|
|
6254
|
-
|
|
6255
|
-
|
|
6256
|
-
|
|
6257
|
-
|
|
6258
|
-
|
|
6259
|
-
|
|
6260
|
-
|
|
6261
|
-
|
|
6254
|
+
import { z as z211 } from "zod";
|
|
6255
|
+
var DTOStorybookUploadUrlRequest = z211.object({
|
|
6256
|
+
name: z211.string()
|
|
6257
|
+
});
|
|
6258
|
+
var DTOStorybookUploadUrlResponse = z211.object({
|
|
6259
|
+
signedUrl: z211.string(),
|
|
6260
|
+
storybookUploadId: z211.string()
|
|
6261
|
+
});
|
|
6262
|
+
var DTOStorybookAccessTokenResponse = z211.object({
|
|
6263
|
+
accessToken: z211.string()
|
|
6264
|
+
});
|
|
6265
|
+
var DTOStorybookAccessTokenPayload = z211.object({
|
|
6266
|
+
designSystemId: z211.string(),
|
|
6267
|
+
storybookUploadId: z211.string()
|
|
6268
|
+
});
|
|
6269
|
+
var DTOStorybookUploadStatus = z211.object({
|
|
6270
|
+
status: z211.enum(["Failed", "InProgress", "Completed", "Unknown"]),
|
|
6271
|
+
timestamp: z211.number().optional(),
|
|
6272
|
+
reason: z211.string().optional()
|
|
6273
|
+
});
|
|
6274
|
+
var DTOStorybookEntryOrigin = z211.object({
|
|
6275
|
+
id: z211.string(),
|
|
6276
|
+
type: z211.enum(["story", "docs"]),
|
|
6277
|
+
name: z211.string(),
|
|
6278
|
+
title: z211.string()
|
|
6279
|
+
});
|
|
6280
|
+
var DTOStorybookEntry = z211.object({
|
|
6281
|
+
id: z211.string(),
|
|
6282
|
+
storyId: z211.string(),
|
|
6283
|
+
designSystemId: z211.string(),
|
|
6284
|
+
sourceId: z211.string(),
|
|
6285
|
+
aliases: z211.array(z211.string()).optional(),
|
|
6286
|
+
url: z211.string(),
|
|
6287
|
+
isDeleted: z211.boolean().optional(),
|
|
6262
6288
|
origin: DTOStorybookEntryOrigin,
|
|
6263
|
-
createdAt:
|
|
6264
|
-
updatedAt:
|
|
6289
|
+
createdAt: z211.coerce.date(),
|
|
6290
|
+
updatedAt: z211.coerce.date()
|
|
6265
6291
|
});
|
|
6266
|
-
var DTOStorybookEntryReplaceAction =
|
|
6267
|
-
newStoryId:
|
|
6292
|
+
var DTOStorybookEntryReplaceAction = z211.object({
|
|
6293
|
+
newStoryId: z211.string()
|
|
6268
6294
|
});
|
|
6269
|
-
var DTOStorybookEntryListResponse =
|
|
6270
|
-
var DTOStorybookEntryResponse =
|
|
6295
|
+
var DTOStorybookEntryListResponse = z211.object({ entries: z211.array(DTOStorybookEntry) });
|
|
6296
|
+
var DTOStorybookEntryResponse = z211.object({ entry: DTOStorybookEntry });
|
|
6271
6297
|
|
|
6272
6298
|
// src/api/dto/design-systems/user-design-systems.ts
|
|
6273
|
-
import { z as
|
|
6299
|
+
import { z as z219 } from "zod";
|
|
6274
6300
|
|
|
6275
6301
|
// src/api/dto/workspaces/git.ts
|
|
6276
|
-
import { z as
|
|
6277
|
-
var DTOGitOrganization =
|
|
6278
|
-
id:
|
|
6279
|
-
name:
|
|
6280
|
-
url:
|
|
6281
|
-
slug:
|
|
6302
|
+
import { z as z212 } from "zod";
|
|
6303
|
+
var DTOGitOrganization = z212.object({
|
|
6304
|
+
id: z212.string(),
|
|
6305
|
+
name: z212.string(),
|
|
6306
|
+
url: z212.string(),
|
|
6307
|
+
slug: z212.string()
|
|
6282
6308
|
});
|
|
6283
|
-
var DTOGitProject =
|
|
6284
|
-
id:
|
|
6285
|
-
name:
|
|
6286
|
-
url:
|
|
6287
|
-
slug:
|
|
6309
|
+
var DTOGitProject = z212.object({
|
|
6310
|
+
id: z212.string(),
|
|
6311
|
+
name: z212.string(),
|
|
6312
|
+
url: z212.string(),
|
|
6313
|
+
slug: z212.string()
|
|
6288
6314
|
});
|
|
6289
|
-
var DTOGitRepository =
|
|
6290
|
-
id:
|
|
6291
|
-
name:
|
|
6292
|
-
url:
|
|
6293
|
-
slug:
|
|
6294
|
-
defaultBranch:
|
|
6315
|
+
var DTOGitRepository = z212.object({
|
|
6316
|
+
id: z212.string(),
|
|
6317
|
+
name: z212.string(),
|
|
6318
|
+
url: z212.string(),
|
|
6319
|
+
slug: z212.string(),
|
|
6320
|
+
defaultBranch: z212.string().optional()
|
|
6295
6321
|
});
|
|
6296
|
-
var DTOGitBranch =
|
|
6297
|
-
name:
|
|
6298
|
-
lastCommitId:
|
|
6322
|
+
var DTOGitBranch = z212.object({
|
|
6323
|
+
name: z212.string(),
|
|
6324
|
+
lastCommitId: z212.string()
|
|
6299
6325
|
});
|
|
6300
6326
|
|
|
6301
6327
|
// src/api/dto/workspaces/integrations.ts
|
|
6302
|
-
import { z as
|
|
6328
|
+
import { z as z213 } from "zod";
|
|
6303
6329
|
var DTOIntegrationCredentials = IntegrationCredentials.omit({
|
|
6304
6330
|
accessToken: true,
|
|
6305
6331
|
refreshToken: true
|
|
6306
6332
|
});
|
|
6307
|
-
var DTOIntegration =
|
|
6308
|
-
id:
|
|
6309
|
-
workspaceId:
|
|
6333
|
+
var DTOIntegration = z213.object({
|
|
6334
|
+
id: z213.string(),
|
|
6335
|
+
workspaceId: z213.string(),
|
|
6310
6336
|
type: ExtendedIntegrationType,
|
|
6311
|
-
createdAt:
|
|
6312
|
-
integrationCredentials:
|
|
6313
|
-
integrationDesignSystems:
|
|
6337
|
+
createdAt: z213.coerce.date(),
|
|
6338
|
+
integrationCredentials: z213.array(DTOIntegrationCredentials).optional(),
|
|
6339
|
+
integrationDesignSystems: z213.array(IntegrationDesignSystem).optional()
|
|
6314
6340
|
});
|
|
6315
|
-
var DTOIntegrationOAuthGetResponse =
|
|
6316
|
-
url:
|
|
6341
|
+
var DTOIntegrationOAuthGetResponse = z213.object({
|
|
6342
|
+
url: z213.string()
|
|
6317
6343
|
});
|
|
6318
|
-
var DTOIntegrationPostResponse =
|
|
6344
|
+
var DTOIntegrationPostResponse = z213.object({
|
|
6319
6345
|
integration: DTOIntegration
|
|
6320
6346
|
});
|
|
6321
|
-
var DTOIntegrationsGetListResponse =
|
|
6347
|
+
var DTOIntegrationsGetListResponse = z213.object({
|
|
6322
6348
|
integrations: DTOIntegration.array()
|
|
6323
6349
|
});
|
|
6324
6350
|
|
|
6325
6351
|
// src/api/dto/workspaces/invitations.ts
|
|
6326
|
-
import { z as
|
|
6327
|
-
var DTOWorkspaceInvitationInput =
|
|
6328
|
-
email:
|
|
6352
|
+
import { z as z214 } from "zod";
|
|
6353
|
+
var DTOWorkspaceInvitationInput = z214.object({
|
|
6354
|
+
email: z214.string().email(),
|
|
6329
6355
|
role: WorkspaceRoleSchema
|
|
6330
6356
|
});
|
|
6331
|
-
var DTOWorkspaceInvitationsListInput =
|
|
6357
|
+
var DTOWorkspaceInvitationsListInput = z214.object({
|
|
6332
6358
|
invites: DTOWorkspaceInvitationInput.array().max(100),
|
|
6333
|
-
designSystemId:
|
|
6359
|
+
designSystemId: z214.string().optional()
|
|
6334
6360
|
});
|
|
6335
|
-
var DTOWorkspaceInvitationsResponse =
|
|
6361
|
+
var DTOWorkspaceInvitationsResponse = z214.object({
|
|
6336
6362
|
invitations: WorkspaceInvitation.array()
|
|
6337
6363
|
});
|
|
6338
|
-
var DTOWorkspaceInviteUpdate =
|
|
6364
|
+
var DTOWorkspaceInviteUpdate = z214.object({
|
|
6339
6365
|
role: WorkspaceRoleSchema
|
|
6340
6366
|
});
|
|
6341
|
-
var DTOWorkspaceInvitationUpdateResponse =
|
|
6367
|
+
var DTOWorkspaceInvitationUpdateResponse = z214.object({
|
|
6342
6368
|
invitation: WorkspaceInvitation
|
|
6343
6369
|
});
|
|
6344
6370
|
|
|
6345
6371
|
// src/api/dto/workspaces/membership.ts
|
|
6346
|
-
import { z as
|
|
6372
|
+
import { z as z217 } from "zod";
|
|
6347
6373
|
|
|
6348
6374
|
// src/api/dto/workspaces/workspace.ts
|
|
6349
|
-
import { z as
|
|
6375
|
+
import { z as z216 } from "zod";
|
|
6350
6376
|
|
|
6351
6377
|
// src/api/dto/workspaces/npm-registry.ts
|
|
6352
|
-
import { z as
|
|
6378
|
+
import { z as z215 } from "zod";
|
|
6353
6379
|
var DTONpmRegistryConfigConstants = {
|
|
6354
6380
|
passwordPlaceholder: "redacted"
|
|
6355
6381
|
};
|
|
6356
|
-
var DTONpmRegistryConfig =
|
|
6382
|
+
var DTONpmRegistryConfig = z215.object({
|
|
6357
6383
|
// Registry basic configuration
|
|
6358
6384
|
registryType: NpmRegistryType,
|
|
6359
|
-
registryUrl:
|
|
6360
|
-
customRegistryUrl:
|
|
6385
|
+
registryUrl: z215.string(),
|
|
6386
|
+
customRegistryUrl: z215.string().optional(),
|
|
6361
6387
|
// URL of Supernova NPM packages proxy
|
|
6362
|
-
proxyUrl:
|
|
6388
|
+
proxyUrl: z215.string(),
|
|
6363
6389
|
// Auth configuration
|
|
6364
6390
|
authType: NpmRegistryAuthType,
|
|
6365
|
-
accessToken:
|
|
6366
|
-
username:
|
|
6367
|
-
password:
|
|
6391
|
+
accessToken: z215.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
|
|
6392
|
+
username: z215.string().optional(),
|
|
6393
|
+
password: z215.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
|
|
6368
6394
|
// NPM package scopes for whih the proxy should be enabled
|
|
6369
|
-
enabledScopes:
|
|
6395
|
+
enabledScopes: z215.array(z215.string()),
|
|
6370
6396
|
// True if client should bypass Supernova proxy and connect directly to the registry
|
|
6371
6397
|
// (e.g. when the NPM registry is behind a VPN or firewall which prevents Supernova from accessing it)
|
|
6372
|
-
bypassProxy:
|
|
6398
|
+
bypassProxy: z215.boolean()
|
|
6373
6399
|
});
|
|
6374
|
-
var DTONpmRegistryAccessTokenResponse =
|
|
6375
|
-
version:
|
|
6376
|
-
accessToken:
|
|
6377
|
-
registryUrl:
|
|
6400
|
+
var DTONpmRegistryAccessTokenResponse = z215.object({
|
|
6401
|
+
version: z215.number(),
|
|
6402
|
+
accessToken: z215.string().optional(),
|
|
6403
|
+
registryUrl: z215.string()
|
|
6378
6404
|
});
|
|
6379
|
-
var DTOUpdateRegistryInput =
|
|
6405
|
+
var DTOUpdateRegistryInput = z215.object({
|
|
6380
6406
|
registryType: nullishToOptional(NpmRegistryType),
|
|
6381
6407
|
authType: nullishToOptional(NpmRegistryAuthType),
|
|
6382
|
-
enabledScopes: nullishToOptional(
|
|
6383
|
-
customRegistryUrl: nullishToOptional(
|
|
6384
|
-
bypassProxy: nullishToOptional(
|
|
6385
|
-
npmProxyVersion: nullishToOptional(
|
|
6386
|
-
authHeaderName: nullishToOptional(
|
|
6387
|
-
authHeaderValue: nullishToOptional(
|
|
6388
|
-
accessToken: nullishToOptional(
|
|
6389
|
-
username: nullishToOptional(
|
|
6390
|
-
password: nullishToOptional(
|
|
6391
|
-
});
|
|
6392
|
-
var DTOUpdateRegistryOutput =
|
|
6408
|
+
enabledScopes: nullishToOptional(z215.array(z215.string())),
|
|
6409
|
+
customRegistryUrl: nullishToOptional(z215.string()),
|
|
6410
|
+
bypassProxy: nullishToOptional(z215.boolean()),
|
|
6411
|
+
npmProxyVersion: nullishToOptional(z215.number()),
|
|
6412
|
+
authHeaderName: nullishToOptional(z215.string()),
|
|
6413
|
+
authHeaderValue: nullishToOptional(z215.string()),
|
|
6414
|
+
accessToken: nullishToOptional(z215.string()),
|
|
6415
|
+
username: nullishToOptional(z215.string()),
|
|
6416
|
+
password: nullishToOptional(z215.string())
|
|
6417
|
+
});
|
|
6418
|
+
var DTOUpdateRegistryOutput = z215.object({
|
|
6393
6419
|
npmRegistrySettings: DTONpmRegistryConfig
|
|
6394
6420
|
});
|
|
6395
6421
|
|
|
6396
6422
|
// src/api/dto/workspaces/workspace.ts
|
|
6397
6423
|
var DTOWorkspaceProfile = WorkspaceProfile;
|
|
6398
|
-
var DTOWorkspace =
|
|
6399
|
-
id:
|
|
6424
|
+
var DTOWorkspace = z216.object({
|
|
6425
|
+
id: z216.string(),
|
|
6400
6426
|
profile: DTOWorkspaceProfile,
|
|
6401
6427
|
subscription: Subscription,
|
|
6402
6428
|
npmRegistry: DTONpmRegistryConfig.optional()
|
|
6403
6429
|
});
|
|
6404
|
-
var DTOWorkspaceCreateInput =
|
|
6405
|
-
name:
|
|
6430
|
+
var DTOWorkspaceCreateInput = z216.object({
|
|
6431
|
+
name: z216.string()
|
|
6406
6432
|
});
|
|
6407
|
-
var DTOWorkspaceResponse =
|
|
6433
|
+
var DTOWorkspaceResponse = z216.object({
|
|
6408
6434
|
workspace: DTOWorkspace
|
|
6409
6435
|
});
|
|
6410
6436
|
|
|
6411
6437
|
// src/api/dto/workspaces/membership.ts
|
|
6412
|
-
var DTOWorkspaceRole =
|
|
6413
|
-
var DTOUserWorkspaceMembership =
|
|
6438
|
+
var DTOWorkspaceRole = z217.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
|
|
6439
|
+
var DTOUserWorkspaceMembership = z217.object({
|
|
6414
6440
|
// Workspace the user is a member of
|
|
6415
6441
|
workspace: DTOWorkspace,
|
|
6416
6442
|
// Assigned role the user has in the workspace
|
|
@@ -6420,54 +6446,54 @@ var DTOUserWorkspaceMembership = z216.object({
|
|
|
6420
6446
|
// when a workspace's subscription is downgraded to free tier
|
|
6421
6447
|
effectiveRole: DTOWorkspaceRole
|
|
6422
6448
|
});
|
|
6423
|
-
var DTOWorkspaceMember =
|
|
6449
|
+
var DTOWorkspaceMember = z217.object({
|
|
6424
6450
|
user: User,
|
|
6425
6451
|
role: WorkspaceRoleSchema,
|
|
6426
6452
|
effectiveRole: WorkspaceRoleSchema
|
|
6427
6453
|
});
|
|
6428
|
-
var DTOUserWorkspaceMembershipsResponse =
|
|
6429
|
-
membership:
|
|
6454
|
+
var DTOUserWorkspaceMembershipsResponse = z217.object({
|
|
6455
|
+
membership: z217.array(DTOUserWorkspaceMembership)
|
|
6430
6456
|
});
|
|
6431
|
-
var DTOWorkspaceMembersListResponse =
|
|
6432
|
-
members:
|
|
6457
|
+
var DTOWorkspaceMembersListResponse = z217.object({
|
|
6458
|
+
members: z217.array(DTOWorkspaceMember)
|
|
6433
6459
|
});
|
|
6434
6460
|
|
|
6435
6461
|
// src/api/dto/workspaces/untyped-data.ts
|
|
6436
|
-
import { z as
|
|
6462
|
+
import { z as z218 } from "zod";
|
|
6437
6463
|
var DTOWorkspaceUntypedData = WorkspaceUntypedData;
|
|
6438
|
-
var DTOWorkspaceUntypedDataListResponse =
|
|
6464
|
+
var DTOWorkspaceUntypedDataListResponse = z218.object({
|
|
6439
6465
|
data: DTOWorkspaceUntypedData.array()
|
|
6440
6466
|
});
|
|
6441
|
-
var DTOWorkspaceUntypedDataResponse =
|
|
6467
|
+
var DTOWorkspaceUntypedDataResponse = z218.object({
|
|
6442
6468
|
data: DTOWorkspaceUntypedData
|
|
6443
6469
|
});
|
|
6444
|
-
var DTOWorkspaceUntypedDataCreatePayload =
|
|
6445
|
-
value:
|
|
6470
|
+
var DTOWorkspaceUntypedDataCreatePayload = z218.object({
|
|
6471
|
+
value: z218.unknown()
|
|
6446
6472
|
});
|
|
6447
|
-
var DTOWorkspaceUntypedDataUpdatePayload =
|
|
6448
|
-
value:
|
|
6473
|
+
var DTOWorkspaceUntypedDataUpdatePayload = z218.object({
|
|
6474
|
+
value: z218.unknown()
|
|
6449
6475
|
});
|
|
6450
6476
|
|
|
6451
6477
|
// src/api/dto/design-systems/user-design-systems.ts
|
|
6452
|
-
var DTOUserDesignSystemsResponse =
|
|
6478
|
+
var DTOUserDesignSystemsResponse = z219.object({
|
|
6453
6479
|
designSystems: DTODesignSystem.array(),
|
|
6454
6480
|
workspaces: DTOWorkspace.array()
|
|
6455
6481
|
});
|
|
6456
6482
|
|
|
6457
6483
|
// src/api/dto/design-systems/version-room.ts
|
|
6458
|
-
import { z as
|
|
6459
|
-
var DTODesignSystemVersionRoom =
|
|
6460
|
-
id:
|
|
6484
|
+
import { z as z220 } from "zod";
|
|
6485
|
+
var DTODesignSystemVersionRoom = z220.object({
|
|
6486
|
+
id: z220.string()
|
|
6461
6487
|
});
|
|
6462
|
-
var DTODesignSystemVersionRoomResponse =
|
|
6488
|
+
var DTODesignSystemVersionRoomResponse = z220.object({
|
|
6463
6489
|
room: DTODesignSystemVersionRoom
|
|
6464
6490
|
});
|
|
6465
6491
|
|
|
6466
6492
|
// src/api/dto/design-systems/version.ts
|
|
6467
|
-
import { z as
|
|
6493
|
+
import { z as z233 } from "zod";
|
|
6468
6494
|
|
|
6469
6495
|
// src/api/payloads/design-systems/update-design-system.ts
|
|
6470
|
-
import { z as
|
|
6496
|
+
import { z as z221 } from "zod";
|
|
6471
6497
|
var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
|
|
6472
6498
|
id: true,
|
|
6473
6499
|
workspaceId: true,
|
|
@@ -6479,56 +6505,56 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
|
|
|
6479
6505
|
}).extend({
|
|
6480
6506
|
meta: ObjectMeta.partial().optional()
|
|
6481
6507
|
});
|
|
6482
|
-
var DTODesignSystemUpdateAccessModeInput =
|
|
6508
|
+
var DTODesignSystemUpdateAccessModeInput = z221.object({
|
|
6483
6509
|
accessMode: DesignSystemAccessMode,
|
|
6484
|
-
retain:
|
|
6485
|
-
userIds:
|
|
6486
|
-
inviteIds:
|
|
6510
|
+
retain: z221.object({
|
|
6511
|
+
userIds: z221.string().array(),
|
|
6512
|
+
inviteIds: z221.string().array()
|
|
6487
6513
|
}).optional()
|
|
6488
6514
|
});
|
|
6489
6515
|
|
|
6490
6516
|
// src/api/payloads/design-systems/version.ts
|
|
6491
|
-
import { z as
|
|
6492
|
-
var ObjectMeta2 =
|
|
6493
|
-
name:
|
|
6494
|
-
description:
|
|
6517
|
+
import { z as z222 } from "zod";
|
|
6518
|
+
var ObjectMeta2 = z222.object({
|
|
6519
|
+
name: z222.string().max(150).optional(),
|
|
6520
|
+
description: z222.string().max(2e3).optional()
|
|
6495
6521
|
});
|
|
6496
6522
|
function validateDesignSystemVersion(version) {
|
|
6497
6523
|
const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
|
|
6498
6524
|
return urlCompliantRegex.test(version);
|
|
6499
6525
|
}
|
|
6500
|
-
var DTOCreateVersionInput =
|
|
6526
|
+
var DTOCreateVersionInput = z222.object({
|
|
6501
6527
|
meta: ObjectMeta2,
|
|
6502
|
-
version:
|
|
6528
|
+
version: z222.string().refine(validateDesignSystemVersion, {
|
|
6503
6529
|
message: "Invalid semantic versioning format"
|
|
6504
6530
|
}),
|
|
6505
|
-
changeLog:
|
|
6531
|
+
changeLog: z222.string().optional()
|
|
6506
6532
|
});
|
|
6507
|
-
var DTOUpdateVersionInput =
|
|
6533
|
+
var DTOUpdateVersionInput = z222.object({
|
|
6508
6534
|
meta: ObjectMeta2,
|
|
6509
|
-
version:
|
|
6535
|
+
version: z222.string(),
|
|
6510
6536
|
// required for PUT, but not editable
|
|
6511
|
-
changeLog:
|
|
6537
|
+
changeLog: z222.string()
|
|
6512
6538
|
});
|
|
6513
6539
|
|
|
6514
6540
|
// src/api/payloads/documentation/analytics.ts
|
|
6515
|
-
import { z as
|
|
6516
|
-
var DTODocumentationAnalyticsTimeFrameComparison =
|
|
6517
|
-
referencePeriod:
|
|
6518
|
-
start:
|
|
6519
|
-
end:
|
|
6541
|
+
import { z as z223 } from "zod";
|
|
6542
|
+
var DTODocumentationAnalyticsTimeFrameComparison = z223.object({
|
|
6543
|
+
referencePeriod: z223.object({
|
|
6544
|
+
start: z223.coerce.date(),
|
|
6545
|
+
end: z223.coerce.date().optional()
|
|
6520
6546
|
}),
|
|
6521
|
-
baselinePeriod:
|
|
6522
|
-
start:
|
|
6523
|
-
end:
|
|
6547
|
+
baselinePeriod: z223.object({
|
|
6548
|
+
start: z223.coerce.date(),
|
|
6549
|
+
end: z223.coerce.date().optional()
|
|
6524
6550
|
})
|
|
6525
6551
|
});
|
|
6526
|
-
var DTODocumentationAnalyticsDiffPayload =
|
|
6527
|
-
timeFrames:
|
|
6552
|
+
var DTODocumentationAnalyticsDiffPayload = z223.object({
|
|
6553
|
+
timeFrames: z223.array(DTODocumentationAnalyticsTimeFrameComparison)
|
|
6528
6554
|
});
|
|
6529
6555
|
|
|
6530
6556
|
// src/api/payloads/documentation/block-definitions.ts
|
|
6531
|
-
import { z as
|
|
6557
|
+
import { z as z224 } from "zod";
|
|
6532
6558
|
|
|
6533
6559
|
// src/api/dto/documentation/block-definition.ts
|
|
6534
6560
|
var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
|
|
@@ -6540,76 +6566,76 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
|
|
|
6540
6566
|
var DTOPageBlockDefinition = PageBlockDefinition;
|
|
6541
6567
|
|
|
6542
6568
|
// src/api/payloads/documentation/block-definitions.ts
|
|
6543
|
-
var DTOGetBlockDefinitionsOutput =
|
|
6544
|
-
definitions:
|
|
6569
|
+
var DTOGetBlockDefinitionsOutput = z224.object({
|
|
6570
|
+
definitions: z224.array(DTOPageBlockDefinition)
|
|
6545
6571
|
});
|
|
6546
6572
|
|
|
6547
6573
|
// src/api/payloads/documentation/design-data-doc-diff.ts
|
|
6548
|
-
import { z as
|
|
6549
|
-
var DTODocumentationPublishTypeQueryParams =
|
|
6550
|
-
environment:
|
|
6574
|
+
import { z as z225 } from "zod";
|
|
6575
|
+
var DTODocumentationPublishTypeQueryParams = z225.object({
|
|
6576
|
+
environment: z225.enum(["Live", "Preview"])
|
|
6551
6577
|
});
|
|
6552
6578
|
|
|
6553
6579
|
// src/api/payloads/export/pipeline.ts
|
|
6554
|
-
import { z as
|
|
6580
|
+
import { z as z227 } from "zod";
|
|
6555
6581
|
|
|
6556
6582
|
// src/api/dto/export/exporter-property.ts
|
|
6557
|
-
import { z as
|
|
6558
|
-
var PrimitiveValue2 =
|
|
6559
|
-
var ArrayValue2 =
|
|
6560
|
-
var ObjectValue2 =
|
|
6583
|
+
import { z as z226 } from "zod";
|
|
6584
|
+
var PrimitiveValue2 = z226.number().or(z226.boolean()).or(z226.string());
|
|
6585
|
+
var ArrayValue2 = z226.array(z226.string());
|
|
6586
|
+
var ObjectValue2 = z226.record(z226.string());
|
|
6561
6587
|
var DTOExporterPropertyValue = PrimitiveValue2.or(ArrayValue2).or(ObjectValue2);
|
|
6562
|
-
var DTOExporterPropertyType =
|
|
6563
|
-
var PropertyDefinitionBase2 =
|
|
6564
|
-
key:
|
|
6565
|
-
title:
|
|
6566
|
-
description:
|
|
6567
|
-
category:
|
|
6568
|
-
dependsOn:
|
|
6569
|
-
});
|
|
6570
|
-
var DTOExporterPropertyDefinitionEnumOption =
|
|
6571
|
-
label:
|
|
6572
|
-
description:
|
|
6588
|
+
var DTOExporterPropertyType = z226.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
|
|
6589
|
+
var PropertyDefinitionBase2 = z226.object({
|
|
6590
|
+
key: z226.string(),
|
|
6591
|
+
title: z226.string(),
|
|
6592
|
+
description: z226.string(),
|
|
6593
|
+
category: z226.string().optional(),
|
|
6594
|
+
dependsOn: z226.record(z226.boolean()).optional()
|
|
6595
|
+
});
|
|
6596
|
+
var DTOExporterPropertyDefinitionEnumOption = z226.object({
|
|
6597
|
+
label: z226.string(),
|
|
6598
|
+
description: z226.string()
|
|
6573
6599
|
});
|
|
6574
6600
|
var DTOExporterPropertyDefinitionEnum = PropertyDefinitionBase2.extend({
|
|
6575
|
-
type:
|
|
6576
|
-
options:
|
|
6577
|
-
default:
|
|
6601
|
+
type: z226.literal(DTOExporterPropertyType.Enum.Enum),
|
|
6602
|
+
options: z226.record(DTOExporterPropertyDefinitionEnumOption),
|
|
6603
|
+
default: z226.string()
|
|
6578
6604
|
});
|
|
6579
6605
|
var DTOExporterPropertyDefinitionBoolean = PropertyDefinitionBase2.extend({
|
|
6580
|
-
type:
|
|
6581
|
-
default:
|
|
6606
|
+
type: z226.literal(DTOExporterPropertyType.Enum.Boolean),
|
|
6607
|
+
default: z226.boolean()
|
|
6582
6608
|
});
|
|
6583
6609
|
var DTOExporterPropertyDefinitionString = PropertyDefinitionBase2.extend({
|
|
6584
|
-
type:
|
|
6585
|
-
default:
|
|
6586
|
-
isMultiline:
|
|
6610
|
+
type: z226.literal(DTOExporterPropertyType.Enum.String),
|
|
6611
|
+
default: z226.string(),
|
|
6612
|
+
isMultiline: z226.boolean().optional()
|
|
6587
6613
|
});
|
|
6588
6614
|
var DTOExporterPropertyDefinitionNumber = PropertyDefinitionBase2.extend({
|
|
6589
|
-
type:
|
|
6590
|
-
default:
|
|
6615
|
+
type: z226.literal(DTOExporterPropertyType.Enum.Number),
|
|
6616
|
+
default: z226.number()
|
|
6591
6617
|
});
|
|
6592
6618
|
var DTOExporterPropertyDefinitionArray = PropertyDefinitionBase2.extend({
|
|
6593
|
-
type:
|
|
6619
|
+
type: z226.literal(DTOExporterPropertyType.Enum.Array),
|
|
6594
6620
|
default: ArrayValue2
|
|
6595
6621
|
});
|
|
6596
6622
|
var DTOExporterPropertyDefinitionObject = PropertyDefinitionBase2.extend({
|
|
6597
|
-
type:
|
|
6623
|
+
type: z226.literal(DTOExporterPropertyType.Enum.Object),
|
|
6598
6624
|
default: ObjectValue2,
|
|
6599
|
-
allowedKeys:
|
|
6600
|
-
options:
|
|
6601
|
-
type:
|
|
6625
|
+
allowedKeys: z226.object({
|
|
6626
|
+
options: z226.string().array(),
|
|
6627
|
+
type: z226.string()
|
|
6602
6628
|
}).optional(),
|
|
6603
|
-
allowedValues:
|
|
6604
|
-
type:
|
|
6629
|
+
allowedValues: z226.object({
|
|
6630
|
+
type: z226.string()
|
|
6605
6631
|
}).optional()
|
|
6606
6632
|
});
|
|
6607
6633
|
var DTOExporterPropertyDefinitionCode = PropertyDefinitionBase2.extend({
|
|
6608
|
-
type:
|
|
6609
|
-
language:
|
|
6610
|
-
default:
|
|
6634
|
+
type: z226.literal(DTOExporterPropertyType.Enum.Code),
|
|
6635
|
+
language: z226.string(),
|
|
6636
|
+
default: z226.string()
|
|
6611
6637
|
});
|
|
6612
|
-
var DTOExporterPropertyDefinition =
|
|
6638
|
+
var DTOExporterPropertyDefinition = z226.discriminatedUnion("type", [
|
|
6613
6639
|
DTOExporterPropertyDefinitionEnum,
|
|
6614
6640
|
DTOExporterPropertyDefinitionBoolean,
|
|
6615
6641
|
DTOExporterPropertyDefinitionString,
|
|
@@ -6618,84 +6644,84 @@ var DTOExporterPropertyDefinition = z225.discriminatedUnion("type", [
|
|
|
6618
6644
|
DTOExporterPropertyDefinitionObject,
|
|
6619
6645
|
DTOExporterPropertyDefinitionCode
|
|
6620
6646
|
]);
|
|
6621
|
-
var DTOExporterPropertyDefinitionsResponse =
|
|
6647
|
+
var DTOExporterPropertyDefinitionsResponse = z226.object({
|
|
6622
6648
|
properties: DTOExporterPropertyDefinition.array()
|
|
6623
6649
|
});
|
|
6624
|
-
var DTOExporterPropertyValueMap =
|
|
6650
|
+
var DTOExporterPropertyValueMap = z226.record(DTOExporterPropertyValue);
|
|
6625
6651
|
|
|
6626
6652
|
// src/api/payloads/export/pipeline.ts
|
|
6627
|
-
var GitDestinationOptions =
|
|
6628
|
-
branch:
|
|
6629
|
-
commitMessage:
|
|
6630
|
-
commitAuthorName:
|
|
6631
|
-
commitAuthorEmail:
|
|
6632
|
-
pullRequestTitle:
|
|
6633
|
-
pullRequestDescription:
|
|
6634
|
-
relativePath:
|
|
6635
|
-
purgeDirectory:
|
|
6636
|
-
});
|
|
6637
|
-
var DTOPipelineCreateBody =
|
|
6638
|
-
name:
|
|
6639
|
-
exporterId:
|
|
6640
|
-
designSystemId:
|
|
6641
|
-
isEnabled:
|
|
6653
|
+
var GitDestinationOptions = z227.object({
|
|
6654
|
+
branch: z227.string().min(1).optional(),
|
|
6655
|
+
commitMessage: z227.string().min(1).optional(),
|
|
6656
|
+
commitAuthorName: z227.string().min(1).optional(),
|
|
6657
|
+
commitAuthorEmail: z227.string().email().optional(),
|
|
6658
|
+
pullRequestTitle: z227.string().min(1).optional(),
|
|
6659
|
+
pullRequestDescription: z227.string().min(1).optional(),
|
|
6660
|
+
relativePath: z227.string().optional(),
|
|
6661
|
+
purgeDirectory: z227.boolean().optional()
|
|
6662
|
+
});
|
|
6663
|
+
var DTOPipelineCreateBody = z227.object({
|
|
6664
|
+
name: z227.string(),
|
|
6665
|
+
exporterId: z227.string(),
|
|
6666
|
+
designSystemId: z227.string(),
|
|
6667
|
+
isEnabled: z227.boolean(),
|
|
6642
6668
|
eventType: PipelineEventType,
|
|
6643
|
-
brandPersistentId:
|
|
6644
|
-
themePersistentId:
|
|
6645
|
-
themePersistentIds:
|
|
6669
|
+
brandPersistentId: z227.string().optional(),
|
|
6670
|
+
themePersistentId: z227.string().optional(),
|
|
6671
|
+
themePersistentIds: z227.string().array().optional(),
|
|
6646
6672
|
exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
|
|
6647
6673
|
destination: PipelineDestinationType.optional(),
|
|
6648
6674
|
gitQuery: GitObjectsQuery,
|
|
6649
|
-
destinations:
|
|
6675
|
+
destinations: z227.object({
|
|
6650
6676
|
s3: ExporterDestinationS3.nullish(),
|
|
6651
6677
|
azure: ExporterDestinationAzure.nullish(),
|
|
6652
6678
|
bitbucket: ExporterDestinationBitbucket.nullish(),
|
|
6653
6679
|
github: ExporterDestinationGithub.nullish(),
|
|
6654
6680
|
gitlab: ExporterDestinationGitlab.nullish(),
|
|
6655
6681
|
documentation: ExporterDestinationDocs.nullish(),
|
|
6656
|
-
webhookUrl:
|
|
6682
|
+
webhookUrl: z227.string().nullish()
|
|
6657
6683
|
})
|
|
6658
6684
|
});
|
|
6659
|
-
var DTOPipelineUpdateBody =
|
|
6660
|
-
exporterId:
|
|
6661
|
-
name:
|
|
6662
|
-
isEnabled:
|
|
6685
|
+
var DTOPipelineUpdateBody = z227.object({
|
|
6686
|
+
exporterId: z227.string().optional(),
|
|
6687
|
+
name: z227.string().optional(),
|
|
6688
|
+
isEnabled: z227.boolean().optional(),
|
|
6663
6689
|
eventType: PipelineEventType.optional(),
|
|
6664
|
-
brandPersistentId:
|
|
6665
|
-
themePersistentId:
|
|
6666
|
-
themePersistentIds:
|
|
6690
|
+
brandPersistentId: z227.string().optional(),
|
|
6691
|
+
themePersistentId: z227.string().optional(),
|
|
6692
|
+
themePersistentIds: z227.string().array().optional(),
|
|
6667
6693
|
exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
|
|
6668
6694
|
destination: PipelineDestinationType.optional(),
|
|
6669
6695
|
gitQuery: GitObjectsQuery.optional(),
|
|
6670
|
-
destinations:
|
|
6696
|
+
destinations: z227.object({
|
|
6671
6697
|
s3: ExporterDestinationS3.nullish(),
|
|
6672
6698
|
azure: ExporterDestinationAzure.nullish(),
|
|
6673
6699
|
bitbucket: ExporterDestinationBitbucket.nullish(),
|
|
6674
6700
|
github: ExporterDestinationGithub.nullish(),
|
|
6675
6701
|
gitlab: ExporterDestinationGitlab.nullish(),
|
|
6676
6702
|
documentation: ExporterDestinationDocs.nullish(),
|
|
6677
|
-
webhookUrl:
|
|
6703
|
+
webhookUrl: z227.string().nullish()
|
|
6678
6704
|
}).optional(),
|
|
6679
6705
|
gitDestinationOptions: GitDestinationOptions.partial().optional()
|
|
6680
6706
|
});
|
|
6681
|
-
var DTOPipelineTriggerBody =
|
|
6682
|
-
designSystemVersionId:
|
|
6707
|
+
var DTOPipelineTriggerBody = z227.object({
|
|
6708
|
+
designSystemVersionId: z227.string()
|
|
6683
6709
|
});
|
|
6684
6710
|
|
|
6685
6711
|
// src/api/payloads/liveblocks/auth.ts
|
|
6686
|
-
import { z as
|
|
6687
|
-
var DTOLiveblocksAuthRequest =
|
|
6688
|
-
room:
|
|
6712
|
+
import { z as z228 } from "zod";
|
|
6713
|
+
var DTOLiveblocksAuthRequest = z228.object({
|
|
6714
|
+
room: z228.string().optional()
|
|
6689
6715
|
});
|
|
6690
6716
|
|
|
6691
6717
|
// src/api/payloads/users/notifications/notification-settings.ts
|
|
6692
|
-
import { z as
|
|
6693
|
-
var DTOUpdateUserNotificationSettingsPayload =
|
|
6718
|
+
import { z as z229 } from "zod";
|
|
6719
|
+
var DTOUpdateUserNotificationSettingsPayload = z229.object({
|
|
6694
6720
|
notificationSettings: UserNotificationSettings
|
|
6695
6721
|
});
|
|
6696
|
-
var DTOUserNotificationSettingsResponse =
|
|
6697
|
-
userId:
|
|
6698
|
-
workspaceId:
|
|
6722
|
+
var DTOUserNotificationSettingsResponse = z229.object({
|
|
6723
|
+
userId: z229.string(),
|
|
6724
|
+
workspaceId: z229.string(),
|
|
6699
6725
|
notificationSettings: UserNotificationSettings
|
|
6700
6726
|
});
|
|
6701
6727
|
|
|
@@ -6703,13 +6729,13 @@ var DTOUserNotificationSettingsResponse = z228.object({
|
|
|
6703
6729
|
var DTOUserProfileUpdatePayload = UserProfileUpdate;
|
|
6704
6730
|
|
|
6705
6731
|
// src/api/payloads/workspaces/transfer-ownership.ts
|
|
6706
|
-
import { z as
|
|
6707
|
-
var DTOTransferOwnershipPayload =
|
|
6708
|
-
newOwnerId:
|
|
6732
|
+
import { z as z230 } from "zod";
|
|
6733
|
+
var DTOTransferOwnershipPayload = z230.object({
|
|
6734
|
+
newOwnerId: z230.string()
|
|
6709
6735
|
});
|
|
6710
6736
|
|
|
6711
6737
|
// src/api/payloads/workspaces/workspace-configuration.ts
|
|
6712
|
-
import { z as
|
|
6738
|
+
import { z as z231 } from "zod";
|
|
6713
6739
|
var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
|
|
6714
6740
|
function validateSsoPayload(ssoPayload) {
|
|
6715
6741
|
const keys = [];
|
|
@@ -6732,21 +6758,21 @@ function validateSsoPayload(ssoPayload) {
|
|
|
6732
6758
|
keys
|
|
6733
6759
|
};
|
|
6734
6760
|
}
|
|
6735
|
-
var NpmRegistryInput =
|
|
6736
|
-
enabledScopes:
|
|
6737
|
-
customRegistryUrl:
|
|
6738
|
-
bypassProxy:
|
|
6739
|
-
npmProxyRegistryConfigId:
|
|
6740
|
-
npmProxyVersion:
|
|
6741
|
-
registryType:
|
|
6742
|
-
authType:
|
|
6743
|
-
authHeaderName:
|
|
6744
|
-
authHeaderValue:
|
|
6745
|
-
accessToken:
|
|
6746
|
-
username:
|
|
6747
|
-
password:
|
|
6748
|
-
});
|
|
6749
|
-
var WorkspaceConfigurationPayload =
|
|
6761
|
+
var NpmRegistryInput = z231.object({
|
|
6762
|
+
enabledScopes: z231.array(z231.string()),
|
|
6763
|
+
customRegistryUrl: z231.string().optional(),
|
|
6764
|
+
bypassProxy: z231.boolean().optional(),
|
|
6765
|
+
npmProxyRegistryConfigId: z231.string().optional(),
|
|
6766
|
+
npmProxyVersion: z231.number().optional(),
|
|
6767
|
+
registryType: z231.string(),
|
|
6768
|
+
authType: z231.string(),
|
|
6769
|
+
authHeaderName: z231.string(),
|
|
6770
|
+
authHeaderValue: z231.string(),
|
|
6771
|
+
accessToken: z231.string(),
|
|
6772
|
+
username: z231.string(),
|
|
6773
|
+
password: z231.string()
|
|
6774
|
+
});
|
|
6775
|
+
var WorkspaceConfigurationPayload = z231.object({
|
|
6750
6776
|
ipWhitelist: WorkspaceIpSettings.partial().optional(),
|
|
6751
6777
|
sso: SsoProvider.partial().optional(),
|
|
6752
6778
|
npmRegistrySettings: NpmRegistryInput.partial().optional(),
|
|
@@ -6754,107 +6780,107 @@ var WorkspaceConfigurationPayload = z230.object({
|
|
|
6754
6780
|
});
|
|
6755
6781
|
|
|
6756
6782
|
// src/api/payloads/workspaces/workspace-integrations.ts
|
|
6757
|
-
import { z as
|
|
6758
|
-
var DTOWorkspaceIntegrationOauthInput =
|
|
6783
|
+
import { z as z232 } from "zod";
|
|
6784
|
+
var DTOWorkspaceIntegrationOauthInput = z232.object({
|
|
6759
6785
|
type: IntegrationType
|
|
6760
6786
|
});
|
|
6761
|
-
var DTOWorkspaceIntegrationPATInput =
|
|
6787
|
+
var DTOWorkspaceIntegrationPATInput = z232.object({
|
|
6762
6788
|
type: IntegrationType,
|
|
6763
6789
|
token: IntegrationToken
|
|
6764
6790
|
});
|
|
6765
|
-
var DTOWorkspaceIntegrationGetGitObjectsInput =
|
|
6766
|
-
organization:
|
|
6791
|
+
var DTOWorkspaceIntegrationGetGitObjectsInput = z232.object({
|
|
6792
|
+
organization: z232.string().optional(),
|
|
6767
6793
|
// Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
|
|
6768
|
-
project:
|
|
6794
|
+
project: z232.string().optional(),
|
|
6769
6795
|
// Only for Bitbucket and Azure
|
|
6770
|
-
repository:
|
|
6796
|
+
repository: z232.string().optional(),
|
|
6771
6797
|
// For all providers. Pay attention for Gitlab, they call repositories "projects".
|
|
6772
|
-
branch:
|
|
6798
|
+
branch: z232.string().optional(),
|
|
6773
6799
|
// For all providers, useful for PR creations.
|
|
6774
|
-
user:
|
|
6800
|
+
user: z232.string().optional()
|
|
6775
6801
|
// Only for Gitlab User Repositories
|
|
6776
6802
|
});
|
|
6777
6803
|
|
|
6778
6804
|
// src/api/dto/design-systems/version.ts
|
|
6779
|
-
var DTODesignSystemVersion =
|
|
6780
|
-
id:
|
|
6781
|
-
createdAt:
|
|
6805
|
+
var DTODesignSystemVersion = z233.object({
|
|
6806
|
+
id: z233.string(),
|
|
6807
|
+
createdAt: z233.coerce.date(),
|
|
6782
6808
|
meta: ObjectMeta,
|
|
6783
|
-
version:
|
|
6784
|
-
isReadonly:
|
|
6785
|
-
changeLog:
|
|
6786
|
-
designSystemId:
|
|
6809
|
+
version: z233.string(),
|
|
6810
|
+
isReadonly: z233.boolean(),
|
|
6811
|
+
changeLog: z233.string(),
|
|
6812
|
+
designSystemId: z233.string()
|
|
6787
6813
|
});
|
|
6788
|
-
var DTODesignSystemVersionsListResponse =
|
|
6789
|
-
designSystemVersions:
|
|
6814
|
+
var DTODesignSystemVersionsListResponse = z233.object({
|
|
6815
|
+
designSystemVersions: z233.array(DTODesignSystemVersion)
|
|
6790
6816
|
});
|
|
6791
|
-
var DTODesignSystemVersionGetResponse =
|
|
6817
|
+
var DTODesignSystemVersionGetResponse = z233.object({
|
|
6792
6818
|
designSystemVersion: DTODesignSystemVersion
|
|
6793
6819
|
});
|
|
6794
|
-
var DTODesignSystemVersionCreationResponse =
|
|
6820
|
+
var DTODesignSystemVersionCreationResponse = z233.object({
|
|
6795
6821
|
meta: ObjectMeta,
|
|
6796
|
-
version:
|
|
6797
|
-
changeLog:
|
|
6798
|
-
isReadOnly:
|
|
6799
|
-
designSystemId:
|
|
6800
|
-
jobId:
|
|
6801
|
-
});
|
|
6802
|
-
var VersionSQSPayload =
|
|
6803
|
-
jobId:
|
|
6804
|
-
designSystemId:
|
|
6822
|
+
version: z233.string(),
|
|
6823
|
+
changeLog: z233.string(),
|
|
6824
|
+
isReadOnly: z233.boolean(),
|
|
6825
|
+
designSystemId: z233.string(),
|
|
6826
|
+
jobId: z233.string()
|
|
6827
|
+
});
|
|
6828
|
+
var VersionSQSPayload = z233.object({
|
|
6829
|
+
jobId: z233.string(),
|
|
6830
|
+
designSystemId: z233.string(),
|
|
6805
6831
|
input: DTOCreateVersionInput
|
|
6806
6832
|
});
|
|
6807
|
-
var DTODesignSystemVersionJobsResponse =
|
|
6808
|
-
jobs:
|
|
6833
|
+
var DTODesignSystemVersionJobsResponse = z233.object({
|
|
6834
|
+
jobs: z233.array(VersionCreationJob)
|
|
6809
6835
|
});
|
|
6810
|
-
var DTODesignSystemVersionJobStatusResponse =
|
|
6836
|
+
var DTODesignSystemVersionJobStatusResponse = z233.object({
|
|
6811
6837
|
job: VersionCreationJob
|
|
6812
6838
|
});
|
|
6813
6839
|
|
|
6814
6840
|
// src/api/dto/design-systems/view.ts
|
|
6815
|
-
import { z as
|
|
6816
|
-
var DTOElementViewColumnSharedAttributes =
|
|
6817
|
-
id:
|
|
6818
|
-
persistentId:
|
|
6819
|
-
width:
|
|
6841
|
+
import { z as z234 } from "zod";
|
|
6842
|
+
var DTOElementViewColumnSharedAttributes = z234.object({
|
|
6843
|
+
id: z234.string(),
|
|
6844
|
+
persistentId: z234.string(),
|
|
6845
|
+
width: z234.number()
|
|
6820
6846
|
});
|
|
6821
6847
|
var DTOElementViewBasePropertyColumn = DTOElementViewColumnSharedAttributes.extend({
|
|
6822
|
-
type:
|
|
6848
|
+
type: z234.literal("BaseProperty"),
|
|
6823
6849
|
basePropertyType: ElementViewBaseColumnType
|
|
6824
6850
|
});
|
|
6825
6851
|
var DTOElementViewPropertyDefinitionColumn = DTOElementViewColumnSharedAttributes.extend({
|
|
6826
|
-
type:
|
|
6827
|
-
propertyDefinitionId:
|
|
6852
|
+
type: z234.literal("PropertyDefinition"),
|
|
6853
|
+
propertyDefinitionId: z234.string()
|
|
6828
6854
|
});
|
|
6829
6855
|
var DTOElementViewThemeColumn = DTOElementViewColumnSharedAttributes.extend({
|
|
6830
|
-
type:
|
|
6831
|
-
themeId:
|
|
6856
|
+
type: z234.literal("Theme"),
|
|
6857
|
+
themeId: z234.string()
|
|
6832
6858
|
});
|
|
6833
|
-
var DTOElementViewColumn =
|
|
6859
|
+
var DTOElementViewColumn = z234.discriminatedUnion("type", [
|
|
6834
6860
|
DTOElementViewBasePropertyColumn,
|
|
6835
6861
|
DTOElementViewPropertyDefinitionColumn,
|
|
6836
6862
|
DTOElementViewThemeColumn
|
|
6837
6863
|
]);
|
|
6838
|
-
var DTOElementView =
|
|
6864
|
+
var DTOElementView = z234.object({
|
|
6839
6865
|
meta: ObjectMeta,
|
|
6840
|
-
persistentId:
|
|
6866
|
+
persistentId: z234.string(),
|
|
6841
6867
|
targetElementType: ElementPropertyTargetType,
|
|
6842
|
-
id:
|
|
6843
|
-
isDefault:
|
|
6844
|
-
columns:
|
|
6868
|
+
id: z234.string(),
|
|
6869
|
+
isDefault: z234.boolean(),
|
|
6870
|
+
columns: z234.array(DTOElementViewColumn)
|
|
6845
6871
|
});
|
|
6846
|
-
var DTOElementViewsListResponse =
|
|
6847
|
-
elementDataViews:
|
|
6872
|
+
var DTOElementViewsListResponse = z234.object({
|
|
6873
|
+
elementDataViews: z234.array(DTOElementView)
|
|
6848
6874
|
});
|
|
6849
6875
|
|
|
6850
6876
|
// src/api/dto/bff/app-bootstrap-data.ts
|
|
6851
|
-
var DTOAppBootstrapDataQuery =
|
|
6852
|
-
preferredWorkspaceId:
|
|
6853
|
-
preferredDesignSystemId:
|
|
6854
|
-
preferredVersionId:
|
|
6855
|
-
preferredBrandId:
|
|
6877
|
+
var DTOAppBootstrapDataQuery = z235.object({
|
|
6878
|
+
preferredWorkspaceId: z235.string().optional(),
|
|
6879
|
+
preferredDesignSystemId: z235.string().optional(),
|
|
6880
|
+
preferredVersionId: z235.string().optional(),
|
|
6881
|
+
preferredBrandId: z235.string().optional()
|
|
6856
6882
|
});
|
|
6857
|
-
var DTOAppBootstrapDataResponse =
|
|
6883
|
+
var DTOAppBootstrapDataResponse = z235.object({
|
|
6858
6884
|
workspaceMembership: DTOUserWorkspaceMembership.optional(),
|
|
6859
6885
|
designSystem: DTODesignSystem.optional(),
|
|
6860
6886
|
version: DTODesignSystemVersion.optional(),
|
|
@@ -6862,92 +6888,92 @@ var DTOAppBootstrapDataResponse = z234.object({
|
|
|
6862
6888
|
});
|
|
6863
6889
|
|
|
6864
6890
|
// src/api/dto/collections/token-collection.ts
|
|
6865
|
-
import { z as
|
|
6866
|
-
var DTOTokenCollection =
|
|
6867
|
-
id:
|
|
6868
|
-
persistentId:
|
|
6869
|
-
designSystemVersionId:
|
|
6891
|
+
import { z as z236 } from "zod";
|
|
6892
|
+
var DTOTokenCollection = z236.object({
|
|
6893
|
+
id: z236.string(),
|
|
6894
|
+
persistentId: z236.string(),
|
|
6895
|
+
designSystemVersionId: z236.string(),
|
|
6870
6896
|
meta: ObjectMeta,
|
|
6871
6897
|
backgroundColor: ColorTokenInlineData.optional(),
|
|
6872
|
-
elementPropertyOptionId:
|
|
6873
|
-
createdAt:
|
|
6874
|
-
updatedAt:
|
|
6898
|
+
elementPropertyOptionId: z236.string(),
|
|
6899
|
+
createdAt: z236.coerce.date(),
|
|
6900
|
+
updatedAt: z236.coerce.date(),
|
|
6875
6901
|
origin: CollectionOrigin.optional()
|
|
6876
6902
|
});
|
|
6877
|
-
var DTOTokenCollectionsListReponse =
|
|
6903
|
+
var DTOTokenCollectionsListReponse = z236.object({
|
|
6878
6904
|
collections: DTOTokenCollection.array()
|
|
6879
6905
|
});
|
|
6880
6906
|
|
|
6881
6907
|
// src/api/dto/design-tokens/design-token.ts
|
|
6882
|
-
import { z as
|
|
6908
|
+
import { z as z237 } from "zod";
|
|
6883
6909
|
var DTODesignToken = DesignTokenTypedData.and(
|
|
6884
|
-
|
|
6885
|
-
id:
|
|
6886
|
-
persistentId:
|
|
6887
|
-
designSystemVersionId:
|
|
6910
|
+
z237.object({
|
|
6911
|
+
id: z237.string(),
|
|
6912
|
+
persistentId: z237.string(),
|
|
6913
|
+
designSystemVersionId: z237.string(),
|
|
6888
6914
|
meta: ObjectMeta,
|
|
6889
6915
|
originStyle: DesignTokenOrigin.optional(),
|
|
6890
|
-
brandId:
|
|
6891
|
-
collectionId:
|
|
6892
|
-
updatedAt:
|
|
6916
|
+
brandId: z237.string(),
|
|
6917
|
+
collectionId: z237.string().optional(),
|
|
6918
|
+
updatedAt: z237.coerce.date()
|
|
6893
6919
|
})
|
|
6894
6920
|
);
|
|
6895
|
-
var DTODesignTokenListResponse =
|
|
6921
|
+
var DTODesignTokenListResponse = z237.object({
|
|
6896
6922
|
tokens: DTODesignToken.array()
|
|
6897
6923
|
});
|
|
6898
|
-
var DTODesignTokenResponse =
|
|
6924
|
+
var DTODesignTokenResponse = z237.object({
|
|
6899
6925
|
token: DTODesignToken
|
|
6900
6926
|
});
|
|
6901
|
-
var DTODesignTokenGroup =
|
|
6902
|
-
id:
|
|
6927
|
+
var DTODesignTokenGroup = z237.object({
|
|
6928
|
+
id: z237.string(),
|
|
6903
6929
|
tokenType: DesignTokenType,
|
|
6904
|
-
persistentId:
|
|
6905
|
-
isRoot:
|
|
6906
|
-
brandId:
|
|
6930
|
+
persistentId: z237.string(),
|
|
6931
|
+
isRoot: z237.boolean(),
|
|
6932
|
+
brandId: z237.string(),
|
|
6907
6933
|
meta: ObjectMeta,
|
|
6908
|
-
childrenIds:
|
|
6934
|
+
childrenIds: z237.string().array()
|
|
6909
6935
|
});
|
|
6910
|
-
var DTODesignTokenGroupListResponse =
|
|
6936
|
+
var DTODesignTokenGroupListResponse = z237.object({
|
|
6911
6937
|
groups: DTODesignTokenGroup.array()
|
|
6912
6938
|
});
|
|
6913
|
-
var DTODesignTokenGroupResponse =
|
|
6939
|
+
var DTODesignTokenGroupResponse = z237.object({
|
|
6914
6940
|
group: DTODesignTokenGroup
|
|
6915
6941
|
});
|
|
6916
6942
|
var DTODesignTokenCreatePayload = DesignTokenTypedData.and(
|
|
6917
|
-
|
|
6918
|
-
persistentId:
|
|
6943
|
+
z237.object({
|
|
6944
|
+
persistentId: z237.string(),
|
|
6919
6945
|
meta: ObjectMeta,
|
|
6920
|
-
brandId:
|
|
6921
|
-
groupPersistentId:
|
|
6946
|
+
brandId: z237.string(),
|
|
6947
|
+
groupPersistentId: z237.string().optional()
|
|
6922
6948
|
})
|
|
6923
6949
|
);
|
|
6924
|
-
var DTODesignTokenGroupCreatePayload =
|
|
6925
|
-
persistentId:
|
|
6950
|
+
var DTODesignTokenGroupCreatePayload = z237.object({
|
|
6951
|
+
persistentId: z237.string(),
|
|
6926
6952
|
meta: ObjectMeta,
|
|
6927
|
-
brandId:
|
|
6928
|
-
parentId:
|
|
6953
|
+
brandId: z237.string(),
|
|
6954
|
+
parentId: z237.string().optional(),
|
|
6929
6955
|
tokenType: DesignTokenType,
|
|
6930
|
-
childrenIds:
|
|
6956
|
+
childrenIds: z237.string().array()
|
|
6931
6957
|
});
|
|
6932
6958
|
|
|
6933
6959
|
// src/api/dto/documentation/analytics-v2.ts
|
|
6934
|
-
import { z as
|
|
6935
|
-
var DTODocumentationAnalyticsTimeFrame =
|
|
6936
|
-
start:
|
|
6937
|
-
end:
|
|
6960
|
+
import { z as z238 } from "zod";
|
|
6961
|
+
var DTODocumentationAnalyticsTimeFrame = z238.object({
|
|
6962
|
+
start: z238.coerce.date(),
|
|
6963
|
+
end: z238.coerce.date().optional()
|
|
6938
6964
|
});
|
|
6939
|
-
var DTOPublishedDocVisitData =
|
|
6940
|
-
timestamp:
|
|
6941
|
-
versionId:
|
|
6942
|
-
locale:
|
|
6943
|
-
visits:
|
|
6944
|
-
sessions:
|
|
6965
|
+
var DTOPublishedDocVisitData = z238.object({
|
|
6966
|
+
timestamp: z238.coerce.date(),
|
|
6967
|
+
versionId: z238.string(),
|
|
6968
|
+
locale: z238.string().optional(),
|
|
6969
|
+
visits: z238.number(),
|
|
6970
|
+
sessions: z238.number()
|
|
6945
6971
|
});
|
|
6946
6972
|
var DTOPublishedDocPageVisitData = DTOPublishedDocVisitData.extend({
|
|
6947
|
-
pagePersistentId:
|
|
6973
|
+
pagePersistentId: z238.string()
|
|
6948
6974
|
});
|
|
6949
|
-
var DTOPublishedDocVisitHeatMapDay =
|
|
6950
|
-
var DTOPublishedDocVisitHeatMapWeek =
|
|
6975
|
+
var DTOPublishedDocVisitHeatMapDay = z238.number().array().length(12);
|
|
6976
|
+
var DTOPublishedDocVisitHeatMapWeek = z238.object({
|
|
6951
6977
|
/**
|
|
6952
6978
|
* For which timeframe it was calculated
|
|
6953
6979
|
*/
|
|
@@ -6960,65 +6986,65 @@ var DTOPublishedDocVisitHeatMapWeek = z237.object({
|
|
|
6960
6986
|
sat: DTOPublishedDocVisitHeatMapDay,
|
|
6961
6987
|
sun: DTOPublishedDocVisitHeatMapDay
|
|
6962
6988
|
});
|
|
6963
|
-
var DTOPublishedDocAnalyticsComparisonData =
|
|
6989
|
+
var DTOPublishedDocAnalyticsComparisonData = z238.object({
|
|
6964
6990
|
/**
|
|
6965
6991
|
* For which timeframe it was calculated
|
|
6966
6992
|
*/
|
|
6967
6993
|
timeFrame: DTODocumentationAnalyticsTimeFrame,
|
|
6968
|
-
priorVisitCount:
|
|
6969
|
-
priorSessionCount:
|
|
6970
|
-
currentVisitCount:
|
|
6971
|
-
currentSessionCount:
|
|
6994
|
+
priorVisitCount: z238.number(),
|
|
6995
|
+
priorSessionCount: z238.number(),
|
|
6996
|
+
currentVisitCount: z238.number(),
|
|
6997
|
+
currentSessionCount: z238.number()
|
|
6972
6998
|
});
|
|
6973
6999
|
var DTOPublishedDocPageAnalyticsComparisonData = DTOPublishedDocAnalyticsComparisonData.extend({
|
|
6974
|
-
pagePersistentId:
|
|
7000
|
+
pagePersistentId: z238.string()
|
|
6975
7001
|
});
|
|
6976
|
-
var DTODocumentationPageAnalyticsResponse =
|
|
7002
|
+
var DTODocumentationPageAnalyticsResponse = z238.object({
|
|
6977
7003
|
globalAnalytics: DTOPublishedDocVisitData.array(),
|
|
6978
7004
|
pageAnalytics: DTOPublishedDocPageVisitData.array(),
|
|
6979
7005
|
heatMapData: DTOPublishedDocVisitHeatMapWeek.array(),
|
|
6980
7006
|
comparisonData: DTOPublishedDocAnalyticsComparisonData.array(),
|
|
6981
7007
|
pageComparisonData: DTOPublishedDocPageAnalyticsComparisonData.array()
|
|
6982
7008
|
});
|
|
6983
|
-
var DTODocumentationAnalyticsRequest =
|
|
6984
|
-
timeFrames:
|
|
7009
|
+
var DTODocumentationAnalyticsRequest = z238.object({
|
|
7010
|
+
timeFrames: z238.array(DTODocumentationAnalyticsTimeFrame)
|
|
6985
7011
|
});
|
|
6986
7012
|
|
|
6987
7013
|
// src/api/dto/documentation/analytics.ts
|
|
6988
|
-
import { z as
|
|
6989
|
-
var DTODocumentationPageAnalyticsDifference =
|
|
6990
|
-
startDate:
|
|
6991
|
-
endDate:
|
|
6992
|
-
currentVisitCount:
|
|
6993
|
-
currentSessionCount:
|
|
6994
|
-
priorVisitCount:
|
|
6995
|
-
priorSessionCount:
|
|
7014
|
+
import { z as z239 } from "zod";
|
|
7015
|
+
var DTODocumentationPageAnalyticsDifference = z239.object({
|
|
7016
|
+
startDate: z239.coerce.date(),
|
|
7017
|
+
endDate: z239.coerce.date().optional(),
|
|
7018
|
+
currentVisitCount: z239.number(),
|
|
7019
|
+
currentSessionCount: z239.number(),
|
|
7020
|
+
priorVisitCount: z239.number(),
|
|
7021
|
+
priorSessionCount: z239.number()
|
|
6996
7022
|
});
|
|
6997
|
-
var DTODocumentationPageIntervalDifferenceResponse =
|
|
6998
|
-
differences:
|
|
7023
|
+
var DTODocumentationPageIntervalDifferenceResponse = z239.object({
|
|
7024
|
+
differences: z239.array(DTODocumentationPageAnalyticsDifference)
|
|
6999
7025
|
});
|
|
7000
7026
|
|
|
7001
7027
|
// src/api/dto/documentation/anchor.ts
|
|
7002
|
-
import { z as
|
|
7028
|
+
import { z as z240 } from "zod";
|
|
7003
7029
|
var DTODocumentationPageAnchor = DocumentationPageAnchor;
|
|
7004
|
-
var DTOGetDocumentationPageAnchorsResponse =
|
|
7005
|
-
anchors:
|
|
7030
|
+
var DTOGetDocumentationPageAnchorsResponse = z240.object({
|
|
7031
|
+
anchors: z240.array(DTODocumentationPageAnchor)
|
|
7006
7032
|
});
|
|
7007
7033
|
|
|
7008
7034
|
// src/api/dto/documentation/approvals.ts
|
|
7009
|
-
import { z as
|
|
7010
|
-
var DTODocumentationPageApprovalState =
|
|
7035
|
+
import { z as z241 } from "zod";
|
|
7036
|
+
var DTODocumentationPageApprovalState = z241.object({
|
|
7011
7037
|
approvalState: DocumentationPageApprovalState,
|
|
7012
|
-
pagePersistentId:
|
|
7013
|
-
updatedByUserId:
|
|
7014
|
-
designSystemVersionId:
|
|
7015
|
-
updatedAt:
|
|
7016
|
-
createdAt:
|
|
7017
|
-
});
|
|
7018
|
-
var DTODocumentationGroupApprovalState =
|
|
7019
|
-
persistentId:
|
|
7020
|
-
groupPersistentId:
|
|
7021
|
-
designSystemVersionId:
|
|
7038
|
+
pagePersistentId: z241.string(),
|
|
7039
|
+
updatedByUserId: z241.string(),
|
|
7040
|
+
designSystemVersionId: z241.string(),
|
|
7041
|
+
updatedAt: z241.coerce.date(),
|
|
7042
|
+
createdAt: z241.coerce.date()
|
|
7043
|
+
});
|
|
7044
|
+
var DTODocumentationGroupApprovalState = z241.object({
|
|
7045
|
+
persistentId: z241.string(),
|
|
7046
|
+
groupPersistentId: z241.string(),
|
|
7047
|
+
designSystemVersionId: z241.string(),
|
|
7022
7048
|
approvalState: DocumentationPageApprovalState
|
|
7023
7049
|
});
|
|
7024
7050
|
|
|
@@ -7026,68 +7052,68 @@ var DTODocumentationGroupApprovalState = z240.object({
|
|
|
7026
7052
|
var DTOPageBlockItemV2 = PageBlockItemV2;
|
|
7027
7053
|
|
|
7028
7054
|
// src/api/dto/documentation/documentation-page-snapshot.ts
|
|
7029
|
-
import { z as
|
|
7055
|
+
import { z as z246 } from "zod";
|
|
7030
7056
|
|
|
7031
7057
|
// src/api/dto/elements/documentation/page-v2.ts
|
|
7032
|
-
import { z as
|
|
7058
|
+
import { z as z245 } from "zod";
|
|
7033
7059
|
|
|
7034
7060
|
// src/api/dto/elements/documentation/draft-state.ts
|
|
7035
|
-
import { z as
|
|
7061
|
+
import { z as z243 } from "zod";
|
|
7036
7062
|
|
|
7037
7063
|
// src/api/dto/elements/documentation/item-configuration-v2.ts
|
|
7038
|
-
import { z as
|
|
7064
|
+
import { z as z242 } from "zod";
|
|
7039
7065
|
var DTODocumentationItemHeaderV2 = DocumentationItemHeaderV2;
|
|
7040
|
-
var DTODocumentationItemConfigurationV2 =
|
|
7041
|
-
showSidebar:
|
|
7042
|
-
isPrivate:
|
|
7043
|
-
isHidden:
|
|
7066
|
+
var DTODocumentationItemConfigurationV2 = z242.object({
|
|
7067
|
+
showSidebar: z242.boolean(),
|
|
7068
|
+
isPrivate: z242.boolean(),
|
|
7069
|
+
isHidden: z242.boolean(),
|
|
7044
7070
|
header: DTODocumentationItemHeaderV2
|
|
7045
7071
|
});
|
|
7046
7072
|
|
|
7047
7073
|
// src/api/dto/elements/documentation/draft-state.ts
|
|
7048
|
-
var DTODocumentationDraftChangeType =
|
|
7049
|
-
var DTODocumentationDraftStateCreated =
|
|
7050
|
-
changeType:
|
|
7051
|
-
});
|
|
7052
|
-
var DTODocumentationDraftStateUpdated =
|
|
7053
|
-
changeType:
|
|
7054
|
-
changes:
|
|
7055
|
-
previousTitle:
|
|
7074
|
+
var DTODocumentationDraftChangeType = z243.enum(["Created", "Updated", "Deleted"]);
|
|
7075
|
+
var DTODocumentationDraftStateCreated = z243.object({
|
|
7076
|
+
changeType: z243.literal(DTODocumentationDraftChangeType.enum.Created)
|
|
7077
|
+
});
|
|
7078
|
+
var DTODocumentationDraftStateUpdated = z243.object({
|
|
7079
|
+
changeType: z243.literal(DTODocumentationDraftChangeType.enum.Updated),
|
|
7080
|
+
changes: z243.object({
|
|
7081
|
+
previousTitle: z243.string().optional(),
|
|
7056
7082
|
previousConfiguration: DTODocumentationItemConfigurationV2.optional(),
|
|
7057
|
-
previousContentHash:
|
|
7083
|
+
previousContentHash: z243.string().optional()
|
|
7058
7084
|
})
|
|
7059
7085
|
});
|
|
7060
|
-
var DTODocumentationDraftStateDeleted =
|
|
7061
|
-
changeType:
|
|
7062
|
-
deletedAt:
|
|
7063
|
-
deletedByUserId:
|
|
7086
|
+
var DTODocumentationDraftStateDeleted = z243.object({
|
|
7087
|
+
changeType: z243.literal(DTODocumentationDraftChangeType.enum.Deleted),
|
|
7088
|
+
deletedAt: z243.coerce.date(),
|
|
7089
|
+
deletedByUserId: z243.string()
|
|
7064
7090
|
});
|
|
7065
|
-
var DTODocumentationDraftState =
|
|
7091
|
+
var DTODocumentationDraftState = z243.discriminatedUnion("changeType", [
|
|
7066
7092
|
DTODocumentationDraftStateCreated,
|
|
7067
7093
|
DTODocumentationDraftStateUpdated,
|
|
7068
7094
|
DTODocumentationDraftStateDeleted
|
|
7069
7095
|
]);
|
|
7070
7096
|
|
|
7071
7097
|
// src/api/dto/elements/documentation/metadata.ts
|
|
7072
|
-
import { z as
|
|
7073
|
-
var DTODocumentationPublishMetadata =
|
|
7074
|
-
lastPublishedByUserId:
|
|
7075
|
-
lastPublishedAt:
|
|
7098
|
+
import { z as z244 } from "zod";
|
|
7099
|
+
var DTODocumentationPublishMetadata = z244.object({
|
|
7100
|
+
lastPublishedByUserId: z244.string(),
|
|
7101
|
+
lastPublishedAt: z244.coerce.date()
|
|
7076
7102
|
});
|
|
7077
7103
|
|
|
7078
7104
|
// src/api/dto/elements/documentation/page-v2.ts
|
|
7079
|
-
var DTODocumentationPageV2 =
|
|
7080
|
-
id:
|
|
7081
|
-
persistentId:
|
|
7082
|
-
designSystemVersionId:
|
|
7083
|
-
title:
|
|
7105
|
+
var DTODocumentationPageV2 = z245.object({
|
|
7106
|
+
id: z245.string(),
|
|
7107
|
+
persistentId: z245.string(),
|
|
7108
|
+
designSystemVersionId: z245.string(),
|
|
7109
|
+
title: z245.string(),
|
|
7084
7110
|
configuration: DTODocumentationItemConfigurationV2,
|
|
7085
|
-
shortPersistentId:
|
|
7086
|
-
slug:
|
|
7087
|
-
userSlug:
|
|
7088
|
-
createdAt:
|
|
7089
|
-
updatedAt:
|
|
7090
|
-
path:
|
|
7111
|
+
shortPersistentId: z245.string(),
|
|
7112
|
+
slug: z245.string().optional(),
|
|
7113
|
+
userSlug: z245.string().optional(),
|
|
7114
|
+
createdAt: z245.coerce.date(),
|
|
7115
|
+
updatedAt: z245.coerce.date(),
|
|
7116
|
+
path: z245.string(),
|
|
7091
7117
|
/** Defined when a page has changed since last publish and can be included into a partial publish */
|
|
7092
7118
|
draftState: DTODocumentationDraftState.optional(),
|
|
7093
7119
|
/** Defined if a page was published at least once and contains metadata about last publish */
|
|
@@ -7095,267 +7121,267 @@ var DTODocumentationPageV2 = z244.object({
|
|
|
7095
7121
|
/** Defines the approval state of the documentation page */
|
|
7096
7122
|
approvalState: DTODocumentationPageApprovalState.optional(),
|
|
7097
7123
|
/** Id of the page document room */
|
|
7098
|
-
liveblocksRoomId:
|
|
7124
|
+
liveblocksRoomId: z245.string().optional(),
|
|
7099
7125
|
// Backward compatibility
|
|
7100
|
-
type:
|
|
7126
|
+
type: z245.literal("Page")
|
|
7101
7127
|
});
|
|
7102
|
-
var DTOCreateDocumentationPageInputV2 =
|
|
7128
|
+
var DTOCreateDocumentationPageInputV2 = z245.object({
|
|
7103
7129
|
// Identifier
|
|
7104
|
-
persistentId:
|
|
7130
|
+
persistentId: z245.string(),
|
|
7105
7131
|
// Page properties
|
|
7106
|
-
title:
|
|
7132
|
+
title: z245.string(),
|
|
7107
7133
|
configuration: DTODocumentationItemConfigurationV2.partial().optional(),
|
|
7108
7134
|
// Page placement properties
|
|
7109
|
-
parentPersistentId:
|
|
7110
|
-
afterPersistentId:
|
|
7135
|
+
parentPersistentId: z245.string(),
|
|
7136
|
+
afterPersistentId: z245.string().nullish()
|
|
7111
7137
|
});
|
|
7112
|
-
var DTOUpdateDocumentationPageInputV2 =
|
|
7138
|
+
var DTOUpdateDocumentationPageInputV2 = z245.object({
|
|
7113
7139
|
// Identifier of the page to update
|
|
7114
|
-
id:
|
|
7140
|
+
id: z245.string(),
|
|
7115
7141
|
// Page properties
|
|
7116
|
-
title:
|
|
7142
|
+
title: z245.string().optional(),
|
|
7117
7143
|
configuration: DTODocumentationItemConfigurationV2.partial().optional()
|
|
7118
7144
|
});
|
|
7119
|
-
var DTOUpdateDocumentationPageDocumentInputV2 =
|
|
7145
|
+
var DTOUpdateDocumentationPageDocumentInputV2 = z245.object({
|
|
7120
7146
|
// Identifier of the page to update
|
|
7121
|
-
id:
|
|
7147
|
+
id: z245.string(),
|
|
7122
7148
|
// Page properties
|
|
7123
|
-
documentItems:
|
|
7149
|
+
documentItems: z245.array(DocumentationPageContentItem)
|
|
7124
7150
|
});
|
|
7125
|
-
var DTOMoveDocumentationPageInputV2 =
|
|
7151
|
+
var DTOMoveDocumentationPageInputV2 = z245.object({
|
|
7126
7152
|
// Identifier of the group to update
|
|
7127
|
-
id:
|
|
7153
|
+
id: z245.string(),
|
|
7128
7154
|
// Page placement properties
|
|
7129
|
-
parentPersistentId:
|
|
7130
|
-
afterPersistentId:
|
|
7155
|
+
parentPersistentId: z245.string(),
|
|
7156
|
+
afterPersistentId: z245.string().nullish()
|
|
7131
7157
|
});
|
|
7132
|
-
var DTODuplicateDocumentationPageInputV2 =
|
|
7158
|
+
var DTODuplicateDocumentationPageInputV2 = z245.object({
|
|
7133
7159
|
// Identifier of the page to duplicate from
|
|
7134
|
-
id:
|
|
7160
|
+
id: z245.string(),
|
|
7135
7161
|
// New page persistent id
|
|
7136
|
-
persistentId:
|
|
7162
|
+
persistentId: z245.string(),
|
|
7137
7163
|
// Page placement properties
|
|
7138
|
-
parentPersistentId:
|
|
7139
|
-
afterPersistentId:
|
|
7164
|
+
parentPersistentId: z245.string(),
|
|
7165
|
+
afterPersistentId: z245.string().nullish()
|
|
7140
7166
|
});
|
|
7141
|
-
var DTODeleteDocumentationPageInputV2 =
|
|
7167
|
+
var DTODeleteDocumentationPageInputV2 = z245.object({
|
|
7142
7168
|
// Identifier
|
|
7143
|
-
id:
|
|
7169
|
+
id: z245.string()
|
|
7144
7170
|
});
|
|
7145
|
-
var DTORestoreDocumentationPageInput =
|
|
7146
|
-
persistentId:
|
|
7147
|
-
snapshotId:
|
|
7171
|
+
var DTORestoreDocumentationPageInput = z245.object({
|
|
7172
|
+
persistentId: z245.string(),
|
|
7173
|
+
snapshotId: z245.string().optional()
|
|
7148
7174
|
});
|
|
7149
|
-
var DTORestoreDocumentationGroupInput =
|
|
7150
|
-
persistentId:
|
|
7151
|
-
snapshotId:
|
|
7175
|
+
var DTORestoreDocumentationGroupInput = z245.object({
|
|
7176
|
+
persistentId: z245.string(),
|
|
7177
|
+
snapshotId: z245.string().optional()
|
|
7152
7178
|
});
|
|
7153
|
-
var DTODocumentationPageApprovalStateChangeInput =
|
|
7154
|
-
persistentId:
|
|
7179
|
+
var DTODocumentationPageApprovalStateChangeInput = z245.object({
|
|
7180
|
+
persistentId: z245.string(),
|
|
7155
7181
|
approvalState: DocumentationPageApprovalState.optional()
|
|
7156
7182
|
});
|
|
7157
7183
|
|
|
7158
7184
|
// src/api/dto/documentation/documentation-page-snapshot.ts
|
|
7159
|
-
var DTODocumentationPageSnapshot =
|
|
7160
|
-
id:
|
|
7161
|
-
designSystemVersionId:
|
|
7162
|
-
createdAt:
|
|
7163
|
-
updatedAt:
|
|
7185
|
+
var DTODocumentationPageSnapshot = z246.object({
|
|
7186
|
+
id: z246.string(),
|
|
7187
|
+
designSystemVersionId: z246.string(),
|
|
7188
|
+
createdAt: z246.string(),
|
|
7189
|
+
updatedAt: z246.string(),
|
|
7164
7190
|
documentationPage: DTODocumentationPageV2,
|
|
7165
|
-
pageContentHash:
|
|
7191
|
+
pageContentHash: z246.string(),
|
|
7166
7192
|
reason: DesignElementSnapshotReason
|
|
7167
7193
|
});
|
|
7168
7194
|
|
|
7169
7195
|
// src/api/dto/documentation/link-preview.ts
|
|
7170
|
-
import { z as
|
|
7171
|
-
var DTODocumentationLinkPreviewResponse =
|
|
7196
|
+
import { z as z247 } from "zod";
|
|
7197
|
+
var DTODocumentationLinkPreviewResponse = z247.object({
|
|
7172
7198
|
linkPreview: DocumentationLinkPreview
|
|
7173
7199
|
});
|
|
7174
|
-
var DTODocumentationLinkPreviewRequest =
|
|
7175
|
-
url:
|
|
7176
|
-
documentationItemPersistentId:
|
|
7200
|
+
var DTODocumentationLinkPreviewRequest = z247.object({
|
|
7201
|
+
url: z247.string().optional(),
|
|
7202
|
+
documentationItemPersistentId: z247.string().optional()
|
|
7177
7203
|
});
|
|
7178
7204
|
|
|
7179
7205
|
// src/api/dto/documentation/publish.ts
|
|
7180
|
-
import { z as
|
|
7206
|
+
import { z as z251 } from "zod";
|
|
7181
7207
|
|
|
7182
7208
|
// src/api/dto/export/exporter.ts
|
|
7183
|
-
import { z as
|
|
7184
|
-
var DTOExporterType =
|
|
7185
|
-
var DTOExporterSource =
|
|
7186
|
-
var DTOExporterMembershipRole =
|
|
7187
|
-
var DTOExporterListQuery =
|
|
7188
|
-
limit:
|
|
7189
|
-
offset:
|
|
7209
|
+
import { z as z248 } from "zod";
|
|
7210
|
+
var DTOExporterType = z248.enum(["documentation", "code"]);
|
|
7211
|
+
var DTOExporterSource = z248.enum(["git", "upload"]);
|
|
7212
|
+
var DTOExporterMembershipRole = z248.enum(["Owner", "OwnerArchived", "User"]);
|
|
7213
|
+
var DTOExporterListQuery = z248.object({
|
|
7214
|
+
limit: z248.coerce.number().optional(),
|
|
7215
|
+
offset: z248.coerce.number().optional(),
|
|
7190
7216
|
type: DTOExporterType.optional(),
|
|
7191
|
-
search:
|
|
7217
|
+
search: z248.string().optional()
|
|
7192
7218
|
});
|
|
7193
|
-
var DTOExporter =
|
|
7194
|
-
id:
|
|
7195
|
-
name:
|
|
7196
|
-
isPrivate:
|
|
7219
|
+
var DTOExporter = z248.object({
|
|
7220
|
+
id: z248.string(),
|
|
7221
|
+
name: z248.string(),
|
|
7222
|
+
isPrivate: z248.boolean(),
|
|
7197
7223
|
exporterType: DTOExporterType,
|
|
7198
|
-
isDefaultDocumentationExporter:
|
|
7199
|
-
iconURL:
|
|
7224
|
+
isDefaultDocumentationExporter: z248.boolean(),
|
|
7225
|
+
iconURL: z248.string().optional(),
|
|
7200
7226
|
configurationProperties: PulsarContributionConfigurationProperty.array(),
|
|
7201
7227
|
properties: DTOExporterPropertyDefinition.array().optional(),
|
|
7202
7228
|
customBlocks: PulsarCustomBlock.array(),
|
|
7203
|
-
blockVariants:
|
|
7204
|
-
homepage:
|
|
7205
|
-
organization:
|
|
7206
|
-
packageId:
|
|
7207
|
-
tags:
|
|
7208
|
-
author:
|
|
7209
|
-
version:
|
|
7210
|
-
description:
|
|
7211
|
-
usesLocale:
|
|
7212
|
-
usesBrands:
|
|
7213
|
-
usesThemes:
|
|
7214
|
-
readme:
|
|
7215
|
-
routingVersion:
|
|
7229
|
+
blockVariants: z248.record(z248.string(), PulsarContributionVariant.array()),
|
|
7230
|
+
homepage: z248.string().optional(),
|
|
7231
|
+
organization: z248.string().optional(),
|
|
7232
|
+
packageId: z248.string().optional(),
|
|
7233
|
+
tags: z248.array(z248.string()),
|
|
7234
|
+
author: z248.string().optional(),
|
|
7235
|
+
version: z248.string(),
|
|
7236
|
+
description: z248.string(),
|
|
7237
|
+
usesLocale: z248.boolean(),
|
|
7238
|
+
usesBrands: z248.boolean(),
|
|
7239
|
+
usesThemes: z248.boolean(),
|
|
7240
|
+
readme: z248.string().optional(),
|
|
7241
|
+
routingVersion: z248.string().optional(),
|
|
7216
7242
|
source: DTOExporterSource,
|
|
7217
|
-
gitProvider:
|
|
7218
|
-
gitUrl: nullishToOptional(
|
|
7219
|
-
gitBranch: nullishToOptional(
|
|
7220
|
-
gitDirectory: nullishToOptional(
|
|
7221
|
-
isDeprecated:
|
|
7222
|
-
deprecationNote:
|
|
7223
|
-
replacementExporterId:
|
|
7224
|
-
});
|
|
7225
|
-
var DTOExporterMembership =
|
|
7226
|
-
workspaceId:
|
|
7227
|
-
exporterId:
|
|
7243
|
+
gitProvider: z248.string().optional(),
|
|
7244
|
+
gitUrl: nullishToOptional(z248.string()),
|
|
7245
|
+
gitBranch: nullishToOptional(z248.string()),
|
|
7246
|
+
gitDirectory: nullishToOptional(z248.string()),
|
|
7247
|
+
isDeprecated: z248.boolean(),
|
|
7248
|
+
deprecationNote: z248.string().optional(),
|
|
7249
|
+
replacementExporterId: z248.string().optional()
|
|
7250
|
+
});
|
|
7251
|
+
var DTOExporterMembership = z248.object({
|
|
7252
|
+
workspaceId: z248.string(),
|
|
7253
|
+
exporterId: z248.string(),
|
|
7228
7254
|
role: DTOExporterMembershipRole
|
|
7229
7255
|
});
|
|
7230
|
-
var DTOExporterResponse =
|
|
7256
|
+
var DTOExporterResponse = z248.object({
|
|
7231
7257
|
exporter: DTOExporter,
|
|
7232
7258
|
membership: DTOExporterMembership
|
|
7233
7259
|
});
|
|
7234
|
-
var DTOExporterListResponse =
|
|
7260
|
+
var DTOExporterListResponse = z248.object({
|
|
7235
7261
|
exporters: DTOExporter.array(),
|
|
7236
7262
|
membership: DTOExporterMembership.array(),
|
|
7237
|
-
total:
|
|
7263
|
+
total: z248.number()
|
|
7238
7264
|
});
|
|
7239
|
-
var DTOExporterGitProviderEnum =
|
|
7240
|
-
var DTOExporterCreateInput =
|
|
7241
|
-
url:
|
|
7265
|
+
var DTOExporterGitProviderEnum = z248.enum(["github", "gitlab", "bitbucket", "azure"]);
|
|
7266
|
+
var DTOExporterCreateInput = z248.object({
|
|
7267
|
+
url: z248.string(),
|
|
7242
7268
|
provider: DTOExporterGitProviderEnum
|
|
7243
7269
|
});
|
|
7244
|
-
var DTOExporterUpdateInput =
|
|
7245
|
-
url:
|
|
7270
|
+
var DTOExporterUpdateInput = z248.object({
|
|
7271
|
+
url: z248.string().optional()
|
|
7246
7272
|
});
|
|
7247
|
-
var DTOExporterDeprecationInput =
|
|
7248
|
-
isDeprecated:
|
|
7249
|
-
deprecationNote:
|
|
7250
|
-
replacementExporterId:
|
|
7273
|
+
var DTOExporterDeprecationInput = z248.object({
|
|
7274
|
+
isDeprecated: z248.boolean(),
|
|
7275
|
+
deprecationNote: z248.string().optional(),
|
|
7276
|
+
replacementExporterId: z248.string().optional()
|
|
7251
7277
|
});
|
|
7252
7278
|
|
|
7253
7279
|
// src/api/dto/export/filter.ts
|
|
7254
7280
|
var DTOExportJobsListFilter = ExportJobFindByFilter;
|
|
7255
7281
|
|
|
7256
7282
|
// src/api/dto/export/job.ts
|
|
7257
|
-
import { z as
|
|
7258
|
-
var DTOExportJobCreatedBy =
|
|
7259
|
-
userId:
|
|
7260
|
-
userName:
|
|
7283
|
+
import { z as z249 } from "zod";
|
|
7284
|
+
var DTOExportJobCreatedBy = z249.object({
|
|
7285
|
+
userId: z249.string(),
|
|
7286
|
+
userName: z249.string()
|
|
7261
7287
|
});
|
|
7262
|
-
var DTOExportJobDesignSystemPreview =
|
|
7263
|
-
id:
|
|
7288
|
+
var DTOExportJobDesignSystemPreview = z249.object({
|
|
7289
|
+
id: z249.string(),
|
|
7264
7290
|
meta: ObjectMeta
|
|
7265
7291
|
});
|
|
7266
|
-
var DTOExportJobDesignSystemVersionPreview =
|
|
7267
|
-
id:
|
|
7292
|
+
var DTOExportJobDesignSystemVersionPreview = z249.object({
|
|
7293
|
+
id: z249.string(),
|
|
7268
7294
|
meta: ObjectMeta,
|
|
7269
|
-
version:
|
|
7270
|
-
isReadonly:
|
|
7295
|
+
version: z249.string(),
|
|
7296
|
+
isReadonly: z249.boolean()
|
|
7271
7297
|
});
|
|
7272
|
-
var DTOExportJobDestinations =
|
|
7298
|
+
var DTOExportJobDestinations = z249.object({
|
|
7273
7299
|
s3: ExporterDestinationS3.optional(),
|
|
7274
7300
|
azure: ExporterDestinationAzure.optional(),
|
|
7275
7301
|
bitbucket: ExporterDestinationBitbucket.optional(),
|
|
7276
7302
|
github: ExporterDestinationGithub.optional(),
|
|
7277
7303
|
gitlab: ExporterDestinationGitlab.optional(),
|
|
7278
7304
|
documentation: ExporterDestinationDocs.optional(),
|
|
7279
|
-
webhookUrl:
|
|
7305
|
+
webhookUrl: z249.string().optional()
|
|
7280
7306
|
});
|
|
7281
7307
|
var DTOExportJobResult = ExportJobResult.omit({
|
|
7282
7308
|
sndocs: true
|
|
7283
7309
|
}).extend({
|
|
7284
7310
|
documentation: ExportJobDocsDestinationResult.optional()
|
|
7285
7311
|
});
|
|
7286
|
-
var DTOExportJob =
|
|
7287
|
-
id:
|
|
7288
|
-
createdAt:
|
|
7289
|
-
finishedAt:
|
|
7290
|
-
index:
|
|
7312
|
+
var DTOExportJob = z249.object({
|
|
7313
|
+
id: z249.string(),
|
|
7314
|
+
createdAt: z249.coerce.date(),
|
|
7315
|
+
finishedAt: z249.coerce.date().optional(),
|
|
7316
|
+
index: z249.number().optional(),
|
|
7291
7317
|
status: ExportJobStatus,
|
|
7292
|
-
estimatedExecutionTime:
|
|
7318
|
+
estimatedExecutionTime: z249.number().optional(),
|
|
7293
7319
|
createdBy: DTOExportJobCreatedBy.optional(),
|
|
7294
7320
|
designSystem: DTOExportJobDesignSystemPreview,
|
|
7295
7321
|
designSystemVersion: DTOExportJobDesignSystemVersionPreview,
|
|
7296
7322
|
destinations: DTOExportJobDestinations,
|
|
7297
|
-
exporterId:
|
|
7298
|
-
scheduleId:
|
|
7323
|
+
exporterId: z249.string(),
|
|
7324
|
+
scheduleId: z249.string().optional(),
|
|
7299
7325
|
result: DTOExportJobResult.optional(),
|
|
7300
|
-
brandPersistentId:
|
|
7301
|
-
themePersistentId:
|
|
7302
|
-
themePersistentIds:
|
|
7326
|
+
brandPersistentId: z249.string().optional(),
|
|
7327
|
+
themePersistentId: z249.string().optional(),
|
|
7328
|
+
themePersistentIds: z249.string().array().optional(),
|
|
7303
7329
|
exporterPropertyValues: DTOExporterPropertyValueMap.optional()
|
|
7304
7330
|
});
|
|
7305
|
-
var DTOExportJobResponse =
|
|
7331
|
+
var DTOExportJobResponse = z249.object({
|
|
7306
7332
|
job: DTOExportJob
|
|
7307
7333
|
});
|
|
7308
|
-
var DTOExportJobResponseLegacy =
|
|
7309
|
-
job:
|
|
7310
|
-
id:
|
|
7334
|
+
var DTOExportJobResponseLegacy = z249.object({
|
|
7335
|
+
job: z249.object({
|
|
7336
|
+
id: z249.string(),
|
|
7311
7337
|
status: ExportJobStatus
|
|
7312
7338
|
})
|
|
7313
7339
|
});
|
|
7314
|
-
var DTOExportJobCreateInput =
|
|
7315
|
-
designSystemId:
|
|
7316
|
-
designSystemVersionId:
|
|
7317
|
-
exporterId:
|
|
7318
|
-
brandId:
|
|
7319
|
-
themeId:
|
|
7320
|
-
themePersistentIds:
|
|
7340
|
+
var DTOExportJobCreateInput = z249.object({
|
|
7341
|
+
designSystemId: z249.string(),
|
|
7342
|
+
designSystemVersionId: z249.string(),
|
|
7343
|
+
exporterId: z249.string(),
|
|
7344
|
+
brandId: z249.string().optional(),
|
|
7345
|
+
themeId: z249.string().optional(),
|
|
7346
|
+
themePersistentIds: z249.string().array().optional(),
|
|
7321
7347
|
destinations: DTOExportJobDestinations,
|
|
7322
7348
|
exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
|
|
7323
|
-
previewMode:
|
|
7349
|
+
previewMode: z249.boolean().optional()
|
|
7324
7350
|
});
|
|
7325
7351
|
|
|
7326
7352
|
// src/api/dto/export/pipeline.ts
|
|
7327
|
-
import { z as
|
|
7328
|
-
var DTOPipelineListQuery =
|
|
7329
|
-
designSystemId:
|
|
7330
|
-
exporterId:
|
|
7331
|
-
latestJobsLimit:
|
|
7332
|
-
});
|
|
7333
|
-
var DTOPipeline =
|
|
7334
|
-
id:
|
|
7335
|
-
name:
|
|
7353
|
+
import { z as z250 } from "zod";
|
|
7354
|
+
var DTOPipelineListQuery = z250.object({
|
|
7355
|
+
designSystemId: z250.string().optional(),
|
|
7356
|
+
exporterId: z250.string().optional(),
|
|
7357
|
+
latestJobsLimit: z250.coerce.number().optional()
|
|
7358
|
+
});
|
|
7359
|
+
var DTOPipeline = z250.object({
|
|
7360
|
+
id: z250.string(),
|
|
7361
|
+
name: z250.string(),
|
|
7336
7362
|
eventType: PipelineEventType,
|
|
7337
|
-
isEnabled:
|
|
7338
|
-
workspaceId:
|
|
7339
|
-
designSystemId:
|
|
7340
|
-
exporterId:
|
|
7341
|
-
brandPersistentId:
|
|
7342
|
-
themePersistentId:
|
|
7343
|
-
themePersistentIds:
|
|
7363
|
+
isEnabled: z250.boolean(),
|
|
7364
|
+
workspaceId: z250.string(),
|
|
7365
|
+
designSystemId: z250.string(),
|
|
7366
|
+
exporterId: z250.string(),
|
|
7367
|
+
brandPersistentId: z250.string().optional(),
|
|
7368
|
+
themePersistentId: z250.string().optional(),
|
|
7369
|
+
themePersistentIds: z250.string().array().optional(),
|
|
7344
7370
|
exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
|
|
7345
7371
|
...ExportDestinationsMap.shape,
|
|
7346
7372
|
latestJobs: DTOExportJob.array(),
|
|
7347
|
-
isExporterDeprecated:
|
|
7373
|
+
isExporterDeprecated: z250.boolean()
|
|
7348
7374
|
});
|
|
7349
|
-
var DTOPipelineListResponse =
|
|
7375
|
+
var DTOPipelineListResponse = z250.object({
|
|
7350
7376
|
pipelines: DTOPipeline.array()
|
|
7351
7377
|
});
|
|
7352
|
-
var DTOPipelineResponse =
|
|
7378
|
+
var DTOPipelineResponse = z250.object({
|
|
7353
7379
|
pipeline: DTOPipeline
|
|
7354
7380
|
});
|
|
7355
7381
|
|
|
7356
7382
|
// src/api/dto/documentation/publish.ts
|
|
7357
7383
|
var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
|
|
7358
|
-
var DTOPublishDocumentationRequest =
|
|
7384
|
+
var DTOPublishDocumentationRequest = z251.object({
|
|
7359
7385
|
environment: PublishedDocEnvironment,
|
|
7360
7386
|
/**
|
|
7361
7387
|
* If defined, this allows narrowing down what is published to a set of specific pages and groups
|
|
@@ -7363,66 +7389,66 @@ var DTOPublishDocumentationRequest = z250.object({
|
|
|
7363
7389
|
*/
|
|
7364
7390
|
changes: DTOPublishDocumentationChanges.optional()
|
|
7365
7391
|
});
|
|
7366
|
-
var DTOPublishDocumentationResponse =
|
|
7392
|
+
var DTOPublishDocumentationResponse = z251.object({
|
|
7367
7393
|
job: DTOExportJob
|
|
7368
7394
|
});
|
|
7369
7395
|
|
|
7370
7396
|
// src/api/dto/documentation/room.ts
|
|
7371
|
-
import { z as
|
|
7372
|
-
var DTODocumentationPageRoom =
|
|
7373
|
-
id:
|
|
7397
|
+
import { z as z252 } from "zod";
|
|
7398
|
+
var DTODocumentationPageRoom = z252.object({
|
|
7399
|
+
id: z252.string()
|
|
7374
7400
|
});
|
|
7375
|
-
var DTODocumentationPageRoomResponse =
|
|
7401
|
+
var DTODocumentationPageRoomResponse = z252.object({
|
|
7376
7402
|
room: DTODocumentationPageRoom
|
|
7377
7403
|
});
|
|
7378
7404
|
|
|
7379
7405
|
// src/api/dto/elements/components/figma-component-group.ts
|
|
7380
|
-
import
|
|
7381
|
-
var DTOFigmaComponentGroup =
|
|
7382
|
-
id:
|
|
7383
|
-
designSystemVersionId:
|
|
7384
|
-
persistentId:
|
|
7385
|
-
isRoot:
|
|
7386
|
-
brandId:
|
|
7406
|
+
import z253 from "zod";
|
|
7407
|
+
var DTOFigmaComponentGroup = z253.object({
|
|
7408
|
+
id: z253.string(),
|
|
7409
|
+
designSystemVersionId: z253.string(),
|
|
7410
|
+
persistentId: z253.string(),
|
|
7411
|
+
isRoot: z253.boolean(),
|
|
7412
|
+
brandId: z253.string(),
|
|
7387
7413
|
meta: DTOObjectMeta,
|
|
7388
|
-
childrenIds:
|
|
7414
|
+
childrenIds: z253.string().array()
|
|
7389
7415
|
});
|
|
7390
|
-
var DTOFigmaComponentGroupListResponse =
|
|
7416
|
+
var DTOFigmaComponentGroupListResponse = z253.object({
|
|
7391
7417
|
groups: DTOFigmaComponentGroup.array()
|
|
7392
7418
|
});
|
|
7393
7419
|
|
|
7394
7420
|
// src/api/dto/elements/components/figma-component.ts
|
|
7395
|
-
import { z as
|
|
7421
|
+
import { z as z254 } from "zod";
|
|
7396
7422
|
var DTOFigmaComponentProperty = FigmaComponentProperty;
|
|
7397
|
-
var DTOFigmaComponentPropertyMap =
|
|
7398
|
-
var DTOFigmaComponent =
|
|
7399
|
-
id:
|
|
7400
|
-
persistentId:
|
|
7401
|
-
designSystemVersionId:
|
|
7402
|
-
brandId:
|
|
7403
|
-
thumbnailUrl:
|
|
7404
|
-
svgUrl:
|
|
7405
|
-
exportProperties:
|
|
7406
|
-
isAsset:
|
|
7423
|
+
var DTOFigmaComponentPropertyMap = z254.record(DTOFigmaComponentProperty);
|
|
7424
|
+
var DTOFigmaComponent = z254.object({
|
|
7425
|
+
id: z254.string(),
|
|
7426
|
+
persistentId: z254.string(),
|
|
7427
|
+
designSystemVersionId: z254.string(),
|
|
7428
|
+
brandId: z254.string(),
|
|
7429
|
+
thumbnailUrl: z254.string().optional(),
|
|
7430
|
+
svgUrl: z254.string().optional(),
|
|
7431
|
+
exportProperties: z254.object({
|
|
7432
|
+
isAsset: z254.boolean()
|
|
7407
7433
|
}),
|
|
7408
|
-
createdAt:
|
|
7409
|
-
updatedAt:
|
|
7434
|
+
createdAt: z254.coerce.date(),
|
|
7435
|
+
updatedAt: z254.coerce.date(),
|
|
7410
7436
|
meta: ObjectMeta,
|
|
7411
7437
|
originComponent: FigmaComponentOrigin.optional(),
|
|
7412
|
-
parentComponentPersistentId:
|
|
7413
|
-
childrenPersistentIds:
|
|
7438
|
+
parentComponentPersistentId: z254.string().optional(),
|
|
7439
|
+
childrenPersistentIds: z254.string().array().optional(),
|
|
7414
7440
|
componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
|
|
7415
|
-
variantPropertyValues:
|
|
7441
|
+
variantPropertyValues: z254.record(z254.string()).optional()
|
|
7416
7442
|
});
|
|
7417
|
-
var DTOFigmaComponentListResponse =
|
|
7443
|
+
var DTOFigmaComponentListResponse = z254.object({
|
|
7418
7444
|
components: DTOFigmaComponent.array()
|
|
7419
7445
|
});
|
|
7420
7446
|
|
|
7421
7447
|
// src/api/dto/elements/documentation/group-action.ts
|
|
7422
|
-
import { z as
|
|
7448
|
+
import { z as z256 } from "zod";
|
|
7423
7449
|
|
|
7424
7450
|
// src/api/dto/elements/documentation/group-v2.ts
|
|
7425
|
-
import { z as
|
|
7451
|
+
import { z as z255 } from "zod";
|
|
7426
7452
|
var DTODocumentationGroupV2 = ElementGroup.omit({
|
|
7427
7453
|
sortOrder: true,
|
|
7428
7454
|
parentPersistentId: true,
|
|
@@ -7432,13 +7458,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
|
|
|
7432
7458
|
data: true,
|
|
7433
7459
|
shortPersistentId: true
|
|
7434
7460
|
}).extend({
|
|
7435
|
-
title:
|
|
7436
|
-
isRoot:
|
|
7437
|
-
childrenIds:
|
|
7461
|
+
title: z255.string(),
|
|
7462
|
+
isRoot: z255.boolean(),
|
|
7463
|
+
childrenIds: z255.array(z255.string()),
|
|
7438
7464
|
groupBehavior: DocumentationGroupBehavior,
|
|
7439
|
-
shortPersistentId:
|
|
7465
|
+
shortPersistentId: z255.string(),
|
|
7440
7466
|
configuration: DTODocumentationItemConfigurationV2,
|
|
7441
|
-
type:
|
|
7467
|
+
type: z255.literal("Group"),
|
|
7442
7468
|
/** Defined when a group has changed since last publish and can be included into a partial publish */
|
|
7443
7469
|
draftState: DTODocumentationDraftState.optional(),
|
|
7444
7470
|
/** Defined if a group was published at least once and contains metadata about last publish */
|
|
@@ -7446,127 +7472,127 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
|
|
|
7446
7472
|
//** An approval state for frontend to utilize. */
|
|
7447
7473
|
approvalState: DTODocumentationGroupApprovalState.optional()
|
|
7448
7474
|
});
|
|
7449
|
-
var DTOCreateDocumentationGroupInput =
|
|
7475
|
+
var DTOCreateDocumentationGroupInput = z255.object({
|
|
7450
7476
|
// Identifier
|
|
7451
|
-
persistentId:
|
|
7477
|
+
persistentId: z255.string(),
|
|
7452
7478
|
// Group properties
|
|
7453
|
-
title:
|
|
7479
|
+
title: z255.string(),
|
|
7454
7480
|
configuration: DTODocumentationItemConfigurationV2.partial().optional(),
|
|
7455
7481
|
// Group placement properties
|
|
7456
|
-
afterPersistentId:
|
|
7457
|
-
parentPersistentId:
|
|
7482
|
+
afterPersistentId: z255.string().nullish(),
|
|
7483
|
+
parentPersistentId: z255.string()
|
|
7458
7484
|
});
|
|
7459
|
-
var DTOUpdateDocumentationGroupInput =
|
|
7485
|
+
var DTOUpdateDocumentationGroupInput = z255.object({
|
|
7460
7486
|
// Identifier of the group to update
|
|
7461
|
-
id:
|
|
7487
|
+
id: z255.string(),
|
|
7462
7488
|
// Group properties
|
|
7463
|
-
title:
|
|
7489
|
+
title: z255.string().optional(),
|
|
7464
7490
|
configuration: DTODocumentationItemConfigurationV2.partial().optional()
|
|
7465
7491
|
});
|
|
7466
|
-
var DTOMoveDocumentationGroupInput =
|
|
7492
|
+
var DTOMoveDocumentationGroupInput = z255.object({
|
|
7467
7493
|
// Identifier of the group to update
|
|
7468
|
-
id:
|
|
7494
|
+
id: z255.string(),
|
|
7469
7495
|
// Group placement properties
|
|
7470
|
-
parentPersistentId:
|
|
7471
|
-
afterPersistentId:
|
|
7496
|
+
parentPersistentId: z255.string(),
|
|
7497
|
+
afterPersistentId: z255.string().nullish()
|
|
7472
7498
|
});
|
|
7473
|
-
var DTODuplicateDocumentationGroupInput =
|
|
7499
|
+
var DTODuplicateDocumentationGroupInput = z255.object({
|
|
7474
7500
|
// Identifier of the group to duplicate from
|
|
7475
|
-
id:
|
|
7501
|
+
id: z255.string(),
|
|
7476
7502
|
// New group persistent id
|
|
7477
|
-
persistentId:
|
|
7503
|
+
persistentId: z255.string(),
|
|
7478
7504
|
// Group placement properties
|
|
7479
|
-
afterPersistentId:
|
|
7480
|
-
parentPersistentId:
|
|
7505
|
+
afterPersistentId: z255.string().nullish(),
|
|
7506
|
+
parentPersistentId: z255.string()
|
|
7481
7507
|
});
|
|
7482
|
-
var DTOCreateDocumentationTabInput =
|
|
7508
|
+
var DTOCreateDocumentationTabInput = z255.object({
|
|
7483
7509
|
// New group persistent id
|
|
7484
|
-
persistentId:
|
|
7510
|
+
persistentId: z255.string(),
|
|
7485
7511
|
// If this is page, we will attempt to convert it to tab
|
|
7486
7512
|
// If this is tab group, we will add a new tab to it
|
|
7487
|
-
fromItemPersistentId:
|
|
7488
|
-
tabName:
|
|
7513
|
+
fromItemPersistentId: z255.string(),
|
|
7514
|
+
tabName: z255.string()
|
|
7489
7515
|
});
|
|
7490
|
-
var DTODeleteDocumentationTabGroupInput =
|
|
7516
|
+
var DTODeleteDocumentationTabGroupInput = z255.object({
|
|
7491
7517
|
// Deleted group id
|
|
7492
|
-
id:
|
|
7518
|
+
id: z255.string()
|
|
7493
7519
|
});
|
|
7494
|
-
var DTODeleteDocumentationGroupInput =
|
|
7520
|
+
var DTODeleteDocumentationGroupInput = z255.object({
|
|
7495
7521
|
// Identifier
|
|
7496
|
-
id:
|
|
7522
|
+
id: z255.string(),
|
|
7497
7523
|
// Deletion options
|
|
7498
|
-
deleteSubtree:
|
|
7524
|
+
deleteSubtree: z255.boolean().default(false)
|
|
7499
7525
|
});
|
|
7500
7526
|
|
|
7501
7527
|
// src/api/dto/elements/documentation/group-action.ts
|
|
7502
|
-
var SuccessPayload =
|
|
7503
|
-
success:
|
|
7528
|
+
var SuccessPayload = z256.object({
|
|
7529
|
+
success: z256.literal(true)
|
|
7504
7530
|
});
|
|
7505
|
-
var DTODocumentationGroupCreateActionOutputV2 =
|
|
7506
|
-
type:
|
|
7531
|
+
var DTODocumentationGroupCreateActionOutputV2 = z256.object({
|
|
7532
|
+
type: z256.literal("DocumentationGroupCreate"),
|
|
7507
7533
|
output: SuccessPayload
|
|
7508
7534
|
});
|
|
7509
|
-
var DTODocumentationTabCreateActionOutputV2 =
|
|
7510
|
-
type:
|
|
7535
|
+
var DTODocumentationTabCreateActionOutputV2 = z256.object({
|
|
7536
|
+
type: z256.literal("DocumentationTabCreate"),
|
|
7511
7537
|
output: SuccessPayload
|
|
7512
7538
|
});
|
|
7513
|
-
var DTODocumentationGroupUpdateActionOutputV2 =
|
|
7514
|
-
type:
|
|
7539
|
+
var DTODocumentationGroupUpdateActionOutputV2 = z256.object({
|
|
7540
|
+
type: z256.literal("DocumentationGroupUpdate"),
|
|
7515
7541
|
output: SuccessPayload
|
|
7516
7542
|
});
|
|
7517
|
-
var DTODocumentationGroupMoveActionOutputV2 =
|
|
7518
|
-
type:
|
|
7543
|
+
var DTODocumentationGroupMoveActionOutputV2 = z256.object({
|
|
7544
|
+
type: z256.literal("DocumentationGroupMove"),
|
|
7519
7545
|
output: SuccessPayload
|
|
7520
7546
|
});
|
|
7521
|
-
var DTODocumentationGroupDuplicateActionOutputV2 =
|
|
7522
|
-
type:
|
|
7547
|
+
var DTODocumentationGroupDuplicateActionOutputV2 = z256.object({
|
|
7548
|
+
type: z256.literal("DocumentationGroupDuplicate"),
|
|
7523
7549
|
output: SuccessPayload
|
|
7524
7550
|
});
|
|
7525
|
-
var DTODocumentationGroupDeleteActionOutputV2 =
|
|
7526
|
-
type:
|
|
7551
|
+
var DTODocumentationGroupDeleteActionOutputV2 = z256.object({
|
|
7552
|
+
type: z256.literal("DocumentationGroupDelete"),
|
|
7527
7553
|
output: SuccessPayload
|
|
7528
7554
|
});
|
|
7529
|
-
var DTODocumentationTabGroupDeleteActionOutputV2 =
|
|
7530
|
-
type:
|
|
7555
|
+
var DTODocumentationTabGroupDeleteActionOutputV2 = z256.object({
|
|
7556
|
+
type: z256.literal("DocumentationTabGroupDelete"),
|
|
7531
7557
|
output: SuccessPayload
|
|
7532
7558
|
});
|
|
7533
|
-
var DTODocumentationGroupCreateActionInputV2 =
|
|
7534
|
-
type:
|
|
7559
|
+
var DTODocumentationGroupCreateActionInputV2 = z256.object({
|
|
7560
|
+
type: z256.literal("DocumentationGroupCreate"),
|
|
7535
7561
|
input: DTOCreateDocumentationGroupInput
|
|
7536
7562
|
});
|
|
7537
|
-
var DTODocumentationTabCreateActionInputV2 =
|
|
7538
|
-
type:
|
|
7563
|
+
var DTODocumentationTabCreateActionInputV2 = z256.object({
|
|
7564
|
+
type: z256.literal("DocumentationTabCreate"),
|
|
7539
7565
|
input: DTOCreateDocumentationTabInput
|
|
7540
7566
|
});
|
|
7541
|
-
var DTODocumentationGroupUpdateActionInputV2 =
|
|
7542
|
-
type:
|
|
7567
|
+
var DTODocumentationGroupUpdateActionInputV2 = z256.object({
|
|
7568
|
+
type: z256.literal("DocumentationGroupUpdate"),
|
|
7543
7569
|
input: DTOUpdateDocumentationGroupInput
|
|
7544
7570
|
});
|
|
7545
|
-
var DTODocumentationGroupMoveActionInputV2 =
|
|
7546
|
-
type:
|
|
7571
|
+
var DTODocumentationGroupMoveActionInputV2 = z256.object({
|
|
7572
|
+
type: z256.literal("DocumentationGroupMove"),
|
|
7547
7573
|
input: DTOMoveDocumentationGroupInput
|
|
7548
7574
|
});
|
|
7549
|
-
var DTODocumentationGroupDuplicateActionInputV2 =
|
|
7550
|
-
type:
|
|
7575
|
+
var DTODocumentationGroupDuplicateActionInputV2 = z256.object({
|
|
7576
|
+
type: z256.literal("DocumentationGroupDuplicate"),
|
|
7551
7577
|
input: DTODuplicateDocumentationGroupInput
|
|
7552
7578
|
});
|
|
7553
|
-
var DTODocumentationGroupDeleteActionInputV2 =
|
|
7554
|
-
type:
|
|
7579
|
+
var DTODocumentationGroupDeleteActionInputV2 = z256.object({
|
|
7580
|
+
type: z256.literal("DocumentationGroupDelete"),
|
|
7555
7581
|
input: DTODeleteDocumentationGroupInput
|
|
7556
7582
|
});
|
|
7557
|
-
var DTODocumentationTabGroupDeleteActionInputV2 =
|
|
7558
|
-
type:
|
|
7583
|
+
var DTODocumentationTabGroupDeleteActionInputV2 = z256.object({
|
|
7584
|
+
type: z256.literal("DocumentationTabGroupDelete"),
|
|
7559
7585
|
input: DTODeleteDocumentationTabGroupInput
|
|
7560
7586
|
});
|
|
7561
7587
|
|
|
7562
7588
|
// src/api/dto/elements/documentation/group-v1.ts
|
|
7563
|
-
import { z as
|
|
7589
|
+
import { z as z258 } from "zod";
|
|
7564
7590
|
|
|
7565
7591
|
// src/api/dto/elements/documentation/item-configuration-v1.ts
|
|
7566
|
-
import { z as
|
|
7567
|
-
var DocumentationColorV1 =
|
|
7568
|
-
aliasTo:
|
|
7569
|
-
value:
|
|
7592
|
+
import { z as z257 } from "zod";
|
|
7593
|
+
var DocumentationColorV1 = z257.object({
|
|
7594
|
+
aliasTo: z257.string().optional(),
|
|
7595
|
+
value: z257.string().optional()
|
|
7570
7596
|
});
|
|
7571
7597
|
var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
|
|
7572
7598
|
foregroundColor: true,
|
|
@@ -7575,10 +7601,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
|
|
|
7575
7601
|
foregroundColor: DocumentationColorV1.optional(),
|
|
7576
7602
|
backgroundColor: DocumentationColorV1.optional()
|
|
7577
7603
|
});
|
|
7578
|
-
var DTODocumentationItemConfigurationV1 =
|
|
7579
|
-
showSidebar:
|
|
7580
|
-
isPrivate:
|
|
7581
|
-
isHidden:
|
|
7604
|
+
var DTODocumentationItemConfigurationV1 = z257.object({
|
|
7605
|
+
showSidebar: z257.boolean(),
|
|
7606
|
+
isPrivate: z257.boolean(),
|
|
7607
|
+
isHidden: z257.boolean(),
|
|
7582
7608
|
header: DTODocumentationItemHeaderV1
|
|
7583
7609
|
});
|
|
7584
7610
|
|
|
@@ -7592,145 +7618,145 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
|
|
|
7592
7618
|
data: true,
|
|
7593
7619
|
shortPersistentId: true
|
|
7594
7620
|
}).extend({
|
|
7595
|
-
title:
|
|
7596
|
-
isRoot:
|
|
7597
|
-
childrenIds:
|
|
7621
|
+
title: z258.string(),
|
|
7622
|
+
isRoot: z258.boolean(),
|
|
7623
|
+
childrenIds: z258.array(z258.string()),
|
|
7598
7624
|
groupBehavior: DocumentationGroupBehavior,
|
|
7599
|
-
shortPersistentId:
|
|
7600
|
-
type:
|
|
7625
|
+
shortPersistentId: z258.string(),
|
|
7626
|
+
type: z258.literal("Group")
|
|
7601
7627
|
});
|
|
7602
7628
|
var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
|
|
7603
7629
|
configuration: DTODocumentationItemConfigurationV1
|
|
7604
7630
|
});
|
|
7605
7631
|
|
|
7606
7632
|
// src/api/dto/elements/documentation/hierarchy.ts
|
|
7607
|
-
import { z as
|
|
7608
|
-
var DTODocumentationHierarchyV2 =
|
|
7609
|
-
pages:
|
|
7633
|
+
import { z as z259 } from "zod";
|
|
7634
|
+
var DTODocumentationHierarchyV2 = z259.object({
|
|
7635
|
+
pages: z259.array(
|
|
7610
7636
|
DTODocumentationPageV2.extend({
|
|
7611
7637
|
/** Defined when a page has changed since last publish and can be included into a partial publish */
|
|
7612
7638
|
draftState: DTODocumentationDraftState.optional()
|
|
7613
7639
|
})
|
|
7614
7640
|
),
|
|
7615
|
-
groups:
|
|
7641
|
+
groups: z259.array(
|
|
7616
7642
|
DTODocumentationGroupV2.extend({
|
|
7617
7643
|
/** Defined when a page has changed since last publish and can be included into a partial publish */
|
|
7618
7644
|
draftState: DTODocumentationDraftState.optional()
|
|
7619
7645
|
})
|
|
7620
7646
|
),
|
|
7621
7647
|
/** True if the documentation was already published, false otherwise. */
|
|
7622
|
-
hasPublishedDocumentationContent:
|
|
7648
|
+
hasPublishedDocumentationContent: z259.boolean()
|
|
7623
7649
|
});
|
|
7624
7650
|
|
|
7625
7651
|
// src/api/dto/elements/documentation/page-actions-v2.ts
|
|
7626
|
-
import { z as
|
|
7627
|
-
var SuccessPayload2 =
|
|
7628
|
-
success:
|
|
7652
|
+
import { z as z260 } from "zod";
|
|
7653
|
+
var SuccessPayload2 = z260.object({
|
|
7654
|
+
success: z260.literal(true)
|
|
7629
7655
|
});
|
|
7630
|
-
var DTODocumentationPageCreateActionOutputV2 =
|
|
7631
|
-
type:
|
|
7656
|
+
var DTODocumentationPageCreateActionOutputV2 = z260.object({
|
|
7657
|
+
type: z260.literal("DocumentationPageCreate"),
|
|
7632
7658
|
output: SuccessPayload2
|
|
7633
7659
|
});
|
|
7634
|
-
var DTODocumentationPageUpdateActionOutputV2 =
|
|
7635
|
-
type:
|
|
7660
|
+
var DTODocumentationPageUpdateActionOutputV2 = z260.object({
|
|
7661
|
+
type: z260.literal("DocumentationPageUpdate"),
|
|
7636
7662
|
output: SuccessPayload2
|
|
7637
7663
|
});
|
|
7638
|
-
var DTODocumentationPageUpdateDocumentActionOutputV2 =
|
|
7639
|
-
type:
|
|
7664
|
+
var DTODocumentationPageUpdateDocumentActionOutputV2 = z260.object({
|
|
7665
|
+
type: z260.literal("DocumentationPageUpdateDocument"),
|
|
7640
7666
|
output: SuccessPayload2
|
|
7641
7667
|
});
|
|
7642
|
-
var DTODocumentationPageMoveActionOutputV2 =
|
|
7643
|
-
type:
|
|
7668
|
+
var DTODocumentationPageMoveActionOutputV2 = z260.object({
|
|
7669
|
+
type: z260.literal("DocumentationPageMove"),
|
|
7644
7670
|
output: SuccessPayload2
|
|
7645
7671
|
});
|
|
7646
|
-
var DTODocumentationPageDuplicateActionOutputV2 =
|
|
7647
|
-
type:
|
|
7672
|
+
var DTODocumentationPageDuplicateActionOutputV2 = z260.object({
|
|
7673
|
+
type: z260.literal("DocumentationPageDuplicate"),
|
|
7648
7674
|
output: SuccessPayload2
|
|
7649
7675
|
});
|
|
7650
|
-
var DTODocumentationPageDeleteActionOutputV2 =
|
|
7651
|
-
type:
|
|
7676
|
+
var DTODocumentationPageDeleteActionOutputV2 = z260.object({
|
|
7677
|
+
type: z260.literal("DocumentationPageDelete"),
|
|
7652
7678
|
output: SuccessPayload2
|
|
7653
7679
|
});
|
|
7654
|
-
var DTODocumentationPageRestoreActionOutput =
|
|
7655
|
-
type:
|
|
7680
|
+
var DTODocumentationPageRestoreActionOutput = z260.object({
|
|
7681
|
+
type: z260.literal("DocumentationPageRestore"),
|
|
7656
7682
|
output: SuccessPayload2
|
|
7657
7683
|
});
|
|
7658
|
-
var DTODocumentationGroupRestoreActionOutput =
|
|
7659
|
-
type:
|
|
7684
|
+
var DTODocumentationGroupRestoreActionOutput = z260.object({
|
|
7685
|
+
type: z260.literal("DocumentationGroupRestore"),
|
|
7660
7686
|
output: SuccessPayload2
|
|
7661
7687
|
});
|
|
7662
|
-
var DTODocumentationPageApprovalStateChangeActionOutput =
|
|
7663
|
-
type:
|
|
7688
|
+
var DTODocumentationPageApprovalStateChangeActionOutput = z260.object({
|
|
7689
|
+
type: z260.literal("DocumentationPageApprovalStateChange"),
|
|
7664
7690
|
output: SuccessPayload2
|
|
7665
7691
|
});
|
|
7666
|
-
var DTODocumentationPageCreateActionInputV2 =
|
|
7667
|
-
type:
|
|
7692
|
+
var DTODocumentationPageCreateActionInputV2 = z260.object({
|
|
7693
|
+
type: z260.literal("DocumentationPageCreate"),
|
|
7668
7694
|
input: DTOCreateDocumentationPageInputV2
|
|
7669
7695
|
});
|
|
7670
|
-
var DTODocumentationPageUpdateActionInputV2 =
|
|
7671
|
-
type:
|
|
7696
|
+
var DTODocumentationPageUpdateActionInputV2 = z260.object({
|
|
7697
|
+
type: z260.literal("DocumentationPageUpdate"),
|
|
7672
7698
|
input: DTOUpdateDocumentationPageInputV2
|
|
7673
7699
|
});
|
|
7674
|
-
var DTODocumentationPageUpdateDocumentActionInputV2 =
|
|
7675
|
-
type:
|
|
7700
|
+
var DTODocumentationPageUpdateDocumentActionInputV2 = z260.object({
|
|
7701
|
+
type: z260.literal("DocumentationPageUpdateDocument"),
|
|
7676
7702
|
input: DTOUpdateDocumentationPageDocumentInputV2
|
|
7677
7703
|
});
|
|
7678
|
-
var DTODocumentationPageMoveActionInputV2 =
|
|
7679
|
-
type:
|
|
7704
|
+
var DTODocumentationPageMoveActionInputV2 = z260.object({
|
|
7705
|
+
type: z260.literal("DocumentationPageMove"),
|
|
7680
7706
|
input: DTOMoveDocumentationPageInputV2
|
|
7681
7707
|
});
|
|
7682
|
-
var DTODocumentationPageDuplicateActionInputV2 =
|
|
7683
|
-
type:
|
|
7708
|
+
var DTODocumentationPageDuplicateActionInputV2 = z260.object({
|
|
7709
|
+
type: z260.literal("DocumentationPageDuplicate"),
|
|
7684
7710
|
input: DTODuplicateDocumentationPageInputV2
|
|
7685
7711
|
});
|
|
7686
|
-
var DTODocumentationPageDeleteActionInputV2 =
|
|
7687
|
-
type:
|
|
7712
|
+
var DTODocumentationPageDeleteActionInputV2 = z260.object({
|
|
7713
|
+
type: z260.literal("DocumentationPageDelete"),
|
|
7688
7714
|
input: DTODeleteDocumentationPageInputV2
|
|
7689
7715
|
});
|
|
7690
|
-
var DTODocumentationPageRestoreActionInput =
|
|
7691
|
-
type:
|
|
7716
|
+
var DTODocumentationPageRestoreActionInput = z260.object({
|
|
7717
|
+
type: z260.literal("DocumentationPageRestore"),
|
|
7692
7718
|
input: DTORestoreDocumentationPageInput
|
|
7693
7719
|
});
|
|
7694
|
-
var DTODocumentationGroupRestoreActionInput =
|
|
7695
|
-
type:
|
|
7720
|
+
var DTODocumentationGroupRestoreActionInput = z260.object({
|
|
7721
|
+
type: z260.literal("DocumentationGroupRestore"),
|
|
7696
7722
|
input: DTORestoreDocumentationGroupInput
|
|
7697
7723
|
});
|
|
7698
|
-
var DTODocumentationPageApprovalStateChangeActionInput =
|
|
7699
|
-
type:
|
|
7724
|
+
var DTODocumentationPageApprovalStateChangeActionInput = z260.object({
|
|
7725
|
+
type: z260.literal("DocumentationPageApprovalStateChange"),
|
|
7700
7726
|
input: DTODocumentationPageApprovalStateChangeInput
|
|
7701
7727
|
});
|
|
7702
7728
|
|
|
7703
7729
|
// src/api/dto/elements/documentation/page-content.ts
|
|
7704
|
-
import { z as
|
|
7730
|
+
import { z as z261 } from "zod";
|
|
7705
7731
|
var DTODocumentationPageContent = DocumentationPageContent;
|
|
7706
|
-
var DTODocumentationPageContentGetResponse =
|
|
7732
|
+
var DTODocumentationPageContentGetResponse = z261.object({
|
|
7707
7733
|
pageContent: DTODocumentationPageContent
|
|
7708
7734
|
});
|
|
7709
7735
|
|
|
7710
7736
|
// src/api/dto/elements/documentation/page-dependencies.ts
|
|
7711
|
-
import { z as
|
|
7712
|
-
var DTODocumentationPageDependencies =
|
|
7713
|
-
id:
|
|
7714
|
-
designSystemVersionId:
|
|
7715
|
-
createdAt:
|
|
7716
|
-
updatedAt:
|
|
7717
|
-
documentationPageId:
|
|
7718
|
-
tokenPersistentIds:
|
|
7719
|
-
figmaComponentPersistentIds:
|
|
7720
|
-
componentPersistentIds:
|
|
7721
|
-
figmaNodePersistentIds:
|
|
7722
|
-
groupPersistentIds:
|
|
7723
|
-
propertyPersistentIds:
|
|
7724
|
-
themePersistentIds:
|
|
7725
|
-
documentationPagePersistentIds:
|
|
7726
|
-
storybookEntriesStoryIds:
|
|
7727
|
-
});
|
|
7728
|
-
var DTODocumentationPageDependenciesGetResponse =
|
|
7729
|
-
dependencies:
|
|
7737
|
+
import { z as z262 } from "zod";
|
|
7738
|
+
var DTODocumentationPageDependencies = z262.object({
|
|
7739
|
+
id: z262.string(),
|
|
7740
|
+
designSystemVersionId: z262.string(),
|
|
7741
|
+
createdAt: z262.coerce.date(),
|
|
7742
|
+
updatedAt: z262.coerce.date(),
|
|
7743
|
+
documentationPageId: z262.string(),
|
|
7744
|
+
tokenPersistentIds: z262.array(z262.string()),
|
|
7745
|
+
figmaComponentPersistentIds: z262.array(z262.string()),
|
|
7746
|
+
componentPersistentIds: z262.array(z262.string()),
|
|
7747
|
+
figmaNodePersistentIds: z262.array(z262.string()),
|
|
7748
|
+
groupPersistentIds: z262.array(z262.string()),
|
|
7749
|
+
propertyPersistentIds: z262.array(z262.string()),
|
|
7750
|
+
themePersistentIds: z262.array(z262.string()),
|
|
7751
|
+
documentationPagePersistentIds: z262.array(z262.string()),
|
|
7752
|
+
storybookEntriesStoryIds: z262.array(z262.string())
|
|
7753
|
+
});
|
|
7754
|
+
var DTODocumentationPageDependenciesGetResponse = z262.object({
|
|
7755
|
+
dependencies: z262.array(DTODocumentationPageDependencies)
|
|
7730
7756
|
});
|
|
7731
7757
|
|
|
7732
7758
|
// src/api/dto/elements/documentation/page-v1.ts
|
|
7733
|
-
import { z as
|
|
7759
|
+
import { z as z263 } from "zod";
|
|
7734
7760
|
var DocumentationPageV1DTO = DocumentationPageV1.omit({
|
|
7735
7761
|
data: true,
|
|
7736
7762
|
meta: true,
|
|
@@ -7738,81 +7764,81 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
|
|
|
7738
7764
|
sortOrder: true
|
|
7739
7765
|
}).extend({
|
|
7740
7766
|
configuration: DTODocumentationItemConfigurationV1,
|
|
7741
|
-
blocks:
|
|
7742
|
-
title:
|
|
7743
|
-
path:
|
|
7767
|
+
blocks: z263.array(PageBlockV1),
|
|
7768
|
+
title: z263.string(),
|
|
7769
|
+
path: z263.string()
|
|
7744
7770
|
});
|
|
7745
7771
|
|
|
7746
7772
|
// src/api/dto/elements/documentation/settings.ts
|
|
7747
|
-
import { z as
|
|
7748
|
-
var DTODocumentationSettings =
|
|
7749
|
-
isDraftFeatureAdopted:
|
|
7750
|
-
isApprovalsFeatureEnabled:
|
|
7751
|
-
isApprovalRequiredForPublishing:
|
|
7773
|
+
import { z as z264 } from "zod";
|
|
7774
|
+
var DTODocumentationSettings = z264.object({
|
|
7775
|
+
isDraftFeatureAdopted: z264.boolean(),
|
|
7776
|
+
isApprovalsFeatureEnabled: z264.boolean(),
|
|
7777
|
+
isApprovalRequiredForPublishing: z264.boolean()
|
|
7752
7778
|
});
|
|
7753
7779
|
|
|
7754
7780
|
// src/api/dto/elements/documentation/structure.ts
|
|
7755
|
-
import { z as
|
|
7756
|
-
var DTODocumentationStructureItemType =
|
|
7757
|
-
var DTODocumentationStructureItemBase =
|
|
7781
|
+
import { z as z265 } from "zod";
|
|
7782
|
+
var DTODocumentationStructureItemType = z265.enum(["Group", "Page"]);
|
|
7783
|
+
var DTODocumentationStructureItemBase = z265.object({
|
|
7758
7784
|
type: DTODocumentationStructureItemType,
|
|
7759
|
-
id:
|
|
7760
|
-
designSystemVersionId:
|
|
7761
|
-
shortPersistentId:
|
|
7762
|
-
persistentId:
|
|
7763
|
-
title:
|
|
7764
|
-
createdAt:
|
|
7765
|
-
updatedAt:
|
|
7785
|
+
id: z265.string(),
|
|
7786
|
+
designSystemVersionId: z265.string(),
|
|
7787
|
+
shortPersistentId: z265.string(),
|
|
7788
|
+
persistentId: z265.string(),
|
|
7789
|
+
title: z265.string(),
|
|
7790
|
+
createdAt: z265.coerce.date(),
|
|
7791
|
+
updatedAt: z265.coerce.date()
|
|
7766
7792
|
});
|
|
7767
7793
|
var DTODocumentationStructureGroupItem = DTODocumentationStructureItemBase.extend({
|
|
7768
|
-
type:
|
|
7769
|
-
groupBehavior:
|
|
7770
|
-
childrenIds:
|
|
7771
|
-
isRoot:
|
|
7794
|
+
type: z265.literal(DTODocumentationStructureItemType.enum.Group),
|
|
7795
|
+
groupBehavior: z265.string(),
|
|
7796
|
+
childrenIds: z265.string().array(),
|
|
7797
|
+
isRoot: z265.boolean()
|
|
7772
7798
|
});
|
|
7773
7799
|
var DTODocumentationStructurePageItem = DTODocumentationStructureItemBase.extend({
|
|
7774
|
-
type:
|
|
7775
|
-
path:
|
|
7800
|
+
type: z265.literal(DTODocumentationStructureItemType.enum.Page),
|
|
7801
|
+
path: z265.string()
|
|
7776
7802
|
});
|
|
7777
|
-
var DTODocumentationStructureItem =
|
|
7803
|
+
var DTODocumentationStructureItem = z265.discriminatedUnion("type", [
|
|
7778
7804
|
DTODocumentationStructureGroupItem,
|
|
7779
7805
|
DTODocumentationStructurePageItem
|
|
7780
7806
|
]);
|
|
7781
|
-
var DTODocumentationStructure =
|
|
7782
|
-
items:
|
|
7807
|
+
var DTODocumentationStructure = z265.object({
|
|
7808
|
+
items: z265.array(DTODocumentationStructureItem)
|
|
7783
7809
|
});
|
|
7784
7810
|
|
|
7785
7811
|
// src/api/dto/elements/figma-nodes/figma-node-structure.ts
|
|
7786
|
-
import { z as
|
|
7787
|
-
var DTOFigmaNodeStructure =
|
|
7788
|
-
id:
|
|
7789
|
-
sourceId:
|
|
7812
|
+
import { z as z266 } from "zod";
|
|
7813
|
+
var DTOFigmaNodeStructure = z266.object({
|
|
7814
|
+
id: z266.string(),
|
|
7815
|
+
sourceId: z266.string(),
|
|
7790
7816
|
importState: FigmaNodeStructureStateV2,
|
|
7791
|
-
createdAt:
|
|
7792
|
-
updatedAt:
|
|
7817
|
+
createdAt: z266.coerce.date(),
|
|
7818
|
+
updatedAt: z266.coerce.date()
|
|
7793
7819
|
});
|
|
7794
7820
|
var DTOFigmaNodeStructureDetail = DTOFigmaNodeStructure.extend({
|
|
7795
7821
|
rootNode: FigmaFileStructureNode
|
|
7796
7822
|
});
|
|
7797
|
-
var DTOFigmaNodeStructureListResponse =
|
|
7823
|
+
var DTOFigmaNodeStructureListResponse = z266.object({
|
|
7798
7824
|
structures: DTOFigmaNodeStructure.array()
|
|
7799
7825
|
});
|
|
7800
|
-
var DTOFigmaNodeStructureDetailResponse =
|
|
7826
|
+
var DTOFigmaNodeStructureDetailResponse = z266.object({
|
|
7801
7827
|
structure: DTOFigmaNodeStructureDetail
|
|
7802
7828
|
});
|
|
7803
7829
|
|
|
7804
7830
|
// src/api/dto/elements/figma-nodes/figma-node-v1.ts
|
|
7805
|
-
import { z as
|
|
7831
|
+
import { z as z268 } from "zod";
|
|
7806
7832
|
|
|
7807
7833
|
// src/api/dto/elements/figma-nodes/figma-node.ts
|
|
7808
|
-
import { z as
|
|
7834
|
+
import { z as z267 } from "zod";
|
|
7809
7835
|
var DTOFigmaNodeRenderFormat = FigmaNodeRenderFormat;
|
|
7810
|
-
var DTOFigmaNodeOrigin =
|
|
7811
|
-
sourceId:
|
|
7812
|
-
fileId:
|
|
7813
|
-
parentName:
|
|
7836
|
+
var DTOFigmaNodeOrigin = z267.object({
|
|
7837
|
+
sourceId: z267.string(),
|
|
7838
|
+
fileId: z267.string().optional(),
|
|
7839
|
+
parentName: z267.string().optional()
|
|
7814
7840
|
});
|
|
7815
|
-
var DTOFigmaNodeRenderInputBase =
|
|
7841
|
+
var DTOFigmaNodeRenderInputBase = z267.object({
|
|
7816
7842
|
/**
|
|
7817
7843
|
* Format in which the node must be rendered, png by default.
|
|
7818
7844
|
*/
|
|
@@ -7820,57 +7846,57 @@ var DTOFigmaNodeRenderInputBase = z266.object({
|
|
|
7820
7846
|
/**
|
|
7821
7847
|
* Scale to apply to PNG images, can be between 1 and 4. Scale is ignored for other image formats.
|
|
7822
7848
|
*/
|
|
7823
|
-
scale:
|
|
7849
|
+
scale: z267.number().optional()
|
|
7824
7850
|
});
|
|
7825
7851
|
var DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderInputBase.extend({
|
|
7826
|
-
inputType:
|
|
7852
|
+
inputType: z267.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
|
|
7827
7853
|
/**
|
|
7828
7854
|
* Id of a design system's data source representing a linked Figma file
|
|
7829
7855
|
*/
|
|
7830
|
-
sourceId:
|
|
7856
|
+
sourceId: z267.string(),
|
|
7831
7857
|
/**
|
|
7832
7858
|
* Id of a node within the Figma file
|
|
7833
7859
|
*/
|
|
7834
|
-
figmaFileNodeId:
|
|
7860
|
+
figmaFileNodeId: z267.string()
|
|
7835
7861
|
});
|
|
7836
7862
|
var DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderInputBase.extend({
|
|
7837
|
-
inputType:
|
|
7863
|
+
inputType: z267.literal("URL"),
|
|
7838
7864
|
/**
|
|
7839
7865
|
* Id of a design system's data source representing a linked Figma file
|
|
7840
7866
|
*/
|
|
7841
|
-
figmaNodeUrl:
|
|
7867
|
+
figmaNodeUrl: z267.string(),
|
|
7842
7868
|
/**
|
|
7843
7869
|
* Brand persistent id to use in case a source has to be created for this render
|
|
7844
7870
|
*/
|
|
7845
|
-
brandPersistentId:
|
|
7871
|
+
brandPersistentId: z267.string()
|
|
7846
7872
|
});
|
|
7847
|
-
var DTOFigmaNodeRerenderInput =
|
|
7848
|
-
inputType:
|
|
7873
|
+
var DTOFigmaNodeRerenderInput = z267.object({
|
|
7874
|
+
inputType: z267.literal("Rerender"),
|
|
7849
7875
|
/**
|
|
7850
7876
|
* Persistent ID of an existing Figma node
|
|
7851
7877
|
*/
|
|
7852
|
-
figmaNodePersistentId:
|
|
7878
|
+
figmaNodePersistentId: z267.string()
|
|
7853
7879
|
});
|
|
7854
|
-
var DTOFigmaNodeRenderInput =
|
|
7880
|
+
var DTOFigmaNodeRenderInput = z267.discriminatedUnion("inputType", [
|
|
7855
7881
|
DTOFigmaNodeRenderIdInput,
|
|
7856
7882
|
DTOFigmaNodeRenderUrlInput,
|
|
7857
7883
|
DTOFigmaNodeRerenderInput
|
|
7858
7884
|
]);
|
|
7859
7885
|
|
|
7860
7886
|
// src/api/dto/elements/figma-nodes/figma-node-v1.ts
|
|
7861
|
-
var DTOFigmaNodeData =
|
|
7887
|
+
var DTOFigmaNodeData = z268.object({
|
|
7862
7888
|
// Id of the node in the Figma file
|
|
7863
|
-
figmaNodeId:
|
|
7889
|
+
figmaNodeId: z268.string(),
|
|
7864
7890
|
// Validity
|
|
7865
|
-
isValid:
|
|
7891
|
+
isValid: z268.boolean(),
|
|
7866
7892
|
// Asset data
|
|
7867
|
-
assetId:
|
|
7868
|
-
assetUrl:
|
|
7893
|
+
assetId: z268.string(),
|
|
7894
|
+
assetUrl: z268.string(),
|
|
7869
7895
|
assetFormat: DTOFigmaNodeRenderFormat,
|
|
7870
7896
|
// Asset metadata
|
|
7871
|
-
assetScale:
|
|
7872
|
-
assetWidth:
|
|
7873
|
-
assetHeight:
|
|
7897
|
+
assetScale: z268.number(),
|
|
7898
|
+
assetWidth: z268.number().optional(),
|
|
7899
|
+
assetHeight: z268.number().optional()
|
|
7874
7900
|
});
|
|
7875
7901
|
var DTOFigmaNode = FigmaNodeReference.omit({
|
|
7876
7902
|
data: true,
|
|
@@ -7881,15 +7907,15 @@ var DTOFigmaNode = FigmaNodeReference.omit({
|
|
|
7881
7907
|
});
|
|
7882
7908
|
|
|
7883
7909
|
// src/api/dto/elements/figma-nodes/figma-node-v2.ts
|
|
7884
|
-
import { z as
|
|
7885
|
-
var DTOFigmaNodeDataV2 =
|
|
7886
|
-
sceneNodeId:
|
|
7910
|
+
import { z as z269 } from "zod";
|
|
7911
|
+
var DTOFigmaNodeDataV2 = z269.object({
|
|
7912
|
+
sceneNodeId: z269.string(),
|
|
7887
7913
|
format: FigmaNodeRenderFormat,
|
|
7888
|
-
scale:
|
|
7914
|
+
scale: z269.number().optional(),
|
|
7889
7915
|
renderState: FigmaNodeRenderState,
|
|
7890
7916
|
renderedImage: FigmaNodeRenderedImage.optional(),
|
|
7891
7917
|
renderError: FigmaNodeRenderError.optional(),
|
|
7892
|
-
hasSource:
|
|
7918
|
+
hasSource: z269.boolean()
|
|
7893
7919
|
});
|
|
7894
7920
|
var DTOFigmaNodeV2 = FigmaNodeReference.omit({
|
|
7895
7921
|
data: true,
|
|
@@ -7900,113 +7926,113 @@ var DTOFigmaNodeV2 = FigmaNodeReference.omit({
|
|
|
7900
7926
|
});
|
|
7901
7927
|
|
|
7902
7928
|
// src/api/dto/elements/figma-nodes/node-actions-v2.ts
|
|
7903
|
-
import { z as
|
|
7904
|
-
var DTOFigmaNodeRenderActionOutput =
|
|
7905
|
-
type:
|
|
7906
|
-
figmaNodes:
|
|
7929
|
+
import { z as z270 } from "zod";
|
|
7930
|
+
var DTOFigmaNodeRenderActionOutput = z270.object({
|
|
7931
|
+
type: z270.literal("FigmaNodeRender"),
|
|
7932
|
+
figmaNodes: z270.array(DTOFigmaNode)
|
|
7907
7933
|
});
|
|
7908
|
-
var DTOFigmaNodeRenderAsyncActionOutput =
|
|
7909
|
-
type:
|
|
7910
|
-
figmaNodes:
|
|
7934
|
+
var DTOFigmaNodeRenderAsyncActionOutput = z270.object({
|
|
7935
|
+
type: z270.literal("FigmaNodeRenderAsync"),
|
|
7936
|
+
figmaNodes: z270.array(DTOFigmaNodeV2)
|
|
7911
7937
|
});
|
|
7912
|
-
var DTOFigmaNodeRenderActionInput =
|
|
7913
|
-
type:
|
|
7938
|
+
var DTOFigmaNodeRenderActionInput = z270.object({
|
|
7939
|
+
type: z270.literal("FigmaNodeRender"),
|
|
7914
7940
|
input: DTOFigmaNodeRenderIdInput.array()
|
|
7915
7941
|
});
|
|
7916
|
-
var DTOFigmaNodeRenderAsyncActionInput =
|
|
7917
|
-
type:
|
|
7942
|
+
var DTOFigmaNodeRenderAsyncActionInput = z270.object({
|
|
7943
|
+
type: z270.literal("FigmaNodeRenderAsync"),
|
|
7918
7944
|
nodes: DTOFigmaNodeRenderInput.array()
|
|
7919
7945
|
});
|
|
7920
7946
|
|
|
7921
7947
|
// src/api/dto/elements/frame-node-structures/frame-node-structure.ts
|
|
7922
|
-
import { z as
|
|
7923
|
-
var DTOFrameNodeStructure =
|
|
7924
|
-
id:
|
|
7925
|
-
persistentId:
|
|
7926
|
-
designSystemVersionId:
|
|
7948
|
+
import { z as z271 } from "zod";
|
|
7949
|
+
var DTOFrameNodeStructure = z271.object({
|
|
7950
|
+
id: z271.string(),
|
|
7951
|
+
persistentId: z271.string(),
|
|
7952
|
+
designSystemVersionId: z271.string(),
|
|
7927
7953
|
origin: FigmaFileStructureOrigin,
|
|
7928
7954
|
assetsInFile: FigmaFileStructureStatistics
|
|
7929
7955
|
});
|
|
7930
|
-
var DTOFrameNodeStructureListResponse =
|
|
7956
|
+
var DTOFrameNodeStructureListResponse = z271.object({
|
|
7931
7957
|
structures: DTOFrameNodeStructure.array()
|
|
7932
7958
|
});
|
|
7933
7959
|
|
|
7934
7960
|
// src/api/dto/elements/properties/property-definitions.ts
|
|
7935
|
-
import { z as
|
|
7961
|
+
import { z as z272 } from "zod";
|
|
7936
7962
|
var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9-]{1,99}$/;
|
|
7937
|
-
var DTOElementPropertyDefinitionOption =
|
|
7938
|
-
id:
|
|
7939
|
-
name:
|
|
7963
|
+
var DTOElementPropertyDefinitionOption = z272.object({
|
|
7964
|
+
id: z272.string(),
|
|
7965
|
+
name: z272.string(),
|
|
7940
7966
|
backgroundColor: DTOColorTokenInlineData.optional()
|
|
7941
7967
|
});
|
|
7942
|
-
var DTOElementPropertyDefinition =
|
|
7943
|
-
id:
|
|
7944
|
-
designSystemVersionId:
|
|
7968
|
+
var DTOElementPropertyDefinition = z272.object({
|
|
7969
|
+
id: z272.string(),
|
|
7970
|
+
designSystemVersionId: z272.string(),
|
|
7945
7971
|
meta: DTOObjectMeta,
|
|
7946
|
-
persistentId:
|
|
7972
|
+
persistentId: z272.string(),
|
|
7947
7973
|
type: ElementPropertyTypeSchema,
|
|
7948
7974
|
targetElementType: ElementPropertyTargetType,
|
|
7949
|
-
codeName:
|
|
7950
|
-
options: nullishToOptional(
|
|
7975
|
+
codeName: z272.string().regex(CODE_NAME_REGEX2),
|
|
7976
|
+
options: nullishToOptional(z272.array(DTOElementPropertyDefinitionOption)),
|
|
7951
7977
|
linkElementType: nullishToOptional(ElementPropertyLinkType),
|
|
7952
|
-
isImmutable:
|
|
7978
|
+
isImmutable: z272.boolean(),
|
|
7953
7979
|
immutablePropertyType: ElementPropertyImmutableType.optional()
|
|
7954
7980
|
});
|
|
7955
|
-
var DTOElementPropertyDefinitionListResponse =
|
|
7956
|
-
definitions:
|
|
7981
|
+
var DTOElementPropertyDefinitionListResponse = z272.object({
|
|
7982
|
+
definitions: z272.array(DTOElementPropertyDefinition)
|
|
7957
7983
|
});
|
|
7958
|
-
var DTOElementPropertyDefinitionResponse =
|
|
7984
|
+
var DTOElementPropertyDefinitionResponse = z272.object({
|
|
7959
7985
|
definition: DTOElementPropertyDefinition
|
|
7960
7986
|
});
|
|
7961
|
-
var DTOElementPropertyDefinitionCreatePayload =
|
|
7987
|
+
var DTOElementPropertyDefinitionCreatePayload = z272.object({
|
|
7962
7988
|
meta: DTOObjectMeta,
|
|
7963
|
-
persistentId:
|
|
7989
|
+
persistentId: z272.string(),
|
|
7964
7990
|
type: ElementPropertyTypeSchema,
|
|
7965
7991
|
targetElementType: ElementPropertyTargetType,
|
|
7966
|
-
codeName:
|
|
7967
|
-
options: nullishToOptional(
|
|
7992
|
+
codeName: z272.string().regex(CODE_NAME_REGEX2),
|
|
7993
|
+
options: nullishToOptional(z272.array(DTOElementPropertyDefinitionOption)),
|
|
7968
7994
|
linkElementType: nullishToOptional(ElementPropertyLinkType),
|
|
7969
|
-
columnWidth:
|
|
7995
|
+
columnWidth: z272.number().max(1024).optional()
|
|
7970
7996
|
});
|
|
7971
|
-
var DTOElementPropertyDefinitionUpdatePayload =
|
|
7997
|
+
var DTOElementPropertyDefinitionUpdatePayload = z272.object({
|
|
7972
7998
|
meta: DTOObjectMeta.optional(),
|
|
7973
|
-
codeName:
|
|
7974
|
-
options:
|
|
7999
|
+
codeName: z272.string().regex(CODE_NAME_REGEX2).optional(),
|
|
8000
|
+
options: z272.array(DTOElementPropertyDefinitionOption).optional()
|
|
7975
8001
|
});
|
|
7976
8002
|
|
|
7977
8003
|
// src/api/dto/elements/properties/property-values.ts
|
|
7978
|
-
import { z as
|
|
7979
|
-
var DTOElementPropertyValue =
|
|
7980
|
-
id:
|
|
7981
|
-
designSystemVersionId:
|
|
7982
|
-
definitionId:
|
|
7983
|
-
targetElementId:
|
|
7984
|
-
value:
|
|
7985
|
-
valuePreview:
|
|
7986
|
-
});
|
|
7987
|
-
var DTOElementPropertyValueListResponse =
|
|
7988
|
-
values:
|
|
7989
|
-
});
|
|
7990
|
-
var DTOElementPropertyValueResponse =
|
|
8004
|
+
import { z as z273 } from "zod";
|
|
8005
|
+
var DTOElementPropertyValue = z273.object({
|
|
8006
|
+
id: z273.string(),
|
|
8007
|
+
designSystemVersionId: z273.string(),
|
|
8008
|
+
definitionId: z273.string(),
|
|
8009
|
+
targetElementId: z273.string(),
|
|
8010
|
+
value: z273.union([z273.string(), z273.number(), z273.boolean()]).optional(),
|
|
8011
|
+
valuePreview: z273.string().optional()
|
|
8012
|
+
});
|
|
8013
|
+
var DTOElementPropertyValueListResponse = z273.object({
|
|
8014
|
+
values: z273.array(DTOElementPropertyValue)
|
|
8015
|
+
});
|
|
8016
|
+
var DTOElementPropertyValueResponse = z273.object({
|
|
7991
8017
|
value: DTOElementPropertyValue
|
|
7992
8018
|
});
|
|
7993
|
-
var DTOElementPropertyValuesEditActionOutput =
|
|
7994
|
-
type:
|
|
7995
|
-
output:
|
|
8019
|
+
var DTOElementPropertyValuesEditActionOutput = z273.object({
|
|
8020
|
+
type: z273.literal("ElementPropertyValuesEdit"),
|
|
8021
|
+
output: z273.object({ success: z273.literal(true) })
|
|
7996
8022
|
});
|
|
7997
|
-
var DTOElementPropertyValueUpsertPaylod =
|
|
7998
|
-
definitionId:
|
|
7999
|
-
targetElementId:
|
|
8000
|
-
value:
|
|
8023
|
+
var DTOElementPropertyValueUpsertPaylod = z273.object({
|
|
8024
|
+
definitionId: z273.string(),
|
|
8025
|
+
targetElementId: z273.string(),
|
|
8026
|
+
value: z273.string().or(z273.number()).or(z273.boolean()).nullable()
|
|
8001
8027
|
});
|
|
8002
|
-
var DTOElementPropertyValuesEditActionInput =
|
|
8003
|
-
type:
|
|
8028
|
+
var DTOElementPropertyValuesEditActionInput = z273.object({
|
|
8029
|
+
type: z273.literal("ElementPropertyValuesEdit"),
|
|
8004
8030
|
values: DTOElementPropertyValueUpsertPaylod.array()
|
|
8005
8031
|
});
|
|
8006
8032
|
|
|
8007
8033
|
// src/api/dto/elements/elements-action-v2.ts
|
|
8008
|
-
import { z as
|
|
8009
|
-
var DTOElementActionOutput =
|
|
8034
|
+
import { z as z274 } from "zod";
|
|
8035
|
+
var DTOElementActionOutput = z274.discriminatedUnion("type", [
|
|
8010
8036
|
// Documentation pages
|
|
8011
8037
|
DTODocumentationPageCreateActionOutputV2,
|
|
8012
8038
|
DTODocumentationPageUpdateActionOutputV2,
|
|
@@ -8033,7 +8059,7 @@ var DTOElementActionOutput = z273.discriminatedUnion("type", [
|
|
|
8033
8059
|
// Element properties
|
|
8034
8060
|
DTOElementPropertyValuesEditActionOutput
|
|
8035
8061
|
]);
|
|
8036
|
-
var DTOElementActionInput =
|
|
8062
|
+
var DTOElementActionInput = z274.discriminatedUnion("type", [
|
|
8037
8063
|
// Documentation pages
|
|
8038
8064
|
DTODocumentationPageCreateActionInputV2,
|
|
8039
8065
|
DTODocumentationPageUpdateActionInputV2,
|
|
@@ -8060,90 +8086,90 @@ var DTOElementActionInput = z273.discriminatedUnion("type", [
|
|
|
8060
8086
|
// Element properties
|
|
8061
8087
|
DTOElementPropertyValuesEditActionInput
|
|
8062
8088
|
]).and(
|
|
8063
|
-
|
|
8064
|
-
tId:
|
|
8089
|
+
z274.object({
|
|
8090
|
+
tId: z274.string().optional()
|
|
8065
8091
|
})
|
|
8066
8092
|
);
|
|
8067
8093
|
|
|
8068
8094
|
// src/api/dto/elements/get-elements-v2.ts
|
|
8069
|
-
import { z as
|
|
8070
|
-
var DTOElementsGetTypeFilter =
|
|
8071
|
-
var DTOElementsGetQuerySchema =
|
|
8072
|
-
types:
|
|
8073
|
-
responseVersion:
|
|
8095
|
+
import { z as z275 } from "zod";
|
|
8096
|
+
var DTOElementsGetTypeFilter = z275.enum(["FigmaNode"]);
|
|
8097
|
+
var DTOElementsGetQuerySchema = z275.object({
|
|
8098
|
+
types: z275.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v))),
|
|
8099
|
+
responseVersion: z275.coerce.number().default(1)
|
|
8074
8100
|
});
|
|
8075
|
-
var DTOElementsGetOutput =
|
|
8076
|
-
figmaNodes:
|
|
8101
|
+
var DTOElementsGetOutput = z275.object({
|
|
8102
|
+
figmaNodes: z275.array(DTOFigmaNode).optional()
|
|
8077
8103
|
});
|
|
8078
|
-
var DTOElementsGetOutputV2 =
|
|
8079
|
-
figmaNodes:
|
|
8104
|
+
var DTOElementsGetOutputV2 = z275.object({
|
|
8105
|
+
figmaNodes: z275.array(DTOFigmaNodeV2).optional()
|
|
8080
8106
|
});
|
|
8081
8107
|
|
|
8082
8108
|
// src/api/dto/figma-components/assets/download.ts
|
|
8083
|
-
import { z as
|
|
8084
|
-
var DTOAssetRenderConfiguration =
|
|
8085
|
-
prefix:
|
|
8086
|
-
suffix:
|
|
8087
|
-
scale:
|
|
8088
|
-
format:
|
|
8089
|
-
});
|
|
8090
|
-
var DTORenderedAssetFile =
|
|
8091
|
-
assetId:
|
|
8092
|
-
fileName:
|
|
8093
|
-
sourceUrl:
|
|
8109
|
+
import { z as z276 } from "zod";
|
|
8110
|
+
var DTOAssetRenderConfiguration = z276.object({
|
|
8111
|
+
prefix: z276.string().optional(),
|
|
8112
|
+
suffix: z276.string().optional(),
|
|
8113
|
+
scale: z276.enum(["x1", "x2", "x3", "x4"]),
|
|
8114
|
+
format: z276.enum(["png", "pdf", "svg"])
|
|
8115
|
+
});
|
|
8116
|
+
var DTORenderedAssetFile = z276.object({
|
|
8117
|
+
assetId: z276.string(),
|
|
8118
|
+
fileName: z276.string(),
|
|
8119
|
+
sourceUrl: z276.string(),
|
|
8094
8120
|
settings: DTOAssetRenderConfiguration,
|
|
8095
|
-
originalName:
|
|
8121
|
+
originalName: z276.string()
|
|
8096
8122
|
});
|
|
8097
|
-
var DTODownloadAssetsRequest =
|
|
8098
|
-
persistentIds:
|
|
8123
|
+
var DTODownloadAssetsRequest = z276.object({
|
|
8124
|
+
persistentIds: z276.array(z276.string().uuid()).optional(),
|
|
8099
8125
|
settings: DTOAssetRenderConfiguration.array()
|
|
8100
8126
|
});
|
|
8101
|
-
var DTODownloadAssetsResponse =
|
|
8127
|
+
var DTODownloadAssetsResponse = z276.object({
|
|
8102
8128
|
items: DTORenderedAssetFile.array()
|
|
8103
8129
|
});
|
|
8104
8130
|
|
|
8105
8131
|
// src/api/dto/liveblocks/auth-response.ts
|
|
8106
|
-
import { z as
|
|
8107
|
-
var DTOLiveblocksAuthResponse =
|
|
8108
|
-
token:
|
|
8132
|
+
import { z as z277 } from "zod";
|
|
8133
|
+
var DTOLiveblocksAuthResponse = z277.object({
|
|
8134
|
+
token: z277.string()
|
|
8109
8135
|
});
|
|
8110
8136
|
|
|
8111
8137
|
// src/api/dto/themes/override.ts
|
|
8112
|
-
import { z as
|
|
8138
|
+
import { z as z278 } from "zod";
|
|
8113
8139
|
var DTOThemeOverride = DesignTokenTypedData.and(
|
|
8114
|
-
|
|
8115
|
-
tokenPersistentId:
|
|
8140
|
+
z278.object({
|
|
8141
|
+
tokenPersistentId: z278.string(),
|
|
8116
8142
|
origin: ThemeOverrideOrigin.optional()
|
|
8117
8143
|
})
|
|
8118
8144
|
);
|
|
8119
8145
|
var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
|
|
8120
|
-
|
|
8121
|
-
tokenPersistentId:
|
|
8146
|
+
z278.object({
|
|
8147
|
+
tokenPersistentId: z278.string()
|
|
8122
8148
|
})
|
|
8123
8149
|
);
|
|
8124
8150
|
|
|
8125
8151
|
// src/api/dto/themes/theme.ts
|
|
8126
|
-
import { z as
|
|
8127
|
-
var DTOTheme =
|
|
8128
|
-
id:
|
|
8129
|
-
persistentId:
|
|
8130
|
-
designSystemVersionId:
|
|
8131
|
-
brandId:
|
|
8152
|
+
import { z as z279 } from "zod";
|
|
8153
|
+
var DTOTheme = z279.object({
|
|
8154
|
+
id: z279.string(),
|
|
8155
|
+
persistentId: z279.string(),
|
|
8156
|
+
designSystemVersionId: z279.string(),
|
|
8157
|
+
brandId: z279.string(),
|
|
8132
8158
|
meta: ObjectMeta,
|
|
8133
|
-
codeName:
|
|
8159
|
+
codeName: z279.string(),
|
|
8134
8160
|
overrides: DTOThemeOverride.array()
|
|
8135
8161
|
});
|
|
8136
|
-
var DTOThemeResponse =
|
|
8162
|
+
var DTOThemeResponse = z279.object({
|
|
8137
8163
|
theme: DTOTheme
|
|
8138
8164
|
});
|
|
8139
|
-
var DTOThemeListResponse =
|
|
8165
|
+
var DTOThemeListResponse = z279.object({
|
|
8140
8166
|
themes: DTOTheme.array()
|
|
8141
8167
|
});
|
|
8142
|
-
var DTOThemeCreatePayload =
|
|
8168
|
+
var DTOThemeCreatePayload = z279.object({
|
|
8143
8169
|
meta: ObjectMeta,
|
|
8144
|
-
persistentId:
|
|
8145
|
-
brandId:
|
|
8146
|
-
codeName:
|
|
8170
|
+
persistentId: z279.string(),
|
|
8171
|
+
brandId: z279.string(),
|
|
8172
|
+
codeName: z279.string(),
|
|
8147
8173
|
overrides: DTOThemeOverride.array()
|
|
8148
8174
|
});
|
|
8149
8175
|
|
|
@@ -8379,13 +8405,13 @@ var ExportersEndpoint = class {
|
|
|
8379
8405
|
};
|
|
8380
8406
|
|
|
8381
8407
|
// src/api/endpoints/codegen/jobs.ts
|
|
8382
|
-
import { z as
|
|
8408
|
+
import { z as z280 } from "zod";
|
|
8383
8409
|
var ExporterJobsEndpoint = class {
|
|
8384
8410
|
constructor(requestExecutor) {
|
|
8385
8411
|
this.requestExecutor = requestExecutor;
|
|
8386
8412
|
}
|
|
8387
8413
|
list(workspaceId) {
|
|
8388
|
-
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`,
|
|
8414
|
+
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z280.any());
|
|
8389
8415
|
}
|
|
8390
8416
|
get(workspaceId, jobId) {
|
|
8391
8417
|
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs/${jobId}`, DTOExportJobResponseLegacy);
|
|
@@ -8443,7 +8469,7 @@ var CodegenEndpoint = class {
|
|
|
8443
8469
|
};
|
|
8444
8470
|
|
|
8445
8471
|
// src/api/endpoints/design-system/versions/brands.ts
|
|
8446
|
-
import { z as
|
|
8472
|
+
import { z as z281 } from "zod";
|
|
8447
8473
|
var BrandsEndpoint = class {
|
|
8448
8474
|
constructor(requestExecutor) {
|
|
8449
8475
|
this.requestExecutor = requestExecutor;
|
|
@@ -8477,7 +8503,7 @@ var BrandsEndpoint = class {
|
|
|
8477
8503
|
});
|
|
8478
8504
|
}
|
|
8479
8505
|
delete(dsId, vId, brandId) {
|
|
8480
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`,
|
|
8506
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z281.any(), {
|
|
8481
8507
|
method: "DELETE"
|
|
8482
8508
|
});
|
|
8483
8509
|
}
|
|
@@ -8700,7 +8726,7 @@ var ImportJobsEndpoint = class {
|
|
|
8700
8726
|
};
|
|
8701
8727
|
|
|
8702
8728
|
// src/api/endpoints/design-system/versions/overrides.ts
|
|
8703
|
-
import { z as
|
|
8729
|
+
import { z as z282 } from "zod";
|
|
8704
8730
|
var OverridesEndpoint = class {
|
|
8705
8731
|
constructor(requestExecutor) {
|
|
8706
8732
|
this.requestExecutor = requestExecutor;
|
|
@@ -8708,7 +8734,7 @@ var OverridesEndpoint = class {
|
|
|
8708
8734
|
create(dsId, versionId, themeId, body) {
|
|
8709
8735
|
return this.requestExecutor.json(
|
|
8710
8736
|
`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
|
|
8711
|
-
|
|
8737
|
+
z282.any(),
|
|
8712
8738
|
{
|
|
8713
8739
|
method: "POST",
|
|
8714
8740
|
body
|
|
@@ -8718,7 +8744,7 @@ var OverridesEndpoint = class {
|
|
|
8718
8744
|
};
|
|
8719
8745
|
|
|
8720
8746
|
// src/api/endpoints/design-system/versions/property-definitions.ts
|
|
8721
|
-
import { z as
|
|
8747
|
+
import { z as z283 } from "zod";
|
|
8722
8748
|
var ElementPropertyDefinitionsEndpoint = class {
|
|
8723
8749
|
constructor(requestExecutor) {
|
|
8724
8750
|
this.requestExecutor = requestExecutor;
|
|
@@ -8746,7 +8772,7 @@ var ElementPropertyDefinitionsEndpoint = class {
|
|
|
8746
8772
|
delete(designSystemId, versionId, defId) {
|
|
8747
8773
|
return this.requestExecutor.json(
|
|
8748
8774
|
`/design-systems/${designSystemId}/versions/${versionId}/element-properties/definitions/${defId}`,
|
|
8749
|
-
|
|
8775
|
+
z283.any(),
|
|
8750
8776
|
{ method: "DELETE" }
|
|
8751
8777
|
);
|
|
8752
8778
|
}
|
|
@@ -8785,7 +8811,7 @@ var VersionStatsEndpoint = class {
|
|
|
8785
8811
|
};
|
|
8786
8812
|
|
|
8787
8813
|
// src/api/endpoints/design-system/versions/themes.ts
|
|
8788
|
-
import { z as
|
|
8814
|
+
import { z as z284 } from "zod";
|
|
8789
8815
|
var ThemesEndpoint = class {
|
|
8790
8816
|
constructor(requestExecutor) {
|
|
8791
8817
|
this.requestExecutor = requestExecutor;
|
|
@@ -8808,7 +8834,7 @@ var ThemesEndpoint = class {
|
|
|
8808
8834
|
});
|
|
8809
8835
|
}
|
|
8810
8836
|
delete(dsId, versionId, themeId) {
|
|
8811
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`,
|
|
8837
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z284.any(), {
|
|
8812
8838
|
method: "DELETE"
|
|
8813
8839
|
});
|
|
8814
8840
|
}
|
|
@@ -8977,7 +9003,7 @@ var DesignSystemContactsEndpoint = class {
|
|
|
8977
9003
|
};
|
|
8978
9004
|
|
|
8979
9005
|
// src/api/endpoints/design-system/design-systems.ts
|
|
8980
|
-
import { z as
|
|
9006
|
+
import { z as z288 } from "zod";
|
|
8981
9007
|
|
|
8982
9008
|
// src/api/endpoints/design-system/figma-node-structures.ts
|
|
8983
9009
|
var FigmaNodeStructuresEndpoint = class {
|
|
@@ -9054,7 +9080,7 @@ var DesignSystemPageRedirectsEndpoint = class {
|
|
|
9054
9080
|
};
|
|
9055
9081
|
|
|
9056
9082
|
// src/api/endpoints/design-system/sources.ts
|
|
9057
|
-
import { z as
|
|
9083
|
+
import { z as z285 } from "zod";
|
|
9058
9084
|
var DesignSystemSourcesEndpoint = class {
|
|
9059
9085
|
constructor(requestExecutor) {
|
|
9060
9086
|
this.requestExecutor = requestExecutor;
|
|
@@ -9072,7 +9098,7 @@ var DesignSystemSourcesEndpoint = class {
|
|
|
9072
9098
|
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse);
|
|
9073
9099
|
}
|
|
9074
9100
|
delete(dsId, sourceId) {
|
|
9075
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`,
|
|
9101
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z285.any(), { method: "DELETE" });
|
|
9076
9102
|
}
|
|
9077
9103
|
figmaImport(dsId, payload) {
|
|
9078
9104
|
return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/cloud-import`, DTOImportJobResponse, {
|
|
@@ -9103,7 +9129,7 @@ var DesignSystemSourcesEndpoint = class {
|
|
|
9103
9129
|
};
|
|
9104
9130
|
|
|
9105
9131
|
// src/api/endpoints/design-system/storybook.ts
|
|
9106
|
-
import { z as
|
|
9132
|
+
import { z as z286 } from "zod";
|
|
9107
9133
|
var StorybookEntriesEndpoint = class {
|
|
9108
9134
|
constructor(requestExecutor) {
|
|
9109
9135
|
this.requestExecutor = requestExecutor;
|
|
@@ -9119,14 +9145,14 @@ var StorybookEntriesEndpoint = class {
|
|
|
9119
9145
|
);
|
|
9120
9146
|
}
|
|
9121
9147
|
delete(dsId, entryId) {
|
|
9122
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`,
|
|
9148
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z286.any(), {
|
|
9123
9149
|
method: "DELETE"
|
|
9124
9150
|
});
|
|
9125
9151
|
}
|
|
9126
9152
|
};
|
|
9127
9153
|
|
|
9128
9154
|
// src/api/endpoints/design-system/storybook-hosting.ts
|
|
9129
|
-
import { z as
|
|
9155
|
+
import { z as z287 } from "zod";
|
|
9130
9156
|
var StorybookHostingEndpoint = class {
|
|
9131
9157
|
constructor(requestExecutor) {
|
|
9132
9158
|
this.requestExecutor = requestExecutor;
|
|
@@ -9140,7 +9166,7 @@ var StorybookHostingEndpoint = class {
|
|
|
9140
9166
|
delete(dsId, storybookUploadId) {
|
|
9141
9167
|
return this.requestExecutor.json(
|
|
9142
9168
|
`/design-systems/${dsId}/storybook/${storybookUploadId}`,
|
|
9143
|
-
|
|
9169
|
+
z287.object({ ok: z287.boolean() }),
|
|
9144
9170
|
{
|
|
9145
9171
|
method: "DELETE"
|
|
9146
9172
|
}
|
|
@@ -9198,7 +9224,7 @@ var DesignSystemsEndpoint = class {
|
|
|
9198
9224
|
return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse);
|
|
9199
9225
|
}
|
|
9200
9226
|
delete(dsId) {
|
|
9201
|
-
return this.requestExecutor.json(`/design-systems/${dsId}`,
|
|
9227
|
+
return this.requestExecutor.json(`/design-systems/${dsId}`, z288.any(), { method: "DELETE" });
|
|
9202
9228
|
}
|
|
9203
9229
|
update(dsId, body) {
|
|
9204
9230
|
return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse, {
|
|
@@ -9215,7 +9241,7 @@ var DesignSystemsEndpoint = class {
|
|
|
9215
9241
|
};
|
|
9216
9242
|
|
|
9217
9243
|
// src/api/endpoints/workspaces/integrations.ts
|
|
9218
|
-
import { z as
|
|
9244
|
+
import { z as z289 } from "zod";
|
|
9219
9245
|
var WorkspaceIntegrationsEndpoint = class {
|
|
9220
9246
|
constructor(requestExecutor) {
|
|
9221
9247
|
this.requestExecutor = requestExecutor;
|
|
@@ -9224,7 +9250,7 @@ var WorkspaceIntegrationsEndpoint = class {
|
|
|
9224
9250
|
return this.requestExecutor.json(`/workspaces/${wsId}/integrations`, DTOIntegrationsGetListResponse);
|
|
9225
9251
|
}
|
|
9226
9252
|
delete(wsId, iId) {
|
|
9227
|
-
return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`,
|
|
9253
|
+
return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z289.unknown(), { method: "DELETE" });
|
|
9228
9254
|
}
|
|
9229
9255
|
};
|
|
9230
9256
|
|
|
@@ -9256,7 +9282,7 @@ var WorkspaceInvitationsEndpoint = class {
|
|
|
9256
9282
|
};
|
|
9257
9283
|
|
|
9258
9284
|
// src/api/endpoints/workspaces/members.ts
|
|
9259
|
-
import { z as
|
|
9285
|
+
import { z as z290 } from "zod";
|
|
9260
9286
|
var WorkspaceMembersEndpoint = class {
|
|
9261
9287
|
constructor(requestExecutor) {
|
|
9262
9288
|
this.requestExecutor = requestExecutor;
|
|
@@ -9273,7 +9299,7 @@ var WorkspaceMembersEndpoint = class {
|
|
|
9273
9299
|
});
|
|
9274
9300
|
}
|
|
9275
9301
|
invite(workspaceId, body) {
|
|
9276
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}/members`,
|
|
9302
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z290.any(), { method: "POST", body });
|
|
9277
9303
|
}
|
|
9278
9304
|
delete(workspaceId, userId) {
|
|
9279
9305
|
return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
|
|
@@ -9302,7 +9328,7 @@ var WorkspaceNpmRegistryEndpoint = class {
|
|
|
9302
9328
|
};
|
|
9303
9329
|
|
|
9304
9330
|
// src/api/endpoints/workspaces/workspaces.ts
|
|
9305
|
-
import { z as
|
|
9331
|
+
import { z as z291 } from "zod";
|
|
9306
9332
|
var WorkspacesEndpoint = class {
|
|
9307
9333
|
constructor(requestExecutor) {
|
|
9308
9334
|
this.requestExecutor = requestExecutor;
|
|
@@ -9332,10 +9358,10 @@ var WorkspacesEndpoint = class {
|
|
|
9332
9358
|
return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
|
|
9333
9359
|
}
|
|
9334
9360
|
delete(workspaceId) {
|
|
9335
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}`,
|
|
9361
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}`, z291.any(), { method: "DELETE" });
|
|
9336
9362
|
}
|
|
9337
9363
|
subscription(workspaceId) {
|
|
9338
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`,
|
|
9364
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z291.any(), { method: "GET" });
|
|
9339
9365
|
}
|
|
9340
9366
|
transferOwnership(workspaceId, body) {
|
|
9341
9367
|
return this.requestExecutor.json(`/workspaces/${workspaceId}/ownership`, DTOWorkspaceResponse, {
|
|
@@ -9435,9 +9461,9 @@ ${bodyText}`,
|
|
|
9435
9461
|
|
|
9436
9462
|
// src/api/transport/request-executor.ts
|
|
9437
9463
|
import fetch from "node-fetch";
|
|
9438
|
-
import { z as
|
|
9439
|
-
var ResponseWrapper =
|
|
9440
|
-
result:
|
|
9464
|
+
import { z as z292 } from "zod";
|
|
9465
|
+
var ResponseWrapper = z292.object({
|
|
9466
|
+
result: z292.record(z292.any())
|
|
9441
9467
|
});
|
|
9442
9468
|
var RequestExecutor = class {
|
|
9443
9469
|
constructor(testServerConfig) {
|
|
@@ -9511,31 +9537,31 @@ var SupernovaApiClient = class {
|
|
|
9511
9537
|
};
|
|
9512
9538
|
|
|
9513
9539
|
// src/events/design-system.ts
|
|
9514
|
-
import { z as
|
|
9515
|
-
var DTOEventFigmaNodesRendered =
|
|
9516
|
-
type:
|
|
9517
|
-
designSystemId:
|
|
9518
|
-
versionId:
|
|
9519
|
-
figmaNodePersistentIds:
|
|
9520
|
-
});
|
|
9521
|
-
var DTOEventDataSourcesImported =
|
|
9522
|
-
type:
|
|
9523
|
-
designSystemId:
|
|
9524
|
-
versionId:
|
|
9525
|
-
importJobId:
|
|
9540
|
+
import { z as z293 } from "zod";
|
|
9541
|
+
var DTOEventFigmaNodesRendered = z293.object({
|
|
9542
|
+
type: z293.literal("DesignSystem.FigmaNodesRendered"),
|
|
9543
|
+
designSystemId: z293.string(),
|
|
9544
|
+
versionId: z293.string(),
|
|
9545
|
+
figmaNodePersistentIds: z293.string().array()
|
|
9546
|
+
});
|
|
9547
|
+
var DTOEventDataSourcesImported = z293.object({
|
|
9548
|
+
type: z293.literal("DesignSystem.ImportJobFinished"),
|
|
9549
|
+
designSystemId: z293.string(),
|
|
9550
|
+
versionId: z293.string(),
|
|
9551
|
+
importJobId: z293.string(),
|
|
9526
9552
|
dataSourceType: DataSourceRemoteType,
|
|
9527
|
-
dataSourceIds:
|
|
9553
|
+
dataSourceIds: z293.string().array()
|
|
9528
9554
|
});
|
|
9529
9555
|
|
|
9530
9556
|
// src/events/event.ts
|
|
9531
|
-
import { z as
|
|
9532
|
-
var DTOEvent =
|
|
9557
|
+
import { z as z294 } from "zod";
|
|
9558
|
+
var DTOEvent = z294.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
|
|
9533
9559
|
|
|
9534
9560
|
// src/sync/docs-structure-repo.ts
|
|
9535
9561
|
import PQueue from "p-queue";
|
|
9536
9562
|
|
|
9537
9563
|
// src/yjs/design-system-content/documentation-hierarchy.ts
|
|
9538
|
-
import { z as
|
|
9564
|
+
import { z as z295 } from "zod";
|
|
9539
9565
|
|
|
9540
9566
|
// src/yjs/version-room/base.ts
|
|
9541
9567
|
var VersionRoomBaseYDoc = class {
|
|
@@ -10085,24 +10111,24 @@ var FrontendVersionRoomYDoc = class {
|
|
|
10085
10111
|
};
|
|
10086
10112
|
|
|
10087
10113
|
// src/yjs/design-system-content/documentation-hierarchy.ts
|
|
10088
|
-
var DocumentationHierarchySettings =
|
|
10089
|
-
routingVersion:
|
|
10090
|
-
isDraftFeatureAdopted:
|
|
10091
|
-
isApprovalFeatureEnabled:
|
|
10092
|
-
approvalRequiredForPublishing:
|
|
10114
|
+
var DocumentationHierarchySettings = z295.object({
|
|
10115
|
+
routingVersion: z295.string(),
|
|
10116
|
+
isDraftFeatureAdopted: z295.boolean(),
|
|
10117
|
+
isApprovalFeatureEnabled: z295.boolean(),
|
|
10118
|
+
approvalRequiredForPublishing: z295.boolean()
|
|
10093
10119
|
});
|
|
10094
10120
|
function yjsToDocumentationHierarchy(doc) {
|
|
10095
10121
|
return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
|
|
10096
10122
|
}
|
|
10097
10123
|
|
|
10098
10124
|
// src/yjs/design-system-content/item-configuration.ts
|
|
10099
|
-
import { z as
|
|
10100
|
-
var DTODocumentationPageRoomHeaderData =
|
|
10101
|
-
title:
|
|
10125
|
+
import { z as z296 } from "zod";
|
|
10126
|
+
var DTODocumentationPageRoomHeaderData = z296.object({
|
|
10127
|
+
title: z296.string(),
|
|
10102
10128
|
configuration: DTODocumentationItemConfigurationV2
|
|
10103
10129
|
});
|
|
10104
|
-
var DTODocumentationPageRoomHeaderDataUpdate =
|
|
10105
|
-
title:
|
|
10130
|
+
var DTODocumentationPageRoomHeaderDataUpdate = z296.object({
|
|
10131
|
+
title: z296.string().optional(),
|
|
10106
10132
|
configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
|
|
10107
10133
|
});
|
|
10108
10134
|
function itemConfigurationToYjs(yDoc, item) {
|
|
@@ -10137,9 +10163,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
|
|
|
10137
10163
|
var PageSectionEditorModel = PageSectionEditorModelV2;
|
|
10138
10164
|
|
|
10139
10165
|
// src/yjs/docs-editor/model/page.ts
|
|
10140
|
-
import { z as
|
|
10141
|
-
var DocumentationPageEditorModel =
|
|
10142
|
-
blocks:
|
|
10166
|
+
import { z as z297 } from "zod";
|
|
10167
|
+
var DocumentationPageEditorModel = z297.object({
|
|
10168
|
+
blocks: z297.array(DocumentationPageContentItem)
|
|
10143
10169
|
});
|
|
10144
10170
|
|
|
10145
10171
|
// src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
|
|
@@ -13732,7 +13758,7 @@ var blocks = [
|
|
|
13732
13758
|
|
|
13733
13759
|
// src/yjs/docs-editor/prosemirror-to-blocks.ts
|
|
13734
13760
|
import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
|
|
13735
|
-
import { z as
|
|
13761
|
+
import { z as z298 } from "zod";
|
|
13736
13762
|
function yDocToPage(yDoc, definitions) {
|
|
13737
13763
|
return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
|
|
13738
13764
|
}
|
|
@@ -13808,7 +13834,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
|
|
|
13808
13834
|
if (!id) return null;
|
|
13809
13835
|
return {
|
|
13810
13836
|
id,
|
|
13811
|
-
title: getProsemirrorAttribute(prosemirrorNode, "title",
|
|
13837
|
+
title: getProsemirrorAttribute(prosemirrorNode, "title", z298.string()) ?? "",
|
|
13812
13838
|
columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
|
|
13813
13839
|
};
|
|
13814
13840
|
}
|
|
@@ -13842,7 +13868,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
|
|
|
13842
13868
|
});
|
|
13843
13869
|
}
|
|
13844
13870
|
function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
|
|
13845
|
-
const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId",
|
|
13871
|
+
const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z298.string());
|
|
13846
13872
|
if (!definitionId) {
|
|
13847
13873
|
console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
|
|
13848
13874
|
return [];
|
|
@@ -13883,7 +13909,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
|
|
|
13883
13909
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
13884
13910
|
if (!id) return null;
|
|
13885
13911
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
13886
|
-
const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type",
|
|
13912
|
+
const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z298.string().optional()));
|
|
13887
13913
|
return {
|
|
13888
13914
|
id,
|
|
13889
13915
|
type: "Block",
|
|
@@ -14006,9 +14032,9 @@ function parseRichTextAttribute(mark) {
|
|
|
14006
14032
|
return null;
|
|
14007
14033
|
}
|
|
14008
14034
|
function parseProsemirrorLink(mark) {
|
|
14009
|
-
const href = getProsemirrorAttribute(mark, "href",
|
|
14035
|
+
const href = getProsemirrorAttribute(mark, "href", z298.string().optional());
|
|
14010
14036
|
if (!href) return null;
|
|
14011
|
-
const target = getProsemirrorAttribute(mark, "target",
|
|
14037
|
+
const target = getProsemirrorAttribute(mark, "target", z298.string().optional());
|
|
14012
14038
|
const openInNewTab = target === "_blank";
|
|
14013
14039
|
if (href.startsWith("@")) {
|
|
14014
14040
|
return {
|
|
@@ -14027,9 +14053,9 @@ function parseProsemirrorLink(mark) {
|
|
|
14027
14053
|
}
|
|
14028
14054
|
}
|
|
14029
14055
|
function parseProsemirrorCommentHighlight(mark) {
|
|
14030
|
-
const highlightId = getProsemirrorAttribute(mark, "highlightId",
|
|
14056
|
+
const highlightId = getProsemirrorAttribute(mark, "highlightId", z298.string().optional());
|
|
14031
14057
|
if (!highlightId) return null;
|
|
14032
|
-
const isResolved = getProsemirrorAttribute(mark, "resolved",
|
|
14058
|
+
const isResolved = getProsemirrorAttribute(mark, "resolved", z298.boolean().optional()) ?? false;
|
|
14033
14059
|
return {
|
|
14034
14060
|
type: "Comment",
|
|
14035
14061
|
commentHighlightId: highlightId,
|
|
@@ -14040,7 +14066,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
|
|
|
14040
14066
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
14041
14067
|
if (!id) return null;
|
|
14042
14068
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
14043
|
-
const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder",
|
|
14069
|
+
const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z298.boolean().optional()) !== false;
|
|
14044
14070
|
const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
|
|
14045
14071
|
if (!tableChild) {
|
|
14046
14072
|
return emptyTable(id, variantId, 0);
|
|
@@ -14086,9 +14112,9 @@ function parseAsTable(prosemirrorNode, definition, property) {
|
|
|
14086
14112
|
function parseAsTableCell(prosemirrorNode) {
|
|
14087
14113
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
14088
14114
|
if (!id) return null;
|
|
14089
|
-
const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign",
|
|
14115
|
+
const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z298.string().optional());
|
|
14090
14116
|
let columnWidth;
|
|
14091
|
-
const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth",
|
|
14117
|
+
const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z298.array(z298.number()).nullish());
|
|
14092
14118
|
if (columnWidthArray) {
|
|
14093
14119
|
columnWidth = roundDimension(columnWidthArray[0]);
|
|
14094
14120
|
}
|
|
@@ -14124,7 +14150,7 @@ function parseAsTableNode(prosemirrorNode) {
|
|
|
14124
14150
|
value: parseRichText(prosemirrorNode.content ?? [])
|
|
14125
14151
|
};
|
|
14126
14152
|
case "image":
|
|
14127
|
-
const items = getProsemirrorAttribute(prosemirrorNode, "items",
|
|
14153
|
+
const items = getProsemirrorAttribute(prosemirrorNode, "items", z298.string());
|
|
14128
14154
|
if (!items) return null;
|
|
14129
14155
|
const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
|
|
14130
14156
|
if (!parsedItems.success) return null;
|
|
@@ -14238,7 +14264,7 @@ function definitionExpectsPlaceholderItem(definition) {
|
|
|
14238
14264
|
);
|
|
14239
14265
|
}
|
|
14240
14266
|
function parseBlockItems(prosemirrorNode, definition) {
|
|
14241
|
-
const itemsString = getProsemirrorAttribute(prosemirrorNode, "items",
|
|
14267
|
+
const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z298.string());
|
|
14242
14268
|
if (!itemsString) return null;
|
|
14243
14269
|
const itemsJson = JSON.parse(itemsString);
|
|
14244
14270
|
if (!Array.isArray(itemsJson)) {
|
|
@@ -14249,18 +14275,18 @@ function parseBlockItems(prosemirrorNode, definition) {
|
|
|
14249
14275
|
}
|
|
14250
14276
|
function parseAppearance(prosemirrorNode) {
|
|
14251
14277
|
let appearance = {};
|
|
14252
|
-
const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance",
|
|
14278
|
+
const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z298.string().optional());
|
|
14253
14279
|
if (rawAppearanceString) {
|
|
14254
14280
|
const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
|
|
14255
14281
|
if (parsedAppearance.success) {
|
|
14256
14282
|
appearance = parsedAppearance.data;
|
|
14257
14283
|
}
|
|
14258
14284
|
}
|
|
14259
|
-
const columns = getProsemirrorAttribute(prosemirrorNode, "columns",
|
|
14285
|
+
const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z298.number().optional());
|
|
14260
14286
|
if (columns) {
|
|
14261
14287
|
appearance.numberOfColumns = columns;
|
|
14262
14288
|
}
|
|
14263
|
-
const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor",
|
|
14289
|
+
const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z298.string().optional());
|
|
14264
14290
|
if (backgroundColor) {
|
|
14265
14291
|
const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
|
|
14266
14292
|
if (parsedColor.success) {
|
|
@@ -14359,12 +14385,12 @@ function valueSchemaForPropertyType(type) {
|
|
|
14359
14385
|
}
|
|
14360
14386
|
}
|
|
14361
14387
|
function getProsemirrorBlockId(prosemirrorNode) {
|
|
14362
|
-
const id = getProsemirrorAttribute(prosemirrorNode, "id",
|
|
14388
|
+
const id = getProsemirrorAttribute(prosemirrorNode, "id", z298.string());
|
|
14363
14389
|
if (!id) console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
|
|
14364
14390
|
return id;
|
|
14365
14391
|
}
|
|
14366
14392
|
function getProsemirrorBlockVariantId(prosemirrorNode) {
|
|
14367
|
-
return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(
|
|
14393
|
+
return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z298.string()));
|
|
14368
14394
|
}
|
|
14369
14395
|
function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
|
|
14370
14396
|
const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);
|
|
@@ -14905,6 +14931,12 @@ export {
|
|
|
14905
14931
|
CodeComponentsEndpoint,
|
|
14906
14932
|
CodegenEndpoint,
|
|
14907
14933
|
Collection2 as Collection,
|
|
14934
|
+
DTOAccessToken,
|
|
14935
|
+
DTOAccessTokenCreatePayload,
|
|
14936
|
+
DTOAccessTokenFull,
|
|
14937
|
+
DTOAccessTokenFullResponse,
|
|
14938
|
+
DTOAccessTokenListResponse,
|
|
14939
|
+
DTOAccessTokenResponse,
|
|
14908
14940
|
DTOAnalyzeCodeComponentsInPackage,
|
|
14909
14941
|
DTOAnalyzeCodeComponentsInPackageInput,
|
|
14910
14942
|
DTOAnalyzeCodeComponentsInPackageResponse,
|