Fixed issues relating to custom-inputs
* Don't duplicate custom input when editing before db persist * Remove correct custom input during delete pre db persist (id undefined) * Moved typings to prisma, keeping backwards compatibility with @map * Updated all usages of the enum
This commit is contained in:
1 parent
3a5e7dd61c
commit
252a329f09
4 files changed
+30
-45
No files matched your search
@@ -1,13 +0,0 @@
|
||||
export enum EventTypeCustomInputType {
|
||||
Text = 'text',
|
||||
TextLong = 'textLong',
|
||||
Number = 'number',
|
||||
Bool = 'bool',
|
||||
}
|
||||
|
||||
export interface EventTypeCustomInput {
|
||||
id?: number;
|
||||
type: EventTypeCustomInputType;
|
||||
label: string;
|
||||
required: boolean;
|
||||
}
|
||||
Reference in new issue
Block a user