@kumori/aurora-backend-handler 1.0.13 → 1.0.14
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.
|
@@ -299,15 +299,19 @@ export const deployMarketplaceItem = async (item: MarketplaceService) => {
|
|
|
299
299
|
? { detail: {} }
|
|
300
300
|
: item.type === "service" && item.roles && Array.isArray(item.roles)
|
|
301
301
|
? {
|
|
302
|
-
detail:
|
|
303
|
-
(acc, role) => ({
|
|
304
|
-
...acc,
|
|
305
|
-
[role]: { hsize: 1 },
|
|
306
|
-
}),
|
|
307
|
-
{},
|
|
308
|
-
),
|
|
302
|
+
detail: {},
|
|
309
303
|
}
|
|
310
|
-
:
|
|
304
|
+
: // ? {
|
|
305
|
+
// detail: item.roles.reduce(
|
|
306
|
+
// (acc, role) => ({
|
|
307
|
+
// ...acc,
|
|
308
|
+
// [role]: { hsize: 1 },
|
|
309
|
+
// }),
|
|
310
|
+
// {},
|
|
311
|
+
// ),
|
|
312
|
+
// }
|
|
313
|
+
{ detail: {} };
|
|
314
|
+
// : { detail: { [`${item.artifactName}`]: { hsize: 1 } } };
|
|
311
315
|
|
|
312
316
|
const scaling: {
|
|
313
317
|
simple: {
|