diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-04-10 18:41:40 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-04-10 18:41:40 +0200 |
commit | 4d6c0500cb76135b24d3a6a16510a562bea1b88b (patch) | |
tree | b04f81e31f0b233103f88b492f440920c4356023 /idl | |
parent | 0fbc9bbb05dd9dcfc4c064e20113629fd1af8de9 (diff) | |
download | garage-smithy2.tar.gz garage-smithy2.zip |
first build of the modelsmithy2
Diffstat (limited to 'idl')
-rw-r--r-- | idl/k2v.smithy | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/idl/k2v.smithy b/idl/k2v.smithy deleted file mode 100644 index 62eb106b..00000000 --- a/idl/k2v.smithy +++ /dev/null @@ -1,53 +0,0 @@ -$version: "2" -namespace org.deuxfleurs.garage.k2v - -service Item { - version: "2023-04-10" - resources: [ Item ] - operations: [ PollItem ] -} - -resource Item { - read: ReadItem - put: InsertItem - delete: DeleteItem - list: ReadIndex -} - -operation ReadItem { - input: ReadItemInput - output: ReadItemOutput -} - -@input -structure ReadItemInput { - bucket: String - partitionKey: String - sortKey: String -} - -@output -union ReadItemOutput { - list: ReadItemOutputList - raw: blob -} - -@sparse -list ReadItemOutputList { - member: String -} - -operation PollItem { - input: - output: -} - -operation InsertItem { - input: - output: -} - -operation DeleteItem { - input: - output: -} |