@trackunit/react-core-hooks 0.2.38 → 0.2.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ValueAndDefinition } from "@trackunit/iris-app-runtime-core";
|
|
2
2
|
import { EntityIdentity, ValueAndDefinitionKey } from "@trackunit/iris-app-runtime-core-api";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* This hook is a wrapper around useCustomFieldRuntime that automatically fetches and sets custom fields for a given entity.
|
|
5
5
|
*
|
|
6
|
-
* @param entity
|
|
7
|
-
* @returns
|
|
6
|
+
* @param entity The entity to fetch and set custom fields for.
|
|
7
|
+
* @returns The custom fields for the entity, and functions to set custom fields for the entity.
|
|
8
8
|
*/
|
|
9
9
|
export declare const useCustomFieldRuntimeForEntity: (entity: EntityIdentity) => {
|
|
10
10
|
customFields: ValueAndDefinition[] | undefined;
|