@salesforce/lds-adapters-uiapi 1.332.0-dev2 → 1.332.0-dev21
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.
- package/dist/es/es2018/types/src/generated/adapters/getKeywordSearchResults.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsRepresentation.d.ts +7 -3
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsRepresentationInterface.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsWorkspace.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsWorkspaceAsset.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsWorkspaceAssetConnection.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsWorkspaceAssetEdge.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticDefinition.d.ts +51 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticSubMetricDefinitionConnection.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticSubMetricDefinitionEdge.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticSubMetricDefinitionRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/resources/postUiApiSearchResultsKeyword.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/types/KeywordSearchRequestInputRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/wire/executeBatchRecordOperations/index.d.ts +1 -0
- package/dist/es/es2018/types/src/wire/executeBatchRecordOperations/postUiApiRecordsBatch.d.ts +3 -0
- package/dist/es/es2018/uiapi-records-service.js +5900 -4569
- package/package.json +9 -9
- package/sfdc/graphqlAdapters.js +6735 -5424
- package/sfdc/index.js +22 -3
- package/src/raml/api.raml +6 -0
- package/src/raml/uiapi.graphql +79 -5
package/sfdc/index.js
CHANGED
|
@@ -33937,6 +33937,7 @@ const getKeywordSearchResults_ConfigPropertyMetadata = [
|
|
|
33937
33937
|
generateParamConfigMetadata('objectApiName', true, 1 /* QueryParameter */, 0 /* String */),
|
|
33938
33938
|
generateParamConfigMetadata('q', true, 1 /* QueryParameter */, 0 /* String */),
|
|
33939
33939
|
generateParamConfigMetadata('configurationName', false, 2 /* Body */, 0 /* String */),
|
|
33940
|
+
generateParamConfigMetadata('dataCategories', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
33940
33941
|
generateParamConfigMetadata('filters', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
33941
33942
|
generateParamConfigMetadata('pageSize', false, 2 /* Body */, 3 /* Integer */),
|
|
33942
33943
|
generateParamConfigMetadata('pageToken', false, 2 /* Body */, 0 /* String */),
|
|
@@ -33951,6 +33952,18 @@ function keyBuilder$a(luvio, config) {
|
|
|
33951
33952
|
function typeCheckConfig$c(untrustedConfig) {
|
|
33952
33953
|
const config = {};
|
|
33953
33954
|
typeCheckConfig$17(untrustedConfig, config, getKeywordSearchResults_ConfigPropertyMetadata);
|
|
33955
|
+
const untrustedConfig_dataCategories = untrustedConfig.dataCategories;
|
|
33956
|
+
if (ArrayIsArray$1(untrustedConfig_dataCategories)) {
|
|
33957
|
+
const untrustedConfig_dataCategories_array = [];
|
|
33958
|
+
for (let i = 0, arrayLength = untrustedConfig_dataCategories.length; i < arrayLength; i++) {
|
|
33959
|
+
const untrustedConfig_dataCategories_item = untrustedConfig_dataCategories[i];
|
|
33960
|
+
const referenceSearchDataCategoryInputRepresentationValidationError = validate$n(untrustedConfig_dataCategories_item);
|
|
33961
|
+
if (referenceSearchDataCategoryInputRepresentationValidationError === null) {
|
|
33962
|
+
untrustedConfig_dataCategories_array.push(untrustedConfig_dataCategories_item);
|
|
33963
|
+
}
|
|
33964
|
+
}
|
|
33965
|
+
config.dataCategories = untrustedConfig_dataCategories_array;
|
|
33966
|
+
}
|
|
33954
33967
|
const untrustedConfig_filters = untrustedConfig.filters;
|
|
33955
33968
|
if (ArrayIsArray$1(untrustedConfig_filters)) {
|
|
33956
33969
|
const untrustedConfig_filters_array = [];
|
|
@@ -34172,7 +34185,7 @@ function createResourceRequest$e(config) {
|
|
|
34172
34185
|
method: 'post',
|
|
34173
34186
|
body: config.body,
|
|
34174
34187
|
urlParams: {},
|
|
34175
|
-
queryParams:
|
|
34188
|
+
queryParams: config.queryParams,
|
|
34176
34189
|
headers,
|
|
34177
34190
|
priority: 'normal',
|
|
34178
34191
|
};
|
|
@@ -34181,7 +34194,8 @@ function createResourceRequest$e(config) {
|
|
|
34181
34194
|
const adapterName$7 = 'executeBatchRecordOperations';
|
|
34182
34195
|
const executeBatchRecordOperations_ConfigPropertyMetadata = [
|
|
34183
34196
|
generateParamConfigMetadata('allOrNone', true, 2, 1, false),
|
|
34184
|
-
generateParamConfigMetadata('operations', true, 2, 4, true),
|
|
34197
|
+
generateParamConfigMetadata('operations', true, 2, 4, true),
|
|
34198
|
+
generateParamConfigMetadata('useDefaultRule', false, 1, 1, false), // Not Requred, QueryParam, Boolean, single
|
|
34185
34199
|
];
|
|
34186
34200
|
const executeBatchRecordOperations_ConfigPropertyNames =
|
|
34187
34201
|
/*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, executeBatchRecordOperations_ConfigPropertyMetadata);
|
|
@@ -34217,6 +34231,11 @@ function batchUpdateRecordsTypeCheckConfig(untrustedConfig) {
|
|
|
34217
34231
|
if (untrustedConfigAllOrNone !== undefined && typeof untrustedConfigAllOrNone === 'boolean') {
|
|
34218
34232
|
config.allOrNone = untrustedConfigAllOrNone;
|
|
34219
34233
|
}
|
|
34234
|
+
const untrustedConfiguseDefaultRule = untrustedConfig.useDefaultRule;
|
|
34235
|
+
if (untrustedConfiguseDefaultRule !== undefined &&
|
|
34236
|
+
typeof untrustedConfiguseDefaultRule === 'boolean') {
|
|
34237
|
+
config.useDefaultRule = untrustedConfiguseDefaultRule;
|
|
34238
|
+
}
|
|
34220
34239
|
return config;
|
|
34221
34240
|
}
|
|
34222
34241
|
function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
|
|
@@ -38705,4 +38724,4 @@ withDefaultLuvio((luvio) => {
|
|
|
38705
38724
|
});
|
|
38706
38725
|
|
|
38707
38726
|
export { API_NAMESPACE, InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$J as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$O as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$V as RecordRepresentationRepresentationType, TTL$z as RecordRepresentationTTL, RepresentationType$V as RecordRepresentationType, VERSION$1f as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, getFieldApiNamesArray as coerceFieldIdArray, getObjectApiName$1 as coerceObjectId, getObjectApiNamesArray as coerceObjectIdArray, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfo, createRecord, createRelatedListAdapterWithPrediction, deleteListInfo, deleteRecord, executeBatchRecordOperations, extractRecordIdFromStoreKey, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getFlexipageFormulaOverrides, getFlexipageFormulaOverrides_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByNameAdapterFactory, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListInfosByObjectName, getListInfosByObjectNameAdapterFactory, getListInfosByObjectName_imperative, getListObjectInfo, getListObjectInfoAdapterFactory, getListObjectInfo_imperative, getListPreferences, getListPreferences_imperative, getListRecordsByName, factory$a as getListRecordsByNameAdapterFactory, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfoDirectoryAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPathLayout, getPathLayout_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionInfo, getQuickActionInfo_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActionsAdapterFactory, getRecordActions_imperative, factory$f as getRecordAdapterFactory, getRecordAvatars, getRecordAvatarsAdapterFactory, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecordsAdapterFactory, getRecords_imperative, getRelatedListActions, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoAdapterFactory, getRelatedListInfoBatch, getRelatedListInfoBatchAdapterFactory, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatch, getRelatedListRecordsBatchAdapterFactory, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActionsAdapterFactory, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$X as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$H as ingestObjectInfo, ingest$B as ingestQuickActionExecutionRepresentation, ingest$O as ingestRecord, instrument, isStoreKeyRecordViewEntity, isSupportedEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$D as keyBuilderFromTypeRecordRepresentation, keyBuilder$1Y as keyBuilderObjectInfo, keyBuilder$1R as keyBuilderQuickActionExecutionRepresentation, keyBuilder$29 as keyBuilderRecord, notifyAllListInfoSummaryUpdateAvailable, notifyAllListRecordUpdateAvailable, notifyListInfoSummaryUpdateAvailable, notifyListInfoUpdateAvailable, notifyListRecordCollectionUpdateAvailable, notifyListViewSummaryUpdateAvailable, notifyQuickActionDefaultsUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, registerPrefetcher, updateLayoutUserState, updateListInfoByName, updateListPreferences, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
38708
|
-
// version: 1.332.0-
|
|
38727
|
+
// version: 1.332.0-dev21-cc02503f9d
|
package/src/raml/api.raml
CHANGED
|
@@ -1314,6 +1314,12 @@ types:
|
|
|
1314
1314
|
description: A configuration name defined in Search Manager
|
|
1315
1315
|
type: string
|
|
1316
1316
|
required: false #TODO: handrolled for W-13591079
|
|
1317
|
+
dataCategories:
|
|
1318
|
+
description: Data category filters to apply on our results
|
|
1319
|
+
type: array
|
|
1320
|
+
required: false
|
|
1321
|
+
items:
|
|
1322
|
+
type: SearchDataCategoryInputRepresentation #TODO: handrolled for W-17919594
|
|
1317
1323
|
filters:
|
|
1318
1324
|
description: Filters to apply on our results
|
|
1319
1325
|
type: array
|
package/src/raml/uiapi.graphql
CHANGED
|
@@ -1617,7 +1617,6 @@ type Analytics__Analytics {
|
|
|
1617
1617
|
# enum AnalyticsAssetType @generic {
|
|
1618
1618
|
# }
|
|
1619
1619
|
|
|
1620
|
-
|
|
1621
1620
|
type Analytics__AnalyticsBrowse {
|
|
1622
1621
|
edges: [Analytics__AnalyticsEdge]
|
|
1623
1622
|
totalCount: Int!
|
|
@@ -1630,14 +1629,44 @@ type Analytics__AnalyticsEdge {
|
|
|
1630
1629
|
cursor: String!
|
|
1631
1630
|
}
|
|
1632
1631
|
|
|
1633
|
-
|
|
1632
|
+
interface Analytics__AnalyticsRepresentationInterface {
|
|
1634
1633
|
MasterLabel: StringValue
|
|
1634
|
+
DeveloperName: StringValue
|
|
1635
1635
|
CreatedById: IDValue
|
|
1636
|
+
LastModifiedById: IDValue
|
|
1637
|
+
LastModifiedDate: DateTimeValue
|
|
1636
1638
|
CreatedDate: DateTimeValue
|
|
1639
|
+
Id: ID!
|
|
1640
|
+
ApiName: String!
|
|
1641
|
+
NamespacePrefix: StringValue
|
|
1642
|
+
AnalyticsWorkspaces: Analytics__AnalyticsWorkspaceAssetConnection
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
type Analytics__AnalyticsRepresentation implements Analytics__AnalyticsRepresentationInterface {
|
|
1646
|
+
MasterLabel: StringValue
|
|
1647
|
+
DeveloperName: StringValue
|
|
1648
|
+
CreatedById: IDValue
|
|
1649
|
+
LastModifiedById: IDValue
|
|
1637
1650
|
LastModifiedDate: DateTimeValue
|
|
1651
|
+
CreatedDate: DateTimeValue
|
|
1652
|
+
Id: ID!
|
|
1653
|
+
ApiName: String!
|
|
1654
|
+
NamespacePrefix: StringValue
|
|
1655
|
+
AnalyticsWorkspaces: Analytics__AnalyticsWorkspaceAssetConnection
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
type Analytics__SemanticDefinition implements Analytics__AnalyticsRepresentationInterface {
|
|
1659
|
+
MasterLabel: StringValue
|
|
1660
|
+
DeveloperName: StringValue
|
|
1661
|
+
CreatedById: IDValue
|
|
1638
1662
|
LastModifiedById: IDValue
|
|
1663
|
+
LastModifiedDate: DateTimeValue
|
|
1664
|
+
CreatedDate: DateTimeValue
|
|
1639
1665
|
Id: ID!
|
|
1640
1666
|
ApiName: String!
|
|
1667
|
+
NamespacePrefix: StringValue
|
|
1668
|
+
AnalyticsWorkspaces: Analytics__AnalyticsWorkspaceAssetConnection
|
|
1669
|
+
SubMetrics: Analytics__SemanticSubMetricDefinitionConnection
|
|
1641
1670
|
}
|
|
1642
1671
|
|
|
1643
1672
|
input Analytics__AnalyticsOrderBy {
|
|
@@ -1662,17 +1691,62 @@ enum Analytics__SortEnumType {
|
|
|
1662
1691
|
input Analytics__AnalyticsFilter {
|
|
1663
1692
|
Id: Setup__IdOperators
|
|
1664
1693
|
MasterLabel: StringOperators
|
|
1694
|
+
DeveloperName: StringOperators
|
|
1695
|
+
NamespacePrefix: StringOperators
|
|
1665
1696
|
CreatedById: Setup__IdOperators
|
|
1666
1697
|
CreatedDate: DateTimeOperators
|
|
1667
1698
|
LastModifiedById: Setup__IdOperators
|
|
1668
1699
|
LastModifiedDate: DateTimeOperators
|
|
1669
|
-
SemanticMetricId: Setup__IdOperators
|
|
1670
|
-
SemanticModelId: Setup__IdOperators
|
|
1671
1700
|
and: [Analytics__AnalyticsFilter]
|
|
1672
1701
|
or: [Analytics__AnalyticsFilter]
|
|
1673
1702
|
not: Analytics__AnalyticsFilter
|
|
1674
1703
|
}
|
|
1675
1704
|
|
|
1705
|
+
type Analytics__AnalyticsWorkspaceAssetConnection {
|
|
1706
|
+
edges: [Analytics__AnalyticsWorkspaceAssetEdge]
|
|
1707
|
+
totalCount: Int!
|
|
1708
|
+
pageResultCount: Int!
|
|
1709
|
+
pageInfo: PageInfo!
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
type Analytics__AnalyticsWorkspaceAssetEdge {
|
|
1713
|
+
node: Analytics__AnalyticsWorkspaceAsset
|
|
1714
|
+
cursor: String!
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
type Analytics__AnalyticsWorkspaceAsset {
|
|
1718
|
+
AnalyticsWorkspace: Analytics__AnalyticsWorkspace
|
|
1719
|
+
AssetUsageType: PicklistValue
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
type Analytics__AnalyticsWorkspace {
|
|
1723
|
+
MasterLabel: StringValue
|
|
1724
|
+
DeveloperName: StringValue
|
|
1725
|
+
CreatedById: IDValue
|
|
1726
|
+
LastModifiedById: IDValue
|
|
1727
|
+
LastModifiedDate: DateTimeValue
|
|
1728
|
+
CreatedDate: DateTimeValue
|
|
1729
|
+
Id: ID!
|
|
1730
|
+
ApiName: String!
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
type Analytics__SemanticSubMetricDefinitionConnection {
|
|
1734
|
+
edges: [Analytics__SemanticSubMetricDefinitionEdge]
|
|
1735
|
+
totalCount: Int!
|
|
1736
|
+
pageResultCount: Int!
|
|
1737
|
+
pageInfo: PageInfo!
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
type Analytics__SemanticSubMetricDefinitionEdge {
|
|
1741
|
+
node: Analytics__SemanticSubMetricDefinitionRepresentation
|
|
1742
|
+
cursor: String!
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
type Analytics__SemanticSubMetricDefinitionRepresentation {
|
|
1746
|
+
Id: ID!
|
|
1747
|
+
ApiName: String!
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1676
1750
|
directive @generic on OBJECT | INTERFACE | UNION | ENUM | INPUT_OBJECT
|
|
1677
1751
|
directive @fieldCategory on FIELD_DEFINITION | ARGUMENT_DEFINITION | INPUT_FIELD_DEFINITION | ENUM_VALUE
|
|
1678
|
-
directive @category(name: String!) on FIELD
|
|
1752
|
+
directive @category(name: String!) on FIELD
|