@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,4 +1,136 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CancelToken } from "axios";
|
|
2
|
+
import { SupportedItem } from "../App/types";
|
|
3
|
+
import { UploadContextType } from "../Uploader/Context";
|
|
4
|
+
import { Inode, InodeTypeRef, StateMachineAction, StateMachineActionResult } from "./types";
|
|
5
|
+
/**
|
|
6
|
+
* Load an iterable of inode's oid
|
|
7
|
+
* @param {Array.<string>} oids
|
|
8
|
+
*/
|
|
9
|
+
export declare function get(oids: Inode["oid"][]): {
|
|
10
|
+
type: string;
|
|
11
|
+
payload: {
|
|
12
|
+
oids: string[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Load an iterable of inode's oid
|
|
17
|
+
* @param {Iterable.<object>} inodes
|
|
18
|
+
*/
|
|
19
|
+
export declare function getSuccess(inodes: Inode[]): {
|
|
20
|
+
type: string;
|
|
21
|
+
payload: {
|
|
22
|
+
inodes: Inode[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export declare function getError(error: unknown, payload: {
|
|
26
|
+
oids: Inode["oid"][];
|
|
27
|
+
}): {
|
|
28
|
+
type: string;
|
|
29
|
+
payload: {
|
|
30
|
+
oids: Inode["oid"][];
|
|
31
|
+
};
|
|
32
|
+
error: unknown;
|
|
33
|
+
};
|
|
34
|
+
export declare function load(oid: Inode["oid"]): {
|
|
35
|
+
type: string;
|
|
36
|
+
payload: {
|
|
37
|
+
oid: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export declare function loadSuccess(inode: Inode): {
|
|
41
|
+
type: string;
|
|
42
|
+
payload: {
|
|
43
|
+
inode: Inode;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export declare function loadAllChildren(oid: Inode["oid"], params: Record<string, unknown>): {
|
|
47
|
+
type: string;
|
|
48
|
+
payload: {
|
|
49
|
+
oid: string;
|
|
50
|
+
params: Record<string, unknown>;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export declare function loadAllChildrenSuccess(inodes: Inode[]): {
|
|
54
|
+
type: string;
|
|
55
|
+
payload: {
|
|
56
|
+
inodes: Inode[];
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export declare function loadAllChildrenError(error: unknown, oid: Inode["oid"]): {
|
|
60
|
+
type: string;
|
|
61
|
+
payload: {
|
|
62
|
+
oid: string;
|
|
63
|
+
};
|
|
64
|
+
error: unknown;
|
|
65
|
+
};
|
|
66
|
+
export declare function loadError(error: unknown, oid: Inode["oid"]): {
|
|
67
|
+
type: string;
|
|
68
|
+
payload: {
|
|
69
|
+
oid: string;
|
|
70
|
+
};
|
|
71
|
+
error: unknown;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @param {string[]} oids
|
|
76
|
+
* @param {Record<any,any>} params
|
|
77
|
+
* @param {Record<any,any>} queryParams
|
|
78
|
+
* @returns
|
|
79
|
+
*/
|
|
80
|
+
export declare function loadChildren(oids: Inode["oid"][], params: Record<string, unknown>, queryParams: Record<string, unknown>): {
|
|
81
|
+
type: string;
|
|
82
|
+
payload: {
|
|
83
|
+
oids: string[];
|
|
84
|
+
queryParams: Record<string, unknown>;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
export declare function loadChildrenSuccess(inodeCollections: Record<Inode["oid"], Inode>, params: Record<string, unknown>): {
|
|
88
|
+
type: string;
|
|
89
|
+
payload: {
|
|
90
|
+
inodeCollections: Record<string, Inode>;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
export declare function loadChildrenError(error: unknown, payload: {
|
|
94
|
+
oids: Inode["oid"][];
|
|
95
|
+
params: Record<string, unknown>;
|
|
96
|
+
queryParams: Record<string, unknown>;
|
|
97
|
+
}): {
|
|
98
|
+
type: string;
|
|
99
|
+
error: unknown;
|
|
100
|
+
payload: {
|
|
101
|
+
oids: Inode["oid"][];
|
|
102
|
+
params: Record<string, unknown>;
|
|
103
|
+
queryParams: Record<string, unknown>;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
export declare function save(inodes: Inode[], params: Record<string, unknown>, mergeOnNameConflict?: boolean): {
|
|
107
|
+
type: string;
|
|
108
|
+
payload: {
|
|
109
|
+
inodes: Inode[];
|
|
110
|
+
params: Record<string, unknown>;
|
|
111
|
+
mergeOnNameConflict: boolean;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
export declare function saveSuccess(inodes: Inode[], params: Record<string, unknown>): {
|
|
115
|
+
type: string;
|
|
116
|
+
payload: {
|
|
117
|
+
inodes: Inode[];
|
|
118
|
+
params: Record<string, unknown>;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
export declare function saveError(error: unknown, payload: {
|
|
122
|
+
inodes: Inode[];
|
|
123
|
+
params: Record<string, unknown>;
|
|
124
|
+
mergeOnNameConflict: boolean;
|
|
125
|
+
}): {
|
|
126
|
+
type: string;
|
|
127
|
+
payload: {
|
|
128
|
+
inodes: Inode[];
|
|
129
|
+
params: Record<string, unknown>;
|
|
130
|
+
mergeOnNameConflict: boolean;
|
|
131
|
+
};
|
|
132
|
+
error: unknown;
|
|
133
|
+
};
|
|
2
134
|
export declare function saveConfiguration(inode: Inode, data: {
|
|
3
135
|
childrenAllowedTypes: Inode["childrenAllowedTypes"];
|
|
4
136
|
childrenAllowedTemplates: Inode["childrenAllowedTemplates"];
|
|
@@ -33,6 +165,249 @@ export declare function saveConfigurationError(error: unknown, inode: Inode, dat
|
|
|
33
165
|
};
|
|
34
166
|
error: unknown;
|
|
35
167
|
};
|
|
168
|
+
export declare function loadTrash(queryParams: Record<string, unknown>): {
|
|
169
|
+
type: string;
|
|
170
|
+
payload: {
|
|
171
|
+
queryParams: Record<string, unknown>;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
export declare function loadTrashSuccess(inodes: Inode[]): {
|
|
175
|
+
type: string;
|
|
176
|
+
payload: {
|
|
177
|
+
inodes: Inode[];
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
export declare function loadTrashError(error: unknown, queryParams: Record<string, unknown>): {
|
|
181
|
+
type: string;
|
|
182
|
+
payload: {
|
|
183
|
+
queryParams: Record<string, unknown>;
|
|
184
|
+
};
|
|
185
|
+
error: unknown;
|
|
186
|
+
};
|
|
187
|
+
export declare function trashSuccess(inodes: Inode[]): {
|
|
188
|
+
type: string;
|
|
189
|
+
payload: {
|
|
190
|
+
inodes: Inode[];
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
export declare function addInodes(inodes: Inode[]): {
|
|
194
|
+
type: string;
|
|
195
|
+
payload: {
|
|
196
|
+
inodes: Inode[];
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* Remove (trash) inodes from folder manager
|
|
201
|
+
*/
|
|
202
|
+
export declare function willRemoveInodes(inodes: Inode[]): {
|
|
203
|
+
type: string;
|
|
204
|
+
payload: {
|
|
205
|
+
inodes: Inode[];
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
export declare function removeInodes(inodes: Inode[]): {
|
|
209
|
+
type: string;
|
|
210
|
+
payload: {
|
|
211
|
+
inodes: Inode[];
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
export declare function upload(targetOid: Inode["oid"], files: File[], fileInodes: Inode[], serviceConfig: {
|
|
215
|
+
onUploadProgress: (progressEvent: any) => void;
|
|
216
|
+
cancelToken: CancelToken;
|
|
217
|
+
}): {
|
|
218
|
+
type: string;
|
|
219
|
+
payload: {
|
|
220
|
+
targetOid: string;
|
|
221
|
+
files: File[];
|
|
222
|
+
fileInodes: Inode[];
|
|
223
|
+
serviceConfig: {
|
|
224
|
+
onUploadProgress: (progressEvent: any) => void;
|
|
225
|
+
cancelToken: CancelToken;
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
export declare function uploadSuccess(targetOid: Inode["oid"], inodes: Inode[]): {
|
|
230
|
+
type: string;
|
|
231
|
+
payload: {
|
|
232
|
+
targetOid: string;
|
|
233
|
+
inodes: Inode[];
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
export declare function uploadError(error: unknown, payload: {
|
|
237
|
+
targetOid: Inode["oid"];
|
|
238
|
+
files: File[];
|
|
239
|
+
fileInodes: Inode[];
|
|
240
|
+
serviceConfig: {
|
|
241
|
+
onUploadProgress: (progressEvent: any) => void;
|
|
242
|
+
cancelToken: CancelToken;
|
|
243
|
+
};
|
|
244
|
+
}): {
|
|
245
|
+
type: string;
|
|
246
|
+
payload: {
|
|
247
|
+
targetOid: Inode["oid"];
|
|
248
|
+
files: File[];
|
|
249
|
+
fileInodes: Inode[];
|
|
250
|
+
serviceConfig: {
|
|
251
|
+
onUploadProgress: (progressEvent: any) => void;
|
|
252
|
+
cancelToken: CancelToken;
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
error: unknown;
|
|
256
|
+
};
|
|
257
|
+
/**
|
|
258
|
+
* This action has to be used in conjonction with `createPromiseAction`. Promise will be then resolved with proper types.
|
|
259
|
+
* @param {Object} params Params object
|
|
260
|
+
* @param {Iterable} params.inodes List of inodes to check the type of. If you set this parameter, you can't set files parameter
|
|
261
|
+
* @param {Iterable} params.files List of files to check the type of. If you set this parameter, you can't set inodes parameter
|
|
262
|
+
* @param {Iterable} params.targetTypes List of acceptable types. If you set this parameter, you can't set targetInodeOid parameter
|
|
263
|
+
* @param {string} params.targetInodeOid Target inode oid. If you set this parameter, you can't set targetTypes or forceChildrenWithType parameters
|
|
264
|
+
* @param {boolean} params.forceChildrenWithType If true, inodes will be forced to have a type.
|
|
265
|
+
* @param {boolean} params.sort If true, inodes will be sorted by name in types capture modal.
|
|
266
|
+
* @param {boolean} params.enablePropertiesUpload If true, the AssignTypeAndPropertiesModal modal will be shown.
|
|
267
|
+
* @returns
|
|
268
|
+
*/
|
|
269
|
+
export declare function checkAndGetType(params: {
|
|
270
|
+
inodes: Inode[];
|
|
271
|
+
files: File[];
|
|
272
|
+
targetTypes: InodeTypeRef[];
|
|
273
|
+
forceChildrenWithType: boolean;
|
|
274
|
+
targetInodeOid: Inode["oid"];
|
|
275
|
+
sort: string;
|
|
276
|
+
fileProps: Record<string, unknown>;
|
|
277
|
+
enablePropertiesUpload: boolean;
|
|
278
|
+
}): {
|
|
279
|
+
type: string;
|
|
280
|
+
payload: {
|
|
281
|
+
inodes: Inode[];
|
|
282
|
+
files: File[];
|
|
283
|
+
targetInodeOid: string;
|
|
284
|
+
targetTypes: InodeTypeRef[];
|
|
285
|
+
forceChildrenWithType: boolean;
|
|
286
|
+
sort: string;
|
|
287
|
+
fileProps: Record<string, unknown>;
|
|
288
|
+
enablePropertiesUpload: boolean;
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
export declare function updateBinary(oid: Inode["oid"], file: File, serviceConfig?: Record<string, unknown>): {
|
|
292
|
+
type: string;
|
|
293
|
+
payload: {
|
|
294
|
+
oid: string;
|
|
295
|
+
file: File;
|
|
296
|
+
serviceConfig: Record<string, unknown> | undefined;
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
export declare function updateBinarySuccess(inodes: Inode[]): {
|
|
300
|
+
type: string;
|
|
301
|
+
payload: {
|
|
302
|
+
inodes: Inode[];
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
export declare function updateBinaryError(error: unknown, payload: {
|
|
306
|
+
oid: Inode["oid"];
|
|
307
|
+
file: File;
|
|
308
|
+
item: Inode;
|
|
309
|
+
serviceConfig: Record<string, unknown>;
|
|
310
|
+
}): {
|
|
311
|
+
type: string;
|
|
312
|
+
error: unknown;
|
|
313
|
+
payload: {
|
|
314
|
+
oid: Inode["oid"];
|
|
315
|
+
file: File;
|
|
316
|
+
item: Inode;
|
|
317
|
+
serviceConfig: Record<string, unknown>;
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
export declare function toggleFavoriteSuccess(inodes: Inode[]): {
|
|
321
|
+
type: string;
|
|
322
|
+
payload: {
|
|
323
|
+
inodes: Inode[];
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
export declare function toggleWatchSuccess(inodes: Inode[]): {
|
|
327
|
+
type: string;
|
|
328
|
+
payload: {
|
|
329
|
+
inodes: Inode[];
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
export declare function createFolderSuccess(inode: Inode): {
|
|
333
|
+
type: string;
|
|
334
|
+
payload: {
|
|
335
|
+
inode: Inode;
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
export declare function copy(inodes: Inode[], targetInodeOrOid: Inode | Inode["oid"], params?: Record<string, unknown>, copyToMode?: "FORCE_DUPLICATE"): {
|
|
339
|
+
type: string;
|
|
340
|
+
payload: {
|
|
341
|
+
inodes: Inode[];
|
|
342
|
+
targetInodeOrOid: string | Inode;
|
|
343
|
+
params: Record<string, unknown> | undefined;
|
|
344
|
+
copyToMode: "FORCE_DUPLICATE" | undefined;
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
export declare function copySuccess(inodes: Inode[], params: Record<string, unknown>): {
|
|
348
|
+
type: string;
|
|
349
|
+
payload: {
|
|
350
|
+
inodes: Inode[];
|
|
351
|
+
params: Record<string, unknown>;
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
export declare function copyError(error: unknown, payload: {
|
|
355
|
+
inodes: Inode[];
|
|
356
|
+
targetInodeOrOid: Inode | Inode["oid"];
|
|
357
|
+
params: Record<string, unknown>;
|
|
358
|
+
}): {
|
|
359
|
+
type: string;
|
|
360
|
+
error: unknown;
|
|
361
|
+
payload: {
|
|
362
|
+
inodes: Inode[];
|
|
363
|
+
targetInodeOrOid: Inode | Inode["oid"];
|
|
364
|
+
params: Record<string, unknown>;
|
|
365
|
+
};
|
|
366
|
+
};
|
|
367
|
+
export declare function linkSuccess(inodes: Inode[]): {
|
|
368
|
+
type: string;
|
|
369
|
+
payload: {
|
|
370
|
+
inodes: Inode[];
|
|
371
|
+
};
|
|
372
|
+
};
|
|
373
|
+
export declare function download(inodes: SupportedItem[]): {
|
|
374
|
+
type: string;
|
|
375
|
+
payload: {
|
|
376
|
+
inodes: SupportedItem[];
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
export declare function editModal(inode: Inode): {
|
|
380
|
+
payload: {
|
|
381
|
+
type: string;
|
|
382
|
+
props: Partial<{
|
|
383
|
+
[key: string]: unknown;
|
|
384
|
+
disableEscapeKeyDown: boolean;
|
|
385
|
+
disableBackdropClick: boolean;
|
|
386
|
+
correlationId: string;
|
|
387
|
+
fullWidth: boolean;
|
|
388
|
+
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
389
|
+
blocker: boolean;
|
|
390
|
+
onClose: () => void;
|
|
391
|
+
}> | undefined;
|
|
392
|
+
};
|
|
393
|
+
type: "modal/showModal";
|
|
394
|
+
};
|
|
395
|
+
export declare function scanModal(inode: Inode): {
|
|
396
|
+
payload: {
|
|
397
|
+
type: string;
|
|
398
|
+
props: Partial<{
|
|
399
|
+
[key: string]: unknown;
|
|
400
|
+
disableEscapeKeyDown: boolean;
|
|
401
|
+
disableBackdropClick: boolean;
|
|
402
|
+
correlationId: string;
|
|
403
|
+
fullWidth: boolean;
|
|
404
|
+
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
405
|
+
blocker: boolean;
|
|
406
|
+
onClose: () => void;
|
|
407
|
+
}> | undefined;
|
|
408
|
+
};
|
|
409
|
+
type: "modal/showModal";
|
|
410
|
+
};
|
|
36
411
|
/**
|
|
37
412
|
*
|
|
38
413
|
* @param {import("./types").StateMachineAction} action State action to apply
|
|
@@ -74,6 +449,28 @@ export declare function assignTypesAndProperties(inodes: Inode[], correlationId:
|
|
|
74
449
|
correlationId: string;
|
|
75
450
|
};
|
|
76
451
|
};
|
|
452
|
+
export declare function move(sourceInodes: Inode[], targetInode: Inode, params?: Record<string, unknown>, moveMode?: "FORCE_MOVE"): {
|
|
453
|
+
type: string;
|
|
454
|
+
payload: {
|
|
455
|
+
inodes: Inode[];
|
|
456
|
+
params: {
|
|
457
|
+
targetInode: Inode;
|
|
458
|
+
inodeOriginals: Inode[];
|
|
459
|
+
moveMode: "FORCE_MOVE" | undefined;
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
};
|
|
463
|
+
/**
|
|
464
|
+
*
|
|
465
|
+
* @param {Set} oids Set of oids to keep upon cleaning
|
|
466
|
+
* @return {Object} FSA Compliant action
|
|
467
|
+
*/
|
|
468
|
+
export declare function clean(oids: Inode["oid"][]): {
|
|
469
|
+
type: string;
|
|
470
|
+
payload: {
|
|
471
|
+
oids: string[];
|
|
472
|
+
};
|
|
473
|
+
};
|
|
77
474
|
export declare function renameInodeModal(inode: Inode): {
|
|
78
475
|
payload: {
|
|
79
476
|
type: string;
|
|
@@ -85,8 +482,6 @@ export declare function renameInodeModal(inode: Inode): {
|
|
|
85
482
|
fullWidth: boolean;
|
|
86
483
|
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
87
484
|
blocker: boolean;
|
|
88
|
-
onConfirm: (...args: any[]) => void;
|
|
89
|
-
onCancel: () => void;
|
|
90
485
|
onClose: () => void;
|
|
91
486
|
}> | undefined;
|
|
92
487
|
};
|
|
@@ -103,8 +498,6 @@ export declare function createFolderModal(inode: Inode): {
|
|
|
103
498
|
fullWidth: boolean;
|
|
104
499
|
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
105
500
|
blocker: boolean;
|
|
106
|
-
onConfirm: (...args: any[]) => void;
|
|
107
|
-
onCancel: () => void;
|
|
108
501
|
onClose: () => void;
|
|
109
502
|
}> | undefined;
|
|
110
503
|
};
|
|
@@ -121,13 +514,55 @@ export declare function assignTypeModal(sourceInodes: Inode[], childrenAllowedTy
|
|
|
121
514
|
fullWidth: boolean;
|
|
122
515
|
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
123
516
|
blocker: boolean;
|
|
124
|
-
onConfirm: (...args: any[]) => void;
|
|
125
|
-
onCancel: () => void;
|
|
126
517
|
onClose: () => void;
|
|
127
518
|
}> | undefined;
|
|
128
519
|
};
|
|
129
520
|
type: "modal/showModal";
|
|
130
521
|
};
|
|
522
|
+
export declare function nameConflictModal(payload: {
|
|
523
|
+
permissions: Inode["permissions"];
|
|
524
|
+
callback: (action: "RENAME" | "UPDATE", inodeName: Inode["name"], uploadContext: UploadContextType) => void;
|
|
525
|
+
name: string;
|
|
526
|
+
isPlural: boolean;
|
|
527
|
+
shouldCheckForExtensionRename: boolean;
|
|
528
|
+
}): {
|
|
529
|
+
payload: {
|
|
530
|
+
type: string;
|
|
531
|
+
props: Partial<{
|
|
532
|
+
[key: string]: unknown;
|
|
533
|
+
disableEscapeKeyDown: boolean;
|
|
534
|
+
disableBackdropClick: boolean;
|
|
535
|
+
correlationId: string;
|
|
536
|
+
fullWidth: boolean;
|
|
537
|
+
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
538
|
+
blocker: boolean;
|
|
539
|
+
onClose: () => void;
|
|
540
|
+
}> | undefined;
|
|
541
|
+
};
|
|
542
|
+
type: "modal/showModal";
|
|
543
|
+
};
|
|
544
|
+
export declare function restoreInodes(inodes: Inode[], targetInode?: Inode, params?: Record<string, unknown>): {
|
|
545
|
+
type: string;
|
|
546
|
+
payload: {
|
|
547
|
+
inodes: Inode[];
|
|
548
|
+
targetInode: Inode | undefined;
|
|
549
|
+
params: Record<string, unknown> | undefined;
|
|
550
|
+
};
|
|
551
|
+
};
|
|
552
|
+
export declare function restoreInodesSuccess(inodes: Inode[], params: Record<string, unknown>): {
|
|
553
|
+
type: string;
|
|
554
|
+
payload: {
|
|
555
|
+
inodes: Inode[];
|
|
556
|
+
params: Record<string, unknown>;
|
|
557
|
+
};
|
|
558
|
+
};
|
|
559
|
+
export declare function restoreInodesError(error: unknown, inodes: Inode[]): {
|
|
560
|
+
type: string;
|
|
561
|
+
payload: {
|
|
562
|
+
inodes: Inode[];
|
|
563
|
+
};
|
|
564
|
+
error: unknown;
|
|
565
|
+
};
|
|
131
566
|
export declare function createNewTaskInodeModal(inodes: Inode[]): {
|
|
132
567
|
payload: {
|
|
133
568
|
type: string;
|
|
@@ -139,8 +574,6 @@ export declare function createNewTaskInodeModal(inodes: Inode[]): {
|
|
|
139
574
|
fullWidth: boolean;
|
|
140
575
|
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
141
576
|
blocker: boolean;
|
|
142
|
-
onConfirm: (...args: any[]) => void;
|
|
143
|
-
onCancel: () => void;
|
|
144
577
|
onClose: () => void;
|
|
145
578
|
}> | undefined;
|
|
146
579
|
};
|
|
@@ -157,8 +590,6 @@ export declare function showTimelineModal(inode: Inode): {
|
|
|
157
590
|
fullWidth: boolean;
|
|
158
591
|
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
159
592
|
blocker: boolean;
|
|
160
|
-
onConfirm: (...args: any[]) => void;
|
|
161
|
-
onCancel: () => void;
|
|
162
593
|
onClose: () => void;
|
|
163
594
|
}> | undefined;
|
|
164
595
|
};
|
|
@@ -175,8 +606,6 @@ export declare function assignTypeAndPropertiesModal(sourceInodes: Inode[], chil
|
|
|
175
606
|
fullWidth: boolean;
|
|
176
607
|
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
177
608
|
blocker: boolean;
|
|
178
|
-
onConfirm: (...args: any[]) => void;
|
|
179
|
-
onCancel: () => void;
|
|
180
609
|
onClose: () => void;
|
|
181
610
|
}> | undefined;
|
|
182
611
|
};
|
|
@@ -1,10 +1,52 @@
|
|
|
1
|
+
export declare const LOAD = "imtf/Inodes/LOAD";
|
|
2
|
+
export declare const LOAD_SUCCESS = "imtf/Inodes/LOAD_SUCCESS";
|
|
3
|
+
export declare const LOAD_ERROR = "imtf/Inodes/LOAD_ERROR";
|
|
4
|
+
export declare const GET = "imtf/Inodes/GET";
|
|
5
|
+
export declare const GET_SUCCESS = "imtf/Inodes/GET_SUCCESS";
|
|
6
|
+
export declare const GET_ERROR = "imtf/Inodes/GET_ERROR";
|
|
7
|
+
export declare const LOAD_CHILDREN = "imtf/Inodes/LOAD_CHILDREN";
|
|
8
|
+
export declare const LOAD_CHILDREN_SUCCESS = "imtf/Inodes/LOAD_CHILDREN_SUCCESS";
|
|
9
|
+
export declare const LOAD_CHILDREN_ERROR = "imtf/Inodes/LOAD_CHILDREN_ERROR";
|
|
10
|
+
export declare const LOAD_ALL_CHILDREN = "imtf/Inodes/LOAD_ALL_CHILDREN";
|
|
11
|
+
export declare const LOAD_ALL_CHILDREN_SUCCESS = "imtf/Inodes/LOAD_ALL_CHILDREN_SUCCESS";
|
|
12
|
+
export declare const LOAD_ALL_CHILDREN_ERROR = "imtf/Inodes/LOAD_ALL_CHILDREN_ERROR";
|
|
13
|
+
export declare const CHECK_AND_GET_TYPE = "imtf/inode/CHECK_AND_GET_TYPE";
|
|
14
|
+
export declare const UPDATE_BINARY = "imtf/inode/UPDATE_BINARY";
|
|
15
|
+
export declare const UPDATE_BINARY_SUCCESS = "imtf/inode/UPDATE_BINARY_SUCCESS";
|
|
16
|
+
export declare const UPDATE_BINARY_ERROR = "imtf/inode/UPDATE_BINARY_ERROR";
|
|
17
|
+
export declare const SAVE = "imtf/Inodes/SAVE";
|
|
18
|
+
export declare const SAVE_SUCCESS = "imtf/Inodes/SAVE_SUCCESS";
|
|
19
|
+
export declare const SAVE_ERROR = "imtf/Inodes/SAVE_ERROR";
|
|
20
|
+
export declare const MOVE = "imtf/Inodes/MOVE";
|
|
1
21
|
export declare const ASSIGN_TYPES_AND_PROPERTIES = "imtf/Inodes/ASSIGN_TYPES_AND_PROPERTIES";
|
|
2
22
|
export declare const SAVE_CONFIGURATION = "imtf/Inodes/SAVE_CONFIGURATION";
|
|
3
23
|
export declare const SAVE_CONFIGURATION_SUCCESS = "imtf/Inodes/SAVE_CONFIGURATION_SUCCESS";
|
|
4
24
|
export declare const SAVE_CONFIGURATION_ERROR = "imtf/Inodes/SAVE_CONFIGURATION_ERROR";
|
|
25
|
+
export declare const TOGGLE_FAVORITE_SUCCESS = "imtf/Inodes/TOGGLE_FAVORITE_SUCCESS";
|
|
26
|
+
export declare const TOGGLE_WATCH_SUCCESS = "imtf/Inodes/TOGGLE_WATCH_SUCCESS";
|
|
27
|
+
export declare const LOAD_TRASH = "imtf/TRASH/LOAD_TRASH";
|
|
28
|
+
export declare const LOAD_TRASH_SUCCESS = "imtf/TRASH/LOAD_TRASH_SUCCESS";
|
|
29
|
+
export declare const LOAD_TRASH_ERROR = "imtf/TRASH/LOAD_TRASH_ERROR";
|
|
30
|
+
export declare const TRASH_SUCCESS = "imtf/Inodes/TRASH_SUCCESS";
|
|
31
|
+
export declare const RESTORE_INODES = "imtf/Inode/RESTORE_INODES";
|
|
32
|
+
export declare const RESTORE_INODES_SUCCESS = "imtf/Inode/RESTORE_INODES_SUCCESS";
|
|
33
|
+
export declare const RESTORE_INODES_ERROR = "imtf/Inode/RESTORE_INODES_ERROR";
|
|
34
|
+
export declare const UPLOAD = "imtf/Inodes/UPLOAD";
|
|
35
|
+
export declare const UPLOAD_SUCCESS = "imtf/Inodes/UPLOAD_SUCCESS";
|
|
36
|
+
export declare const UPLOAD_ERROR = "imtf/Inodes/UPLOAD_ERROR";
|
|
37
|
+
export declare const CREATE_FOLDER_SUCCESS = "imtf/Inodes/CREATE_FOLDER_SUCCESS";
|
|
38
|
+
export declare const COPY = "imtf/Inodes/COPY";
|
|
39
|
+
export declare const COPY_SUCCESS = "imtf/Inodes/COPY_SUCCESS";
|
|
40
|
+
export declare const COPY_ERROR = "imtf/Inodes/COPY_ERROR";
|
|
41
|
+
export declare const LINK_SUCCESS = "imtf/Inodes/LINK_SUCCESS";
|
|
42
|
+
export declare const DOWNLOAD = "imtf/Inodes/DOWNLOAD";
|
|
5
43
|
export declare const STATE_ACTION = "imtf/Inodes/STATE_ACTION";
|
|
6
44
|
export declare const STATE_ACTION_SUCCESS = "imtf/Inodes/STATE_ACTION_SUCCESS";
|
|
7
45
|
export declare const STATE_ACTION_ERROR = "imtf/Inodes/STATE_ACTION_ERROR";
|
|
46
|
+
export declare const ADD_INODES = "imtf/Inodes/ADD_INODES";
|
|
47
|
+
export declare const WILL_REMOVE_INODES = "imtf/Inodes/WILL_REMOVE_INODES";
|
|
48
|
+
export declare const REMOVE_INODES = "imtf/Inodes/REMOVE_INODES";
|
|
49
|
+
export declare const CLEAN = "imtf/Inodes/CLEAN";
|
|
8
50
|
export declare const EXTERNAL_LINK = "EXTERNAL_LINK";
|
|
9
51
|
export declare const EVENT_TYPES: {
|
|
10
52
|
readonly DOSSIER_CREATED: "DOSSIER_CREATED";
|
|
@@ -41,6 +83,8 @@ export declare const EVENT_TYPES: {
|
|
|
41
83
|
};
|
|
42
84
|
export declare const MODAL_TYPES: {
|
|
43
85
|
readonly RENAME_INODE: "imtf/Inodes/modal/RENAME_INODE";
|
|
86
|
+
readonly EDIT_INODE: "imtf/Inodes/modal/EDIT_INODE";
|
|
87
|
+
readonly SCAN_FILE: "imtf/Inodes/modal/SCAN_FILE";
|
|
44
88
|
readonly CREATE_FOLDER: "imtf/Inodes/modal/CREATE_FOLDER";
|
|
45
89
|
readonly ASSIGN_TYPE: "imtf/Inodes/modal/ASSIGN_TYPE";
|
|
46
90
|
readonly TIMELINE: "imtf/Inodes/modal/TIMELINE";
|
|
@@ -187,10 +187,6 @@ declare const _default: {
|
|
|
187
187
|
id: string;
|
|
188
188
|
defaultMessage: string;
|
|
189
189
|
};
|
|
190
|
-
itemCopyDropzone: {
|
|
191
|
-
id: string;
|
|
192
|
-
defaultMessage: string;
|
|
193
|
-
};
|
|
194
190
|
itemCopy: {
|
|
195
191
|
id: string;
|
|
196
192
|
defaultMessage: string;
|
|
@@ -199,10 +195,6 @@ declare const _default: {
|
|
|
199
195
|
id: string;
|
|
200
196
|
defaultMessage: string;
|
|
201
197
|
};
|
|
202
|
-
itemsCopyDropzone: {
|
|
203
|
-
id: string;
|
|
204
|
-
defaultMessage: string;
|
|
205
|
-
};
|
|
206
198
|
itemsCopy: {
|
|
207
199
|
id: string;
|
|
208
200
|
defaultMessage: string;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Inode, InodeState } from "./types";
|
|
2
|
+
export declare const inodesSelector: (state: any) => InodeState;
|
|
3
|
+
export declare const createInodeSelector: (oid: Inode["oid"]) => ((state: any) => {
|
|
4
|
+
item?: Inode;
|
|
5
|
+
versions?: import("./types").VersionInfo[];
|
|
6
|
+
dossierOverview?: {
|
|
7
|
+
data: any;
|
|
8
|
+
template: any;
|
|
9
|
+
};
|
|
10
|
+
error?: any;
|
|
11
|
+
}) & {
|
|
12
|
+
clearCache: () => void;
|
|
13
|
+
resultsCount: () => number;
|
|
14
|
+
resetResultsCount: () => void;
|
|
15
|
+
} & {
|
|
16
|
+
resultFunc: (resultFuncArgs_0: InodeState) => {
|
|
17
|
+
item?: Inode;
|
|
18
|
+
versions?: import("./types").VersionInfo[];
|
|
19
|
+
dossierOverview?: {
|
|
20
|
+
data: any;
|
|
21
|
+
template: any;
|
|
22
|
+
};
|
|
23
|
+
error?: any;
|
|
24
|
+
};
|
|
25
|
+
memoizedResultFunc: ((resultFuncArgs_0: InodeState) => {
|
|
26
|
+
item?: Inode;
|
|
27
|
+
versions?: import("./types").VersionInfo[];
|
|
28
|
+
dossierOverview?: {
|
|
29
|
+
data: any;
|
|
30
|
+
template: any;
|
|
31
|
+
};
|
|
32
|
+
error?: any;
|
|
33
|
+
}) & {
|
|
34
|
+
clearCache: () => void;
|
|
35
|
+
resultsCount: () => number;
|
|
36
|
+
resetResultsCount: () => void;
|
|
37
|
+
};
|
|
38
|
+
lastResult: () => {
|
|
39
|
+
item?: Inode;
|
|
40
|
+
versions?: import("./types").VersionInfo[];
|
|
41
|
+
dossierOverview?: {
|
|
42
|
+
data: any;
|
|
43
|
+
template: any;
|
|
44
|
+
};
|
|
45
|
+
error?: any;
|
|
46
|
+
};
|
|
47
|
+
dependencies: [(state: any) => InodeState];
|
|
48
|
+
recomputations: () => number;
|
|
49
|
+
resetRecomputations: () => void;
|
|
50
|
+
dependencyRecomputations: () => number;
|
|
51
|
+
resetDependencyRecomputations: () => void;
|
|
52
|
+
} & {
|
|
53
|
+
memoize: typeof import("reselect").lruMemoize;
|
|
54
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
55
|
+
};
|
|
@@ -20,7 +20,6 @@ export declare const paths: Readonly<{
|
|
|
20
20
|
readonly children: (params?: {
|
|
21
21
|
inodeOid: string | null;
|
|
22
22
|
} | undefined) => string;
|
|
23
|
-
readonly allChildren: (params?: {} | undefined) => string;
|
|
24
23
|
readonly copyTo: (params?: {
|
|
25
24
|
inodeOid: string | null;
|
|
26
25
|
targetOid: string | null;
|
|
@@ -103,8 +102,8 @@ export declare const paths: Readonly<{
|
|
|
103
102
|
inodeOid: string | null;
|
|
104
103
|
} | undefined) => string;
|
|
105
104
|
readonly relatedDossiers: (params?: {
|
|
106
|
-
dossierName: string | null;
|
|
107
105
|
dossierType: string | null;
|
|
106
|
+
dossierName: string | null;
|
|
108
107
|
} | undefined) => string;
|
|
109
108
|
}>;
|
|
110
109
|
export declare function getImmutable(inodeOid: string, params: Record<string, unknown>): Promise<ImmutableInode>;
|
|
@@ -121,7 +120,7 @@ export declare function trash(inodeRefList: InodeRefList, params: Record<string,
|
|
|
121
120
|
export declare function getHome(): Promise<Inode>;
|
|
122
121
|
export declare function getWorkspace(): Promise<Inode<"dms-core.Folder" | "dms-core.File" | "dms-core.Template" | "dms-core.Dossier" | "dms-core.DeniedInode">[]>;
|
|
123
122
|
export declare function getChildren(inodeOid: string, params: Record<string, unknown>): Promise<Inode[]>;
|
|
124
|
-
export declare function uploadFiles(files: File[], inodes: FileInode[], params: Record<string, unknown>): Promise<
|
|
123
|
+
export declare function uploadFiles(files: File[], inodes: FileInode[], params: Record<string, unknown>): Promise<Inode<"dms-core.Folder" | "dms-core.File" | "dms-core.Template" | "dms-core.Dossier" | "dms-core.DeniedInode">[]>;
|
|
125
124
|
export declare function getTimeLine(inodeOid: string, params: Record<string, unknown>): Promise<InodeEventList>;
|
|
126
125
|
export declare function getTags(inputVal: string, limit?: number): Promise<Tag[]>;
|
|
127
126
|
export declare function createTag(name: string): Promise<Tag>;
|
|
@@ -139,7 +138,7 @@ export declare function generateDownloadToken(downloadId: string): Promise<impor
|
|
|
139
138
|
export declare function getPropertiesComponents(inodeOid: string): Promise<import("immutable").Collection<unknown, unknown>>;
|
|
140
139
|
export declare function getBinaryBlob(downloadId: string): Promise<any>;
|
|
141
140
|
export declare function getVersions(inodeOid: string): Promise<any[]>;
|
|
142
|
-
export declare function updateBinary(inodeOid: string, file: File,
|
|
141
|
+
export declare function updateBinary(inodeOid: string, file: File, params: Record<string, unknown>): Promise<any[]>;
|
|
143
142
|
export declare function restoreInodeBulk(inodeList: InodeList): Promise<Inode<"dms-core.Folder" | "dms-core.File" | "dms-core.Template" | "dms-core.Dossier" | "dms-core.DeniedInode">[]>;
|
|
144
143
|
export declare function getFieldsDefinition(inodeOid: string): Promise<any[]>;
|
|
145
144
|
export declare function getAllChildren<Params extends Record<string, unknown>>(inodeOid: string, params: Params): Promise<{
|