@cyberskill/shared 1.112.0 → 1.113.0
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/_tsup-dts-rollup.d.cts +13 -1
- package/dist/_tsup-dts-rollup.d.ts +13 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/nodejs/cli/cli.util.cjs +1 -1
- package/dist/nodejs/cli/cli.util.js +1 -1
- package/dist/nodejs/cli/index.cjs +1 -1
- package/dist/nodejs/cli/index.js +1 -1
- package/dist/nodejs/express/express.util.cjs +1 -1
- package/dist/nodejs/express/express.util.d.cts +1 -0
- package/dist/nodejs/express/express.util.d.ts +1 -0
- package/dist/nodejs/express/express.util.js +1 -1
- package/dist/nodejs/express/index.cjs +1 -1
- package/dist/nodejs/express/index.d.cts +1 -0
- package/dist/nodejs/express/index.d.ts +1 -0
- package/dist/nodejs/express/index.js +1 -1
- package/dist/nodejs/index.cjs +1 -1
- package/dist/nodejs/index.d.cts +1 -0
- package/dist/nodejs/index.d.ts +1 -0
- package/dist/nodejs/index.js +1 -1
- package/package.json +2 -1
|
@@ -19,6 +19,7 @@ import { Context } from 'react';
|
|
|
19
19
|
import type { CopySyncOptions } from 'node:fs';
|
|
20
20
|
import cors from 'cors';
|
|
21
21
|
import type { CorsOptions } from 'cors';
|
|
22
|
+
import type { CorsOptions as CorsOptions_2 } from '@nestjs/common/interfaces/external/cors-options.interface.js';
|
|
22
23
|
import type { CorsOptionsDelegate } from 'cors';
|
|
23
24
|
import type { CorsRequest } from 'cors';
|
|
24
25
|
import { Db } from 'mongodb';
|
|
@@ -68,6 +69,7 @@ import { default as React_2 } from 'react';
|
|
|
68
69
|
import type { ReactElement } from 'react';
|
|
69
70
|
import type { ReactNode } from 'react';
|
|
70
71
|
import { Request as Request_2 } from 'express';
|
|
72
|
+
import type { RequestHandler } from 'express';
|
|
71
73
|
import { Response as Response_2 } from 'express';
|
|
72
74
|
import { Router } from 'express';
|
|
73
75
|
import type { Schema } from 'mongoose';
|
|
@@ -279,6 +281,12 @@ export { createGraphqlCodegenConfig as createGraphqlCodegenConfig_alias_1 }
|
|
|
279
281
|
export { createGraphqlCodegenConfig as createGraphqlCodegenConfig_alias_2 }
|
|
280
282
|
export { createGraphqlCodegenConfig as createGraphqlCodegenConfig_alias_3 }
|
|
281
283
|
|
|
284
|
+
declare function createSession(options: SessionOptions): RequestHandler;
|
|
285
|
+
export { createSession }
|
|
286
|
+
export { createSession as createSession_alias_1 }
|
|
287
|
+
export { createSession as createSession_alias_2 }
|
|
288
|
+
export { createSession as createSession_alias_3 }
|
|
289
|
+
|
|
282
290
|
declare function createWSServer(options: I_WSOptions): WebSocketServer;
|
|
283
291
|
export { createWSServer }
|
|
284
292
|
export { createWSServer as createWSServer_alias_1 }
|
|
@@ -1771,7 +1779,7 @@ export { I_CopySyncOptions as I_CopySyncOptions_alias_1 }
|
|
|
1771
1779
|
export { I_CopySyncOptions as I_CopySyncOptions_alias_2 }
|
|
1772
1780
|
export { I_CopySyncOptions as I_CopySyncOptions_alias_3 }
|
|
1773
1781
|
|
|
1774
|
-
declare interface I_CorsOptions extends
|
|
1782
|
+
declare interface I_CorsOptions extends ResolvedCorsOptions, CorsOptionsDelegate<CorsRequest> {
|
|
1775
1783
|
isDev?: boolean;
|
|
1776
1784
|
whiteList?: string[];
|
|
1777
1785
|
}
|
|
@@ -2676,6 +2684,10 @@ export { resolveCommands as resolveCommands_alias_1 }
|
|
|
2676
2684
|
export { resolveCommands as resolveCommands_alias_2 }
|
|
2677
2685
|
export { resolveCommands as resolveCommands_alias_3 }
|
|
2678
2686
|
|
|
2687
|
+
declare type ResolvedCorsOptions = Partial<CorsOptions> & Partial<CorsOptions_2> & {
|
|
2688
|
+
origin?: CorsOptions['origin'] | CorsOptions_2['origin'];
|
|
2689
|
+
};
|
|
2690
|
+
|
|
2679
2691
|
declare function resolveWorkingPath(...urls: string[]): string;
|
|
2680
2692
|
export { resolveWorkingPath }
|
|
2681
2693
|
export { resolveWorkingPath as resolveWorkingPath_alias_1 }
|
|
@@ -19,6 +19,7 @@ import { Context } from 'react';
|
|
|
19
19
|
import type { CopySyncOptions } from 'node:fs';
|
|
20
20
|
import cors from 'cors';
|
|
21
21
|
import type { CorsOptions } from 'cors';
|
|
22
|
+
import type { CorsOptions as CorsOptions_2 } from '@nestjs/common/interfaces/external/cors-options.interface.js';
|
|
22
23
|
import type { CorsOptionsDelegate } from 'cors';
|
|
23
24
|
import type { CorsRequest } from 'cors';
|
|
24
25
|
import { Db } from 'mongodb';
|
|
@@ -68,6 +69,7 @@ import { default as React_2 } from 'react';
|
|
|
68
69
|
import type { ReactElement } from 'react';
|
|
69
70
|
import type { ReactNode } from 'react';
|
|
70
71
|
import { Request as Request_2 } from 'express';
|
|
72
|
+
import type { RequestHandler } from 'express';
|
|
71
73
|
import { Response as Response_2 } from 'express';
|
|
72
74
|
import { Router } from 'express';
|
|
73
75
|
import type { Schema } from 'mongoose';
|
|
@@ -279,6 +281,12 @@ export { createGraphqlCodegenConfig as createGraphqlCodegenConfig_alias_1 }
|
|
|
279
281
|
export { createGraphqlCodegenConfig as createGraphqlCodegenConfig_alias_2 }
|
|
280
282
|
export { createGraphqlCodegenConfig as createGraphqlCodegenConfig_alias_3 }
|
|
281
283
|
|
|
284
|
+
declare function createSession(options: SessionOptions): RequestHandler;
|
|
285
|
+
export { createSession }
|
|
286
|
+
export { createSession as createSession_alias_1 }
|
|
287
|
+
export { createSession as createSession_alias_2 }
|
|
288
|
+
export { createSession as createSession_alias_3 }
|
|
289
|
+
|
|
282
290
|
declare function createWSServer(options: I_WSOptions): WebSocketServer;
|
|
283
291
|
export { createWSServer }
|
|
284
292
|
export { createWSServer as createWSServer_alias_1 }
|
|
@@ -1771,7 +1779,7 @@ export { I_CopySyncOptions as I_CopySyncOptions_alias_1 }
|
|
|
1771
1779
|
export { I_CopySyncOptions as I_CopySyncOptions_alias_2 }
|
|
1772
1780
|
export { I_CopySyncOptions as I_CopySyncOptions_alias_3 }
|
|
1773
1781
|
|
|
1774
|
-
declare interface I_CorsOptions extends
|
|
1782
|
+
declare interface I_CorsOptions extends ResolvedCorsOptions, CorsOptionsDelegate<CorsRequest> {
|
|
1775
1783
|
isDev?: boolean;
|
|
1776
1784
|
whiteList?: string[];
|
|
1777
1785
|
}
|
|
@@ -2676,6 +2684,10 @@ export { resolveCommands as resolveCommands_alias_1 }
|
|
|
2676
2684
|
export { resolveCommands as resolveCommands_alias_2 }
|
|
2677
2685
|
export { resolveCommands as resolveCommands_alias_3 }
|
|
2678
2686
|
|
|
2687
|
+
declare type ResolvedCorsOptions = Partial<CorsOptions> & Partial<CorsOptions_2> & {
|
|
2688
|
+
origin?: CorsOptions['origin'] | CorsOptions_2['origin'];
|
|
2689
|
+
};
|
|
2690
|
+
|
|
2679
2691
|
declare function resolveWorkingPath(...urls: string[]): string;
|
|
2680
2692
|
export { resolveWorkingPath }
|
|
2681
2693
|
export { resolveWorkingPath as resolveWorkingPath_alias_1 }
|