@anyme/anymejs
Version:
19 lines (16 loc) • 823 B
TypeScript
export { IConfig, IRedis } from './types/interfaces.d.js';
import { Anyme } from './core/app.js';
import * as typeorm from 'typeorm';
import * as express from 'express';
export { defineConfig } from './utils/index.js';
declare const inject: {
<T extends typeorm.ObjectLiteral>(identifier: "Repository", options: {
entity: typeorm.EntityTarget<T>;
dataSource?: string;
}): PropertyDecorator;
(identifier: "SSE" | "Logger" | "Redis" | "Cache" | "DB" | "Config"): ParameterDecorator;
(identifier: ServiceIdentifier | LazyServiceIdentifier): MethodDecorator & ParameterDecorator & PropertyDecorator;
};
declare const register: (app: express.Application) => Promise<Anyme>;
declare const _default: (app: express.Application) => Promise<Anyme>;
export { _default as default, inject, register };