@supernova-studio/client 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 +2042 -694
- package/dist/index.d.ts +2042 -694
- package/dist/index.js +14 -32
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -32
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4277,75 +4277,57 @@ var ExporterDestinationDocs = z149.object({
|
|
|
4277
4277
|
environment: PublishedDocEnvironment,
|
|
4278
4278
|
changes: nullishToOptional(ExportJobDocumentationChanges)
|
|
4279
4279
|
});
|
|
4280
|
-
var
|
|
4281
|
-
var ExporterDestinationGithub = z149.object({
|
|
4282
|
-
credentialId: z149.string().optional(),
|
|
4283
|
-
// Repository
|
|
4284
|
-
url: z149.string(),
|
|
4285
|
-
// Location
|
|
4280
|
+
var GitCommonDestinationOptions = z149.object({
|
|
4286
4281
|
branch: z149.string(),
|
|
4287
4282
|
relativePath: nullishToOptional(z149.string()),
|
|
4288
4283
|
purgeDirectory: nullishToOptional(z149.boolean()),
|
|
4289
|
-
// Commit metadata
|
|
4290
4284
|
commitAuthorName: nullishToOptional(z149.string()),
|
|
4291
4285
|
commitAuthorEmail: nullishToOptional(z149.string()),
|
|
4286
|
+
commitMessage: nullishToOptional(z149.string()),
|
|
4287
|
+
pullRequestTitle: nullishToOptional(z149.string()),
|
|
4288
|
+
pullRequestDescription: nullishToOptional(z149.string())
|
|
4289
|
+
});
|
|
4290
|
+
var ExporterDestinationS3 = z149.object({});
|
|
4291
|
+
var ExporterDestinationGithub = z149.object({
|
|
4292
|
+
credentialId: z149.string().optional(),
|
|
4293
|
+
// Repository
|
|
4294
|
+
url: z149.string(),
|
|
4292
4295
|
// Legacy deprecated fields. Use `credentialId` instead
|
|
4293
4296
|
connectionId: nullishToOptional(z149.string()),
|
|
4294
4297
|
userId: nullishToOptional(z149.number())
|
|
4295
|
-
});
|
|
4298
|
+
}).extend(GitCommonDestinationOptions.shape);
|
|
4296
4299
|
var ExporterDestinationAzure = z149.object({
|
|
4297
4300
|
credentialId: z149.string().optional(),
|
|
4298
4301
|
// Repository
|
|
4299
4302
|
organizationId: z149.string(),
|
|
4300
4303
|
projectId: z149.string(),
|
|
4301
4304
|
repositoryId: z149.string(),
|
|
4302
|
-
// Commit metadata
|
|
4303
|
-
commitAuthorName: nullishToOptional(z149.string()),
|
|
4304
|
-
commitAuthorEmail: nullishToOptional(z149.string()),
|
|
4305
|
-
// Location
|
|
4306
|
-
branch: z149.string(),
|
|
4307
|
-
relativePath: nullishToOptional(z149.string()),
|
|
4308
|
-
purgeDirectory: nullishToOptional(z149.boolean()),
|
|
4309
4305
|
// Maybe not needed
|
|
4310
4306
|
url: nullishToOptional(z149.string()),
|
|
4311
4307
|
// Legacy deprecated fields. Use `credentialId` instead
|
|
4312
4308
|
connectionId: nullishToOptional(z149.string()),
|
|
4313
4309
|
userId: nullishToOptional(z149.number())
|
|
4314
|
-
});
|
|
4310
|
+
}).extend(GitCommonDestinationOptions.shape);
|
|
4315
4311
|
var ExporterDestinationGitlab = z149.object({
|
|
4316
4312
|
credentialId: z149.string().optional(),
|
|
4317
4313
|
// Repository
|
|
4318
4314
|
projectId: z149.string(),
|
|
4319
|
-
// Commit metadata
|
|
4320
|
-
commitAuthorName: nullishToOptional(z149.string()),
|
|
4321
|
-
commitAuthorEmail: nullishToOptional(z149.string()),
|
|
4322
|
-
// Location
|
|
4323
|
-
branch: z149.string(),
|
|
4324
|
-
relativePath: nullishToOptional(z149.string()),
|
|
4325
|
-
purgeDirectory: nullishToOptional(z149.boolean()),
|
|
4326
4315
|
// Maybe not needed
|
|
4327
4316
|
url: nullishToOptional(z149.string()),
|
|
4328
4317
|
// Legacy deprecated fields. Use `credentialId` instead
|
|
4329
4318
|
connectionId: nullishToOptional(z149.string()),
|
|
4330
4319
|
userId: nullishToOptional(z149.number())
|
|
4331
|
-
});
|
|
4320
|
+
}).extend(GitCommonDestinationOptions.shape);
|
|
4332
4321
|
var ExporterDestinationBitbucket = z149.object({
|
|
4333
4322
|
credentialId: z149.string().optional(),
|
|
4334
4323
|
// Repository
|
|
4335
4324
|
workspaceSlug: z149.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
|
|
4336
4325
|
projectKey: z149.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
|
|
4337
4326
|
repoSlug: z149.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
|
|
4338
|
-
// Commit metadata
|
|
4339
|
-
commitAuthorName: nullishToOptional(z149.string()),
|
|
4340
|
-
commitAuthorEmail: nullishToOptional(z149.string()),
|
|
4341
|
-
// Location
|
|
4342
|
-
branch: z149.string(),
|
|
4343
|
-
relativePath: nullishToOptional(z149.string()),
|
|
4344
|
-
purgeDirectory: nullishToOptional(z149.boolean()),
|
|
4345
4327
|
// Legacy deprecated fields. Use `credentialId` instead
|
|
4346
4328
|
connectionId: nullishToOptional(z149.string()),
|
|
4347
4329
|
userId: nullishToOptional(z149.number())
|
|
4348
|
-
});
|
|
4330
|
+
}).extend(GitCommonDestinationOptions.shape);
|
|
4349
4331
|
var ExportDestinationsMap = z149.object({
|
|
4350
4332
|
webhookUrl: z149.string().optional(),
|
|
4351
4333
|
destinationSnDocs: ExporterDestinationDocs.optional(),
|