ApiSchemasVariables
Variable: doc
const doc: object & Typed<{
title: string;
}>;Defined in: packages/core/src/schemas/library/publishing.ts:218
A document: its title here, its content in std.doc-blocks linked in it.
Type Declaration
description
readonly description: "A document people write together, as std.doc-blocks in it. An uploaded file, like a PDF or .docx, is a std.file." = 'A document people write together, as std.doc-blocks in it. An uploaded file, like a PDF or .docx, is a std.file.';name
readonly name: "std.doc" = 'std.doc';schema
readonly schema: object;schema.properties
readonly properties: object;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 ["title"];schema.type
readonly type: "object" = 'object';title
readonly title: "Document" = 'Document';