@omniumretail/shared-resources 0.1.81 → 0.1.83
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/bundle.js +1 -1
- package/dist/types/hooks/Asta/Actions/get/getActionByIdQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Actions/get/getActionPriorityQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Actions/get/getActionQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Asta/Actions/mutate/useActionMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Actions/others/archiveActionQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Actions/others/deleteActionQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Actions/others/extractActionQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Actions/others/finishActionQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/AnswerType/get/getAllAnswerTypeQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Asta/AnswerType/get/getAnswerColorsQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/AnswerType/get/getAnswerTypeByIdQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/AnswerType/mutate/useAnswerTypeMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/AnswerType/others/deleteAnswerTypeQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/AnswerType/others/finishAnswerTypeQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Inspection/get/getInspectionQuery.hook.d.ts +2 -2
- package/dist/types/hooks/Asta/Inspection/others/archiveTemplateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Inspection/others/deleteInspectionQuery.hook.d.ts +5 -1
- package/dist/types/hooks/Asta/Inspection/others/extractTemplateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Template/get/getTemplateQuery.hook.d.ts +2 -2
- package/dist/types/hooks/index.d.ts +17 -0
- package/dist/types/interfaces/Actions.d.ts +18 -0
- package/dist/types/interfaces/AnswerType.d.ts +2 -0
- package/dist/types/interfaces/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/hooks/Asta/Actions/get/getActionByIdQuery.hook.ts +15 -0
- package/src/hooks/Asta/Actions/get/getActionPriorityQuery.hook.ts +10 -0
- package/src/hooks/Asta/Actions/get/getActionQuery.hook.ts +29 -0
- package/src/hooks/Asta/Actions/mutate/useActionMutateQuery.hook.ts +20 -0
- package/src/hooks/Asta/Actions/others/archiveActionQuery.hook.ts +19 -0
- package/src/hooks/Asta/Actions/others/deleteActionQuery.hook.ts +19 -0
- package/src/hooks/Asta/Actions/others/extractActionQuery.hook.ts +19 -0
- package/src/hooks/Asta/Actions/others/finishActionQuery.hook.ts +17 -0
- package/src/hooks/Asta/AnswerType/get/getAllAnswerTypeQuery.hook.ts +29 -0
- package/src/hooks/Asta/AnswerType/get/getAnswerColorsQuery.hook.ts +10 -0
- package/src/hooks/Asta/AnswerType/get/getAnswerTypeByIdQuery.hook.ts +15 -0
- package/src/hooks/Asta/AnswerType/mutate/useAnswerTypeMutateQuery.hook.ts +20 -0
- package/src/hooks/Asta/AnswerType/others/deleteAnswerTypeQuery.hook.ts +19 -0
- package/src/hooks/Asta/AnswerType/others/finishAnswerTypeQuery.hook.ts +17 -0
- package/src/hooks/Asta/Inspection/get/getInspectionQuery.hook.ts +2 -2
- package/src/hooks/Asta/Inspection/others/archiveTemplateQuery.hook.ts +19 -0
- package/src/hooks/Asta/Inspection/others/deleteInspectionQuery.hook.ts +8 -4
- package/src/hooks/Asta/Inspection/others/extractTemplateQuery.hook.ts +19 -0
- package/src/hooks/Asta/Template/get/getTemplateQuery.hook.ts +2 -2
- package/src/hooks/index.ts +18 -0
- package/src/interfaces/Actions.ts +19 -0
- package/src/interfaces/AnswerType.ts +2 -0
- package/src/interfaces/index.ts +1 -0
package/src/hooks/index.ts
CHANGED
|
@@ -97,6 +97,8 @@ export * from './Asta/Inspection/get/getInspectionQuery.hook';
|
|
|
97
97
|
export * from './Asta/Inspection/mutate/useInspectionMutateQuery.hook';
|
|
98
98
|
export * from './Asta/Inspection/others/deleteInspectionQuery.hook';
|
|
99
99
|
export * from './Asta/Inspection/others/finishInspectionQuery.hook';
|
|
100
|
+
export * from './Asta/Inspection/others/archiveTemplateQuery.hook';
|
|
101
|
+
export * from './Asta/Inspection/others/extractTemplateQuery.hook';
|
|
100
102
|
|
|
101
103
|
export * from './Asta/Answer/get/getAstaAnswerQuery.hook';
|
|
102
104
|
export * from './Asta/Answer/mutate/useAstaAnswersMutateQuery.hook';
|
|
@@ -104,6 +106,22 @@ export * from './Asta/Answer/others/finishAstaAnswersQuery.hook';
|
|
|
104
106
|
export * from './Asta/Answer/others/putAnswerImageQuery.hook';
|
|
105
107
|
|
|
106
108
|
export * from './Asta/AnswerType/get/getAnswerTypeQuery.hook';
|
|
109
|
+
export * from './Asta/AnswerType/get/getAllAnswerTypeQuery.hook';
|
|
110
|
+
export * from './Asta/AnswerType/get/getAnswerColorsQuery.hook';
|
|
111
|
+
export * from './Asta/AnswerType/get/getAnswerTypeByIdQuery.hook';
|
|
112
|
+
export * from './Asta/AnswerType/mutate/useAnswerTypeMutateQuery.hook';
|
|
113
|
+
export * from './Asta/AnswerType/mutate/useAnswerTypeMutateQuery.hook';
|
|
114
|
+
export * from './Asta/AnswerType/others/deleteAnswerTypeQuery.hook';
|
|
115
|
+
export * from './Asta/AnswerType/others/finishAnswerTypeQuery.hook';
|
|
116
|
+
|
|
117
|
+
export * from './Asta/Actions/get/getActionByIdQuery.hook';
|
|
118
|
+
export * from './Asta/Actions/get/getActionPriorityQuery.hook';
|
|
119
|
+
export * from './Asta/Actions/get/getActionQuery.hook';
|
|
120
|
+
export * from './Asta/Actions/mutate/useActionMutateQuery.hook';
|
|
121
|
+
export * from './Asta/Actions/others/deleteActionQuery.hook';
|
|
122
|
+
export * from './Asta/Actions/others/extractActionQuery.hook';
|
|
123
|
+
export * from './Asta/Actions/others/archiveActionQuery.hook';
|
|
124
|
+
export * from './Asta/Actions/others/finishActionQuery.hook';
|
|
107
125
|
|
|
108
126
|
//Others
|
|
109
127
|
export * from './Others/useJobTitlesQuery.hook';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
export interface Actions {
|
|
3
|
+
Id: string;
|
|
4
|
+
Title: string;
|
|
5
|
+
Description: string;
|
|
6
|
+
UserName: string;
|
|
7
|
+
State: string;
|
|
8
|
+
Priority: string;
|
|
9
|
+
EndDate: number;
|
|
10
|
+
InspectionAnswer: any;
|
|
11
|
+
InspectionId: string;
|
|
12
|
+
InspectionName: string;
|
|
13
|
+
QuestionId: string;
|
|
14
|
+
QuestionName: string;
|
|
15
|
+
CreatedBy: string;
|
|
16
|
+
Answer: string;
|
|
17
|
+
Color: string;
|
|
18
|
+
QuestionAnswerId: string;
|
|
19
|
+
}
|
package/src/interfaces/index.ts
CHANGED