@cyberskill/shared 1.98.0 → 1.100.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 +30 -0
- package/dist/_tsup-dts-rollup.d.ts +30 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -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.type.cjs +1 -1
- package/dist/nodejs/express/express.type.d.cts +5 -0
- package/dist/nodejs/express/express.type.d.ts +5 -0
- package/dist/nodejs/express/express.type.js +1 -0
- package/dist/nodejs/express/index.cjs +1 -1
- package/dist/nodejs/express/index.d.cts +5 -0
- package/dist/nodejs/express/index.d.ts +5 -0
- package/dist/nodejs/express/index.js +1 -1
- package/dist/nodejs/index.cjs +1 -1
- package/dist/nodejs/index.d.cts +5 -0
- package/dist/nodejs/index.d.ts +5 -0
- package/dist/nodejs/index.js +1 -1
- package/package.json +1 -1
|
@@ -42,6 +42,7 @@ import { Model } from 'mongoose';
|
|
|
42
42
|
import type mongoose from 'mongoose';
|
|
43
43
|
import mongoosePaginate from 'mongoose-paginate-v2';
|
|
44
44
|
import type mongooseRaw from 'mongoose';
|
|
45
|
+
import { NextFunction } from 'express';
|
|
45
46
|
import type { NormalizedCacheObject } from '@apollo/client';
|
|
46
47
|
import type { OptionalUnlessRequiredId } from 'mongodb';
|
|
47
48
|
import type { PaginateModel } from 'mongoose';
|
|
@@ -59,9 +60,13 @@ import type { QueryWithHelpers } from 'mongoose';
|
|
|
59
60
|
import { default as React_2 } from 'react';
|
|
60
61
|
import type { ReactElement } from 'react';
|
|
61
62
|
import type { ReactNode } from 'react';
|
|
63
|
+
import { Request as Request_2 } from 'express';
|
|
64
|
+
import { Response as Response_2 } from 'express';
|
|
65
|
+
import { Router } from 'express';
|
|
62
66
|
import type { Schema } from 'mongoose';
|
|
63
67
|
import type { SchemaDefinition } from 'mongoose';
|
|
64
68
|
import type { Server } from 'node:http';
|
|
69
|
+
import { Session } from 'express-session';
|
|
65
70
|
import type { SessionOptions } from 'express-session';
|
|
66
71
|
import { TFunction } from 'i18next';
|
|
67
72
|
import type { Timezone } from 'next-intl';
|
|
@@ -2373,6 +2378,11 @@ export { NEXT_INTL_DEFAULT_LANGUAGE as NEXT_INTL_DEFAULT_LANGUAGE_alias_1 }
|
|
|
2373
2378
|
export { NEXT_INTL_DEFAULT_LANGUAGE as NEXT_INTL_DEFAULT_LANGUAGE_alias_2 }
|
|
2374
2379
|
export { NEXT_INTL_DEFAULT_LANGUAGE as NEXT_INTL_DEFAULT_LANGUAGE_alias_3 }
|
|
2375
2380
|
|
|
2381
|
+
export { NextFunction }
|
|
2382
|
+
export { NextFunction as NextFunction_alias_1 }
|
|
2383
|
+
export { NextFunction as NextFunction_alias_2 }
|
|
2384
|
+
export { NextFunction as NextFunction_alias_3 }
|
|
2385
|
+
|
|
2376
2386
|
declare const NextIntlContext: Context<I_NextIntlContext | undefined>;
|
|
2377
2387
|
export { NextIntlContext }
|
|
2378
2388
|
export { NextIntlContext as NextIntlContext_alias_1 }
|
|
@@ -2495,6 +2505,11 @@ export { removeAccent as removeAccent_alias_1 }
|
|
|
2495
2505
|
export { removeAccent as removeAccent_alias_2 }
|
|
2496
2506
|
export { removeAccent as removeAccent_alias_3 }
|
|
2497
2507
|
|
|
2508
|
+
export { Request_2 as Request }
|
|
2509
|
+
export { Request_2 as Request_alias_1 }
|
|
2510
|
+
export { Request_2 as Request_alias_2 }
|
|
2511
|
+
export { Request_2 as Request_alias_3 }
|
|
2512
|
+
|
|
2498
2513
|
declare function resolve(...urls: string[]): string;
|
|
2499
2514
|
export { resolve }
|
|
2500
2515
|
export { resolve as resolve_alias_1 }
|
|
@@ -2515,6 +2530,11 @@ export { resolveWorkingPath as resolveWorkingPath_alias_1 }
|
|
|
2515
2530
|
export { resolveWorkingPath as resolveWorkingPath_alias_2 }
|
|
2516
2531
|
export { resolveWorkingPath as resolveWorkingPath_alias_3 }
|
|
2517
2532
|
|
|
2533
|
+
export { Response_2 as Response }
|
|
2534
|
+
export { Response_2 as Response_alias_1 }
|
|
2535
|
+
export { Response_2 as Response_alias_2 }
|
|
2536
|
+
export { Response_2 as Response_alias_3 }
|
|
2537
|
+
|
|
2518
2538
|
declare const RESPONSE_STATUS: {
|
|
2519
2539
|
GRAPHQL_PARSE_FAILED: {
|
|
2520
2540
|
CODE: string;
|
|
@@ -2775,6 +2795,11 @@ export { rmSync as rmSync_alias_1 }
|
|
|
2775
2795
|
export { rmSync as rmSync_alias_2 }
|
|
2776
2796
|
export { rmSync as rmSync_alias_3 }
|
|
2777
2797
|
|
|
2798
|
+
export { Router }
|
|
2799
|
+
export { Router as Router_alias_1 }
|
|
2800
|
+
export { Router as Router_alias_2 }
|
|
2801
|
+
export { Router as Router_alias_3 }
|
|
2802
|
+
|
|
2778
2803
|
declare function runCommand(label: string, command: string): Promise<void>;
|
|
2779
2804
|
export { runCommand }
|
|
2780
2805
|
export { runCommand as runCommand_alias_1 }
|
|
@@ -2787,6 +2812,11 @@ export { serializer as serializer_alias_1 }
|
|
|
2787
2812
|
export { serializer as serializer_alias_2 }
|
|
2788
2813
|
export { serializer as serializer_alias_3 }
|
|
2789
2814
|
|
|
2815
|
+
export { Session }
|
|
2816
|
+
export { Session as Session_alias_1 }
|
|
2817
|
+
export { Session as Session_alias_2 }
|
|
2818
|
+
export { Session as Session_alias_3 }
|
|
2819
|
+
|
|
2790
2820
|
declare function setGlobalApolloErrorCallback(callback: (err: ApolloError_2) => void): void;
|
|
2791
2821
|
export { setGlobalApolloErrorCallback }
|
|
2792
2822
|
export { setGlobalApolloErrorCallback as setGlobalApolloErrorCallback_alias_1 }
|
|
@@ -42,6 +42,7 @@ import { Model } from 'mongoose';
|
|
|
42
42
|
import type mongoose from 'mongoose';
|
|
43
43
|
import mongoosePaginate from 'mongoose-paginate-v2';
|
|
44
44
|
import type mongooseRaw from 'mongoose';
|
|
45
|
+
import { NextFunction } from 'express';
|
|
45
46
|
import type { NormalizedCacheObject } from '@apollo/client';
|
|
46
47
|
import type { OptionalUnlessRequiredId } from 'mongodb';
|
|
47
48
|
import type { PaginateModel } from 'mongoose';
|
|
@@ -59,9 +60,13 @@ import type { QueryWithHelpers } from 'mongoose';
|
|
|
59
60
|
import { default as React_2 } from 'react';
|
|
60
61
|
import type { ReactElement } from 'react';
|
|
61
62
|
import type { ReactNode } from 'react';
|
|
63
|
+
import { Request as Request_2 } from 'express';
|
|
64
|
+
import { Response as Response_2 } from 'express';
|
|
65
|
+
import { Router } from 'express';
|
|
62
66
|
import type { Schema } from 'mongoose';
|
|
63
67
|
import type { SchemaDefinition } from 'mongoose';
|
|
64
68
|
import type { Server } from 'node:http';
|
|
69
|
+
import { Session } from 'express-session';
|
|
65
70
|
import type { SessionOptions } from 'express-session';
|
|
66
71
|
import { TFunction } from 'i18next';
|
|
67
72
|
import type { Timezone } from 'next-intl';
|
|
@@ -2373,6 +2378,11 @@ export { NEXT_INTL_DEFAULT_LANGUAGE as NEXT_INTL_DEFAULT_LANGUAGE_alias_1 }
|
|
|
2373
2378
|
export { NEXT_INTL_DEFAULT_LANGUAGE as NEXT_INTL_DEFAULT_LANGUAGE_alias_2 }
|
|
2374
2379
|
export { NEXT_INTL_DEFAULT_LANGUAGE as NEXT_INTL_DEFAULT_LANGUAGE_alias_3 }
|
|
2375
2380
|
|
|
2381
|
+
export { NextFunction }
|
|
2382
|
+
export { NextFunction as NextFunction_alias_1 }
|
|
2383
|
+
export { NextFunction as NextFunction_alias_2 }
|
|
2384
|
+
export { NextFunction as NextFunction_alias_3 }
|
|
2385
|
+
|
|
2376
2386
|
declare const NextIntlContext: Context<I_NextIntlContext | undefined>;
|
|
2377
2387
|
export { NextIntlContext }
|
|
2378
2388
|
export { NextIntlContext as NextIntlContext_alias_1 }
|
|
@@ -2495,6 +2505,11 @@ export { removeAccent as removeAccent_alias_1 }
|
|
|
2495
2505
|
export { removeAccent as removeAccent_alias_2 }
|
|
2496
2506
|
export { removeAccent as removeAccent_alias_3 }
|
|
2497
2507
|
|
|
2508
|
+
export { Request_2 as Request }
|
|
2509
|
+
export { Request_2 as Request_alias_1 }
|
|
2510
|
+
export { Request_2 as Request_alias_2 }
|
|
2511
|
+
export { Request_2 as Request_alias_3 }
|
|
2512
|
+
|
|
2498
2513
|
declare function resolve(...urls: string[]): string;
|
|
2499
2514
|
export { resolve }
|
|
2500
2515
|
export { resolve as resolve_alias_1 }
|
|
@@ -2515,6 +2530,11 @@ export { resolveWorkingPath as resolveWorkingPath_alias_1 }
|
|
|
2515
2530
|
export { resolveWorkingPath as resolveWorkingPath_alias_2 }
|
|
2516
2531
|
export { resolveWorkingPath as resolveWorkingPath_alias_3 }
|
|
2517
2532
|
|
|
2533
|
+
export { Response_2 as Response }
|
|
2534
|
+
export { Response_2 as Response_alias_1 }
|
|
2535
|
+
export { Response_2 as Response_alias_2 }
|
|
2536
|
+
export { Response_2 as Response_alias_3 }
|
|
2537
|
+
|
|
2518
2538
|
declare const RESPONSE_STATUS: {
|
|
2519
2539
|
GRAPHQL_PARSE_FAILED: {
|
|
2520
2540
|
CODE: string;
|
|
@@ -2775,6 +2795,11 @@ export { rmSync as rmSync_alias_1 }
|
|
|
2775
2795
|
export { rmSync as rmSync_alias_2 }
|
|
2776
2796
|
export { rmSync as rmSync_alias_3 }
|
|
2777
2797
|
|
|
2798
|
+
export { Router }
|
|
2799
|
+
export { Router as Router_alias_1 }
|
|
2800
|
+
export { Router as Router_alias_2 }
|
|
2801
|
+
export { Router as Router_alias_3 }
|
|
2802
|
+
|
|
2778
2803
|
declare function runCommand(label: string, command: string): Promise<void>;
|
|
2779
2804
|
export { runCommand }
|
|
2780
2805
|
export { runCommand as runCommand_alias_1 }
|
|
@@ -2787,6 +2812,11 @@ export { serializer as serializer_alias_1 }
|
|
|
2787
2812
|
export { serializer as serializer_alias_2 }
|
|
2788
2813
|
export { serializer as serializer_alias_3 }
|
|
2789
2814
|
|
|
2815
|
+
export { Session }
|
|
2816
|
+
export { Session as Session_alias_1 }
|
|
2817
|
+
export { Session as Session_alias_2 }
|
|
2818
|
+
export { Session as Session_alias_3 }
|
|
2819
|
+
|
|
2790
2820
|
declare function setGlobalApolloErrorCallback(callback: (err: ApolloError_2) => void): void;
|
|
2791
2821
|
export { setGlobalApolloErrorCallback }
|
|
2792
2822
|
export { setGlobalApolloErrorCallback as setGlobalApolloErrorCallback_alias_1 }
|