diff --git a/audit.capnp b/audit.capnp index 44aaa58..0fe3f22 100644 --- a/audit.capnp +++ b/audit.capnp @@ -1,5 +1,8 @@ @0x8a90be7e2023f16a; +using CSharp = import "programming_language/csharp.capnp"; +$CSharp.namespace("FabAccessAPI.Schema"); + using import "user.capnp".User; interface Auditable { diff --git a/interest.capnp b/interest.capnp index c4a8c88..b068b1d 100644 --- a/interest.capnp +++ b/interest.capnp @@ -23,7 +23,7 @@ interface Interestable { } interface Interest extends (Owned) { - resource @0 () -> ( resource :Resource ); + resource @0 () -> ( resource :Resource, dummy :UInt8 ); describe @1 () -> Description; drop @2 (); upgrade @3 () -> ( claim :Claim ); diff --git a/measure.capnp b/measure.capnp index 99a4981..7493afa 100644 --- a/measure.capnp +++ b/measure.capnp @@ -1,5 +1,8 @@ @0xdb815f35cc321540; +using CSharp = import "programming_language/csharp.capnp"; +$CSharp.namespace("FabAccessAPI.Schema"); + struct Measurement { } diff --git a/owned.capnp b/owned.capnp index e9e2fc9..406dab1 100644 --- a/owned.capnp +++ b/owned.capnp @@ -1,5 +1,8 @@ @0x8c931d6e0367db87; +using CSharp = import "programming_language/csharp.capnp"; +$CSharp.namespace("FabAccessAPI.Schema"); + using import "user.capnp".User; interface Owned { diff --git a/projects.capnp b/projects.capnp index 9116d7d..702b41b 100644 --- a/projects.capnp +++ b/projects.capnp @@ -1,5 +1,8 @@ @0xdcc65f4a7b1b013a; +using CSharp = import "programming_language/csharp.capnp"; +$CSharp.namespace("FabAccessAPI.Schema"); + interface Project { } diff --git a/resources.capnp b/resources.capnp index e8d05c4..02245e4 100644 --- a/resources.capnp +++ b/resources.capnp @@ -16,7 +16,7 @@ interface Resources { list @1 () -> ( resources :List(Resource) ); # Returns all resources that the user can currently disclose. - getByName @2 ( name :Text ) -> ( resource :Resource ); + getByName @2 ( name :Text ) -> ( resource :Resource , dummy :UInt8 ); # Returns a NULL capability if the resource doesn't exist or a user doesn't have read permission for that resource. getByUrn @3 ( urn :Text ) -> ( resource :Resource );