mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 21:27:46 +02:00
Restrict taskType descriptors (#4605)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -176,6 +176,7 @@ export interface ProjectTypeDescriptor extends Doc {
|
||||
icon: Asset
|
||||
editor?: AnyComponent
|
||||
allowedClassic?: boolean
|
||||
allowedTaskTypeDescriptors?: Ref<TaskTypeDescriptor>[] // if undefined we allow all possible
|
||||
baseClass: Ref<Class<Task>>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user