@tsed/objection 6.102.4 → 6.102.8-rc.1

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.
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -1,4 +1,4 @@
1
- import { ColumnTypesContainer } from "../services/ColumnTypesContainer";
1
+ import { ColumnTypesContainer } from "../services/ColumnTypesContainer.js";
2
2
  /**
3
3
  * @ignore
4
4
  */
@@ -1,4 +1,4 @@
1
- import { ColumnTypesContainer } from "../services/ColumnTypesContainer";
1
+ import { ColumnTypesContainer } from "../services/ColumnTypesContainer.js";
2
2
  /**
3
3
  * @ignore
4
4
  */
@@ -1,4 +1,4 @@
1
- import { ColumnTypesContainer } from "../services/ColumnTypesContainer";
1
+ import { ColumnTypesContainer } from "../services/ColumnTypesContainer.js";
2
2
  /**
3
3
  * @ignore
4
4
  */
@@ -1,4 +1,4 @@
1
- import { ColumnTypesContainer } from "../services/ColumnTypesContainer";
1
+ import { ColumnTypesContainer } from "../services/ColumnTypesContainer.js";
2
2
  /**
3
3
  * @ignore
4
4
  */
@@ -1,6 +1,6 @@
1
1
  import { StoreSet, useDecorators } from "@tsed/core";
2
2
  import { Property } from "@tsed/schema";
3
- import { ColumnOptions } from "./columnOptions";
3
+ import { ColumnOptions } from "./columnOptions.js";
4
4
  /**
5
5
  *
6
6
  * @param options
@@ -1,5 +1,5 @@
1
1
  import { getJsonSchema } from "@tsed/schema";
2
- import { defineStaticGetter } from "../utils/defineStaticGetter";
2
+ import { defineStaticGetter } from "../utils/defineStaticGetter.js";
3
3
  /**
4
4
  *
5
5
  * @param tableName
@@ -1,7 +1,7 @@
1
1
  import { useDecorators } from "@tsed/core";
2
2
  import { Property } from "@tsed/schema";
3
- import { defineStaticGetter } from "../utils/defineStaticGetter";
4
- import { ColumnOptions } from "./columnOptions";
3
+ import { defineStaticGetter } from "../utils/defineStaticGetter.js";
4
+ import { ColumnOptions } from "./columnOptions.js";
5
5
  /**
6
6
  *
7
7
  * @param type
package/lib/esm/index.js CHANGED
@@ -1,18 +1,18 @@
1
1
  // components
2
- export * from "./components/createStringColumn";
3
- export * from "./components/createIdColumn";
4
- export * from "./components/createBooleanColumn";
5
- export * from "./components/createNumberColumn";
2
+ export * from "./components/createStringColumn.js";
3
+ export * from "./components/createIdColumn.js";
4
+ export * from "./components/createBooleanColumn.js";
5
+ export * from "./components/createNumberColumn.js";
6
6
  // decorators
7
- export * from "./decorators/entity";
8
- export * from "./decorators/decimal";
9
- export * from "./decorators/idColumn";
10
- export * from "./decorators/columnOptions";
11
- export * from "./domain/ColumnOpts";
7
+ export * from "./decorators/entity.js";
8
+ export * from "./decorators/decimal.js";
9
+ export * from "./decorators/idColumn.js";
10
+ export * from "./decorators/columnOptions.js";
11
+ export * from "./domain/ColumnOpts.js";
12
12
  // services
13
- export * from "./services/ObjectionConnection";
13
+ export * from "./services/ObjectionConnection.js";
14
14
  // utils
15
- export * from "./utils/connect";
16
- export * from "./utils/createColumns";
17
- export * from "./utils/getColumnCtx";
15
+ export * from "./utils/connect.js";
16
+ export * from "./utils/createColumns.js";
17
+ export * from "./utils/getColumnCtx.js";
18
18
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -1,5 +1,5 @@
1
1
  import { Configuration, registerProvider } from "@tsed/di";
2
- import { createConnection } from "../utils/connect";
2
+ import { createConnection } from "../utils/connect.js";
3
3
  export const OBJECTION_CONNECTION = Symbol.for("DEFAULT_CONNECTION");
4
4
  registerProvider({
5
5
  provide: OBJECTION_CONNECTION,
@@ -1,10 +1,10 @@
1
1
  import { getProperties } from "@tsed/schema";
2
- import "../components/createBooleanColumn";
3
- import "../components/createIdColumn";
4
- import "../components/createNumberColumn";
5
- import "../components/createStringColumn";
6
- import { ColumnTypesContainer } from "../services/ColumnTypesContainer";
7
- import { getColumnCtx } from "./getColumnCtx";
2
+ import "../components/createBooleanColumn.js";
3
+ import "../components/createIdColumn.js";
4
+ import "../components/createNumberColumn.js";
5
+ import "../components/createStringColumn.js";
6
+ import { ColumnTypesContainer } from "../services/ColumnTypesContainer.js";
7
+ import { getColumnCtx } from "./getColumnCtx.js";
8
8
  /**
9
9
  * @ignore
10
10
  */
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@tsed/objection",
3
- "version": "6.102.4",
3
+ "version": "6.102.8-rc.1",
4
4
  "description": "Objection.js package for Ts.ED framework",
5
5
  "private": false,
6
6
  "source": "./src/index.ts",
7
7
  "main": "./lib/cjs/index.js",
8
+ "module": "./lib/esm/index.js",
8
9
  "typings": "./lib/types/index.d.ts",
9
10
  "exports": {
10
11
  "types": "./lib/types/index.d.ts",
@@ -22,11 +23,11 @@
22
23
  "tslib": "2.2.0"
23
24
  },
24
25
  "devDependencies": {
25
- "@tsed/ajv": "6.102.4",
26
- "@tsed/core": "6.102.4",
27
- "@tsed/di": "6.102.4",
28
- "@tsed/json-mapper": "6.102.4",
29
- "@tsed/schema": "6.102.4",
26
+ "@tsed/ajv": "6.102.8-rc.1",
27
+ "@tsed/core": "6.102.8-rc.1",
28
+ "@tsed/di": "6.102.8-rc.1",
29
+ "@tsed/json-mapper": "6.102.8-rc.1",
30
+ "@tsed/schema": "6.102.8-rc.1",
30
31
  "knex": "^0.95.11",
31
32
  "mssql": "^7.2.1",
32
33
  "mysql": "^2.18.1",
@@ -38,11 +39,11 @@
38
39
  "sqlite3": "^5.0.2"
39
40
  },
40
41
  "peerDependencies": {
41
- "@tsed/ajv": "^6.102.4",
42
- "@tsed/core": "^6.102.4",
43
- "@tsed/di": "^6.102.4",
44
- "@tsed/json-mapper": "^6.102.4",
45
- "@tsed/schema": "^6.102.4",
42
+ "@tsed/ajv": "^6.102.8-rc.1",
43
+ "@tsed/core": "^6.102.8-rc.1",
44
+ "@tsed/di": "^6.102.8-rc.1",
45
+ "@tsed/json-mapper": "^6.102.8-rc.1",
46
+ "@tsed/schema": "^6.102.8-rc.1",
46
47
  "knex": ">=0.94.0",
47
48
  "objection": ">=2.0.0"
48
49
  },
@@ -50,7 +51,7 @@
50
51
  "bugs": {
51
52
  "url": "https://github.com/tsedio/tsed/issues"
52
53
  },
53
- "homepage": "https://github.com/tsedio/tsed/tree/production/packages/orm/objection",
54
+ "homepage": "https://github.com/tsedio/tsed/tree/rc/packages/orm/objection",
54
55
  "author": "Romain Lenzotti",
55
56
  "license": "MIT"
56
57
  }