@deepkit/orm-browser 1.0.1-alpha.155 → 1.0.1-alpha.158
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/CHANGELOG.md +18 -0
- package/dist/cjs/index.js +1 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/module.js +3 -4
- package/dist/cjs/src/module.js.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/src/module.js +3 -3
- package/dist/esm/src/module.js.map +1 -1
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +15 -15
- package/src/module.ts +3 -3
- package/tsconfig.esm.json +7 -4
- package/tsconfig.json +8 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.0.1-alpha.158](https://github.com/deepkit/deepkit-framework/compare/v1.0.1-alpha.157...v1.0.1-alpha.158) (2025-02-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @deepkit/orm-browser
|
|
9
|
+
|
|
10
|
+
## [1.0.1-alpha.157](https://github.com/deepkit/deepkit-framework/compare/v1.0.1-alpha.156...v1.0.1-alpha.157) (2025-02-15)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- tsconfig and tsc build ([ac71e83](https://github.com/deepkit/deepkit-framework/commit/ac71e838d542a3cab0e9b1cfc20b27637f1c01df))
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
- update to angular 19 and typescript 5.7.3, new @deepkit/angular-ssr package ([#627](https://github.com/deepkit/deepkit-framework/issues/627)) ([52333a7](https://github.com/deepkit/deepkit-framework/commit/52333a71f98c7e25a74f048dd57f1efba61098f5))
|
|
19
|
+
|
|
20
|
+
## [1.0.1-alpha.156](https://github.com/deepkit/deepkit-framework/compare/v1.0.1-alpha.155...v1.0.1-alpha.156) (2025-01-30)
|
|
21
|
+
|
|
22
|
+
**Note:** Version bump only for package @deepkit/orm-browser
|
|
23
|
+
|
|
6
24
|
## [1.0.1-alpha.155](https://github.com/deepkit/deepkit-framework/compare/v1.0.1-alpha.154...v1.0.1-alpha.155) (2024-10-30)
|
|
7
25
|
|
|
8
26
|
**Note:** Version bump only for package @deepkit/orm-browser
|
package/dist/cjs/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.serveOrmBrowser =
|
|
17
|
+
exports.serveOrmBrowser = serveOrmBrowser;
|
|
18
18
|
const app_1 = require("@deepkit/app");
|
|
19
19
|
const framework_1 = require("@deepkit/framework");
|
|
20
20
|
const orm_1 = require("@deepkit/orm");
|
|
@@ -32,6 +32,5 @@ function serveOrmBrowser(databases, config = {}) {
|
|
|
32
32
|
});
|
|
33
33
|
return app.run(["server:start"]);
|
|
34
34
|
}
|
|
35
|
-
exports.serveOrmBrowser = serveOrmBrowser;
|
|
36
35
|
serveOrmBrowser.__type = [() => orm_1.Database, 'databases', 'port', 'host', 'config', () => ({}), 'serveOrmBrowser', 'PP7!F2"P\'4#8&4$8M2%>&"/\''];
|
|
37
36
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAOA,0CAeC;AAtBD,sCAAmC;AACnC,kDAAqD;AACrD,sCAAwC;AACxC,+CAAmD;AAEnD,kDAAgC;AAEhC,SAAgB,eAAe,CAAC,SAAqB,EAAE,SAGnD,EAAE;IACF,MAAM,GAAG,GAAG,IAAI,SAAG,CAAC;QAChB,OAAO,EAAE;YACL,IAAI,4BAAgB,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC;YAC9C,IAAI,2BAAe,CAAC;gBAChB,IAAI,EAAE,MAAM,CAAC,IAAI,IAAI,IAAI;gBACzB,IAAI,EAAE,MAAM,CAAC,IAAI,IAAI,WAAW;aACnC,CAAC;SACL;KACJ,CAAC,CAAC;IAEH,OAAO,GAAG,CAAC,GAAG,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC;AACrC,CAAC"}
|
package/dist/cjs/src/module.js
CHANGED
|
@@ -11,7 +11,6 @@ function __assignType(fn, args) {
|
|
|
11
11
|
fn.__type = args;
|
|
12
12
|
return fn;
|
|
13
13
|
}
|
|
14
|
-
var __type0;
|
|
15
14
|
const app_1 = require("@deepkit/app");
|
|
16
15
|
const framework_1 = require("@deepkit/framework");
|
|
17
16
|
const orm_1 = require("@deepkit/orm");
|
|
@@ -21,7 +20,7 @@ const core_1 = require("@deepkit/core");
|
|
|
21
20
|
const injector_1 = require("@deepkit/injector");
|
|
22
21
|
const path_1 = require("path");
|
|
23
22
|
const http_1 = require("@deepkit/http");
|
|
24
|
-
class OrmBrowserModule extends (0, app_1.
|
|
23
|
+
class OrmBrowserModule extends (0, app_1.createModuleClass)({
|
|
25
24
|
config: config_js_1.Config
|
|
26
25
|
}) {
|
|
27
26
|
constructor() {
|
|
@@ -48,7 +47,7 @@ class OrmBrowserModule extends (0, app_1.createModule)({
|
|
|
48
47
|
provide: ScopedOrmBrowserController,
|
|
49
48
|
useFactory: __assignType((registry, injectorContext) => {
|
|
50
49
|
return new ScopedOrmBrowserController(this.databases);
|
|
51
|
-
},
|
|
50
|
+
}, [() => orm_1.DatabaseRegistry, 'registry', () => injector_1.InjectorContext, 'injectorContext', '', 'PP7!2"P7#2$"/%'])
|
|
52
51
|
});
|
|
53
52
|
const localPath = (0, app_1.findParentPath)('node_modules/@deepkit/orm-browser-gui/dist/orm-browser-gui', (0, path_1.dirname)((0, core_1.getCurrentFileName)()));
|
|
54
53
|
if (!localPath)
|
|
@@ -65,5 +64,5 @@ class OrmBrowserModule extends (0, app_1.createModule)({
|
|
|
65
64
|
}
|
|
66
65
|
}
|
|
67
66
|
exports.OrmBrowserModule = OrmBrowserModule;
|
|
68
|
-
OrmBrowserModule.__type = [() => (0, app_1.
|
|
67
|
+
OrmBrowserModule.__type = [() => (0, app_1.createModuleClass)({ config: config_js_1.Config }), () => orm_1.Database, 'databases', function () { return []; }, () => orm_1.Database, 'forDatabases', 'process', 'OrmBrowserModule', 'P7!P7"F3#>$PP7%F2#!0&P"0\'5w('];
|
|
69
68
|
//# sourceMappingURL=module.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sourceRoot":"","sources":["../../../src/module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.js","sourceRoot":"","sources":["../../../src/module.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,sCAAiE;AACjE,kDAA0D;AAC1D,sCAA0D;AAC1D,2CAAqC;AACrC,sCAAmC;AACnC,wCAAmD;AACnD,gDAAoD;AACpD,+BAA+B;AAC/B,wCAA6D;AAE7D,MAAa,gBAAiB,SAAQ,IAAA,uBAAiB,EAAC;IACpD,MAAM,EAAE,kBAAM;CACjB,CAAC;IAFF;;QAGI,cAAS,GAAe,EAAE,CAAC;KAsC9B;IApCG,YAAY,CAAC,SAAqB;QAC9B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,OAAO;QACH,MAAM,cAAc,GAAG,uBAAuB,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC;QAKlE,IAAM,0BAA0B;QADhC,aAAa;QACb,MAAM,0BAA2B,SAAQ,gCAAoB;;;Q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