@fjell/lib
Version:
Server-side Library for Fjell
8 lines (7 loc) • 745 B
TypeScript
import { Item, LocKeyArray } from "@fjell/core";
import { Coordinate } from "@fjell/registry";
import { ItemQuery } from "@fjell/core";
import { Options } from "../Options";
import { Operations } from "../Operations";
import { Registry } from "../Registry";
export declare const wrapOneOperation: <V extends Item<S, L1, L2, L3, L4, L5>, S extends string, L1 extends string = never, L2 extends string = never, L3 extends string = never, L4 extends string = never, L5 extends string = never>(toWrap: Operations<V, S, L1, L2, L3, L4, L5>, options: Options<V, S, L1, L2, L3, L4, L5>, coordinate: Coordinate<S, L1, L2, L3, L4, L5>, registry: Registry) => (itemQuery: ItemQuery, locations?: LocKeyArray<L1, L2, L3, L4, L5> | []) => Promise<V | null>;