mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-27 03:54:57 +02:00
update show empty groups (#2897)
Signed-off-by: Ruslan Bayandinov <wazsone@ya.ru>
This commit is contained in:
@@ -254,17 +254,15 @@ export interface ClassSortFuncs extends Class<Doc> {
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export type AllValuesFuncGetter = (
|
||||
space: Ref<Space> | undefined,
|
||||
onUpdate: () => void,
|
||||
queryId: Ref<Doc>
|
||||
) => Promise<any[] | undefined>
|
||||
export type GetAllValuesFunc = Resource<
|
||||
(query: DocumentQuery<Doc> | undefined, onUpdate: () => void, queryId: Ref<Doc>) => Promise<any[] | undefined>
|
||||
>
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export interface AllValuesFunc extends Class<Doc> {
|
||||
func: Resource<AllValuesFuncGetter>
|
||||
func: GetAllValuesFunc
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -506,7 +504,7 @@ export interface ViewOption {
|
||||
*/
|
||||
export type ViewCategoryActionFunc = (
|
||||
_class: Ref<Class<Doc>>,
|
||||
space: Ref<Space> | undefined,
|
||||
query: DocumentQuery<Doc> | undefined,
|
||||
key: string,
|
||||
onUpdate: () => void,
|
||||
queryId: Ref<Doc>,
|
||||
|
||||
Reference in New Issue
Block a user