interface DeepClientInstance<L> {
    apolloClient: IApolloClient<any>;
    canSelectReturning?: string;
    deep: DeepClientInstance<L>;
    DeepClient: typeof DeepClient;
    DeepContext: Context<DeepClient<Link<Id>>>;
    DeepProvider: ((__namedParameters: {
        apolloClient?: IApolloClient<any>;
        children?: any;
        minilinks?: MinilinkCollection<MinilinksGeneratorOptions, Link<Id>>;
        namespace?: string;
        path?: string;
        secret?: string;
        ssl?: boolean;
        token?: string;
        ws?: boolean;
    }) => Element);
    defaultDeleteName?: string;
    defaultInsertName?: string;
    defaultSelectName?: string;
    defaultUpdateName?: string;
    deleteReturning?: string;
    emitter: EventEmitter<DefaultEventMap>;
    eval: ((options: {
        context?: Id[];
        handlerId?: Id;
        input?: any;
        linkId?: Id;
        value?: string;
    }) => Promise<{
        data?: any;
        error?: any;
    }>);
    filesSelectReturning?: string;
    gql: typeof gql;
    handleAuth?: ((linkId?: Id, token?: string) => any);
    handleOperation?: ((operation: string, query?: any, value?: any, options?: any) => any);
    handlersSelectReturning?: string;
    insertReturning?: string;
    linkId?: Id;
    linksSelectReturning?: string;
    minilinks: MinilinksResult<L>;
    ml: MinilinksResult<L>;
    namespace?: string;
    Query: NamedExoticComponent<any>;
    returning?: string;
    secret?: string;
    selectorsSelectReturning?: string;
    selectReturning?: string;
    ssl?: boolean;
    Subscription: NamedExoticComponent<any>;
    table?: string;
    token?: string;
    treeSelectReturning?: string;
    unsafe?: any;
    updateReturning?: string;
    url: ((target: "deeplinks" | "gql") => string);
    useCan: ((objectId: Id | Id[], subjectId: Id | Id[], actionId: Id | Id[]) => {
        data: boolean | void;
        loading: boolean;
        refetch: (() => Promise<boolean>);
    });
    useDeep: (() => DeepClient<Link<Id>>);
    useDeepId: ((start: QueryLink | DeepClientStartItem, ...path: DeepClientPathItem[]) => {
        data: Id;
        error?: any;
        loading: boolean;
    });
    useDeepQuery: (<Table, LL>(query: Exp<Table>, options?: Options<Table>) => {
        data?: LL[];
        error?: any;
        loading: boolean;
        refetch?: (() => Promise<any>);
    });
    useDeepSubscription: (<Table, LL>(query: Exp<Table>, options?: Options<Table>) => UseDeepSubscriptionResult<LL>);
    useId: ((start: QueryLink | DeepClientStartItem, ...path: DeepClientPathItem[]) => {
        data: Id;
        error?: any;
        loading: boolean;
    });
    useLink: ((link: Id | Link<Id>) => MinilinksLink<Id>);
    useLinks: ((...links: (Id | Link<Id>)[]) => MinilinksLink<Id>[]);
    useLocalId: ((start: QueryLink | DeepClientStartItem, ...path: DeepClientPathItem[]) => void | Id);
    useLocalQuery: ((query: Exp<"links">, options?: MinilinksQueryOptions<MinilinksQueryOptionAggregate>) => L[]);
    useLocalSubscription: ((query: Exp<"links">, options?: MinilinksQueryOptions<MinilinksQueryOptionAggregate>) => L[]);
    useMinilinksId: ((start: QueryLink | DeepClientStartItem, ...path: DeepClientPathItem[]) => void | Id);
    useMinilinksQuery: ((query: Exp<"links">, options?: MinilinksQueryOptions<MinilinksQueryOptionAggregate>) => L[]);
    useMinilinksSubscription: ((query: Exp<"links">, options?: MinilinksQueryOptions<MinilinksQueryOptionAggregate>) => L[]);
    useQuery: (<Table, LL>(query: Exp<Table>, options?: Options<Table>) => {
        data?: LL[];
        error?: any;
        loading: boolean;
        refetch?: (() => Promise<any>);
    });
    useSearch: ((value: string, options?: DeepSearchOptions) => any);
    useSubscription: (<Table, LL>(query: Exp<Table>, options?: Options<Table>) => UseDeepSubscriptionResult<LL>);
    valuesSelectReturning?: string;
    ws?: boolean;
    await(id: Id): Promise<boolean>;
    can(objectIds: Id[], subjectIds: Id[], actionIds: Id[]): Promise<boolean>;
    delete<TTable>(exp: Exp<TTable>, options?: WriteOptions<TTable>): Promise<DeepClientResult<{
        id: any;
    }[]>>;
    get(...id: Id[]): MinilinksLink<Id>;
    getRemote(...id: Id[]): Promise<MinilinksLink<Id>>;
    guest(options: DeepClientGuestOptions): Promise<DeepClientAuthResult>;
    id(start:
        | string
        | number
        | QueryLink
        | Id[], ...path: DeepClientPathItem[]): Promise<Id>;
    idLocal(start: DeepClientStartItem, ...path: DeepClientPathItem[]): Id;
    insert<TTable, LL>(objects: InsertObjects<TTable>, options?: WriteOptions<TTable>): Promise<DeepClientResult<{
        id: any;
    }[]>>;
    isId(id: any): boolean;
    isLink(link: any): boolean;
    jwt(options: DeepClientJWTOptions): Promise<DeepClientAuthResult>;
    login(options: DeepClientJWTOptions): Promise<DeepClientAuthResult>;
    logout(): Promise<DeepClientAuthResult>;
    name(input: Id | Link<Id>): Promise<string>;
    nameLocal(input: Id | Link<Id>): string;
    one(exp:
        | string
        | number
        | QueryLink
        | Id[]): Promise<L>;
    Packager(): Packager<L>;
    Packages(): Packages;
    reserve<LL>(count: number): Promise<Id[]>;
    search(value: string, options: DeepSearchOptions): Promise<DeepClientResult<number | L[]>>;
    searchQuery(value: string, options: {
        contains: boolean;
        db: boolean;
        query: boolean;
        regexp: boolean;
        sort: boolean;
        values: boolean;
    }): Exp<"links">;
    select<TTable, LL>(exp: Exp<TTable>, options?: ReadOptions<TTable>): Promise<DeepClientResult<number | LL[]>>;
    serial(options: AsyncSerialParams): Promise<DeepClientResult<{
        id: any;
    }[]>>;
    serializeQuery(exp: any, env?: string): any;
    serializeWhere(exp: any, env?: string): any;
    stringify(any?: any): string;
    subscribe<TTable, LL>(exp: Exp<TTable>, options?: ReadOptions<TTable>): Observable<DeepClientResult<number | LL[]>>;
    symbol(input: Id | Link<Id>): Promise<string>;
    symbolLocal(input: Id | Link<Id>): string;
    Traveler(links: Link<Id>[]): Traveler;
    unvertualizeId(id: Id): Id;
    update<TTable>(exp: Exp<TTable>, value: UpdateValue<TTable>, options?: WriteOptions<TTable>): Promise<DeepClientResult<{
        id: any;
    }[]>>;
    useLocalApply(data: any, name: string): any;
    useMinilinksApply(data: any, name: string): any;
    value(id: Id, value?: string | number | Object): Promise<{
        data: string | number | Object;
        id: Id;
        link?: Link<Id>;
        Value?: Link<Id>;
        [key: string]: any;
    }>;
}

Type Parameters

Hierarchy (view full)

Implemented by

Properties

apolloClient: IApolloClient<any>
canSelectReturning?: string
DeepClient: typeof DeepClient
DeepContext: Context<DeepClient<Link<Id>>>
DeepProvider: ((__namedParameters: {
    apolloClient?: IApolloClient<any>;
    children?: any;
    minilinks?: MinilinkCollection<MinilinksGeneratorOptions, Link<Id>>;
    namespace?: string;
    path?: string;
    secret?: string;
    ssl?: boolean;
    token?: string;
    ws?: boolean;
}) => Element)
defaultDeleteName?: string
defaultInsertName?: string
defaultSelectName?: string
defaultUpdateName?: string
deleteReturning?: string
emitter: EventEmitter<DefaultEventMap>
eval: ((options: {
    context?: Id[];
    handlerId?: Id;
    input?: any;
    linkId?: Id;
    value?: string;
}) => Promise<{
    data?: any;
    error?: any;
}>)
filesSelectReturning?: string
gql: typeof gql
handleAuth?: ((linkId?: Id, token?: string) => any)
handleOperation?: ((operation: string, query?: any, value?: any, options?: any) => any)
handlersSelectReturning?: string
insertReturning?: string
linkId?: Id
linksSelectReturning?: string
minilinks: MinilinksResult<L>
namespace?: string
Query: NamedExoticComponent<any>
returning?: string
secret?: string
selectorsSelectReturning?: string
selectReturning?: string
ssl?: boolean
Subscription: NamedExoticComponent<any>
table?: string
token?: string
treeSelectReturning?: string
unsafe?: any
updateReturning?: string
url: ((target: "deeplinks" | "gql") => string)
useCan: ((objectId: Id | Id[], subjectId: Id | Id[], actionId: Id | Id[]) => {
    data: boolean | void;
    loading: boolean;
    refetch: (() => Promise<boolean>);
})
useDeep: (() => DeepClient<Link<Id>>)
useDeepId: ((start: QueryLink | DeepClientStartItem, ...path: DeepClientPathItem[]) => {
    data: Id;
    error?: any;
    loading: boolean;
})
useDeepQuery: (<Table, LL>(query: Exp<Table>, options?: Options<Table>) => {
    data?: LL[];
    error?: any;
    loading: boolean;
    refetch?: (() => Promise<any>);
})
useDeepSubscription: (<Table, LL>(query: Exp<Table>, options?: Options<Table>) => UseDeepSubscriptionResult<LL>)
useId: ((start: QueryLink | DeepClientStartItem, ...path: DeepClientPathItem[]) => {
    data: Id;
    error?: any;
    loading: boolean;
})
useLink: ((link: Id | Link<Id>) => MinilinksLink<Id>)
useLinks: ((...links: (Id | Link<Id>)[]) => MinilinksLink<Id>[])
useLocalId: ((start: QueryLink | DeepClientStartItem, ...path: DeepClientPathItem[]) => void | Id)
useLocalQuery: ((query: Exp<"links">, options?: MinilinksQueryOptions<MinilinksQueryOptionAggregate>) => L[])
useLocalSubscription: ((query: Exp<"links">, options?: MinilinksQueryOptions<MinilinksQueryOptionAggregate>) => L[])
useMinilinksId: ((start: QueryLink | DeepClientStartItem, ...path: DeepClientPathItem[]) => void | Id)
useMinilinksQuery: ((query: Exp<"links">, options?: MinilinksQueryOptions<MinilinksQueryOptionAggregate>) => L[])
useMinilinksSubscription: ((query: Exp<"links">, options?: MinilinksQueryOptions<MinilinksQueryOptionAggregate>) => L[])
useQuery: (<Table, LL>(query: Exp<Table>, options?: Options<Table>) => {
    data?: LL[];
    error?: any;
    loading: boolean;
    refetch?: (() => Promise<any>);
})
useSearch: ((value: string, options?: DeepSearchOptions) => any)
useSubscription: (<Table, LL>(query: Exp<Table>, options?: Options<Table>) => UseDeepSubscriptionResult<LL>)
valuesSelectReturning?: string
ws?: boolean

Methods

  • Parameters

    • value: string
    • options: {
          contains: boolean;
          db: boolean;
          query: boolean;
          regexp: boolean;
          sort: boolean;
          values: boolean;
      }
      • contains: boolean
      • db: boolean
      • query: boolean
      • regexp: boolean
      • sort: boolean
      • values: boolean

    Returns Exp<"links">

  • Parameters

    • id: Id
    • Optionalvalue: string | number | Object

    Returns Promise<{
        data: string | number | Object;
        id: Id;
        link?: Link<Id>;
        Value?: Link<Id>;
        [key: string]: any;
    }>

MMNEPVFCICPMFPCPTTAAATR