@wenlarge/ostrol-communication 0.5.0 → 0.6.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.
@@ -37,6 +37,13 @@ export interface Post {
37
37
  createdAt: string;
38
38
  /** translations: id of the canonical (English) post; empty on canonical/personal posts */
39
39
  sourcePostId: string;
40
+ /**
41
+ * content-visuals metadata: { themeTags: string[], sections?: [{heading, tags}],
42
+ * transit?: {transitingBody, aspect, natalPoint} }; absent on legacy posts
43
+ */
44
+ metadata?: {
45
+ [key: string]: any;
46
+ } | undefined;
40
47
  }
41
48
  export interface NatalChart {
42
49
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wenlarge/ostrol-communication",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Shared gRPC proto contracts, generated clients and Kafka helpers for Ostrol microservices.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -40,6 +40,9 @@ message Post {
40
40
  string publishedAt = 9; // ISO 8601
41
41
  string createdAt = 10; // ISO 8601
42
42
  string sourcePostId = 11; // translations: id of the canonical (English) post; empty on canonical/personal posts
43
+ // content-visuals metadata: { themeTags: string[], sections?: [{heading, tags}],
44
+ // transit?: {transitingBody, aspect, natalPoint} }; absent on legacy posts
45
+ google.protobuf.Struct metadata = 12;
43
46
  }
44
47
 
45
48
  message NatalChart {
@@ -51,6 +51,11 @@ export interface Post {
51
51
  createdAt: string;
52
52
  /** translations: id of the canonical (English) post; empty on canonical/personal posts */
53
53
  sourcePostId: string;
54
+ /**
55
+ * content-visuals metadata: { themeTags: string[], sections?: [{heading, tags}],
56
+ * transit?: {transitingBody, aspect, natalPoint} }; absent on legacy posts
57
+ */
58
+ metadata?: { [key: string]: any } | undefined;
54
59
  }
55
60
 
56
61
  export interface NatalChart {