minca
ApiSchemasVariables

Variable: listItem

const listItem: object & Typed<{
  checked?: boolean;
  did?: string;
  position?: string;
  quantity?: number;
  text?: string;
  url?: string;
}>;

Defined in: packages/core/src/schemas/library/media.ts:44

One thing on a list: some text, a web page, a person, or a record it is about.

Type Declaration

description

readonly description: "One thing on a list: text, a link, a person or a record." = 'One thing on a list: text, a link, a person or a record.';
readonly links: object;

links.about

readonly about: LinkDeclaration;

links.in

readonly in: LinkDeclaration;

name

readonly name: "std.list-item" = 'std.list-item';

schema

readonly schema: object;

schema.properties

readonly properties: object;

schema.properties.checked

readonly checked: object;

schema.properties.checked.type

readonly type: "boolean" = 'boolean';

schema.properties.did

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

schema.properties.position

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

schema.properties.quantity

readonly quantity: object;

schema.properties.quantity.minimum

readonly minimum: 0 = 0;

schema.properties.quantity.type

readonly type: "number" = 'number';

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.url

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

schema.type

readonly type: "object" = 'object';

title

readonly title: "List item" = 'List item';

topics

readonly topics: readonly ["did"];

On this page