diff --git a/wit/couchbase/subdocument.wit b/wit/couchbase/subdocument.wit index dd51385..e79b792 100644 --- a/wit/couchbase/subdocument.wit +++ b/wit/couchbase/subdocument.wit @@ -46,6 +46,15 @@ interface subdocument-lookup { parent-span: option, } + /// Documents that are returned from lookup-in operations + record lookup-in-document { + /// CAS revision of the document + cas: u64, + + /// Value that was retrieved + document: document, + } + /// Documents that are returned from lookup-in operations on replicas record lookup-in-replica-document { /// CAS revision of the document @@ -75,7 +84,7 @@ interface subdocument-lookup { id: document-id, operations: list, options: lookup-options, - ) -> result>, lookup-error>; + ) -> result>, lookup-error>; /// Perform a lookup on a particular document from any replica server lookup-in-any-replicas: func( diff --git a/wit/deps.lock b/wit/deps.lock index 4967e7f..6667e92 100644 --- a/wit/deps.lock +++ b/wit/deps.lock @@ -1,7 +1,7 @@ [couchbase] path = "couchbase" -sha256 = "a8948b95226fe1294d0188e16a61e676364bfe0ea1efe3876b3c7b697bc32e62" -sha512 = "ef4aeeb2c5d8ac75e252f6040a42cc2fc9a73ff784bd5c9f0a98b66e6b633e0aabc64bd6f5547a5fdadd074eb2e2b91ae6744cec72a82809b993126382c16860" +sha256 = "3d40df73562805e07f6a2aa5f618fa7fa022717cab4aadd065bd2749275b243a" +sha512 = "2458459dd253299a3aa32594ae6bbd09aac5f740cdf4b6bef6b49bd0f99c3d42f2e5bc92d8b91ae53fe6bfd42403a87c3e683fb6aef51a840cfdb63cff74badf" [keyvalue] path = "keyvalue" diff --git a/wit/deps/couchbase/subdocument.wit b/wit/deps/couchbase/subdocument.wit index dd51385..e79b792 100644 --- a/wit/deps/couchbase/subdocument.wit +++ b/wit/deps/couchbase/subdocument.wit @@ -46,6 +46,15 @@ interface subdocument-lookup { parent-span: option, } + /// Documents that are returned from lookup-in operations + record lookup-in-document { + /// CAS revision of the document + cas: u64, + + /// Value that was retrieved + document: document, + } + /// Documents that are returned from lookup-in operations on replicas record lookup-in-replica-document { /// CAS revision of the document @@ -75,7 +84,7 @@ interface subdocument-lookup { id: document-id, operations: list, options: lookup-options, - ) -> result>, lookup-error>; + ) -> result>, lookup-error>; /// Perform a lookup on a particular document from any replica server lookup-in-any-replicas: func(