Skip to content

Commit

Permalink
dwn update
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhhh committed Oct 6, 2024
1 parent 5a54170 commit be8d60d
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions spatial/wit/wired-dwn/world.wit
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
package wired:dwn;

world host {
import api;
import dwn;
}

interface api {
use dwn.{dwn};

/// Get the local user's DWN.
user-dwn: func() -> dwn;

/// Get the local user's default world host DWN.
world-host-dwn: func() -> dwn;
}

interface dwn {
use records-query.{records-query-builder};
use records-write.{records-write-builder};
Expand All @@ -12,12 +23,6 @@ interface dwn {
records-query: func() -> records-query-builder;
records-write: func() -> records-write-builder;
}

/// Get the local user's DWN.
local-dwn: func() -> dwn;

/// Get the local user's default world host DWN.
world-host-dwn: func() -> dwn;
}

interface types {
Expand Down

0 comments on commit be8d60d

Please sign in to comment.