First push

This commit is contained in:
nkaputnik
2022-07-26 09:45:34 +02:00
parent 2b6d4c625e
commit c3c9dae80d
10 changed files with 203 additions and 69 deletions

View File

@@ -1,5 +1,13 @@
using { sap.capire.bookshop as my } from '../db/schema';
service AdminService @(requires:'admin') {
entity Books as projection on my.Books;
using {sap.capire.bookshop as my} from '../db/schema';
service AdminService // @(requires : 'admin')
{
entity Books as projection on my.Books;
entity Authors as projection on my.Authors;
action renameAuthor(author : Authors:ID, newName : String);
event newBook : {
book : Books:ID;
name : Books:title
};
}