# Type Alias NewScript

NewScript: {
cache_ttl?: number;
codebase?: string;
concurrency_key?: string;
concurrency_time_window_s?: number;
concurrent_limit?: number;
content: string;
dedicated_worker?: boolean;
delete_after_use?: boolean;
deployment_message?: string;
description: string;
draft_only?: boolean;
envs?: string[];
is_template?: boolean;
kind?:
| "script"
| "failure"
| "trigger"
| "command"
| "approval";
language:
| "python3"
| "deno"
| "go"
| "bash"
| "powershell"
| "postgresql"
| "mysql"
| "bigquery"
| "snowflake"
| "mssql"
| "graphql"
| "nativets"
| "bun"
| "php";
lock?: string;
no_main_func?: boolean;
parent_hash?: string;
path: string;
priority?: number;
restart_unless_cancelled?: boolean;
schema?: {
[key: string]: unknown;
};
summary: string;
tag?: string;
timeout?: number;
visible_to_runner_only?: boolean;
ws_error_handler_muted?: boolean;
}

- Defined in src/types.gen.ts:50