Module
x/windmill/windmill-api/models/Script.ts
Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Extremely Popular
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161/** * Windmill server API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 1.28.1 * Contact: contact@windmill.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */
import { HttpFile } from '../http/http.ts';
export class Script { 'workspaceId'?: string; 'hash': string; 'path': string; /** * The first element is the direct parent of the script, the second is the parent of the first, etc */ 'parentHashes'?: Array<string>; 'summary': string; 'description'?: string; 'content': string; 'createdBy': string; 'createdAt': Date; 'archived': boolean; 'schema'?: any; 'deleted': boolean; 'isTemplate': boolean; 'extraPerms': { [key: string]: boolean; }; 'lock'?: string; 'lockErrorLogs'?: string; 'language': ScriptLanguageEnum; 'isTrigger': boolean;
static readonly discriminator: string | undefined = undefined;
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "workspaceId", "baseName": "workspace_id", "type": "string", "format": "" }, { "name": "hash", "baseName": "hash", "type": "string", "format": "" }, { "name": "path", "baseName": "path", "type": "string", "format": "" }, { "name": "parentHashes", "baseName": "parent_hashes", "type": "Array<string>", "format": "" }, { "name": "summary", "baseName": "summary", "type": "string", "format": "" }, { "name": "description", "baseName": "description", "type": "string", "format": "" }, { "name": "content", "baseName": "content", "type": "string", "format": "" }, { "name": "createdBy", "baseName": "created_by", "type": "string", "format": "" }, { "name": "createdAt", "baseName": "created_at", "type": "Date", "format": "date-time" }, { "name": "archived", "baseName": "archived", "type": "boolean", "format": "" }, { "name": "schema", "baseName": "schema", "type": "any", "format": "" }, { "name": "deleted", "baseName": "deleted", "type": "boolean", "format": "" }, { "name": "isTemplate", "baseName": "is_template", "type": "boolean", "format": "" }, { "name": "extraPerms", "baseName": "extra_perms", "type": "{ [key: string]: boolean; }", "format": "" }, { "name": "lock", "baseName": "lock", "type": "string", "format": "" }, { "name": "lockErrorLogs", "baseName": "lock_error_logs", "type": "string", "format": "" }, { "name": "language", "baseName": "language", "type": "ScriptLanguageEnum", "format": "" }, { "name": "isTrigger", "baseName": "is_trigger", "type": "boolean", "format": "" } ];
static getAttributeTypeMap() { return Script.attributeTypeMap; }
public constructor() { }}
export type ScriptLanguageEnum = "python3" | "deno" ;