Interface DeviceQuery

Hierarchy

  • Query<DeviceInfo, "name" | "visible" | "active" | "last_input" | "last_output" | "created_at" | "updated_at">
    • DeviceQuery

Index

Properties

Optional amount

amount: number

Amount of items will return.

Optional fields

fields: keyof DeviceInfo[]

Array of field names.

Optional filter

Filter object.

Optional orderBy

orderBy: [Extract<keyof DeviceInfo, "name" | "visible" | "active" | "last_input" | "last_output" | "created_at" | "updated_at">, "asc" | "desc"]

Tuple with a field and an order

Optional page

page: number

Page of list starting from 1

Optional resolveBucketName

resolveBucketName: boolean