2024-04-16 15:03:10 +02:00
|
|
|
@0xdcc65f4a7b1b013a;
|
2024-04-15 16:28:23 +02:00
|
|
|
|
2024-04-22 12:37:23 +02:00
|
|
|
using CSharp = import "programming_language/csharp.capnp";
|
|
|
|
$CSharp.namespace("FabAccessAPI.Schema");
|
|
|
|
|
2024-05-06 14:26:32 +02:00
|
|
|
using import "auth.capnp".Authentication;
|
|
|
|
using import "utils.capnp".Fallible;
|
|
|
|
using import "claim.capnp".Claim;
|
|
|
|
|
2024-04-15 16:28:23 +02:00
|
|
|
interface Project {
|
|
|
|
|
|
|
|
}
|
2024-05-06 14:26:32 +02:00
|
|
|
|
|
|
|
interface TerminalProjects {
|
|
|
|
getUserProjects @0 () -> ( authentication :Authentication(List(Project)) );
|
|
|
|
|
|
|
|
addClaimToProject @1 ( claim :Claim, project :Project ) -> Fallible(AddOk, AddError);
|
|
|
|
struct AddOk {
|
|
|
|
|
|
|
|
}
|
|
|
|
struct AddError {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|