Skip to content

Commit 07faf39

Browse files
authored
feat: register 234 commerce adapters (#68)
1 parent bc4878b commit 07faf39

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

base.js

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,77 @@ const KNOWN_WIRE_ADAPTERS = [
2020
module: 'commerce/cartApi',
2121
identifier: 'CartSummaryAdapter',
2222
},
23+
{
24+
module: 'commerce/contextApi',
25+
identifier: 'AppContextAdapter',
26+
},
27+
{
28+
module: 'commerce/contextApi',
29+
identifier: 'SessionContextAdapter',
30+
},
31+
{
32+
module: 'commerce/productApi',
33+
identifier: 'ProductAdapter',
34+
},
35+
{
36+
module: 'commerce/productApi',
37+
identifier: 'ProductCategoryAdapter',
38+
},
39+
{
40+
module: 'commerce/productApi',
41+
identifier: 'ProductCategoryHierarchyAdapter',
42+
},
43+
{
44+
module: 'commerce/productApi',
45+
identifier: 'ProductCategoryPathAdapter',
46+
},
47+
{
48+
module: 'commerce/productApi',
49+
identifier: 'ProductPricingAdapter',
50+
},
51+
{
52+
module: 'commerce/productApi',
53+
identifier: 'ProductSearchAdapter',
54+
},
2355
];
2456

2557
const WIRE_ADAPTERS_WITH_RESTRICTED_USE = [
2658
{
2759
module: 'commerce/cartApi',
2860
identifier: 'CartSummaryAdapter',
2961
},
62+
{
63+
module: 'commerce/contextApi',
64+
identifier: 'AppContextAdapter',
65+
},
66+
{
67+
module: 'commerce/contextApi',
68+
identifier: 'SessionContextAdapter',
69+
},
70+
{
71+
module: 'commerce/productApi',
72+
identifier: 'ProductAdapter',
73+
},
74+
{
75+
module: 'commerce/productApi',
76+
identifier: 'ProductCategoryAdapter',
77+
},
78+
{
79+
module: 'commerce/productApi',
80+
identifier: 'ProductCategoryHierarchyAdapter',
81+
},
82+
{
83+
module: 'commerce/productApi',
84+
identifier: 'ProductCategoryPathAdapter',
85+
},
86+
{
87+
module: 'commerce/productApi',
88+
identifier: 'ProductPricingAdapter',
89+
},
90+
{
91+
module: 'commerce/productApi',
92+
identifier: 'ProductSearchAdapter',
93+
},
3094
{
3195
module: 'lightning/analyticsWaveApi',
3296
identifier: 'executeQuery',

0 commit comments

Comments
 (0)