Skip to content

Commit 67585a0

Browse files
committed
change non-interactive to non_interactive to match with api
1 parent 6d274ed commit 67585a0

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

client/src/features/sessionsV2/api/sessionLaunchersV2.generated-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ export type EnvVar = {
350350
value?: string;
351351
};
352352
export type EnvVariables = EnvVar[];
353-
export type LauncherType = "interactive" | "non-interactive";
353+
export type LauncherType = "interactive" | "non_interactive";
354354
export type SessionLauncher = {
355355
id: Ulid;
356356
project_id: Ulid;

client/src/features/sessionsV2/api/sessionsV2.openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@
320320
},
321321
"SessionType": {
322322
"type": "string",
323-
"enum": ["interactive", "non-interactive"]
323+
"enum": ["interactive", "non_interactive"]
324324
},
325325
"SessionPostRequest": {
326326
"properties": {

client/src/features/sessionsV2/session.constants.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ export const LAUNCHER_CATEGORY_BY_CATEGORY: Record<
222222
allowedEnvironmentSelects: ["global", "custom + build", "custom + image"],
223223
},
224224
job: {
225-
apiType: "non-interactive",
225+
apiType: "non_interactive",
226226
title: "Job",
227227
icon: Gear,
228228
chooserDescription:

client/src/features/sessionsV2/session.utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export function getLauncherApiType(category: LauncherCategory): LauncherType {
5353
}
5454

5555
export function isJobLauncher(launcher: SessionLauncher): boolean {
56-
return launcher.launcher_type === "non-interactive";
56+
return launcher.launcher_type === "non_interactive";
5757
}
5858

5959
export function isInteractiveLauncher(launcher: SessionLauncher): boolean {

0 commit comments

Comments
 (0)