@salesforce/lds-adapters-experience-model 1.428.0-dev4 → 1.428.0-dev5

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.
@@ -1888,26 +1888,19 @@ function validate$5(obj, path = 'ExperienceModelSchemaConfigInputRepresentation'
1888
1888
  return new TypeError(message);
1889
1889
  }
1890
1890
  }
1891
- if (obj.jsonType !== undefined) {
1892
- const obj_jsonType = obj.jsonType;
1893
- const path_jsonType = path + '.jsonType';
1894
- if (typeof obj_jsonType !== 'string') {
1895
- return new TypeError('Expected "string" but received "' + typeof obj_jsonType + '" (at "' + path_jsonType + '")');
1896
- }
1897
- }
1898
- if (obj.schemaJson !== undefined) {
1899
- const obj_schemaJson = obj.schemaJson;
1900
- const path_schemaJson = path + '.schemaJson';
1901
- if (typeof obj_schemaJson !== 'object' || ArrayIsArray(obj_schemaJson) || obj_schemaJson === null) {
1902
- return new TypeError('Expected "object" but received "' + typeof obj_schemaJson + '" (at "' + path_schemaJson + '")');
1903
- }
1904
- const obj_schemaJson_keys = ObjectKeys(obj_schemaJson);
1905
- for (let i = 0; i < obj_schemaJson_keys.length; i++) {
1906
- const key = obj_schemaJson_keys[i];
1907
- const obj_schemaJson_prop = obj_schemaJson[key];
1908
- const path_schemaJson_prop = path_schemaJson + '["' + key + '"]';
1909
- if (typeof obj_schemaJson_prop !== 'object' || ArrayIsArray(obj_schemaJson_prop) || obj_schemaJson_prop === null) {
1910
- return new TypeError('Expected "object" but received "' + typeof obj_schemaJson_prop + '" (at "' + path_schemaJson_prop + '")');
1891
+ if (obj.schema !== undefined) {
1892
+ const obj_schema = obj.schema;
1893
+ const path_schema = path + '.schema';
1894
+ if (typeof obj_schema !== 'object' || ArrayIsArray(obj_schema) || obj_schema === null) {
1895
+ return new TypeError('Expected "object" but received "' + typeof obj_schema + '" (at "' + path_schema + '")');
1896
+ }
1897
+ const obj_schema_keys = ObjectKeys(obj_schema);
1898
+ for (let i = 0; i < obj_schema_keys.length; i++) {
1899
+ const key = obj_schema_keys[i];
1900
+ const obj_schema_prop = obj_schema[key];
1901
+ const path_schema_prop = path_schema + '["' + key + '"]';
1902
+ if (typeof obj_schema_prop !== 'object' || ArrayIsArray(obj_schema_prop) || obj_schema_prop === null) {
1903
+ return new TypeError('Expected "object" but received "' + typeof obj_schema_prop + '" (at "' + path_schema_prop + '")');
1911
1904
  }
1912
1905
  }
1913
1906
  }
@@ -1918,6 +1911,13 @@ function validate$5(obj, path = 'ExperienceModelSchemaConfigInputRepresentation'
1918
1911
  return new TypeError('Expected "boolean" but received "' + typeof obj_subSchemaDefinitions + '" (at "' + path_subSchemaDefinitions + '")');
1919
1912
  }
1920
1913
  }
1914
+ if (obj.type !== undefined) {
1915
+ const obj_type = obj.type;
1916
+ const path_type = path + '.type';
1917
+ if (typeof obj_type !== 'string') {
1918
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
1919
+ }
1920
+ }
1921
1921
  })();
1922
1922
  return v_error === undefined ? null : v_error;
1923
1923
  }
@@ -2175,7 +2175,7 @@ function select(luvio, params) {
2175
2175
  return select$1();
2176
2176
  }
2177
2177
  function keyBuilder$1(luvio, params) {
2178
- return keyPrefix + '::ExperienceModelTypesCollectionRepresentation:(' + 'language:' + params.body.language + '::' + '[' + params.body.typeConfigs.map(element => { var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8; return 'typeConfigs.descriptor:' + element.descriptor + '::' + (((_a = element.designConfig) === null || _a === void 0 ? void 0 : _a.target) === undefined ? 'typeConfigs.designConfig.target' : 'typeConfigs.designConfig.target:' + ((_b = element.designConfig) === null || _b === void 0 ? void 0 : _b.target)) + '::' + (((_c = element.designConfig) === null || _c === void 0 ? void 0 : _c.subViewDefinitions) === undefined ? 'typeConfigs.designConfig.subViewDefinitions' : 'typeConfigs.designConfig.subViewDefinitions:' + ((_d = element.designConfig) === null || _d === void 0 ? void 0 : _d.subViewDefinitions)) + '::' + (((_e = element.designConfig) === null || _e === void 0 ? void 0 : _e.maxViewDepth) === undefined ? 'typeConfigs.designConfig.maxViewDepth' : 'typeConfigs.designConfig.maxViewDepth:' + ((_f = element.designConfig) === null || _f === void 0 ? void 0 : _f.maxViewDepth)) + '::' + (((_g = element.designConfig) === null || _g === void 0 ? void 0 : _g.actionConfig) === undefined ? 'typeConfigs.designConfig.actionConfig' : 'typeConfigs.designConfig.actionConfig:' + ((_h = element.designConfig) === null || _h === void 0 ? void 0 : _h.actionConfig)) + '::' + (((_j = element.designConfig) === null || _j === void 0 ? void 0 : _j.forceDefaultGeneration) === undefined ? 'typeConfigs.designConfig.forceDefaultGeneration' : 'typeConfigs.designConfig.forceDefaultGeneration:' + ((_k = element.designConfig) === null || _k === void 0 ? void 0 : _k.forceDefaultGeneration)) + '::' + (((_l = element.renditionConfig) === null || _l === void 0 ? void 0 : _l.target) === undefined ? 'typeConfigs.renditionConfig.target' : 'typeConfigs.renditionConfig.target:' + ((_m = element.renditionConfig) === null || _m === void 0 ? void 0 : _m.target)) + '::' + (((_o = element.renditionConfig) === null || _o === void 0 ? void 0 : _o.subViewDefinitions) === undefined ? 'typeConfigs.renditionConfig.subViewDefinitions' : 'typeConfigs.renditionConfig.subViewDefinitions:' + ((_p = element.renditionConfig) === null || _p === void 0 ? void 0 : _p.subViewDefinitions)) + '::' + (((_q = element.renditionConfig) === null || _q === void 0 ? void 0 : _q.maxViewDepth) === undefined ? 'typeConfigs.renditionConfig.maxViewDepth' : 'typeConfigs.renditionConfig.maxViewDepth:' + ((_r = element.renditionConfig) === null || _r === void 0 ? void 0 : _r.maxViewDepth)) + '::' + (((_s = element.renditionConfig) === null || _s === void 0 ? void 0 : _s.actionConfig) === undefined ? 'typeConfigs.renditionConfig.actionConfig' : 'typeConfigs.renditionConfig.actionConfig:' + ((_t = element.renditionConfig) === null || _t === void 0 ? void 0 : _t.actionConfig)) + '::' + (((_u = element.renditionConfig) === null || _u === void 0 ? void 0 : _u.forceDefaultGeneration) === undefined ? 'typeConfigs.renditionConfig.forceDefaultGeneration' : 'typeConfigs.renditionConfig.forceDefaultGeneration:' + ((_v = element.renditionConfig) === null || _v === void 0 ? void 0 : _v.forceDefaultGeneration)) + '::' + (((_x = (_w = element.schemaConfig) === null || _w === void 0 ? void 0 : _w.filterConfig) === null || _x === void 0 ? void 0 : _x.propertyNames) === undefined ? 'typeConfigs.schemaConfig.filterConfig.propertyNames' : 'typeConfigs.schemaConfig.filterConfig.propertyNames:' + ((_z = (_y = element.schemaConfig) === null || _y === void 0 ? void 0 : _y.filterConfig) === null || _z === void 0 ? void 0 : _z.propertyNames)) + '::' + (((_0 = element.schemaConfig) === null || _0 === void 0 ? void 0 : _0.jsonType) === undefined ? 'typeConfigs.schemaConfig.jsonType' : 'typeConfigs.schemaConfig.jsonType:' + ((_1 = element.schemaConfig) === null || _1 === void 0 ? void 0 : _1.jsonType)) + '::' + stableJSONStringify((_2 = element.schemaConfig) === null || _2 === void 0 ? void 0 : _2.schemaJson) + '::' + (((_3 = element.schemaConfig) === null || _3 === void 0 ? void 0 : _3.subSchemaDefinitions) === undefined ? 'typeConfigs.schemaConfig.subSchemaDefinitions' : 'typeConfigs.schemaConfig.subSchemaDefinitions:' + ((_4 = element.schemaConfig) === null || _4 === void 0 ? void 0 : _4.subSchemaDefinitions)) + '::' + (((_5 = element.sourceDescriptor) === null || _5 === void 0 ? void 0 : _5.descriptor) === undefined ? 'typeConfigs.sourceDescriptor.descriptor' : 'typeConfigs.sourceDescriptor.descriptor:' + ((_6 = element.sourceDescriptor) === null || _6 === void 0 ? void 0 : _6.descriptor)) + '::' + (((_7 = element.sourceDescriptor) === null || _7 === void 0 ? void 0 : _7.propertyName) === undefined ? 'typeConfigs.sourceDescriptor.propertyName' : 'typeConfigs.sourceDescriptor.propertyName:' + ((_8 = element.sourceDescriptor) === null || _8 === void 0 ? void 0 : _8.propertyName)); }).join(',') + ']' + ')';
2178
+ return keyPrefix + '::ExperienceModelTypesCollectionRepresentation:(' + 'language:' + params.body.language + '::' + '[' + params.body.typeConfigs.map(element => { var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8; return 'typeConfigs.descriptor:' + element.descriptor + '::' + (((_a = element.designConfig) === null || _a === void 0 ? void 0 : _a.target) === undefined ? 'typeConfigs.designConfig.target' : 'typeConfigs.designConfig.target:' + ((_b = element.designConfig) === null || _b === void 0 ? void 0 : _b.target)) + '::' + (((_c = element.designConfig) === null || _c === void 0 ? void 0 : _c.subViewDefinitions) === undefined ? 'typeConfigs.designConfig.subViewDefinitions' : 'typeConfigs.designConfig.subViewDefinitions:' + ((_d = element.designConfig) === null || _d === void 0 ? void 0 : _d.subViewDefinitions)) + '::' + (((_e = element.designConfig) === null || _e === void 0 ? void 0 : _e.maxViewDepth) === undefined ? 'typeConfigs.designConfig.maxViewDepth' : 'typeConfigs.designConfig.maxViewDepth:' + ((_f = element.designConfig) === null || _f === void 0 ? void 0 : _f.maxViewDepth)) + '::' + (((_g = element.designConfig) === null || _g === void 0 ? void 0 : _g.actionConfig) === undefined ? 'typeConfigs.designConfig.actionConfig' : 'typeConfigs.designConfig.actionConfig:' + ((_h = element.designConfig) === null || _h === void 0 ? void 0 : _h.actionConfig)) + '::' + (((_j = element.designConfig) === null || _j === void 0 ? void 0 : _j.forceDefaultGeneration) === undefined ? 'typeConfigs.designConfig.forceDefaultGeneration' : 'typeConfigs.designConfig.forceDefaultGeneration:' + ((_k = element.designConfig) === null || _k === void 0 ? void 0 : _k.forceDefaultGeneration)) + '::' + (((_l = element.renditionConfig) === null || _l === void 0 ? void 0 : _l.target) === undefined ? 'typeConfigs.renditionConfig.target' : 'typeConfigs.renditionConfig.target:' + ((_m = element.renditionConfig) === null || _m === void 0 ? void 0 : _m.target)) + '::' + (((_o = element.renditionConfig) === null || _o === void 0 ? void 0 : _o.subViewDefinitions) === undefined ? 'typeConfigs.renditionConfig.subViewDefinitions' : 'typeConfigs.renditionConfig.subViewDefinitions:' + ((_p = element.renditionConfig) === null || _p === void 0 ? void 0 : _p.subViewDefinitions)) + '::' + (((_q = element.renditionConfig) === null || _q === void 0 ? void 0 : _q.maxViewDepth) === undefined ? 'typeConfigs.renditionConfig.maxViewDepth' : 'typeConfigs.renditionConfig.maxViewDepth:' + ((_r = element.renditionConfig) === null || _r === void 0 ? void 0 : _r.maxViewDepth)) + '::' + (((_s = element.renditionConfig) === null || _s === void 0 ? void 0 : _s.actionConfig) === undefined ? 'typeConfigs.renditionConfig.actionConfig' : 'typeConfigs.renditionConfig.actionConfig:' + ((_t = element.renditionConfig) === null || _t === void 0 ? void 0 : _t.actionConfig)) + '::' + (((_u = element.renditionConfig) === null || _u === void 0 ? void 0 : _u.forceDefaultGeneration) === undefined ? 'typeConfigs.renditionConfig.forceDefaultGeneration' : 'typeConfigs.renditionConfig.forceDefaultGeneration:' + ((_v = element.renditionConfig) === null || _v === void 0 ? void 0 : _v.forceDefaultGeneration)) + '::' + (((_x = (_w = element.schemaConfig) === null || _w === void 0 ? void 0 : _w.filterConfig) === null || _x === void 0 ? void 0 : _x.propertyNames) === undefined ? 'typeConfigs.schemaConfig.filterConfig.propertyNames' : 'typeConfigs.schemaConfig.filterConfig.propertyNames:' + ((_z = (_y = element.schemaConfig) === null || _y === void 0 ? void 0 : _y.filterConfig) === null || _z === void 0 ? void 0 : _z.propertyNames)) + '::' + (((_0 = element.schemaConfig) === null || _0 === void 0 ? void 0 : _0.type) === undefined ? 'typeConfigs.schemaConfig.type' : 'typeConfigs.schemaConfig.type:' + ((_1 = element.schemaConfig) === null || _1 === void 0 ? void 0 : _1.type)) + '::' + stableJSONStringify((_2 = element.schemaConfig) === null || _2 === void 0 ? void 0 : _2.schema) + '::' + (((_3 = element.schemaConfig) === null || _3 === void 0 ? void 0 : _3.subSchemaDefinitions) === undefined ? 'typeConfigs.schemaConfig.subSchemaDefinitions' : 'typeConfigs.schemaConfig.subSchemaDefinitions:' + ((_4 = element.schemaConfig) === null || _4 === void 0 ? void 0 : _4.subSchemaDefinitions)) + '::' + (((_5 = element.sourceDescriptor) === null || _5 === void 0 ? void 0 : _5.descriptor) === undefined ? 'typeConfigs.sourceDescriptor.descriptor' : 'typeConfigs.sourceDescriptor.descriptor:' + ((_6 = element.sourceDescriptor) === null || _6 === void 0 ? void 0 : _6.descriptor)) + '::' + (((_7 = element.sourceDescriptor) === null || _7 === void 0 ? void 0 : _7.propertyName) === undefined ? 'typeConfigs.sourceDescriptor.propertyName' : 'typeConfigs.sourceDescriptor.propertyName:' + ((_8 = element.sourceDescriptor) === null || _8 === void 0 ? void 0 : _8.propertyName)); }).join(',') + ']' + ')';
2179
2179
  }
2180
2180
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
2181
2181
  getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
@@ -1,6 +1,6 @@
1
1
  import { ExperienceModelFilterConfigInputRepresentation as ExperienceModelFilterConfigInputRepresentation_ExperienceModelFilterConfigInputRepresentation } from './ExperienceModelFilterConfigInputRepresentation';
2
2
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
- export declare const VERSION = "4bf23b8f5337047c918de886d1838be7";
3
+ export declare const VERSION = "d971237b9151c6b726bbd39a7c9c2a35";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export declare function normalize(input: ExperienceModelSchemaConfigInputRepresentation, existing: ExperienceModelSchemaConfigInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExperienceModelSchemaConfigInputRepresentationNormalized;
@@ -16,14 +16,14 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
16
  */
17
17
  export interface ExperienceModelSchemaConfigInputRepresentationNormalized {
18
18
  filterConfig?: ExperienceModelFilterConfigInputRepresentation_ExperienceModelFilterConfigInputRepresentation;
19
- /** Type of schema JSON being provided (INTERNAL USE ONLY) */
20
- jsonType?: string;
21
19
  /** Raw schema JSON for transient type registration (INTERNAL USE ONLY) */
22
- schemaJson?: {
20
+ schema?: {
23
21
  [key: string]: {};
24
22
  };
25
23
  /** Boolean property if sub-schema should be included */
26
24
  subSchemaDefinitions?: boolean;
25
+ /** Type of schema JSON being provided (INTERNAL USE ONLY) */
26
+ type?: string;
27
27
  }
28
28
  /**
29
29
  * Input Representation for Experience Model type schema configuration
@@ -33,9 +33,9 @@ export interface ExperienceModelSchemaConfigInputRepresentationNormalized {
33
33
  */
34
34
  export interface ExperienceModelSchemaConfigInputRepresentation {
35
35
  filterConfig?: ExperienceModelFilterConfigInputRepresentation_ExperienceModelFilterConfigInputRepresentation;
36
- jsonType?: string;
37
- schemaJson?: {
36
+ schema?: {
38
37
  [key: string]: {};
39
38
  };
40
39
  subSchemaDefinitions?: boolean;
40
+ type?: string;
41
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-experience-model",
3
- "version": "1.428.0-dev4",
3
+ "version": "1.428.0-dev5",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "APIs to read and query all the 'types' in the Unified Experience Model",
6
6
  "main": "dist/es/es2018/experience-model.js",
@@ -44,11 +44,11 @@
44
44
  "test:unit": "jest"
45
45
  },
46
46
  "dependencies": {
47
- "@salesforce/lds-bindings": "^1.428.0-dev4"
47
+ "@salesforce/lds-bindings": "^1.428.0-dev5"
48
48
  },
49
49
  "devDependencies": {
50
- "@salesforce/lds-compiler-plugins": "^1.428.0-dev4",
51
- "@salesforce/lds-karma": "^1.428.0-dev4"
50
+ "@salesforce/lds-compiler-plugins": "^1.428.0-dev5",
51
+ "@salesforce/lds-karma": "^1.428.0-dev5"
52
52
  },
53
53
  "nx": {
54
54
  "targets": {
package/sfdc/index.js CHANGED
@@ -1898,26 +1898,19 @@ function validate$5(obj, path = 'ExperienceModelSchemaConfigInputRepresentation'
1898
1898
  return new TypeError(message);
1899
1899
  }
1900
1900
  }
1901
- if (obj.jsonType !== undefined) {
1902
- const obj_jsonType = obj.jsonType;
1903
- const path_jsonType = path + '.jsonType';
1904
- if (typeof obj_jsonType !== 'string') {
1905
- return new TypeError('Expected "string" but received "' + typeof obj_jsonType + '" (at "' + path_jsonType + '")');
1906
- }
1907
- }
1908
- if (obj.schemaJson !== undefined) {
1909
- const obj_schemaJson = obj.schemaJson;
1910
- const path_schemaJson = path + '.schemaJson';
1911
- if (typeof obj_schemaJson !== 'object' || ArrayIsArray(obj_schemaJson) || obj_schemaJson === null) {
1912
- return new TypeError('Expected "object" but received "' + typeof obj_schemaJson + '" (at "' + path_schemaJson + '")');
1913
- }
1914
- const obj_schemaJson_keys = ObjectKeys(obj_schemaJson);
1915
- for (let i = 0; i < obj_schemaJson_keys.length; i++) {
1916
- const key = obj_schemaJson_keys[i];
1917
- const obj_schemaJson_prop = obj_schemaJson[key];
1918
- const path_schemaJson_prop = path_schemaJson + '["' + key + '"]';
1919
- if (typeof obj_schemaJson_prop !== 'object' || ArrayIsArray(obj_schemaJson_prop) || obj_schemaJson_prop === null) {
1920
- return new TypeError('Expected "object" but received "' + typeof obj_schemaJson_prop + '" (at "' + path_schemaJson_prop + '")');
1901
+ if (obj.schema !== undefined) {
1902
+ const obj_schema = obj.schema;
1903
+ const path_schema = path + '.schema';
1904
+ if (typeof obj_schema !== 'object' || ArrayIsArray(obj_schema) || obj_schema === null) {
1905
+ return new TypeError('Expected "object" but received "' + typeof obj_schema + '" (at "' + path_schema + '")');
1906
+ }
1907
+ const obj_schema_keys = ObjectKeys(obj_schema);
1908
+ for (let i = 0; i < obj_schema_keys.length; i++) {
1909
+ const key = obj_schema_keys[i];
1910
+ const obj_schema_prop = obj_schema[key];
1911
+ const path_schema_prop = path_schema + '["' + key + '"]';
1912
+ if (typeof obj_schema_prop !== 'object' || ArrayIsArray(obj_schema_prop) || obj_schema_prop === null) {
1913
+ return new TypeError('Expected "object" but received "' + typeof obj_schema_prop + '" (at "' + path_schema_prop + '")');
1921
1914
  }
1922
1915
  }
1923
1916
  }
@@ -1928,6 +1921,13 @@ function validate$5(obj, path = 'ExperienceModelSchemaConfigInputRepresentation'
1928
1921
  return new TypeError('Expected "boolean" but received "' + typeof obj_subSchemaDefinitions + '" (at "' + path_subSchemaDefinitions + '")');
1929
1922
  }
1930
1923
  }
1924
+ if (obj.type !== undefined) {
1925
+ const obj_type = obj.type;
1926
+ const path_type = path + '.type';
1927
+ if (typeof obj_type !== 'string') {
1928
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
1929
+ }
1930
+ }
1931
1931
  })();
1932
1932
  return v_error === undefined ? null : v_error;
1933
1933
  }
@@ -2185,7 +2185,7 @@ function select(luvio, params) {
2185
2185
  return select$1();
2186
2186
  }
2187
2187
  function keyBuilder$1(luvio, params) {
2188
- return keyPrefix + '::ExperienceModelTypesCollectionRepresentation:(' + 'language:' + params.body.language + '::' + '[' + params.body.typeConfigs.map(element => 'typeConfigs.descriptor:' + element.descriptor + '::' + (element.designConfig?.target === undefined ? 'typeConfigs.designConfig.target' : 'typeConfigs.designConfig.target:' + element.designConfig?.target) + '::' + (element.designConfig?.subViewDefinitions === undefined ? 'typeConfigs.designConfig.subViewDefinitions' : 'typeConfigs.designConfig.subViewDefinitions:' + element.designConfig?.subViewDefinitions) + '::' + (element.designConfig?.maxViewDepth === undefined ? 'typeConfigs.designConfig.maxViewDepth' : 'typeConfigs.designConfig.maxViewDepth:' + element.designConfig?.maxViewDepth) + '::' + (element.designConfig?.actionConfig === undefined ? 'typeConfigs.designConfig.actionConfig' : 'typeConfigs.designConfig.actionConfig:' + element.designConfig?.actionConfig) + '::' + (element.designConfig?.forceDefaultGeneration === undefined ? 'typeConfigs.designConfig.forceDefaultGeneration' : 'typeConfigs.designConfig.forceDefaultGeneration:' + element.designConfig?.forceDefaultGeneration) + '::' + (element.renditionConfig?.target === undefined ? 'typeConfigs.renditionConfig.target' : 'typeConfigs.renditionConfig.target:' + element.renditionConfig?.target) + '::' + (element.renditionConfig?.subViewDefinitions === undefined ? 'typeConfigs.renditionConfig.subViewDefinitions' : 'typeConfigs.renditionConfig.subViewDefinitions:' + element.renditionConfig?.subViewDefinitions) + '::' + (element.renditionConfig?.maxViewDepth === undefined ? 'typeConfigs.renditionConfig.maxViewDepth' : 'typeConfigs.renditionConfig.maxViewDepth:' + element.renditionConfig?.maxViewDepth) + '::' + (element.renditionConfig?.actionConfig === undefined ? 'typeConfigs.renditionConfig.actionConfig' : 'typeConfigs.renditionConfig.actionConfig:' + element.renditionConfig?.actionConfig) + '::' + (element.renditionConfig?.forceDefaultGeneration === undefined ? 'typeConfigs.renditionConfig.forceDefaultGeneration' : 'typeConfigs.renditionConfig.forceDefaultGeneration:' + element.renditionConfig?.forceDefaultGeneration) + '::' + (element.schemaConfig?.filterConfig?.propertyNames === undefined ? 'typeConfigs.schemaConfig.filterConfig.propertyNames' : 'typeConfigs.schemaConfig.filterConfig.propertyNames:' + element.schemaConfig?.filterConfig?.propertyNames) + '::' + (element.schemaConfig?.jsonType === undefined ? 'typeConfigs.schemaConfig.jsonType' : 'typeConfigs.schemaConfig.jsonType:' + element.schemaConfig?.jsonType) + '::' + stableJSONStringify(element.schemaConfig?.schemaJson) + '::' + (element.schemaConfig?.subSchemaDefinitions === undefined ? 'typeConfigs.schemaConfig.subSchemaDefinitions' : 'typeConfigs.schemaConfig.subSchemaDefinitions:' + element.schemaConfig?.subSchemaDefinitions) + '::' + (element.sourceDescriptor?.descriptor === undefined ? 'typeConfigs.sourceDescriptor.descriptor' : 'typeConfigs.sourceDescriptor.descriptor:' + element.sourceDescriptor?.descriptor) + '::' + (element.sourceDescriptor?.propertyName === undefined ? 'typeConfigs.sourceDescriptor.propertyName' : 'typeConfigs.sourceDescriptor.propertyName:' + element.sourceDescriptor?.propertyName)).join(',') + ']' + ')';
2188
+ return keyPrefix + '::ExperienceModelTypesCollectionRepresentation:(' + 'language:' + params.body.language + '::' + '[' + params.body.typeConfigs.map(element => 'typeConfigs.descriptor:' + element.descriptor + '::' + (element.designConfig?.target === undefined ? 'typeConfigs.designConfig.target' : 'typeConfigs.designConfig.target:' + element.designConfig?.target) + '::' + (element.designConfig?.subViewDefinitions === undefined ? 'typeConfigs.designConfig.subViewDefinitions' : 'typeConfigs.designConfig.subViewDefinitions:' + element.designConfig?.subViewDefinitions) + '::' + (element.designConfig?.maxViewDepth === undefined ? 'typeConfigs.designConfig.maxViewDepth' : 'typeConfigs.designConfig.maxViewDepth:' + element.designConfig?.maxViewDepth) + '::' + (element.designConfig?.actionConfig === undefined ? 'typeConfigs.designConfig.actionConfig' : 'typeConfigs.designConfig.actionConfig:' + element.designConfig?.actionConfig) + '::' + (element.designConfig?.forceDefaultGeneration === undefined ? 'typeConfigs.designConfig.forceDefaultGeneration' : 'typeConfigs.designConfig.forceDefaultGeneration:' + element.designConfig?.forceDefaultGeneration) + '::' + (element.renditionConfig?.target === undefined ? 'typeConfigs.renditionConfig.target' : 'typeConfigs.renditionConfig.target:' + element.renditionConfig?.target) + '::' + (element.renditionConfig?.subViewDefinitions === undefined ? 'typeConfigs.renditionConfig.subViewDefinitions' : 'typeConfigs.renditionConfig.subViewDefinitions:' + element.renditionConfig?.subViewDefinitions) + '::' + (element.renditionConfig?.maxViewDepth === undefined ? 'typeConfigs.renditionConfig.maxViewDepth' : 'typeConfigs.renditionConfig.maxViewDepth:' + element.renditionConfig?.maxViewDepth) + '::' + (element.renditionConfig?.actionConfig === undefined ? 'typeConfigs.renditionConfig.actionConfig' : 'typeConfigs.renditionConfig.actionConfig:' + element.renditionConfig?.actionConfig) + '::' + (element.renditionConfig?.forceDefaultGeneration === undefined ? 'typeConfigs.renditionConfig.forceDefaultGeneration' : 'typeConfigs.renditionConfig.forceDefaultGeneration:' + element.renditionConfig?.forceDefaultGeneration) + '::' + (element.schemaConfig?.filterConfig?.propertyNames === undefined ? 'typeConfigs.schemaConfig.filterConfig.propertyNames' : 'typeConfigs.schemaConfig.filterConfig.propertyNames:' + element.schemaConfig?.filterConfig?.propertyNames) + '::' + (element.schemaConfig?.type === undefined ? 'typeConfigs.schemaConfig.type' : 'typeConfigs.schemaConfig.type:' + element.schemaConfig?.type) + '::' + stableJSONStringify(element.schemaConfig?.schema) + '::' + (element.schemaConfig?.subSchemaDefinitions === undefined ? 'typeConfigs.schemaConfig.subSchemaDefinitions' : 'typeConfigs.schemaConfig.subSchemaDefinitions:' + element.schemaConfig?.subSchemaDefinitions) + '::' + (element.sourceDescriptor?.descriptor === undefined ? 'typeConfigs.sourceDescriptor.descriptor' : 'typeConfigs.sourceDescriptor.descriptor:' + element.sourceDescriptor?.descriptor) + '::' + (element.sourceDescriptor?.propertyName === undefined ? 'typeConfigs.sourceDescriptor.propertyName' : 'typeConfigs.sourceDescriptor.propertyName:' + element.sourceDescriptor?.propertyName)).join(',') + ']' + ')';
2189
2189
  }
2190
2190
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
2191
2191
  getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
@@ -2420,4 +2420,4 @@ withDefaultLuvio((luvio) => {
2420
2420
  });
2421
2421
 
2422
2422
  export { getBlockType, getBlockType_imperative, getBlockTypes, getBlockTypes_imperative, getContentType, getContentType_imperative, getContentTypes, getContentTypes_imperative, getPropertyType, getPropertyType_imperative, getPropertyTypes, getPropertyTypes_imperative, getTypes, getTypes_imperative };
2423
- // version: 1.428.0-dev4-42af22299b
2423
+ // version: 1.428.0-dev5-c6fe0903b6
package/src/raml/api.raml CHANGED
@@ -421,14 +421,14 @@ types:
421
421
  description: Filter configuration for schema
422
422
  type: ExperienceModelFilterConfigInputRepresentation
423
423
  required: false # TODO waiting on W-8253396
424
- jsonType:
424
+ type:
425
425
  description: Type of schema JSON being provided (INTERNAL USE ONLY)
426
426
  type: string
427
427
  required: false
428
428
  enum:
429
- - AgentScript
430
- - TypeSystemSchema
431
- schemaJson:
429
+ - AgentScriptJson
430
+ - TypeSchemaJson
431
+ schema:
432
432
  description: Raw schema JSON for transient type registration (INTERNAL USE ONLY)
433
433
  type: object
434
434
  required: false
@@ -56,8 +56,8 @@ types:
56
56
  "descriptor": "copilotActionOutput/exp_builder__backgroundImage",
57
57
  "schemaConfig": {
58
58
  "subSchemaDefinitions": true,
59
- "jsonType": "TypeSystemSchema",
60
- "schemaJson": {
59
+ "type": "TypeSchemaJson",
60
+ "schema": {
61
61
  "$schema": "https://example.com/schema"
62
62
  }
63
63
  },