1 | import { IndexOptions, IndexFieldOptions } from './index-service';
|
2 | declare type IndexDecoratorOptions = IndexOptions & Pick<IndexFieldOptions, Exclude<keyof IndexFieldOptions, 'name'>>;
|
3 | export declare function Index(name: string): Function;
|
4 | export declare function Index(options: IndexDecoratorOptions): Function;
|
5 | export declare function Index(target: any, propertyName: string, propertyDescriptor?: PropertyDescriptor): void;
|
6 | export declare function annotateModelWithIndex(target: any, propertyName: string, optionsOrName?: IndexDecoratorOptions | string, indexId?: string | number): string | number;
|
7 | export {};
|