Skip to content

JsonEntityStoreOptions

@tsed/schema

Usage

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

See /packages/specs/schema/src/types/domain/JsonEntityStore.ts.

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;
}

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;

Released under the MIT License.