api.fabaccess-api/traits.capnp

16 lines
328 B
Cap'n Proto
Raw Normal View History

2024-04-16 15:03:10 +02:00
@0xc0542f62613a5c5e;
2024-03-30 19:20:42 +01:00
using CSharp = import "programming_language/csharp.capnp";
$CSharp.namespace("FabAccessAPI.Schema");
2024-04-16 14:37:41 +02:00
interface TraitSuper {
getName @0 () -> ( name :Text );
2024-03-30 19:20:42 +01:00
}
2024-04-16 14:37:41 +02:00
struct TraitError(ConstraintError) {
union {
permissionFailed @0 :Void;
2024-04-16 15:03:10 +02:00
constraintViolation @1 :ConstraintError;
2024-04-16 14:37:41 +02:00
}
2024-03-30 19:20:42 +01:00
}