mirror of
https://github.com/aditama-labs/nest-autocrud.git
synced 2024-11-24 21:16:21 +00:00
wip: skeleton process
This commit is contained in:
parent
6fa469f5d7
commit
1a00f01d41
1
libs/skeleton/src/processes/batch/delete.process.ts
Normal file
1
libs/skeleton/src/processes/batch/delete.process.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export class BatchDeleteProcess {}
|
1
libs/skeleton/src/processes/batch/update.process.ts
Normal file
1
libs/skeleton/src/processes/batch/update.process.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export class BatchUpdateProcess {}
|
30
libs/skeleton/src/processes/create.process.ts
Normal file
30
libs/skeleton/src/processes/create.process.ts
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
import { Observable, of } from 'rxjs';
|
||||||
|
import { SkeletonProcess } from '../interfaces/skeleton-process.interface';
|
||||||
|
|
||||||
|
export class CreateProcess implements SkeletonProcess {
|
||||||
|
constructor() {}
|
||||||
|
|
||||||
|
initialization(): Observable<void> {
|
||||||
|
return of(undefined);
|
||||||
|
}
|
||||||
|
|
||||||
|
before(): Observable<void> {
|
||||||
|
return of(undefined);
|
||||||
|
}
|
||||||
|
|
||||||
|
begin(): Observable<void> {
|
||||||
|
return of(undefined);
|
||||||
|
}
|
||||||
|
|
||||||
|
process(): Observable<void> {
|
||||||
|
return of(undefined);
|
||||||
|
}
|
||||||
|
|
||||||
|
end(): Observable<void> {
|
||||||
|
return of(undefined);
|
||||||
|
}
|
||||||
|
|
||||||
|
after(): Observable<void> {
|
||||||
|
return of(undefined);
|
||||||
|
}
|
||||||
|
}
|
1
libs/skeleton/src/processes/delete.process.ts
Normal file
1
libs/skeleton/src/processes/delete.process.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export class DeleteProcess {}
|
1
libs/skeleton/src/processes/list.process.ts
Normal file
1
libs/skeleton/src/processes/list.process.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export class ListProcess {}
|
1
libs/skeleton/src/processes/pagination.process.ts
Normal file
1
libs/skeleton/src/processes/pagination.process.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export class PaginationProcess {}
|
@ -0,0 +1 @@
|
|||||||
|
export class PartialBatchUpdateProcess {}
|
1
libs/skeleton/src/processes/read.process.ts
Normal file
1
libs/skeleton/src/processes/read.process.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export class ReadProcess {}
|
1
libs/skeleton/src/processes/update.process.ts
Normal file
1
libs/skeleton/src/processes/update.process.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export class UpdateProcess {}
|
Loading…
Reference in New Issue
Block a user