ApiSchemasVariables
Variable: publication
const publication: object & Typed<{
description?: string;
icon?: {
hash: string;
key?: string;
mime: string;
name?: string;
salt?: string;
size: number;
};
title: string;
}>;Defined in: packages/core/src/schemas/library/publishing.ts:205
A blog, a newsletter: what articles are published in.
Type Declaration
description
readonly description: "A blog or newsletter that articles are published in." = 'A blog or newsletter that articles are published in.';name
readonly name: "std.publication" = 'std.publication';schema
readonly schema: object;schema.properties
readonly properties: object;schema.properties.description
readonly description: object;schema.properties.description.maxLength
maxLength: number = max;schema.properties.description.minLength?
minLength?: number = min;schema.properties.description.type
type: "string";schema.properties.icon
readonly icon: object & object;Type Declaration
properties
properties: object;properties.hash
hash: object;properties.hash.maxLength
maxLength: number = 64;properties.hash.minLength
minLength: number = 64;properties.hash.type
type: "string";properties.key
key: object;properties.key.maxLength
maxLength: number = 22;properties.key.minLength
minLength: number = 22;properties.key.type
type: "string";properties.mime
mime: object;properties.mime.maxLength
maxLength: number = max;properties.mime.minLength?
minLength?: number = min;properties.mime.type
type: "string";properties.name
name: object;properties.name.maxLength
maxLength: number = max;properties.name.minLength?
minLength?: number = min;properties.name.type
type: "string";properties.salt
salt: object;properties.salt.maxLength
maxLength: number = 22;properties.salt.minLength
minLength: number = 22;properties.salt.type
type: "string";properties.size
size: object;properties.size.minimum
minimum: number = 0;properties.size.type
type: "integer";required
required: readonly ["hash", "size", "mime"];type
type: "object";x-kind
readonly "x-kind": "file";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: "Publication" = 'Publication';