@its/core 1.1.24 → 1.1.26
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/core.es.js +8296 -8345
- package/dist/core.umd.js +51 -51
- package/dist/src/hooks/useAuth/index.d.ts +0 -1
- package/dist/src/hooks/useAuth/index.d.ts.map +1 -1
- package/dist/src/store/AuthContext/AuthProvider.d.ts +8 -2
- package/dist/src/store/AuthContext/AuthProvider.d.ts.map +1 -1
- package/dist/types/src/hooks/useAuth/index.d.ts +0 -1
- package/dist/types/src/hooks/useAuth/index.d.ts.map +1 -1
- package/dist/types/src/store/AuthContext/AuthProvider.d.ts +8 -2
- package/dist/types/src/store/AuthContext/AuthProvider.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/hooks/useAuth/useAuth.d.ts +0 -9
- package/dist/src/hooks/useAuth/useAuth.d.ts.map +0 -1
- package/dist/types/src/hooks/useAuth/useAuth.d.ts +0 -9
- package/dist/types/src/hooks/useAuth/useAuth.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useAuth/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useAuth/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { GraphQLTaggedNode } from 'relay-runtime';
|
|
2
|
-
|
|
2
|
+
import { AuthActions, ErrorFragmentType } from '../../hooks/useAuth/types';
|
|
3
|
+
type useAuthType = (args: {
|
|
4
|
+
LoginMutation: GraphQLTaggedNode;
|
|
5
|
+
LogoutMutation: GraphQLTaggedNode;
|
|
6
|
+
}) => [boolean, ErrorFragmentType[], AuthActions];
|
|
3
7
|
type AuthProviderProps = {
|
|
4
8
|
LoginMutation: GraphQLTaggedNode;
|
|
5
9
|
LogoutMutation: GraphQLTaggedNode;
|
|
6
10
|
children?: React.ReactNode;
|
|
11
|
+
useAuth: useAuthType;
|
|
7
12
|
};
|
|
8
|
-
export
|
|
13
|
+
export declare const AuthContext: import('react').Context<[boolean, ErrorFragmentType[], AuthActions] | null>;
|
|
14
|
+
export default function AuthProvider({ children, LoginMutation, LogoutMutation, useAuth, }: AuthProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
9
15
|
export {};
|
|
10
16
|
//# sourceMappingURL=AuthProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthProvider.d.ts","sourceRoot":"","sources":["../../../../src/store/AuthContext/AuthProvider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AuthProvider.d.ts","sourceRoot":"","sources":["../../../../src/store/AuthContext/AuthProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE3E,KAAK,WAAW,GAAG,CAAC,IAAI,EAAE;IACxB,aAAa,EAAE,iBAAiB,CAAC;IACjC,cAAc,EAAE,iBAAiB,CAAC;CACnC,KAAK,CAAC,OAAO,EAAE,iBAAiB,EAAE,EAAE,WAAW,CAAC,CAAC;AAElD,KAAK,iBAAiB,GAAG;IACvB,aAAa,EAAE,iBAAiB,CAAC;IACjC,cAAc,EAAE,iBAAiB,CAAC;IAClC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,EAAE,WAAW,CAAC;CACtB,CAAC;AACF,eAAO,MAAM,WAAW,6EAAsD,CAAC;AAE/E,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,QAAQ,EACR,aAAa,EACb,cAAc,EACd,OAAO,GACR,EAAE,iBAAiB,2CAWnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useAuth/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useAuth/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { GraphQLTaggedNode } from 'relay-runtime';
|
|
2
|
-
|
|
2
|
+
import { AuthActions, ErrorFragmentType } from '../../hooks/useAuth/types';
|
|
3
|
+
type useAuthType = (args: {
|
|
4
|
+
LoginMutation: GraphQLTaggedNode;
|
|
5
|
+
LogoutMutation: GraphQLTaggedNode;
|
|
6
|
+
}) => [boolean, ErrorFragmentType[], AuthActions];
|
|
3
7
|
type AuthProviderProps = {
|
|
4
8
|
LoginMutation: GraphQLTaggedNode;
|
|
5
9
|
LogoutMutation: GraphQLTaggedNode;
|
|
6
10
|
children?: React.ReactNode;
|
|
11
|
+
useAuth: useAuthType;
|
|
7
12
|
};
|
|
8
|
-
export
|
|
13
|
+
export declare const AuthContext: import("react").Context<[boolean, ErrorFragmentType[], AuthActions] | null>;
|
|
14
|
+
export default function AuthProvider({ children, LoginMutation, LogoutMutation, useAuth, }: AuthProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
9
15
|
export {};
|
|
10
16
|
//# sourceMappingURL=AuthProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthProvider.d.ts","sourceRoot":"","sources":["../../../../../src/store/AuthContext/AuthProvider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AuthProvider.d.ts","sourceRoot":"","sources":["../../../../../src/store/AuthContext/AuthProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE3E,KAAK,WAAW,GAAG,CAAC,IAAI,EAAE;IACxB,aAAa,EAAE,iBAAiB,CAAC;IACjC,cAAc,EAAE,iBAAiB,CAAC;CACnC,KAAK,CAAC,OAAO,EAAE,iBAAiB,EAAE,EAAE,WAAW,CAAC,CAAC;AAElD,KAAK,iBAAiB,GAAG;IACvB,aAAa,EAAE,iBAAiB,CAAC;IACjC,cAAc,EAAE,iBAAiB,CAAC;IAClC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,EAAE,WAAW,CAAC;CACtB,CAAC;AACF,eAAO,MAAM,WAAW,6EAAsD,CAAC;AAE/E,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,QAAQ,EACR,aAAa,EACb,cAAc,EACd,OAAO,GACR,EAAE,iBAAiB,2CAWnB"}
|