@supernova-studio/model 1.3.4 → 1.3.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 +1021 -361
- package/dist/index.d.ts +1021 -361
- package/dist/index.js +16 -33
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -32
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4928,75 +4928,57 @@ var ExporterDestinationDocs = z149.object({
|
|
|
4928
4928
|
environment: PublishedDocEnvironment,
|
|
4929
4929
|
changes: nullishToOptional(ExportJobDocumentationChanges)
|
|
4930
4930
|
});
|
|
4931
|
-
var
|
|
4932
|
-
var ExporterDestinationGithub = z149.object({
|
|
4933
|
-
credentialId: z149.string().optional(),
|
|
4934
|
-
// Repository
|
|
4935
|
-
url: z149.string(),
|
|
4936
|
-
// Location
|
|
4931
|
+
var GitCommonDestinationOptions = z149.object({
|
|
4937
4932
|
branch: z149.string(),
|
|
4938
4933
|
relativePath: nullishToOptional(z149.string()),
|
|
4939
4934
|
purgeDirectory: nullishToOptional(z149.boolean()),
|
|
4940
|
-
// Commit metadata
|
|
4941
4935
|
commitAuthorName: nullishToOptional(z149.string()),
|
|
4942
4936
|
commitAuthorEmail: nullishToOptional(z149.string()),
|
|
4937
|
+
commitMessage: nullishToOptional(z149.string()),
|
|
4938
|
+
pullRequestTitle: nullishToOptional(z149.string()),
|
|
4939
|
+
pullRequestDescription: nullishToOptional(z149.string())
|
|
4940
|
+
});
|
|
4941
|
+
var ExporterDestinationS3 = z149.object({});
|
|
4942
|
+
var ExporterDestinationGithub = z149.object({
|
|
4943
|
+
credentialId: z149.string().optional(),
|
|
4944
|
+
// Repository
|
|
4945
|
+
url: z149.string(),
|
|
4943
4946
|
// Legacy deprecated fields. Use `credentialId` instead
|
|
4944
4947
|
connectionId: nullishToOptional(z149.string()),
|
|
4945
4948
|
userId: nullishToOptional(z149.number())
|
|
4946
|
-
});
|
|
4949
|
+
}).extend(GitCommonDestinationOptions.shape);
|
|
4947
4950
|
var ExporterDestinationAzure = z149.object({
|
|
4948
4951
|
credentialId: z149.string().optional(),
|
|
4949
4952
|
// Repository
|
|
4950
4953
|
organizationId: z149.string(),
|
|
4951
4954
|
projectId: z149.string(),
|
|
4952
4955
|
repositoryId: z149.string(),
|
|
4953
|
-
// Commit metadata
|
|
4954
|
-
commitAuthorName: nullishToOptional(z149.string()),
|
|
4955
|
-
commitAuthorEmail: nullishToOptional(z149.string()),
|
|
4956
|
-
// Location
|
|
4957
|
-
branch: z149.string(),
|
|
4958
|
-
relativePath: nullishToOptional(z149.string()),
|
|
4959
|
-
purgeDirectory: nullishToOptional(z149.boolean()),
|
|
4960
4956
|
// Maybe not needed
|
|
4961
4957
|
url: nullishToOptional(z149.string()),
|
|
4962
4958
|
// Legacy deprecated fields. Use `credentialId` instead
|
|
4963
4959
|
connectionId: nullishToOptional(z149.string()),
|
|
4964
4960
|
userId: nullishToOptional(z149.number())
|
|
4965
|
-
});
|
|
4961
|
+
}).extend(GitCommonDestinationOptions.shape);
|
|
4966
4962
|
var ExporterDestinationGitlab = z149.object({
|
|
4967
4963
|
credentialId: z149.string().optional(),
|
|
4968
4964
|
// Repository
|
|
4969
4965
|
projectId: z149.string(),
|
|
4970
|
-
// Commit metadata
|
|
4971
|
-
commitAuthorName: nullishToOptional(z149.string()),
|
|
4972
|
-
commitAuthorEmail: nullishToOptional(z149.string()),
|
|
4973
|
-
// Location
|
|
4974
|
-
branch: z149.string(),
|
|
4975
|
-
relativePath: nullishToOptional(z149.string()),
|
|
4976
|
-
purgeDirectory: nullishToOptional(z149.boolean()),
|
|
4977
4966
|
// Maybe not needed
|
|
4978
4967
|
url: nullishToOptional(z149.string()),
|
|
4979
4968
|
// Legacy deprecated fields. Use `credentialId` instead
|
|
4980
4969
|
connectionId: nullishToOptional(z149.string()),
|
|
4981
4970
|
userId: nullishToOptional(z149.number())
|
|
4982
|
-
});
|
|
4971
|
+
}).extend(GitCommonDestinationOptions.shape);
|
|
4983
4972
|
var ExporterDestinationBitbucket = z149.object({
|
|
4984
4973
|
credentialId: z149.string().optional(),
|
|
4985
4974
|
// Repository
|
|
4986
4975
|
workspaceSlug: z149.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
|
|
4987
4976
|
projectKey: z149.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
|
|
4988
4977
|
repoSlug: z149.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
|
|
4989
|
-
// Commit metadata
|
|
4990
|
-
commitAuthorName: nullishToOptional(z149.string()),
|
|
4991
|
-
commitAuthorEmail: nullishToOptional(z149.string()),
|
|
4992
|
-
// Location
|
|
4993
|
-
branch: z149.string(),
|
|
4994
|
-
relativePath: nullishToOptional(z149.string()),
|
|
4995
|
-
purgeDirectory: nullishToOptional(z149.boolean()),
|
|
4996
4978
|
// Legacy deprecated fields. Use `credentialId` instead
|
|
4997
4979
|
connectionId: nullishToOptional(z149.string()),
|
|
4998
4980
|
userId: nullishToOptional(z149.number())
|
|
4999
|
-
});
|
|
4981
|
+
}).extend(GitCommonDestinationOptions.shape);
|
|
5000
4982
|
var ExportDestinationsMap = z149.object({
|
|
5001
4983
|
webhookUrl: z149.string().optional(),
|
|
5002
4984
|
destinationSnDocs: ExporterDestinationDocs.optional(),
|
|
@@ -5964,6 +5946,7 @@ export {
|
|
|
5964
5946
|
FontWeightTokenData,
|
|
5965
5947
|
FontWeightValue,
|
|
5966
5948
|
GitBranch,
|
|
5949
|
+
GitCommonDestinationOptions,
|
|
5967
5950
|
GitIntegrationType,
|
|
5968
5951
|
GitObjectsQuery,
|
|
5969
5952
|
GitOrganization,
|