@slicemachine/plugin-kit 0.4.75 → 0.4.76-alpha.jp-update-cr-links.1

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,6 +5,12 @@ import type { ExtendSliceMachineHook, SliceMachinePluginOptions, SliceMachineHoo
5
5
  */
6
6
  export type CustomTypeUpdateHookData = {
7
7
  model: CustomType;
8
+ updateMeta?: {
9
+ fieldIdChanged?: {
10
+ previousPath: string[];
11
+ newPath: string[];
12
+ };
13
+ };
8
14
  };
9
15
  /**
10
16
  * Return value for `custom-type:update` hook handlers.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slicemachine/plugin-kit",
3
- "version": "0.4.75",
3
+ "version": "0.4.76-alpha.jp-update-cr-links.1",
4
4
  "description": "A set of helpers to develop and run Slice Machine plugins",
5
5
  "keywords": [
6
6
  "typescript",
@@ -76,7 +76,7 @@
76
76
  },
77
77
  "devDependencies": {
78
78
  "@prismicio/mock": "0.7.1",
79
- "@prismicio/types-internal": "3.8.0",
79
+ "@prismicio/types-internal": "3.10.0-alpha.0",
80
80
  "@size-limit/preset-small-lib": "8.2.4",
81
81
  "@types/common-tags": "1.8.1",
82
82
  "@types/fs-extra": "11.0.1",
@@ -103,5 +103,6 @@
103
103
  },
104
104
  "publishConfig": {
105
105
  "access": "public"
106
- }
106
+ },
107
+ "stableVersion": "0.4.75"
107
108
  }
@@ -11,6 +11,12 @@ import type {
11
11
  */
12
12
  export type CustomTypeUpdateHookData = {
13
13
  model: CustomType;
14
+ updateMeta?: {
15
+ fieldIdChanged?: {
16
+ previousPath: string[];
17
+ newPath: string[];
18
+ };
19
+ };
14
20
  };
15
21
 
16
22
  /**