ApiSchemasVariables
Variable: wikiPage
const wikiPage: object & Typed<{
content?: string;
slug: string;
title: string;
}>;Defined in: packages/core/src/schemas/library/publishing.ts:274
A wiki page: one per slug, anyone may change it, and every version is kept so its history can be read and restored.
Type Declaration
description
readonly description: "A page anyone can edit, one per name, keeping every version. For a note of one’s own, use std.note." = 'A page anyone can edit, one per name, keeping every version. For a note of one’s own, use std.note.';history
readonly history: "all" = 'all';name
readonly name: "std.wiki-page" = 'std.wiki-page';rules
readonly rules: object;rules.onePer
readonly onePer: readonly ["slug"];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.slug
readonly slug: object;schema.properties.slug.maxLength
maxLength: number = max;schema.properties.slug.minLength?
minLength?: number = min;schema.properties.slug.type
type: "string";schema.properties.title
readonly title: object;schema.properties.title.maxLength
maxLength: number = max;schema.properties.title.minLength?
minLength?: number = min;schema.properties.title.type
type: "string";schema.required
readonly required: readonly ["slug", "title"];schema.type
readonly type: "object" = 'object';title
readonly title: "Wiki page" = 'Wiki page';