@cyberskill/shared 1.98.0 → 1.99.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.
@@ -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,12 @@ 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';
62
65
  import type { Schema } from 'mongoose';
63
66
  import type { SchemaDefinition } from 'mongoose';
64
67
  import type { Server } from 'node:http';
68
+ import { Session } from 'express-session';
65
69
  import type { SessionOptions } from 'express-session';
66
70
  import { TFunction } from 'i18next';
67
71
  import type { Timezone } from 'next-intl';
@@ -2373,6 +2377,11 @@ export { NEXT_INTL_DEFAULT_LANGUAGE as NEXT_INTL_DEFAULT_LANGUAGE_alias_1 }
2373
2377
  export { NEXT_INTL_DEFAULT_LANGUAGE as NEXT_INTL_DEFAULT_LANGUAGE_alias_2 }
2374
2378
  export { NEXT_INTL_DEFAULT_LANGUAGE as NEXT_INTL_DEFAULT_LANGUAGE_alias_3 }
2375
2379
 
2380
+ export { NextFunction }
2381
+ export { NextFunction as NextFunction_alias_1 }
2382
+ export { NextFunction as NextFunction_alias_2 }
2383
+ export { NextFunction as NextFunction_alias_3 }
2384
+
2376
2385
  declare const NextIntlContext: Context<I_NextIntlContext | undefined>;
2377
2386
  export { NextIntlContext }
2378
2387
  export { NextIntlContext as NextIntlContext_alias_1 }
@@ -2495,6 +2504,11 @@ export { removeAccent as removeAccent_alias_1 }
2495
2504
  export { removeAccent as removeAccent_alias_2 }
2496
2505
  export { removeAccent as removeAccent_alias_3 }
2497
2506
 
2507
+ export { Request_2 as Request }
2508
+ export { Request_2 as Request_alias_1 }
2509
+ export { Request_2 as Request_alias_2 }
2510
+ export { Request_2 as Request_alias_3 }
2511
+
2498
2512
  declare function resolve(...urls: string[]): string;
2499
2513
  export { resolve }
2500
2514
  export { resolve as resolve_alias_1 }
@@ -2515,6 +2529,11 @@ export { resolveWorkingPath as resolveWorkingPath_alias_1 }
2515
2529
  export { resolveWorkingPath as resolveWorkingPath_alias_2 }
2516
2530
  export { resolveWorkingPath as resolveWorkingPath_alias_3 }
2517
2531
 
2532
+ export { Response_2 as Response }
2533
+ export { Response_2 as Response_alias_1 }
2534
+ export { Response_2 as Response_alias_2 }
2535
+ export { Response_2 as Response_alias_3 }
2536
+
2518
2537
  declare const RESPONSE_STATUS: {
2519
2538
  GRAPHQL_PARSE_FAILED: {
2520
2539
  CODE: string;
@@ -2787,6 +2806,11 @@ export { serializer as serializer_alias_1 }
2787
2806
  export { serializer as serializer_alias_2 }
2788
2807
  export { serializer as serializer_alias_3 }
2789
2808
 
2809
+ export { Session }
2810
+ export { Session as Session_alias_1 }
2811
+ export { Session as Session_alias_2 }
2812
+ export { Session as Session_alias_3 }
2813
+
2790
2814
  declare function setGlobalApolloErrorCallback(callback: (err: ApolloError_2) => void): void;
2791
2815
  export { setGlobalApolloErrorCallback }
2792
2816
  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,12 @@ 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';
62
65
  import type { Schema } from 'mongoose';
63
66
  import type { SchemaDefinition } from 'mongoose';
64
67
  import type { Server } from 'node:http';
68
+ import { Session } from 'express-session';
65
69
  import type { SessionOptions } from 'express-session';
66
70
  import { TFunction } from 'i18next';
67
71
  import type { Timezone } from 'next-intl';
@@ -2373,6 +2377,11 @@ export { NEXT_INTL_DEFAULT_LANGUAGE as NEXT_INTL_DEFAULT_LANGUAGE_alias_1 }
2373
2377
  export { NEXT_INTL_DEFAULT_LANGUAGE as NEXT_INTL_DEFAULT_LANGUAGE_alias_2 }
2374
2378
  export { NEXT_INTL_DEFAULT_LANGUAGE as NEXT_INTL_DEFAULT_LANGUAGE_alias_3 }
2375
2379
 
2380
+ export { NextFunction }
2381
+ export { NextFunction as NextFunction_alias_1 }
2382
+ export { NextFunction as NextFunction_alias_2 }
2383
+ export { NextFunction as NextFunction_alias_3 }
2384
+
2376
2385
  declare const NextIntlContext: Context<I_NextIntlContext | undefined>;
2377
2386
  export { NextIntlContext }
2378
2387
  export { NextIntlContext as NextIntlContext_alias_1 }
@@ -2495,6 +2504,11 @@ export { removeAccent as removeAccent_alias_1 }
2495
2504
  export { removeAccent as removeAccent_alias_2 }
2496
2505
  export { removeAccent as removeAccent_alias_3 }
2497
2506
 
2507
+ export { Request_2 as Request }
2508
+ export { Request_2 as Request_alias_1 }
2509
+ export { Request_2 as Request_alias_2 }
2510
+ export { Request_2 as Request_alias_3 }
2511
+
2498
2512
  declare function resolve(...urls: string[]): string;
2499
2513
  export { resolve }
2500
2514
  export { resolve as resolve_alias_1 }
@@ -2515,6 +2529,11 @@ export { resolveWorkingPath as resolveWorkingPath_alias_1 }
2515
2529
  export { resolveWorkingPath as resolveWorkingPath_alias_2 }
2516
2530
  export { resolveWorkingPath as resolveWorkingPath_alias_3 }
2517
2531
 
2532
+ export { Response_2 as Response }
2533
+ export { Response_2 as Response_alias_1 }
2534
+ export { Response_2 as Response_alias_2 }
2535
+ export { Response_2 as Response_alias_3 }
2536
+
2518
2537
  declare const RESPONSE_STATUS: {
2519
2538
  GRAPHQL_PARSE_FAILED: {
2520
2539
  CODE: string;
@@ -2787,6 +2806,11 @@ export { serializer as serializer_alias_1 }
2787
2806
  export { serializer as serializer_alias_2 }
2788
2807
  export { serializer as serializer_alias_3 }
2789
2808
 
2809
+ export { Session }
2810
+ export { Session as Session_alias_1 }
2811
+ export { Session as Session_alias_2 }
2812
+ export { Session as Session_alias_3 }
2813
+
2790
2814
  declare function setGlobalApolloErrorCallback(callback: (err: ApolloError_2) => void): void;
2791
2815
  export { setGlobalApolloErrorCallback }
2792
2816
  export { setGlobalApolloErrorCallback as setGlobalApolloErrorCallback_alias_1 }