mirror of
https://gitlab.com/fabinfra/fabaccess/fabaccess-api.git
synced 2025-03-12 14:51:42 +01:00
Clean up API code for initial stable release
This commit is contained in:
parent
1e2590a25d
commit
52f35c1684
@ -22,8 +22,4 @@ interface Bootstrap
|
|||||||
userSystem @2 () -> ( userSystem : UserSystem );
|
userSystem @2 () -> ( userSystem : UserSystem );
|
||||||
|
|
||||||
permissionSystem @3 () -> ( permissionSystem : PermissionSystem );
|
permissionSystem @3 () -> ( permissionSystem : PermissionSystem );
|
||||||
|
|
||||||
#interactionSystem @4 () -> ( interactionSystem : InteractionSystem );
|
|
||||||
|
|
||||||
#federationSystem @5 () -> ( federationSystem : FederationSystem );
|
|
||||||
}
|
}
|
@ -1,12 +0,0 @@
|
|||||||
@0xb3359bdbf762b7ab;
|
|
||||||
|
|
||||||
using Rust = import "programming_language/rust.capnp";
|
|
||||||
$Rust.parentModule("schema");
|
|
||||||
|
|
||||||
using CSharp = import "programming_language/csharp.capnp";
|
|
||||||
$CSharp.namespace("FabAccessAPI.Schema");
|
|
||||||
|
|
||||||
interface FederationSystem
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
@ -1,12 +0,0 @@
|
|||||||
@0xf997d4fafd488ee6;
|
|
||||||
|
|
||||||
using Rust = import "programming_language/rust.capnp";
|
|
||||||
$Rust.parentModule("schema");
|
|
||||||
|
|
||||||
using CSharp = import "programming_language/csharp.capnp";
|
|
||||||
$CSharp.namespace("FabAccessAPI.Schema");
|
|
||||||
|
|
||||||
interface InteractionSystem
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
@ -58,8 +58,6 @@ struct Machine {
|
|||||||
interface InUse $CSharp.name("InUseInterface") {
|
interface InUse $CSharp.name("InUseInterface") {
|
||||||
giveBack @0 ();
|
giveBack @0 ();
|
||||||
sendRawData @1 (data :Data);
|
sendRawData @1 (data :Data);
|
||||||
|
|
||||||
#transfer @2 (user: User);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
transfer @9 :Transfer;
|
transfer @9 :Transfer;
|
||||||
|
@ -17,11 +17,4 @@ interface MachineSystem
|
|||||||
|
|
||||||
getMachine @1 ( uuid :General.UUID ) -> ( machine :Machine);
|
getMachine @1 ( uuid :General.UUID ) -> ( machine :Machine);
|
||||||
}
|
}
|
||||||
|
|
||||||
#manage @1 () -> ( manage : Manage );
|
|
||||||
#interface Manage $CSharp.name("ManageInterface") {
|
|
||||||
# addMachine @0 (machine :Machine);
|
|
||||||
# updateMachine @1 (machine :Machine);
|
|
||||||
# removeMachine @2 (machine :Machine);
|
|
||||||
#}
|
|
||||||
}
|
}
|
@ -19,14 +19,7 @@ struct User
|
|||||||
struct UserInfoExtended
|
struct UserInfoExtended
|
||||||
{
|
{
|
||||||
id @0 :General.UUID;
|
id @0 :General.UUID;
|
||||||
firstname @1 :Text;
|
name @1 :Text;
|
||||||
lastname @2 :Text;
|
|
||||||
#address @3 :Address;
|
|
||||||
|
|
||||||
#struct Address
|
|
||||||
#{ # TODO POST*CODE
|
|
||||||
# text @0 :Text;
|
|
||||||
#}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
info @3 :Info;
|
info @3 :Info;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user