@fluid-app/portal-sdk 0.1.174 → 0.1.176
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/{FluidProvider-Bpyt0Lsa.cjs → FluidProvider-BEgfE--y.cjs} +5 -29
- package/dist/FluidProvider-BEgfE--y.cjs.map +1 -0
- package/dist/{FluidProvider-CiCrw9aW.mjs → FluidProvider-ChiIk-EM.mjs} +5 -29
- package/dist/FluidProvider-ChiIk-EM.mjs.map +1 -0
- package/dist/{MessagingScreen-DsduPj7E.cjs → MessagingScreen-B53jKQB2.cjs} +2 -2
- package/dist/{MessagingScreen-DVpyX0RH.cjs → MessagingScreen-C7VcUx2f.cjs} +2 -2
- package/dist/{MessagingScreen-DVpyX0RH.cjs.map → MessagingScreen-C7VcUx2f.cjs.map} +1 -1
- package/dist/{MessagingScreen-BDp1yqcC.mjs → MessagingScreen-DqITGtTm.mjs} +2 -2
- package/dist/{MessagingScreen-BDp1yqcC.mjs.map → MessagingScreen-DqITGtTm.mjs.map} +1 -1
- package/dist/{PortalContentApiProvider-DNZj3MTz.cjs → PortalContentApiProvider-CqfumtyH.cjs} +4 -4
- package/dist/PortalContentApiProvider-CqfumtyH.cjs.map +1 -0
- package/dist/{PortalContentApiProvider-D0xhS3Ge.mjs → PortalContentApiProvider-CvYJD4mj.mjs} +4 -4
- package/dist/PortalContentApiProvider-CvYJD4mj.mjs.map +1 -0
- package/dist/{ProductsScreen-fPFSKVOn.cjs → ProductsScreen-BGFL7B9Y.cjs} +2 -2
- package/dist/{ProductsScreen-fPFSKVOn.cjs.map → ProductsScreen-BGFL7B9Y.cjs.map} +1 -1
- package/dist/{ProductsScreen-DIdRGVvA.mjs → ProductsScreen-BUCzY4c8.mjs} +2 -2
- package/dist/{ProductsScreen-CeNMvU4d.mjs → ProductsScreen-CJWgYPY9.mjs} +2 -2
- package/dist/{ProductsScreen-CeNMvU4d.mjs.map → ProductsScreen-CJWgYPY9.mjs.map} +1 -1
- package/dist/{ProductsScreen-iQf4zOus.cjs → ProductsScreen-CyOr92nO.cjs} +2 -2
- package/dist/{ProfileScreen-BSWf_Rb-.cjs → ProfileScreen-3nnblgS2.cjs} +2 -2
- package/dist/{ProfileScreen-BSWf_Rb-.cjs.map → ProfileScreen-3nnblgS2.cjs.map} +1 -1
- package/dist/{ProfileScreen-Nric2qx3.cjs → ProfileScreen-BX3eqOdU.cjs} +2 -2
- package/dist/{ProfileScreen-DQ7Mjq_K.mjs → ProfileScreen-Tib5ue5H.mjs} +2 -2
- package/dist/{ProfileScreen-DQ7Mjq_K.mjs.map → ProfileScreen-Tib5ue5H.mjs.map} +1 -1
- package/dist/{ShareablesScreen-Bl6aT0vn.cjs → ShareablesScreen-BYySYuY1.cjs} +2 -2
- package/dist/{ShareablesScreen-Bl6aT0vn.cjs.map → ShareablesScreen-BYySYuY1.cjs.map} +1 -1
- package/dist/{ShareablesScreen-D2JbmO7a.mjs → ShareablesScreen-Ca0VOB6e.mjs} +2 -2
- package/dist/{ShareablesScreen-D2JbmO7a.mjs.map → ShareablesScreen-Ca0VOB6e.mjs.map} +1 -1
- package/dist/{ShareablesScreen-CfchbhSH.mjs → ShareablesScreen-Cr-WyfrQ.mjs} +2 -2
- package/dist/{ShareablesScreen-CtuGiQ7_.cjs → ShareablesScreen-PPfy8gtj.cjs} +2 -2
- package/dist/{ShopScreen-D0ddvQHi.mjs → ShopScreen-BbJbceF8.mjs} +2 -2
- package/dist/{ShopScreen-D0ddvQHi.mjs.map → ShopScreen-BbJbceF8.mjs.map} +1 -1
- package/dist/{ShopScreen-D1PcDp2n.cjs → ShopScreen-Cbz4oNU4.cjs} +2 -2
- package/dist/{ShopScreen-Ch1GbT5E.cjs → ShopScreen-Dhpq7-X2.cjs} +2 -2
- package/dist/{ShopScreen-Ch1GbT5E.cjs.map → ShopScreen-Dhpq7-X2.cjs.map} +1 -1
- package/dist/index.cjs +18 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +18 -19
- package/dist/index.mjs.map +1 -1
- package/package.json +19 -21
- package/dist/FluidProvider-Bpyt0Lsa.cjs.map +0 -1
- package/dist/FluidProvider-CiCrw9aW.mjs.map +0 -1
- package/dist/PortalContentApiProvider-D0xhS3Ge.mjs.map +0 -1
- package/dist/PortalContentApiProvider-DNZj3MTz.cjs.map +0 -1
|
@@ -1247,7 +1247,7 @@ async function languages_list(client, params) {
|
|
|
1247
1247
|
return client.get(`/api/store/languages`, params);
|
|
1248
1248
|
}
|
|
1249
1249
|
//#endregion
|
|
1250
|
-
//#region
|
|
1250
|
+
//#region src/adapters/countries-api-adapter.ts
|
|
1251
1251
|
/**
|
|
1252
1252
|
* Maps a BFF state to the port's State shape.
|
|
1253
1253
|
*/
|
|
@@ -1290,7 +1290,7 @@ function mapMeta$1(raw) {
|
|
|
1290
1290
|
* CountriesApi port, closing over the FetchClient so consumers don't need
|
|
1291
1291
|
* to pass it per-call.
|
|
1292
1292
|
*/
|
|
1293
|
-
function
|
|
1293
|
+
function createCountriesApiAdapter(client) {
|
|
1294
1294
|
return { listCountries: async (params) => {
|
|
1295
1295
|
const response = await countries_list(client, {
|
|
1296
1296
|
"page[cursor]": params?.cursor,
|
|
@@ -1303,7 +1303,7 @@ function createPortalTenantCountriesAdapter(client) {
|
|
|
1303
1303
|
} };
|
|
1304
1304
|
}
|
|
1305
1305
|
//#endregion
|
|
1306
|
-
//#region
|
|
1306
|
+
//#region src/adapters/languages-api-adapter.ts
|
|
1307
1307
|
/**
|
|
1308
1308
|
* Maps a BFF language to the port's Language shape.
|
|
1309
1309
|
*/
|
|
@@ -1335,7 +1335,7 @@ function mapMeta(raw) {
|
|
|
1335
1335
|
* LanguagesApi port, closing over the FetchClient so consumers don't need
|
|
1336
1336
|
* to pass it per-call.
|
|
1337
1337
|
*/
|
|
1338
|
-
function
|
|
1338
|
+
function createLanguagesApiAdapter(client) {
|
|
1339
1339
|
return { listLanguages: async (params) => {
|
|
1340
1340
|
const response = await languages_list(client, {
|
|
1341
1341
|
"page[cursor]": params?.cursor,
|
|
@@ -1348,30 +1348,6 @@ function createPortalTenantLanguagesAdapter(client) {
|
|
|
1348
1348
|
} };
|
|
1349
1349
|
}
|
|
1350
1350
|
//#endregion
|
|
1351
|
-
//#region src/adapters/countries-api-adapter.ts
|
|
1352
|
-
/**
|
|
1353
|
-
* Creates a CountriesApi adapter backed by the portal-tenant store BFF.
|
|
1354
|
-
*
|
|
1355
|
-
* Delegates to the adapter factory in `@fluid-app/store-api-client` which
|
|
1356
|
-
* maps the generated portal-tenant-store namespace functions to the abstract
|
|
1357
|
-
* CountriesApi port.
|
|
1358
|
-
*/
|
|
1359
|
-
function createCountriesApiAdapter(client) {
|
|
1360
|
-
return createPortalTenantCountriesAdapter(client);
|
|
1361
|
-
}
|
|
1362
|
-
//#endregion
|
|
1363
|
-
//#region src/adapters/languages-api-adapter.ts
|
|
1364
|
-
/**
|
|
1365
|
-
* Creates a LanguagesApi adapter backed by the portal-tenant store BFF.
|
|
1366
|
-
*
|
|
1367
|
-
* Delegates to the adapter factory in `@fluid-app/store-api-client` which
|
|
1368
|
-
* maps the generated portal-tenant-store namespace functions to the abstract
|
|
1369
|
-
* LanguagesApi port.
|
|
1370
|
-
*/
|
|
1371
|
-
function createLanguagesApiAdapter(client) {
|
|
1372
|
-
return createPortalTenantLanguagesAdapter(client);
|
|
1373
|
-
}
|
|
1374
|
-
//#endregion
|
|
1375
1351
|
//#region ../../api-clients/portal-tenant-mysite/src/namespaces/portal_tenant_mysite.ts
|
|
1376
1352
|
/**
|
|
1377
1353
|
* Get MySite profile for the current user
|
|
@@ -2984,4 +2960,4 @@ Object.defineProperty(exports, "widgetPropertySchemas", {
|
|
|
2984
2960
|
}
|
|
2985
2961
|
});
|
|
2986
2962
|
|
|
2987
|
-
//# sourceMappingURL=FluidProvider-
|
|
2963
|
+
//# sourceMappingURL=FluidProvider-BEgfE--y.cjs.map
|