Skip to content

Commit

Permalink
allow passing bag_idempotent prop to export config
Browse files Browse the repository at this point in the history
  • Loading branch information
RFSH committed Mar 4, 2024
1 parent 7949f4f commit 712e2dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/user-docs/export.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ To have a overall picture of how the export templates look like, you can refer t
"transforms": [], // refer to export module for more details
"postprocessors": [], // refer to export module for more details
"public": <Boolean>, // refer to export module for more details
"bag_archiver": <string> // refer to export module for more details
"bag_archiver": <string>, // refer to export module for more details
"bag_idempotent": <Boolean> // refer to export module for more details (defaulted to false it not present)
}
]
}
Expand Down
3 changes: 3 additions & 0 deletions js/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@
if (template.bag_archiver != null) {
exportParameters.bag.bag_archiver = template.bag_archiver;
}
if (template.bag_idempotent != null) {
exportParameters.bag.bag_idempotent = template.bag_idempotent;
}
this._exportParameters = exportParameters;
}

Expand Down

0 comments on commit 712e2dd

Please sign in to comment.