@imtf/dms-core 1.1.0-beta.5 → 6.5.7-natwest.0
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/apps/folder-manager/routes/InodeCollection/hooks/useRemoveInodesFromUrl.d.ts +0 -4
- package/core/components/JsonForm/widgets/widgetHOC.d.ts +29 -0
- package/core/components/TreeView/types.d.ts +17 -0
- package/core/components/TreeViewCell/constants.d.ts +25 -0
- package/core/constants/apps.d.ts +5 -0
- package/core/containers/DropZone/selectors.d.ts +125 -0
- package/core/containers/PDFComposer/actions.d.ts +2 -2
- package/core/containers/TreeView/actions.d.ts +197 -0
- package/core/containers/TreeView/constants.d.ts +36 -0
- package/core/containers/TreeView/types.d.ts +46 -0
- package/core/providers/Actions/types.d.ts +7 -1
- package/core/providers/App/actions.d.ts +17 -8
- package/core/providers/App/constants.d.ts +3 -0
- package/core/providers/App/hooks/useApplicationSettings.d.ts +2 -3
- package/core/providers/App/hooks/useSettings.d.ts +8 -4
- package/core/providers/App/hooks/useUserSetting.d.ts +1 -9
- package/core/providers/App/hooks/useUserStorage.d.ts +2 -2
- package/core/providers/App/messages.d.ts +0 -8
- package/core/providers/App/reducer.d.ts +1 -1
- package/core/providers/App/types.d.ts +2 -8
- package/core/providers/App/utils/convertOldUserSettings.d.ts +1 -1
- package/core/providers/App/utils/isSupportedItem.d.ts +2 -0
- package/core/providers/Authentication/types.d.ts +1 -1
- package/core/providers/Cases/actions.d.ts +3 -15
- package/core/providers/Cases/hooks/useCaseDocumentTypes.d.ts +3 -3
- package/core/providers/Cases/reducer.d.ts +18 -0
- package/core/providers/Cases/selectors.d.ts +64 -0
- package/core/providers/Cases/utils/common.d.ts +0 -2
- package/core/providers/Ccm/types.d.ts +0 -1
- package/core/providers/Definitions/types.d.ts +1 -1
- package/core/providers/Inodes/actions.d.ts +442 -13
- package/core/providers/Inodes/constants.d.ts +44 -0
- package/core/providers/Inodes/messages.d.ts +0 -8
- package/core/providers/Inodes/selectors.d.ts +55 -0
- package/core/providers/Inodes/service.d.ts +3 -4
- package/core/providers/Inodes/types.d.ts +8 -20
- package/core/providers/Inodes/utils/is.d.ts +3 -2
- package/core/providers/Inspectors/Context.d.ts +0 -2
- package/core/providers/MdmGraph/actions.d.ts +0 -8
- package/core/providers/MdmGraph/constants.d.ts +4 -4
- package/core/providers/MdmGraph/types.d.ts +0 -2
- package/core/providers/MdmGraph/utils/misc.d.ts +13 -0
- package/core/providers/Modal/slice.d.ts +0 -6
- package/core/providers/Modal/types.d.ts +0 -2
- package/core/providers/Plugins/hooks/inodes/useActions.d.ts +2 -10
- package/core/providers/Plugins/hooks/inodes/useInodesByOids.d.ts +6 -0
- package/core/providers/Plugins/hooks/tasks/useActions.d.ts +1 -1
- package/core/providers/Plugins/pluginRegistry.d.ts +43 -61
- package/core/providers/Plugins/types/componentPlugins.d.ts +0 -9
- package/core/providers/Search/reducer.d.ts +4 -7
- package/core/providers/Search/selectors.d.ts +262 -48
- package/core/providers/Search/types.d.ts +5 -26
- package/core/providers/Search/utils/createQuery.d.ts +5 -5
- package/core/providers/SystemNotification/slice.d.ts +1 -1
- package/core/providers/Tasks/hooks/useEntityDelete.d.ts +1 -1
- package/core/providers/Tasks/hooks/useEntityMutate.d.ts +1 -1
- package/core/providers/Tasks/hooks/useTaskData.d.ts +2 -2
- package/core/providers/Tasks/service.d.ts +0 -3
- package/core/providers/Tasks/types.d.ts +1 -1
- package/core/providers/Uploader/Context.d.ts +9 -9
- package/core/utils/action.d.ts +2 -2
- package/core/utils/htmlElements.d.ts +1 -0
- package/core/utils/requestMiddleware.d.ts +1 -0
- package/package.json +1 -1
- package/store.d.ts +16 -21
- package/vendor/@imtf/react-components/components/Chip/utils.d.ts +2 -2
- package/vendor/@imtf/react-components/components/ViewMoreCard/ViewMoreCard.d.ts +2 -1
- package/vendor/@imtf/react-components/utils/constants.d.ts +20 -0
- package/core/components/ActionMenu/Menu.d.ts +0 -19
- package/core/components/ActionMenu/Trigger.d.ts +0 -8
- package/core/components/ActionMenu/index.d.ts +0 -1
- package/core/components/ActionMenu/styles.d.ts +0 -4
- package/core/components/Chip/Chip.d.ts +0 -8
- package/core/components/Chip/index.d.ts +0 -1
- package/core/components/CloseModalButton/CloseModalButton.d.ts +0 -10
- package/core/components/CloseModalButton/index.d.ts +0 -1
- package/core/components/DatePicker/DatePicker.d.ts +0 -6
- package/core/components/DatePicker/index.d.ts +0 -1
- package/core/components/Error/index.d.ts +0 -7
- package/core/components/FormattedNumberTextfield/FormattedNumberTextfield.d.ts +0 -3
- package/core/components/FormattedNumberTextfield/index.d.ts +0 -1
- package/core/components/ItemIcon/TaskIcon.d.ts +0 -5
- package/core/components/ItemIcon/index.d.ts +0 -19
- package/core/components/Select/ListboxComponent.d.ts +0 -5
- package/core/components/Select/Select.d.ts +0 -20
- package/core/components/Select/index.d.ts +0 -1
- package/core/components/dms-ui/DatasourceAutocomplete.d.ts +0 -14
- package/core/components/dms-ui/ImmutableComposer.d.ts +0 -15
- package/core/components/dms-ui/immutableDefault/DatasourceAutocomplete.d.ts +0 -19
- package/core/components/dms-ui/immutableDefault/DatePicker.d.ts +0 -15
- package/core/components/dms-ui/immutableDefault/Group.d.ts +0 -16
- package/core/components/dms-ui/immutableDefault/NumberFormattedTexfield.d.ts +0 -14
- package/core/components/dms-ui/immutableDefault/NumberTextfield.d.ts +0 -2
- package/core/components/dms-ui/immutableDefault/RadioButton.d.ts +0 -19
- package/core/components/dms-ui/immutableDefault/Select.d.ts +0 -19
- package/core/components/dms-ui/immutableDefault/Switch.d.ts +0 -19
- package/core/components/dms-ui/immutableDefault/Textfield.d.ts +0 -21
- package/core/components/dms-ui/immutableDefault/index.d.ts +0 -10
- package/core/components/dms-ui/immutableFacet/DatasourceAutocomplete.d.ts +0 -13
- package/core/components/dms-ui/immutableFacet/DateRangeSearcher.d.ts +0 -14
- package/core/components/dms-ui/immutableFacet/Facet.d.ts +0 -23
- package/core/components/dms-ui/immutableFacet/NumericRangePicker.d.ts +0 -14
- package/core/components/dms-ui/immutableFacet/Select.d.ts +0 -13
- package/core/components/dms-ui/immutableFacet/Textfield.d.ts +0 -13
- package/core/components/dms-ui/immutableFacet/TypePicker.d.ts +0 -13
- package/core/components/dms-ui/immutableFacet/index.d.ts +0 -7
- package/core/components/dms-ui/immutableFacet/styles.d.ts +0 -5
- package/core/components/dms-ui/messages.d.ts +0 -27
- package/core/components/dms-ui/utils/getImmutableComponent.d.ts +0 -19
- package/core/components/dms-ui/utils/removeLabelFromValues.d.ts +0 -1
- package/core/components/dms-ui/utils/utils.d.ts +0 -3
- package/core/constants/dragTypes.d.ts +0 -2
- package/core/containers/DataGrid/constants.d.ts +0 -26
- package/core/containers/DataGrid/types.d.ts +0 -38
- package/core/containers/DataGrid/utils/handleWidth.d.ts +0 -18
- package/core/containers/EntityDocuments/EntityDocumentsComponent.d.ts +0 -30
- package/core/containers/EntityDocuments/components/Accordion.d.ts +0 -12
- package/core/containers/EntityDocuments/components/Document.d.ts +0 -11
- package/core/containers/EntityDocuments/components/DocumentLabel.d.ts +0 -7
- package/core/containers/EntityDocuments/components/DocumentList.d.ts +0 -19
- package/core/containers/EntityDocuments/components/DocumentListTitle.d.ts +0 -7
- package/core/containers/EntityDocuments/constants.d.ts +0 -1
- package/core/containers/EntityDocuments/styles.d.ts +0 -10
- package/core/containers/EntityDocuments/types.d.ts +0 -7
- package/core/containers/SearchDataGrid/types.d.ts +0 -16
- package/core/hooks/useCollator.d.ts +0 -2
- package/core/providers/App/hooks/useDownload.d.ts +0 -23
- package/core/providers/App/hooks/useTriggerItems.d.ts +0 -11
- package/core/providers/App/utils/convertTreeviewFields.d.ts +0 -70
- package/core/providers/App/utils/sortListByWeightAndName.d.ts +0 -8
- package/core/providers/DataGrid/Context.d.ts +0 -47
- package/core/providers/Definitions/hooks/useTaskDefinition.d.ts +0 -1
- package/core/providers/Definitions/hooks/useTaskDefinitions.d.ts +0 -4
- package/core/providers/Definitions/utils/typesToTypeRefs.d.ts +0 -5
- package/core/providers/DropZone/Context.d.ts +0 -12
- package/core/providers/Inodes/hooks/useInodeByOid.d.ts +0 -5
- package/core/providers/Inodes/hooks/useInodeTypeAssignment.d.ts +0 -4
- package/core/providers/Inodes/hooks/useInodesByOids.d.ts +0 -7
- package/core/providers/Inodes/hooks/usePropertiesType.d.ts +0 -14
- package/core/providers/Inodes/hooks/usePropertyComponents.d.ts +0 -11
- package/core/providers/Inodes/hooks/useRestore.d.ts +0 -22
- package/core/providers/Inodes/hooks/useSortedTypes.d.ts +0 -5
- package/core/providers/Inodes/hooks/useTypes.d.ts +0 -10
- package/core/providers/Inodes/hooks/useUpdateInodes.d.ts +0 -35
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/AccordionItem.d.ts +0 -29
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/BarcodeLoading.d.ts +0 -5
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/ModalContent.d.ts +0 -35
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/index.d.ts +0 -12
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/messages.d.ts +0 -59
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/types.d.ts +0 -43
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/addInodeOidToName.d.ts +0 -22
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/createBarcodeProcessingFormData.d.ts +0 -5
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/findMostUsedValue.d.ts +0 -18
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/getInodesRequiredFieldNames.d.ts +0 -10
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/getInvalidInodeOids.d.ts +0 -10
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/replaceComponentsWithConfig.d.ts +0 -10
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/resolveStatusIconAndColor.d.ts +0 -5
- package/core/providers/Inodes/modals/AssignTypeModal.d.ts +0 -9
- package/core/providers/Inodes/utils/getAssignableTypesFromInode.d.ts +0 -2
- package/core/providers/Inodes/utils/getBulkUrl.d.ts +0 -1
- package/core/providers/Inodes/utils/isInodeType.d.ts +0 -3
- package/core/providers/Inodes/utils/isInodeTypeRef.d.ts +0 -3
- package/core/providers/Inodes/utils/mutateInodes.d.ts +0 -7
- package/core/providers/Inodes/utils/replacePropertiesWithConfig.d.ts +0 -10
- package/core/providers/Inodes/utils/resolveInodeTypes.d.ts +0 -183
- package/core/providers/Localization/Context.d.ts +0 -7
- package/core/providers/Localization/hooks/useLocale.d.ts +0 -3
- package/core/providers/Modal/hooks/useModal.d.ts +0 -44
- package/core/providers/Plugins/ComponentPluginContext.d.ts +0 -14
- package/core/providers/Plugins/withComponentPlugin.d.ts +0 -27
- package/core/providers/Tasks/utils/mutateTaskData.d.ts +0 -6
- package/core/theme/theme.base.d.ts +0 -32
- package/core/theme/theme.lightMode.d.ts +0 -206
- package/core/utils/date/getUTCDateInCurrentTimezone.d.ts +0 -11
- package/core/utils/hasValidKind.d.ts +0 -2
- package/core/utils/immutable.d.ts +0 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { TreeViewState } from "../../../core/containers/TreeView/types";
|
|
2
|
+
import { SupportedItem } from "../App/types";
|
|
1
3
|
import { SearchState } from "./reducer";
|
|
2
4
|
export declare const loadingSelector: ((state: any) => boolean) & {
|
|
3
5
|
clearCache: () => void;
|
|
@@ -44,13 +46,12 @@ export declare const errorSelector: ((state: any) => any) & {
|
|
|
44
46
|
export declare const resultsSelector: ((state: any) => {
|
|
45
47
|
contextName: string | undefined;
|
|
46
48
|
count: number | null;
|
|
47
|
-
head: import("
|
|
49
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
48
50
|
mask: import("../Definitions/types").SearchMask | null;
|
|
49
|
-
rows: import("
|
|
51
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
50
52
|
hasUnknowCount: boolean;
|
|
51
53
|
timestamp: number | undefined;
|
|
52
54
|
capabilities: import("./types").SearchResultCapabilities;
|
|
53
|
-
alerts?: import("./types").SearchResultAlert[];
|
|
54
55
|
}) & {
|
|
55
56
|
clearCache: () => void;
|
|
56
57
|
resultsCount: () => number;
|
|
@@ -59,24 +60,22 @@ export declare const resultsSelector: ((state: any) => {
|
|
|
59
60
|
resultFunc: (resultFuncArgs_0: SearchState) => {
|
|
60
61
|
contextName: string | undefined;
|
|
61
62
|
count: number | null;
|
|
62
|
-
head: import("
|
|
63
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
63
64
|
mask: import("../Definitions/types").SearchMask | null;
|
|
64
|
-
rows: import("
|
|
65
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
65
66
|
hasUnknowCount: boolean;
|
|
66
67
|
timestamp: number | undefined;
|
|
67
68
|
capabilities: import("./types").SearchResultCapabilities;
|
|
68
|
-
alerts?: import("./types").SearchResultAlert[];
|
|
69
69
|
};
|
|
70
70
|
memoizedResultFunc: ((resultFuncArgs_0: SearchState) => {
|
|
71
71
|
contextName: string | undefined;
|
|
72
72
|
count: number | null;
|
|
73
|
-
head: import("
|
|
73
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
74
74
|
mask: import("../Definitions/types").SearchMask | null;
|
|
75
|
-
rows: import("
|
|
75
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
76
76
|
hasUnknowCount: boolean;
|
|
77
77
|
timestamp: number | undefined;
|
|
78
78
|
capabilities: import("./types").SearchResultCapabilities;
|
|
79
|
-
alerts?: import("./types").SearchResultAlert[];
|
|
80
79
|
}) & {
|
|
81
80
|
clearCache: () => void;
|
|
82
81
|
resultsCount: () => number;
|
|
@@ -85,13 +84,12 @@ export declare const resultsSelector: ((state: any) => {
|
|
|
85
84
|
lastResult: () => {
|
|
86
85
|
contextName: string | undefined;
|
|
87
86
|
count: number | null;
|
|
88
|
-
head: import("
|
|
87
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
89
88
|
mask: import("../Definitions/types").SearchMask | null;
|
|
90
|
-
rows: import("
|
|
89
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
91
90
|
hasUnknowCount: boolean;
|
|
92
91
|
timestamp: number | undefined;
|
|
93
92
|
capabilities: import("./types").SearchResultCapabilities;
|
|
94
|
-
alerts?: import("./types").SearchResultAlert[];
|
|
95
93
|
};
|
|
96
94
|
dependencies: [(state: any) => SearchState];
|
|
97
95
|
recomputations: () => number;
|
|
@@ -123,6 +121,139 @@ export declare const searchTriggeredSelector: ((state: any) => boolean) & {
|
|
|
123
121
|
memoize: typeof import("reselect").lruMemoize;
|
|
124
122
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
125
123
|
};
|
|
124
|
+
export declare const createSearchResultsSelector: (identifier: string) => {
|
|
125
|
+
resultsWithMoreButtonSelector: ((state: any) => {
|
|
126
|
+
contextName: string | undefined;
|
|
127
|
+
count: number | null;
|
|
128
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
129
|
+
mask: import("../Definitions/types").SearchMask | null;
|
|
130
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
131
|
+
hasUnknowCount: boolean;
|
|
132
|
+
timestamp: number | undefined;
|
|
133
|
+
capabilities: import("./types").SearchResultCapabilities;
|
|
134
|
+
}) & {
|
|
135
|
+
clearCache: () => void;
|
|
136
|
+
resultsCount: () => number;
|
|
137
|
+
resetResultsCount: () => void;
|
|
138
|
+
} & {
|
|
139
|
+
resultFunc: (resultFuncArgs_0: TreeViewState | undefined, resultFuncArgs_1: {
|
|
140
|
+
contextName: string | undefined;
|
|
141
|
+
count: number | null;
|
|
142
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
143
|
+
mask: import("../Definitions/types").SearchMask | null;
|
|
144
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
145
|
+
hasUnknowCount: boolean;
|
|
146
|
+
timestamp: number | undefined;
|
|
147
|
+
capabilities: import("./types").SearchResultCapabilities;
|
|
148
|
+
}) => {
|
|
149
|
+
contextName: string | undefined;
|
|
150
|
+
count: number | null;
|
|
151
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
152
|
+
mask: import("../Definitions/types").SearchMask | null;
|
|
153
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
154
|
+
hasUnknowCount: boolean;
|
|
155
|
+
timestamp: number | undefined;
|
|
156
|
+
capabilities: import("./types").SearchResultCapabilities;
|
|
157
|
+
};
|
|
158
|
+
memoizedResultFunc: ((resultFuncArgs_0: TreeViewState | undefined, resultFuncArgs_1: {
|
|
159
|
+
contextName: string | undefined;
|
|
160
|
+
count: number | null;
|
|
161
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
162
|
+
mask: import("../Definitions/types").SearchMask | null;
|
|
163
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
164
|
+
hasUnknowCount: boolean;
|
|
165
|
+
timestamp: number | undefined;
|
|
166
|
+
capabilities: import("./types").SearchResultCapabilities;
|
|
167
|
+
}) => {
|
|
168
|
+
contextName: string | undefined;
|
|
169
|
+
count: number | null;
|
|
170
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
171
|
+
mask: import("../Definitions/types").SearchMask | null;
|
|
172
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
173
|
+
hasUnknowCount: boolean;
|
|
174
|
+
timestamp: number | undefined;
|
|
175
|
+
capabilities: import("./types").SearchResultCapabilities;
|
|
176
|
+
}) & {
|
|
177
|
+
clearCache: () => void;
|
|
178
|
+
resultsCount: () => number;
|
|
179
|
+
resetResultsCount: () => void;
|
|
180
|
+
};
|
|
181
|
+
lastResult: () => {
|
|
182
|
+
contextName: string | undefined;
|
|
183
|
+
count: number | null;
|
|
184
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
185
|
+
mask: import("../Definitions/types").SearchMask | null;
|
|
186
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
187
|
+
hasUnknowCount: boolean;
|
|
188
|
+
timestamp: number | undefined;
|
|
189
|
+
capabilities: import("./types").SearchResultCapabilities;
|
|
190
|
+
};
|
|
191
|
+
dependencies: [(state: any) => TreeViewState | undefined, ((state: any) => {
|
|
192
|
+
contextName: string | undefined;
|
|
193
|
+
count: number | null;
|
|
194
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
195
|
+
mask: import("../Definitions/types").SearchMask | null;
|
|
196
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
197
|
+
hasUnknowCount: boolean;
|
|
198
|
+
timestamp: number | undefined;
|
|
199
|
+
capabilities: import("./types").SearchResultCapabilities;
|
|
200
|
+
}) & {
|
|
201
|
+
clearCache: () => void;
|
|
202
|
+
resultsCount: () => number;
|
|
203
|
+
resetResultsCount: () => void;
|
|
204
|
+
} & {
|
|
205
|
+
resultFunc: (resultFuncArgs_0: SearchState) => {
|
|
206
|
+
contextName: string | undefined;
|
|
207
|
+
count: number | null;
|
|
208
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
209
|
+
mask: import("../Definitions/types").SearchMask | null;
|
|
210
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
211
|
+
hasUnknowCount: boolean;
|
|
212
|
+
timestamp: number | undefined;
|
|
213
|
+
capabilities: import("./types").SearchResultCapabilities;
|
|
214
|
+
};
|
|
215
|
+
memoizedResultFunc: ((resultFuncArgs_0: SearchState) => {
|
|
216
|
+
contextName: string | undefined;
|
|
217
|
+
count: number | null;
|
|
218
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
219
|
+
mask: import("../Definitions/types").SearchMask | null;
|
|
220
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
221
|
+
hasUnknowCount: boolean;
|
|
222
|
+
timestamp: number | undefined;
|
|
223
|
+
capabilities: import("./types").SearchResultCapabilities;
|
|
224
|
+
}) & {
|
|
225
|
+
clearCache: () => void;
|
|
226
|
+
resultsCount: () => number;
|
|
227
|
+
resetResultsCount: () => void;
|
|
228
|
+
};
|
|
229
|
+
lastResult: () => {
|
|
230
|
+
contextName: string | undefined;
|
|
231
|
+
count: number | null;
|
|
232
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
233
|
+
mask: import("../Definitions/types").SearchMask | null;
|
|
234
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
235
|
+
hasUnknowCount: boolean;
|
|
236
|
+
timestamp: number | undefined;
|
|
237
|
+
capabilities: import("./types").SearchResultCapabilities;
|
|
238
|
+
};
|
|
239
|
+
dependencies: [(state: any) => SearchState];
|
|
240
|
+
recomputations: () => number;
|
|
241
|
+
resetRecomputations: () => void;
|
|
242
|
+
dependencyRecomputations: () => number;
|
|
243
|
+
resetDependencyRecomputations: () => void;
|
|
244
|
+
} & {
|
|
245
|
+
memoize: typeof import("reselect").lruMemoize;
|
|
246
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
247
|
+
}];
|
|
248
|
+
recomputations: () => number;
|
|
249
|
+
resetRecomputations: () => void;
|
|
250
|
+
dependencyRecomputations: () => number;
|
|
251
|
+
resetDependencyRecomputations: () => void;
|
|
252
|
+
} & {
|
|
253
|
+
memoize: typeof import("reselect").lruMemoize;
|
|
254
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
126
257
|
export declare const resultsSearchMaskSelector: ((state: any) => import("../Definitions/types").SearchMask | null) & {
|
|
127
258
|
clearCache: () => void;
|
|
128
259
|
resultsCount: () => number;
|
|
@@ -131,24 +262,22 @@ export declare const resultsSearchMaskSelector: ((state: any) => import("../Defi
|
|
|
131
262
|
resultFunc: (resultFuncArgs_0: {
|
|
132
263
|
contextName: string | undefined;
|
|
133
264
|
count: number | null;
|
|
134
|
-
head: import("
|
|
265
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
135
266
|
mask: import("../Definitions/types").SearchMask | null;
|
|
136
|
-
rows: import("
|
|
267
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
137
268
|
hasUnknowCount: boolean;
|
|
138
269
|
timestamp: number | undefined;
|
|
139
270
|
capabilities: import("./types").SearchResultCapabilities;
|
|
140
|
-
alerts?: import("./types").SearchResultAlert[];
|
|
141
271
|
}) => import("../Definitions/types").SearchMask | null;
|
|
142
272
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
143
273
|
contextName: string | undefined;
|
|
144
274
|
count: number | null;
|
|
145
|
-
head: import("
|
|
275
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
146
276
|
mask: import("../Definitions/types").SearchMask | null;
|
|
147
|
-
rows: import("
|
|
277
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
148
278
|
hasUnknowCount: boolean;
|
|
149
279
|
timestamp: number | undefined;
|
|
150
280
|
capabilities: import("./types").SearchResultCapabilities;
|
|
151
|
-
alerts?: import("./types").SearchResultAlert[];
|
|
152
281
|
}) => import("../Definitions/types").SearchMask | null) & {
|
|
153
282
|
clearCache: () => void;
|
|
154
283
|
resultsCount: () => number;
|
|
@@ -158,13 +287,12 @@ export declare const resultsSearchMaskSelector: ((state: any) => import("../Defi
|
|
|
158
287
|
dependencies: [((state: any) => {
|
|
159
288
|
contextName: string | undefined;
|
|
160
289
|
count: number | null;
|
|
161
|
-
head: import("
|
|
290
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
162
291
|
mask: import("../Definitions/types").SearchMask | null;
|
|
163
|
-
rows: import("
|
|
292
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
164
293
|
hasUnknowCount: boolean;
|
|
165
294
|
timestamp: number | undefined;
|
|
166
295
|
capabilities: import("./types").SearchResultCapabilities;
|
|
167
|
-
alerts?: import("./types").SearchResultAlert[];
|
|
168
296
|
}) & {
|
|
169
297
|
clearCache: () => void;
|
|
170
298
|
resultsCount: () => number;
|
|
@@ -173,24 +301,22 @@ export declare const resultsSearchMaskSelector: ((state: any) => import("../Defi
|
|
|
173
301
|
resultFunc: (resultFuncArgs_0: SearchState) => {
|
|
174
302
|
contextName: string | undefined;
|
|
175
303
|
count: number | null;
|
|
176
|
-
head: import("
|
|
304
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
177
305
|
mask: import("../Definitions/types").SearchMask | null;
|
|
178
|
-
rows: import("
|
|
306
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
179
307
|
hasUnknowCount: boolean;
|
|
180
308
|
timestamp: number | undefined;
|
|
181
309
|
capabilities: import("./types").SearchResultCapabilities;
|
|
182
|
-
alerts?: import("./types").SearchResultAlert[];
|
|
183
310
|
};
|
|
184
311
|
memoizedResultFunc: ((resultFuncArgs_0: SearchState) => {
|
|
185
312
|
contextName: string | undefined;
|
|
186
313
|
count: number | null;
|
|
187
|
-
head: import("
|
|
314
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
188
315
|
mask: import("../Definitions/types").SearchMask | null;
|
|
189
|
-
rows: import("
|
|
316
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
190
317
|
hasUnknowCount: boolean;
|
|
191
318
|
timestamp: number | undefined;
|
|
192
319
|
capabilities: import("./types").SearchResultCapabilities;
|
|
193
|
-
alerts?: import("./types").SearchResultAlert[];
|
|
194
320
|
}) & {
|
|
195
321
|
clearCache: () => void;
|
|
196
322
|
resultsCount: () => number;
|
|
@@ -199,13 +325,12 @@ export declare const resultsSearchMaskSelector: ((state: any) => import("../Defi
|
|
|
199
325
|
lastResult: () => {
|
|
200
326
|
contextName: string | undefined;
|
|
201
327
|
count: number | null;
|
|
202
|
-
head: import("
|
|
328
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
203
329
|
mask: import("../Definitions/types").SearchMask | null;
|
|
204
|
-
rows: import("
|
|
330
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
205
331
|
hasUnknowCount: boolean;
|
|
206
332
|
timestamp: number | undefined;
|
|
207
333
|
capabilities: import("./types").SearchResultCapabilities;
|
|
208
|
-
alerts?: import("./types").SearchResultAlert[];
|
|
209
334
|
};
|
|
210
335
|
dependencies: [(state: any) => SearchState];
|
|
211
336
|
recomputations: () => number;
|
|
@@ -232,24 +357,22 @@ export declare const resultsSearchHasUnknowCountSelector: ((state: any) => boole
|
|
|
232
357
|
resultFunc: (resultFuncArgs_0: {
|
|
233
358
|
contextName: string | undefined;
|
|
234
359
|
count: number | null;
|
|
235
|
-
head: import("
|
|
360
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
236
361
|
mask: import("../Definitions/types").SearchMask | null;
|
|
237
|
-
rows: import("
|
|
362
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
238
363
|
hasUnknowCount: boolean;
|
|
239
364
|
timestamp: number | undefined;
|
|
240
365
|
capabilities: import("./types").SearchResultCapabilities;
|
|
241
|
-
alerts?: import("./types").SearchResultAlert[];
|
|
242
366
|
}) => boolean;
|
|
243
367
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
244
368
|
contextName: string | undefined;
|
|
245
369
|
count: number | null;
|
|
246
|
-
head: import("
|
|
370
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
247
371
|
mask: import("../Definitions/types").SearchMask | null;
|
|
248
|
-
rows: import("
|
|
372
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
249
373
|
hasUnknowCount: boolean;
|
|
250
374
|
timestamp: number | undefined;
|
|
251
375
|
capabilities: import("./types").SearchResultCapabilities;
|
|
252
|
-
alerts?: import("./types").SearchResultAlert[];
|
|
253
376
|
}) => boolean) & {
|
|
254
377
|
clearCache: () => void;
|
|
255
378
|
resultsCount: () => number;
|
|
@@ -259,13 +382,107 @@ export declare const resultsSearchHasUnknowCountSelector: ((state: any) => boole
|
|
|
259
382
|
dependencies: [((state: any) => {
|
|
260
383
|
contextName: string | undefined;
|
|
261
384
|
count: number | null;
|
|
262
|
-
head: import("
|
|
385
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
386
|
+
mask: import("../Definitions/types").SearchMask | null;
|
|
387
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
388
|
+
hasUnknowCount: boolean;
|
|
389
|
+
timestamp: number | undefined;
|
|
390
|
+
capabilities: import("./types").SearchResultCapabilities;
|
|
391
|
+
}) & {
|
|
392
|
+
clearCache: () => void;
|
|
393
|
+
resultsCount: () => number;
|
|
394
|
+
resetResultsCount: () => void;
|
|
395
|
+
} & {
|
|
396
|
+
resultFunc: (resultFuncArgs_0: SearchState) => {
|
|
397
|
+
contextName: string | undefined;
|
|
398
|
+
count: number | null;
|
|
399
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
400
|
+
mask: import("../Definitions/types").SearchMask | null;
|
|
401
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
402
|
+
hasUnknowCount: boolean;
|
|
403
|
+
timestamp: number | undefined;
|
|
404
|
+
capabilities: import("./types").SearchResultCapabilities;
|
|
405
|
+
};
|
|
406
|
+
memoizedResultFunc: ((resultFuncArgs_0: SearchState) => {
|
|
407
|
+
contextName: string | undefined;
|
|
408
|
+
count: number | null;
|
|
409
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
410
|
+
mask: import("../Definitions/types").SearchMask | null;
|
|
411
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
412
|
+
hasUnknowCount: boolean;
|
|
413
|
+
timestamp: number | undefined;
|
|
414
|
+
capabilities: import("./types").SearchResultCapabilities;
|
|
415
|
+
}) & {
|
|
416
|
+
clearCache: () => void;
|
|
417
|
+
resultsCount: () => number;
|
|
418
|
+
resetResultsCount: () => void;
|
|
419
|
+
};
|
|
420
|
+
lastResult: () => {
|
|
421
|
+
contextName: string | undefined;
|
|
422
|
+
count: number | null;
|
|
423
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
424
|
+
mask: import("../Definitions/types").SearchMask | null;
|
|
425
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
426
|
+
hasUnknowCount: boolean;
|
|
427
|
+
timestamp: number | undefined;
|
|
428
|
+
capabilities: import("./types").SearchResultCapabilities;
|
|
429
|
+
};
|
|
430
|
+
dependencies: [(state: any) => SearchState];
|
|
431
|
+
recomputations: () => number;
|
|
432
|
+
resetRecomputations: () => void;
|
|
433
|
+
dependencyRecomputations: () => number;
|
|
434
|
+
resetDependencyRecomputations: () => void;
|
|
435
|
+
} & {
|
|
436
|
+
memoize: typeof import("reselect").lruMemoize;
|
|
437
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
438
|
+
}];
|
|
439
|
+
recomputations: () => number;
|
|
440
|
+
resetRecomputations: () => void;
|
|
441
|
+
dependencyRecomputations: () => number;
|
|
442
|
+
resetDependencyRecomputations: () => void;
|
|
443
|
+
} & {
|
|
444
|
+
memoize: typeof import("reselect").lruMemoize;
|
|
445
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
446
|
+
};
|
|
447
|
+
export declare const createSelectedItemsSelector: (identifier: string) => ((state: any) => SupportedItem[]) & {
|
|
448
|
+
clearCache: () => void;
|
|
449
|
+
resultsCount: () => number;
|
|
450
|
+
resetResultsCount: () => void;
|
|
451
|
+
} & {
|
|
452
|
+
resultFunc: (resultFuncArgs_0: TreeViewState | undefined, resultFuncArgs_1: {
|
|
453
|
+
contextName: string | undefined;
|
|
454
|
+
count: number | null;
|
|
455
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
456
|
+
mask: import("../Definitions/types").SearchMask | null;
|
|
457
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
458
|
+
hasUnknowCount: boolean;
|
|
459
|
+
timestamp: number | undefined;
|
|
460
|
+
capabilities: import("./types").SearchResultCapabilities;
|
|
461
|
+
}) => SupportedItem[];
|
|
462
|
+
memoizedResultFunc: ((resultFuncArgs_0: TreeViewState | undefined, resultFuncArgs_1: {
|
|
463
|
+
contextName: string | undefined;
|
|
464
|
+
count: number | null;
|
|
465
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
466
|
+
mask: import("../Definitions/types").SearchMask | null;
|
|
467
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
468
|
+
hasUnknowCount: boolean;
|
|
469
|
+
timestamp: number | undefined;
|
|
470
|
+
capabilities: import("./types").SearchResultCapabilities;
|
|
471
|
+
}) => SupportedItem[]) & {
|
|
472
|
+
clearCache: () => void;
|
|
473
|
+
resultsCount: () => number;
|
|
474
|
+
resetResultsCount: () => void;
|
|
475
|
+
};
|
|
476
|
+
lastResult: () => SupportedItem[];
|
|
477
|
+
dependencies: [(state: any) => TreeViewState | undefined, ((state: any) => {
|
|
478
|
+
contextName: string | undefined;
|
|
479
|
+
count: number | null;
|
|
480
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
263
481
|
mask: import("../Definitions/types").SearchMask | null;
|
|
264
|
-
rows: import("
|
|
482
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
265
483
|
hasUnknowCount: boolean;
|
|
266
484
|
timestamp: number | undefined;
|
|
267
485
|
capabilities: import("./types").SearchResultCapabilities;
|
|
268
|
-
alerts?: import("./types").SearchResultAlert[];
|
|
269
486
|
}) & {
|
|
270
487
|
clearCache: () => void;
|
|
271
488
|
resultsCount: () => number;
|
|
@@ -274,24 +491,22 @@ export declare const resultsSearchHasUnknowCountSelector: ((state: any) => boole
|
|
|
274
491
|
resultFunc: (resultFuncArgs_0: SearchState) => {
|
|
275
492
|
contextName: string | undefined;
|
|
276
493
|
count: number | null;
|
|
277
|
-
head: import("
|
|
494
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
278
495
|
mask: import("../Definitions/types").SearchMask | null;
|
|
279
|
-
rows: import("
|
|
496
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
280
497
|
hasUnknowCount: boolean;
|
|
281
498
|
timestamp: number | undefined;
|
|
282
499
|
capabilities: import("./types").SearchResultCapabilities;
|
|
283
|
-
alerts?: import("./types").SearchResultAlert[];
|
|
284
500
|
};
|
|
285
501
|
memoizedResultFunc: ((resultFuncArgs_0: SearchState) => {
|
|
286
502
|
contextName: string | undefined;
|
|
287
503
|
count: number | null;
|
|
288
|
-
head: import("
|
|
504
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
289
505
|
mask: import("../Definitions/types").SearchMask | null;
|
|
290
|
-
rows: import("
|
|
506
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
291
507
|
hasUnknowCount: boolean;
|
|
292
508
|
timestamp: number | undefined;
|
|
293
509
|
capabilities: import("./types").SearchResultCapabilities;
|
|
294
|
-
alerts?: import("./types").SearchResultAlert[];
|
|
295
510
|
}) & {
|
|
296
511
|
clearCache: () => void;
|
|
297
512
|
resultsCount: () => number;
|
|
@@ -300,13 +515,12 @@ export declare const resultsSearchHasUnknowCountSelector: ((state: any) => boole
|
|
|
300
515
|
lastResult: () => {
|
|
301
516
|
contextName: string | undefined;
|
|
302
517
|
count: number | null;
|
|
303
|
-
head: import("
|
|
518
|
+
head: import("../../../core/containers/TreeView/types").TreeViewField[];
|
|
304
519
|
mask: import("../Definitions/types").SearchMask | null;
|
|
305
|
-
rows: import("
|
|
520
|
+
rows: import("../../../core/containers/TreeView/types").TableRow[];
|
|
306
521
|
hasUnknowCount: boolean;
|
|
307
522
|
timestamp: number | undefined;
|
|
308
523
|
capabilities: import("./types").SearchResultCapabilities;
|
|
309
|
-
alerts?: import("./types").SearchResultAlert[];
|
|
310
524
|
};
|
|
311
525
|
dependencies: [(state: any) => SearchState];
|
|
312
526
|
recomputations: () => number;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { TableRow } from "../../../core/containers/SearchDataGrid/types";
|
|
4
|
-
import { SupportedItem } from "../App/types";
|
|
1
|
+
import type { Row } from "../../../core/components/TreeView/types";
|
|
2
|
+
import type { TableRow, TreeViewField } from "../../../core/containers/TreeView/types";
|
|
5
3
|
import { SearchMask } from "../Definitions/types";
|
|
6
4
|
import { InodeRefList, InodeType, ProcessState } from "../Inodes/types";
|
|
7
5
|
export type ValueField = {
|
|
@@ -35,10 +33,6 @@ export type Field = {
|
|
|
35
33
|
export type SearchResultCapabilities = {
|
|
36
34
|
canDownloadSearchResult: boolean;
|
|
37
35
|
};
|
|
38
|
-
export type SearchResultAlert = {
|
|
39
|
-
severity: AlertProps["severity"];
|
|
40
|
-
message: string;
|
|
41
|
-
};
|
|
42
36
|
export type SearchResult = {
|
|
43
37
|
kind: "dms-core.ui.Search";
|
|
44
38
|
count: number;
|
|
@@ -46,17 +40,16 @@ export type SearchResult = {
|
|
|
46
40
|
tableResource: {
|
|
47
41
|
kind: "dms-core.ui.Table";
|
|
48
42
|
rows: TableRow[];
|
|
49
|
-
head:
|
|
43
|
+
head: TreeViewField[];
|
|
50
44
|
};
|
|
51
|
-
alerts: SearchResultAlert[];
|
|
52
45
|
capabilities: SearchResultCapabilities;
|
|
53
46
|
};
|
|
54
47
|
export type QueryParams = {
|
|
55
48
|
searchContextName: string;
|
|
56
49
|
searchParams?: URLSearchParams;
|
|
57
50
|
queryResource?: Record<string, any>;
|
|
58
|
-
limit
|
|
59
|
-
offset
|
|
51
|
+
limit: number;
|
|
52
|
+
offset: number;
|
|
60
53
|
rootOid?: string;
|
|
61
54
|
highlight?: SearchMask["defaultHighlight"];
|
|
62
55
|
};
|
|
@@ -76,23 +69,9 @@ export type SearchResultRowCell = {
|
|
|
76
69
|
kind: "dms-core.ui.ProcessStateTableCell";
|
|
77
70
|
value: ProcessState;
|
|
78
71
|
};
|
|
79
|
-
type LoadMoreItem = {
|
|
80
|
-
kind: "dms-core.ui.LoadMoreButton";
|
|
81
|
-
oid: string;
|
|
82
|
-
parentOid: string;
|
|
83
|
-
offset: number;
|
|
84
|
-
};
|
|
85
|
-
export type Row<I = SupportedItem | LoadMoreItem> = {
|
|
86
|
-
item: I;
|
|
87
|
-
status?: string;
|
|
88
|
-
depth?: number;
|
|
89
|
-
isExpandable?: boolean;
|
|
90
|
-
expanded?: boolean;
|
|
91
|
-
};
|
|
92
72
|
export type SearchResultRow = {
|
|
93
73
|
cells: SearchResultRowCell[];
|
|
94
74
|
highlights: string[];
|
|
95
75
|
kind: "dms-core.ui.TableRow";
|
|
96
76
|
status: "valid" | string;
|
|
97
77
|
} & Row;
|
|
98
|
-
export {};
|
|
@@ -15,12 +15,12 @@ export default function createQuery({ searchContextName, searchParams, queryReso
|
|
|
15
15
|
}[] | undefined;
|
|
16
16
|
pagination: {
|
|
17
17
|
kind: string;
|
|
18
|
-
offset: number
|
|
19
|
-
limit: number
|
|
18
|
+
offset: number;
|
|
19
|
+
limit: number;
|
|
20
20
|
};
|
|
21
21
|
highlight: {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
kind: string;
|
|
23
|
+
snippets: number;
|
|
24
|
+
field: string;
|
|
25
25
|
} | undefined;
|
|
26
26
|
};
|
|
@@ -2,7 +2,7 @@ import { SystemNotification } from "./type";
|
|
|
2
2
|
export type SystemNotificationState = {
|
|
3
3
|
snackBar: SystemNotification | undefined;
|
|
4
4
|
};
|
|
5
|
-
export declare const notify: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[message: import("react").ReactNode, type?: "
|
|
5
|
+
export declare const notify: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[message: import("react").ReactNode, type?: "warning" | "error" | "info" | "success" | undefined, params?: Omit<SystemNotification, "message" | "type" | "oid"> | undefined], {
|
|
6
6
|
notification: SystemNotification;
|
|
7
7
|
}, "systemNotification/notify", never, never>;
|
|
8
8
|
declare const _default: import("redux").Reducer<SystemNotificationState>;
|
|
@@ -11,7 +11,7 @@ declare const useEntityDelete: (taskOid: string) => {
|
|
|
11
11
|
isMutating: boolean;
|
|
12
12
|
trigger: import("swr/mutation").TriggerWithArgs<string, AxiosError<unknown, any>, Key, Params>;
|
|
13
13
|
reset: () => void;
|
|
14
|
-
data: string | undefined;
|
|
15
14
|
error: AxiosError<unknown, any> | undefined;
|
|
15
|
+
data: string | undefined;
|
|
16
16
|
};
|
|
17
17
|
export default useEntityDelete;
|
|
@@ -21,11 +21,11 @@ declare const useEntityMutate: (taskOid: string) => {
|
|
|
21
21
|
trigger: (entity: Entity, patchData?: EntityData, params?: Params) => Promise<void>;
|
|
22
22
|
isMutating: boolean;
|
|
23
23
|
reset: () => void;
|
|
24
|
+
error: AxiosError<unknown, any> | undefined;
|
|
24
25
|
data: {
|
|
25
26
|
entity?: TriggerParams["entity"];
|
|
26
27
|
relation?: Relation;
|
|
27
28
|
params?: TriggerParams["params"];
|
|
28
29
|
} | undefined;
|
|
29
|
-
error: AxiosError<unknown, any> | undefined;
|
|
30
30
|
};
|
|
31
31
|
export default useEntityMutate;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SWRConfiguration } from "swr";
|
|
1
|
+
import { BareFetcher, SWRConfiguration } from "swr";
|
|
2
2
|
import { Entity } from "../../MdmGraph/types";
|
|
3
3
|
import { TaskData } from "../types";
|
|
4
|
-
declare const useTaskData: <EntityType extends Entity>(taskOid: string | undefined, config?: SWRConfiguration) => import("swr").SWRResponse<TaskData<EntityType>, any, SWRConfiguration<TaskData<EntityType>, any,
|
|
4
|
+
declare const useTaskData: <EntityType extends Entity>(taskOid: string | undefined, config?: SWRConfiguration) => import("swr").SWRResponse<TaskData<EntityType>, any, SWRConfiguration<TaskData<EntityType>, any, BareFetcher<TaskData<EntityType>>> | undefined>;
|
|
5
5
|
export default useTaskData;
|
|
@@ -49,9 +49,6 @@ export declare function complete(taskOid: string, outcome: {
|
|
|
49
49
|
outcome: string;
|
|
50
50
|
data: Record<string, unknown>;
|
|
51
51
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
52
|
-
export declare function validate(taskOid: string): Promise<import("axios").AxiosResponse<any, any>> & {
|
|
53
|
-
"@@redux-saga/CANCEL_PROMISE"?: import("axios").Canceler;
|
|
54
|
-
};
|
|
55
52
|
export declare function reviewApprove(taskOid: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
56
53
|
export declare function reviewDisapprove(taskOid: string, data: {
|
|
57
54
|
comment: string;
|