ApiSchemasVariables
Variable: journalEntry
const journalEntry: object & Typed<{
content?: string;
date: string;
mood?: string;
}>;Defined in: packages/core/src/schemas/library/life.ts:137
A day's journal entry: one per person per day.
Type Declaration
description
readonly description: "What someone wrote about a day: one entry per day." = 'What someone wrote about a day: one entry per day.';name
readonly name: "std.journal-entry" = 'std.journal-entry';rules
readonly rules: object;rules.onePer
readonly onePer: readonly ["@author", "date"];schema
readonly schema: object;schema.properties
readonly properties: object;schema.properties.content
readonly content: object;schema.properties.content.maxLength
maxLength: number = max;schema.properties.content.minLength?
minLength?: number = min;schema.properties.content.type
type: "string";schema.properties.date
readonly date: object & object;Type Declaration
maxLength
maxLength: number = 10;minLength
minLength: number = 10;type
type: "string";x-kind
readonly "x-kind": "day";schema.properties.mood
readonly mood: object;schema.properties.mood.maxLength
maxLength: number = max;schema.properties.mood.minLength?
minLength?: number = min;schema.properties.mood.type
type: "string";schema.required
readonly required: readonly ["date"];schema.type
readonly type: "object" = 'object';title
readonly title: "Journal entry" = 'Journal entry';