# Variable: reaction

```ts
const reaction: object & Typed<{
  emoji: string;
  respondingTo?: string;
}>;
```

Defined in: [packages/core/src/schemas/library/annotations.ts:6](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/library/annotations.ts#L6)

An emoji reaction to any record. Link it: `{ rel: 'about', to: <key> }`.

## Type Declaration

### description

```ts
readonly description: "An emoji reaction to any record." = 'An emoji reaction to any record.';
```

### links

```ts
readonly links: object;
```

#### links.about

```ts
readonly about: LinkDeclaration;
```

### name

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

### rules

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

#### rules.onePer

```ts
readonly onePer: readonly ["@author", "link:about", "emoji"];
```

### schema

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

#### schema.properties

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

#### schema.properties.emoji

```ts
readonly emoji: object;
```

#### schema.properties.emoji.maxLength

```ts
readonly maxLength: 16 = 16;
```

#### schema.properties.emoji.minLength

```ts
readonly minLength: 1 = 1;
```

#### schema.properties.emoji.type

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

#### schema.properties.respondingTo

```ts
readonly respondingTo: object & object;
```

##### Type Declaration

###### maxLength

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

###### minLength?

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

###### type

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

###### x-kind

```ts
readonly "x-kind": "did";
```

#### schema.required

```ts
readonly required: readonly ["emoji"];
```

#### schema.type

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

### title

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

### topics

```ts
readonly topics: readonly ["respondingTo"];
```
