@salesforce/lds-adapters-service-gis 1.396.0 → 1.397.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.
|
@@ -818,7 +818,7 @@ const getGisExternalAuthIdentityProvidersAdapterFactory = (luvio) => function gi
|
|
|
818
818
|
};
|
|
819
819
|
|
|
820
820
|
const TTL$3 = 300;
|
|
821
|
-
const VERSION$3 = "
|
|
821
|
+
const VERSION$3 = "c3ba522e2dd179ed04a7f417ce1602b2";
|
|
822
822
|
function validate$3(obj, path = 'GisExtlMapObjectConfigOutputRepresentation') {
|
|
823
823
|
const v_error = (() => {
|
|
824
824
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -826,8 +826,34 @@ function validate$3(obj, path = 'GisExtlMapObjectConfigOutputRepresentation') {
|
|
|
826
826
|
}
|
|
827
827
|
const obj_defaultMapId = obj.defaultMapId;
|
|
828
828
|
const path_defaultMapId = path + '.defaultMapId';
|
|
829
|
-
|
|
830
|
-
|
|
829
|
+
let obj_defaultMapId_union0 = null;
|
|
830
|
+
const obj_defaultMapId_union0_error = (() => {
|
|
831
|
+
if (typeof obj_defaultMapId !== 'string') {
|
|
832
|
+
return new TypeError('Expected "string" but received "' + typeof obj_defaultMapId + '" (at "' + path_defaultMapId + '")');
|
|
833
|
+
}
|
|
834
|
+
})();
|
|
835
|
+
if (obj_defaultMapId_union0_error != null) {
|
|
836
|
+
obj_defaultMapId_union0 = obj_defaultMapId_union0_error.message;
|
|
837
|
+
}
|
|
838
|
+
let obj_defaultMapId_union1 = null;
|
|
839
|
+
const obj_defaultMapId_union1_error = (() => {
|
|
840
|
+
if (obj_defaultMapId !== null) {
|
|
841
|
+
return new TypeError('Expected "null" but received "' + typeof obj_defaultMapId + '" (at "' + path_defaultMapId + '")');
|
|
842
|
+
}
|
|
843
|
+
})();
|
|
844
|
+
if (obj_defaultMapId_union1_error != null) {
|
|
845
|
+
obj_defaultMapId_union1 = obj_defaultMapId_union1_error.message;
|
|
846
|
+
}
|
|
847
|
+
if (obj_defaultMapId_union0 && obj_defaultMapId_union1) {
|
|
848
|
+
let message = 'Object doesn\'t match union (at "' + path_defaultMapId + '")';
|
|
849
|
+
message += '\n' + obj_defaultMapId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
850
|
+
message += '\n' + obj_defaultMapId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
851
|
+
return new TypeError(message);
|
|
852
|
+
}
|
|
853
|
+
const obj_developerName = obj.developerName;
|
|
854
|
+
const path_developerName = path + '.developerName';
|
|
855
|
+
if (typeof obj_developerName !== 'string') {
|
|
856
|
+
return new TypeError('Expected "string" but received "' + typeof obj_developerName + '" (at "' + path_developerName + '")');
|
|
831
857
|
}
|
|
832
858
|
const obj_id = obj.id;
|
|
833
859
|
const path_id = path + '.id';
|
|
@@ -860,6 +886,11 @@ function validate$3(obj, path = 'GisExtlMapObjectConfigOutputRepresentation') {
|
|
|
860
886
|
message += '\n' + obj_mapIdFieldName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
861
887
|
return new TypeError(message);
|
|
862
888
|
}
|
|
889
|
+
const obj_masterLabel = obj.masterLabel;
|
|
890
|
+
const path_masterLabel = path + '.masterLabel';
|
|
891
|
+
if (typeof obj_masterLabel !== 'string') {
|
|
892
|
+
return new TypeError('Expected "string" but received "' + typeof obj_masterLabel + '" (at "' + path_masterLabel + '")');
|
|
893
|
+
}
|
|
863
894
|
const obj_objectName = obj.objectName;
|
|
864
895
|
const path_objectName = path + '.objectName';
|
|
865
896
|
if (typeof obj_objectName !== 'string') {
|
|
@@ -917,6 +948,10 @@ const select$5 = function GisExtlMapObjectConfigOutputRepresentationSelect() {
|
|
|
917
948
|
name: 'defaultMapId',
|
|
918
949
|
kind: 'Scalar'
|
|
919
950
|
},
|
|
951
|
+
{
|
|
952
|
+
name: 'developerName',
|
|
953
|
+
kind: 'Scalar'
|
|
954
|
+
},
|
|
920
955
|
{
|
|
921
956
|
name: 'id',
|
|
922
957
|
kind: 'Scalar'
|
|
@@ -925,6 +960,10 @@ const select$5 = function GisExtlMapObjectConfigOutputRepresentationSelect() {
|
|
|
925
960
|
name: 'mapIdFieldName',
|
|
926
961
|
kind: 'Scalar'
|
|
927
962
|
},
|
|
963
|
+
{
|
|
964
|
+
name: 'masterLabel',
|
|
965
|
+
kind: 'Scalar'
|
|
966
|
+
},
|
|
928
967
|
{
|
|
929
968
|
name: 'objectName',
|
|
930
969
|
kind: 'Scalar'
|
|
@@ -937,9 +976,9 @@ const select$5 = function GisExtlMapObjectConfigOutputRepresentationSelect() {
|
|
|
937
976
|
};
|
|
938
977
|
};
|
|
939
978
|
function equals$3(existing, incoming) {
|
|
940
|
-
const
|
|
941
|
-
const
|
|
942
|
-
if (!(
|
|
979
|
+
const existing_developerName = existing.developerName;
|
|
980
|
+
const incoming_developerName = incoming.developerName;
|
|
981
|
+
if (!(existing_developerName === incoming_developerName)) {
|
|
943
982
|
return false;
|
|
944
983
|
}
|
|
945
984
|
const existing_id = existing.id;
|
|
@@ -947,11 +986,21 @@ function equals$3(existing, incoming) {
|
|
|
947
986
|
if (!(existing_id === incoming_id)) {
|
|
948
987
|
return false;
|
|
949
988
|
}
|
|
989
|
+
const existing_masterLabel = existing.masterLabel;
|
|
990
|
+
const incoming_masterLabel = incoming.masterLabel;
|
|
991
|
+
if (!(existing_masterLabel === incoming_masterLabel)) {
|
|
992
|
+
return false;
|
|
993
|
+
}
|
|
950
994
|
const existing_objectName = existing.objectName;
|
|
951
995
|
const incoming_objectName = incoming.objectName;
|
|
952
996
|
if (!(existing_objectName === incoming_objectName)) {
|
|
953
997
|
return false;
|
|
954
998
|
}
|
|
999
|
+
const existing_defaultMapId = existing.defaultMapId;
|
|
1000
|
+
const incoming_defaultMapId = incoming.defaultMapId;
|
|
1001
|
+
if (!(existing_defaultMapId === incoming_defaultMapId)) {
|
|
1002
|
+
return false;
|
|
1003
|
+
}
|
|
955
1004
|
const existing_mapIdFieldName = existing.mapIdFieldName;
|
|
956
1005
|
const incoming_mapIdFieldName = incoming.mapIdFieldName;
|
|
957
1006
|
if (!(existing_mapIdFieldName === incoming_mapIdFieldName)) {
|
package/dist/es/es2018/types/src/generated/types/GisExtlMapObjectConfigOutputRepresentation.d.ts
CHANGED
|
@@ -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 = "
|
|
3
|
+
export declare const VERSION = "c3ba522e2dd179ed04a7f417ce1602b2";
|
|
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 {
|
|
@@ -25,11 +25,15 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
25
25
|
*/
|
|
26
26
|
export interface GisExtlMapObjectConfigOutputRepresentationNormalized {
|
|
27
27
|
/** Default map ID for the object */
|
|
28
|
-
defaultMapId: string;
|
|
28
|
+
defaultMapId: string | null;
|
|
29
|
+
/** Developer Name */
|
|
30
|
+
developerName: string;
|
|
29
31
|
/** Entity ID */
|
|
30
32
|
id: string;
|
|
31
33
|
/** Field name for the map ID */
|
|
32
34
|
mapIdFieldName: string | null;
|
|
35
|
+
/** Master Label represents the Map name */
|
|
36
|
+
masterLabel: string;
|
|
33
37
|
/** Name of the object (e.g., "WorkOrder") */
|
|
34
38
|
objectName: string;
|
|
35
39
|
/** Type of the record (e.g., "All") */
|
|
@@ -42,9 +46,11 @@ export interface GisExtlMapObjectConfigOutputRepresentationNormalized {
|
|
|
42
46
|
* id (string): id
|
|
43
47
|
*/
|
|
44
48
|
export interface GisExtlMapObjectConfigOutputRepresentation {
|
|
45
|
-
defaultMapId: string;
|
|
49
|
+
defaultMapId: string | null;
|
|
50
|
+
developerName: string;
|
|
46
51
|
id: string;
|
|
47
52
|
mapIdFieldName: string | null;
|
|
53
|
+
masterLabel: string;
|
|
48
54
|
objectName: string;
|
|
49
55
|
recordType: string | null;
|
|
50
56
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-service-gis",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.397.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.
|
|
45
|
+
"@salesforce/lds-bindings": "^1.397.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
48
|
+
"@salesforce/lds-compiler-plugins": "^1.397.0"
|
|
49
49
|
},
|
|
50
50
|
"nx": {
|
|
51
51
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -828,7 +828,7 @@ const getGisExternalAuthIdentityProvidersAdapterFactory = (luvio) => function gi
|
|
|
828
828
|
};
|
|
829
829
|
|
|
830
830
|
const TTL$3 = 300;
|
|
831
|
-
const VERSION$3 = "
|
|
831
|
+
const VERSION$3 = "c3ba522e2dd179ed04a7f417ce1602b2";
|
|
832
832
|
function validate$3(obj, path = 'GisExtlMapObjectConfigOutputRepresentation') {
|
|
833
833
|
const v_error = (() => {
|
|
834
834
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -836,8 +836,34 @@ function validate$3(obj, path = 'GisExtlMapObjectConfigOutputRepresentation') {
|
|
|
836
836
|
}
|
|
837
837
|
const obj_defaultMapId = obj.defaultMapId;
|
|
838
838
|
const path_defaultMapId = path + '.defaultMapId';
|
|
839
|
-
|
|
840
|
-
|
|
839
|
+
let obj_defaultMapId_union0 = null;
|
|
840
|
+
const obj_defaultMapId_union0_error = (() => {
|
|
841
|
+
if (typeof obj_defaultMapId !== 'string') {
|
|
842
|
+
return new TypeError('Expected "string" but received "' + typeof obj_defaultMapId + '" (at "' + path_defaultMapId + '")');
|
|
843
|
+
}
|
|
844
|
+
})();
|
|
845
|
+
if (obj_defaultMapId_union0_error != null) {
|
|
846
|
+
obj_defaultMapId_union0 = obj_defaultMapId_union0_error.message;
|
|
847
|
+
}
|
|
848
|
+
let obj_defaultMapId_union1 = null;
|
|
849
|
+
const obj_defaultMapId_union1_error = (() => {
|
|
850
|
+
if (obj_defaultMapId !== null) {
|
|
851
|
+
return new TypeError('Expected "null" but received "' + typeof obj_defaultMapId + '" (at "' + path_defaultMapId + '")');
|
|
852
|
+
}
|
|
853
|
+
})();
|
|
854
|
+
if (obj_defaultMapId_union1_error != null) {
|
|
855
|
+
obj_defaultMapId_union1 = obj_defaultMapId_union1_error.message;
|
|
856
|
+
}
|
|
857
|
+
if (obj_defaultMapId_union0 && obj_defaultMapId_union1) {
|
|
858
|
+
let message = 'Object doesn\'t match union (at "' + path_defaultMapId + '")';
|
|
859
|
+
message += '\n' + obj_defaultMapId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
860
|
+
message += '\n' + obj_defaultMapId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
861
|
+
return new TypeError(message);
|
|
862
|
+
}
|
|
863
|
+
const obj_developerName = obj.developerName;
|
|
864
|
+
const path_developerName = path + '.developerName';
|
|
865
|
+
if (typeof obj_developerName !== 'string') {
|
|
866
|
+
return new TypeError('Expected "string" but received "' + typeof obj_developerName + '" (at "' + path_developerName + '")');
|
|
841
867
|
}
|
|
842
868
|
const obj_id = obj.id;
|
|
843
869
|
const path_id = path + '.id';
|
|
@@ -870,6 +896,11 @@ function validate$3(obj, path = 'GisExtlMapObjectConfigOutputRepresentation') {
|
|
|
870
896
|
message += '\n' + obj_mapIdFieldName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
871
897
|
return new TypeError(message);
|
|
872
898
|
}
|
|
899
|
+
const obj_masterLabel = obj.masterLabel;
|
|
900
|
+
const path_masterLabel = path + '.masterLabel';
|
|
901
|
+
if (typeof obj_masterLabel !== 'string') {
|
|
902
|
+
return new TypeError('Expected "string" but received "' + typeof obj_masterLabel + '" (at "' + path_masterLabel + '")');
|
|
903
|
+
}
|
|
873
904
|
const obj_objectName = obj.objectName;
|
|
874
905
|
const path_objectName = path + '.objectName';
|
|
875
906
|
if (typeof obj_objectName !== 'string') {
|
|
@@ -927,6 +958,10 @@ const select$5 = function GisExtlMapObjectConfigOutputRepresentationSelect() {
|
|
|
927
958
|
name: 'defaultMapId',
|
|
928
959
|
kind: 'Scalar'
|
|
929
960
|
},
|
|
961
|
+
{
|
|
962
|
+
name: 'developerName',
|
|
963
|
+
kind: 'Scalar'
|
|
964
|
+
},
|
|
930
965
|
{
|
|
931
966
|
name: 'id',
|
|
932
967
|
kind: 'Scalar'
|
|
@@ -935,6 +970,10 @@ const select$5 = function GisExtlMapObjectConfigOutputRepresentationSelect() {
|
|
|
935
970
|
name: 'mapIdFieldName',
|
|
936
971
|
kind: 'Scalar'
|
|
937
972
|
},
|
|
973
|
+
{
|
|
974
|
+
name: 'masterLabel',
|
|
975
|
+
kind: 'Scalar'
|
|
976
|
+
},
|
|
938
977
|
{
|
|
939
978
|
name: 'objectName',
|
|
940
979
|
kind: 'Scalar'
|
|
@@ -947,9 +986,9 @@ const select$5 = function GisExtlMapObjectConfigOutputRepresentationSelect() {
|
|
|
947
986
|
};
|
|
948
987
|
};
|
|
949
988
|
function equals$3(existing, incoming) {
|
|
950
|
-
const
|
|
951
|
-
const
|
|
952
|
-
if (!(
|
|
989
|
+
const existing_developerName = existing.developerName;
|
|
990
|
+
const incoming_developerName = incoming.developerName;
|
|
991
|
+
if (!(existing_developerName === incoming_developerName)) {
|
|
953
992
|
return false;
|
|
954
993
|
}
|
|
955
994
|
const existing_id = existing.id;
|
|
@@ -957,11 +996,21 @@ function equals$3(existing, incoming) {
|
|
|
957
996
|
if (!(existing_id === incoming_id)) {
|
|
958
997
|
return false;
|
|
959
998
|
}
|
|
999
|
+
const existing_masterLabel = existing.masterLabel;
|
|
1000
|
+
const incoming_masterLabel = incoming.masterLabel;
|
|
1001
|
+
if (!(existing_masterLabel === incoming_masterLabel)) {
|
|
1002
|
+
return false;
|
|
1003
|
+
}
|
|
960
1004
|
const existing_objectName = existing.objectName;
|
|
961
1005
|
const incoming_objectName = incoming.objectName;
|
|
962
1006
|
if (!(existing_objectName === incoming_objectName)) {
|
|
963
1007
|
return false;
|
|
964
1008
|
}
|
|
1009
|
+
const existing_defaultMapId = existing.defaultMapId;
|
|
1010
|
+
const incoming_defaultMapId = incoming.defaultMapId;
|
|
1011
|
+
if (!(existing_defaultMapId === incoming_defaultMapId)) {
|
|
1012
|
+
return false;
|
|
1013
|
+
}
|
|
965
1014
|
const existing_mapIdFieldName = existing.mapIdFieldName;
|
|
966
1015
|
const incoming_mapIdFieldName = incoming.mapIdFieldName;
|
|
967
1016
|
if (!(existing_mapIdFieldName === incoming_mapIdFieldName)) {
|
|
@@ -1747,4 +1796,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1747
1796
|
});
|
|
1748
1797
|
|
|
1749
1798
|
export { createGisExternalAuthIdentityProvider, getGisExternalAuthAccessToken, getGisExternalAuthAccessToken_imperative, getGisExternalAuthIdentityProviders, getGisExternalAuthIdentityProviders_imperative, getGisExtlMapObjectConfig, getGisExtlMapObjectConfig_imperative, getGisRelatedObjectConfig, getGisRelatedObjectConfig_imperative };
|
|
1750
|
-
// version: 1.
|
|
1799
|
+
// version: 1.397.0-006831ea37
|
package/src/raml/api.raml
CHANGED
|
@@ -124,9 +124,15 @@ types:
|
|
|
124
124
|
description: Output representation for GIS External Map Object Configuration
|
|
125
125
|
type: object
|
|
126
126
|
properties:
|
|
127
|
+
developerName:
|
|
128
|
+
description: Developer Name
|
|
129
|
+
type: string
|
|
130
|
+
masterLabel:
|
|
131
|
+
description: Master Label represents the Map name
|
|
132
|
+
type: string
|
|
127
133
|
defaultMapId:
|
|
128
134
|
description: Default map ID for the object
|
|
129
|
-
type: string
|
|
135
|
+
type: string | nil
|
|
130
136
|
id:
|
|
131
137
|
description: Entity ID
|
|
132
138
|
type: string
|