@tachybase/utils 0.23.17 → 0.23.20

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.
@@ -5,11 +5,11 @@ export * from './decorators/service.decorator';
5
5
  export * from './error/cannot-inject-value.error';
6
6
  export * from './error/cannot-instantiate-value.error';
7
7
  export * from './error/service-not-found.error';
8
- export { Handler } from './interfaces/handler.interface';
9
- export { ServiceMetadata } from './interfaces/service-metadata.interface';
10
- export { ServiceOptions } from './interfaces/service-options.interface';
11
- export { Constructable } from './types/constructable.type';
12
- export { ServiceIdentifier } from './types/service-identifier.type';
8
+ export type { Handler } from './interfaces/handler.interface';
9
+ export type { ServiceMetadata } from './interfaces/service-metadata.interface';
10
+ export type { ServiceOptions } from './interfaces/service-options.interface';
11
+ export type { Constructable } from './types/constructable.type';
12
+ export type { ServiceIdentifier } from './types/service-identifier.type';
13
13
  export { ContainerInstance } from './container-instance.class';
14
14
  export { Token } from './token.class';
15
15
  /** We export the default container under the Container alias. */
@@ -18,13 +18,8 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var typedi_exports = {};
20
20
  __export(typedi_exports, {
21
- Constructable: () => import_constructable.Constructable,
22
21
  Container: () => Container,
23
22
  ContainerInstance: () => import_container_instance2.ContainerInstance,
24
- Handler: () => import_handler.Handler,
25
- ServiceIdentifier: () => import_service_identifier.ServiceIdentifier,
26
- ServiceMetadata: () => import_service_metadata.ServiceMetadata,
27
- ServiceOptions: () => import_service_options.ServiceOptions,
28
23
  Token: () => import_token.Token,
29
24
  default: () => typedi_default
30
25
  });
@@ -36,24 +31,14 @@ __reExport(typedi_exports, require("./decorators/service.decorator"), module.exp
36
31
  __reExport(typedi_exports, require("./error/cannot-inject-value.error"), module.exports);
37
32
  __reExport(typedi_exports, require("./error/cannot-instantiate-value.error"), module.exports);
38
33
  __reExport(typedi_exports, require("./error/service-not-found.error"), module.exports);
39
- var import_handler = require("./interfaces/handler.interface");
40
- var import_service_metadata = require("./interfaces/service-metadata.interface");
41
- var import_service_options = require("./interfaces/service-options.interface");
42
- var import_constructable = require("./types/constructable.type");
43
- var import_service_identifier = require("./types/service-identifier.type");
44
34
  var import_container_instance2 = require("./container-instance.class");
45
35
  var import_token = require("./token.class");
46
36
  const Container = import_container_instance.ContainerInstance.default;
47
37
  var typedi_default = Container;
48
38
  // Annotate the CommonJS export names for ESM import in node:
49
39
  0 && (module.exports = {
50
- Constructable,
51
40
  Container,
52
41
  ContainerInstance,
53
- Handler,
54
- ServiceIdentifier,
55
- ServiceMetadata,
56
- ServiceOptions,
57
42
  Token,
58
43
  ...require("./decorators/inject-many.decorator"),
59
44
  ...require("./decorators/inject.decorator"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tachybase/utils",
3
- "version": "0.23.17",
3
+ "version": "0.23.20",
4
4
  "license": "Apache-2.0",
5
5
  "exports": {
6
6
  ".": {
package/tsconfig.json DELETED
@@ -1,31 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "lib": ["esnext", "DOM.Iterable", "DOM"],
4
- "esModuleInterop": true,
5
- "moduleResolution": "node",
6
- "jsx": "react",
7
- "target": "esnext",
8
- "module": "esnext",
9
- "allowJs": true,
10
- "noUnusedLocals": false,
11
- "preserveConstEnums": true,
12
- "skipLibCheck": true,
13
- "skipDefaultLibCheck": true,
14
- "sourceMap": true,
15
- "inlineSources": true,
16
- "resolveJsonModule": true,
17
- "declaration": true,
18
- "typeRoots": ["./node_modules/@types"],
19
- "downlevelIteration": true
20
- },
21
- "exclude": [
22
- "node_modules",
23
- "lib",
24
- "client.d.ts",
25
- "server.d.ts",
26
- "client.js",
27
- "server.js",
28
- "plugin-symlink.d.ts",
29
- "plugin-symlink.js"
30
- ]
31
- }