mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
chore(): set license date
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Nest @common
|
||||
* Copyright(c) 2017 - 2018 Kamil Mysliwiec
|
||||
* Copyright(c) 2017 - 2019 Kamil Mysliwiec
|
||||
* https://nestjs.com
|
||||
* MIT Licensed
|
||||
*/
|
||||
|
||||
@@ -18,5 +18,6 @@ export interface ModuleMetadata {
|
||||
| Provider
|
||||
| ForwardReference
|
||||
| Abstract<any>
|
||||
| Function
|
||||
>;
|
||||
}
|
||||
|
||||
@@ -9,18 +9,18 @@ export type Provider<T = any> =
|
||||
| FactoryProvider<T>;
|
||||
|
||||
export interface ClassProvider<T = any> {
|
||||
provide: string | symbol | Type<any> | Abstract<any>;
|
||||
provide: string | symbol | Type<any> | Abstract<any> | Function;
|
||||
useClass: Type<T>;
|
||||
scope?: Scope;
|
||||
}
|
||||
|
||||
export interface ValueProvider<T = any> {
|
||||
provide: string | symbol | Type<any> | Abstract<any>;
|
||||
provide: string | symbol | Type<any> | Abstract<any> | Function;
|
||||
useValue: T;
|
||||
}
|
||||
|
||||
export interface FactoryProvider<T = any> {
|
||||
provide: string | symbol | Type<any> | Abstract<any>;
|
||||
provide: string | symbol | Type<any> | Abstract<any> | Function;
|
||||
useFactory: (...args: any[]) => T;
|
||||
inject?: Array<Type<any> | string | any>;
|
||||
scope?: Scope;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Nest @core
|
||||
* Copyright(c) 2017 - 2018 Kamil Mysliwiec
|
||||
* Copyright(c) 2017 - 2019 Kamil Mysliwiec
|
||||
* https://nestjs.com
|
||||
* MIT Licensed
|
||||
*/
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import {
|
||||
Abstract,
|
||||
DynamicModule,
|
||||
ForwardReference,
|
||||
Provider,
|
||||
Abstract,
|
||||
} from '@nestjs/common';
|
||||
import {
|
||||
EXCEPTION_FILTERS_METADATA,
|
||||
@@ -36,7 +36,7 @@ import { MetadataScanner } from './metadata-scanner';
|
||||
interface ApplicationProviderWrapper {
|
||||
moduleKey: string;
|
||||
providerKey: string;
|
||||
type: string | symbol | Type<any> | Abstract<any>;
|
||||
type: string | symbol | Type<any> | Abstract<any> | Function;
|
||||
}
|
||||
|
||||
export class DependenciesScanner {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Nest
|
||||
* Copyright(c) 2017 - 2018 Kamil Mysliwiec
|
||||
* Copyright(c) 2017 - 2019 Kamil Mysliwiec
|
||||
* https://nestjs.com
|
||||
* MIT Licensed
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Nest @microservices
|
||||
* Copyright(c) 2017 - 2018 Kamil Mysliwiec
|
||||
* Copyright(c) 2017 - 2019 Kamil Mysliwiec
|
||||
* https://nestjs.com
|
||||
* MIT Licensed
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Nest @platform-express
|
||||
* Copyright(c) 2017 - 2018 Kamil Mysliwiec
|
||||
* Copyright(c) 2017 - 2019 Kamil Mysliwiec
|
||||
* https://nestjs.com
|
||||
* MIT Licensed
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Nest @platform-express
|
||||
* Copyright(c) 2017 - 2018 Kamil Mysliwiec
|
||||
* Copyright(c) 2017 - 2019 Kamil Mysliwiec
|
||||
* https://nestjs.com
|
||||
* MIT Licensed
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Nest @platform-socket.io
|
||||
* Copyright(c) 2017 - 2018 Kamil Mysliwiec
|
||||
* Copyright(c) 2017 - 2019 Kamil Mysliwiec
|
||||
* https://nestjs.com
|
||||
* MIT Licensed
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Nest @platform-ws
|
||||
* Copyright(c) 2017 - 2018 Kamil Mysliwiec
|
||||
* Copyright(c) 2017 - 2019 Kamil Mysliwiec
|
||||
* https://nestjs.com
|
||||
* MIT Licensed
|
||||
*/
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Nest @testing
|
||||
* Copyright(c) 2017 - 2018 Kamil Mysliwiec
|
||||
* Copyright(c) 2017 - 2019 Kamil Mysliwiec
|
||||
* https://nestjs.com
|
||||
* MIT Licensed
|
||||
*/
|
||||
|
||||
export * from './interfaces';
|
||||
export * from './test';
|
||||
export * from './testing-module.builder';
|
||||
export * from './testing-module';
|
||||
export * from './testing-module.builder';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Nest @websockets
|
||||
* Copyright(c) 2017 - 2018 Kamil Mysliwiec
|
||||
* Copyright(c) 2017 - 2019 Kamil Mysliwiec
|
||||
* https://nestjs.com
|
||||
* MIT Licensed
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user