@slicemachine/plugin-kit 0.4.76-alpha.jp-update-cr-links-delete-field-data-flow.5 → 0.4.76-alpha.jp-update-cr-links-delete-field-data-flow.6
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.
|
@@ -5,7 +5,8 @@ import type { ExtendSliceMachineHook, SliceMachinePluginOptions, SliceMachineHoo
|
|
|
5
5
|
*/
|
|
6
6
|
export type CustomTypeUpdateHookData = {
|
|
7
7
|
model: CustomType;
|
|
8
|
-
|
|
8
|
+
/** Details/context about the changes made to the custom type. */
|
|
9
|
+
updateDetails?: {
|
|
9
10
|
fieldDeletedOrIdChanged?: {
|
|
10
11
|
/**
|
|
11
12
|
* Previous path of the changed field. Can be used to identify the field
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slicemachine/plugin-kit",
|
|
3
|
-
"version": "0.4.76-alpha.jp-update-cr-links-delete-field-data-flow.
|
|
3
|
+
"version": "0.4.76-alpha.jp-update-cr-links-delete-field-data-flow.6",
|
|
4
4
|
"description": "A set of helpers to develop and run Slice Machine plugins",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -11,7 +11,8 @@ import type {
|
|
|
11
11
|
*/
|
|
12
12
|
export type CustomTypeUpdateHookData = {
|
|
13
13
|
model: CustomType;
|
|
14
|
-
|
|
14
|
+
/** Details/context about the changes made to the custom type. */
|
|
15
|
+
updateDetails?: {
|
|
15
16
|
fieldDeletedOrIdChanged?: {
|
|
16
17
|
/**
|
|
17
18
|
* Previous path of the changed field. Can be used to identify the field
|