@sprucelabs/spruce-core-schemas 37.1.4 → 37.2.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.
@@ -3199,6 +3199,7 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
3199
3199
  'target': SpruceSchemas.Spruce.v2020_07_22.FeedItemTarget;
3200
3200
  'choices'?: SpruceSchemas.Spruce.v2020_07_22.Choice[] | undefined | null;
3201
3201
  'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
3202
+ 'context'?: (Record<string, any>) | undefined | null;
3202
3203
  }
3203
3204
  interface FeedItemSchema extends SpruceSchema.Schema {
3204
3205
  id: 'feedItem';
@@ -3263,6 +3264,13 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
3263
3264
  schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
3264
3265
  };
3265
3266
  };
3267
+ /** . */
3268
+ 'context': {
3269
+ type: 'raw';
3270
+ options: {
3271
+ valueType: `Record<string, any>`;
3272
+ };
3273
+ };
3266
3274
  };
3267
3275
  }
3268
3276
  type FeedItemEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema>;
@@ -62,6 +62,11 @@ const feedItemSchema = {
62
62
  minArrayLength: 0,
63
63
  options: { schema: link_schema_1.default, }
64
64
  },
65
+ /** . */
66
+ 'context': {
67
+ type: 'raw',
68
+ options: { valueType: `Record<string, any>`, }
69
+ },
65
70
  }
66
71
  };
67
72
  schema_1.SchemaRegistry.getInstance().trackSchema(feedItemSchema);
@@ -3199,6 +3199,7 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
3199
3199
  'target': SpruceSchemas.Spruce.v2020_07_22.FeedItemTarget;
3200
3200
  'choices'?: SpruceSchemas.Spruce.v2020_07_22.Choice[] | undefined | null;
3201
3201
  'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
3202
+ 'context'?: (Record<string, any>) | undefined | null;
3202
3203
  }
3203
3204
  interface FeedItemSchema extends SpruceSchema.Schema {
3204
3205
  id: 'feedItem';
@@ -3263,6 +3264,13 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
3263
3264
  schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
3264
3265
  };
3265
3266
  };
3267
+ /** . */
3268
+ 'context': {
3269
+ type: 'raw';
3270
+ options: {
3271
+ valueType: `Record<string, any>`;
3272
+ };
3273
+ };
3266
3274
  };
3267
3275
  }
3268
3276
  type FeedItemEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema>;
@@ -57,6 +57,11 @@ const feedItemSchema = {
57
57
  minArrayLength: 0,
58
58
  options: { schema: linkSchema_v2020_07_22, }
59
59
  },
60
+ /** . */
61
+ 'context': {
62
+ type: 'raw',
63
+ options: { valueType: `Record<string, any>`, }
64
+ },
60
65
  }
61
66
  };
62
67
  SchemaRegistry.getInstance().trackSchema(feedItemSchema);
@@ -135,6 +135,12 @@ declare const _default: {
135
135
  };
136
136
  };
137
137
  };
138
+ context: {
139
+ type: "raw";
140
+ options: {
141
+ valueType: string;
142
+ };
143
+ };
138
144
  };
139
145
  };
140
146
  };
@@ -62,6 +62,12 @@ const feedItemSchema = buildSchema({
62
62
  schema: linkBuilder,
63
63
  },
64
64
  },
65
+ context: {
66
+ type: 'raw',
67
+ options: {
68
+ valueType: 'Record<string, any>',
69
+ },
70
+ },
65
71
  },
66
72
  });
67
73
  export default buildSchema({
@@ -135,6 +135,12 @@ declare const _default: {
135
135
  };
136
136
  };
137
137
  };
138
+ context: {
139
+ type: "raw";
140
+ options: {
141
+ valueType: string;
142
+ };
143
+ };
138
144
  };
139
145
  };
140
146
  };
@@ -67,6 +67,12 @@ const feedItemSchema = (0, schema_1.buildSchema)({
67
67
  schema: link_builder_1.default,
68
68
  },
69
69
  },
70
+ context: {
71
+ type: 'raw',
72
+ options: {
73
+ valueType: 'Record<string, any>',
74
+ },
75
+ },
70
76
  },
71
77
  });
72
78
  exports.default = (0, schema_1.buildSchema)({
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "37.1.4",
6
+ "version": "37.2.1",
7
7
  "files": [
8
8
  "build/**/*",
9
9
  "tsconfig.json"
@@ -64,11 +64,11 @@
64
64
  "watch.rebuild": "yarn clean.all && yarn && yarn watch.build.dev"
65
65
  },
66
66
  "dependencies": {
67
- "@sprucelabs/schema": "^28.5.141"
67
+ "@sprucelabs/schema": "^28.5.142"
68
68
  },
69
69
  "devDependencies": {
70
- "@sprucelabs/esm-postbuild": "^3.0.2",
71
- "@sprucelabs/jest-json-reporter": "^7.0.2",
70
+ "@sprucelabs/esm-postbuild": "^3.0.3",
71
+ "@sprucelabs/jest-json-reporter": "^7.0.3",
72
72
  "@sprucelabs/resolve-path-aliases": "^1.1.192",
73
73
  "@sprucelabs/semantic-release": "^4.0.8",
74
74
  "@sprucelabs/test": "^7.7.424",