-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
85130c6
commit 1080ead
Showing
63 changed files
with
139 additions
and
136 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
40 changes: 20 additions & 20 deletions
40
services/user/AppRegistry/Cargo.lock → services/user/Workshop/Cargo.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[package] | ||
name = "workshop_package" | ||
edition = "2021" | ||
version = "0.1.0" | ||
|
||
[package.metadata.psibase] | ||
package-name = "Workshop" | ||
description = "Workshop for psibase apps" | ||
services = ["workshop"] | ||
|
||
[lib] | ||
crate-type = ["rlib"] | ||
|
||
[dependencies] | ||
workshop = { path = "service", version = "0.1.0" } | ||
r-workshop = { path = "query", version = "0.1.0" } |
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
16 changes: 8 additions & 8 deletions
16
services/user/AppRegistry/plugin/Cargo.lock → services/user/Workshop/plugin/Cargo.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#[allow(warnings)] | ||
mod bindings; | ||
|
||
use bindings::exports::workshop::plugin::test::Guest as Test; | ||
use bindings::host::common::types as CommonTypes; | ||
|
||
struct WorkshopPlugin; | ||
|
||
impl Test for WorkshopPlugin { | ||
fn foo() -> Result<(), CommonTypes::Error> { | ||
Ok(()) | ||
} | ||
} | ||
|
||
bindings::export!(WorkshopPlugin with_types_in bindings); |
2 changes: 1 addition & 1 deletion
2
...ces/user/AppRegistry/plugin/wit/world.wit → services/user/Workshop/plugin/wit/world.wit
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,4 +1,4 @@ | ||
package app-registry:plugin; | ||
package workshop:plugin; | ||
|
||
interface test { | ||
use host:common/types.{error}; | ||
|
24 changes: 12 additions & 12 deletions
24
services/user/AppRegistry/query/Cargo.lock → services/user/Workshop/query/Cargo.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 4 additions & 4 deletions
8
services/user/AppRegistry/query/Cargo.toml → services/user/Workshop/query/Cargo.toml
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,15 +1,15 @@ | ||
[package] | ||
name = "r-app-reg" | ||
description = "Query service for AppRegistry" | ||
name = "r-workshop" | ||
description = "Query service for Workshop" | ||
edition = "2021" | ||
version = "0.1.0" | ||
publish = false | ||
|
||
[package.metadata.psibase] | ||
plugin = "app-registry-plugin" | ||
plugin = "workshop-plugin" | ||
|
||
[dependencies] | ||
psibase = { path = "../../../../rust/psibase" } | ||
serde = "1.0" | ||
app-registry = { path = "../service", version = "0.1.0" } | ||
workshop = { path = "../service", version = "0.1.0" } | ||
async-graphql = "7.0.7" |
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
Oops, something went wrong.