@slicemachine/plugin-kit 0.4.78-beta.2 → 0.4.78-beta.4

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,20 +5,6 @@ import type { ExtendSliceMachineHook, SliceMachinePluginOptions, SliceMachineHoo
5
5
  */
6
6
  export type CustomTypeUpdateHookData = {
7
7
  model: CustomType;
8
- updateMeta?: {
9
- fieldIdChanged?: {
10
- /**
11
- * Previous path of the changed field. Can be used to identify the field
12
- * that had an API ID rename (e.g. ["page", "title"])
13
- */
14
- previousPath: string[];
15
- /**
16
- * New path of the changed field. Can be used to identify the field that
17
- * had an API ID rename (e.g. ["page", "title2"])
18
- */
19
- newPath: string[];
20
- };
21
- };
22
8
  };
23
9
  /**
24
10
  * 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.78-beta.2",
3
+ "version": "0.4.78-beta.4",
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.10.0",
79
+ "@prismicio/types-internal": "3.11.2",
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",
@@ -11,20 +11,6 @@ import type {
11
11
  */
12
12
  export type CustomTypeUpdateHookData = {
13
13
  model: CustomType;
14
- updateMeta?: {
15
- fieldIdChanged?: {
16
- /**
17
- * Previous path of the changed field. Can be used to identify the field
18
- * that had an API ID rename (e.g. ["page", "title"])
19
- */
20
- previousPath: string[];
21
- /**
22
- * New path of the changed field. Can be used to identify the field that
23
- * had an API ID rename (e.g. ["page", "title2"])
24
- */
25
- newPath: string[];
26
- };
27
- };
28
14
  };
29
15
 
30
16
  /**