-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more fixes and tests for trash handling
- Loading branch information
gggeek
committed
Oct 29, 2017
1 parent
55e0736
commit 492c7b6
Showing
5 changed files
with
121 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,23 @@ | ||
# Empties the trash | ||
- | ||
type: trash | ||
mode: purge | ||
|
||
# Restores a Location that is in the trash | ||
- | ||
type: trash | ||
mode: recover | ||
match: | ||
xxx | ||
parent_location: [x, y, z] # Optional: the new parent location for the recovered trashed item. Multiple locations can be added in a single step using an array | ||
xxx # See the conditions for content/update | ||
references: # Optional | ||
- | ||
identifier: referenceId # A string used to identify the reference | ||
attribute: attribute # An attribute to get the value of for the reference. | ||
# Supports: ... | ||
|
||
# Deletes definitively a Location that is already in the trash | ||
- | ||
type: trash | ||
mode: delete | ||
match: | ||
xxx | ||
|
||
#- | ||
# type: trash | ||
# mode: load | ||
# match: | ||
# xxx | ||
# references: # Optional | ||
# - | ||
# identifier: referenceId # A string used to identify the reference | ||
# attribute: attribute # An attribute to get the value of for the reference. | ||
# # Supports: ... | ||
xxx # See the conditions for content/update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters