Appearance
ScriptVersionState
Type: Object
One saved state of a script. Immutable once written.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| content | String! | The saved Lua source | ||
| createdAt | ISO8601! | When it was saved (ISO8601) | ||
| createdByUserId | UserID | Who saved it, when known | ||
| description | String | Why this version exists, e.g. "Restored version 3" | ||
| id | ScriptVersionID! | Unique identifier | ||
| name | String! | The script's name at the time of the save | ||
| role | ScriptRole! | The script's role at the time of the save | ||
| scriptId | ScriptID! | The script this version belongs to | ||
| version | Int! | Sequential version number within the script |