interface EntityQuery {
    amount?: number;
    fields?: ("id" | "created_at" | "profile" | "updated_at" | (keyof EntityCreateInfo))[];
    filter?: RecursivePartial<EntityInfo>;
    orderBy?: ["name" | "created_at" | "updated_at", "desc" | "asc"];
    page?: number;
    resolveBucketName?: boolean;
    resolveConnectorName?: boolean;
}

Hierarchy (view full)

  • Query<EntityInfo, "name" | "visible" | "active" | "last_input" | "created_at" | "updated_at">
    • EntityQuery

Properties

amount?: number

Amount of items will return.

fields?: ("id" | "created_at" | "profile" | "updated_at" | (keyof EntityCreateInfo))[]

Array of field names.

Filter object.

orderBy?: ["name" | "created_at" | "updated_at", "desc" | "asc"]

Tuple with a field and an order

page?: number

Page of list starting from 1

resolveBucketName?: boolean
resolveConnectorName?: boolean