@venizia/ignis-kernel 0.2.0-35 → 0.2.0-36

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.
@@ -14,8 +14,20 @@
14
14
  export { component, configuration, injectable, pickRegistrationOptions, provide, service, } from './base/metadata/injectable';
15
15
  export { datasource, model, repository } from './base/metadata/persistents';
16
16
  export { inject } from './base/metadata/injectors';
17
- export { ArtifactNamespaces, BindingNamespaces, CoreBindings } from './common/bindings';
17
+ export { ArtifactNamespaces, BindingNamespaces } from './common/bindings';
18
18
  export type { TBindingNamespace } from './common/bindings';
19
+ /**
20
+ * `CoreBindings` is deliberately NOT here, and adding it back would be a mistake worth naming.
21
+ *
22
+ * The namespaces above are the GRAMMAR of a binding key - how one is spelled, whoever is doing the
23
+ * binding. `CoreBindings` is one application's DICTIONARY: `APPLICATION_SERVER`,
24
+ * `APPLICATION_ROOT_ROUTER`, keys a server binds and a browser never will. A second framework in
25
+ * this house already ships its own `CoreBindings` whose `APPLICATION_INSTANCE` is a different
26
+ * string, so exporting ours beside the stereotypes puts two same-named classes one import away from
27
+ * each other - bind under one, resolve under the other, and nothing fails until run time.
28
+ *
29
+ * It stays on the root barrel, where a consumer asking for the server surface finds it.
30
+ */
19
31
  export { ArtifactTypes, BindingKeys, MetadataRegistry } from './helpers/inversion';
20
32
  export type { IArtifactMetadata, IArtifactRegistrationOptions, TBindingScope, } from './helpers/inversion';
21
33
  //# sourceMappingURL=metadata.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/metadata.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EACL,SAAS,EACT,aAAa,EACb,UAAU,EACV,uBAAuB,EACvB,OAAO,EACP,OAAO,GACR,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACxF,YAAY,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACnF,YAAY,EACV,iBAAiB,EACjB,4BAA4B,EAC5B,aAAa,GACd,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/metadata.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EACL,SAAS,EACT,aAAa,EACb,UAAU,EACV,uBAAuB,EACvB,OAAO,EACP,OAAO,GACR,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC1E,YAAY,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACnF,YAAY,EACV,iBAAiB,EACjB,4BAA4B,EAC5B,aAAa,GACd,MAAM,qBAAqB,CAAC"}
@@ -13,7 +13,7 @@
13
13
  * The weight is a contract, checked by `src/__tests__/bundle/browser-weight.test.ts`.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.MetadataRegistry = exports.BindingKeys = exports.ArtifactTypes = exports.CoreBindings = exports.BindingNamespaces = exports.ArtifactNamespaces = exports.inject = exports.repository = exports.model = exports.datasource = exports.service = exports.provide = exports.pickRegistrationOptions = exports.injectable = exports.configuration = exports.component = void 0;
16
+ exports.MetadataRegistry = exports.BindingKeys = exports.ArtifactTypes = exports.BindingNamespaces = exports.ArtifactNamespaces = exports.inject = exports.repository = exports.model = exports.datasource = exports.service = exports.provide = exports.pickRegistrationOptions = exports.injectable = exports.configuration = exports.component = void 0;
17
17
  var injectable_1 = require("./base/metadata/injectable");
18
18
  Object.defineProperty(exports, "component", { enumerable: true, get: function () { return injectable_1.component; } });
19
19
  Object.defineProperty(exports, "configuration", { enumerable: true, get: function () { return injectable_1.configuration; } });
@@ -30,7 +30,18 @@ Object.defineProperty(exports, "inject", { enumerable: true, get: function () {
30
30
  var bindings_1 = require("./common/bindings");
31
31
  Object.defineProperty(exports, "ArtifactNamespaces", { enumerable: true, get: function () { return bindings_1.ArtifactNamespaces; } });
32
32
  Object.defineProperty(exports, "BindingNamespaces", { enumerable: true, get: function () { return bindings_1.BindingNamespaces; } });
33
- Object.defineProperty(exports, "CoreBindings", { enumerable: true, get: function () { return bindings_1.CoreBindings; } });
33
+ /**
34
+ * `CoreBindings` is deliberately NOT here, and adding it back would be a mistake worth naming.
35
+ *
36
+ * The namespaces above are the GRAMMAR of a binding key - how one is spelled, whoever is doing the
37
+ * binding. `CoreBindings` is one application's DICTIONARY: `APPLICATION_SERVER`,
38
+ * `APPLICATION_ROOT_ROUTER`, keys a server binds and a browser never will. A second framework in
39
+ * this house already ships its own `CoreBindings` whose `APPLICATION_INSTANCE` is a different
40
+ * string, so exporting ours beside the stereotypes puts two same-named classes one import away from
41
+ * each other - bind under one, resolve under the other, and nothing fails until run time.
42
+ *
43
+ * It stays on the root barrel, where a consumer asking for the server surface finds it.
44
+ */
34
45
  var inversion_1 = require("./helpers/inversion");
35
46
  Object.defineProperty(exports, "ArtifactTypes", { enumerable: true, get: function () { return inversion_1.ArtifactTypes; } });
36
47
  Object.defineProperty(exports, "BindingKeys", { enumerable: true, get: function () { return inversion_1.BindingKeys; } });
@@ -1 +1 @@
1
- {"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../src/metadata.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAEH,yDAOoC;AANlC,uGAAA,SAAS,OAAA;AACT,2GAAA,aAAa,OAAA;AACb,wGAAA,UAAU,OAAA;AACV,qHAAA,uBAAuB,OAAA;AACvB,qGAAA,OAAO,OAAA;AACP,qGAAA,OAAO,OAAA;AAET,2DAA4E;AAAnE,yGAAA,UAAU,OAAA;AAAE,oGAAA,KAAK,OAAA;AAAE,yGAAA,UAAU,OAAA;AACtC,uDAAmD;AAA1C,mGAAA,MAAM,OAAA;AAEf,8CAAwF;AAA/E,8GAAA,kBAAkB,OAAA;AAAE,6GAAA,iBAAiB,OAAA;AAAE,wGAAA,YAAY,OAAA;AAG5D,iDAAmF;AAA1E,0GAAA,aAAa,OAAA;AAAE,wGAAA,WAAW,OAAA;AAAE,6GAAA,gBAAgB,OAAA"}
1
+ {"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../src/metadata.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAEH,yDAOoC;AANlC,uGAAA,SAAS,OAAA;AACT,2GAAA,aAAa,OAAA;AACb,wGAAA,UAAU,OAAA;AACV,qHAAA,uBAAuB,OAAA;AACvB,qGAAA,OAAO,OAAA;AACP,qGAAA,OAAO,OAAA;AAET,2DAA4E;AAAnE,yGAAA,UAAU,OAAA;AAAE,oGAAA,KAAK,OAAA;AAAE,yGAAA,UAAU,OAAA;AACtC,uDAAmD;AAA1C,mGAAA,MAAM,OAAA;AAEf,8CAA0E;AAAjE,8GAAA,kBAAkB,OAAA;AAAE,6GAAA,iBAAiB,OAAA;AAG9C;;;;;;;;;;;GAWG;AAEH,iDAAmF;AAA1E,0GAAA,aAAa,OAAA;AAAE,wGAAA,WAAW,OAAA;AAAE,6GAAA,gBAAgB,OAAA"}
@@ -14,8 +14,20 @@
14
14
  export { component, configuration, injectable, pickRegistrationOptions, provide, service, } from './base/metadata/injectable.js';
15
15
  export { datasource, model, repository } from './base/metadata/persistents.js';
16
16
  export { inject } from './base/metadata/injectors.js';
17
- export { ArtifactNamespaces, BindingNamespaces, CoreBindings } from './common/bindings.js';
17
+ export { ArtifactNamespaces, BindingNamespaces } from './common/bindings.js';
18
18
  export type { TBindingNamespace } from './common/bindings.js';
19
+ /**
20
+ * `CoreBindings` is deliberately NOT here, and adding it back would be a mistake worth naming.
21
+ *
22
+ * The namespaces above are the GRAMMAR of a binding key - how one is spelled, whoever is doing the
23
+ * binding. `CoreBindings` is one application's DICTIONARY: `APPLICATION_SERVER`,
24
+ * `APPLICATION_ROOT_ROUTER`, keys a server binds and a browser never will. A second framework in
25
+ * this house already ships its own `CoreBindings` whose `APPLICATION_INSTANCE` is a different
26
+ * string, so exporting ours beside the stereotypes puts two same-named classes one import away from
27
+ * each other - bind under one, resolve under the other, and nothing fails until run time.
28
+ *
29
+ * It stays on the root barrel, where a consumer asking for the server surface finds it.
30
+ */
19
31
  export { ArtifactTypes, BindingKeys, MetadataRegistry } from './helpers/inversion/index.js';
20
32
  export type { IArtifactMetadata, IArtifactRegistrationOptions, TBindingScope, } from './helpers/inversion/index.js';
21
33
  //# sourceMappingURL=metadata.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/metadata.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EACL,SAAS,EACT,aAAa,EACb,UAAU,EACV,uBAAuB,EACvB,OAAO,EACP,OAAO,GACR,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACxF,YAAY,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACnF,YAAY,EACV,iBAAiB,EACjB,4BAA4B,EAC5B,aAAa,GACd,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/metadata.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EACL,SAAS,EACT,aAAa,EACb,UAAU,EACV,uBAAuB,EACvB,OAAO,EACP,OAAO,GACR,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC1E,YAAY,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACnF,YAAY,EACV,iBAAiB,EACjB,4BAA4B,EAC5B,aAAa,GACd,MAAM,qBAAqB,CAAC"}
@@ -14,6 +14,18 @@
14
14
  export { component, configuration, injectable, pickRegistrationOptions, provide, service, } from './base/metadata/injectable.js';
15
15
  export { datasource, model, repository } from './base/metadata/persistents.js';
16
16
  export { inject } from './base/metadata/injectors.js';
17
- export { ArtifactNamespaces, BindingNamespaces, CoreBindings } from './common/bindings.js';
17
+ export { ArtifactNamespaces, BindingNamespaces } from './common/bindings.js';
18
+ /**
19
+ * `CoreBindings` is deliberately NOT here, and adding it back would be a mistake worth naming.
20
+ *
21
+ * The namespaces above are the GRAMMAR of a binding key - how one is spelled, whoever is doing the
22
+ * binding. `CoreBindings` is one application's DICTIONARY: `APPLICATION_SERVER`,
23
+ * `APPLICATION_ROOT_ROUTER`, keys a server binds and a browser never will. A second framework in
24
+ * this house already ships its own `CoreBindings` whose `APPLICATION_INSTANCE` is a different
25
+ * string, so exporting ours beside the stereotypes puts two same-named classes one import away from
26
+ * each other - bind under one, resolve under the other, and nothing fails until run time.
27
+ *
28
+ * It stays on the root barrel, where a consumer asking for the server surface finds it.
29
+ */
18
30
  export { ArtifactTypes, BindingKeys, MetadataRegistry } from './helpers/inversion/index.js';
19
31
  //# sourceMappingURL=metadata.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../src/metadata.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EACL,SAAS,EACT,aAAa,EACb,UAAU,EACV,uBAAuB,EACvB,OAAO,EACP,OAAO,GACR,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGxF,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../src/metadata.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EACL,SAAS,EACT,aAAa,EACb,UAAU,EACV,uBAAuB,EACvB,OAAO,EACP,OAAO,GACR,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG1E;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venizia/ignis-kernel",
3
- "version": "0.2.0-35",
3
+ "version": "0.2.0-36",
4
4
  "description": "Browser-pure kernel of the IGNIS framework: dependency injection, lifecycle, REST controllers, repository and datasource abstractions, and the authentication and authorization seams. No node builtin and no server-only peer, so the same kernel serves a Bun server and a browser Worker.",
5
5
  "keywords": [
6
6
  "authentication",
@@ -85,9 +85,9 @@
85
85
  "prepublishOnly": "bun run rebuild"
86
86
  },
87
87
  "dependencies": {
88
- "@venizia/ignis-filter": "^0.2.0-14",
89
- "@venizia/ignis-helpers": "^0.2.0-30",
90
- "@venizia/ignis-inversion": "^0.2.0-14",
88
+ "@venizia/ignis-filter": "^0.2.0-15",
89
+ "@venizia/ignis-helpers": "^0.2.0-31",
90
+ "@venizia/ignis-inversion": "^0.2.0-15",
91
91
  "lodash": "^4.18.1",
92
92
  "reflect-metadata": "^0.2.2",
93
93
  "zod": "^4.5.4"
@@ -113,7 +113,7 @@
113
113
  "devDependencies": {
114
114
  "@types/bun": "^1.4.1",
115
115
  "@types/lodash": "^4.17.25",
116
- "@venizia/dev-configs": "^0.2.0-7",
116
+ "@venizia/dev-configs": "^0.2.0-8",
117
117
  "casbin": "^5.51.1",
118
118
  "eslint": "^10.10.0",
119
119
  "prettier": "^3.9.6",