This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Resource
github-actions[bot] edited this page Aug 11, 2023
·
51 revisions
Name | Type |
---|---|
T |
extends ResourceType
|
-
Resource
↳
Motion
• new Resource<T
>(hue
, data
)
Name | Type |
---|---|
T |
extends ResourceType
|
Name | Type |
---|---|
hue |
Hue |
data |
ResourceTypeGet <T > |
• data: ResourceTypeGet
<T
>
• Readonly
hue: Hue
• Readonly
Abstract
manager: Manager
<T
>
• Readonly
Abstract
type: ResourceType
• get
id(): string
string
• get
identifier(): ResourceIdentifier
<ResourceType
>
ResourceIdentifier
<ResourceType
>
▸ _clone(): Resource
<T
>
Resource
<T
>
▸ _patch(data
): void
Name | Type |
---|---|
data |
Partial <ResourceTypeGet <T >> |
void
▸ _update(data
): Resource
<T
>
Name | Type |
---|---|
data |
Partial <ResourceTypeGet <T >> |
Resource
<T
>
▸ isType<T
>(type
): this is NarrowResource<T>
Name | Type |
---|---|
T |
extends ResourceType
|
Name | Type |
---|---|
type |
T |
this is NarrowResource<T>