@deep-foundation/deeplinks
Version:
[](https://www.npmjs.com/package/@deep-foundation/deeplinks) [](https://gitpod.io/#https://github.com/deep-fo
14 lines (13 loc) • 1.21 kB
TypeScript
import { BoolExpLink, ComparasionType, QueryLink } from './client_types.js';
import { MinilinkCollection, MinilinksGeneratorOptions, Link, Id } from './minilinks.js';
export interface BoolExpLinkMinilinks extends BoolExpLink {
_applies?: ComparasionType<Id>;
}
export declare const minilinksQuery: <L extends Link<Id>>(query: QueryLink | Id, ml: MinilinkCollection<MinilinksGeneratorOptions, L>) => L[];
export declare const minilinksQueryIs: <L extends Link<Id>>(query: QueryLink | number, link: L) => boolean;
export declare const expToSets: (ml: any, exp: any, sets: any, list: any, toArray?: boolean) => void;
export declare const multiExpToSets: (ml: any, exp: any, sets: any, list: any, key: any, toArray?: boolean) => void;
export declare const findSets: (ml: any, q: any, sets: any) => void;
export declare const minilinksQueryHandle: <L extends Link<Id>>(q: BoolExpLinkMinilinks, ml: MinilinkCollection<MinilinksGeneratorOptions, L>) => L[];
export declare const minilinksQueryLevel: (q: BoolExpLinkMinilinks, link: Link<Id>, env?: string) => boolean;
export declare const minilinksQueryComparison: (q: BoolExpLinkMinilinks, link: Link<Id>, field: string, alias: string, env?: string) => boolean;