@tsed/objection 6.95.9 → 6.95.10
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/package.json +11 -11
- package/lib/cjs/components/createBooleanColumn.d.ts +0 -6
- package/lib/cjs/components/createIdColumn.d.ts +0 -6
- package/lib/cjs/components/createNumberColumn.d.ts +0 -6
- package/lib/cjs/components/createStringColumn.d.ts +0 -6
- package/lib/cjs/decorators/columnOptions.d.ts +0 -8
- package/lib/cjs/decorators/decimal.d.ts +0 -11
- package/lib/cjs/decorators/entity.d.ts +0 -11
- package/lib/cjs/decorators/idColumn.d.ts +0 -7
- package/lib/cjs/domain/ColumnOpts.d.ts +0 -4
- package/lib/cjs/index.d.ts +0 -21
- package/lib/cjs/services/ColumnTypesContainer.d.ts +0 -6
- package/lib/cjs/services/ObjectionConnection.d.ts +0 -3
- package/lib/cjs/utils/connect.d.ts +0 -2
- package/lib/cjs/utils/createColumns.d.ts +0 -18
- package/lib/cjs/utils/defineStaticGetter.d.ts +0 -4
- package/lib/cjs/utils/getColumnCtx.d.ts +0 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/objection",
|
|
3
|
-
"version": "6.95.
|
|
3
|
+
"version": "6.95.10",
|
|
4
4
|
"description": "Objection.js package for Ts.ED framework",
|
|
5
5
|
"private": false,
|
|
6
6
|
"source": "./src/index.ts",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"tslib": "2.2.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@tsed/ajv": "6.95.
|
|
26
|
-
"@tsed/core": "6.95.
|
|
27
|
-
"@tsed/di": "6.95.
|
|
28
|
-
"@tsed/json-mapper": "6.95.
|
|
29
|
-
"@tsed/schema": "6.95.
|
|
25
|
+
"@tsed/ajv": "6.95.10",
|
|
26
|
+
"@tsed/core": "6.95.10",
|
|
27
|
+
"@tsed/di": "6.95.10",
|
|
28
|
+
"@tsed/json-mapper": "6.95.10",
|
|
29
|
+
"@tsed/schema": "6.95.10",
|
|
30
30
|
"knex": "^0.95.11",
|
|
31
31
|
"mssql": "^7.2.1",
|
|
32
32
|
"mysql": "^2.18.1",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"sqlite3": "^5.0.2"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@tsed/ajv": "^6.95.
|
|
42
|
-
"@tsed/core": "^6.95.
|
|
43
|
-
"@tsed/di": "^6.95.
|
|
44
|
-
"@tsed/json-mapper": "^6.95.
|
|
45
|
-
"@tsed/schema": "^6.95.
|
|
41
|
+
"@tsed/ajv": "^6.95.10",
|
|
42
|
+
"@tsed/core": "^6.95.10",
|
|
43
|
+
"@tsed/di": "^6.95.10",
|
|
44
|
+
"@tsed/json-mapper": "^6.95.10",
|
|
45
|
+
"@tsed/schema": "^6.95.10",
|
|
46
46
|
"knex": ">=0.94.0",
|
|
47
47
|
"objection": ">=2.0.0"
|
|
48
48
|
},
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Type } from "@tsed/core";
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @param tableName
|
|
5
|
-
* @decorator
|
|
6
|
-
* @objection
|
|
7
|
-
*/
|
|
8
|
-
export declare function Entity(tableName: string): ClassDecorator;
|
|
9
|
-
export interface EntityMethods<T> extends Type<T> {
|
|
10
|
-
readonly tableName: string;
|
|
11
|
-
}
|
package/lib/cjs/index.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Knex } from "knex";
|
|
2
|
-
declare global {
|
|
3
|
-
namespace TsED {
|
|
4
|
-
interface Configuration {
|
|
5
|
-
knex: Knex.Config;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export * from "./components/createStringColumn";
|
|
10
|
-
export * from "./components/createIdColumn";
|
|
11
|
-
export * from "./components/createBooleanColumn";
|
|
12
|
-
export * from "./components/createNumberColumn";
|
|
13
|
-
export * from "./decorators/entity";
|
|
14
|
-
export * from "./decorators/decimal";
|
|
15
|
-
export * from "./decorators/idColumn";
|
|
16
|
-
export * from "./decorators/columnOptions";
|
|
17
|
-
export * from "./domain/ColumnOpts";
|
|
18
|
-
export * from "./services/ObjectionConnection";
|
|
19
|
-
export * from "./utils/connect";
|
|
20
|
-
export * from "./utils/createColumns";
|
|
21
|
-
export * from "./utils/getColumnCtx";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { JsonEntityStore } from "@tsed/schema";
|
|
2
|
-
import { Knex } from "knex";
|
|
3
|
-
import "../components/createBooleanColumn";
|
|
4
|
-
import "../components/createIdColumn";
|
|
5
|
-
import "../components/createNumberColumn";
|
|
6
|
-
import "../components/createStringColumn";
|
|
7
|
-
/**
|
|
8
|
-
* @ignore
|
|
9
|
-
*/
|
|
10
|
-
export declare function createColumn(table: Knex.TableBuilder, entity: JsonEntityStore): void;
|
|
11
|
-
/**
|
|
12
|
-
* @ignore
|
|
13
|
-
*/
|
|
14
|
-
export declare function getColumns(model: any): import("@tsed/schema").JsonPropertyStore[];
|
|
15
|
-
/**
|
|
16
|
-
* @ignore
|
|
17
|
-
*/
|
|
18
|
-
export declare function createColumns(table: Knex.TableBuilder, model: any): void;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { JsonEntityStore } from "@tsed/schema";
|
|
2
|
-
import { ColumnOpts } from "../domain/ColumnOpts";
|
|
3
|
-
/**
|
|
4
|
-
* @ignore
|
|
5
|
-
*/
|
|
6
|
-
export interface ColumnCtx extends ColumnOpts {
|
|
7
|
-
entity: JsonEntityStore;
|
|
8
|
-
schema: any;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* @ignore
|
|
12
|
-
*/
|
|
13
|
-
export declare function getColumnCtx(entity: JsonEntityStore): ColumnCtx;
|