us.polhem.skywrite.defs
Details · defs
| Kind | defs |
|---|---|
| Authority | skywrite.polhem.us |
| Commit rev | 3n2s64dapv522 |
| Indexed |
Showing version bafyreiak2x4djawzuhsfipjhdfytbjm6m6i57ps54i5mlbitvfcqiwoqqu. Show the latest
#customColumn
objectA table column whose value is worked out for each record, like a preview field.
Properties
The column's heading, and its name in tableColumnFields. Must differ from the collection's own fields.
minLength: 1maxLength: 640maxGraphemes: 64
#fieldParts
objectA value computed by a chain of steps: each step receives the previous step's result, starting from the record.
Properties
#fieldPath
objectA value read from the input: a field path such as 'title' or 'subject.uri', or a lookup function: getRecord() (AT URI to record), describeRepo() (handle, DID, AT URI or record to its repo's DID and handle), getBskyProfile() (handle, DID, AT URI or record to that account's Bluesky profile record), getUri() (record to its AT URI) or getRkey() (record to its record key). A blob read from a record becomes its URL.
Properties
Field path or lookup function name.
#fieldTemplate
objectA value rendered from a Mustache template. The template can use the record's fields, plus any variables defined in vars.
Properties
Mustache template, such as '{{name}} ({{slug}})'.
vars
arrayExtra template variables, each computed from the record.
#previewFields
objectWhich parts of a record to show when previewing it in a list.
#quickCompose
objectWhat a Quick Compose box asks for when writing a new record in a collection. Taken whole: with these settings saved, nothing is guessed from the lexicon. Required properties the box can't fill in itself are always asked for.
Properties
body
stringOlder settings: where the text is written. Absent: chosen from 'fields'.
maxLength: 640
defaults
unknownValues the box starts with, by field name, for fields it asks for: any value the field can hold, such as a document's 'site' or a post's 'tags'.
fields
arrayThe fields the box asks for, taken from the collection's editor fields. They're shown in the order the editor has them. The text goes in the first rich text field (or text field such as 'text') among them, and a field such as 'title' is the title.
maxLength: 64
maxLength: 640
title
stringOlder settings: the text property typed on a line of its own above the text. Absent: chosen from 'fields'.
maxLength: 640
#richTextFacets
objectPlain text with facets, as in a Bluesky post: one property holds the text, another the app.bsky.richtext.facet annotations (mentions, links, hashtags) on it. Edited as one field, named by the text property.
#richTextMarkdown
objectMarkdown, as in a standard.site document: one property holds the Markdown, and another, optionally, a plain text copy of it. Edited as one field, named by the Markdown property.
Properties
The property that holds the Markdown, such as 'content'.
maxLength: 640
markdownType
stringHow Markdown is stored: as text, as an at.markpub.markdown object, or as the blocks of a Leaflet (pub.leaflet.content), pckt (blog.pckt.content) or Offprint (app.offprint.content) document, converted to and from Markdown. Text already stored becomes an object when it's next edited, if an object is called for; an object stays one, of the same kind. Absent: text if the lexicon makes the property a string, otherwise at.markpub.markdown.
knownValues: text | at.markpub.markdown | pub.leaflet.content | blog.pckt.content | app.offprint.content
plainText
stringThe property that gets a plain text copy of it, without formatting, such as 'textContent'.
maxLength: 640
#templateVar
objectA named template variable and how to compute its value.
Properties
Variable name used in the template.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
A table column whose value is worked out for each record, like a preview field.
-
A record containing user settings for how to manage a collection in Skywrite.
-
A record containing user settings for how to manage a collection in Skywrite.