An immutable snapshot of a kast's source code. Each write creates a new version; the pointer record controls which version is active.
Record Key
tid
Timestamp-based ID
Properties
createdAt
string
datetime
Required
An RFC 3339 formatted timestamp.
maxLength: 64 bytesentrypoint
string
Required
Path of the entry file within the files array (e.g. 'main.ts').
maxLength: 512 bytesfiles
array
of
ref
#file
Required
Source files that make up this kast. For single-file kasts this array has one element.
minLength: 1 itemslang
string
Required
Programming language of the kast.
maxLength: 64 bytesKnown values:
typescriptname
string
Required
The kast name. Must match the rkey of the corresponding me.wilb.pointer record.
maxLength: 128 bytesView raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"name",
"files",
"entrypoint",
"lang",
"createdAt"
],
"properties": {
"lang": {
"type": "string",
"maxLength": 64,
"description": "Programming language of the kast.",
"knownValues": [
"typescript"
]
},
"name": {
"type": "string",
"maxLength": 128,
"description": "The kast name. Must match the rkey of the corresponding me.wilb.pointer record."
},
"files": {
"type": "array",
"items": {
"ref": "#file",
"type": "ref"
},
"minLength": 1,
"description": "Source files that make up this kast. For single-file kasts this array has one element."
},
"createdAt": {
"type": "string",
"format": "datetime",
"maxLength": 64
},
"entrypoint": {
"type": "string",
"maxLength": 512,
"description": "Path of the entry file within the files array (e.g. 'main.ts')."
}
}
},
"description": "An immutable snapshot of a kast's source code. Each write creates a new version; the pointer record controls which version is active."
}