@salesforce/lds-adapters-service-gis 1.372.1 → 1.374.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.
@@ -1236,7 +1236,7 @@ const getGisExtlMapObjectConfigAdapterFactory = (luvio) => function gis__getGisE
1236
1236
  };
1237
1237
 
1238
1238
  const TTL$1 = 300;
1239
- const VERSION$1 = "7313d898b396963c9d42c06b6f84abd7";
1239
+ const VERSION$1 = "4364518b3ecb57ed83bbbb4fd5adbe6a";
1240
1240
  function validate$1(obj, path = 'GisRelatedObjectConfigOutputRepresentation') {
1241
1241
  const v_error = (() => {
1242
1242
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1277,6 +1277,11 @@ function validate$1(obj, path = 'GisRelatedObjectConfigOutputRepresentation') {
1277
1277
  if (typeof obj_recordType !== 'string') {
1278
1278
  return new TypeError('Expected "string" but received "' + typeof obj_recordType + '" (at "' + path_recordType + '")');
1279
1279
  }
1280
+ const obj_recordTypeId = obj.recordTypeId;
1281
+ const path_recordTypeId = path + '.recordTypeId';
1282
+ if (typeof obj_recordTypeId !== 'string') {
1283
+ return new TypeError('Expected "string" but received "' + typeof obj_recordTypeId + '" (at "' + path_recordTypeId + '")');
1284
+ }
1280
1285
  const obj_referenceObjectName = obj.referenceObjectName;
1281
1286
  const path_referenceObjectName = path + '.referenceObjectName';
1282
1287
  if (typeof obj_referenceObjectName !== 'string') {
@@ -1332,6 +1337,10 @@ const select$2 = function GisRelatedObjectConfigOutputRepresentationSelect() {
1332
1337
  name: 'recordType',
1333
1338
  kind: 'Scalar'
1334
1339
  },
1340
+ {
1341
+ name: 'recordTypeId',
1342
+ kind: 'Scalar'
1343
+ },
1335
1344
  {
1336
1345
  name: 'referenceObjectName',
1337
1346
  kind: 'Scalar'
@@ -1375,6 +1384,11 @@ function equals$1(existing, incoming) {
1375
1384
  if (!(existing_recordType === incoming_recordType)) {
1376
1385
  return false;
1377
1386
  }
1387
+ const existing_recordTypeId = existing.recordTypeId;
1388
+ const incoming_recordTypeId = incoming.recordTypeId;
1389
+ if (!(existing_recordTypeId === incoming_recordTypeId)) {
1390
+ return false;
1391
+ }
1378
1392
  const existing_referenceObjectName = existing.referenceObjectName;
1379
1393
  const incoming_referenceObjectName = incoming.referenceObjectName;
1380
1394
  if (!(existing_referenceObjectName === incoming_referenceObjectName)) {
@@ -1,6 +1,6 @@
1
1
  import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
2
  export declare const TTL = 300;
3
- export declare const VERSION = "7313d898b396963c9d42c06b6f84abd7";
3
+ export declare const VERSION = "4364518b3ecb57ed83bbbb4fd5adbe6a";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -38,6 +38,8 @@ export interface GisRelatedObjectConfigOutputRepresentationNormalized {
38
38
  objectName: string;
39
39
  /** Record type for the map object configuration */
40
40
  recordType: string;
41
+ /** Record type ID for the map object configuration */
42
+ recordTypeId: string;
41
43
  /** Reference object name for location data */
42
44
  referenceObjectName: string;
43
45
  }
@@ -55,5 +57,6 @@ export interface GisRelatedObjectConfigOutputRepresentation {
55
57
  id: string;
56
58
  objectName: string;
57
59
  recordType: string;
60
+ recordTypeId: string;
58
61
  referenceObjectName: string;
59
62
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-service-gis",
3
- "version": "1.372.1",
3
+ "version": "1.374.0",
4
4
  "description": "serves gis service",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/service-gis.js",
@@ -42,10 +42,10 @@
42
42
  "test:unit": "jest"
43
43
  },
44
44
  "dependencies": {
45
- "@salesforce/lds-bindings": "^1.372.1"
45
+ "@salesforce/lds-bindings": "^1.374.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@salesforce/lds-compiler-plugins": "^1.372.1"
48
+ "@salesforce/lds-compiler-plugins": "^1.374.0"
49
49
  },
50
50
  "nx": {
51
51
  "targets": {
package/sfdc/index.js CHANGED
@@ -1246,7 +1246,7 @@ const getGisExtlMapObjectConfigAdapterFactory = (luvio) => function gis__getGisE
1246
1246
  };
1247
1247
 
1248
1248
  const TTL$1 = 300;
1249
- const VERSION$1 = "7313d898b396963c9d42c06b6f84abd7";
1249
+ const VERSION$1 = "4364518b3ecb57ed83bbbb4fd5adbe6a";
1250
1250
  function validate$1(obj, path = 'GisRelatedObjectConfigOutputRepresentation') {
1251
1251
  const v_error = (() => {
1252
1252
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1287,6 +1287,11 @@ function validate$1(obj, path = 'GisRelatedObjectConfigOutputRepresentation') {
1287
1287
  if (typeof obj_recordType !== 'string') {
1288
1288
  return new TypeError('Expected "string" but received "' + typeof obj_recordType + '" (at "' + path_recordType + '")');
1289
1289
  }
1290
+ const obj_recordTypeId = obj.recordTypeId;
1291
+ const path_recordTypeId = path + '.recordTypeId';
1292
+ if (typeof obj_recordTypeId !== 'string') {
1293
+ return new TypeError('Expected "string" but received "' + typeof obj_recordTypeId + '" (at "' + path_recordTypeId + '")');
1294
+ }
1290
1295
  const obj_referenceObjectName = obj.referenceObjectName;
1291
1296
  const path_referenceObjectName = path + '.referenceObjectName';
1292
1297
  if (typeof obj_referenceObjectName !== 'string') {
@@ -1342,6 +1347,10 @@ const select$2 = function GisRelatedObjectConfigOutputRepresentationSelect() {
1342
1347
  name: 'recordType',
1343
1348
  kind: 'Scalar'
1344
1349
  },
1350
+ {
1351
+ name: 'recordTypeId',
1352
+ kind: 'Scalar'
1353
+ },
1345
1354
  {
1346
1355
  name: 'referenceObjectName',
1347
1356
  kind: 'Scalar'
@@ -1385,6 +1394,11 @@ function equals$1(existing, incoming) {
1385
1394
  if (!(existing_recordType === incoming_recordType)) {
1386
1395
  return false;
1387
1396
  }
1397
+ const existing_recordTypeId = existing.recordTypeId;
1398
+ const incoming_recordTypeId = incoming.recordTypeId;
1399
+ if (!(existing_recordTypeId === incoming_recordTypeId)) {
1400
+ return false;
1401
+ }
1388
1402
  const existing_referenceObjectName = existing.referenceObjectName;
1389
1403
  const incoming_referenceObjectName = incoming.referenceObjectName;
1390
1404
  if (!(existing_referenceObjectName === incoming_referenceObjectName)) {
@@ -1733,4 +1747,4 @@ withDefaultLuvio((luvio) => {
1733
1747
  });
1734
1748
 
1735
1749
  export { createGisExternalAuthIdentityProvider, getGisExternalAuthAccessToken, getGisExternalAuthAccessToken_imperative, getGisExternalAuthIdentityProviders, getGisExternalAuthIdentityProviders_imperative, getGisExtlMapObjectConfig, getGisExtlMapObjectConfig_imperative, getGisRelatedObjectConfig, getGisRelatedObjectConfig_imperative };
1736
- // version: 1.372.1-8824ae9dd4
1750
+ // version: 1.374.0-263fb4e123
package/src/raml/api.raml CHANGED
@@ -173,6 +173,9 @@ types:
173
173
  objectName:
174
174
  description: Name of the object to be configured
175
175
  type: string
176
+ recordTypeId:
177
+ description: Record type ID for the map object configuration
178
+ type: string
176
179
  recordType:
177
180
  description: Record type for the map object configuration
178
181
  type: string