mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-23 05:53:09 +03:00
preserve empty SpaceWithStates
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
1b10e7b3e4
commit
671723fdbe
@ -14,7 +14,7 @@
|
||||
//
|
||||
|
||||
import type { IntlString } from '@anticrm/platform'
|
||||
import type { Account, Arr, Ref, Space, Domain, State, Doc } from '@anticrm/core'
|
||||
import type { Account, Arr, Ref, Space, Domain, State } from '@anticrm/core'
|
||||
import { DOMAIN_MODEL } from '@anticrm/core'
|
||||
import { Model, Prop, TypeString } from '@anticrm/model'
|
||||
import core from './component'
|
||||
@ -47,6 +47,4 @@ export class TState extends TDoc implements State {
|
||||
|
||||
@Model(core.class.SpaceWithStates, core.class.Space)
|
||||
export class TSpaceWithStates extends TSpace {
|
||||
states!: Arr<Ref<State>>
|
||||
order!: Arr<Ref<Doc>>
|
||||
}
|
||||
|
@ -208,6 +208,4 @@ export interface State extends Doc {
|
||||
* @public
|
||||
*/
|
||||
export interface SpaceWithStates extends Space {
|
||||
states: Arr<Ref<State>>
|
||||
order: Arr<Ref<Doc>>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user