mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-26 19:44:57 +02:00
UBERF-7543: Add low level groupBy api and improve security space lookup (#6126)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -72,6 +72,7 @@ describe('server', () => {
|
||||
close: async () => {},
|
||||
storage: {} as unknown as ServerStorage,
|
||||
domains: async () => [],
|
||||
groupBy: async () => new Set(),
|
||||
find: (ctx: MeasureContext, domain: Domain) => ({
|
||||
next: async (ctx: MeasureContext) => undefined,
|
||||
close: async (ctx: MeasureContext) => {}
|
||||
@@ -170,6 +171,7 @@ describe('server', () => {
|
||||
return toFindResult([d as unknown as T])
|
||||
},
|
||||
tx: async (ctx: SessionContext, tx: Tx): Promise<[TxResult, Tx[], string[] | undefined]> => [{}, [], undefined],
|
||||
groupBy: async () => new Set(),
|
||||
close: async () => {},
|
||||
storage: {} as unknown as ServerStorage,
|
||||
domains: async () => [],
|
||||
|
||||
Reference in New Issue
Block a user