Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type Aliases

Base64: string
Conditionals: "<" | ">" | "=" | "!" | "><" | "*"
DataCreate: Required<Pick<Data, "variable">> & Partial<Omit<Data, "id" | "device" | "origin" | "location" | "time" | "created_at"> & { location: LocationGeoJSON | LocationLatLng | null; time: string | Date }>

Type for creating data and sending it to the API.

DataEdit: Required<Pick<Data, "id">> & Partial<Pick<DataCreate, "value" | "group" | "serie" | "unit" | "metadata" | "time" | "location">>

Type for editing data and sending it to the API.

ExpireTimeOption: "never" | Date
ExportOption: "csv" | "json" | "xml"
GenericID: string

ID used on TagoIO, string with 24 character

GenericToken: string

Token used on TagoIO, string with 36 characters

PermissionOption: "write" | "read" | "full" | "deny"
RecursivePartial<T>: { [ P in keyof T]?: T[P] extends (infer U)[] ? RecursivePartial<U>[] : T[P] extends object ? RecursivePartial<T[P]> : T[P] }

Type Parameters

  • T

RefType: "dashboard"
RunTypeOptions: "node" | "python"
TokenCreateResponse: { expire_date: ExpireTimeOption; permission: PermissionOption; token: GenericToken }

Type declaration