|
1 | | -// Source hash: 3fa8c769a35e21a765e39db4e96bee092d15fe588d02aee47881b8f88188b978 |
| 1 | +// Source hash: 19ceaee5753b47a4b702e1a86f0e92985f96bae6d23e4424bfaad638a7502b1b |
2 | 2 | import { createRequire } from "node:module"; |
3 | 3 | var __create = Object.create; |
4 | 4 | var __getProtoOf = Object.getPrototypeOf; |
@@ -30464,18 +30464,18 @@ Failed to list users by GitHub ID, status code: ${response.status}, body: ${erro |
30464 | 30464 | class UserFacingError extends Error { |
30465 | 30465 | } |
30466 | 30466 | var ActionInputSchema = z.object({ |
30467 | | - githubUsername: z.string().optional(), |
30468 | | - coderUsername: z.string().optional(), |
30469 | | - coderUrl: z.string(), |
30470 | | - coderToken: z.string(), |
30471 | | - workspaceName: z.string(), |
30472 | | - githubStatusCommentId: z.string().transform((val) => parseInt(val)), |
30473 | | - githubRepoOwner: z.string(), |
30474 | | - githubRepoName: z.string(), |
30475 | | - githubToken: z.string(), |
30476 | | - githubWorkflowRunUrl: z.string(), |
30477 | | - templateName: z.string(), |
30478 | | - workspaceParameters: z.string() |
| 30467 | + githubUsername: z.string().min(1).optional(), |
| 30468 | + coderUsername: z.string().min(1).optional(), |
| 30469 | + coderUrl: z.string().min(1), |
| 30470 | + coderToken: z.string().min(1), |
| 30471 | + workspaceName: z.string().min(1), |
| 30472 | + githubStatusCommentId: z.string().min(1).transform((val) => parseInt(val)), |
| 30473 | + githubRepoOwner: z.string().min(1), |
| 30474 | + githubRepoName: z.string().min(1), |
| 30475 | + githubToken: z.string().min(1), |
| 30476 | + githubWorkflowRunUrl: z.string().min(1), |
| 30477 | + templateName: z.string().min(1), |
| 30478 | + workspaceParameters: z.string().min(1) |
30479 | 30479 | }); |
30480 | 30480 | var WorkspaceParametersSchema = z.record(z.string(), z.string()); |
30481 | 30481 |
|
|
0 commit comments