chore: introduce @automatisch/types

This commit is contained in:
Ali BARIN
2022-03-01 22:56:19 +01:00
committed by Ömer Faruk Aydın
parent bbb6f0b0ff
commit 3391578655
54 changed files with 377 additions and 297 deletions

View File

@@ -1,11 +1,11 @@
import { ModelOptions, QueryContext, ValidationError } from 'objection';
import { ValidationError } from 'objection';
import Base from './base';
import Step from './step';
class Flow extends Base {
id!: string;
name: string;
userId!: number;
userId!: string;
active: boolean;
steps?: [Step];
@@ -17,7 +17,7 @@ class Flow extends Base {
properties: {
id: { type: 'string' },
name: { type: 'string' },
userId: { type: 'integer' },
userId: { type: 'string' },
active: { type: 'boolean' },
},
};