stable
Clone or download
Read-only
part of request #18402 Convert document plugin into typescript This patch extract rest querier metadata functions into typescript and add missing unit tests. It also split actions into the existing substore for metadata. I could not complete the action-metadata conversion because it still call js files, I'll need to convert them before beeing able to convert this specific file. No functional changes Change-Id: Iebff4bb1ab6a09b74f7a6c9e3b4732a1332129ea
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/document/scripts/document/api/metadata-rest-querier.test.ts | +194 | −0 | Go to diff View file |
A | plugins/document/scripts/document/api/metadata-rest-querier.ts | +185 | −0 | Go to diff View file |
M | plugins/document/scripts/document/api/rest-querier.js | +0 | −137 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/DropDown/DownloadFolderAsZip/DownloadFolderAsZip.test.js | +5 | −5 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/DropDown/DownloadFolderAsZip/DownloadFolderAsZip.vue | +4 | −3 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/ModalUpdateMetadata/UpdateFolderMetadataModal.vue | +1 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/ModalUpdateMetadata/UpdateMetadataModal.vue | +1 | −1 | Go to diff View file |
M | plugins/document/scripts/document/store/actions.js | +0 | −124 | Go to diff View file |
M | plugins/document/scripts/document/store/actions.test.js | +1 | −459 | Go to diff View file |
M | plugins/document/scripts/document/store/metadata/metadata-actions.js | +137 | −2 | Go to diff View file |
M | plugins/document/scripts/document/store/metadata/metadata-actions.test.js | +522 | −3 | Go to diff View file |
M | plugins/document/scripts/document/type.ts | +10 | −0 | Go to diff View file |