minca
ApiSchemasVariables

Variable: task

const task: object & Typed<{
  assignees?: readonly string[];
  due?: string;
  notes?: string;
  position?: string;
  priority?: number;
  status?: "todo" | "cancelled" | "doing" | "done";
  title: string;
}>;

Defined in: packages/core/src/schemas/library/planning.ts:131

A task: in a column of a board, or in a project with no columns, and under a parent task. status is for lists without columns; a board's column says where the task is. assignees is its topic, so "assigned to me" can be asked of a keeper that can't read it.

Type Declaration

description

readonly description: "A thing to do: a to-do, an issue, a card on a board. `status` for plain lists; on a board it sits in a std.column. Something to be reminded of about an existing record is a std.reminder." = 'A thing to do: a to-do, an issue, a card on a board. `status` for plain lists; on a board it sits in a std.column. Something to be reminded of about an existing record is a std.reminder.';
readonly links: object;

links.in

readonly in: LinkDeclaration;

links.parent

readonly parent: LinkDeclaration;

name

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

schema

readonly schema: object;

schema.properties

readonly properties: object;

schema.properties.assignees

readonly assignees: object;

schema.properties.assignees.items

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

schema.properties.assignees.maxItems

maxItems: number = max;

schema.properties.assignees.type

type: "array";

schema.properties.due

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

schema.properties.notes

readonly notes: object;

schema.properties.notes.maxLength

readonly maxLength: 10000 = 10000;

schema.properties.notes.type

readonly type: "string" = 'string';

schema.properties.position

readonly position: object;

schema.properties.position.description

readonly description: "Sorts where the task goes in its column" = 'Sorts where the task goes in its column';

schema.properties.position.maxLength

readonly maxLength: 200 = 200;

schema.properties.position.minLength

readonly minLength: 1 = 1;

schema.properties.position.type

readonly type: "string" = 'string';

schema.properties.priority

readonly priority: object;

schema.properties.priority.maximum?

maximum?: number = max;

schema.properties.priority.minimum

minimum: number = min;

schema.properties.priority.type

type: "integer";

schema.properties.status

readonly status: object;

schema.properties.status.enum

enum: ("todo" | "cancelled" | "doing" | "done")[];

schema.properties.title

readonly title: object;

schema.properties.title.maxLength

readonly maxLength: 500 = 500;

schema.properties.title.minLength

readonly minLength: 1 = 1;

schema.properties.title.type

readonly type: "string" = 'string';

schema.required

readonly required: readonly ["title"];

schema.type

readonly type: "object" = 'object';

title

readonly title: "Task" = 'Task';

topics

readonly topics: readonly ["assignees"];

On this page