@omniumretail/shared-resources 0.0.75 → 0.0.77
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/.eslintrc.json +31 -31
- package/README.md +44 -44
- package/dist/bundle.js +259 -259
- package/dist/types/components/BottomDrawer/index.d.ts +9 -9
- package/dist/types/components/Button/index.d.ts +2 -2
- package/dist/types/components/Footer/index.d.ts +3 -3
- package/dist/types/components/Form/FormInputField/index.d.ts +8 -8
- package/dist/types/components/Form/FormSelectField/index.d.ts +9 -9
- package/dist/types/components/Form/index.d.ts +2 -2
- package/dist/types/components/Header/index.d.ts +4 -4
- package/dist/types/components/Link/index.d.ts +6 -6
- package/dist/types/components/Navigation/index.d.ts +8 -8
- package/dist/types/components/Page/index.d.ts +13 -13
- package/dist/types/components/SharedContextProvider/index.d.ts +7 -7
- package/dist/types/components/index.d.ts +9 -9
- package/dist/types/constants/Icons.d.ts +15 -15
- package/dist/types/constants/QueryClient.d.ts +2 -2
- package/dist/types/constants/index.d.ts +2 -2
- package/dist/types/contexts/useStore.d.ts +8 -8
- package/dist/types/hooks/activateEvaluationCycleQuery.hook.d.ts +2 -2
- package/dist/types/hooks/activateQuestionnaireQuery.hook.d.ts +2 -2
- package/dist/types/hooks/cancelEvaluationCycleQuery.hook.d.ts +2 -2
- package/dist/types/hooks/cancelQuestionnaireQuery.hook.d.ts +2 -2
- package/dist/types/hooks/deleteEvaluationCycleQuery.hook.d.ts +2 -2
- package/dist/types/hooks/deleteQuestionnaireQuery.hook.d.ts +2 -2
- package/dist/types/hooks/duplicateQuestionnaireQuery.hook.d.ts +2 -2
- package/dist/types/hooks/finishEvaluationCycleQuery.hook.d.ts +2 -2
- package/dist/types/hooks/finishQuestionnaireQuery.hook.d.ts +2 -2
- package/dist/types/hooks/index.d.ts +44 -44
- package/dist/types/hooks/useAllRolesQuery.hook.d.ts +11 -11
- package/dist/types/hooks/useAllStoreQuery.hook.d.ts +13 -13
- package/dist/types/hooks/useAnalyticsEvaluationCyclesQuery.hook.d.ts +7 -7
- package/dist/types/hooks/useAnalyticsQuestionsQuery.hook.d.ts +9 -9
- package/dist/types/hooks/useAnalyticsSideBarQuery.hook.d.ts +7 -7
- package/dist/types/hooks/useAnalyticsUserIdQuery.hook.d.ts +9 -9
- package/dist/types/hooks/useAnalyticsUserQuery.hook.d.ts +11 -9
- package/dist/types/hooks/useAnswerIdQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useAnswerMutateQuery.hook.d.ts +9 -9
- package/dist/types/hooks/useAnswersUserSupervisorQuery.hook.d.ts +7 -7
- package/dist/types/hooks/useApplicationDataQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useContractStatesQuery.hook.d.ts +7 -7
- package/dist/types/hooks/useCountriesQuery.hook.d.ts +7 -7
- package/dist/types/hooks/useCustomersQuery.hook.d.ts +138 -138
- package/dist/types/hooks/useEvaluationCycleIdQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useEvaluationCycleMutateQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useEvaluationCycleQuery.hook.d.ts +10 -8
- package/dist/types/hooks/useExpUsersAnswersQuery.hook.d.ts +8 -8
- package/dist/types/hooks/useJobTitlesQuery.hook.d.ts +7 -7
- package/dist/types/hooks/useProductHierarchies.hook.d.ts +7 -7
- package/dist/types/hooks/useProductsQuery.hook.d.ts +138 -138
- package/dist/types/hooks/useQuestionnaireIdQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useQuestionnaireMutateQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useQuestionnaireQuery.hook.d.ts +11 -9
- package/dist/types/hooks/useSingleUserIdMutateQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useSingleUserIdQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useSingleUserResetPassword.hook.d.ts +2 -2
- package/dist/types/hooks/useStoreQuery.d.ts +7 -7
- package/dist/types/hooks/useTermNotificationQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useUpdateSupervisorMutateQuery.hook.d.ts +8 -8
- package/dist/types/hooks/useUserBlockQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useUserEmailVerifQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useUserIdQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useUserListQuery.hook.d.ts +8 -8
- package/dist/types/hooks/useUserQuery.hook.d.ts +12 -10
- package/dist/types/index.d.ts +7 -7
- package/dist/types/interfaces/AnalyticsEvaluationCycle.d.ts +19 -19
- package/dist/types/interfaces/AnalyticsUserId.d.ts +12 -12
- package/dist/types/interfaces/Answer.d.ts +12 -12
- package/dist/types/interfaces/AnswersUserSupervisor.d.ts +42 -42
- package/dist/types/interfaces/ApplicationsByCategory.d.ts +16 -16
- package/dist/types/interfaces/Brand.d.ts +4 -4
- package/dist/types/interfaces/Cart.d.ts +10 -10
- package/dist/types/interfaces/Configuration.d.ts +6 -6
- package/dist/types/interfaces/ContractStates.d.ts +7 -7
- package/dist/types/interfaces/Countries.d.ts +10 -10
- package/dist/types/interfaces/Customer.d.ts +21 -21
- package/dist/types/interfaces/EvaluationCycle.d.ts +32 -32
- package/dist/types/interfaces/ExpUsersAnswers.d.ts +15 -15
- package/dist/types/interfaces/JobTitles.d.ts +7 -7
- package/dist/types/interfaces/Product.d.ts +15 -15
- package/dist/types/interfaces/ProductsHierarchies.d.ts +5 -5
- package/dist/types/interfaces/Questionnaire.d.ts +36 -36
- package/dist/types/interfaces/ResponseList.d.ts +5 -5
- package/dist/types/interfaces/Roles.d.ts +5 -5
- package/dist/types/interfaces/Store.d.ts +7 -7
- package/dist/types/interfaces/TermNotification.d.ts +5 -5
- package/dist/types/interfaces/User.d.ts +67 -65
- package/dist/types/interfaces/index.d.ts +22 -22
- package/dist/types/services/ApiService/index.d.ts +9 -9
- package/dist/types/services/InitService/index.d.ts +3 -3
- package/dist/types/services/index.d.ts +2 -2
- package/package.json +54 -54
- package/src/assets/sitoo.svg +9 -9
- package/src/components/BottomDrawer/index.tsx +32 -32
- package/src/components/BottomDrawer/styles.module.scss +59 -59
- package/src/components/Button/index.tsx +7 -7
- package/src/components/Footer/index.tsx +44 -44
- package/src/components/Footer/styles.module.scss +33 -33
- package/src/components/Form/FormInputField/index.tsx +18 -18
- package/src/components/Form/FormSelectField/index.tsx +16 -16
- package/src/components/Form/index.ts +2 -2
- package/src/components/Header/index.tsx +20 -20
- package/src/components/Header/styles.module.scss +16 -16
- package/src/components/Link/index.tsx +21 -21
- package/src/components/Link/styles.module.scss +24 -24
- package/src/components/Navigation/index.tsx +30 -30
- package/src/components/Navigation/styles.module.scss +34 -34
- package/src/components/Page/index.tsx +35 -35
- package/src/components/Page/styles.module.scss +26 -26
- package/src/components/SharedContextProvider/index.tsx +30 -30
- package/src/components/index.ts +9 -9
- package/src/constants/Icons.ts +23 -23
- package/src/constants/QueryClient.ts +10 -10
- package/src/constants/index.ts +2 -2
- package/src/contexts/useStore.tsx +20 -20
- package/src/global.scss +124 -124
- package/src/hooks/activateEvaluationCycleQuery.hook.ts +15 -15
- package/src/hooks/activateQuestionnaireQuery.hook.ts +15 -15
- package/src/hooks/cancelEvaluationCycleQuery.hook.ts +15 -15
- package/src/hooks/cancelQuestionnaireQuery.hook.ts +15 -15
- package/src/hooks/deleteEvaluationCycleQuery.hook.ts +15 -15
- package/src/hooks/deleteQuestionnaireQuery.hook.ts +15 -15
- package/src/hooks/duplicateQuestionnaireQuery.hook.ts +14 -14
- package/src/hooks/finishEvaluationCycleQuery.hook.ts +15 -15
- package/src/hooks/finishQuestionnaireQuery.hook.ts +15 -15
- package/src/hooks/index.ts +44 -44
- package/src/hooks/useAllRolesQuery.hook.ts +25 -25
- package/src/hooks/useAllStoreQuery.hook.ts +39 -39
- package/src/hooks/useAnalyticsEvaluationCyclesQuery.hook.ts +21 -21
- package/src/hooks/useAnalyticsQuestionsQuery.hook.ts +22 -22
- package/src/hooks/useAnalyticsSideBarQuery.hook.ts +21 -21
- package/src/hooks/useAnalyticsUserIdQuery.hook.ts +24 -24
- package/src/hooks/useAnalyticsUserQuery.hook.ts +29 -27
- package/src/hooks/useAnswerIdQuery.hook.ts +13 -13
- package/src/hooks/useAnswerMutateQuery.hook.ts +31 -31
- package/src/hooks/useAnswersUserSupervisorQuery.hook.tsx +21 -21
- package/src/hooks/useApplicationDataQuery.hook.ts +10 -10
- package/src/hooks/useContractStatesQuery.hook.ts +14 -14
- package/src/hooks/useCountriesQuery.hook.ts +14 -14
- package/src/hooks/useCustomersQuery.hook.ts +30 -30
- package/src/hooks/useEvaluationCycleIdQuery.hook.ts +13 -13
- package/src/hooks/useEvaluationCycleMutateQuery.hook.ts +17 -17
- package/src/hooks/useEvaluationCycleQuery.hook.ts +27 -25
- package/src/hooks/useExpUsersAnswersQuery.hook.ts +25 -25
- package/src/hooks/useJobTitlesQuery.hook.ts +14 -14
- package/src/hooks/useProductHierarchies.hook.ts +12 -12
- package/src/hooks/useProductsQuery.hook.ts +30 -30
- package/src/hooks/useQuestionnaireIdQuery.hook.ts +13 -13
- package/src/hooks/useQuestionnaireMutateQuery.hook.ts +17 -17
- package/src/hooks/useQuestionnaireQuery.hook.ts +29 -27
- package/src/hooks/useSingleUserIdMutateQuery.hook.ts +18 -18
- package/src/hooks/useSingleUserIdQuery.hook.ts +14 -14
- package/src/hooks/useSingleUserResetPassword.hook.ts +15 -15
- package/src/hooks/useStoreQuery.ts +13 -13
- package/src/hooks/useTermNotificationQuery.hook.ts +11 -11
- package/src/hooks/useUpdateSupervisorMutateQuery.hook.ts +27 -27
- package/src/hooks/useUserBlockQuery.hook.ts +15 -15
- package/src/hooks/useUserEmailVerifQuery.hook.ts +15 -15
- package/src/hooks/useUserIdQuery.hook.ts +14 -14
- package/src/hooks/useUserListQuery.hook.ts +25 -25
- package/src/hooks/useUserQuery.hook.ts +31 -29
- package/src/index.ts +9 -9
- package/src/interfaces/AnalyticsEvaluationCycle.ts +24 -24
- package/src/interfaces/AnalyticsUserId.ts +13 -13
- package/src/interfaces/Answer.ts +13 -13
- package/src/interfaces/AnswersUserSupervisor.ts +45 -45
- package/src/interfaces/ApplicationsByCategory.ts +19 -19
- package/src/interfaces/Brand.ts +4 -4
- package/src/interfaces/Cart.ts +13 -13
- package/src/interfaces/Configuration.ts +7 -7
- package/src/interfaces/ContractStates.ts +7 -7
- package/src/interfaces/Countries.ts +10 -10
- package/src/interfaces/Customer.ts +23 -23
- package/src/interfaces/EvaluationCycle.ts +32 -32
- package/src/interfaces/ExpUsersAnswers.ts +16 -16
- package/src/interfaces/JobTitles.ts +7 -7
- package/src/interfaces/Product.ts +17 -17
- package/src/interfaces/ProductsHierarchies.ts +6 -6
- package/src/interfaces/Questionnaire.ts +38 -38
- package/src/interfaces/ResponseList.ts +6 -6
- package/src/interfaces/Roles.ts +5 -5
- package/src/interfaces/Store.ts +8 -8
- package/src/interfaces/TermNotification.ts +5 -5
- package/src/interfaces/User.ts +71 -69
- package/src/interfaces/index.ts +22 -22
- package/src/services/ApiService/index.ts +125 -125
- package/src/services/InitService/index.ts +7 -7
- package/src/services/index.ts +3 -3
- package/src/types/Global.d.ts +4 -4
- package/tsconfig.json +27 -27
- package/webpack.config.js +48 -48
|
@@ -1,138 +1,138 @@
|
|
|
1
|
-
import { Product, ResponseList } from '..';
|
|
2
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
3
|
-
export interface ProductsQuery extends UseQueryOptions<ResponseList<"Products", Product>> {
|
|
4
|
-
page?: number;
|
|
5
|
-
limit?: number;
|
|
6
|
-
filterBy?: string;
|
|
7
|
-
search?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const useProductsQueryHook: ({ page, limit, ...options }: ProductsQuery) => import("@tanstack/react-query").UseQueryResult<ResponseList<"Products", Product>, unknown>;
|
|
10
|
-
export declare const useProductInfiniteQueryHook: ({ filterBy, search }?: Omit<ProductsQuery, 'page' | 'limit'>) => {
|
|
11
|
-
count: number;
|
|
12
|
-
data: Product[];
|
|
13
|
-
error: unknown;
|
|
14
|
-
isError: true;
|
|
15
|
-
isLoading: false;
|
|
16
|
-
isLoadingError: true;
|
|
17
|
-
isRefetchError: false;
|
|
18
|
-
isSuccess: false;
|
|
19
|
-
status: "error";
|
|
20
|
-
fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<ResponseList<"Products", Product>, unknown>>;
|
|
21
|
-
fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<ResponseList<"Products", Product>, unknown>>;
|
|
22
|
-
hasNextPage?: boolean;
|
|
23
|
-
hasPreviousPage?: boolean;
|
|
24
|
-
isFetchingNextPage: boolean;
|
|
25
|
-
isFetchingPreviousPage: boolean;
|
|
26
|
-
dataUpdatedAt: number;
|
|
27
|
-
errorUpdatedAt: number;
|
|
28
|
-
failureCount: number;
|
|
29
|
-
errorUpdateCount: number;
|
|
30
|
-
isFetched: boolean;
|
|
31
|
-
isFetchedAfterMount: boolean;
|
|
32
|
-
isFetching: boolean;
|
|
33
|
-
isInitialLoading: boolean;
|
|
34
|
-
isPaused: boolean;
|
|
35
|
-
isPlaceholderData: boolean;
|
|
36
|
-
isPreviousData: boolean;
|
|
37
|
-
isRefetching: boolean;
|
|
38
|
-
isStale: boolean;
|
|
39
|
-
refetch: <TPageData>(options?: import("@tanstack/react-query").RefetchOptions & import("@tanstack/react-query").RefetchQueryFilters<TPageData>) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@tanstack/react-query").InfiniteData<ResponseList<"Products", Product>>, unknown>>;
|
|
40
|
-
remove: () => void;
|
|
41
|
-
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
42
|
-
} | {
|
|
43
|
-
count: number;
|
|
44
|
-
data: Product[];
|
|
45
|
-
error: null;
|
|
46
|
-
isError: false;
|
|
47
|
-
isLoading: true;
|
|
48
|
-
isLoadingError: false;
|
|
49
|
-
isRefetchError: false;
|
|
50
|
-
isSuccess: false;
|
|
51
|
-
status: "loading";
|
|
52
|
-
fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<ResponseList<"Products", Product>, unknown>>;
|
|
53
|
-
fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<ResponseList<"Products", Product>, unknown>>;
|
|
54
|
-
hasNextPage?: boolean;
|
|
55
|
-
hasPreviousPage?: boolean;
|
|
56
|
-
isFetchingNextPage: boolean;
|
|
57
|
-
isFetchingPreviousPage: boolean;
|
|
58
|
-
dataUpdatedAt: number;
|
|
59
|
-
errorUpdatedAt: number;
|
|
60
|
-
failureCount: number;
|
|
61
|
-
errorUpdateCount: number;
|
|
62
|
-
isFetched: boolean;
|
|
63
|
-
isFetchedAfterMount: boolean;
|
|
64
|
-
isFetching: boolean;
|
|
65
|
-
isInitialLoading: boolean;
|
|
66
|
-
isPaused: boolean;
|
|
67
|
-
isPlaceholderData: boolean;
|
|
68
|
-
isPreviousData: boolean;
|
|
69
|
-
isRefetching: boolean;
|
|
70
|
-
isStale: boolean;
|
|
71
|
-
refetch: <TPageData>(options?: import("@tanstack/react-query").RefetchOptions & import("@tanstack/react-query").RefetchQueryFilters<TPageData>) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@tanstack/react-query").InfiniteData<ResponseList<"Products", Product>>, unknown>>;
|
|
72
|
-
remove: () => void;
|
|
73
|
-
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
74
|
-
} | {
|
|
75
|
-
count: number;
|
|
76
|
-
data: Product[];
|
|
77
|
-
error: unknown;
|
|
78
|
-
isError: true;
|
|
79
|
-
isLoading: false;
|
|
80
|
-
isLoadingError: false;
|
|
81
|
-
isRefetchError: true;
|
|
82
|
-
isSuccess: false;
|
|
83
|
-
status: "error";
|
|
84
|
-
fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<ResponseList<"Products", Product>, unknown>>;
|
|
85
|
-
fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<ResponseList<"Products", Product>, unknown>>;
|
|
86
|
-
hasNextPage?: boolean;
|
|
87
|
-
hasPreviousPage?: boolean;
|
|
88
|
-
isFetchingNextPage: boolean;
|
|
89
|
-
isFetchingPreviousPage: boolean;
|
|
90
|
-
dataUpdatedAt: number;
|
|
91
|
-
errorUpdatedAt: number;
|
|
92
|
-
failureCount: number;
|
|
93
|
-
errorUpdateCount: number;
|
|
94
|
-
isFetched: boolean;
|
|
95
|
-
isFetchedAfterMount: boolean;
|
|
96
|
-
isFetching: boolean;
|
|
97
|
-
isInitialLoading: boolean;
|
|
98
|
-
isPaused: boolean;
|
|
99
|
-
isPlaceholderData: boolean;
|
|
100
|
-
isPreviousData: boolean;
|
|
101
|
-
isRefetching: boolean;
|
|
102
|
-
isStale: boolean;
|
|
103
|
-
refetch: <TPageData>(options?: import("@tanstack/react-query").RefetchOptions & import("@tanstack/react-query").RefetchQueryFilters<TPageData>) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@tanstack/react-query").InfiniteData<ResponseList<"Products", Product>>, unknown>>;
|
|
104
|
-
remove: () => void;
|
|
105
|
-
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
106
|
-
} | {
|
|
107
|
-
count: number;
|
|
108
|
-
data: Product[];
|
|
109
|
-
error: null;
|
|
110
|
-
isError: false;
|
|
111
|
-
isLoading: false;
|
|
112
|
-
isLoadingError: false;
|
|
113
|
-
isRefetchError: false;
|
|
114
|
-
isSuccess: true;
|
|
115
|
-
status: "success";
|
|
116
|
-
fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<ResponseList<"Products", Product>, unknown>>;
|
|
117
|
-
fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<ResponseList<"Products", Product>, unknown>>;
|
|
118
|
-
hasNextPage?: boolean;
|
|
119
|
-
hasPreviousPage?: boolean;
|
|
120
|
-
isFetchingNextPage: boolean;
|
|
121
|
-
isFetchingPreviousPage: boolean;
|
|
122
|
-
dataUpdatedAt: number;
|
|
123
|
-
errorUpdatedAt: number;
|
|
124
|
-
failureCount: number;
|
|
125
|
-
errorUpdateCount: number;
|
|
126
|
-
isFetched: boolean;
|
|
127
|
-
isFetchedAfterMount: boolean;
|
|
128
|
-
isFetching: boolean;
|
|
129
|
-
isInitialLoading: boolean;
|
|
130
|
-
isPaused: boolean;
|
|
131
|
-
isPlaceholderData: boolean;
|
|
132
|
-
isPreviousData: boolean;
|
|
133
|
-
isRefetching: boolean;
|
|
134
|
-
isStale: boolean;
|
|
135
|
-
refetch: <TPageData>(options?: import("@tanstack/react-query").RefetchOptions & import("@tanstack/react-query").RefetchQueryFilters<TPageData>) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@tanstack/react-query").InfiniteData<ResponseList<"Products", Product>>, unknown>>;
|
|
136
|
-
remove: () => void;
|
|
137
|
-
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
138
|
-
};
|
|
1
|
+
import { Product, ResponseList } from '..';
|
|
2
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
3
|
+
export interface ProductsQuery extends UseQueryOptions<ResponseList<"Products", Product>> {
|
|
4
|
+
page?: number;
|
|
5
|
+
limit?: number;
|
|
6
|
+
filterBy?: string;
|
|
7
|
+
search?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const useProductsQueryHook: ({ page, limit, ...options }: ProductsQuery) => import("@tanstack/react-query").UseQueryResult<ResponseList<"Products", Product>, unknown>;
|
|
10
|
+
export declare const useProductInfiniteQueryHook: ({ filterBy, search }?: Omit<ProductsQuery, 'page' | 'limit'>) => {
|
|
11
|
+
count: number;
|
|
12
|
+
data: Product[];
|
|
13
|
+
error: unknown;
|
|
14
|
+
isError: true;
|
|
15
|
+
isLoading: false;
|
|
16
|
+
isLoadingError: true;
|
|
17
|
+
isRefetchError: false;
|
|
18
|
+
isSuccess: false;
|
|
19
|
+
status: "error";
|
|
20
|
+
fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<ResponseList<"Products", Product>, unknown>>;
|
|
21
|
+
fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<ResponseList<"Products", Product>, unknown>>;
|
|
22
|
+
hasNextPage?: boolean;
|
|
23
|
+
hasPreviousPage?: boolean;
|
|
24
|
+
isFetchingNextPage: boolean;
|
|
25
|
+
isFetchingPreviousPage: boolean;
|
|
26
|
+
dataUpdatedAt: number;
|
|
27
|
+
errorUpdatedAt: number;
|
|
28
|
+
failureCount: number;
|
|
29
|
+
errorUpdateCount: number;
|
|
30
|
+
isFetched: boolean;
|
|
31
|
+
isFetchedAfterMount: boolean;
|
|
32
|
+
isFetching: boolean;
|
|
33
|
+
isInitialLoading: boolean;
|
|
34
|
+
isPaused: boolean;
|
|
35
|
+
isPlaceholderData: boolean;
|
|
36
|
+
isPreviousData: boolean;
|
|
37
|
+
isRefetching: boolean;
|
|
38
|
+
isStale: boolean;
|
|
39
|
+
refetch: <TPageData>(options?: import("@tanstack/react-query").RefetchOptions & import("@tanstack/react-query").RefetchQueryFilters<TPageData>) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@tanstack/react-query").InfiniteData<ResponseList<"Products", Product>>, unknown>>;
|
|
40
|
+
remove: () => void;
|
|
41
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
42
|
+
} | {
|
|
43
|
+
count: number;
|
|
44
|
+
data: Product[];
|
|
45
|
+
error: null;
|
|
46
|
+
isError: false;
|
|
47
|
+
isLoading: true;
|
|
48
|
+
isLoadingError: false;
|
|
49
|
+
isRefetchError: false;
|
|
50
|
+
isSuccess: false;
|
|
51
|
+
status: "loading";
|
|
52
|
+
fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<ResponseList<"Products", Product>, unknown>>;
|
|
53
|
+
fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<ResponseList<"Products", Product>, unknown>>;
|
|
54
|
+
hasNextPage?: boolean;
|
|
55
|
+
hasPreviousPage?: boolean;
|
|
56
|
+
isFetchingNextPage: boolean;
|
|
57
|
+
isFetchingPreviousPage: boolean;
|
|
58
|
+
dataUpdatedAt: number;
|
|
59
|
+
errorUpdatedAt: number;
|
|
60
|
+
failureCount: number;
|
|
61
|
+
errorUpdateCount: number;
|
|
62
|
+
isFetched: boolean;
|
|
63
|
+
isFetchedAfterMount: boolean;
|
|
64
|
+
isFetching: boolean;
|
|
65
|
+
isInitialLoading: boolean;
|
|
66
|
+
isPaused: boolean;
|
|
67
|
+
isPlaceholderData: boolean;
|
|
68
|
+
isPreviousData: boolean;
|
|
69
|
+
isRefetching: boolean;
|
|
70
|
+
isStale: boolean;
|
|
71
|
+
refetch: <TPageData>(options?: import("@tanstack/react-query").RefetchOptions & import("@tanstack/react-query").RefetchQueryFilters<TPageData>) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@tanstack/react-query").InfiniteData<ResponseList<"Products", Product>>, unknown>>;
|
|
72
|
+
remove: () => void;
|
|
73
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
74
|
+
} | {
|
|
75
|
+
count: number;
|
|
76
|
+
data: Product[];
|
|
77
|
+
error: unknown;
|
|
78
|
+
isError: true;
|
|
79
|
+
isLoading: false;
|
|
80
|
+
isLoadingError: false;
|
|
81
|
+
isRefetchError: true;
|
|
82
|
+
isSuccess: false;
|
|
83
|
+
status: "error";
|
|
84
|
+
fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<ResponseList<"Products", Product>, unknown>>;
|
|
85
|
+
fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<ResponseList<"Products", Product>, unknown>>;
|
|
86
|
+
hasNextPage?: boolean;
|
|
87
|
+
hasPreviousPage?: boolean;
|
|
88
|
+
isFetchingNextPage: boolean;
|
|
89
|
+
isFetchingPreviousPage: boolean;
|
|
90
|
+
dataUpdatedAt: number;
|
|
91
|
+
errorUpdatedAt: number;
|
|
92
|
+
failureCount: number;
|
|
93
|
+
errorUpdateCount: number;
|
|
94
|
+
isFetched: boolean;
|
|
95
|
+
isFetchedAfterMount: boolean;
|
|
96
|
+
isFetching: boolean;
|
|
97
|
+
isInitialLoading: boolean;
|
|
98
|
+
isPaused: boolean;
|
|
99
|
+
isPlaceholderData: boolean;
|
|
100
|
+
isPreviousData: boolean;
|
|
101
|
+
isRefetching: boolean;
|
|
102
|
+
isStale: boolean;
|
|
103
|
+
refetch: <TPageData>(options?: import("@tanstack/react-query").RefetchOptions & import("@tanstack/react-query").RefetchQueryFilters<TPageData>) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@tanstack/react-query").InfiniteData<ResponseList<"Products", Product>>, unknown>>;
|
|
104
|
+
remove: () => void;
|
|
105
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
106
|
+
} | {
|
|
107
|
+
count: number;
|
|
108
|
+
data: Product[];
|
|
109
|
+
error: null;
|
|
110
|
+
isError: false;
|
|
111
|
+
isLoading: false;
|
|
112
|
+
isLoadingError: false;
|
|
113
|
+
isRefetchError: false;
|
|
114
|
+
isSuccess: true;
|
|
115
|
+
status: "success";
|
|
116
|
+
fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<ResponseList<"Products", Product>, unknown>>;
|
|
117
|
+
fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<ResponseList<"Products", Product>, unknown>>;
|
|
118
|
+
hasNextPage?: boolean;
|
|
119
|
+
hasPreviousPage?: boolean;
|
|
120
|
+
isFetchingNextPage: boolean;
|
|
121
|
+
isFetchingPreviousPage: boolean;
|
|
122
|
+
dataUpdatedAt: number;
|
|
123
|
+
errorUpdatedAt: number;
|
|
124
|
+
failureCount: number;
|
|
125
|
+
errorUpdateCount: number;
|
|
126
|
+
isFetched: boolean;
|
|
127
|
+
isFetchedAfterMount: boolean;
|
|
128
|
+
isFetching: boolean;
|
|
129
|
+
isInitialLoading: boolean;
|
|
130
|
+
isPaused: boolean;
|
|
131
|
+
isPlaceholderData: boolean;
|
|
132
|
+
isPreviousData: boolean;
|
|
133
|
+
isRefetching: boolean;
|
|
134
|
+
isStale: boolean;
|
|
135
|
+
refetch: <TPageData>(options?: import("@tanstack/react-query").RefetchOptions & import("@tanstack/react-query").RefetchQueryFilters<TPageData>) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@tanstack/react-query").InfiniteData<ResponseList<"Products", Product>>, unknown>>;
|
|
136
|
+
remove: () => void;
|
|
137
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
138
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Questionnaire } from "../interfaces";
|
|
2
|
-
export declare const useQuestionnaireIdQueryHook: (surveyId: string) => import("@tanstack/react-query").UseQueryResult<Questionnaire, unknown>;
|
|
1
|
+
import { Questionnaire } from "../interfaces";
|
|
2
|
+
export declare const useQuestionnaireIdQueryHook: (surveyId: string) => import("@tanstack/react-query").UseQueryResult<Questionnaire, unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Questionnaire } from '../interfaces/Questionnaire';
|
|
2
|
-
export declare const useQuestionnaireMutateHook: () => import("@tanstack/react-query").UseMutationResult<Questionnaire, unknown, Questionnaire, unknown>;
|
|
1
|
+
import { Questionnaire } from '../interfaces/Questionnaire';
|
|
2
|
+
export declare const useQuestionnaireMutateHook: () => import("@tanstack/react-query").UseMutationResult<Questionnaire, unknown, Questionnaire, unknown>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { Questionnaire, ResponseList } from "../interfaces";
|
|
3
|
-
export interface QuestionnaireQuery extends UseQueryOptions<ResponseList<"Questionnairezes", Questionnaire>> {
|
|
4
|
-
tags?: string;
|
|
5
|
-
page?: number;
|
|
6
|
-
records?: number;
|
|
7
|
-
queryField?: string;
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { Questionnaire, ResponseList } from "../interfaces";
|
|
3
|
+
export interface QuestionnaireQuery extends UseQueryOptions<ResponseList<"Questionnairezes", Questionnaire>> {
|
|
4
|
+
tags?: string;
|
|
5
|
+
page?: number;
|
|
6
|
+
records?: number;
|
|
7
|
+
queryField?: string;
|
|
8
|
+
sortBy?: string;
|
|
9
|
+
sortDirection?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const useQuestionnaireQueryHook: ({ tags, page, records, queryField, sortBy, sortDirection }: QuestionnaireQuery) => import("@tanstack/react-query").UseQueryResult<ResponseList<"Questionnairezes", Questionnaire>, unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SingleUser } from '../interfaces/User';
|
|
2
|
-
export declare const useSingleUserIdMutateQuery: (bodyType?: string) => import("@tanstack/react-query").UseMutationResult<SingleUser, unknown, SingleUser, unknown>;
|
|
1
|
+
import { SingleUser } from '../interfaces/User';
|
|
2
|
+
export declare const useSingleUserIdMutateQuery: (bodyType?: string) => import("@tanstack/react-query").UseMutationResult<SingleUser, unknown, SingleUser, unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { User } from "../interfaces";
|
|
2
|
-
export declare const useSingleUserIdQueryHook: (userId: string) => import("@tanstack/react-query").UseQueryResult<User, unknown>;
|
|
1
|
+
import { User } from "../interfaces";
|
|
2
|
+
export declare const useSingleUserIdQueryHook: (userId: string) => import("@tanstack/react-query").UseQueryResult<User, unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { User } from "../interfaces";
|
|
2
|
-
export declare const useSingleUserResetPassword: (userId: string) => import("@tanstack/react-query").UseMutationResult<User, unknown, User, unknown>;
|
|
1
|
+
import { User } from "../interfaces";
|
|
2
|
+
export declare const useSingleUserResetPassword: (userId: string) => import("@tanstack/react-query").UseMutationResult<User, unknown, User, unknown>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { Store } from "../interfaces/Store";
|
|
3
|
-
interface StoreQueryProps extends UseQueryOptions<Store> {
|
|
4
|
-
id: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const useStoreQuery: ({ id, ...options }: StoreQueryProps) => import("@tanstack/react-query").UseQueryResult<Store, unknown>;
|
|
7
|
-
export {};
|
|
1
|
+
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { Store } from "../interfaces/Store";
|
|
3
|
+
interface StoreQueryProps extends UseQueryOptions<Store> {
|
|
4
|
+
id: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const useStoreQuery: ({ id, ...options }: StoreQueryProps) => import("@tanstack/react-query").UseQueryResult<Store, unknown>;
|
|
7
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TermNotification } from "../interfaces";
|
|
2
|
-
export declare const useTermNotificationQueryHook: () => import("@tanstack/react-query").UseQueryResult<TermNotification[], unknown>;
|
|
1
|
+
import { TermNotification } from "../interfaces";
|
|
2
|
+
export declare const useTermNotificationQueryHook: () => import("@tanstack/react-query").UseQueryResult<TermNotification[], unknown>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import { EvaluationCycle } from '../interfaces/EvaluationCycle';
|
|
3
|
-
export interface UpdateSupervisorMutateQuery extends UseQueryOptions<EvaluationCycle> {
|
|
4
|
-
evaluationCycleId?: string;
|
|
5
|
-
userId?: string;
|
|
6
|
-
supervisorId?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const useUpdateSupervisorMutateQueryHook: ({ evaluationCycleId, userId, supervisorId }: UpdateSupervisorMutateQuery) => import("@tanstack/react-query").UseMutationResult<EvaluationCycle, unknown, EvaluationCycle, unknown>;
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import { EvaluationCycle } from '../interfaces/EvaluationCycle';
|
|
3
|
+
export interface UpdateSupervisorMutateQuery extends UseQueryOptions<EvaluationCycle> {
|
|
4
|
+
evaluationCycleId?: string;
|
|
5
|
+
userId?: string;
|
|
6
|
+
supervisorId?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const useUpdateSupervisorMutateQueryHook: ({ evaluationCycleId, userId, supervisorId }: UpdateSupervisorMutateQuery) => import("@tanstack/react-query").UseMutationResult<EvaluationCycle, unknown, EvaluationCycle, unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { User } from "../interfaces";
|
|
2
|
-
export declare const useUserBlockQueryHook: () => import("@tanstack/react-query").UseMutationResult<User, unknown, User, unknown>;
|
|
1
|
+
import { User } from "../interfaces";
|
|
2
|
+
export declare const useUserBlockQueryHook: () => import("@tanstack/react-query").UseMutationResult<User, unknown, User, unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { User } from "../interfaces";
|
|
2
|
-
export declare const useUserEmailVerifQueryHook: () => import("@tanstack/react-query").UseMutationResult<User, unknown, User, unknown>;
|
|
1
|
+
import { User } from "../interfaces";
|
|
2
|
+
export declare const useUserEmailVerifQueryHook: () => import("@tanstack/react-query").UseMutationResult<User, unknown, User, unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { User } from "../interfaces";
|
|
2
|
-
export declare const useUserIdQueryHook: (userId: string) => import("@tanstack/react-query").UseQueryResult<User, unknown>;
|
|
1
|
+
import { User } from "../interfaces";
|
|
2
|
+
export declare const useUserIdQueryHook: (userId: string) => import("@tanstack/react-query").UseQueryResult<User, unknown>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { User, ResponseList } from "../interfaces";
|
|
3
|
-
export interface UserListQuery extends UseQueryOptions<ResponseList<"Users", User>> {
|
|
4
|
-
tags?: string;
|
|
5
|
-
records: number;
|
|
6
|
-
page: number;
|
|
7
|
-
}
|
|
8
|
-
export declare const useUserListQueryHook: ({ tags, records, page }: UserListQuery) => import("@tanstack/react-query").UseQueryResult<ResponseList<"Users", User>, unknown>;
|
|
1
|
+
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { User, ResponseList } from "../interfaces";
|
|
3
|
+
export interface UserListQuery extends UseQueryOptions<ResponseList<"Users", User>> {
|
|
4
|
+
tags?: string;
|
|
5
|
+
records: number;
|
|
6
|
+
page: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const useUserListQueryHook: ({ tags, records, page }: UserListQuery) => import("@tanstack/react-query").UseQueryResult<ResponseList<"Users", User>, unknown>;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { User, ResponseList } from "../interfaces";
|
|
3
|
-
export interface UserQuery extends UseQueryOptions<ResponseList<"Users", User>> {
|
|
4
|
-
tags?: string;
|
|
5
|
-
page?: number;
|
|
6
|
-
records?: number;
|
|
7
|
-
evaluationId?: string;
|
|
8
|
-
queryField?: string;
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { User, ResponseList } from "../interfaces";
|
|
3
|
+
export interface UserQuery extends UseQueryOptions<ResponseList<"Users", User>> {
|
|
4
|
+
tags?: string;
|
|
5
|
+
page?: number;
|
|
6
|
+
records?: number;
|
|
7
|
+
evaluationId?: string;
|
|
8
|
+
queryField?: string;
|
|
9
|
+
sortBy?: string;
|
|
10
|
+
sortDirection?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const useUserQueryHook: ({ tags, evaluationId, page, records, queryField, sortBy, sortDirection }: UserQuery) => import("@tanstack/react-query").UseQueryResult<ResponseList<"Users", User>, unknown>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Form } from 'antd';
|
|
2
|
-
export * from './interfaces';
|
|
3
|
-
export * from './services';
|
|
4
|
-
export * from './components';
|
|
5
|
-
export * from './constants';
|
|
6
|
-
export * from './hooks';
|
|
7
|
-
import './global.scss';
|
|
1
|
+
export { Form } from 'antd';
|
|
2
|
+
export * from './interfaces';
|
|
3
|
+
export * from './services';
|
|
4
|
+
export * from './components';
|
|
5
|
+
export * from './constants';
|
|
6
|
+
export * from './hooks';
|
|
7
|
+
import './global.scss';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export interface AnalyticsEvaluationCycle {
|
|
2
|
-
Label: string;
|
|
3
|
-
Items: Items[];
|
|
4
|
-
}
|
|
5
|
-
export interface Items {
|
|
6
|
-
Id: string;
|
|
7
|
-
Name: string;
|
|
8
|
-
Categorys: CategoriesInterface[];
|
|
9
|
-
}
|
|
10
|
-
export interface CategoriesInterface {
|
|
11
|
-
CategoryId: string;
|
|
12
|
-
CategoryName: string;
|
|
13
|
-
SubCategory: CategoriesInterface[];
|
|
14
|
-
Questions: QuestionsInterface[];
|
|
15
|
-
}
|
|
16
|
-
export interface QuestionsInterface {
|
|
17
|
-
QuestionId: string;
|
|
18
|
-
QuestionName: string;
|
|
19
|
-
}
|
|
1
|
+
export interface AnalyticsEvaluationCycle {
|
|
2
|
+
Label: string;
|
|
3
|
+
Items: Items[];
|
|
4
|
+
}
|
|
5
|
+
export interface Items {
|
|
6
|
+
Id: string;
|
|
7
|
+
Name: string;
|
|
8
|
+
Categorys: CategoriesInterface[];
|
|
9
|
+
}
|
|
10
|
+
export interface CategoriesInterface {
|
|
11
|
+
CategoryId: string;
|
|
12
|
+
CategoryName: string;
|
|
13
|
+
SubCategory: CategoriesInterface[];
|
|
14
|
+
Questions: QuestionsInterface[];
|
|
15
|
+
}
|
|
16
|
+
export interface QuestionsInterface {
|
|
17
|
+
QuestionId: string;
|
|
18
|
+
QuestionName: string;
|
|
19
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface AnalyticsUserId {
|
|
2
|
-
StartDate: string;
|
|
3
|
-
EndDate: string;
|
|
4
|
-
EvaluationCycleState: string;
|
|
5
|
-
EvaluationCycleId: string;
|
|
6
|
-
EvaluationCycleName: string;
|
|
7
|
-
UserName: string;
|
|
8
|
-
Type: string;
|
|
9
|
-
UserGrade: string;
|
|
10
|
-
SupervisorGrade: string;
|
|
11
|
-
IsSupervisor: boolean;
|
|
12
|
-
}
|
|
1
|
+
export interface AnalyticsUserId {
|
|
2
|
+
StartDate: string;
|
|
3
|
+
EndDate: string;
|
|
4
|
+
EvaluationCycleState: string;
|
|
5
|
+
EvaluationCycleId: string;
|
|
6
|
+
EvaluationCycleName: string;
|
|
7
|
+
UserName: string;
|
|
8
|
+
Type: string;
|
|
9
|
+
UserGrade: string;
|
|
10
|
+
SupervisorGrade: string;
|
|
11
|
+
IsSupervisor: boolean;
|
|
12
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Categories, Questions } from './Questionnaire';
|
|
2
|
-
export interface Answer {
|
|
3
|
-
Id: string;
|
|
4
|
-
EvaluationCycleId: string;
|
|
5
|
-
QuestionnaireId: string;
|
|
6
|
-
UserId: string;
|
|
7
|
-
TargetUserId: string;
|
|
8
|
-
StartDate: number;
|
|
9
|
-
EndDate: number;
|
|
10
|
-
CategoryAnswers: Categories[];
|
|
11
|
-
Question: Questions;
|
|
12
|
-
}
|
|
1
|
+
import { Categories, Questions } from './Questionnaire';
|
|
2
|
+
export interface Answer {
|
|
3
|
+
Id: string;
|
|
4
|
+
EvaluationCycleId: string;
|
|
5
|
+
QuestionnaireId: string;
|
|
6
|
+
UserId: string;
|
|
7
|
+
TargetUserId: string;
|
|
8
|
+
StartDate: number;
|
|
9
|
+
EndDate: number;
|
|
10
|
+
CategoryAnswers: Categories[];
|
|
11
|
+
Question: Questions;
|
|
12
|
+
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
export interface AnswersUserSupervisor {
|
|
2
|
-
Id: string;
|
|
3
|
-
EvaluationCycleId: string;
|
|
4
|
-
QuestionnaireId: string;
|
|
5
|
-
UserId: string;
|
|
6
|
-
TargetUserId: string;
|
|
7
|
-
StartDate: number;
|
|
8
|
-
EndDate: number;
|
|
9
|
-
UserFinalScore: string;
|
|
10
|
-
SupervisorFinalScore: string;
|
|
11
|
-
UserColer: string;
|
|
12
|
-
SupervisorColer: string;
|
|
13
|
-
CategoryAnswers: CategoryAnswers[];
|
|
14
|
-
}
|
|
15
|
-
interface CategoryAnswers {
|
|
16
|
-
Title: string;
|
|
17
|
-
Key: string;
|
|
18
|
-
Data: Data;
|
|
19
|
-
Children: CategoryAnswers[];
|
|
20
|
-
}
|
|
21
|
-
interface Data {
|
|
22
|
-
Id: string;
|
|
23
|
-
CategoryId: string;
|
|
24
|
-
CategoryName: string;
|
|
25
|
-
OpenAnswer: true;
|
|
26
|
-
GeneralEvaluationLevel: number | string;
|
|
27
|
-
Grade: string | number;
|
|
28
|
-
Description: string;
|
|
29
|
-
Score: string;
|
|
30
|
-
SupervisorScore: string;
|
|
31
|
-
Questions: Questions[];
|
|
32
|
-
}
|
|
33
|
-
interface Questions {
|
|
34
|
-
Id: string;
|
|
35
|
-
QuestionId: string;
|
|
36
|
-
Subject: string;
|
|
37
|
-
Description: string;
|
|
38
|
-
Grade: string | number;
|
|
39
|
-
UserAnswer: string;
|
|
40
|
-
SupervisorAnswer: string;
|
|
41
|
-
}
|
|
42
|
-
export {};
|
|
1
|
+
export interface AnswersUserSupervisor {
|
|
2
|
+
Id: string;
|
|
3
|
+
EvaluationCycleId: string;
|
|
4
|
+
QuestionnaireId: string;
|
|
5
|
+
UserId: string;
|
|
6
|
+
TargetUserId: string;
|
|
7
|
+
StartDate: number;
|
|
8
|
+
EndDate: number;
|
|
9
|
+
UserFinalScore: string;
|
|
10
|
+
SupervisorFinalScore: string;
|
|
11
|
+
UserColer: string;
|
|
12
|
+
SupervisorColer: string;
|
|
13
|
+
CategoryAnswers: CategoryAnswers[];
|
|
14
|
+
}
|
|
15
|
+
interface CategoryAnswers {
|
|
16
|
+
Title: string;
|
|
17
|
+
Key: string;
|
|
18
|
+
Data: Data;
|
|
19
|
+
Children: CategoryAnswers[];
|
|
20
|
+
}
|
|
21
|
+
interface Data {
|
|
22
|
+
Id: string;
|
|
23
|
+
CategoryId: string;
|
|
24
|
+
CategoryName: string;
|
|
25
|
+
OpenAnswer: true;
|
|
26
|
+
GeneralEvaluationLevel: number | string;
|
|
27
|
+
Grade: string | number;
|
|
28
|
+
Description: string;
|
|
29
|
+
Score: string;
|
|
30
|
+
SupervisorScore: string;
|
|
31
|
+
Questions: Questions[];
|
|
32
|
+
}
|
|
33
|
+
interface Questions {
|
|
34
|
+
Id: string;
|
|
35
|
+
QuestionId: string;
|
|
36
|
+
Subject: string;
|
|
37
|
+
Description: string;
|
|
38
|
+
Grade: string | number;
|
|
39
|
+
UserAnswer: string;
|
|
40
|
+
SupervisorAnswer: string;
|
|
41
|
+
}
|
|
42
|
+
export {};
|