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:
Andrey Sobolev
2024-07-28 14:55:42 +07:00
committed by Andrey Sobolev
parent 3bec396384
commit aa1bbd6247
12 changed files with 130 additions and 34 deletions
+2
View File
@@ -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 () => [],