@bigbinary/neeto-fields-frontend 1.3.19 → 1.3.21
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/README.md +3 -3
- package/dist/index.cjs.js +6164 -706
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +6275 -821
- package/dist/index.js.map +1 -1
- package/package.json +16 -13
- package/types.d.ts +1 -1
package/README.md
CHANGED
|
@@ -204,8 +204,8 @@ default, but you can customize its behavior by passing optional props.
|
|
|
204
204
|
12. `headerTitle`: Specify the header title explicitly. Default is 'fields'
|
|
205
205
|
13. `resources`: For owner-based field categorization, provide an array of
|
|
206
206
|
objects with `id` and `name` properties for each owner. For resource
|
|
207
|
-
type-based categorization, use an array of
|
|
208
|
-
types.
|
|
207
|
+
type-based categorization, use an array of objects with `label` and `value`
|
|
208
|
+
properties representing each resource types.
|
|
209
209
|
|
|
210
210
|
> If no resources are provided, for resource type-based categorization, the
|
|
211
211
|
> menu bar will fetch all resource types. For owner-based categorization, it
|
|
@@ -491,7 +491,7 @@ the following props:
|
|
|
491
491
|
3. `resourceType`: The type of resource.
|
|
492
492
|
4. `resourceId`: The ID of the resource.
|
|
493
493
|
5. `ownerId`: The ID of the owner in case the owner is not an organization.
|
|
494
|
-
6. `onMutate`:
|
|
494
|
+
6. `onMutate`: The callback function which is triggered on the mutations
|
|
495
495
|
7. `onMutationSuccess`: The callback function which is triggered on the success
|
|
496
496
|
of mutation functions of field value.
|
|
497
497
|
|