mirror of
https://gitlab.com/fabinfra/fabaccess/fabaccess-api.git
synced 2025-03-12 14:51:42 +01:00
Make build in c#
This commit is contained in:
parent
b6c35cabc6
commit
229026db42
@ -1,5 +1,8 @@
|
|||||||
@0x8a90be7e2023f16a;
|
@0x8a90be7e2023f16a;
|
||||||
|
|
||||||
|
using CSharp = import "programming_language/csharp.capnp";
|
||||||
|
$CSharp.namespace("FabAccessAPI.Schema");
|
||||||
|
|
||||||
using import "user.capnp".User;
|
using import "user.capnp".User;
|
||||||
|
|
||||||
interface Auditable {
|
interface Auditable {
|
||||||
|
@ -23,7 +23,7 @@ interface Interestable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface Interest extends (Owned) {
|
interface Interest extends (Owned) {
|
||||||
resource @0 () -> ( resource :Resource );
|
resource @0 () -> ( resource :Resource, dummy :UInt8 );
|
||||||
describe @1 () -> Description;
|
describe @1 () -> Description;
|
||||||
drop @2 ();
|
drop @2 ();
|
||||||
upgrade @3 () -> ( claim :Claim );
|
upgrade @3 () -> ( claim :Claim );
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
@0xdb815f35cc321540;
|
@0xdb815f35cc321540;
|
||||||
|
|
||||||
|
using CSharp = import "programming_language/csharp.capnp";
|
||||||
|
$CSharp.namespace("FabAccessAPI.Schema");
|
||||||
|
|
||||||
struct Measurement {
|
struct Measurement {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
@0x8c931d6e0367db87;
|
@0x8c931d6e0367db87;
|
||||||
|
|
||||||
|
using CSharp = import "programming_language/csharp.capnp";
|
||||||
|
$CSharp.namespace("FabAccessAPI.Schema");
|
||||||
|
|
||||||
using import "user.capnp".User;
|
using import "user.capnp".User;
|
||||||
|
|
||||||
interface Owned {
|
interface Owned {
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
@0xdcc65f4a7b1b013a;
|
@0xdcc65f4a7b1b013a;
|
||||||
|
|
||||||
|
using CSharp = import "programming_language/csharp.capnp";
|
||||||
|
$CSharp.namespace("FabAccessAPI.Schema");
|
||||||
|
|
||||||
interface Project {
|
interface Project {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ interface Resources {
|
|||||||
list @1 () -> ( resources :List(Resource) );
|
list @1 () -> ( resources :List(Resource) );
|
||||||
# Returns all resources that the user can currently disclose.
|
# 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.
|
# 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 );
|
getByUrn @3 ( urn :Text ) -> ( resource :Resource );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user