@backstage/backend-app-api 0.0.0-nightly-20230206022529 → 0.0.0-nightly-20230208023037

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/index.cjs.js CHANGED
@@ -295,7 +295,7 @@ function readHttpsOptions(config) {
295
295
  }
296
296
  return {
297
297
  certificate: {
298
- type: "plain",
298
+ type: "pem",
299
299
  cert: cc.getString("certificate.cert"),
300
300
  key: cc.getString("certificate.key")
301
301
  }
@@ -898,16 +898,14 @@ var __privateSet$4 = (obj, member, value, setter) => {
898
898
  return value;
899
899
  };
900
900
  var _isCalled, _shutdownTasks;
901
- const CALLBACKS = ["SIGTERM", "SIGINT", "beforeExit"];
902
901
  class BackendLifecycleImpl {
903
902
  constructor(logger) {
904
903
  this.logger = logger;
905
904
  __privateAdd$4(this, _isCalled, false);
906
905
  __privateAdd$4(this, _shutdownTasks, []);
907
- CALLBACKS.map((signal) => process.on(signal, () => this.shutdown()));
908
906
  }
909
- addShutdownHook(options) {
910
- __privateGet$4(this, _shutdownTasks).push(options);
907
+ addShutdownHook(hook, options) {
908
+ __privateGet$4(this, _shutdownTasks).push({ hook, options });
911
909
  }
912
910
  async shutdown() {
913
911
  if (__privateGet$4(this, _isCalled)) {
@@ -916,10 +914,11 @@ class BackendLifecycleImpl {
916
914
  __privateSet$4(this, _isCalled, true);
917
915
  this.logger.info(`Running ${__privateGet$4(this, _shutdownTasks).length} shutdown tasks...`);
918
916
  await Promise.all(
919
- __privateGet$4(this, _shutdownTasks).map(async (hook) => {
920
- const { logger = this.logger } = hook;
917
+ __privateGet$4(this, _shutdownTasks).map(async ({ hook, options }) => {
918
+ var _a;
919
+ const logger = (_a = options == null ? void 0 : options.logger) != null ? _a : this.logger;
921
920
  try {
922
- await hook.fn();
921
+ await hook();
923
922
  logger.info(`Shutdown hook succeeded`);
924
923
  } catch (error) {
925
924
  logger.error(`Shutdown hook failed, ${error}`);
@@ -930,7 +929,7 @@ class BackendLifecycleImpl {
930
929
  }
931
930
  _isCalled = new WeakMap();
932
931
  _shutdownTasks = new WeakMap();
933
- const rootLifecycleFactory = backendPluginApi.createServiceFactory({
932
+ const rootLifecycleServiceFactory = backendPluginApi.createServiceFactory({
934
933
  service: backendPluginApi.coreServices.rootLifecycle,
935
934
  deps: {
936
935
  logger: backendPluginApi.coreServices.rootLogger
@@ -962,78 +961,63 @@ var __privateMethod$2 = (obj, member, method) => {
962
961
  __accessCheck$3(obj, member, "access private method");
963
962
  return method;
964
963
  };
965
- var _started, _features, _registerInits, _extensionPoints, _serviceHolder, _getInitDeps, getInitDeps_fn, _resolveInitOrder, resolveInitOrder_fn;
964
+ var _startPromise, _features, _registerInits, _extensionPoints, _serviceHolder, _getInitDeps, getInitDeps_fn, _doStart, doStart_fn, _resolveInitOrder, resolveInitOrder_fn;
966
965
  class BackendInitializer {
967
966
  constructor(serviceHolder) {
968
967
  __privateAdd$3(this, _getInitDeps);
968
+ __privateAdd$3(this, _doStart);
969
969
  __privateAdd$3(this, _resolveInitOrder);
970
- __privateAdd$3(this, _started, false);
971
- __privateAdd$3(this, _features, /* @__PURE__ */ new Map());
970
+ __privateAdd$3(this, _startPromise, void 0);
971
+ __privateAdd$3(this, _features, new Array());
972
972
  __privateAdd$3(this, _registerInits, new Array());
973
973
  __privateAdd$3(this, _extensionPoints, /* @__PURE__ */ new Map());
974
974
  __privateAdd$3(this, _serviceHolder, void 0);
975
975
  __privateSet$3(this, _serviceHolder, serviceHolder);
976
976
  }
977
- add(feature, options) {
978
- if (__privateGet$3(this, _started)) {
977
+ add(feature) {
978
+ if (__privateGet$3(this, _startPromise)) {
979
979
  throw new Error("feature can not be added after the backend has started");
980
980
  }
981
- __privateGet$3(this, _features).set(feature, options);
981
+ if (feature.$$type !== "@backstage/BackendFeature") {
982
+ throw new Error(
983
+ `Failed to add feature, invalid type '${feature.$$type}'`
984
+ );
985
+ }
986
+ const internalFeature = feature;
987
+ if (internalFeature.version !== "v1") {
988
+ throw new Error(
989
+ `Failed to add feature, invalid version '${internalFeature.version}'`
990
+ );
991
+ }
992
+ __privateGet$3(this, _features).push(internalFeature);
982
993
  }
983
994
  async start() {
984
- if (__privateGet$3(this, _started)) {
995
+ if (__privateGet$3(this, _startPromise)) {
985
996
  throw new Error("Backend has already started");
986
997
  }
987
- __privateSet$3(this, _started, true);
988
- for (const ref of __privateGet$3(this, _serviceHolder).getServiceRefs()) {
989
- if (ref.scope === "root") {
990
- await __privateGet$3(this, _serviceHolder).get(ref, "root");
991
- }
992
- }
993
- for (const [feature] of __privateGet$3(this, _features)) {
994
- const provides = /* @__PURE__ */ new Set();
995
- let registerInit = void 0;
996
- feature.register({
997
- registerExtensionPoint: (extensionPointRef, impl) => {
998
- if (registerInit) {
999
- throw new Error("registerExtensionPoint called after registerInit");
1000
- }
1001
- if (__privateGet$3(this, _extensionPoints).has(extensionPointRef)) {
1002
- throw new Error(`API ${extensionPointRef.id} already registered`);
1003
- }
1004
- __privateGet$3(this, _extensionPoints).set(extensionPointRef, impl);
1005
- provides.add(extensionPointRef);
1006
- },
1007
- registerInit: (registerOptions) => {
1008
- if (registerInit) {
1009
- throw new Error("registerInit must only be called once");
1010
- }
1011
- registerInit = {
1012
- id: feature.id,
1013
- provides,
1014
- consumes: new Set(Object.values(registerOptions.deps)),
1015
- deps: registerOptions.deps,
1016
- init: registerOptions.init
1017
- };
1018
- }
1019
- });
1020
- if (!registerInit) {
1021
- throw new Error(
1022
- `registerInit was not called by register in ${feature.id}`
1023
- );
998
+ const exitHandler = async () => {
999
+ process.removeListener("SIGTERM", exitHandler);
1000
+ process.removeListener("SIGINT", exitHandler);
1001
+ process.removeListener("beforeExit", exitHandler);
1002
+ try {
1003
+ await this.stop();
1004
+ process.exit(0);
1005
+ } catch (error) {
1006
+ console.error(error);
1007
+ process.exit(1);
1024
1008
  }
1025
- __privateGet$3(this, _registerInits).push(registerInit);
1026
- }
1027
- const orderedRegisterResults = __privateMethod$2(this, _resolveInitOrder, resolveInitOrder_fn).call(this, __privateGet$3(this, _registerInits));
1028
- for (const registerInit of orderedRegisterResults) {
1029
- const deps = await __privateMethod$2(this, _getInitDeps, getInitDeps_fn).call(this, registerInit.deps, registerInit.id);
1030
- await registerInit.init(deps);
1031
- }
1009
+ };
1010
+ process.addListener("SIGTERM", exitHandler);
1011
+ process.addListener("SIGINT", exitHandler);
1012
+ process.addListener("beforeExit", exitHandler);
1013
+ __privateSet$3(this, _startPromise, __privateMethod$2(this, _doStart, doStart_fn).call(this));
1014
+ await __privateGet$3(this, _startPromise);
1032
1015
  }
1033
1016
  async stop() {
1034
- if (!__privateGet$3(this, _started)) {
1017
+ if (!__privateGet$3(this, _startPromise)) {
1035
1018
  return;
1036
1019
  }
1020
+ await __privateGet$3(this, _startPromise);
1037
1021
  const lifecycleService = await __privateGet$3(this, _serviceHolder).get(
1038
1022
  backendPluginApi.coreServices.rootLifecycle,
1039
1023
  "root"
@@ -1045,7 +1029,7 @@ class BackendInitializer {
1045
1029
  }
1046
1030
  }
1047
1031
  }
1048
- _started = new WeakMap();
1032
+ _startPromise = new WeakMap();
1049
1033
  _features = new WeakMap();
1050
1034
  _registerInits = new WeakMap();
1051
1035
  _extensionPoints = new WeakMap();
@@ -1080,6 +1064,41 @@ getInitDeps_fn = async function(deps, pluginId) {
1080
1064
  }
1081
1065
  return Object.fromEntries(result);
1082
1066
  };
1067
+ _doStart = new WeakSet();
1068
+ doStart_fn = async function() {
1069
+ for (const ref of __privateGet$3(this, _serviceHolder).getServiceRefs()) {
1070
+ if (ref.scope === "root") {
1071
+ await __privateGet$3(this, _serviceHolder).get(ref, "root");
1072
+ }
1073
+ }
1074
+ for (const feature of __privateGet$3(this, _features)) {
1075
+ for (const r of feature.getRegistrations()) {
1076
+ const provides = /* @__PURE__ */ new Set();
1077
+ if (r.type === "plugin") {
1078
+ for (const [extRef, extImpl] of r.extensionPoints) {
1079
+ if (__privateGet$3(this, _extensionPoints).has(extRef)) {
1080
+ throw new Error(
1081
+ `ExtensionPoint with ID '${extRef.id}' is already registered`
1082
+ );
1083
+ }
1084
+ __privateGet$3(this, _extensionPoints).set(extRef, extImpl);
1085
+ provides.add(extRef);
1086
+ }
1087
+ }
1088
+ __privateGet$3(this, _registerInits).push({
1089
+ id: r.type === "plugin" ? r.pluginId : `${r.pluginId}.${r.moduleId}`,
1090
+ provides,
1091
+ consumes: new Set(Object.values(r.init.deps)),
1092
+ init: r.init
1093
+ });
1094
+ }
1095
+ }
1096
+ const orderedRegisterResults = __privateMethod$2(this, _resolveInitOrder, resolveInitOrder_fn).call(this, __privateGet$3(this, _registerInits));
1097
+ for (const registerInit of orderedRegisterResults) {
1098
+ const deps = await __privateMethod$2(this, _getInitDeps, getInitDeps_fn).call(this, registerInit.init.deps, registerInit.id);
1099
+ await registerInit.init.func(deps);
1100
+ }
1101
+ };
1083
1102
  _resolveInitOrder = new WeakSet();
1084
1103
  resolveInitOrder_fn = function(registerInits) {
1085
1104
  let registerInitsToOrder = registerInits.slice();
@@ -1336,7 +1355,7 @@ function createSpecializedBackend(options) {
1336
1355
  return new BackstageBackend(services);
1337
1356
  }
1338
1357
 
1339
- const cacheFactory = backendPluginApi.createServiceFactory({
1358
+ const cacheServiceFactory = backendPluginApi.createServiceFactory({
1340
1359
  service: backendPluginApi.coreServices.cache,
1341
1360
  deps: {
1342
1361
  config: backendPluginApi.coreServices.config,
@@ -1350,21 +1369,24 @@ const cacheFactory = backendPluginApi.createServiceFactory({
1350
1369
  }
1351
1370
  });
1352
1371
 
1353
- const configFactory = backendPluginApi.createServiceFactory({
1354
- service: backendPluginApi.coreServices.config,
1355
- deps: {},
1356
- async factory({}, options) {
1357
- const { argv = process.argv, remote } = options != null ? options : {};
1358
- const { config } = await loadBackendConfig({ argv, remote });
1359
- return config;
1360
- }
1361
- });
1372
+ const configServiceFactory = backendPluginApi.createServiceFactory(
1373
+ (options) => ({
1374
+ service: backendPluginApi.coreServices.config,
1375
+ deps: {},
1376
+ async factory({}) {
1377
+ const { argv = process.argv, remote } = options != null ? options : {};
1378
+ const { config } = await loadBackendConfig({ argv, remote });
1379
+ return config;
1380
+ }
1381
+ })
1382
+ );
1362
1383
 
1363
- const databaseFactory = backendPluginApi.createServiceFactory({
1384
+ const databaseServiceFactory = backendPluginApi.createServiceFactory({
1364
1385
  service: backendPluginApi.coreServices.database,
1365
1386
  deps: {
1366
1387
  config: backendPluginApi.coreServices.config,
1367
- plugin: backendPluginApi.coreServices.pluginMetadata
1388
+ lifecycle: backendPluginApi.coreServices.lifecycle,
1389
+ pluginMetadata: backendPluginApi.coreServices.pluginMetadata
1368
1390
  },
1369
1391
  async createRootContext({ config: config$1 }) {
1370
1392
  return config$1.getOptional("backend.database") ? backendCommon.DatabaseManager.fromConfig(config$1) : backendCommon.DatabaseManager.fromConfig(
@@ -1375,12 +1397,15 @@ const databaseFactory = backendPluginApi.createServiceFactory({
1375
1397
  })
1376
1398
  );
1377
1399
  },
1378
- async factory({ plugin }, databaseManager) {
1379
- return databaseManager.forPlugin(plugin.getId());
1400
+ async factory({ pluginMetadata, lifecycle }, databaseManager) {
1401
+ return databaseManager.forPlugin(pluginMetadata.getId(), {
1402
+ pluginMetadata,
1403
+ lifecycle
1404
+ });
1380
1405
  }
1381
1406
  });
1382
1407
 
1383
- const discoveryFactory = backendPluginApi.createServiceFactory({
1408
+ const discoveryServiceFactory = backendPluginApi.createServiceFactory({
1384
1409
  service: backendPluginApi.coreServices.discovery,
1385
1410
  deps: {
1386
1411
  config: backendPluginApi.coreServices.config
@@ -1390,7 +1415,7 @@ const discoveryFactory = backendPluginApi.createServiceFactory({
1390
1415
  }
1391
1416
  });
1392
1417
 
1393
- const httpRouterFactory = backendPluginApi.createServiceFactory(
1418
+ const httpRouterServiceFactory = backendPluginApi.createServiceFactory(
1394
1419
  (options) => ({
1395
1420
  service: backendPluginApi.coreServices.httpRouter,
1396
1421
  deps: {
@@ -1410,7 +1435,7 @@ const httpRouterFactory = backendPluginApi.createServiceFactory(
1410
1435
  })
1411
1436
  );
1412
1437
 
1413
- const identityFactory = backendPluginApi.createServiceFactory(
1438
+ const identityServiceFactory = backendPluginApi.createServiceFactory(
1414
1439
  (options) => ({
1415
1440
  service: backendPluginApi.coreServices.identity,
1416
1441
  deps: {
@@ -1422,7 +1447,7 @@ const identityFactory = backendPluginApi.createServiceFactory(
1422
1447
  })
1423
1448
  );
1424
1449
 
1425
- const lifecycleFactory = backendPluginApi.createServiceFactory({
1450
+ const lifecycleServiceFactory = backendPluginApi.createServiceFactory({
1426
1451
  service: backendPluginApi.coreServices.lifecycle,
1427
1452
  deps: {
1428
1453
  logger: backendPluginApi.coreServices.logger,
@@ -1432,18 +1457,17 @@ const lifecycleFactory = backendPluginApi.createServiceFactory({
1432
1457
  async factory({ rootLifecycle, logger, pluginMetadata }) {
1433
1458
  const plugin = pluginMetadata.getId();
1434
1459
  return {
1435
- addShutdownHook(options) {
1460
+ addShutdownHook(hook, options) {
1436
1461
  var _a, _b;
1437
- rootLifecycle.addShutdownHook({
1438
- ...options,
1439
- logger: (_b = (_a = options.logger) == null ? void 0 : _a.child({ plugin })) != null ? _b : logger
1462
+ rootLifecycle.addShutdownHook(hook, {
1463
+ logger: (_b = (_a = options == null ? void 0 : options.logger) == null ? void 0 : _a.child({ plugin })) != null ? _b : logger
1440
1464
  });
1441
1465
  }
1442
1466
  };
1443
1467
  }
1444
1468
  });
1445
1469
 
1446
- const loggerFactory = backendPluginApi.createServiceFactory({
1470
+ const loggerServiceFactory = backendPluginApi.createServiceFactory({
1447
1471
  service: backendPluginApi.coreServices.logger,
1448
1472
  deps: {
1449
1473
  rootLogger: backendPluginApi.coreServices.rootLogger,
@@ -1454,7 +1478,7 @@ const loggerFactory = backendPluginApi.createServiceFactory({
1454
1478
  }
1455
1479
  });
1456
1480
 
1457
- const permissionsFactory = backendPluginApi.createServiceFactory({
1481
+ const permissionsServiceFactory = backendPluginApi.createServiceFactory({
1458
1482
  service: backendPluginApi.coreServices.permissions,
1459
1483
  deps: {
1460
1484
  config: backendPluginApi.coreServices.config,
@@ -1563,11 +1587,8 @@ findConflictingPath_fn = function(newPath) {
1563
1587
  return void 0;
1564
1588
  };
1565
1589
 
1566
- function defaultConfigure({
1567
- app,
1568
- routes,
1569
- middleware
1570
- }) {
1590
+ function defaultConfigure(context) {
1591
+ const { app, routes, middleware } = context;
1571
1592
  app.use(middleware.helmet());
1572
1593
  app.use(middleware.cors());
1573
1594
  app.use(middleware.compression());
@@ -1576,46 +1597,41 @@ function defaultConfigure({
1576
1597
  app.use(middleware.notFound());
1577
1598
  app.use(middleware.error());
1578
1599
  }
1579
- const rootHttpRouterFactory = backendPluginApi.createServiceFactory({
1580
- service: backendPluginApi.coreServices.rootHttpRouter,
1581
- deps: {
1582
- config: backendPluginApi.coreServices.config,
1583
- rootLogger: backendPluginApi.coreServices.rootLogger,
1584
- lifecycle: backendPluginApi.coreServices.rootLifecycle
1585
- },
1586
- async factory({ config, rootLogger, lifecycle }, {
1587
- indexPath,
1588
- configure = defaultConfigure
1589
- } = {}) {
1590
- const logger = rootLogger.child({ service: "rootHttpRouter" });
1591
- const app = express__default["default"]();
1592
- const router = DefaultRootHttpRouter.create({ indexPath });
1593
- const middleware = MiddlewareFactory.create({ config, logger });
1594
- configure({
1595
- app,
1596
- routes: router.handler(),
1597
- middleware,
1598
- config,
1599
- logger,
1600
- lifecycle
1601
- });
1602
- const server = await createHttpServer(
1603
- app,
1604
- readHttpServerOptions(config.getOptionalConfig("backend")),
1605
- { logger }
1606
- );
1607
- lifecycle.addShutdownHook({
1608
- async fn() {
1609
- await server.stop();
1610
- },
1611
- logger
1612
- });
1613
- await server.start();
1614
- return router;
1615
- }
1616
- });
1600
+ const rootHttpRouterServiceFactory = backendPluginApi.createServiceFactory(
1601
+ (options) => ({
1602
+ service: backendPluginApi.coreServices.rootHttpRouter,
1603
+ deps: {
1604
+ config: backendPluginApi.coreServices.config,
1605
+ rootLogger: backendPluginApi.coreServices.rootLogger,
1606
+ lifecycle: backendPluginApi.coreServices.rootLifecycle
1607
+ },
1608
+ async factory({ config, rootLogger, lifecycle }) {
1609
+ const { indexPath, configure = defaultConfigure } = options != null ? options : {};
1610
+ const logger = rootLogger.child({ service: "rootHttpRouter" });
1611
+ const app = express__default["default"]();
1612
+ const router = DefaultRootHttpRouter.create({ indexPath });
1613
+ const middleware = MiddlewareFactory.create({ config, logger });
1614
+ configure({
1615
+ app,
1616
+ routes: router.handler(),
1617
+ middleware,
1618
+ config,
1619
+ logger,
1620
+ lifecycle
1621
+ });
1622
+ const server = await createHttpServer(
1623
+ app,
1624
+ readHttpServerOptions(config.getOptionalConfig("backend")),
1625
+ { logger }
1626
+ );
1627
+ lifecycle.addShutdownHook(() => server.stop());
1628
+ await server.start();
1629
+ return router;
1630
+ }
1631
+ })
1632
+ );
1617
1633
 
1618
- const rootLoggerFactory = backendPluginApi.createServiceFactory({
1634
+ const rootLoggerServiceFactory = backendPluginApi.createServiceFactory({
1619
1635
  service: backendPluginApi.coreServices.rootLogger,
1620
1636
  deps: {
1621
1637
  config: backendPluginApi.coreServices.config
@@ -1637,7 +1653,7 @@ const rootLoggerFactory = backendPluginApi.createServiceFactory({
1637
1653
  }
1638
1654
  });
1639
1655
 
1640
- const schedulerFactory = backendPluginApi.createServiceFactory({
1656
+ const schedulerServiceFactory = backendPluginApi.createServiceFactory({
1641
1657
  service: backendPluginApi.coreServices.scheduler,
1642
1658
  deps: {
1643
1659
  plugin: backendPluginApi.coreServices.pluginMetadata,
@@ -1653,7 +1669,7 @@ const schedulerFactory = backendPluginApi.createServiceFactory({
1653
1669
  }
1654
1670
  });
1655
1671
 
1656
- const tokenManagerFactory = backendPluginApi.createServiceFactory({
1672
+ const tokenManagerServiceFactory = backendPluginApi.createServiceFactory({
1657
1673
  service: backendPluginApi.coreServices.tokenManager,
1658
1674
  deps: {
1659
1675
  config: backendPluginApi.coreServices.config,
@@ -1669,7 +1685,7 @@ const tokenManagerFactory = backendPluginApi.createServiceFactory({
1669
1685
  }
1670
1686
  });
1671
1687
 
1672
- const urlReaderFactory = backendPluginApi.createServiceFactory({
1688
+ const urlReaderServiceFactory = backendPluginApi.createServiceFactory({
1673
1689
  service: backendPluginApi.coreServices.urlReader,
1674
1690
  deps: {
1675
1691
  config: backendPluginApi.coreServices.config,
@@ -1686,26 +1702,26 @@ const urlReaderFactory = backendPluginApi.createServiceFactory({
1686
1702
  exports.DefaultRootHttpRouter = DefaultRootHttpRouter;
1687
1703
  exports.MiddlewareFactory = MiddlewareFactory;
1688
1704
  exports.WinstonLogger = WinstonLogger;
1689
- exports.cacheFactory = cacheFactory;
1690
- exports.configFactory = configFactory;
1705
+ exports.cacheServiceFactory = cacheServiceFactory;
1706
+ exports.configServiceFactory = configServiceFactory;
1691
1707
  exports.createConfigSecretEnumerator = createConfigSecretEnumerator;
1692
1708
  exports.createHttpServer = createHttpServer;
1693
1709
  exports.createSpecializedBackend = createSpecializedBackend;
1694
- exports.databaseFactory = databaseFactory;
1695
- exports.discoveryFactory = discoveryFactory;
1696
- exports.httpRouterFactory = httpRouterFactory;
1697
- exports.identityFactory = identityFactory;
1698
- exports.lifecycleFactory = lifecycleFactory;
1710
+ exports.databaseServiceFactory = databaseServiceFactory;
1711
+ exports.discoveryServiceFactory = discoveryServiceFactory;
1712
+ exports.httpRouterServiceFactory = httpRouterServiceFactory;
1713
+ exports.identityServiceFactory = identityServiceFactory;
1714
+ exports.lifecycleServiceFactory = lifecycleServiceFactory;
1699
1715
  exports.loadBackendConfig = loadBackendConfig;
1700
- exports.loggerFactory = loggerFactory;
1701
- exports.permissionsFactory = permissionsFactory;
1716
+ exports.loggerServiceFactory = loggerServiceFactory;
1717
+ exports.permissionsServiceFactory = permissionsServiceFactory;
1702
1718
  exports.readCorsOptions = readCorsOptions;
1703
1719
  exports.readHelmetOptions = readHelmetOptions;
1704
1720
  exports.readHttpServerOptions = readHttpServerOptions;
1705
- exports.rootHttpRouterFactory = rootHttpRouterFactory;
1706
- exports.rootLifecycleFactory = rootLifecycleFactory;
1707
- exports.rootLoggerFactory = rootLoggerFactory;
1708
- exports.schedulerFactory = schedulerFactory;
1709
- exports.tokenManagerFactory = tokenManagerFactory;
1710
- exports.urlReaderFactory = urlReaderFactory;
1721
+ exports.rootHttpRouterServiceFactory = rootHttpRouterServiceFactory;
1722
+ exports.rootLifecycleServiceFactory = rootLifecycleServiceFactory;
1723
+ exports.rootLoggerServiceFactory = rootLoggerServiceFactory;
1724
+ exports.schedulerServiceFactory = schedulerServiceFactory;
1725
+ exports.tokenManagerServiceFactory = tokenManagerServiceFactory;
1726
+ exports.urlReaderServiceFactory = urlReaderServiceFactory;
1711
1727
  //# sourceMappingURL=index.cjs.js.map