minca
ApiSchemasVariables

Variable: report

const report: object & Typed<{
  note?: string;
  reason: "spam" | "abuse" | "sexual" | "misleading" | "illegal" | "other";
}>;

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

A report that something breaks the space's norms, for its moderators to see.

Type Declaration

description

readonly description: "A report that a record breaks the rules, for moderators." = 'A report that a record breaks the rules, for moderators.';
readonly links: object;

links.about

readonly about: LinkDeclaration;

name

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

rules

readonly rules: object;

rules.onePer

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

schema

readonly schema: object;

schema.properties

readonly properties: object;

schema.properties.note

readonly note: object;

schema.properties.note.maxLength

maxLength: number = max;

schema.properties.note.minLength?

minLength?: number = min;

schema.properties.note.type

type: "string";

schema.properties.reason

readonly reason: object;

schema.properties.reason.enum

enum: ("spam" | "abuse" | "sexual" | "misleading" | "illegal" | "other")[];

schema.required

readonly required: readonly ["reason"];

schema.type

readonly type: "object" = 'object';

title

readonly title: "Report" = 'Report';

On this page