minca
ApiSchemasVariables

Variable: setting

const setting: object & Typed<{
  app: string;
  key: string;
  value?: unknown;
}>;

Defined in: packages/core/src/schemas/library/community.ts:303

One of a person's settings for an app: one per person per app per key.

Type Declaration

description

readonly description: "A person’s setting for an app: one per app and key." = 'A person’s setting for an app: one per app and key.';

name

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

rules

readonly rules: object;

rules.onePer

readonly onePer: readonly ["@author", "app", "key"];

schema

readonly schema: object;

schema.properties

readonly properties: object;

schema.properties.app

readonly app: object;

schema.properties.app.maxLength

maxLength: number = max;

schema.properties.app.minLength?

minLength?: number = min;

schema.properties.app.type

type: "string";

schema.properties.key

readonly key: object;

schema.properties.key.maxLength

maxLength: number = max;

schema.properties.key.minLength?

minLength?: number = min;

schema.properties.key.type

type: "string";

schema.properties.value

readonly value: object;

schema.properties.value.description

readonly description: "Any JSON" = 'Any JSON';

schema.required

readonly required: readonly ["app", "key"];

schema.type

readonly type: "object" = 'object';

title

readonly title: "Setting" = 'Setting';

On this page