@ambiten/core 1.0.0 → 1.0.2

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.
@@ -13,10 +13,11 @@ export interface AmbitenBootstrapFactoryOptions {
13
13
  adapter?: AmbitenAdapter;
14
14
  }
15
15
  /**
16
- * Factory class to create an instance of AmbitenBootstrap.
16
+ * Factory which returns the instance of the main AmbitenBootstrap and
17
+ * Attached a method AmbitenBootstrap.create() which initializes the AmbitenBootstrap.
17
18
  * This class encapsulates the logic for initializing the Ambiten application stack,
18
19
  * including MongoDB, Multi-Tenancy, Redis, GraphQL logger etc. setup.
19
- * It can be used to create a fully configured Ambiten instance
20
+ * It can be used to create a fully configured Ambiten application.
20
21
  * with optional configuration parameters.
21
22
  * @example
22
23
  * const Ambiten = await AmbitenBootstrapFactory.create();
@@ -1 +1 @@
1
- {"version":3,"file":"ambitenBootstrap.d.ts","sourceRoot":"","sources":["../../../src/lib-core/bootstrap/ambitenBootstrap.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAoB,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAE1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAA+C,MAAM,aAAa,CAAC;AAE9F,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAOlE,MAAM,WAAW,2BAA2B;IAC1C,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,uBAAuB,CAAC;CACvC;AAED,MAAM,WAAW,8BAA8B;IAC7C,MAAM,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC;IAChC,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B;AAkaD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,qBAAa,uBAAuB;WACrB,MAAM,CACjB,OAAO,GAAE,8BAAmC,GAC3C,OAAO,CAAC,cAAc,CAAC;CAK3B"}
1
+ {"version":3,"file":"ambitenBootstrap.d.ts","sourceRoot":"","sources":["../../../src/lib-core/bootstrap/ambitenBootstrap.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAoB,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAE1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAA+C,MAAM,aAAa,CAAC;AAE9F,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAOlE,MAAM,WAAW,2BAA2B;IAC1C,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,uBAAuB,CAAC;CACvC;AAED,MAAM,WAAW,8BAA8B;IAC7C,MAAM,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC;IAChC,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B;AAkaD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBAAa,uBAAuB;WACrB,MAAM,CACjB,OAAO,GAAE,8BAAmC,GAC3C,OAAO,CAAC,cAAc,CAAC;CAK3B"}
@@ -352,10 +352,11 @@ class AmbitenBootstrap {
352
352
  }
353
353
  ;
354
354
  /**
355
- * Factory class to create an instance of AmbitenBootstrap.
355
+ * Factory which returns the instance of the main AmbitenBootstrap and
356
+ * Attached a method AmbitenBootstrap.create() which initializes the AmbitenBootstrap.
356
357
  * This class encapsulates the logic for initializing the Ambiten application stack,
357
358
  * including MongoDB, Multi-Tenancy, Redis, GraphQL logger etc. setup.
358
- * It can be used to create a fully configured Ambiten instance
359
+ * It can be used to create a fully configured Ambiten application.
359
360
  * with optional configuration parameters.
360
361
  * @example
361
362
  * const Ambiten = await AmbitenBootstrapFactory.create();
@@ -1,2 +1,3 @@
1
1
  export * from './ambitenBootstrap';
2
+ export { AmbitenBootstrapFactory } from "./ambitenBootstrap";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib-core/bootstrap/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib-core/bootstrap/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AmbitenBootstrapFactory = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./ambitenBootstrap"), exports);
6
+ var ambitenBootstrap_1 = require("./ambitenBootstrap");
7
+ Object.defineProperty(exports, "AmbitenBootstrapFactory", { enumerable: true, get: function () { return ambitenBootstrap_1.AmbitenBootstrapFactory; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ambiten/core",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -67,7 +67,7 @@
67
67
  "bugs": {
68
68
  "url": "https://github.com/AmbitenHQ/ambiten/issues"
69
69
  },
70
- "homepage": "https://ambiten.dev",
70
+ "homepage": "https://docs.ambiten.dev",
71
71
  "dependencies": {
72
72
  "@babel/runtime": "7.28.4",
73
73
  "@inquirer/prompts": "^8.3.2",