Interface UseDeviceInsertionIfDoesNotExistAndSavingInfoParam

Describes the parameter object that should be passed to the useDeviceInsertionIfDoesNotExistAndSavingData hook.

Hierarchy

  • UseDeviceInsertionIfDoesNotExistAndSavingInfoParam

Properties

containerLinkId: number

A container with ID of current space

deep: DeepClient<Link<number>>

A DeepClient instance.

deviceLinkId: null | number

A device link ID.

This field is not of type undefined because you should not call this component until you get the device link ID which is known. For these reasons there is WithDeviceInsertionIfDoesNotExistAndSavingData

insertDeviceCallback: (() => Promise<void>)

Type declaration

    • (): Promise<void>
    • Callback that will be called when deviceLinkId is not provided or does not exist in deep

      Returns Promise<void>

Generated using TypeDoc