Fix spelling mistakes

This commit is contained in:
Nadja Reitzenstein 2021-10-01 20:09:42 +02:00
parent 32309d09f3
commit c185283f35
2 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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;
} }