Skip to content

Commit

Permalink
feat: implement editing of third party iiif images (DEV-3967) (#646)
Browse files Browse the repository at this point in the history
* fix: types for updating

* feat: updating external iiif-images, export and update version
  • Loading branch information
domsteinbach authored Sep 9, 2024
1 parent 8d703bd commit 9312e61
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dasch-swiss/dsp-js",
"version": "10.1.0",
"version": "10.2.0",
"description": "JavaScript library that handles API requests to Knora",
"main": "index.js",
"files": [
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ export {
UpdateMovingImageFileValue,
UpdateStillImageFileValue,
UpdateTextFileValue,
UpdateArchiveFileValue
UpdateArchiveFileValue,
UpdateExternalStillImageFileValue
} from "./models/v2/resources/values/update/update-file-value";
export { UpdateGeomValue } from "./models/v2/resources/values/update/update-geom-value";
export { UpdateIntValue } from "./models/v2/resources/values/update/update-int-value";
Expand Down
6 changes: 3 additions & 3 deletions src/models/v2/resources/values/update/update-file-value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ export class UpdateStillImageFileValue extends UpdateFileValue {
*/
@JsonObject("UpdateStillImageExternalFileValue")
export class UpdateExternalStillImageFileValue extends UpdateFileValue {
@JsonProperty(Constants.StillImageFileValueHasExternalUrl, String, true)
externalUrl?: string = "";
@JsonProperty(Constants.FileValueHasExternalUrl, String, true)
externalUrl: string;
constructor() {
super(Constants.StillImageAbstractFileValue);
super(Constants.StillImageExternalFileValue);
}
}

Expand Down

0 comments on commit 9312e61

Please sign in to comment.