The File object
A File is one source file of a script. You send files to Validate a script, Create a script, Save a script version and as inline source on Create a run, and Get a script returns them with include=source.
Fields
Field | Type | Description |
|---|---|---|
| string | 1 to 200 characters ending in |
| string | The file's source, at most 512 KB |
| boolean |
|
When you send files, at most one can have entry: true. With none flagged, the entry is main.ts, or else the first file. An indicator is always one file; Chartnaut returns it as main.ts. A set of files is at most 50 files and 2 MB in all.
