minca
ApiSchemasVariables

Variable: announcement

const announcement: object & Typed<{
  text?: string;
  title: string;
}>;

Defined in: packages/core/src/schemas/library/community.ts:261

News for everyone in the space, from whoever may announce.

Type Declaration

description

readonly description: "News for everyone in the space." = 'News for everyone in the space.';

name

readonly name: "std.announcement" = 'std.announcement';

schema

readonly schema: object;

schema.properties

readonly properties: object;

schema.properties.text

readonly text: object;

schema.properties.text.maxLength

maxLength: number = max;

schema.properties.text.minLength?

minLength?: number = min;

schema.properties.text.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 ["title"];

schema.type

readonly type: "object" = 'object';

title

readonly title: "Announcement" = 'Announcement';

On this page