Commit a346c66
authored
docs: fix metafield and metaobject definition intent docs (#3646)
## Description
Updates the documentation for Metafield Definition and Metaobject Definition intents to include the correct data parameters:
- Adds `{ ownerType: 'Product' }` as the data parameter for Metafield Definition create and edit actions
- Replaces the value parameter with a data parameter `{ type: 'my_metaobject_definition_type' }` for Metaobject Definition edit action
- Updates the corresponding example code for editing a Metaobject Definition to use the data parameter instead of the value parameter
## 🎩
- Verify that the updated documentation accurately reflects the expected parameters for these intents
- Confirm that the example code works correctly with the new parameter structure
## Checklist
- [ ] I have 🎩'd these changes
- [ ] I have updated relevant documentationFile tree
3 files changed
+5
-4
lines changed- packages/ui-extensions/src/surfaces/admin/api/intents
- examples
3 files changed
+5
-4
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
| 86 | + | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
0 commit comments