minca
ApiSchemasVariables

Variable: reaction

const reaction: object & Typed<{
  emoji: string;
  respondingTo?: string;
}>;

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

An emoji reaction to any record. Link it: { rel: 'about', to: <key> }.

Type Declaration

description

readonly description: "An emoji reaction to any record." = 'An emoji reaction to any record.';
readonly links: object;

links.about

readonly about: LinkDeclaration;

name

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

rules

readonly rules: object;

rules.onePer

readonly onePer: readonly ["@author", "link:about", "emoji"];

schema

readonly schema: object;

schema.properties

readonly properties: object;

schema.properties.emoji

readonly emoji: object;

schema.properties.emoji.maxLength

readonly maxLength: 16 = 16;

schema.properties.emoji.minLength

readonly minLength: 1 = 1;

schema.properties.emoji.type

readonly type: "string" = 'string';

schema.properties.respondingTo

readonly respondingTo: object & object;
Type Declaration
maxLength
maxLength: number = max;
minLength?
minLength?: number = min;
type
type: "string";
x-kind
readonly "x-kind": "did";

schema.required

readonly required: readonly ["emoji"];

schema.type

readonly type: "object" = 'object';

title

readonly title: "Reaction" = 'Reaction';

topics

readonly topics: readonly ["respondingTo"];

On this page