@salesforce/lds-network-aura 1.184.0 → 1.185.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.
- package/dist/ldsNetwork.js +45 -2
- package/package.json +1 -1
package/dist/ldsNetwork.js
CHANGED
|
@@ -810,6 +810,11 @@ const CDP_ADG_PATH = new RegExp(`${CDP_BASE_URI}/application-data-graphs`, 'i');
|
|
|
810
810
|
const GET_CDP_ADG_PATH = new RegExp(`${CDP_BASE_URI}/application-data-graphs/([A-Z0-9_]){1,80}$`, 'i');
|
|
811
811
|
const DELETE_CDP_ADG_PATH = new RegExp(`${CDP_BASE_URI}/application-data-graphs/([A-Z0-9_]){1,80}$`, 'i');
|
|
812
812
|
const KNOWLEDGE_ARTICLE_PATH = new RegExp(`${CONNECT_BASE_URI}/communities/([a-zA-Z0-9]){15,18}/category-network/9cn([a-zA-Z0-9]){12,15}/knowledge-article`, 'i');
|
|
813
|
+
const CATALOG_ITEM_FOR_COMMUNITY_PATH = new RegExp(`${CONNECT_BASE_URI}/communities/([a-zA-Z0-9]){15,18}/category-network/9cn([a-zA-Z0-9]){12,15}/catalog-item`, 'i');
|
|
814
|
+
const CATALOG_ITEM_PATH = new RegExp(`${CONNECT_BASE_URI}/category-network/9cn([a-zA-Z0-9]){12,15}/catalog-item`, 'i');
|
|
815
|
+
const CATEGORY_NETWORKS_PATH = new RegExp(`${CONNECT_BASE_URI}/communities/([a-zA-Z0-9]){15,18}/data-category/category-network`, 'i');
|
|
816
|
+
const CATALOG_ITEM_BY_CATEGORY_PATH = new RegExp(`${CONNECT_BASE_URI}/data-category/category-group/([a-zA-Z]){0,80}/category/([a-zA-Z0-9]){0,80}/catalog-item`, 'i');
|
|
817
|
+
const CATEGORY_GROUP_PATH = new RegExp(`${CONNECT_BASE_URI}/data-category/category-group`);
|
|
813
818
|
const PUT_CDP_ADG_PATH = new RegExp(`${CDP_BASE_URI}/application-data-graphs/retry`, 'i');
|
|
814
819
|
const AUTOMOTIVE_INV_MGMT_PATH = new RegExp(`${CONNECT_BASE_URI}/inventory-visibility/actions`, 'i');
|
|
815
820
|
const connect = [
|
|
@@ -1030,7 +1035,7 @@ const serviceAutomationServiceCatalog = [
|
|
|
1030
1035
|
},
|
|
1031
1036
|
},
|
|
1032
1037
|
];
|
|
1033
|
-
const
|
|
1038
|
+
const categoryNetwork = [
|
|
1034
1039
|
{
|
|
1035
1040
|
method: 'get',
|
|
1036
1041
|
predicate: (path) => KNOWLEDGE_ARTICLE_PATH.test(path),
|
|
@@ -1038,6 +1043,43 @@ const dataCategory = [
|
|
|
1038
1043
|
controller: 'CategoryNetworkController.getArticlesForCategory',
|
|
1039
1044
|
},
|
|
1040
1045
|
},
|
|
1046
|
+
{
|
|
1047
|
+
method: 'get',
|
|
1048
|
+
predicate: (path) => CATALOG_ITEM_FOR_COMMUNITY_PATH.test(path),
|
|
1049
|
+
transport: {
|
|
1050
|
+
controller: 'CategoryNetworkController.getServiceCatalogItemsForCommunity',
|
|
1051
|
+
},
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
method: 'get',
|
|
1055
|
+
predicate: (path) => CATALOG_ITEM_PATH.test(path),
|
|
1056
|
+
transport: {
|
|
1057
|
+
controller: 'CategoryNetworkController.getServiceCatalogItems',
|
|
1058
|
+
},
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
method: 'get',
|
|
1062
|
+
predicate: (path) => CATEGORY_NETWORKS_PATH.test(path),
|
|
1063
|
+
transport: {
|
|
1064
|
+
controller: 'CategoryNetworkController.getCategoryNetworks',
|
|
1065
|
+
},
|
|
1066
|
+
},
|
|
1067
|
+
];
|
|
1068
|
+
const dataCategory = [
|
|
1069
|
+
{
|
|
1070
|
+
method: 'get',
|
|
1071
|
+
predicate: (path) => CATALOG_ITEM_BY_CATEGORY_PATH.test(path),
|
|
1072
|
+
transport: {
|
|
1073
|
+
controller: 'DataCategoryController.getServiceCatalogItemsByCategory',
|
|
1074
|
+
},
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
method: 'get',
|
|
1078
|
+
predicate: (path) => CATEGORY_GROUP_PATH.test(path),
|
|
1079
|
+
transport: {
|
|
1080
|
+
controller: 'DataCategoryController.getCategoryGroups',
|
|
1081
|
+
},
|
|
1082
|
+
},
|
|
1041
1083
|
];
|
|
1042
1084
|
const learningContentPlatform = [
|
|
1043
1085
|
generateAdapter('get', LEARNING_CONTENT_PLATFORM_BASE_URI, GET_LEARNING_CONTENT_PLATFORM_RELATED_LIST_PATH, 'LearningContentPlatformController.getFeaturedItemsRelatedList'),
|
|
@@ -1445,6 +1487,7 @@ registerApiFamilyRoutes(analyticsPrivate);
|
|
|
1445
1487
|
registerApiFamilyRoutes(tableauEmbedding);
|
|
1446
1488
|
registerApiFamilyRoutes(scalecenter);
|
|
1447
1489
|
registerApiFamilyRoutes(serviceAutomationServiceCatalog);
|
|
1490
|
+
registerApiFamilyRoutes(categoryNetwork);
|
|
1448
1491
|
registerApiFamilyRoutes(dataCategory);
|
|
1449
1492
|
registerApiFamilyRoutes(flow);
|
|
1450
1493
|
registerApiFamilyRoutes(flowBuilder);
|
|
@@ -3108,4 +3151,4 @@ function auraNetworkAdapter(resourceRequest) {
|
|
|
3108
3151
|
var main = platformNetworkAdapter(auraNetworkAdapter);
|
|
3109
3152
|
|
|
3110
3153
|
export { main as default, forceRecordTransactionsDisabled, instrument$1 as instrument, instrument as ldsNetworkAdapterInstrument };
|
|
3111
|
-
// version: 1.
|
|
3154
|
+
// version: 1.185.0-d1c585e2a
|