refactor: fix types
This commit is contained in:
parent
d35ad95c18
commit
bc23496998
|
@ -20,7 +20,7 @@ export const paramDef = {
|
||||||
description: { type: 'string' },
|
description: { type: 'string' },
|
||||||
color: { type: 'string', nullable: true },
|
color: { type: 'string', nullable: true },
|
||||||
iconUrl: { type: 'string', nullable: true },
|
iconUrl: { type: 'string', nullable: true },
|
||||||
target: { type: 'string' },
|
target: { type: 'string', enum: ['manual', 'conditional'] },
|
||||||
condFormula: { type: 'object' },
|
condFormula: { type: 'object' },
|
||||||
isPublic: { type: 'boolean' },
|
isPublic: { type: 'boolean' },
|
||||||
isModerator: { type: 'boolean' },
|
isModerator: { type: 'boolean' },
|
||||||
|
|
|
@ -28,7 +28,7 @@ export const paramDef = {
|
||||||
description: { type: 'string' },
|
description: { type: 'string' },
|
||||||
color: { type: 'string', nullable: true },
|
color: { type: 'string', nullable: true },
|
||||||
iconUrl: { type: 'string', nullable: true },
|
iconUrl: { type: 'string', nullable: true },
|
||||||
target: { type: 'string' },
|
target: { type: 'string', enum: ['manual', 'conditional'] },
|
||||||
condFormula: { type: 'object' },
|
condFormula: { type: 'object' },
|
||||||
isPublic: { type: 'boolean' },
|
isPublic: { type: 'boolean' },
|
||||||
isModerator: { type: 'boolean' },
|
isModerator: { type: 'boolean' },
|
||||||
|
|
Loading…
Reference in New Issue