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

59 lines (58 loc) 1.6 kB
import { Id } from './minilinks.js'; export declare const insertHandler: (handleOperationTypeId: Id, typeId: Id, code: string, forceOwnerId?: Id, supportsId?: Id) => Promise<{ handlerId: any; handleOperationId: any; handlerJSFileId: any; handlerJSFileValueId: any; ownerContainHandlerId: any; }>; export declare function insertSelector(): Promise<{ nodeTypeId: any; linkTypeId: any; treeId: any; treeIncludesIds: any; selectorId: any; selectorIncludeId: any; selectorTreeId: any; rootId: any; }>; export declare function insertSelectorItems({ selectorId, nodeTypeId, linkTypeId, treeId, rootId }: { selectorId: any; nodeTypeId: any; linkTypeId: any; treeId: any; rootId: any; }): Promise<{ linkId: any; nodeId: any; }[]>; export declare function insertSelectorItem({ selectorId, nodeTypeId, linkTypeId, treeId, rootId }: { selectorId: any; nodeTypeId: any; linkTypeId: any; treeId: any; rootId: any; }): Promise<{ linkId: any; }>; export declare const deleteHandler: (handler: any) => Promise<{ links: any[]; strings: any[]; }>; export declare const deleteSelector: (selector: any) => Promise<void>; export declare function deleteId(id: Id, options?: { table?: string; returning?: string; variables?: any; name?: string; }): Promise<void>; export declare function deleteIds(ids: Id[], options?: { table?: string; returning?: string; variables?: any; name?: string; }): Promise<import("./client.js").DeepClientResult<{ id: any; }[]> | { data: any[]; }>;