# Variable: knock

```ts
const knock: object & Typed<{
  invite: string;
  name: string;
  space: string;
  username?: string;
}>;
```

Defined in: [packages/core/src/schemas/contacts.ts:95](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/contacts.ts#L95)

A knock you left on someone's inbox, waiting for them to join the space for
two. You don't know who they are until they do; then it becomes a
`std.contact`, and this goes.

## Type Declaration

### description

```ts
readonly description: "A knock left on an inbox, waiting for them to join." = 'A knock left on an inbox, waiting for them to join.';
```

### name

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

### rules

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

#### rules.onePer

```ts
readonly onePer: readonly ["space"];
```

### schema

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

#### schema.properties

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

#### schema.properties.invite

```ts
readonly invite: object;
```

#### schema.properties.invite.description

```ts
readonly description: "The invite sent, to close once they join" = 'The invite sent, to close once they join';
```

#### schema.properties.invite.maxLength

```ts
readonly maxLength: 12000 = 12000;
```

#### schema.properties.invite.type

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

#### schema.properties.name

```ts
readonly name: object;
```

#### schema.properties.name.description

```ts
readonly description: "The name their inbox code gave" = 'The name their inbox code gave';
```

#### schema.properties.name.maxLength

```ts
readonly maxLength: 64 = 64;
```

#### schema.properties.name.type

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

#### schema.properties.space

```ts
readonly space: object;
```

#### schema.properties.space.description

```ts
readonly description: "The space for two it invites them to" = 'The space for two it invites them to';
```

#### schema.properties.space.maxLength

```ts
readonly maxLength: 256 = 256;
```

#### schema.properties.space.type

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

#### schema.properties.username

```ts
readonly username: object;
```

#### schema.properties.username.description

```ts
readonly description: "The username you knocked on, when it was one" = 'The username you knocked on, when it was one';
```

#### schema.properties.username.maxLength

```ts
readonly maxLength: 320 = 320;
```

#### schema.properties.username.type

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

#### schema.required

```ts
readonly required: readonly ["space", "name", "invite"];
```

#### schema.type

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

### title

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