minca
ApiSchemasVariables

Variable: checkin

const checkin: object & Typed<{
  date: string;
  note?: string;
  value?: number;
}>;

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

Doing a habit on a day: one per person per habit per day.

Type Declaration

description

readonly description: "A habit done on a day: one per person per day." = 'A habit done on a day: one per person per day.';
readonly links: object;

links.about

readonly about: LinkDeclaration;

name

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

rules

readonly rules: object;

rules.onePer

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

schema

readonly schema: object;

schema.properties

readonly properties: object;

schema.properties.date

readonly date: object & object;
Type Declaration
maxLength
maxLength: number = 10;
minLength
minLength: number = 10;
type
type: "string";
x-kind
readonly "x-kind": "day";

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

readonly value: object;

schema.properties.value.type

readonly type: "number" = 'number';

schema.required

readonly required: readonly ["date"];

schema.type

readonly type: "object" = 'object';

title

readonly title: "Check-in" = 'Check-in';

On this page