Clean up API code for initial stable release

This commit is contained in:
Gregor Reitzenstein 2021-08-29 12:18:24 +02:00
parent 1e2590a25d
commit 52f35c1684
6 changed files with 4 additions and 48 deletions

View File

@ -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 );
} }

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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;

View File

@ -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);
#}
} }

View File

@ -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;