UNPKG

@platform/cell.schema

Version:

URI and database schemas for the `cell.os`.

24 lines (23 loc) 720 B
import { t } from '../common'; export declare const FileLinks: { prefix: string; is: { fileKey(input?: string): boolean; fileValue(input?: string): boolean; fileUploading(value?: string): boolean; }; total(links?: t.IUriMap): number; toKey(filename: string): string; parseKey(linkKey: string): t.ILinkKey; parseValue(linkValue: string): { toString: t.FileLinkToString; uri: t.IFileUri; value: string; query: t.IFileLinkQuery; }; parse(linkKey: string, linkValue: string): t.IFileLink; toList(links?: t.IUriMap): t.IFileLink[]; find(links?: t.IUriMap): { byName(path?: string): t.IFileLink | undefined; }; };