mirror of
https://gitlab.com/fabinfra/fabaccess/fabaccess-api.git
synced 2025-03-12 06:41:51 +01:00
25 lines
519 B
Cap'n Proto
25 lines
519 B
Cap'n Proto
@0xdcc65f4a7b1b013a;
|
|
|
|
using CSharp = import "programming_language/csharp.capnp";
|
|
$CSharp.namespace("FabAccessAPI.Schema");
|
|
|
|
using import "auth.capnp".Authentication;
|
|
using import "utils.capnp".Fallible;
|
|
using import "claim.capnp".Claim;
|
|
|
|
interface Project {
|
|
|
|
}
|
|
|
|
interface TerminalProjects {
|
|
getUserProjects @0 () -> ( authentication :Authentication(List(Project)) );
|
|
|
|
addClaimToProject @1 ( claim :Claim, project :Project ) -> Fallible(AddOk, AddError);
|
|
struct AddOk {
|
|
|
|
}
|
|
struct AddError {
|
|
|
|
}
|
|
}
|