- post<S, T>(method, fn, options): ClassDecorator
Type Parameters
- S extends object | Query<any, any, {}, any, "find">
- T = S extends Query<any, any, {}, any, "find">
? S<S>
: Query<DocumentType<S, BeAnObject>, DocumentType<S, BeAnObject>, {}, DocumentType<S, BeAnObject>, "find">
Returns ClassDecorator
- post<S_1, T_1>(method, fn, options): ClassDecorator
Returns ClassDecorator
- post<T_2>(method, fn, options): ClassDecorator
Returns ClassDecorator
- post<S_2, T_3>(method, fn, options): ClassDecorator
Type Parameters
- S_2 extends AnyParamConstructor<any> | mongoose.Model<any, {}, {}, {}, any, any>
- T_3 = S_2 extends mongoose.Model<any, {}, {}, {}, any, any>
? S_2<S_2>
: ReturnModelType<S_2, BeAnObject>
Returns ClassDecorator
- post<S_3, T_4>(method, fn, options?): ClassDecorator
Type Parameters
- S_3 extends never
- T_4 = S_3
Returns ClassDecorator
- post<S_4, T_5>(method, fn, options?): ClassDecorator
Type Parameters
- S_4 extends never
- T_5 = S_4
Returns ClassDecorator
- post<S_5, T_6>(method, fn, options?): ClassDecorator
Type Parameters
- S_5 extends never
- T_6 = S_5
Returns ClassDecorator
- post<S_6, T_7>(method, fn, options?): ClassDecorator
Returns ClassDecorator
- post<S_7, T_8>(method, fn, options?): ClassDecorator
Returns ClassDecorator
- post<S_8, T_9>(method, fn): ClassDecorator
Type Parameters
- S_8 extends object | Query<any, any, {}, any, "find">
- T_9 = S_8 extends Query<any, any, {}, any, "find">
? S_8<S_8>
: Query<DocumentType<S_8, BeAnObject>, DocumentType<S_8, BeAnObject>, {}, DocumentType<S_8, BeAnObject>, "find">
Returns ClassDecorator
- post<S_9, T_10>(method, fn, options?): ClassDecorator
Type Parameters
- S_9 extends object | Query<any, any, {}, any, "find">
- T_10 = S_9 extends Query<any, any, {}, any, "find">
? S_9<S_9>
: Query<DocumentType<S_9, BeAnObject>, DocumentType<S_9, BeAnObject>, {}, DocumentType<S_9, BeAnObject>, "find">
Returns ClassDecorator
- post<S_10, T_11>(method, fn, options?): ClassDecorator
Type Parameters
- S_10 extends object | Query<any, any, {}, any, "find">
- T_11 = S_10 extends Query<any, any, {}, any, "find">
? S_10<S_10>
: Query<DocumentType<S_10, BeAnObject>, DocumentType<S_10, BeAnObject>, {}, DocumentType<S_10, BeAnObject>, "find">
Returns ClassDecorator
- post<S_11, T_12>(method, fn, options?): ClassDecorator
Type Parameters
- S_11 extends unknown
- T_12 = S_11 extends Query<any, any, {}, any, "find">
? S_11<S_11>
: S_11 extends mongoose.Document<any, any, any>
? S_11<S_11>
: IfAny<DocumentType<S_11, BeAnObject>, any, mongoose.Document<unknown, {}, DocumentType<S_11, BeAnObject>> & Require_id<DocumentType<S_11, BeAnObject>>>
Returns ClassDecorator
- post<T_13>(method, fn, options?): ClassDecorator
Returns ClassDecorator
- post<S_12, T_14>(method, fn, options?): ClassDecorator
Type Parameters
- S_12 extends AnyParamConstructor<any> | mongoose.Model<any, {}, {}, {}, any, any>
- T_14 = S_12 extends mongoose.Model<any, {}, {}, {}, any, any>
? S_12<S_12>
: ReturnModelType<S_12, BeAnObject>
Returns ClassDecorator