---
meta:
 - name: keywords
   description: api typescript node.js documentation JsonEntityStoreOptions interface
---
# JsonEntityStoreOptions - @tsed/schema

## Usage

```typescript
import { JsonEntityStoreOptions } from "@tsed/schema";
```

> See [/packages/specs/schema/src/domain/JsonEntityStore.ts](https://github.com/tsedio/tsed/blob/v8.27.0/packages/specs/schema/src/domain/JsonEntityStore.ts#L0-L0).

## Overview

```ts
interface JsonEntityStoreOptions {
    decoratorType: DecoratorTypes;
    target: Type<any>;
    propertyKey?: string | symbol;
    index?: number;
    descriptor?: any;
    type?: Type<any>;
    collectionType?: Type<any>;
    beforeMiddlewares?: Function[];
    middlewares?: Function[];
    afterMiddlewares?: Function[];
    [key: string]: any;
}
```

<!-- Description -->

## Description

Configuration options for creating a JsonEntityStore.

<!-- Members -->

## decoratorType

```ts
decoratorType: DecoratorTypes;
```

## target

```ts
target: Type<any>;
```

## propertyKey

```ts
propertyKey?: string | symbol;
```

## index

```ts
index?: number;
```

## descriptor

```ts
descriptor?: any;
```

## type

```ts
type?: Type<any>;
```

## collectionType

```ts
collectionType?: Type<any>;
```

## beforeMiddlewares

```ts
beforeMiddlewares?: Function[];
```

## middlewares

```ts
middlewares?: Function[];
```

## afterMiddlewares

```ts
afterMiddlewares?: Function[];
```

## \[key: string]

```ts
[key: string]: any;
```
