@common-stack/rollup-vite-utils 7.2.1-alpha.5 → 7.2.1-alpha.9

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.
@@ -11,6 +11,8 @@ import {
11
11
  IIAuth0Token,
12
12
  AuthStrategy,
13
13
  ICdecodeParsedUri,
14
+ IHttpReq,
15
+ IIGraphQlContext,
14
16
  } from './generated/generated-models';
15
17
  /**
16
18
  *
@@ -31,11 +33,11 @@ export interface IHttpMiddlewareContext {
31
33
  user?: IIAuth0Token;
32
34
  errors?: any;
33
35
  profile?: IUserProfile;
34
- };
36
+ } & IHttpReq;
35
37
  res: express.Response;
36
38
  }
37
39
 
38
- export type IGraphQLContext = {
40
+ export interface IGraphQLContext extends IIGraphQlContext {
39
41
  /**
40
42
  * current ip of the user fetched from the request
41
43
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-stack/rollup-vite-utils",
3
- "version": "7.2.1-alpha.5",
3
+ "version": "7.2.1-alpha.9",
4
4
  "description": "Client Module for react app",
5
5
  "homepage": "https://github.com/cdmbase/fullstack-pro#readme",
6
6
  "bugs": {
@@ -58,7 +58,7 @@
58
58
  "publishConfig": {
59
59
  "access": "public"
60
60
  },
61
- "gitHead": "9bec226ac9ebc38066128c6e94b51e3624d2b417",
61
+ "gitHead": "15130c2d19bb06da3e6675bec49fcdc17b160723",
62
62
  "typescript": {
63
63
  "definition": "lib/index.d.ts"
64
64
  }