@dnax/core 0.69.0 → 0.69.1
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/app/index.ts +2 -3
- package/package.json +1 -1
- package/types/index.ts +10 -10
package/app/index.ts
CHANGED
|
@@ -104,9 +104,8 @@ async function runApp(config?: configRunApp, clb?: Function): Promise<Server> {
|
|
|
104
104
|
Cfg.tenants?.map((t: any) => {
|
|
105
105
|
return `\n${t?.name?.blue || "_"} : ${t?.id?.green}`.bold;
|
|
106
106
|
}) +
|
|
107
|
-
`\n` +
|
|
108
|
-
`---------------------------------------\n`.gray
|
|
109
|
-
`---------------------------------------`
|
|
107
|
+
`\n\n` +
|
|
108
|
+
`---------------------------------------\n`.gray
|
|
110
109
|
);
|
|
111
110
|
|
|
112
111
|
if (clb) clb();
|
package/package.json
CHANGED
package/types/index.ts
CHANGED
|
@@ -309,16 +309,16 @@ export type Collection = {
|
|
|
309
309
|
filesystemAdapter?: any;
|
|
310
310
|
};
|
|
311
311
|
customApi?: {
|
|
312
|
-
aggregate?: (ctx: ctxApi) => Array<object> | null | undefined;
|
|
313
|
-
insertOne?: (ctx: ctxApi) => object | null | undefined;
|
|
314
|
-
insertMany?: (ctx: ctxApi) => Array<object> | null | undefined;
|
|
315
|
-
updateOne?: (ctx: ctxApi) => object | null | undefined;
|
|
316
|
-
updateMany?: (ctx: ctxApi) => object | null | undefined;
|
|
317
|
-
deleteOne?: (ctx: ctxApi) => object | null | undefined;
|
|
318
|
-
deleteMany?: (ctx: ctxApi) => object | null | undefined;
|
|
319
|
-
find?: (ctx: ctxApi) => Array<object> | null | undefined;
|
|
320
|
-
findOne?: (ctx: ctxApi) => object;
|
|
321
|
-
count?: (ctx: ctxApi) => number;
|
|
312
|
+
aggregate?: (ctx: ctxApi) => Array<object> | null | undefined | typeof fn.error;
|
|
313
|
+
insertOne?: (ctx: ctxApi) => object | null | undefined | typeof fn.error;
|
|
314
|
+
insertMany?: (ctx: ctxApi) => Array<object> | null | undefined | typeof fn.error;
|
|
315
|
+
updateOne?: (ctx: ctxApi) => object | null | undefined | typeof fn.error;
|
|
316
|
+
updateMany?: (ctx: ctxApi) => object | null | undefined | typeof fn.error;
|
|
317
|
+
deleteOne?: (ctx: ctxApi) => object | null | undefined | typeof fn.error;
|
|
318
|
+
deleteMany?: (ctx: ctxApi) => object | null | undefined | typeof fn.error;
|
|
319
|
+
find?: (ctx: ctxApi) => Array<object> | null | undefined | typeof fn.error;
|
|
320
|
+
findOne?: (ctx: ctxApi) => object | null | undefined | typeof fn.error;
|
|
321
|
+
count?: (ctx: ctxApi) => number | null | undefined | typeof fn.error;
|
|
322
322
|
};
|
|
323
323
|
|
|
324
324
|
schema?: object;
|