@its/core 1.1.8 → 1.1.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.
- package/dist/src/components/Auth/AuthWrapper.d.ts +3 -0
- package/dist/src/components/Auth/AuthWrapper.d.ts.map +1 -0
- package/dist/src/components/Auth/index.d.ts +2 -0
- package/dist/src/components/Auth/index.d.ts.map +1 -0
- package/dist/src/components/Auth/types.d.ts +21 -0
- package/dist/src/components/Auth/types.d.ts.map +1 -0
- package/dist/src/graphQL/Fragments/ErrorFragment.d.ts +2 -0
- package/dist/src/graphQL/Fragments/ErrorFragment.d.ts.map +1 -0
- package/dist/src/graphQL/Mutations/LoginMutation.d.ts +2 -0
- package/dist/src/graphQL/Mutations/LoginMutation.d.ts.map +1 -0
- package/dist/src/graphQL/Mutations/LogoutMutation.d.ts +2 -0
- package/dist/src/graphQL/Mutations/LogoutMutation.d.ts.map +1 -0
- package/dist/src/graphQL/Subscriptions/DeletedNode.d.ts +2 -0
- package/dist/src/graphQL/Subscriptions/DeletedNode.d.ts.map +1 -0
- package/dist/src/graphQL/__generated__/DeletedNodeSubscription.graphql.d.ts +12 -0
- package/dist/src/graphQL/__generated__/DeletedNodeSubscription.graphql.d.ts.map +1 -0
- package/dist/src/graphQL/__generated__/ErrorFragment.graphql.d.ts +13 -0
- package/dist/src/graphQL/__generated__/ErrorFragment.graphql.d.ts.map +1 -0
- package/dist/src/graphQL/__generated__/LoginMutation.graphql.d.ts +33 -0
- package/dist/src/graphQL/__generated__/LoginMutation.graphql.d.ts.map +1 -0
- package/dist/src/graphQL/__generated__/LogoutMutation.graphql.d.ts +14 -0
- package/dist/src/graphQL/__generated__/LogoutMutation.graphql.d.ts.map +1 -0
- package/dist/src/hooks/useAuth/index.d.ts +2 -0
- package/dist/src/hooks/useAuth/index.d.ts.map +1 -0
- package/dist/src/hooks/useAuth/types.d.ts +17 -0
- package/dist/src/hooks/useAuth/types.d.ts.map +1 -0
- package/dist/src/hooks/useAuth/useAuth.d.ts +3 -0
- package/dist/src/hooks/useAuth/useAuth.d.ts.map +1 -0
- package/dist/src/store/AuthContext/AuthProvider.d.ts +5 -0
- package/dist/src/store/AuthContext/AuthProvider.d.ts.map +1 -0
- package/dist/src/store/AuthContext/index.d.ts +3 -0
- package/dist/src/store/AuthContext/index.d.ts.map +1 -0
- package/dist/src/store/AuthContext/useAuthContext.d.ts +2 -0
- package/dist/src/store/AuthContext/useAuthContext.d.ts.map +1 -0
- package/dist/types/src/components/Auth/AuthWrapper.d.ts +3 -0
- package/dist/types/src/components/Auth/AuthWrapper.d.ts.map +1 -0
- package/dist/types/src/components/Auth/index.d.ts +2 -0
- package/dist/types/src/components/Auth/index.d.ts.map +1 -0
- package/dist/types/src/components/Auth/types.d.ts +21 -0
- package/dist/types/src/components/Auth/types.d.ts.map +1 -0
- package/dist/types/src/graphQL/Fragments/ErrorFragment.d.ts +2 -0
- package/dist/types/src/graphQL/Fragments/ErrorFragment.d.ts.map +1 -0
- package/dist/types/src/graphQL/Mutations/LoginMutation.d.ts +2 -0
- package/dist/types/src/graphQL/Mutations/LoginMutation.d.ts.map +1 -0
- package/dist/types/src/graphQL/Mutations/LogoutMutation.d.ts +2 -0
- package/dist/types/src/graphQL/Mutations/LogoutMutation.d.ts.map +1 -0
- package/dist/types/src/graphQL/Subscriptions/DeletedNode.d.ts +2 -0
- package/dist/types/src/graphQL/Subscriptions/DeletedNode.d.ts.map +1 -0
- package/dist/types/src/graphQL/__generated__/DeletedNodeSubscription.graphql.d.ts +17 -0
- package/dist/types/src/graphQL/__generated__/DeletedNodeSubscription.graphql.d.ts.map +1 -0
- package/dist/types/src/graphQL/__generated__/ErrorFragment.graphql.d.ts +19 -0
- package/dist/types/src/graphQL/__generated__/ErrorFragment.graphql.d.ts.map +1 -0
- package/dist/types/src/graphQL/__generated__/LoginMutation.graphql.d.ts +38 -0
- package/dist/types/src/graphQL/__generated__/LoginMutation.graphql.d.ts.map +1 -0
- package/dist/types/src/graphQL/__generated__/LogoutMutation.graphql.d.ts +19 -0
- package/dist/types/src/graphQL/__generated__/LogoutMutation.graphql.d.ts.map +1 -0
- package/dist/types/src/hooks/useAuth/index.d.ts +2 -0
- package/dist/types/src/hooks/useAuth/index.d.ts.map +1 -0
- package/dist/types/src/hooks/useAuth/types.d.ts +17 -0
- package/dist/types/src/hooks/useAuth/types.d.ts.map +1 -0
- package/dist/types/src/hooks/useAuth/useAuth.d.ts +3 -0
- package/dist/types/src/hooks/useAuth/useAuth.d.ts.map +1 -0
- package/dist/types/src/store/AuthContext/AuthProvider.d.ts +5 -0
- package/dist/types/src/store/AuthContext/AuthProvider.d.ts.map +1 -0
- package/dist/types/src/store/AuthContext/index.d.ts +3 -0
- package/dist/types/src/store/AuthContext/index.d.ts.map +1 -0
- package/dist/types/src/store/AuthContext/useAuthContext.d.ts +2 -0
- package/dist/types/src/store/AuthContext/useAuthContext.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { AuthWrapperProps } from './types';
|
|
2
|
+
export default function AuthWrapper({ ChangePasswordWidget, children, title, tabs, backgroundColor, blur, elevation, color, borderRadius, border, padding, width, height, redirect, redirectPath, loggedCallback, logo, }: AuthWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=AuthWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/AuthWrapper.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAY,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAiC1D,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,oBAAoB,EACpB,QAAQ,EACR,KAAK,EACL,IAAI,EACJ,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,YAAY,EACZ,MAAM,EACN,OAAO,EACP,KAAK,EACL,MAAM,EACN,QAAe,EACf,YAAkB,EAClB,cAAc,EACd,IAAI,GACL,EAAE,gBAAgB,2CAkJlB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ReactNode, FC } from 'react';
|
|
2
|
+
import { FormPaperProps } from '../Styled/Paper';
|
|
3
|
+
import { default as ITab } from '../Tabs/types';
|
|
4
|
+
type WidgetProps = {
|
|
5
|
+
pending?: boolean;
|
|
6
|
+
};
|
|
7
|
+
type AuthTabs = ITab & {
|
|
8
|
+
child: FC<WidgetProps>;
|
|
9
|
+
};
|
|
10
|
+
type AuthWrapperProps = {
|
|
11
|
+
ChangePasswordWidget?: FC<WidgetProps>;
|
|
12
|
+
children?: ReactNode;
|
|
13
|
+
tabs?: Array<AuthTabs>;
|
|
14
|
+
title?: string;
|
|
15
|
+
redirect?: boolean;
|
|
16
|
+
redirectPath?: string;
|
|
17
|
+
loggedCallback?: () => void;
|
|
18
|
+
logo?: string;
|
|
19
|
+
} & FormPaperProps;
|
|
20
|
+
export type { WidgetProps, AuthTabs, AuthWrapperProps };
|
|
21
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,IAAI,MAAM,eAAe,CAAC;AAEjC,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,KAAK,QAAQ,GAAG,IAAI,GAAG;IAAE,KAAK,EAAE,EAAE,CAAC,WAAW,CAAC,CAAA;CAAE,CAAC;AAElD,KAAK,gBAAgB,GAAG;IACtB,oBAAoB,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC;IACvC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,cAAc,CAAC;AAEnB,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorFragment.d.ts","sourceRoot":"","sources":["../../../../src/graphQL/Fragments/ErrorFragment.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,2CAKzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoginMutation.d.ts","sourceRoot":"","sources":["../../../../src/graphQL/Mutations/LoginMutation.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,2CAczB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogoutMutation.d.ts","sourceRoot":"","sources":["../../../../src/graphQL/Mutations/LogoutMutation.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,2CAM1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeletedNode.d.ts","sourceRoot":"","sources":["../../../../src/graphQL/Subscriptions/DeletedNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,2CAIvB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ConcreteRequest } from 'relay-runtime';
|
|
2
|
+
export type DeletedNodeSubscription$variables = Record<PropertyKey, never>;
|
|
3
|
+
export type DeletedNodeSubscription$data = {
|
|
4
|
+
readonly deletedNode: string;
|
|
5
|
+
};
|
|
6
|
+
export type DeletedNodeSubscription = {
|
|
7
|
+
response: DeletedNodeSubscription$data;
|
|
8
|
+
variables: DeletedNodeSubscription$variables;
|
|
9
|
+
};
|
|
10
|
+
declare const node: ConcreteRequest;
|
|
11
|
+
export default node;
|
|
12
|
+
//# sourceMappingURL=DeletedNodeSubscription.graphql.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeletedNodeSubscription.graphql.d.ts","sourceRoot":"","sources":["../../../../src/graphQL/__generated__/DeletedNodeSubscription.graphql.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,MAAM,MAAM,iCAAiC,GAAG,MAAM,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAC3E,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,4BAA4B,CAAC;IACvC,SAAS,EAAE,iCAAiC,CAAC;CAC9C,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,eAoCR,CAAC;AAIL,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReaderInlineDataFragment, FragmentRefs } from 'relay-runtime';
|
|
2
|
+
export type ErrorFragment$data = {
|
|
3
|
+
readonly code: string;
|
|
4
|
+
readonly description: string;
|
|
5
|
+
readonly " $fragmentType": "ErrorFragment";
|
|
6
|
+
};
|
|
7
|
+
export type ErrorFragment$key = {
|
|
8
|
+
readonly " $data"?: ErrorFragment$data;
|
|
9
|
+
readonly " $fragmentSpreads": FragmentRefs<"ErrorFragment">;
|
|
10
|
+
};
|
|
11
|
+
declare const node: ReaderInlineDataFragment;
|
|
12
|
+
export default node;
|
|
13
|
+
//# sourceMappingURL=ErrorFragment.graphql.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorFragment.graphql.d.ts","sourceRoot":"","sources":["../../../../src/graphQL/__generated__/ErrorFragment.graphql.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,gBAAgB,EAAE,eAAe,CAAC;CAC5C,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,CAAC,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IACvC,QAAQ,CAAC,mBAAmB,EAAE,YAAY,CAAC,eAAe,CAAC,CAAC;CAC7D,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,wBAGX,CAAC;AAIF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ConcreteRequest } from 'relay-runtime';
|
|
2
|
+
export type InputAuthenticationRequest = {
|
|
3
|
+
captchaValue?: string | null | undefined;
|
|
4
|
+
client_id?: string | null | undefined;
|
|
5
|
+
grant_type?: string | null | undefined;
|
|
6
|
+
newPassword?: string | null | undefined;
|
|
7
|
+
password?: string | null | undefined;
|
|
8
|
+
rFID?: string | null | undefined;
|
|
9
|
+
username?: string | null | undefined;
|
|
10
|
+
};
|
|
11
|
+
export type LoginMutation$variables = {
|
|
12
|
+
credentials: InputAuthenticationRequest;
|
|
13
|
+
};
|
|
14
|
+
export type LoginMutation$data = {
|
|
15
|
+
readonly authMutation: {
|
|
16
|
+
readonly login: {
|
|
17
|
+
readonly errors: ReadonlyArray<{
|
|
18
|
+
readonly code: string;
|
|
19
|
+
readonly description: string;
|
|
20
|
+
}>;
|
|
21
|
+
readonly expires: any | null | undefined;
|
|
22
|
+
readonly token: string | null | undefined;
|
|
23
|
+
readonly username: string | null | undefined;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export type LoginMutation = {
|
|
28
|
+
response: LoginMutation$data;
|
|
29
|
+
variables: LoginMutation$variables;
|
|
30
|
+
};
|
|
31
|
+
declare const node: ConcreteRequest;
|
|
32
|
+
export default node;
|
|
33
|
+
//# sourceMappingURL=LoginMutation.graphql.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoginMutation.graphql.d.ts","sourceRoot":"","sources":["../../../../src/graphQL/__generated__/LoginMutation.graphql.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,MAAM,MAAM,0BAA0B,GAAG;IACvC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACtC,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG;IACpC,WAAW,EAAE,0BAA0B,CAAC;CACzC,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,YAAY,EAAE;QACrB,QAAQ,CAAC,KAAK,EAAE;YACd,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;gBAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;gBACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;aAC9B,CAAC,CAAC;YACH,QAAQ,CAAC,OAAO,EAAE,GAAG,GAAG,IAAI,GAAG,SAAS,CAAC;YACzC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;YAC1C,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;SAC9C,CAAC;KACH,CAAC;CACH,CAAC;AACF,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,SAAS,EAAE,uBAAuB,CAAC;CACpC,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,eA8GR,CAAC;AAIL,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ConcreteRequest } from 'relay-runtime';
|
|
2
|
+
export type LogoutMutation$variables = Record<PropertyKey, never>;
|
|
3
|
+
export type LogoutMutation$data = {
|
|
4
|
+
readonly authMutation: {
|
|
5
|
+
readonly logout: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export type LogoutMutation = {
|
|
9
|
+
response: LogoutMutation$data;
|
|
10
|
+
variables: LogoutMutation$variables;
|
|
11
|
+
};
|
|
12
|
+
declare const node: ConcreteRequest;
|
|
13
|
+
export default node;
|
|
14
|
+
//# sourceMappingURL=LogoutMutation.graphql.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogoutMutation.graphql.d.ts","sourceRoot":"","sources":["../../../../src/graphQL/__generated__/LogoutMutation.graphql.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAClE,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,YAAY,EAAE;QACrB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;KACzB,CAAC;CACH,CAAC;AACF,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,SAAS,EAAE,wBAAwB,CAAC;CACrC,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,eA+CR,CAAC;AAIL,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useAuth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { LoginMutation, LoginMutation$variables } from '../../graphQL/__generated__/LoginMutation.graphql';
|
|
2
|
+
import { LogoutMutation } from '../../graphQL/__generated__/LogoutMutation.graphql';
|
|
3
|
+
export type Login = [(formData: FormData) => void, boolean];
|
|
4
|
+
export type Logout = [() => void, pending: boolean];
|
|
5
|
+
export type AuthActions = {
|
|
6
|
+
login: Login;
|
|
7
|
+
logout: Logout;
|
|
8
|
+
removeError: (index: number) => void;
|
|
9
|
+
};
|
|
10
|
+
export type LoginMutationType = LoginMutation;
|
|
11
|
+
export type LogoutMutationType = LogoutMutation;
|
|
12
|
+
export type LoginMutationVariables = LoginMutation$variables;
|
|
13
|
+
export type ErrorFragmentType = {
|
|
14
|
+
code: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useAuth/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,uBAAuB,EACxB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,oDAAoD,CAAC;AACpF,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,EAAE,OAAO,CAAC,CAAC;AAC5D,MAAM,MAAM,MAAM,GAAG,CAAC,MAAM,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;AACpD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC;AAC9C,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC;AAChD,MAAM,MAAM,sBAAsB,GAAG,uBAAuB,CAAC;AAC7D,MAAM,MAAM,iBAAiB,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAuth.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useAuth/useAuth.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EAIX,iBAAiB,EAGlB,MAAM,SAAS,CAAC;AAIjB,MAAM,CAAC,OAAO,UAAU,OAAO,IAAI,CAAC,OAAO,EAAE,iBAAiB,EAAE,EAAE,WAAW,CAAC,CAwE7E"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const AuthContext: import('react').Context<[boolean, import('../../hooks/useAuth/types').ErrorFragmentType[], import('../../hooks/useAuth/types').AuthActions] | null>;
|
|
2
|
+
export default function AuthProvider({ children }: {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=AuthProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthProvider.d.ts","sourceRoot":"","sources":["../../../../src/store/AuthContext/AuthProvider.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,qJAAyD,CAAC;AAElF,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAQhF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/store/AuthContext/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAuthContext.d.ts","sourceRoot":"","sources":["../../../../src/store/AuthContext/useAuthContext.tsx"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,UAAU,cAAc,wHAMrC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { AuthWrapperProps } from './types';
|
|
2
|
+
export default function AuthWrapper({ ChangePasswordWidget, children, title, tabs, backgroundColor, blur, elevation, color, borderRadius, border, padding, width, height, redirect, redirectPath, loggedCallback, logo, }: AuthWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=AuthWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/components/Auth/AuthWrapper.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAY,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAiC1D,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,oBAAoB,EACpB,QAAQ,EACR,KAAK,EACL,IAAI,EACJ,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,YAAY,EACZ,MAAM,EACN,OAAO,EACP,KAAK,EACL,MAAM,EACN,QAAe,EACf,YAAkB,EAClB,cAAc,EACd,IAAI,GACL,EAAE,gBAAgB,2CAkJlB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Auth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ReactNode, FC } from 'react';
|
|
2
|
+
import { FormPaperProps } from '../Styled/Paper';
|
|
3
|
+
import ITab from '../Tabs/types';
|
|
4
|
+
type WidgetProps = {
|
|
5
|
+
pending?: boolean;
|
|
6
|
+
};
|
|
7
|
+
type AuthTabs = ITab & {
|
|
8
|
+
child: FC<WidgetProps>;
|
|
9
|
+
};
|
|
10
|
+
type AuthWrapperProps = {
|
|
11
|
+
ChangePasswordWidget?: FC<WidgetProps>;
|
|
12
|
+
children?: ReactNode;
|
|
13
|
+
tabs?: Array<AuthTabs>;
|
|
14
|
+
title?: string;
|
|
15
|
+
redirect?: boolean;
|
|
16
|
+
redirectPath?: string;
|
|
17
|
+
loggedCallback?: () => void;
|
|
18
|
+
logo?: string;
|
|
19
|
+
} & FormPaperProps;
|
|
20
|
+
export type { WidgetProps, AuthTabs, AuthWrapperProps };
|
|
21
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Auth/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,IAAI,MAAM,eAAe,CAAC;AAEjC,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,KAAK,QAAQ,GAAG,IAAI,GAAG;IAAE,KAAK,EAAE,EAAE,CAAC,WAAW,CAAC,CAAA;CAAE,CAAC;AAElD,KAAK,gBAAgB,GAAG;IACtB,oBAAoB,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC;IACvC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,cAAc,CAAC;AAEnB,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorFragment.d.ts","sourceRoot":"","sources":["../../../../../src/graphQL/Fragments/ErrorFragment.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,2CAKzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoginMutation.d.ts","sourceRoot":"","sources":["../../../../../src/graphQL/Mutations/LoginMutation.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,2CAczB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogoutMutation.d.ts","sourceRoot":"","sources":["../../../../../src/graphQL/Mutations/LogoutMutation.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,2CAM1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeletedNode.d.ts","sourceRoot":"","sources":["../../../../../src/graphQL/Subscriptions/DeletedNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,2CAIvB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<43c7b26d6e9111eca2ed97dd82374a9e>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ConcreteRequest } from 'relay-runtime';
|
|
7
|
+
export type DeletedNodeSubscription$variables = Record<PropertyKey, never>;
|
|
8
|
+
export type DeletedNodeSubscription$data = {
|
|
9
|
+
readonly deletedNode: string;
|
|
10
|
+
};
|
|
11
|
+
export type DeletedNodeSubscription = {
|
|
12
|
+
response: DeletedNodeSubscription$data;
|
|
13
|
+
variables: DeletedNodeSubscription$variables;
|
|
14
|
+
};
|
|
15
|
+
declare const node: ConcreteRequest;
|
|
16
|
+
export default node;
|
|
17
|
+
//# sourceMappingURL=DeletedNodeSubscription.graphql.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeletedNodeSubscription.graphql.d.ts","sourceRoot":"","sources":["../../../../../src/graphQL/__generated__/DeletedNodeSubscription.graphql.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,MAAM,MAAM,iCAAiC,GAAG,MAAM,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAC3E,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,4BAA4B,CAAC;IACvC,SAAS,EAAE,iCAAiC,CAAC;CAC9C,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,eAoCR,CAAC;AAIL,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<23a8b0fc61ecee0413559093691af9e3>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ReaderInlineDataFragment } from 'relay-runtime';
|
|
7
|
+
import { FragmentRefs } from "relay-runtime";
|
|
8
|
+
export type ErrorFragment$data = {
|
|
9
|
+
readonly code: string;
|
|
10
|
+
readonly description: string;
|
|
11
|
+
readonly " $fragmentType": "ErrorFragment";
|
|
12
|
+
};
|
|
13
|
+
export type ErrorFragment$key = {
|
|
14
|
+
readonly " $data"?: ErrorFragment$data;
|
|
15
|
+
readonly " $fragmentSpreads": FragmentRefs<"ErrorFragment">;
|
|
16
|
+
};
|
|
17
|
+
declare const node: ReaderInlineDataFragment;
|
|
18
|
+
export default node;
|
|
19
|
+
//# sourceMappingURL=ErrorFragment.graphql.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorFragment.graphql.d.ts","sourceRoot":"","sources":["../../../../../src/graphQL/__generated__/ErrorFragment.graphql.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,gBAAgB,EAAE,eAAe,CAAC;CAC5C,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,CAAC,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IACvC,QAAQ,CAAC,mBAAmB,EAAE,YAAY,CAAC,eAAe,CAAC,CAAC;CAC7D,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,wBAGX,CAAC;AAIF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<7dd0f9c225662d152b81e9ce7912b693>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ConcreteRequest } from 'relay-runtime';
|
|
7
|
+
export type InputAuthenticationRequest = {
|
|
8
|
+
captchaValue?: string | null | undefined;
|
|
9
|
+
client_id?: string | null | undefined;
|
|
10
|
+
grant_type?: string | null | undefined;
|
|
11
|
+
newPassword?: string | null | undefined;
|
|
12
|
+
password?: string | null | undefined;
|
|
13
|
+
rFID?: string | null | undefined;
|
|
14
|
+
username?: string | null | undefined;
|
|
15
|
+
};
|
|
16
|
+
export type LoginMutation$variables = {
|
|
17
|
+
credentials: InputAuthenticationRequest;
|
|
18
|
+
};
|
|
19
|
+
export type LoginMutation$data = {
|
|
20
|
+
readonly authMutation: {
|
|
21
|
+
readonly login: {
|
|
22
|
+
readonly errors: ReadonlyArray<{
|
|
23
|
+
readonly code: string;
|
|
24
|
+
readonly description: string;
|
|
25
|
+
}>;
|
|
26
|
+
readonly expires: any | null | undefined;
|
|
27
|
+
readonly token: string | null | undefined;
|
|
28
|
+
readonly username: string | null | undefined;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export type LoginMutation = {
|
|
33
|
+
response: LoginMutation$data;
|
|
34
|
+
variables: LoginMutation$variables;
|
|
35
|
+
};
|
|
36
|
+
declare const node: ConcreteRequest;
|
|
37
|
+
export default node;
|
|
38
|
+
//# sourceMappingURL=LoginMutation.graphql.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoginMutation.graphql.d.ts","sourceRoot":"","sources":["../../../../../src/graphQL/__generated__/LoginMutation.graphql.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,MAAM,MAAM,0BAA0B,GAAG;IACvC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACtC,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG;IACpC,WAAW,EAAE,0BAA0B,CAAC;CACzC,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,YAAY,EAAE;QACrB,QAAQ,CAAC,KAAK,EAAE;YACd,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;gBAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;gBACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;aAC9B,CAAC,CAAC;YACH,QAAQ,CAAC,OAAO,EAAE,GAAG,GAAG,IAAI,GAAG,SAAS,CAAC;YACzC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;YAC1C,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;SAC9C,CAAC;KACH,CAAC;CACH,CAAC;AACF,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,SAAS,EAAE,uBAAuB,CAAC;CACpC,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,eA8GR,CAAC;AAIL,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<79cf1acf2b4f3ddd1479063274005f83>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ConcreteRequest } from 'relay-runtime';
|
|
7
|
+
export type LogoutMutation$variables = Record<PropertyKey, never>;
|
|
8
|
+
export type LogoutMutation$data = {
|
|
9
|
+
readonly authMutation: {
|
|
10
|
+
readonly logout: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export type LogoutMutation = {
|
|
14
|
+
response: LogoutMutation$data;
|
|
15
|
+
variables: LogoutMutation$variables;
|
|
16
|
+
};
|
|
17
|
+
declare const node: ConcreteRequest;
|
|
18
|
+
export default node;
|
|
19
|
+
//# sourceMappingURL=LogoutMutation.graphql.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogoutMutation.graphql.d.ts","sourceRoot":"","sources":["../../../../../src/graphQL/__generated__/LogoutMutation.graphql.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAClE,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,YAAY,EAAE;QACrB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;KACzB,CAAC;CACH,CAAC;AACF,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,SAAS,EAAE,wBAAwB,CAAC;CACrC,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,eA+CR,CAAC;AAIL,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useAuth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { LoginMutation, LoginMutation$variables } from '../../graphQL/__generated__/LoginMutation.graphql';
|
|
2
|
+
import { LogoutMutation } from '../../graphQL/__generated__/LogoutMutation.graphql';
|
|
3
|
+
export type Login = [(formData: FormData) => void, boolean];
|
|
4
|
+
export type Logout = [() => void, pending: boolean];
|
|
5
|
+
export type AuthActions = {
|
|
6
|
+
login: Login;
|
|
7
|
+
logout: Logout;
|
|
8
|
+
removeError: (index: number) => void;
|
|
9
|
+
};
|
|
10
|
+
export type LoginMutationType = LoginMutation;
|
|
11
|
+
export type LogoutMutationType = LogoutMutation;
|
|
12
|
+
export type LoginMutationVariables = LoginMutation$variables;
|
|
13
|
+
export type ErrorFragmentType = {
|
|
14
|
+
code: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useAuth/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,uBAAuB,EACxB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,oDAAoD,CAAC;AACpF,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,EAAE,OAAO,CAAC,CAAC;AAC5D,MAAM,MAAM,MAAM,GAAG,CAAC,MAAM,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;AACpD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC;AAC9C,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC;AAChD,MAAM,MAAM,sBAAsB,GAAG,uBAAuB,CAAC;AAC7D,MAAM,MAAM,iBAAiB,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAuth.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useAuth/useAuth.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EAIX,iBAAiB,EAGlB,MAAM,SAAS,CAAC;AAIjB,MAAM,CAAC,OAAO,UAAU,OAAO,IAAI,CAAC,OAAO,EAAE,iBAAiB,EAAE,EAAE,WAAW,CAAC,CAwE7E"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const AuthContext: import("react").Context<[boolean, import("../../hooks/useAuth/types").ErrorFragmentType[], import("../../hooks/useAuth/types").AuthActions] | null>;
|
|
2
|
+
export default function AuthProvider({ children }: {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=AuthProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthProvider.d.ts","sourceRoot":"","sources":["../../../../../src/store/AuthContext/AuthProvider.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,qJAAyD,CAAC;AAElF,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAQhF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/store/AuthContext/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAuthContext.d.ts","sourceRoot":"","sources":["../../../../../src/store/AuthContext/useAuthContext.tsx"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,UAAU,cAAc,wHAMrC"}
|