42 lines
2.7 KiB
TypeScript
42 lines
2.7 KiB
TypeScript
import { registerEnumType } from 'type-graphql';
|
|
|
|
/*
|
|
███████╗███╗ ██╗██╗ ██╗███╗ ███╗
|
|
██╔════╝████╗ ██║██║ ██║████╗ ████║
|
|
█████╗ ██╔██╗ ██║██║ ██║██╔████╔██║
|
|
██╔══╝ ██║╚██╗██║██║ ██║██║╚██╔╝██║
|
|
███████╗██║ ╚████║╚██████╔╝██║ ╚═╝ ██║
|
|
╚══════╝╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝
|
|
*/
|
|
|
|
export enum StreamOperationType {
|
|
insert = 'insert',
|
|
delete = 'delete',
|
|
replace = 'replace',
|
|
update = 'update',
|
|
hook = 'hook',
|
|
}
|
|
registerEnumType(StreamOperationType, {
|
|
name: 'StreamOperationType',
|
|
});
|
|
|
|
export enum PostHookStatus {
|
|
new = 'new',
|
|
inProcess = 'inProcess',
|
|
completed = 'completed',
|
|
error = 'error',
|
|
noAction = 'noAction',
|
|
}
|
|
registerEnumType(PostHookStatus, {
|
|
name: 'PostHookStatus',
|
|
});
|
|
|
|
/*
|
|
██████╗ ██████╗ ███╗ ███╗██████╗ ██████╗ ███╗ ██╗███████╗███╗ ██╗████████╗███████╗
|
|
██╔════╝██╔═══██╗████╗ ████║██╔══██╗██╔═══██╗████╗ ██║██╔════╝████╗ ██║╚══██╔══╝██╔════╝
|
|
██║ ██║ ██║██╔████╔██║██████╔╝██║ ██║██╔██╗ ██║█████╗ ██╔██╗ ██║ ██║ ███████╗
|
|
██║ ██║ ██║██║╚██╔╝██║██╔═══╝ ██║ ██║██║╚██╗██║██╔══╝ ██║╚██╗██║ ██║ ╚════██║
|
|
╚██████╗╚██████╔╝██║ ╚═╝ ██║██║ ╚██████╔╝██║ ╚████║███████╗██║ ╚████║ ██║ ███████║
|
|
╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚══════╝
|
|
*/
|