@truenas/api-client
    Preparing search index...

    Type Alias QueryMethod<Dir>

    QueryMethod: { [K in keyof Dir]: Dir[K] extends QueryEntry ? K : never }[keyof Dir]

    The query methods of a directory: exactly those the generator marked with an entity. A method is marked when it accepts query options and returns the polymorphic union — which is not the same as being named .query, so core.get_jobs qualifies and pool.get_instance does not.

    Type Parameters

    • Dir