@salesforce/lds-adapters-uiapi 1.147.1 → 1.147.3
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ListScopeEntityRepresentation as ListScopeEntityRepresentation_ListScopeEntityRepresentation } from './ListScopeEntityRepresentation';
|
|
2
2
|
import { ListScopeRelatedEntityRepresentation as ListScopeRelatedEntityRepresentation_ListScopeRelatedEntityRepresentation } from './ListScopeRelatedEntityRepresentation';
|
|
3
3
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "a51de242c746e5500a833e84dfaa2170";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export declare function normalize(input: ListScopeRepresentation, existing: ListScopeRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ListScopeRepresentationNormalized;
|
|
@@ -19,11 +19,11 @@ export interface ListScopeRepresentationNormalized {
|
|
|
19
19
|
/** API name for the scope. */
|
|
20
20
|
apiName: string;
|
|
21
21
|
/** Entity for the scope. */
|
|
22
|
-
entity: ListScopeEntityRepresentation_ListScopeEntityRepresentation;
|
|
22
|
+
entity: ListScopeEntityRepresentation_ListScopeEntityRepresentation | null;
|
|
23
23
|
/** Label for the scope. */
|
|
24
24
|
label: string;
|
|
25
25
|
/** Related entity for the scope. */
|
|
26
|
-
relatedEntity: ListScopeRelatedEntityRepresentation_ListScopeRelatedEntityRepresentation;
|
|
26
|
+
relatedEntity: ListScopeRelatedEntityRepresentation_ListScopeRelatedEntityRepresentation | null;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* ListScopeRepresentation
|
|
@@ -33,7 +33,7 @@ export interface ListScopeRepresentationNormalized {
|
|
|
33
33
|
*/
|
|
34
34
|
export interface ListScopeRepresentation {
|
|
35
35
|
apiName: string;
|
|
36
|
-
entity: ListScopeEntityRepresentation_ListScopeEntityRepresentation;
|
|
36
|
+
entity: ListScopeEntityRepresentation_ListScopeEntityRepresentation | null;
|
|
37
37
|
label: string;
|
|
38
|
-
relatedEntity: ListScopeRelatedEntityRepresentation_ListScopeRelatedEntityRepresentation;
|
|
38
|
+
relatedEntity: ListScopeRelatedEntityRepresentation_ListScopeRelatedEntityRepresentation | null;
|
|
39
39
|
}
|
|
@@ -787,7 +787,7 @@ const select$2P = function ListScopeRelatedEntityRepresentationSelect() {
|
|
|
787
787
|
};
|
|
788
788
|
};
|
|
789
789
|
|
|
790
|
-
const VERSION$2i = "
|
|
790
|
+
const VERSION$2i = "a51de242c746e5500a833e84dfaa2170";
|
|
791
791
|
function validate$1B(obj, path = 'ListScopeRepresentation') {
|
|
792
792
|
const v_error = (() => {
|
|
793
793
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -800,10 +800,31 @@ function validate$1B(obj, path = 'ListScopeRepresentation') {
|
|
|
800
800
|
}
|
|
801
801
|
const obj_entity = obj.entity;
|
|
802
802
|
const path_entity = path + '.entity';
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
803
|
+
let obj_entity_union0 = null;
|
|
804
|
+
const obj_entity_union0_error = (() => {
|
|
805
|
+
const referencepath_entityValidationError = validate$1D(obj_entity, path_entity);
|
|
806
|
+
if (referencepath_entityValidationError !== null) {
|
|
807
|
+
let message = 'Object doesn\'t match ListScopeEntityRepresentation (at "' + path_entity + '")\n';
|
|
808
|
+
message += referencepath_entityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
809
|
+
return new TypeError(message);
|
|
810
|
+
}
|
|
811
|
+
})();
|
|
812
|
+
if (obj_entity_union0_error != null) {
|
|
813
|
+
obj_entity_union0 = obj_entity_union0_error.message;
|
|
814
|
+
}
|
|
815
|
+
let obj_entity_union1 = null;
|
|
816
|
+
const obj_entity_union1_error = (() => {
|
|
817
|
+
if (obj_entity !== null) {
|
|
818
|
+
return new TypeError('Expected "null" but received "' + typeof obj_entity + '" (at "' + path_entity + '")');
|
|
819
|
+
}
|
|
820
|
+
})();
|
|
821
|
+
if (obj_entity_union1_error != null) {
|
|
822
|
+
obj_entity_union1 = obj_entity_union1_error.message;
|
|
823
|
+
}
|
|
824
|
+
if (obj_entity_union0 && obj_entity_union1) {
|
|
825
|
+
let message = 'Object doesn\'t match union (at "' + path_entity + '")';
|
|
826
|
+
message += '\n' + obj_entity_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
827
|
+
message += '\n' + obj_entity_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
807
828
|
return new TypeError(message);
|
|
808
829
|
}
|
|
809
830
|
const obj_label = obj.label;
|
|
@@ -813,10 +834,31 @@ function validate$1B(obj, path = 'ListScopeRepresentation') {
|
|
|
813
834
|
}
|
|
814
835
|
const obj_relatedEntity = obj.relatedEntity;
|
|
815
836
|
const path_relatedEntity = path + '.relatedEntity';
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
837
|
+
let obj_relatedEntity_union0 = null;
|
|
838
|
+
const obj_relatedEntity_union0_error = (() => {
|
|
839
|
+
const referencepath_relatedEntityValidationError = validate$1C(obj_relatedEntity, path_relatedEntity);
|
|
840
|
+
if (referencepath_relatedEntityValidationError !== null) {
|
|
841
|
+
let message = 'Object doesn\'t match ListScopeRelatedEntityRepresentation (at "' + path_relatedEntity + '")\n';
|
|
842
|
+
message += referencepath_relatedEntityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
843
|
+
return new TypeError(message);
|
|
844
|
+
}
|
|
845
|
+
})();
|
|
846
|
+
if (obj_relatedEntity_union0_error != null) {
|
|
847
|
+
obj_relatedEntity_union0 = obj_relatedEntity_union0_error.message;
|
|
848
|
+
}
|
|
849
|
+
let obj_relatedEntity_union1 = null;
|
|
850
|
+
const obj_relatedEntity_union1_error = (() => {
|
|
851
|
+
if (obj_relatedEntity !== null) {
|
|
852
|
+
return new TypeError('Expected "null" but received "' + typeof obj_relatedEntity + '" (at "' + path_relatedEntity + '")');
|
|
853
|
+
}
|
|
854
|
+
})();
|
|
855
|
+
if (obj_relatedEntity_union1_error != null) {
|
|
856
|
+
obj_relatedEntity_union1 = obj_relatedEntity_union1_error.message;
|
|
857
|
+
}
|
|
858
|
+
if (obj_relatedEntity_union0 && obj_relatedEntity_union1) {
|
|
859
|
+
let message = 'Object doesn\'t match union (at "' + path_relatedEntity + '")';
|
|
860
|
+
message += '\n' + obj_relatedEntity_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
861
|
+
message += '\n' + obj_relatedEntity_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
820
862
|
return new TypeError(message);
|
|
821
863
|
}
|
|
822
864
|
})();
|
|
@@ -837,6 +879,7 @@ const select$2O = function ListScopeRepresentationSelect() {
|
|
|
837
879
|
{
|
|
838
880
|
name: 'entity',
|
|
839
881
|
kind: 'Object',
|
|
882
|
+
nullable: true,
|
|
840
883
|
selections: ListScopeEntityRepresentation__selections
|
|
841
884
|
},
|
|
842
885
|
{
|
|
@@ -846,6 +889,7 @@ const select$2O = function ListScopeRepresentationSelect() {
|
|
|
846
889
|
{
|
|
847
890
|
name: 'relatedEntity',
|
|
848
891
|
kind: 'Object',
|
|
892
|
+
nullable: true,
|
|
849
893
|
selections: ListScopeRelatedEntityRepresentation__selections
|
|
850
894
|
}
|
|
851
895
|
]
|
package/package.json
CHANGED
package/sfdc/graphqlAdapters.js
CHANGED
|
@@ -20811,4 +20811,4 @@ register({
|
|
|
20811
20811
|
});
|
|
20812
20812
|
|
|
20813
20813
|
export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_imperative };
|
|
20814
|
-
// version: 1.147.
|
|
20814
|
+
// version: 1.147.3-7875ca9bf
|
package/sfdc/index.js
CHANGED
|
@@ -835,7 +835,7 @@ const select$1F = function ListScopeRelatedEntityRepresentationSelect() {
|
|
|
835
835
|
};
|
|
836
836
|
};
|
|
837
837
|
|
|
838
|
-
const VERSION$1a = "
|
|
838
|
+
const VERSION$1a = "a51de242c746e5500a833e84dfaa2170";
|
|
839
839
|
function validate$1x(obj, path = 'ListScopeRepresentation') {
|
|
840
840
|
const v_error = (() => {
|
|
841
841
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -848,10 +848,31 @@ function validate$1x(obj, path = 'ListScopeRepresentation') {
|
|
|
848
848
|
}
|
|
849
849
|
const obj_entity = obj.entity;
|
|
850
850
|
const path_entity = path + '.entity';
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
851
|
+
let obj_entity_union0 = null;
|
|
852
|
+
const obj_entity_union0_error = (() => {
|
|
853
|
+
const referencepath_entityValidationError = validate$1z(obj_entity, path_entity);
|
|
854
|
+
if (referencepath_entityValidationError !== null) {
|
|
855
|
+
let message = 'Object doesn\'t match ListScopeEntityRepresentation (at "' + path_entity + '")\n';
|
|
856
|
+
message += referencepath_entityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
857
|
+
return new TypeError(message);
|
|
858
|
+
}
|
|
859
|
+
})();
|
|
860
|
+
if (obj_entity_union0_error != null) {
|
|
861
|
+
obj_entity_union0 = obj_entity_union0_error.message;
|
|
862
|
+
}
|
|
863
|
+
let obj_entity_union1 = null;
|
|
864
|
+
const obj_entity_union1_error = (() => {
|
|
865
|
+
if (obj_entity !== null) {
|
|
866
|
+
return new TypeError('Expected "null" but received "' + typeof obj_entity + '" (at "' + path_entity + '")');
|
|
867
|
+
}
|
|
868
|
+
})();
|
|
869
|
+
if (obj_entity_union1_error != null) {
|
|
870
|
+
obj_entity_union1 = obj_entity_union1_error.message;
|
|
871
|
+
}
|
|
872
|
+
if (obj_entity_union0 && obj_entity_union1) {
|
|
873
|
+
let message = 'Object doesn\'t match union (at "' + path_entity + '")';
|
|
874
|
+
message += '\n' + obj_entity_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
875
|
+
message += '\n' + obj_entity_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
855
876
|
return new TypeError(message);
|
|
856
877
|
}
|
|
857
878
|
const obj_label = obj.label;
|
|
@@ -861,10 +882,31 @@ function validate$1x(obj, path = 'ListScopeRepresentation') {
|
|
|
861
882
|
}
|
|
862
883
|
const obj_relatedEntity = obj.relatedEntity;
|
|
863
884
|
const path_relatedEntity = path + '.relatedEntity';
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
885
|
+
let obj_relatedEntity_union0 = null;
|
|
886
|
+
const obj_relatedEntity_union0_error = (() => {
|
|
887
|
+
const referencepath_relatedEntityValidationError = validate$1y(obj_relatedEntity, path_relatedEntity);
|
|
888
|
+
if (referencepath_relatedEntityValidationError !== null) {
|
|
889
|
+
let message = 'Object doesn\'t match ListScopeRelatedEntityRepresentation (at "' + path_relatedEntity + '")\n';
|
|
890
|
+
message += referencepath_relatedEntityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
891
|
+
return new TypeError(message);
|
|
892
|
+
}
|
|
893
|
+
})();
|
|
894
|
+
if (obj_relatedEntity_union0_error != null) {
|
|
895
|
+
obj_relatedEntity_union0 = obj_relatedEntity_union0_error.message;
|
|
896
|
+
}
|
|
897
|
+
let obj_relatedEntity_union1 = null;
|
|
898
|
+
const obj_relatedEntity_union1_error = (() => {
|
|
899
|
+
if (obj_relatedEntity !== null) {
|
|
900
|
+
return new TypeError('Expected "null" but received "' + typeof obj_relatedEntity + '" (at "' + path_relatedEntity + '")');
|
|
901
|
+
}
|
|
902
|
+
})();
|
|
903
|
+
if (obj_relatedEntity_union1_error != null) {
|
|
904
|
+
obj_relatedEntity_union1 = obj_relatedEntity_union1_error.message;
|
|
905
|
+
}
|
|
906
|
+
if (obj_relatedEntity_union0 && obj_relatedEntity_union1) {
|
|
907
|
+
let message = 'Object doesn\'t match union (at "' + path_relatedEntity + '")';
|
|
908
|
+
message += '\n' + obj_relatedEntity_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
909
|
+
message += '\n' + obj_relatedEntity_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
868
910
|
return new TypeError(message);
|
|
869
911
|
}
|
|
870
912
|
})();
|
|
@@ -885,6 +927,7 @@ const select$1E = function ListScopeRepresentationSelect() {
|
|
|
885
927
|
{
|
|
886
928
|
name: 'entity',
|
|
887
929
|
kind: 'Object',
|
|
930
|
+
nullable: true,
|
|
888
931
|
selections: ListScopeEntityRepresentation__selections
|
|
889
932
|
},
|
|
890
933
|
{
|
|
@@ -894,6 +937,7 @@ const select$1E = function ListScopeRepresentationSelect() {
|
|
|
894
937
|
{
|
|
895
938
|
name: 'relatedEntity',
|
|
896
939
|
kind: 'Object',
|
|
940
|
+
nullable: true,
|
|
897
941
|
selections: ListScopeRelatedEntityRepresentation__selections
|
|
898
942
|
}
|
|
899
943
|
]
|
|
@@ -35760,4 +35804,4 @@ withDefaultLuvio((luvio) => {
|
|
|
35760
35804
|
});
|
|
35761
35805
|
|
|
35762
35806
|
export { InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$I as ObjectInfoRepresentationType, RepresentationType$N as RecordRepresentationRepresentationType, TTL$v as RecordRepresentationTTL, RepresentationType$N as RecordRepresentationType, VERSION$14 as RecordRepresentationVersion, keyPrefix as UiApiNamespace, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createRecord, deleteRecord, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListRecordsByName, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActions_imperative, factory$e as getRecordAdapterFactory, getRecordAvatars, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecords_imperative, getRelatedListActions, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsBatch, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$P as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$B as ingestObjectInfo, ingest$x as ingestQuickActionExecutionRepresentation, ingest$G as ingestRecord, instrument, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$x as keyBuilderFromTypeRecordRepresentation, keyBuilder$1F as keyBuilderObjectInfo, keyBuilder$1z as keyBuilderQuickActionExecutionRepresentation, keyBuilder$1Q as keyBuilderRecord, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, updateLayoutUserState, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
35763
|
-
// version: 1.147.
|
|
35807
|
+
// version: 1.147.3-7875ca9bf
|
package/src/raml/api.raml
CHANGED
|
@@ -1453,13 +1453,13 @@ types:
|
|
|
1453
1453
|
type: string
|
|
1454
1454
|
entity:
|
|
1455
1455
|
description: Entity for the scope.
|
|
1456
|
-
type: ListScopeEntityRepresentation
|
|
1456
|
+
type: ListScopeEntityRepresentation | nil
|
|
1457
1457
|
label:
|
|
1458
1458
|
description: Label for the scope.
|
|
1459
1459
|
type: string
|
|
1460
1460
|
relatedEntity:
|
|
1461
1461
|
description: Related entity for the scope.
|
|
1462
|
-
type: ListScopeRelatedEntityRepresentation
|
|
1462
|
+
type: ListScopeRelatedEntityRepresentation | nil
|
|
1463
1463
|
ListUiRepresentation:
|
|
1464
1464
|
description: ListUiRepresentation
|
|
1465
1465
|
type: object
|