UNPKG

@deep-foundation/deeplinks

Version:

[![npm](https://img.shields.io/npm/v/@deep-foundation/deeplinks.svg)](https://www.npmjs.com/package/@deep-foundation/deeplinks) [![Gitpod](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/deep-fo

14 lines (13 loc) 1.21 kB
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;