@supernova-studio/model 0.52.4 → 0.52.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 +360 -0
- package/dist/index.d.ts +360 -0
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/export/export-destinations.ts +16 -0
package/package.json
CHANGED
|
@@ -27,6 +27,10 @@ export const ExporterDestinationGithub = z.object({
|
|
|
27
27
|
branch: z.string(),
|
|
28
28
|
relativePath: nullishToOptional(z.string()),
|
|
29
29
|
|
|
30
|
+
// Commit metadata
|
|
31
|
+
commitAuthorName: nullishToOptional(z.string()),
|
|
32
|
+
commitAuthorEmail: nullishToOptional(z.string()),
|
|
33
|
+
|
|
30
34
|
// Legacy deprecated fields. Use `credentialId` instead
|
|
31
35
|
connectionId: nullishToOptional(z.string()),
|
|
32
36
|
userId: nullishToOptional(z.number()),
|
|
@@ -40,6 +44,10 @@ export const ExporterDestinationAzure = z.object({
|
|
|
40
44
|
projectId: z.string(),
|
|
41
45
|
repositoryId: z.string(),
|
|
42
46
|
|
|
47
|
+
// Commit metadata
|
|
48
|
+
commitAuthorName: nullishToOptional(z.string()),
|
|
49
|
+
commitAuthorEmail: nullishToOptional(z.string()),
|
|
50
|
+
|
|
43
51
|
// Location
|
|
44
52
|
branch: z.string(),
|
|
45
53
|
relativePath: nullishToOptional(z.string()),
|
|
@@ -58,6 +66,10 @@ export const ExporterDestinationGitlab = z.object({
|
|
|
58
66
|
// Repository
|
|
59
67
|
projectId: z.string(),
|
|
60
68
|
|
|
69
|
+
// Commit metadata
|
|
70
|
+
commitAuthorName: nullishToOptional(z.string()),
|
|
71
|
+
commitAuthorEmail: nullishToOptional(z.string()),
|
|
72
|
+
|
|
61
73
|
// Location
|
|
62
74
|
branch: z.string(),
|
|
63
75
|
relativePath: nullishToOptional(z.string()),
|
|
@@ -78,6 +90,10 @@ export const ExporterDestinationBitbucket = z.object({
|
|
|
78
90
|
projectKey: z.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
|
|
79
91
|
repoSlug: z.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
|
|
80
92
|
|
|
93
|
+
// Commit metadata
|
|
94
|
+
commitAuthorName: nullishToOptional(z.string()),
|
|
95
|
+
commitAuthorEmail: nullishToOptional(z.string()),
|
|
96
|
+
|
|
81
97
|
// Location
|
|
82
98
|
branch: z.string(),
|
|
83
99
|
relativePath: nullishToOptional(z.string()),
|