# Variable: setting

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

Defined in: [packages/core/src/schemas/library/community.ts:303](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/library/community.ts#L303)

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

## Type Declaration

### description

```ts
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

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

### rules

```ts
readonly rules: object;
```

#### rules.onePer

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

### schema

```ts
readonly schema: object;
```

#### schema.properties

```ts
readonly properties: object;
```

#### schema.properties.app

```ts
readonly app: object;
```

#### schema.properties.app.maxLength

```ts
maxLength: number = max;
```

#### schema.properties.app.minLength?

```ts
minLength?: number = min;
```

#### schema.properties.app.type

```ts
type: "string";
```

#### schema.properties.key

```ts
readonly key: object;
```

#### schema.properties.key.maxLength

```ts
maxLength: number = max;
```

#### schema.properties.key.minLength?

```ts
minLength?: number = min;
```

#### schema.properties.key.type

```ts
type: "string";
```

#### schema.properties.value

```ts
readonly value: object;
```

#### schema.properties.value.description

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

#### schema.required

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

#### schema.type

```ts
readonly type: "object" = 'object';
```

### title

```ts
readonly title: "Setting" = 'Setting';
```
