@deltabox/toolchain 2.1.1 → 2.3.2

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.
Files changed (140) hide show
  1. package/CHANGELOG.md +398 -628
  2. package/README.md +6 -0
  3. package/dist/changelog.d.ts +6 -5
  4. package/dist/changelog.js +1 -1
  5. package/dist/cli/commands/providers.js +1 -1
  6. package/dist/cli/commands/reset.js +1 -1
  7. package/dist/cli/config-selection.js +1 -1
  8. package/dist/cli/index.d.ts +2 -2
  9. package/dist/cli/index.js +1 -1
  10. package/dist/cli/update-check.js +1 -1
  11. package/dist/config.d.ts +2 -2
  12. package/dist/config.js +1 -1
  13. package/dist/index.d.ts +38 -30
  14. package/dist/index.js +1 -1
  15. package/dist/migrate.d.ts +2 -2
  16. package/dist/migrate.js +1 -1
  17. package/dist/package.js +1 -1
  18. package/dist/packages/changelog/src/cli/index.js +1 -1
  19. package/dist/packages/changelog/src/index.d.ts +7 -6
  20. package/dist/packages/changelog/src/index.js +1 -1
  21. package/dist/packages/changelog/src/run-workflows.d.ts +39 -2
  22. package/dist/packages/changelog/src/run-workflows.js +1 -1
  23. package/dist/packages/changelog/src/run.d.ts +1 -1
  24. package/dist/packages/changelog/src/run.js +1 -1
  25. package/dist/packages/changelog/src/sync.js +1 -1
  26. package/dist/packages/changelog/src/templates.js +1 -1
  27. package/dist/packages/changelog/src/utils/format.d.ts +5 -3
  28. package/dist/packages/changelog/src/utils/format.js +5 -5
  29. package/dist/packages/changelog/src/utils/git.d.ts +1 -1
  30. package/dist/packages/changelog/src/utils/git.js +1 -1
  31. package/dist/packages/changelog/src/utils/reformat.d.ts +7 -2
  32. package/dist/packages/changelog/src/utils/reformat.js +5 -4
  33. package/dist/packages/changelog/src/utils/release-notes.js +1 -1
  34. package/dist/packages/changelog/src/utils/repo.js +1 -1
  35. package/dist/packages/changelog/src/utils/summary.d.ts +1 -1
  36. package/dist/packages/changelog/src/utils/types.d.ts +9 -46
  37. package/dist/packages/changelog/src/utils/versioning.d.ts +11 -14
  38. package/dist/packages/changelog/src/utils/write.js +1 -1
  39. package/dist/packages/changelog/src/workflows.d.ts +11 -3
  40. package/dist/packages/changelog/src/workflows.js +5 -5
  41. package/dist/packages/config/src/cli/index.d.ts +1 -1
  42. package/dist/packages/config/src/collect.js +1 -1
  43. package/dist/packages/config/src/config-json.js +1 -1
  44. package/dist/packages/config/src/generators/env.js +2 -2
  45. package/dist/packages/config/src/generators/markdown.js +8 -8
  46. package/dist/packages/config/src/generators/output.js +1 -0
  47. package/dist/packages/config/src/generators/types.js +3 -3
  48. package/dist/packages/config/src/index.d.ts +3 -3
  49. package/dist/packages/config/src/index.js +1 -1
  50. package/dist/packages/config/src/schema.d.ts +16 -0
  51. package/dist/packages/config/src/schema.js +1 -1
  52. package/dist/packages/config/src/types.d.ts +5 -0
  53. package/dist/packages/core/src/editor-config.js +1 -1
  54. package/dist/packages/core/src/loader.js +1 -1
  55. package/dist/packages/core/src/manifest.js +1 -1
  56. package/dist/packages/core/src/paths.js +1 -0
  57. package/dist/packages/core/src/provider-registry.js +1 -1
  58. package/dist/packages/core/src/reset.d.ts +3 -0
  59. package/dist/packages/core/src/reset.js +1 -1
  60. package/dist/packages/core/src/sync.js +1 -1
  61. package/dist/packages/core/src/vscode.js +1 -1
  62. package/dist/packages/core/src/watch.d.ts +1 -1
  63. package/dist/packages/core/src/watch.js +1 -1
  64. package/dist/packages/migrate/src/cli/index.js +1 -1
  65. package/dist/packages/migrate/src/eslint.js +1 -1
  66. package/dist/packages/migrate/src/index.d.ts +2 -2
  67. package/dist/packages/migrate/src/index.js +1 -1
  68. package/dist/packages/migrate/src/prettier.d.ts +2 -0
  69. package/dist/packages/migrate/src/prettier.js +2 -2
  70. package/dist/packages/migrate/src/vite-target.js +1 -1
  71. package/dist/packages/project/src/cli/index.js +1 -1
  72. package/dist/packages/project/src/index.d.ts +4 -4
  73. package/dist/packages/project/src/index.js +1 -1
  74. package/dist/packages/project/src/typescript.d.ts +4 -2
  75. package/dist/packages/project/src/typescript.js +2 -2
  76. package/dist/packages/shared/src/changelog-callbacks.d.ts +72 -0
  77. package/dist/packages/shared/src/config-schema/biome.d.ts +8 -1
  78. package/dist/packages/shared/src/config-schema/biome.js +1 -1
  79. package/dist/packages/shared/src/config-schema/changelog.d.ts +3049 -30
  80. package/dist/packages/shared/src/config-schema/changelog.js +1 -1
  81. package/dist/packages/shared/src/config-schema/ci.d.ts +1163 -23
  82. package/dist/packages/shared/src/config-schema/external.js +1 -0
  83. package/dist/packages/shared/src/config-schema/format.d.ts +16 -10
  84. package/dist/packages/shared/src/config-schema/format.js +1 -1
  85. package/dist/packages/shared/src/config-schema/generated/azure-pipelines.d.ts +10501 -0
  86. package/dist/packages/shared/src/config-schema/generated/biome-config.d.ts +5962 -0
  87. package/dist/packages/shared/src/config-schema/generated/github-workflow.d.ts +179 -0
  88. package/dist/packages/shared/src/config-schema/generated/gitlab-ci.d.ts +296 -0
  89. package/dist/packages/shared/src/config-schema/generated/oxfmt-config.d.ts +411 -0
  90. package/dist/packages/shared/src/config-schema/generated/oxlint-config.d.ts +2218 -0
  91. package/dist/packages/shared/src/config-schema/index.d.ts +5355 -142
  92. package/dist/packages/shared/src/config-schema/index.js +1 -1
  93. package/dist/packages/shared/src/config-schema/json.d.ts +18 -0
  94. package/dist/packages/shared/src/config-schema/json.js +1 -0
  95. package/dist/packages/shared/src/config-schema/logger.d.ts +10 -1
  96. package/dist/packages/shared/src/config-schema/logger.js +1 -1
  97. package/dist/packages/shared/src/config-schema/tsconfig.d.ts +5 -4
  98. package/dist/packages/shared/src/config-schema/tsconfig.js +1 -1
  99. package/dist/packages/shared/src/config-schema/vite.d.ts +5 -3
  100. package/dist/packages/shared/src/config-schema/vite.js +1 -1
  101. package/dist/packages/shared/src/config-schema/workflow.d.ts +946 -31
  102. package/dist/packages/shared/src/config-schema/workflow.js +1 -1
  103. package/dist/packages/shared/src/config-types.d.ts +257 -33
  104. package/dist/packages/shared/src/fs-utils.d.ts +12 -0
  105. package/dist/packages/shared/src/fs-utils.js +8 -1
  106. package/dist/packages/shared/src/index.d.ts +19 -11
  107. package/dist/packages/shared/src/index.js +1 -1
  108. package/dist/packages/shared/src/object-utils.d.ts +2 -0
  109. package/dist/packages/shared/src/object-utils.js +1 -1
  110. package/dist/packages/shared/src/registry-policy.d.ts +3 -2
  111. package/dist/packages/shared/src/registry-policy.js +1 -1
  112. package/dist/packages/shared/src/run.d.ts +2 -0
  113. package/dist/packages/shared/src/run.js +1 -1
  114. package/dist/packages/shared/src/string-utils.d.ts +7 -5
  115. package/dist/packages/shared/src/string-utils.js +2 -2
  116. package/dist/packages/shared/src/template.d.ts +2 -1
  117. package/dist/packages/shared/src/template.js +1 -1
  118. package/dist/packages/shared/src/toolchain.d.ts +14 -7
  119. package/dist/packages/shared/src/toolchain.js +1 -1
  120. package/dist/packages/shared/src/types.d.ts +5 -0
  121. package/dist/packages/shared/src/vite-defaults.d.ts +4 -3
  122. package/dist/packages/shared/src/vite-defaults.js +1 -1
  123. package/dist/packages/shared/src/yaml.js +5 -5
  124. package/dist/packages/template/src/scaffold.js +1 -1
  125. package/dist/packages/tsconfig/src/cli/generate/index.js +1 -1
  126. package/dist/packages/tsconfig/src/overrides.d.ts +5 -5
  127. package/dist/packages/tsdown/src/config/node.d.ts +5 -0
  128. package/dist/packages/tsdown/src/config/node.js +2 -2
  129. package/dist/packages/tsdown/src/index.d.ts +3 -3
  130. package/dist/packages/tsdown/src/index.js +1 -1
  131. package/dist/packages/vite/src/plugin.js +1 -1
  132. package/dist/packages/vite/src/vp.js +1 -1
  133. package/dist/project.d.ts +3 -3
  134. package/dist/project.js +1 -1
  135. package/dist/shared.d.ts +18 -10
  136. package/dist/shared.js +1 -1
  137. package/dist/tooling.js +1 -1
  138. package/dist/tsdown.d.ts +2 -2
  139. package/dist/tsdown.js +1 -1
  140. package/package.json +25 -13
@@ -1,6 +1,10 @@
1
1
  import __tsdown_shims_path from 'node:path';
2
2
  import __tsdown_shims_url from 'node:url';
3
+ import { AzurePipelines } from "./generated/azure-pipelines.js";
4
+ import { GitHubWorkflow } from "./generated/github-workflow.js";
5
+ import { GitLabCi } from "./generated/gitlab-ci.js";
3
6
  import { z } from "zod";
7
+ import { JsonObject } from "type-fest";
4
8
  //#region packages/shared/src/config-schema/workflow.d.ts
5
9
  /** A GitHub Actions step (the subset the workflow builder understands). */
6
10
  export declare const workflowStepSchema: z.ZodObject<{
@@ -40,12 +44,87 @@ export declare const workflowStepsConfigSchema: z.ZodObject<{
40
44
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
41
45
  }, z.core.$strip>>>;
42
46
  }, z.core.$strip>;
47
+ /** A complete GitHub Actions job (the subset the workflow builder understands). */
48
+ export declare const workflowJobSchema: z.ZodObject<{
49
+ name: z.ZodOptional<z.ZodString>;
50
+ 'runs-on': z.ZodString;
51
+ if: z.ZodOptional<z.ZodString>;
52
+ needs: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
53
+ environment: z.ZodOptional<z.ZodString>;
54
+ permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
55
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
56
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
57
+ concurrency: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
58
+ 'timeout-minutes': z.ZodOptional<z.ZodNumber>;
59
+ strategy: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
60
+ services: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
61
+ steps: z.ZodArray<z.ZodObject<{
62
+ name: z.ZodOptional<z.ZodString>;
63
+ id: z.ZodOptional<z.ZodString>;
64
+ if: z.ZodOptional<z.ZodString>;
65
+ uses: z.ZodOptional<z.ZodString>;
66
+ run: z.ZodOptional<z.ZodString>;
67
+ shell: z.ZodOptional<z.ZodString>;
68
+ 'working-directory': z.ZodOptional<z.ZodString>;
69
+ with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
70
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
71
+ }, z.core.$strip>>;
72
+ }, z.core.$catchall<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
73
+ [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
74
+ } | null)[] | {
75
+ [key: string]: string | number | boolean | any | any | null;
76
+ } | null)[] | {
77
+ [key: string]: string | number | boolean | any | any | null;
78
+ } | null)[] | {
79
+ [key: string]: string | number | boolean | any | any | null;
80
+ } | null)[] | {
81
+ [key: string]: string | number | boolean | any | any | null;
82
+ } | null)[] | {
83
+ [key: string]: string | number | boolean | any | any | null;
84
+ } | null)[] | {
85
+ [key: string]: string | number | boolean | any | any | null;
86
+ } | null)[] | {
87
+ [key: string]: string | number | boolean | any | any | null;
88
+ } | null)[] | {
89
+ [key: string]: string | number | boolean | any | any | null;
90
+ } | null)[] | {
91
+ [key: string]: string | number | boolean | any | any | null;
92
+ } | null)[] | {
93
+ [key: string]: string | number | boolean | any | any | null;
94
+ } | null)[] | {
95
+ [key: string]: string | number | boolean | any | any | null;
96
+ } | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
97
+ [key: string]: string | number | boolean | any | any | null;
98
+ } | null)[] | {
99
+ [key: string]: string | number | boolean | any | any | null;
100
+ } | null)[] | {
101
+ [key: string]: string | number | boolean | any | any | null;
102
+ } | null)[] | {
103
+ [key: string]: string | number | boolean | any | any | null;
104
+ } | null)[] | {
105
+ [key: string]: string | number | boolean | any | any | null;
106
+ } | null)[] | {
107
+ [key: string]: string | number | boolean | any | any | null;
108
+ } | null)[] | {
109
+ [key: string]: string | number | boolean | any | any | null;
110
+ } | null)[] | {
111
+ [key: string]: string | number | boolean | any | any | null;
112
+ } | null)[] | {
113
+ [key: string]: string | number | boolean | any | any | null;
114
+ } | null)[] | {
115
+ [key: string]: string | number | boolean | any | any | null;
116
+ } | null)[] | {
117
+ [key: string]: string | number | boolean | any | any | null;
118
+ } | null)[] | {
119
+ [key: string]: string | number | boolean | any | any | null;
120
+ } | null, unknown>>>>;
43
121
  /** Per-workflow overrides merged over the default workflow. */
44
122
  export declare const workflowOptionsSchema: z.ZodObject<{
123
+ provider: z.ZodOptional<z.ZodLiteral<"github">>;
45
124
  pushBranches: z.ZodOptional<z.ZodArray<z.ZodString>>;
46
125
  pullRequestBranches: z.ZodOptional<z.ZodArray<z.ZodString>>;
47
- triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
48
- extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
126
+ triggers: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
127
+ extra: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
49
128
  steps: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
50
129
  job: z.ZodOptional<z.ZodString>;
51
130
  before: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -95,20 +174,146 @@ export declare const workflowOptionsSchema: z.ZodObject<{
95
174
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
96
175
  }, z.core.$strip>>>;
97
176
  }, z.core.$strip>>]>>;
98
- jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
177
+ jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
178
+ name: z.ZodOptional<z.ZodString>;
179
+ 'runs-on': z.ZodString;
180
+ if: z.ZodOptional<z.ZodString>;
181
+ needs: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
182
+ environment: z.ZodOptional<z.ZodString>;
183
+ permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
184
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
185
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
186
+ concurrency: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
187
+ 'timeout-minutes': z.ZodOptional<z.ZodNumber>;
188
+ strategy: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
189
+ services: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
190
+ steps: z.ZodArray<z.ZodObject<{
191
+ name: z.ZodOptional<z.ZodString>;
192
+ id: z.ZodOptional<z.ZodString>;
193
+ if: z.ZodOptional<z.ZodString>;
194
+ uses: z.ZodOptional<z.ZodString>;
195
+ run: z.ZodOptional<z.ZodString>;
196
+ shell: z.ZodOptional<z.ZodString>;
197
+ 'working-directory': z.ZodOptional<z.ZodString>;
198
+ with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
199
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
200
+ }, z.core.$strip>>;
201
+ }, z.core.$catchall<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
202
+ [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
203
+ } | null)[] | {
204
+ [key: string]: string | number | boolean | any | any | null;
205
+ } | null)[] | {
206
+ [key: string]: string | number | boolean | any | any | null;
207
+ } | null)[] | {
208
+ [key: string]: string | number | boolean | any | any | null;
209
+ } | null)[] | {
210
+ [key: string]: string | number | boolean | any | any | null;
211
+ } | null)[] | {
212
+ [key: string]: string | number | boolean | any | any | null;
213
+ } | null)[] | {
214
+ [key: string]: string | number | boolean | any | any | null;
215
+ } | null)[] | {
216
+ [key: string]: string | number | boolean | any | any | null;
217
+ } | null)[] | {
218
+ [key: string]: string | number | boolean | any | any | null;
219
+ } | null)[] | {
220
+ [key: string]: string | number | boolean | any | any | null;
221
+ } | null)[] | {
222
+ [key: string]: string | number | boolean | any | any | null;
223
+ } | null)[] | {
224
+ [key: string]: string | number | boolean | any | any | null;
225
+ } | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
226
+ [key: string]: string | number | boolean | any | any | null;
227
+ } | null)[] | {
228
+ [key: string]: string | number | boolean | any | any | null;
229
+ } | null)[] | {
230
+ [key: string]: string | number | boolean | any | any | null;
231
+ } | null)[] | {
232
+ [key: string]: string | number | boolean | any | any | null;
233
+ } | null)[] | {
234
+ [key: string]: string | number | boolean | any | any | null;
235
+ } | null)[] | {
236
+ [key: string]: string | number | boolean | any | any | null;
237
+ } | null)[] | {
238
+ [key: string]: string | number | boolean | any | any | null;
239
+ } | null)[] | {
240
+ [key: string]: string | number | boolean | any | any | null;
241
+ } | null)[] | {
242
+ [key: string]: string | number | boolean | any | any | null;
243
+ } | null)[] | {
244
+ [key: string]: string | number | boolean | any | any | null;
245
+ } | null)[] | {
246
+ [key: string]: string | number | boolean | any | any | null;
247
+ } | null)[] | {
248
+ [key: string]: string | number | boolean | any | any | null;
249
+ } | null, unknown>>>>>>;
99
250
  tokens: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
100
251
  filename: z.ZodOptional<z.ZodString>;
101
252
  dir: z.ZodOptional<z.ZodString>;
102
253
  }, z.core.$strip>;
254
+ /** A complete vendor workflow setting (GitHub, GitLab or Azure). */
255
+ export interface VendorWorkflowConfig {
256
+ provider: 'github' | 'gitlab' | 'azure';
257
+ workflow: Record<string, unknown>;
258
+ filename?: string;
259
+ dir?: string;
260
+ enabled?: boolean;
261
+ }
262
+ /** Whether a config value is a complete vendor workflow setting. */
263
+ export declare function isVendorWorkflowConfig(value: unknown): value is VendorWorkflowConfig;
264
+ /** A complete GitHub Actions workflow, written as-is. */
265
+ export declare const githubWorkflowSettingSchema: z.ZodObject<{
266
+ filename: z.ZodOptional<z.ZodString>;
267
+ dir: z.ZodOptional<z.ZodString>;
268
+ enabled: z.ZodOptional<z.ZodBoolean>;
269
+ provider: z.ZodLiteral<"github">;
270
+ workflow: z.ZodType<GitHubWorkflow, unknown, z.core.$ZodTypeInternals<GitHubWorkflow, unknown>>;
271
+ }, z.core.$strip>;
272
+ /** A complete GitLab CI pipeline, written as-is. */
273
+ export declare const gitlabWorkflowSettingSchema: z.ZodObject<{
274
+ filename: z.ZodOptional<z.ZodString>;
275
+ dir: z.ZodOptional<z.ZodString>;
276
+ enabled: z.ZodOptional<z.ZodBoolean>;
277
+ provider: z.ZodLiteral<"gitlab">;
278
+ workflow: z.ZodType<GitLabCi, unknown, z.core.$ZodTypeInternals<GitLabCi, unknown>>;
279
+ }, z.core.$strip>;
280
+ /** A complete Azure Pipelines pipeline, written as-is. */
281
+ export declare const azureWorkflowSettingSchema: z.ZodObject<{
282
+ filename: z.ZodOptional<z.ZodString>;
283
+ dir: z.ZodOptional<z.ZodString>;
284
+ enabled: z.ZodOptional<z.ZodBoolean>;
285
+ provider: z.ZodLiteral<"azure">;
286
+ workflow: z.ZodType<AzurePipelines, unknown, z.core.$ZodTypeInternals<AzurePipelines, unknown>>;
287
+ }, z.core.$strip>;
103
288
  /**
104
- * A workflow can be toggled with a boolean, configured with an object, or set to
105
- * a raw YAML string (written verbatim as the workflow file).
289
+ * A workflow can be toggled with a boolean, configured with a partial GitHub
290
+ * override, set to a complete GitHub/GitLab/Azure workflow, or set to a raw YAML
291
+ * string (written verbatim as the workflow file).
106
292
  */
107
293
  export declare const workflowSettingSchema: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodObject<{
294
+ filename: z.ZodOptional<z.ZodString>;
295
+ dir: z.ZodOptional<z.ZodString>;
296
+ enabled: z.ZodOptional<z.ZodBoolean>;
297
+ provider: z.ZodLiteral<"github">;
298
+ workflow: z.ZodType<GitHubWorkflow, unknown, z.core.$ZodTypeInternals<GitHubWorkflow, unknown>>;
299
+ }, z.core.$strip>, z.ZodObject<{
300
+ filename: z.ZodOptional<z.ZodString>;
301
+ dir: z.ZodOptional<z.ZodString>;
302
+ enabled: z.ZodOptional<z.ZodBoolean>;
303
+ provider: z.ZodLiteral<"gitlab">;
304
+ workflow: z.ZodType<GitLabCi, unknown, z.core.$ZodTypeInternals<GitLabCi, unknown>>;
305
+ }, z.core.$strip>, z.ZodObject<{
306
+ filename: z.ZodOptional<z.ZodString>;
307
+ dir: z.ZodOptional<z.ZodString>;
308
+ enabled: z.ZodOptional<z.ZodBoolean>;
309
+ provider: z.ZodLiteral<"azure">;
310
+ workflow: z.ZodType<AzurePipelines, unknown, z.core.$ZodTypeInternals<AzurePipelines, unknown>>;
311
+ }, z.core.$strip>, z.ZodObject<{
312
+ provider: z.ZodOptional<z.ZodLiteral<"github">>;
108
313
  pushBranches: z.ZodOptional<z.ZodArray<z.ZodString>>;
109
314
  pullRequestBranches: z.ZodOptional<z.ZodArray<z.ZodString>>;
110
- triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
111
- extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
315
+ triggers: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
316
+ extra: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
112
317
  steps: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
113
318
  job: z.ZodOptional<z.ZodString>;
114
319
  before: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -158,21 +363,113 @@ export declare const workflowSettingSchema: z.ZodUnion<readonly [z.ZodBoolean, z
158
363
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
159
364
  }, z.core.$strip>>>;
160
365
  }, z.core.$strip>>]>>;
161
- jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
366
+ jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
367
+ name: z.ZodOptional<z.ZodString>;
368
+ 'runs-on': z.ZodString;
369
+ if: z.ZodOptional<z.ZodString>;
370
+ needs: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
371
+ environment: z.ZodOptional<z.ZodString>;
372
+ permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
373
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
374
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
375
+ concurrency: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
376
+ 'timeout-minutes': z.ZodOptional<z.ZodNumber>;
377
+ strategy: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
378
+ services: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
379
+ steps: z.ZodArray<z.ZodObject<{
380
+ name: z.ZodOptional<z.ZodString>;
381
+ id: z.ZodOptional<z.ZodString>;
382
+ if: z.ZodOptional<z.ZodString>;
383
+ uses: z.ZodOptional<z.ZodString>;
384
+ run: z.ZodOptional<z.ZodString>;
385
+ shell: z.ZodOptional<z.ZodString>;
386
+ 'working-directory': z.ZodOptional<z.ZodString>;
387
+ with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
388
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
389
+ }, z.core.$strip>>;
390
+ }, z.core.$catchall<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
391
+ [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
392
+ } | null)[] | {
393
+ [key: string]: string | number | boolean | any | any | null;
394
+ } | null)[] | {
395
+ [key: string]: string | number | boolean | any | any | null;
396
+ } | null)[] | {
397
+ [key: string]: string | number | boolean | any | any | null;
398
+ } | null)[] | {
399
+ [key: string]: string | number | boolean | any | any | null;
400
+ } | null)[] | {
401
+ [key: string]: string | number | boolean | any | any | null;
402
+ } | null)[] | {
403
+ [key: string]: string | number | boolean | any | any | null;
404
+ } | null)[] | {
405
+ [key: string]: string | number | boolean | any | any | null;
406
+ } | null)[] | {
407
+ [key: string]: string | number | boolean | any | any | null;
408
+ } | null)[] | {
409
+ [key: string]: string | number | boolean | any | any | null;
410
+ } | null)[] | {
411
+ [key: string]: string | number | boolean | any | any | null;
412
+ } | null)[] | {
413
+ [key: string]: string | number | boolean | any | any | null;
414
+ } | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
415
+ [key: string]: string | number | boolean | any | any | null;
416
+ } | null)[] | {
417
+ [key: string]: string | number | boolean | any | any | null;
418
+ } | null)[] | {
419
+ [key: string]: string | number | boolean | any | any | null;
420
+ } | null)[] | {
421
+ [key: string]: string | number | boolean | any | any | null;
422
+ } | null)[] | {
423
+ [key: string]: string | number | boolean | any | any | null;
424
+ } | null)[] | {
425
+ [key: string]: string | number | boolean | any | any | null;
426
+ } | null)[] | {
427
+ [key: string]: string | number | boolean | any | any | null;
428
+ } | null)[] | {
429
+ [key: string]: string | number | boolean | any | any | null;
430
+ } | null)[] | {
431
+ [key: string]: string | number | boolean | any | any | null;
432
+ } | null)[] | {
433
+ [key: string]: string | number | boolean | any | any | null;
434
+ } | null)[] | {
435
+ [key: string]: string | number | boolean | any | any | null;
436
+ } | null)[] | {
437
+ [key: string]: string | number | boolean | any | any | null;
438
+ } | null, unknown>>>>>>;
162
439
  tokens: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
163
440
  filename: z.ZodOptional<z.ZodString>;
164
441
  dir: z.ZodOptional<z.ZodString>;
165
442
  }, z.core.$strip>]>;
166
443
  /**
167
444
  * A custom workflow is enabled by presence (no boolean): a raw YAML string is
168
- * written verbatim, or an options object is merged over an empty workflow
169
- * (`triggers`, `extra`, `jobs`, ... build the workflow).
445
+ * written verbatim, a complete vendor workflow (with `provider`), or a GitHub
446
+ * options object merged over an empty workflow (`triggers`, `extra`, `jobs`, ...
447
+ * build the workflow).
170
448
  */
171
449
  export declare const customWorkflowSettingsSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
450
+ filename: z.ZodOptional<z.ZodString>;
451
+ dir: z.ZodOptional<z.ZodString>;
452
+ enabled: z.ZodOptional<z.ZodBoolean>;
453
+ provider: z.ZodLiteral<"github">;
454
+ workflow: z.ZodType<GitHubWorkflow, unknown, z.core.$ZodTypeInternals<GitHubWorkflow, unknown>>;
455
+ }, z.core.$strip>, z.ZodObject<{
456
+ filename: z.ZodOptional<z.ZodString>;
457
+ dir: z.ZodOptional<z.ZodString>;
458
+ enabled: z.ZodOptional<z.ZodBoolean>;
459
+ provider: z.ZodLiteral<"gitlab">;
460
+ workflow: z.ZodType<GitLabCi, unknown, z.core.$ZodTypeInternals<GitLabCi, unknown>>;
461
+ }, z.core.$strip>, z.ZodObject<{
462
+ filename: z.ZodOptional<z.ZodString>;
463
+ dir: z.ZodOptional<z.ZodString>;
464
+ enabled: z.ZodOptional<z.ZodBoolean>;
465
+ provider: z.ZodLiteral<"azure">;
466
+ workflow: z.ZodType<AzurePipelines, unknown, z.core.$ZodTypeInternals<AzurePipelines, unknown>>;
467
+ }, z.core.$strip>, z.ZodObject<{
468
+ provider: z.ZodOptional<z.ZodLiteral<"github">>;
172
469
  pushBranches: z.ZodOptional<z.ZodArray<z.ZodString>>;
173
470
  pullRequestBranches: z.ZodOptional<z.ZodArray<z.ZodString>>;
174
- triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
175
- extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
471
+ triggers: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
472
+ extra: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
176
473
  steps: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
177
474
  job: z.ZodOptional<z.ZodString>;
178
475
  before: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -222,7 +519,79 @@ export declare const customWorkflowSettingsSchema: z.ZodUnion<readonly [z.ZodStr
222
519
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
223
520
  }, z.core.$strip>>>;
224
521
  }, z.core.$strip>>]>>;
225
- jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
522
+ jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
523
+ name: z.ZodOptional<z.ZodString>;
524
+ 'runs-on': z.ZodString;
525
+ if: z.ZodOptional<z.ZodString>;
526
+ needs: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
527
+ environment: z.ZodOptional<z.ZodString>;
528
+ permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
529
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
530
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
531
+ concurrency: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
532
+ 'timeout-minutes': z.ZodOptional<z.ZodNumber>;
533
+ strategy: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
534
+ services: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
535
+ steps: z.ZodArray<z.ZodObject<{
536
+ name: z.ZodOptional<z.ZodString>;
537
+ id: z.ZodOptional<z.ZodString>;
538
+ if: z.ZodOptional<z.ZodString>;
539
+ uses: z.ZodOptional<z.ZodString>;
540
+ run: z.ZodOptional<z.ZodString>;
541
+ shell: z.ZodOptional<z.ZodString>;
542
+ 'working-directory': z.ZodOptional<z.ZodString>;
543
+ with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
544
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
545
+ }, z.core.$strip>>;
546
+ }, z.core.$catchall<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
547
+ [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
548
+ } | null)[] | {
549
+ [key: string]: string | number | boolean | any | any | null;
550
+ } | null)[] | {
551
+ [key: string]: string | number | boolean | any | any | null;
552
+ } | null)[] | {
553
+ [key: string]: string | number | boolean | any | any | null;
554
+ } | null)[] | {
555
+ [key: string]: string | number | boolean | any | any | null;
556
+ } | null)[] | {
557
+ [key: string]: string | number | boolean | any | any | null;
558
+ } | null)[] | {
559
+ [key: string]: string | number | boolean | any | any | null;
560
+ } | null)[] | {
561
+ [key: string]: string | number | boolean | any | any | null;
562
+ } | null)[] | {
563
+ [key: string]: string | number | boolean | any | any | null;
564
+ } | null)[] | {
565
+ [key: string]: string | number | boolean | any | any | null;
566
+ } | null)[] | {
567
+ [key: string]: string | number | boolean | any | any | null;
568
+ } | null)[] | {
569
+ [key: string]: string | number | boolean | any | any | null;
570
+ } | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
571
+ [key: string]: string | number | boolean | any | any | null;
572
+ } | null)[] | {
573
+ [key: string]: string | number | boolean | any | any | null;
574
+ } | null)[] | {
575
+ [key: string]: string | number | boolean | any | any | null;
576
+ } | null)[] | {
577
+ [key: string]: string | number | boolean | any | any | null;
578
+ } | null)[] | {
579
+ [key: string]: string | number | boolean | any | any | null;
580
+ } | null)[] | {
581
+ [key: string]: string | number | boolean | any | any | null;
582
+ } | null)[] | {
583
+ [key: string]: string | number | boolean | any | any | null;
584
+ } | null)[] | {
585
+ [key: string]: string | number | boolean | any | any | null;
586
+ } | null)[] | {
587
+ [key: string]: string | number | boolean | any | any | null;
588
+ } | null)[] | {
589
+ [key: string]: string | number | boolean | any | any | null;
590
+ } | null)[] | {
591
+ [key: string]: string | number | boolean | any | any | null;
592
+ } | null)[] | {
593
+ [key: string]: string | number | boolean | any | any | null;
594
+ } | null, unknown>>>>>>;
226
595
  tokens: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
227
596
  filename: z.ZodOptional<z.ZodString>;
228
597
  dir: z.ZodOptional<z.ZodString>;
@@ -233,10 +602,29 @@ export declare const customWorkflowSettingsSchema: z.ZodUnion<readonly [z.ZodStr
233
602
  */
234
603
  export declare const workflowConfigSchema: z.ZodObject<{
235
604
  ci: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodObject<{
605
+ filename: z.ZodOptional<z.ZodString>;
606
+ dir: z.ZodOptional<z.ZodString>;
607
+ enabled: z.ZodOptional<z.ZodBoolean>;
608
+ provider: z.ZodLiteral<"github">;
609
+ workflow: z.ZodType<GitHubWorkflow, unknown, z.core.$ZodTypeInternals<GitHubWorkflow, unknown>>;
610
+ }, z.core.$strip>, z.ZodObject<{
611
+ filename: z.ZodOptional<z.ZodString>;
612
+ dir: z.ZodOptional<z.ZodString>;
613
+ enabled: z.ZodOptional<z.ZodBoolean>;
614
+ provider: z.ZodLiteral<"gitlab">;
615
+ workflow: z.ZodType<GitLabCi, unknown, z.core.$ZodTypeInternals<GitLabCi, unknown>>;
616
+ }, z.core.$strip>, z.ZodObject<{
617
+ filename: z.ZodOptional<z.ZodString>;
618
+ dir: z.ZodOptional<z.ZodString>;
619
+ enabled: z.ZodOptional<z.ZodBoolean>;
620
+ provider: z.ZodLiteral<"azure">;
621
+ workflow: z.ZodType<AzurePipelines, unknown, z.core.$ZodTypeInternals<AzurePipelines, unknown>>;
622
+ }, z.core.$strip>, z.ZodObject<{
623
+ provider: z.ZodOptional<z.ZodLiteral<"github">>;
236
624
  pushBranches: z.ZodOptional<z.ZodArray<z.ZodString>>;
237
625
  pullRequestBranches: z.ZodOptional<z.ZodArray<z.ZodString>>;
238
- triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
239
- extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
626
+ triggers: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
627
+ extra: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
240
628
  steps: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
241
629
  job: z.ZodOptional<z.ZodString>;
242
630
  before: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -286,16 +674,107 @@ export declare const workflowConfigSchema: z.ZodObject<{
286
674
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
287
675
  }, z.core.$strip>>>;
288
676
  }, z.core.$strip>>]>>;
289
- jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
677
+ jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
678
+ name: z.ZodOptional<z.ZodString>;
679
+ 'runs-on': z.ZodString;
680
+ if: z.ZodOptional<z.ZodString>;
681
+ needs: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
682
+ environment: z.ZodOptional<z.ZodString>;
683
+ permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
684
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
685
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
686
+ concurrency: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
687
+ 'timeout-minutes': z.ZodOptional<z.ZodNumber>;
688
+ strategy: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
689
+ services: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
690
+ steps: z.ZodArray<z.ZodObject<{
691
+ name: z.ZodOptional<z.ZodString>;
692
+ id: z.ZodOptional<z.ZodString>;
693
+ if: z.ZodOptional<z.ZodString>;
694
+ uses: z.ZodOptional<z.ZodString>;
695
+ run: z.ZodOptional<z.ZodString>;
696
+ shell: z.ZodOptional<z.ZodString>;
697
+ 'working-directory': z.ZodOptional<z.ZodString>;
698
+ with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
699
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
700
+ }, z.core.$strip>>;
701
+ }, z.core.$catchall<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
702
+ [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
703
+ } | null)[] | {
704
+ [key: string]: string | number | boolean | any | any | null;
705
+ } | null)[] | {
706
+ [key: string]: string | number | boolean | any | any | null;
707
+ } | null)[] | {
708
+ [key: string]: string | number | boolean | any | any | null;
709
+ } | null)[] | {
710
+ [key: string]: string | number | boolean | any | any | null;
711
+ } | null)[] | {
712
+ [key: string]: string | number | boolean | any | any | null;
713
+ } | null)[] | {
714
+ [key: string]: string | number | boolean | any | any | null;
715
+ } | null)[] | {
716
+ [key: string]: string | number | boolean | any | any | null;
717
+ } | null)[] | {
718
+ [key: string]: string | number | boolean | any | any | null;
719
+ } | null)[] | {
720
+ [key: string]: string | number | boolean | any | any | null;
721
+ } | null)[] | {
722
+ [key: string]: string | number | boolean | any | any | null;
723
+ } | null)[] | {
724
+ [key: string]: string | number | boolean | any | any | null;
725
+ } | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
726
+ [key: string]: string | number | boolean | any | any | null;
727
+ } | null)[] | {
728
+ [key: string]: string | number | boolean | any | any | null;
729
+ } | null)[] | {
730
+ [key: string]: string | number | boolean | any | any | null;
731
+ } | null)[] | {
732
+ [key: string]: string | number | boolean | any | any | null;
733
+ } | null)[] | {
734
+ [key: string]: string | number | boolean | any | any | null;
735
+ } | null)[] | {
736
+ [key: string]: string | number | boolean | any | any | null;
737
+ } | null)[] | {
738
+ [key: string]: string | number | boolean | any | any | null;
739
+ } | null)[] | {
740
+ [key: string]: string | number | boolean | any | any | null;
741
+ } | null)[] | {
742
+ [key: string]: string | number | boolean | any | any | null;
743
+ } | null)[] | {
744
+ [key: string]: string | number | boolean | any | any | null;
745
+ } | null)[] | {
746
+ [key: string]: string | number | boolean | any | any | null;
747
+ } | null)[] | {
748
+ [key: string]: string | number | boolean | any | any | null;
749
+ } | null, unknown>>>>>>;
290
750
  tokens: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
291
751
  filename: z.ZodOptional<z.ZodString>;
292
752
  dir: z.ZodOptional<z.ZodString>;
293
753
  }, z.core.$strip>]>>;
294
754
  changelog: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodObject<{
755
+ filename: z.ZodOptional<z.ZodString>;
756
+ dir: z.ZodOptional<z.ZodString>;
757
+ enabled: z.ZodOptional<z.ZodBoolean>;
758
+ provider: z.ZodLiteral<"github">;
759
+ workflow: z.ZodType<GitHubWorkflow, unknown, z.core.$ZodTypeInternals<GitHubWorkflow, unknown>>;
760
+ }, z.core.$strip>, z.ZodObject<{
761
+ filename: z.ZodOptional<z.ZodString>;
762
+ dir: z.ZodOptional<z.ZodString>;
763
+ enabled: z.ZodOptional<z.ZodBoolean>;
764
+ provider: z.ZodLiteral<"gitlab">;
765
+ workflow: z.ZodType<GitLabCi, unknown, z.core.$ZodTypeInternals<GitLabCi, unknown>>;
766
+ }, z.core.$strip>, z.ZodObject<{
767
+ filename: z.ZodOptional<z.ZodString>;
768
+ dir: z.ZodOptional<z.ZodString>;
769
+ enabled: z.ZodOptional<z.ZodBoolean>;
770
+ provider: z.ZodLiteral<"azure">;
771
+ workflow: z.ZodType<AzurePipelines, unknown, z.core.$ZodTypeInternals<AzurePipelines, unknown>>;
772
+ }, z.core.$strip>, z.ZodObject<{
773
+ provider: z.ZodOptional<z.ZodLiteral<"github">>;
295
774
  pushBranches: z.ZodOptional<z.ZodArray<z.ZodString>>;
296
775
  pullRequestBranches: z.ZodOptional<z.ZodArray<z.ZodString>>;
297
- triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
298
- extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
776
+ triggers: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
777
+ extra: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
299
778
  steps: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
300
779
  job: z.ZodOptional<z.ZodString>;
301
780
  before: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -345,16 +824,107 @@ export declare const workflowConfigSchema: z.ZodObject<{
345
824
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
346
825
  }, z.core.$strip>>>;
347
826
  }, z.core.$strip>>]>>;
348
- jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
827
+ jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
828
+ name: z.ZodOptional<z.ZodString>;
829
+ 'runs-on': z.ZodString;
830
+ if: z.ZodOptional<z.ZodString>;
831
+ needs: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
832
+ environment: z.ZodOptional<z.ZodString>;
833
+ permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
834
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
835
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
836
+ concurrency: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
837
+ 'timeout-minutes': z.ZodOptional<z.ZodNumber>;
838
+ strategy: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
839
+ services: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
840
+ steps: z.ZodArray<z.ZodObject<{
841
+ name: z.ZodOptional<z.ZodString>;
842
+ id: z.ZodOptional<z.ZodString>;
843
+ if: z.ZodOptional<z.ZodString>;
844
+ uses: z.ZodOptional<z.ZodString>;
845
+ run: z.ZodOptional<z.ZodString>;
846
+ shell: z.ZodOptional<z.ZodString>;
847
+ 'working-directory': z.ZodOptional<z.ZodString>;
848
+ with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
849
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
850
+ }, z.core.$strip>>;
851
+ }, z.core.$catchall<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
852
+ [key: string]: string | number | boolean | any | any | null;
853
+ } | null)[] | {
854
+ [key: string]: string | number | boolean | any | any | null;
855
+ } | null)[] | {
856
+ [key: string]: string | number | boolean | any | any | null;
857
+ } | null)[] | {
858
+ [key: string]: string | number | boolean | any | any | null;
859
+ } | null)[] | {
860
+ [key: string]: string | number | boolean | any | any | null;
861
+ } | null)[] | {
862
+ [key: string]: string | number | boolean | any | any | null;
863
+ } | null)[] | {
864
+ [key: string]: string | number | boolean | any | any | null;
865
+ } | null)[] | {
866
+ [key: string]: string | number | boolean | any | any | null;
867
+ } | null)[] | {
868
+ [key: string]: string | number | boolean | any | any | null;
869
+ } | null)[] | {
870
+ [key: string]: string | number | boolean | any | any | null;
871
+ } | null)[] | {
872
+ [key: string]: string | number | boolean | any | any | null;
873
+ } | null)[] | {
874
+ [key: string]: string | number | boolean | any | any | null;
875
+ } | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
876
+ [key: string]: string | number | boolean | any | any | null;
877
+ } | null)[] | {
878
+ [key: string]: string | number | boolean | any | any | null;
879
+ } | null)[] | {
880
+ [key: string]: string | number | boolean | any | any | null;
881
+ } | null)[] | {
882
+ [key: string]: string | number | boolean | any | any | null;
883
+ } | null)[] | {
884
+ [key: string]: string | number | boolean | any | any | null;
885
+ } | null)[] | {
886
+ [key: string]: string | number | boolean | any | any | null;
887
+ } | null)[] | {
888
+ [key: string]: string | number | boolean | any | any | null;
889
+ } | null)[] | {
890
+ [key: string]: string | number | boolean | any | any | null;
891
+ } | null)[] | {
892
+ [key: string]: string | number | boolean | any | any | null;
893
+ } | null)[] | {
894
+ [key: string]: string | number | boolean | any | any | null;
895
+ } | null)[] | {
896
+ [key: string]: string | number | boolean | any | any | null;
897
+ } | null)[] | {
898
+ [key: string]: string | number | boolean | any | any | null;
899
+ } | null, unknown>>>>>>;
349
900
  tokens: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
350
901
  filename: z.ZodOptional<z.ZodString>;
351
902
  dir: z.ZodOptional<z.ZodString>;
352
903
  }, z.core.$strip>]>>;
353
904
  release: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodObject<{
905
+ filename: z.ZodOptional<z.ZodString>;
906
+ dir: z.ZodOptional<z.ZodString>;
907
+ enabled: z.ZodOptional<z.ZodBoolean>;
908
+ provider: z.ZodLiteral<"github">;
909
+ workflow: z.ZodType<GitHubWorkflow, unknown, z.core.$ZodTypeInternals<GitHubWorkflow, unknown>>;
910
+ }, z.core.$strip>, z.ZodObject<{
911
+ filename: z.ZodOptional<z.ZodString>;
912
+ dir: z.ZodOptional<z.ZodString>;
913
+ enabled: z.ZodOptional<z.ZodBoolean>;
914
+ provider: z.ZodLiteral<"gitlab">;
915
+ workflow: z.ZodType<GitLabCi, unknown, z.core.$ZodTypeInternals<GitLabCi, unknown>>;
916
+ }, z.core.$strip>, z.ZodObject<{
917
+ filename: z.ZodOptional<z.ZodString>;
918
+ dir: z.ZodOptional<z.ZodString>;
919
+ enabled: z.ZodOptional<z.ZodBoolean>;
920
+ provider: z.ZodLiteral<"azure">;
921
+ workflow: z.ZodType<AzurePipelines, unknown, z.core.$ZodTypeInternals<AzurePipelines, unknown>>;
922
+ }, z.core.$strip>, z.ZodObject<{
923
+ provider: z.ZodOptional<z.ZodLiteral<"github">>;
354
924
  pushBranches: z.ZodOptional<z.ZodArray<z.ZodString>>;
355
925
  pullRequestBranches: z.ZodOptional<z.ZodArray<z.ZodString>>;
356
- triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
357
- extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
926
+ triggers: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
927
+ extra: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
358
928
  steps: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
359
929
  job: z.ZodOptional<z.ZodString>;
360
930
  before: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -404,16 +974,107 @@ export declare const workflowConfigSchema: z.ZodObject<{
404
974
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
405
975
  }, z.core.$strip>>>;
406
976
  }, z.core.$strip>>]>>;
407
- jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
977
+ jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
978
+ name: z.ZodOptional<z.ZodString>;
979
+ 'runs-on': z.ZodString;
980
+ if: z.ZodOptional<z.ZodString>;
981
+ needs: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
982
+ environment: z.ZodOptional<z.ZodString>;
983
+ permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
984
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
985
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
986
+ concurrency: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
987
+ 'timeout-minutes': z.ZodOptional<z.ZodNumber>;
988
+ strategy: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
989
+ services: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
990
+ steps: z.ZodArray<z.ZodObject<{
991
+ name: z.ZodOptional<z.ZodString>;
992
+ id: z.ZodOptional<z.ZodString>;
993
+ if: z.ZodOptional<z.ZodString>;
994
+ uses: z.ZodOptional<z.ZodString>;
995
+ run: z.ZodOptional<z.ZodString>;
996
+ shell: z.ZodOptional<z.ZodString>;
997
+ 'working-directory': z.ZodOptional<z.ZodString>;
998
+ with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
999
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1000
+ }, z.core.$strip>>;
1001
+ }, z.core.$catchall<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
1002
+ [key: string]: string | number | boolean | any | any | null;
1003
+ } | null)[] | {
1004
+ [key: string]: string | number | boolean | any | any | null;
1005
+ } | null)[] | {
1006
+ [key: string]: string | number | boolean | any | any | null;
1007
+ } | null)[] | {
1008
+ [key: string]: string | number | boolean | any | any | null;
1009
+ } | null)[] | {
1010
+ [key: string]: string | number | boolean | any | any | null;
1011
+ } | null)[] | {
1012
+ [key: string]: string | number | boolean | any | any | null;
1013
+ } | null)[] | {
1014
+ [key: string]: string | number | boolean | any | any | null;
1015
+ } | null)[] | {
1016
+ [key: string]: string | number | boolean | any | any | null;
1017
+ } | null)[] | {
1018
+ [key: string]: string | number | boolean | any | any | null;
1019
+ } | null)[] | {
1020
+ [key: string]: string | number | boolean | any | any | null;
1021
+ } | null)[] | {
1022
+ [key: string]: string | number | boolean | any | any | null;
1023
+ } | null)[] | {
1024
+ [key: string]: string | number | boolean | any | any | null;
1025
+ } | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
1026
+ [key: string]: string | number | boolean | any | any | null;
1027
+ } | null)[] | {
1028
+ [key: string]: string | number | boolean | any | any | null;
1029
+ } | null)[] | {
1030
+ [key: string]: string | number | boolean | any | any | null;
1031
+ } | null)[] | {
1032
+ [key: string]: string | number | boolean | any | any | null;
1033
+ } | null)[] | {
1034
+ [key: string]: string | number | boolean | any | any | null;
1035
+ } | null)[] | {
1036
+ [key: string]: string | number | boolean | any | any | null;
1037
+ } | null)[] | {
1038
+ [key: string]: string | number | boolean | any | any | null;
1039
+ } | null)[] | {
1040
+ [key: string]: string | number | boolean | any | any | null;
1041
+ } | null)[] | {
1042
+ [key: string]: string | number | boolean | any | any | null;
1043
+ } | null)[] | {
1044
+ [key: string]: string | number | boolean | any | any | null;
1045
+ } | null)[] | {
1046
+ [key: string]: string | number | boolean | any | any | null;
1047
+ } | null)[] | {
1048
+ [key: string]: string | number | boolean | any | any | null;
1049
+ } | null, unknown>>>>>>;
408
1050
  tokens: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
409
1051
  filename: z.ZodOptional<z.ZodString>;
410
1052
  dir: z.ZodOptional<z.ZodString>;
411
1053
  }, z.core.$strip>]>>;
412
1054
  issues: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodObject<{
1055
+ filename: z.ZodOptional<z.ZodString>;
1056
+ dir: z.ZodOptional<z.ZodString>;
1057
+ enabled: z.ZodOptional<z.ZodBoolean>;
1058
+ provider: z.ZodLiteral<"github">;
1059
+ workflow: z.ZodType<GitHubWorkflow, unknown, z.core.$ZodTypeInternals<GitHubWorkflow, unknown>>;
1060
+ }, z.core.$strip>, z.ZodObject<{
1061
+ filename: z.ZodOptional<z.ZodString>;
1062
+ dir: z.ZodOptional<z.ZodString>;
1063
+ enabled: z.ZodOptional<z.ZodBoolean>;
1064
+ provider: z.ZodLiteral<"gitlab">;
1065
+ workflow: z.ZodType<GitLabCi, unknown, z.core.$ZodTypeInternals<GitLabCi, unknown>>;
1066
+ }, z.core.$strip>, z.ZodObject<{
1067
+ filename: z.ZodOptional<z.ZodString>;
1068
+ dir: z.ZodOptional<z.ZodString>;
1069
+ enabled: z.ZodOptional<z.ZodBoolean>;
1070
+ provider: z.ZodLiteral<"azure">;
1071
+ workflow: z.ZodType<AzurePipelines, unknown, z.core.$ZodTypeInternals<AzurePipelines, unknown>>;
1072
+ }, z.core.$strip>, z.ZodObject<{
1073
+ provider: z.ZodOptional<z.ZodLiteral<"github">>;
413
1074
  pushBranches: z.ZodOptional<z.ZodArray<z.ZodString>>;
414
1075
  pullRequestBranches: z.ZodOptional<z.ZodArray<z.ZodString>>;
415
- triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
416
- extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1076
+ triggers: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
1077
+ extra: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
417
1078
  steps: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
418
1079
  job: z.ZodOptional<z.ZodString>;
419
1080
  before: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -463,16 +1124,107 @@ export declare const workflowConfigSchema: z.ZodObject<{
463
1124
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
464
1125
  }, z.core.$strip>>>;
465
1126
  }, z.core.$strip>>]>>;
466
- jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1127
+ jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1128
+ name: z.ZodOptional<z.ZodString>;
1129
+ 'runs-on': z.ZodString;
1130
+ if: z.ZodOptional<z.ZodString>;
1131
+ needs: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1132
+ environment: z.ZodOptional<z.ZodString>;
1133
+ permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1134
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1135
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1136
+ concurrency: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
1137
+ 'timeout-minutes': z.ZodOptional<z.ZodNumber>;
1138
+ strategy: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
1139
+ services: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
1140
+ steps: z.ZodArray<z.ZodObject<{
1141
+ name: z.ZodOptional<z.ZodString>;
1142
+ id: z.ZodOptional<z.ZodString>;
1143
+ if: z.ZodOptional<z.ZodString>;
1144
+ uses: z.ZodOptional<z.ZodString>;
1145
+ run: z.ZodOptional<z.ZodString>;
1146
+ shell: z.ZodOptional<z.ZodString>;
1147
+ 'working-directory': z.ZodOptional<z.ZodString>;
1148
+ with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1149
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1150
+ }, z.core.$strip>>;
1151
+ }, z.core.$catchall<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
1152
+ [key: string]: string | number | boolean | any | any | null;
1153
+ } | null)[] | {
1154
+ [key: string]: string | number | boolean | any | any | null;
1155
+ } | null)[] | {
1156
+ [key: string]: string | number | boolean | any | any | null;
1157
+ } | null)[] | {
1158
+ [key: string]: string | number | boolean | any | any | null;
1159
+ } | null)[] | {
1160
+ [key: string]: string | number | boolean | any | any | null;
1161
+ } | null)[] | {
1162
+ [key: string]: string | number | boolean | any | any | null;
1163
+ } | null)[] | {
1164
+ [key: string]: string | number | boolean | any | any | null;
1165
+ } | null)[] | {
1166
+ [key: string]: string | number | boolean | any | any | null;
1167
+ } | null)[] | {
1168
+ [key: string]: string | number | boolean | any | any | null;
1169
+ } | null)[] | {
1170
+ [key: string]: string | number | boolean | any | any | null;
1171
+ } | null)[] | {
1172
+ [key: string]: string | number | boolean | any | any | null;
1173
+ } | null)[] | {
1174
+ [key: string]: string | number | boolean | any | any | null;
1175
+ } | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
1176
+ [key: string]: string | number | boolean | any | any | null;
1177
+ } | null)[] | {
1178
+ [key: string]: string | number | boolean | any | any | null;
1179
+ } | null)[] | {
1180
+ [key: string]: string | number | boolean | any | any | null;
1181
+ } | null)[] | {
1182
+ [key: string]: string | number | boolean | any | any | null;
1183
+ } | null)[] | {
1184
+ [key: string]: string | number | boolean | any | any | null;
1185
+ } | null)[] | {
1186
+ [key: string]: string | number | boolean | any | any | null;
1187
+ } | null)[] | {
1188
+ [key: string]: string | number | boolean | any | any | null;
1189
+ } | null)[] | {
1190
+ [key: string]: string | number | boolean | any | any | null;
1191
+ } | null)[] | {
1192
+ [key: string]: string | number | boolean | any | any | null;
1193
+ } | null)[] | {
1194
+ [key: string]: string | number | boolean | any | any | null;
1195
+ } | null)[] | {
1196
+ [key: string]: string | number | boolean | any | any | null;
1197
+ } | null)[] | {
1198
+ [key: string]: string | number | boolean | any | any | null;
1199
+ } | null, unknown>>>>>>;
467
1200
  tokens: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
468
1201
  filename: z.ZodOptional<z.ZodString>;
469
1202
  dir: z.ZodOptional<z.ZodString>;
470
1203
  }, z.core.$strip>]>>;
471
1204
  sync: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodObject<{
1205
+ filename: z.ZodOptional<z.ZodString>;
1206
+ dir: z.ZodOptional<z.ZodString>;
1207
+ enabled: z.ZodOptional<z.ZodBoolean>;
1208
+ provider: z.ZodLiteral<"github">;
1209
+ workflow: z.ZodType<GitHubWorkflow, unknown, z.core.$ZodTypeInternals<GitHubWorkflow, unknown>>;
1210
+ }, z.core.$strip>, z.ZodObject<{
1211
+ filename: z.ZodOptional<z.ZodString>;
1212
+ dir: z.ZodOptional<z.ZodString>;
1213
+ enabled: z.ZodOptional<z.ZodBoolean>;
1214
+ provider: z.ZodLiteral<"gitlab">;
1215
+ workflow: z.ZodType<GitLabCi, unknown, z.core.$ZodTypeInternals<GitLabCi, unknown>>;
1216
+ }, z.core.$strip>, z.ZodObject<{
1217
+ filename: z.ZodOptional<z.ZodString>;
1218
+ dir: z.ZodOptional<z.ZodString>;
1219
+ enabled: z.ZodOptional<z.ZodBoolean>;
1220
+ provider: z.ZodLiteral<"azure">;
1221
+ workflow: z.ZodType<AzurePipelines, unknown, z.core.$ZodTypeInternals<AzurePipelines, unknown>>;
1222
+ }, z.core.$strip>, z.ZodObject<{
1223
+ provider: z.ZodOptional<z.ZodLiteral<"github">>;
472
1224
  pushBranches: z.ZodOptional<z.ZodArray<z.ZodString>>;
473
1225
  pullRequestBranches: z.ZodOptional<z.ZodArray<z.ZodString>>;
474
- triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
475
- extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1226
+ triggers: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
1227
+ extra: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
476
1228
  steps: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
477
1229
  job: z.ZodOptional<z.ZodString>;
478
1230
  before: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -522,16 +1274,107 @@ export declare const workflowConfigSchema: z.ZodObject<{
522
1274
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
523
1275
  }, z.core.$strip>>>;
524
1276
  }, z.core.$strip>>]>>;
525
- jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1277
+ jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1278
+ name: z.ZodOptional<z.ZodString>;
1279
+ 'runs-on': z.ZodString;
1280
+ if: z.ZodOptional<z.ZodString>;
1281
+ needs: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1282
+ environment: z.ZodOptional<z.ZodString>;
1283
+ permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1284
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1285
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1286
+ concurrency: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
1287
+ 'timeout-minutes': z.ZodOptional<z.ZodNumber>;
1288
+ strategy: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
1289
+ services: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
1290
+ steps: z.ZodArray<z.ZodObject<{
1291
+ name: z.ZodOptional<z.ZodString>;
1292
+ id: z.ZodOptional<z.ZodString>;
1293
+ if: z.ZodOptional<z.ZodString>;
1294
+ uses: z.ZodOptional<z.ZodString>;
1295
+ run: z.ZodOptional<z.ZodString>;
1296
+ shell: z.ZodOptional<z.ZodString>;
1297
+ 'working-directory': z.ZodOptional<z.ZodString>;
1298
+ with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1299
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1300
+ }, z.core.$strip>>;
1301
+ }, z.core.$catchall<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
1302
+ [key: string]: string | number | boolean | any | any | null;
1303
+ } | null)[] | {
1304
+ [key: string]: string | number | boolean | any | any | null;
1305
+ } | null)[] | {
1306
+ [key: string]: string | number | boolean | any | any | null;
1307
+ } | null)[] | {
1308
+ [key: string]: string | number | boolean | any | any | null;
1309
+ } | null)[] | {
1310
+ [key: string]: string | number | boolean | any | any | null;
1311
+ } | null)[] | {
1312
+ [key: string]: string | number | boolean | any | any | null;
1313
+ } | null)[] | {
1314
+ [key: string]: string | number | boolean | any | any | null;
1315
+ } | null)[] | {
1316
+ [key: string]: string | number | boolean | any | any | null;
1317
+ } | null)[] | {
1318
+ [key: string]: string | number | boolean | any | any | null;
1319
+ } | null)[] | {
1320
+ [key: string]: string | number | boolean | any | any | null;
1321
+ } | null)[] | {
1322
+ [key: string]: string | number | boolean | any | any | null;
1323
+ } | null)[] | {
1324
+ [key: string]: string | number | boolean | any | any | null;
1325
+ } | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
1326
+ [key: string]: string | number | boolean | any | any | null;
1327
+ } | null)[] | {
1328
+ [key: string]: string | number | boolean | any | any | null;
1329
+ } | null)[] | {
1330
+ [key: string]: string | number | boolean | any | any | null;
1331
+ } | null)[] | {
1332
+ [key: string]: string | number | boolean | any | any | null;
1333
+ } | null)[] | {
1334
+ [key: string]: string | number | boolean | any | any | null;
1335
+ } | null)[] | {
1336
+ [key: string]: string | number | boolean | any | any | null;
1337
+ } | null)[] | {
1338
+ [key: string]: string | number | boolean | any | any | null;
1339
+ } | null)[] | {
1340
+ [key: string]: string | number | boolean | any | any | null;
1341
+ } | null)[] | {
1342
+ [key: string]: string | number | boolean | any | any | null;
1343
+ } | null)[] | {
1344
+ [key: string]: string | number | boolean | any | any | null;
1345
+ } | null)[] | {
1346
+ [key: string]: string | number | boolean | any | any | null;
1347
+ } | null)[] | {
1348
+ [key: string]: string | number | boolean | any | any | null;
1349
+ } | null, unknown>>>>>>;
526
1350
  tokens: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
527
1351
  filename: z.ZodOptional<z.ZodString>;
528
1352
  dir: z.ZodOptional<z.ZodString>;
529
1353
  }, z.core.$strip>]>>;
530
1354
  custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1355
+ filename: z.ZodOptional<z.ZodString>;
1356
+ dir: z.ZodOptional<z.ZodString>;
1357
+ enabled: z.ZodOptional<z.ZodBoolean>;
1358
+ provider: z.ZodLiteral<"github">;
1359
+ workflow: z.ZodType<GitHubWorkflow, unknown, z.core.$ZodTypeInternals<GitHubWorkflow, unknown>>;
1360
+ }, z.core.$strip>, z.ZodObject<{
1361
+ filename: z.ZodOptional<z.ZodString>;
1362
+ dir: z.ZodOptional<z.ZodString>;
1363
+ enabled: z.ZodOptional<z.ZodBoolean>;
1364
+ provider: z.ZodLiteral<"gitlab">;
1365
+ workflow: z.ZodType<GitLabCi, unknown, z.core.$ZodTypeInternals<GitLabCi, unknown>>;
1366
+ }, z.core.$strip>, z.ZodObject<{
1367
+ filename: z.ZodOptional<z.ZodString>;
1368
+ dir: z.ZodOptional<z.ZodString>;
1369
+ enabled: z.ZodOptional<z.ZodBoolean>;
1370
+ provider: z.ZodLiteral<"azure">;
1371
+ workflow: z.ZodType<AzurePipelines, unknown, z.core.$ZodTypeInternals<AzurePipelines, unknown>>;
1372
+ }, z.core.$strip>, z.ZodObject<{
1373
+ provider: z.ZodOptional<z.ZodLiteral<"github">>;
531
1374
  pushBranches: z.ZodOptional<z.ZodArray<z.ZodString>>;
532
1375
  pullRequestBranches: z.ZodOptional<z.ZodArray<z.ZodString>>;
533
- triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
534
- extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1376
+ triggers: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
1377
+ extra: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
535
1378
  steps: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
536
1379
  job: z.ZodOptional<z.ZodString>;
537
1380
  before: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -581,7 +1424,79 @@ export declare const workflowConfigSchema: z.ZodObject<{
581
1424
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
582
1425
  }, z.core.$strip>>>;
583
1426
  }, z.core.$strip>>]>>;
584
- jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1427
+ jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1428
+ name: z.ZodOptional<z.ZodString>;
1429
+ 'runs-on': z.ZodString;
1430
+ if: z.ZodOptional<z.ZodString>;
1431
+ needs: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1432
+ environment: z.ZodOptional<z.ZodString>;
1433
+ permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1434
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1435
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1436
+ concurrency: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
1437
+ 'timeout-minutes': z.ZodOptional<z.ZodNumber>;
1438
+ strategy: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
1439
+ services: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
1440
+ steps: z.ZodArray<z.ZodObject<{
1441
+ name: z.ZodOptional<z.ZodString>;
1442
+ id: z.ZodOptional<z.ZodString>;
1443
+ if: z.ZodOptional<z.ZodString>;
1444
+ uses: z.ZodOptional<z.ZodString>;
1445
+ run: z.ZodOptional<z.ZodString>;
1446
+ shell: z.ZodOptional<z.ZodString>;
1447
+ 'working-directory': z.ZodOptional<z.ZodString>;
1448
+ with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1449
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1450
+ }, z.core.$strip>>;
1451
+ }, z.core.$catchall<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
1452
+ [key: string]: string | number | boolean | any | any | null;
1453
+ } | null)[] | {
1454
+ [key: string]: string | number | boolean | any | any | null;
1455
+ } | null)[] | {
1456
+ [key: string]: string | number | boolean | any | any | null;
1457
+ } | null)[] | {
1458
+ [key: string]: string | number | boolean | any | any | null;
1459
+ } | null)[] | {
1460
+ [key: string]: string | number | boolean | any | any | null;
1461
+ } | null)[] | {
1462
+ [key: string]: string | number | boolean | any | any | null;
1463
+ } | null)[] | {
1464
+ [key: string]: string | number | boolean | any | any | null;
1465
+ } | null)[] | {
1466
+ [key: string]: string | number | boolean | any | any | null;
1467
+ } | null)[] | {
1468
+ [key: string]: string | number | boolean | any | any | null;
1469
+ } | null)[] | {
1470
+ [key: string]: string | number | boolean | any | any | null;
1471
+ } | null)[] | {
1472
+ [key: string]: string | number | boolean | any | any | null;
1473
+ } | null)[] | {
1474
+ [key: string]: string | number | boolean | any | any | null;
1475
+ } | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
1476
+ [key: string]: string | number | boolean | any | any | null;
1477
+ } | null)[] | {
1478
+ [key: string]: string | number | boolean | any | any | null;
1479
+ } | null)[] | {
1480
+ [key: string]: string | number | boolean | any | any | null;
1481
+ } | null)[] | {
1482
+ [key: string]: string | number | boolean | any | any | null;
1483
+ } | null)[] | {
1484
+ [key: string]: string | number | boolean | any | any | null;
1485
+ } | null)[] | {
1486
+ [key: string]: string | number | boolean | any | any | null;
1487
+ } | null)[] | {
1488
+ [key: string]: string | number | boolean | any | any | null;
1489
+ } | null)[] | {
1490
+ [key: string]: string | number | boolean | any | any | null;
1491
+ } | null)[] | {
1492
+ [key: string]: string | number | boolean | any | any | null;
1493
+ } | null)[] | {
1494
+ [key: string]: string | number | boolean | any | any | null;
1495
+ } | null)[] | {
1496
+ [key: string]: string | number | boolean | any | any | null;
1497
+ } | null)[] | {
1498
+ [key: string]: string | number | boolean | any | any | null;
1499
+ } | null, unknown>>>>>>;
585
1500
  tokens: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
586
1501
  filename: z.ZodOptional<z.ZodString>;
587
1502
  dir: z.ZodOptional<z.ZodString>;