@devvit/protos 0.10.18-next-2024-03-12-1779d7ee8.0 → 0.10.18-next-2024-03-12-613bad501.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/protos",
3
- "version": "0.10.18-next-2024-03-12-1779d7ee8.0",
3
+ "version": "0.10.18-next-2024-03-12-613bad501.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -42,7 +42,7 @@
42
42
  "devDependencies": {
43
43
  "@devvit/eslint-config": "0.10.17",
44
44
  "@devvit/repo-tools": "0.10.17",
45
- "@devvit/tsconfig": "0.10.18-next-2024-03-12-1779d7ee8.0",
45
+ "@devvit/tsconfig": "0.10.18-next-2024-03-12-613bad501.0",
46
46
  "eslint": "8.9.0",
47
47
  "glob": "10.3.10",
48
48
  "ts-proto-kmx-2": "1.129.4",
@@ -53,5 +53,5 @@
53
53
  "publishConfig": {
54
54
  "directory": "dist"
55
55
  },
56
- "gitHead": "516c45df2d2884dfc1f5b559adffc6f70b5979b2"
56
+ "gitHead": "5f412ab91b5aa74c059e632c7f01c8db6bfe45dd"
57
57
  }
@@ -23,6 +23,25 @@ message Block {
23
23
 
24
24
  // List of possible actions
25
25
  repeated BlockAction actions = 4;
26
+
27
+ /**
28
+ * Unique identifier for the block, if we have one. This is designed to
29
+ * facilitate component re-use.
30
+ *
31
+ * If this is not set, the block is considered to be a new instance of a
32
+ * component, or the client may use heuristics to determine if the component
33
+ * appears similar enough to reuse.
34
+ */
35
+ optional string id = 6;
36
+
37
+ /**
38
+ * Key for the block, if we have one. This is designed to handle
39
+ * component re-ordering within a list or parent.
40
+ *
41
+ * Keys are not required to be unique, but they should be stable across
42
+ * re-orderings of the same list or parent.
43
+ */
44
+ optional string key = 7;
26
45
  }
27
46
 
28
47
  message BlockConfig {