speedly 1.2.20 → 1.2.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/db/db.d.ts
CHANGED
|
@@ -117,7 +117,7 @@ declare const db: (collectionName: string, config?: ConfigsType) => {
|
|
|
117
117
|
limit(value: number): /*elided*/ any;
|
|
118
118
|
populate(value: string | object | (string | object)[]): /*elided*/ any;
|
|
119
119
|
};
|
|
120
|
-
aggregate: (pipeline?:
|
|
120
|
+
aggregate: (pipeline?: any[]) => {
|
|
121
121
|
(req: Request, res: Response, next: NextFunction): Promise<void>;
|
|
122
122
|
select(value: string | {
|
|
123
123
|
[key: string]: -1 | 1;
|
|
@@ -177,5 +177,5 @@ declare const db: (collectionName: string, config?: ConfigsType) => {
|
|
|
177
177
|
limit(value: number): /*elided*/ any;
|
|
178
178
|
populate(value: string | object | (string | object)[]): /*elided*/ any;
|
|
179
179
|
};
|
|
180
|
-
}
|
|
180
|
+
};
|
|
181
181
|
export default db;
|
|
@@ -19,5 +19,5 @@ declare const _default: (destination?: string | ((req: Request, file: Express.Mu
|
|
|
19
19
|
fields: (fields: multer.Field[]) => (req: Request, res: Response, next: NextFunction) => void;
|
|
20
20
|
any: () => (req: Request, res: Response, next: NextFunction) => void;
|
|
21
21
|
none: () => (req: Request, res: Response, next: NextFunction) => void;
|
|
22
|
-
}
|
|
22
|
+
};
|
|
23
23
|
export default _default;
|
package/dist/esm/db/db.d.ts
CHANGED
|
@@ -117,7 +117,7 @@ declare const db: (collectionName: string, config?: ConfigsType) => {
|
|
|
117
117
|
limit(value: number): /*elided*/ any;
|
|
118
118
|
populate(value: string | object | (string | object)[]): /*elided*/ any;
|
|
119
119
|
};
|
|
120
|
-
aggregate: (pipeline?:
|
|
120
|
+
aggregate: (pipeline?: any[]) => {
|
|
121
121
|
(req: Request, res: Response, next: NextFunction): Promise<void>;
|
|
122
122
|
select(value: string | {
|
|
123
123
|
[key: string]: -1 | 1;
|
|
@@ -177,5 +177,5 @@ declare const db: (collectionName: string, config?: ConfigsType) => {
|
|
|
177
177
|
limit(value: number): /*elided*/ any;
|
|
178
178
|
populate(value: string | object | (string | object)[]): /*elided*/ any;
|
|
179
179
|
};
|
|
180
|
-
}
|
|
180
|
+
};
|
|
181
181
|
export default db;
|
|
@@ -19,5 +19,5 @@ declare const _default: (destination?: string | ((req: Request, file: Express.Mu
|
|
|
19
19
|
fields: (fields: multer.Field[]) => (req: Request, res: Response, next: NextFunction) => void;
|
|
20
20
|
any: () => (req: Request, res: Response, next: NextFunction) => void;
|
|
21
21
|
none: () => (req: Request, res: Response, next: NextFunction) => void;
|
|
22
|
-
}
|
|
22
|
+
};
|
|
23
23
|
export default _default;
|