@prismicio/client 7.16.1 → 7.17.0-alpha.0

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.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const version = "7.16.1";
3
+ const version = "7.17.0-alpha.0";
4
4
  exports.version = version;
5
5
  //# sourceMappingURL=package.json.cjs.map
@@ -1,4 +1,4 @@
1
- const version = "7.16.1";
1
+ const version = "7.17.0-alpha.0";
2
2
  export {
3
3
  version
4
4
  };
@@ -33,6 +33,10 @@ export type TableFieldBody = {
33
33
  * Represents a row in a table head.
34
34
  */
35
35
  export type TableFieldHeadRow = {
36
+ /**
37
+ * Unique key of the row (UUID v4 format).
38
+ */
39
+ key: string;
36
40
  /**
37
41
  * Cells in the row.
38
42
  */
@@ -42,13 +46,27 @@ export type TableFieldHeadRow = {
42
46
  * Represents a table header cell.
43
47
  */
44
48
  export type TableFieldHeaderCell = {
49
+ /**
50
+ * Unique key of the cell (UUID v4 format).
51
+ */
52
+ key: string;
53
+ /**
54
+ * The type of the cell.
55
+ */
45
56
  type: "header";
57
+ /**
58
+ * The content of the cell.
59
+ */
46
60
  content: RichTextField;
47
61
  };
48
62
  /**
49
63
  * Represents a row in a table body.
50
64
  */
51
65
  export type TableFieldBodyRow = {
66
+ /**
67
+ * Unique key of the row (UUID v4 format).
68
+ */
69
+ key: string;
52
70
  /**
53
71
  * Cells in the row.
54
72
  */
@@ -58,6 +76,16 @@ export type TableFieldBodyRow = {
58
76
  * Represents a table data cell.
59
77
  */
60
78
  export type TableFieldDataCell = {
79
+ /**
80
+ * Unique key of the cell (UUID v4 format).
81
+ */
82
+ key: string;
83
+ /**
84
+ * The type of the cell.
85
+ */
61
86
  type: "data";
87
+ /**
88
+ * The content of the cell.
89
+ */
62
90
  content: RichTextField;
63
91
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismicio/client",
3
- "version": "7.16.1",
3
+ "version": "7.17.0-alpha.0",
4
4
  "description": "The official JavaScript + TypeScript client library for Prismic",
5
5
  "keywords": [
6
6
  "typescript",
@@ -82,7 +82,7 @@
82
82
  "imgix-url-builder": "^0.0.5"
83
83
  },
84
84
  "devDependencies": {
85
- "@prismicio/mock": "0.7.0",
85
+ "@prismicio/mock": "0.7.1",
86
86
  "@prismicio/types-internal": "^3.5.0",
87
87
  "@size-limit/preset-small-lib": "^11.1.6",
88
88
  "@trivago/prettier-plugin-sort-imports": "^4.3.0",
@@ -42,6 +42,11 @@ export type TableFieldBody = {
42
42
  * Represents a row in a table head.
43
43
  */
44
44
  export type TableFieldHeadRow = {
45
+ /**
46
+ * Unique key of the row (UUID v4 format).
47
+ */
48
+ key: string
49
+
45
50
  /**
46
51
  * Cells in the row.
47
52
  */
@@ -52,7 +57,19 @@ export type TableFieldHeadRow = {
52
57
  * Represents a table header cell.
53
58
  */
54
59
  export type TableFieldHeaderCell = {
60
+ /**
61
+ * Unique key of the cell (UUID v4 format).
62
+ */
63
+ key: string
64
+
65
+ /**
66
+ * The type of the cell.
67
+ */
55
68
  type: "header"
69
+
70
+ /**
71
+ * The content of the cell.
72
+ */
56
73
  content: RichTextField
57
74
  }
58
75
 
@@ -60,6 +77,11 @@ export type TableFieldHeaderCell = {
60
77
  * Represents a row in a table body.
61
78
  */
62
79
  export type TableFieldBodyRow = {
80
+ /**
81
+ * Unique key of the row (UUID v4 format).
82
+ */
83
+ key: string
84
+
63
85
  /**
64
86
  * Cells in the row.
65
87
  */
@@ -70,6 +92,18 @@ export type TableFieldBodyRow = {
70
92
  * Represents a table data cell.
71
93
  */
72
94
  export type TableFieldDataCell = {
95
+ /**
96
+ * Unique key of the cell (UUID v4 format).
97
+ */
98
+ key: string
99
+
100
+ /**
101
+ * The type of the cell.
102
+ */
73
103
  type: "data"
104
+
105
+ /**
106
+ * The content of the cell.
107
+ */
74
108
  content: RichTextField
75
109
  }