add api scaffolds
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export class CreateDocumentEntityAction {
|
||||
#host: any;
|
||||
|
||||
constructor(host: any) {
|
||||
this.#host = host;
|
||||
}
|
||||
|
||||
execute() {
|
||||
alert('create');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
export class DeleteDocumentEntityAction {
|
||||
#host: any;
|
||||
|
||||
constructor(host: any) {
|
||||
this.#host = host;
|
||||
}
|
||||
|
||||
execute() {
|
||||
alert('delete');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
export class PublishDocumentEntityAction {
|
||||
#host: any;
|
||||
|
||||
constructor(host: any) {
|
||||
this.#host = host;
|
||||
}
|
||||
|
||||
execute() {
|
||||
alert('publish');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user