Skip to content

Commit 537138a

Browse files
maxholmanclaude
andcommitted
chore: add generated enum fixtures for docker and openai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9ba5bd8 commit 537138a

2 files changed

Lines changed: 98 additions & 0 deletions

File tree

__tests__/fixtures/docker/enums.ts

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/**
2+
* This file was auto generated by @block65/openapi-codegen
3+
*
4+
* WARN: Do not edit directly.
5+
*
6+
* Generated on 2026-05-02T05:45:49.139Z
7+
*
8+
*/
9+
/**
10+
* Kind of change
11+
*
12+
* Can be one of:
13+
*
14+
* - `0`: Modified ("C")
15+
* - `1`: Added ("A")
16+
* - `2`: Deleted ("D")
17+
*/
18+
export const changeType = [0, 1, 2] as const;
19+
/** NodeState represents the state of a node. */
20+
export const nodeState = ["unknown", "down", "ready", "disconnected"] as const;
21+
/** Reachability represents the reachability of a node. */
22+
export const reachability = ["unknown", "unreachable", "reachable"] as const;
23+
export const taskState = [
24+
"new",
25+
"allocated",
26+
"pending",
27+
"assigned",
28+
"accepted",
29+
"preparing",
30+
"ready",
31+
"starting",
32+
"running",
33+
"complete",
34+
"shutdown",
35+
"failed",
36+
"rejected",
37+
"remove",
38+
"orphaned",
39+
] as const;
40+
/** Current local status of this node. */
41+
export const localNodeState = [
42+
"",
43+
"inactive",
44+
"pending",
45+
"active",
46+
"error",
47+
"locked",
48+
] as const;

__tests__/fixtures/openai/enums.ts

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
/**
2+
* This file was auto generated by @block65/openapi-codegen
3+
*
4+
* WARN: Do not edit directly.
5+
*
6+
* Generated on 2026-05-02T05:45:12.436Z
7+
*
8+
*/
9+
/** The role of the author of a message */
10+
export const chatCompletionRole = [
11+
"system",
12+
"user",
13+
"assistant",
14+
"tool",
15+
"function",
16+
] as const;
17+
/** The event type. */
18+
export const auditLogEventType = [
19+
"api_key.created",
20+
"api_key.updated",
21+
"api_key.deleted",
22+
"invite.sent",
23+
"invite.accepted",
24+
"invite.deleted",
25+
"login.succeeded",
26+
"login.failed",
27+
"logout.succeeded",
28+
"logout.failed",
29+
"organization.updated",
30+
"project.created",
31+
"project.updated",
32+
"project.archived",
33+
"service_account.created",
34+
"service_account.updated",
35+
"service_account.deleted",
36+
"user.added",
37+
"user.updated",
38+
"user.deleted",
39+
] as const;
40+
/**
41+
* The format of the output, in one of these options: `json`, `text`, `srt`,
42+
* `verbose_json`, or `vtt`.
43+
*/
44+
export const audioResponseFormat = [
45+
"json",
46+
"text",
47+
"srt",
48+
"verbose_json",
49+
"vtt",
50+
] as const;

0 commit comments

Comments
 (0)