minca
ApiSchemasVariables

Variable: label

const label: object & Typed<{
  value: string;
}>;

Defined in: packages/core/src/schemas/library/annotations.ts:142

A moderator's label on a record, which apps act on: nsfw blurs, spoiler hides until asked. Unlike a tag, only moderators add one.

Type Declaration

description

readonly description: "A moderator’s label that apps act on, like nsfw (blurred) or spoiler (hidden). Members label things with std.tag." = 'A moderator’s label that apps act on, like nsfw (blurred) or spoiler (hidden). Members label things with std.tag.';
readonly links: object;

links.about

readonly about: LinkDeclaration;

name

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

rules

readonly rules: object;

rules.onePer

readonly onePer: readonly ["link:about", "value"];

schema

readonly schema: object;

schema.properties

readonly properties: object;

schema.properties.value

readonly value: object;

schema.properties.value.maxLength

maxLength: number = max;

schema.properties.value.minLength?

minLength?: number = min;

schema.properties.value.type

type: "string";

schema.required

readonly required: readonly ["value"];

schema.type

readonly type: "object" = 'object';

title

readonly title: "Label" = 'Label';

On this page