@common-stack/frontend-stack-react 4.0.1-alpha.23 → 4.0.1-alpha.24

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.
@@ -1,3 +1,3 @@
1
1
  import 'reflect-metadata';
2
- import { IAppLoadContext } from './interfaces/loaderContext';
2
+ import { IAppLoadContext } from '@common-stack/client-core';
3
3
  export declare const loadContext: (req: Request, res: Response) => Promise<IAppLoadContext>;
@@ -1,4 +1,4 @@
1
- import { IAppLoadContext } from '../interfaces/loaderContext';
1
+ import { IAppLoadContext } from '@common-stack/client-core';
2
2
  import { Middleware, MiddlewareOptions } from '../interfaces/middleware';
3
3
  /**
4
4
  * Executes the middleware stack in sequence
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-stack/frontend-stack-react",
3
- "version": "4.0.1-alpha.23",
3
+ "version": "4.0.1-alpha.24",
4
4
  "description": "Client Module for react app",
5
5
  "homepage": "https://github.com/cdmbase/fullstack-pro#readme",
6
6
  "bugs": {
@@ -29,7 +29,7 @@
29
29
  "watch": "npm run build:lib:watch"
30
30
  },
31
31
  "dependencies": {
32
- "@common-stack/client-react": "4.0.1-alpha.11",
32
+ "@common-stack/client-react": "4.0.1-alpha.24",
33
33
  "@common-stack/core": "4.0.1-alpha.11"
34
34
  },
35
35
  "devDependencies": {
@@ -50,5 +50,5 @@
50
50
  "typescript": {
51
51
  "definition": "lib/index.d.ts"
52
52
  },
53
- "gitHead": "362a81401abe414c1958b977cdd1ec5e1b17ae09"
53
+ "gitHead": "02786a5008e25af0ee36cf6996835b9864c5ec75"
54
54
  }
@@ -1,15 +0,0 @@
1
- import type { Feature } from '@common-stack/client-react';
2
- import type { CdmLogger } from '@cdm-logger/core';
3
- import type { Redis } from 'ioredis';
4
- import type { Container } from 'inversify';
5
- import type { ApolloClient, NormalizedCache } from '@apollo/client/index';
6
- export interface IAppLoadContext<S = any> {
7
- modules: Feature;
8
- routeConfig: any;
9
- store: any;
10
- container: Container;
11
- apolloClient: ApolloClient<NormalizedCache>;
12
- services: S;
13
- redisClient: Redis;
14
- logger?: CdmLogger.ILogger;
15
- }