mirror of
https://gitlab.com/fabinfra/fabaccess/fabaccess-api.git
synced 2025-03-12 23:01:47 +01:00
Fix spelling mistakes
This commit is contained in:
parent
32309d09f3
commit
c185283f35
@ -7,7 +7,7 @@ using CSharp = import "programming_language/csharp.capnp";
|
|||||||
$CSharp.namespace("FabAccessAPI.Schema");
|
$CSharp.namespace("FabAccessAPI.Schema");
|
||||||
|
|
||||||
using Authentication = import "auth.capnp".Authentication;
|
using Authentication = import "auth.capnp".Authentication;
|
||||||
using Ressources = import "ressources.capnp".Ressources;
|
using Resources = import "resources.capnp".Resources;
|
||||||
using Users = import "users.capnp".Users;
|
using Users = import "users.capnp".Users;
|
||||||
|
|
||||||
interface Bootstrap
|
interface Bootstrap
|
||||||
@ -26,8 +26,8 @@ struct Session {
|
|||||||
# An API session with the server. The below capabilities are set to NULL if the authenticated
|
# An API session with the server. The below capabilities are set to NULL if the authenticated
|
||||||
# user doesn't have permission to access the system in question.
|
# user doesn't have permission to access the system in question.
|
||||||
|
|
||||||
ressources @0 : Ressources;
|
resources @0 : Resources;
|
||||||
# Access to the ressources configured.
|
# Access to the resources configured.
|
||||||
|
|
||||||
users @1 : Users;
|
users @1 : Users;
|
||||||
# User administration. This includes both modifying other users and self-modification, so this
|
# User administration. This includes both modifying other users and self-modification, so this
|
||||||
|
@ -7,10 +7,10 @@ using CSharp = import "programming_language/csharp.capnp";
|
|||||||
$CSharp.namespace("FabAccessAPI.Schema");
|
$CSharp.namespace("FabAccessAPI.Schema");
|
||||||
|
|
||||||
using General = import "general.capnp";
|
using General = import "general.capnp";
|
||||||
using Machine = import "machine.capnp".Machine;
|
using Resource = import "resource.capnp".Resource;
|
||||||
|
|
||||||
interface Ressources
|
interface Resources
|
||||||
{
|
{
|
||||||
listAll @0 () -> ( machine_list :List(Machine) );
|
listAll @0 () -> ( list :List(Resource) );
|
||||||
get @1 ( name :Text ) -> Machine;
|
get @1 ( name :Text ) -> Resource;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user