mirror of
https://gitlab.com/fabinfra/fabaccess/fabaccess-api.git
synced 2025-03-12 06:41:51 +01:00
24 lines
554 B
Cap'n Proto
24 lines
554 B
Cap'n Proto
@0xc0542f62613a5c5e;
|
|
|
|
using CSharp = import "programming_language/csharp.capnp";
|
|
$CSharp.namespace("FabAccessAPI.Schema");
|
|
|
|
using OID = import "utils.capnp".OID;
|
|
|
|
interface TraitSuper {
|
|
getName @0 () -> ( name :Text );
|
|
}
|
|
|
|
struct TraitError(ConstraintError) {
|
|
union {
|
|
permissionFailed @0 :Void;
|
|
constraintViolation @1 :ConstraintError;
|
|
}
|
|
}
|
|
|
|
interface Hint {
|
|
getOid @0 () -> ( oid :OID );
|
|
getAbstract @1 () -> ( abstract :List(Hint) );
|
|
# Sorted least to most abstract. abstract[0] is the next less specific Hint.
|
|
}
|