stable

Clone or download

Read-only

chore: convert createNewFileVersion to TypeScript

No functional changes. Part of request #18402: Convert document plugin into typescript Change-Id: I08214040a3a70ef4f8557f99c75f8f78a6ac3244

Modified Files

Name
M plugins/document/scripts/document/api/rest-querier.test.ts +3 −4 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.ts +7 −3 Go to diff View file
M plugins/document/scripts/document/store/actions-create.test.ts +10 −4 Go to diff View file
M plugins/document/scripts/document/store/actions-helpers/create-new-file.ts +2 −0 Go to diff View file
M plugins/document/scripts/document/store/actions-helpers/item-retriever.ts +2 −2 Go to diff View file
M plugins/document/scripts/document/store/actions-helpers/upload-file.ts +10 −3 Go to diff View file
A plugins/document/scripts/document/store/actions-helpers/upload-new-version.ts +65 −0 Go to diff View file
A plugins/document/scripts/document/store/actions-update.test.ts +91 −0 Go to diff View file
A plugins/document/scripts/document/store/actions-update.ts +42 −0 Go to diff View file
M plugins/document/scripts/document/store/actions.js +3 −42 Go to diff View file
M plugins/document/scripts/document/store/actions.test.js +4 −50 Go to diff View file
M plugins/document/scripts/document/type.ts +9 −17 Go to diff View file