Skip to content

Commit a3cd4fa

Browse files
committed
feat(world): rename keyvalue world to imports
Signed-off-by: Jiaxiao Zhou (Mossaka) <[email protected]>
1 parent 7eef1ef commit a3cd4fa

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

keyvalue.md renamed to imports.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<h1><a name="keyvalue">World keyvalue</a></h1>
2-
<p>The <code>wasi:keyvalue/keyvalue</code> world provides common APIs for interacting
1+
<h1><a name="imports">World imports</a></h1>
2+
<p>The <code>wasi:keyvalue/imports</code> world provides common APIs for interacting
33
with key-value stores. Components targeting this world will be able to
44
do</p>
55
<ol>

wit/world.wit

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package wasi:keyvalue;
22

3-
/// The `wasi:keyvalue/keyvalue` world provides common APIs for interacting
3+
/// The `wasi:keyvalue/imports` world provides common APIs for interacting
44
/// with key-value stores. Components targeting this world will be able to
55
/// do
66
/// 1. CRUD (create, read, update, delete) operations on key-value stores.
77
/// 2. Atomic `increment` and CAS (compare-and-swap) operations.
88
/// 3. Batch operations that can reduce the number of round trips to the network.
9-
world keyvalue {
9+
world imports {
1010
/// The `readwrite` capability allows the component to perform CRUD
1111
/// operations on the key-value store.
1212
import readwrite;
@@ -21,6 +21,6 @@ world keyvalue {
2121
}
2222

2323
world keyvalue-handle-watch {
24-
include keyvalue;
24+
include imports;
2525
export handle-watch;
2626
}

0 commit comments

Comments
 (0)