1 | import { Type } from '@nestjs/common';
|
2 | import { Observable } from 'rxjs';
|
3 | import { Connection, ConnectionOptions } from 'typeorm';
|
4 | import { EntityClassOrSchema } from '../interfaces/entity-class-or-schema.type';
|
5 | export declare function getRepositoryToken(entity: EntityClassOrSchema, connection?: Connection | ConnectionOptions | string): string | Function;
|
6 | export declare function getCustomRepositoryToken(repository: Function): string;
|
7 | export declare function getConnectionToken(connection?: Connection | ConnectionOptions | string): string | Function | Type<Connection>;
|
8 | export declare function getConnectionPrefix(connection?: Connection | ConnectionOptions | string): string;
|
9 | export declare function getEntityManagerToken(connection?: Connection | ConnectionOptions | string): string | Function;
|
10 | export declare function handleRetry(retryAttempts?: number, retryDelay?: number, connectionName?: string, verboseRetryLog?: boolean, toRetry?: (err: any) => boolean): <T>(source: Observable<T>) => Observable<T>;
|
11 | export declare function getConnectionName(options: ConnectionOptions): string;
|
12 | export declare const generateString: () => string;
|