@tsed/adapters 8.4.3 → 8.4.4
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.
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { __decorate, __metadata, __param } from "tslib";
|
|
2
|
+
import { dirname } from "node:path";
|
|
2
3
|
import { nameOf } from "@tsed/core";
|
|
3
4
|
import { Configuration, Injectable, Opts, ProviderScope, Scope } from "@tsed/di";
|
|
4
5
|
import fs from "fs-extra";
|
|
5
6
|
import { LowSync } from "lowdb";
|
|
6
7
|
import { JSONFileSync } from "lowdb/node";
|
|
7
|
-
import { dirname } from "path";
|
|
8
8
|
import { LowDbAdapter } from "./LowDbAdapter.js";
|
|
9
9
|
let FileSyncAdapter = class FileSyncAdapter extends LowDbAdapter {
|
|
10
10
|
constructor(options, configuration) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileSyncAdapter.js","sourceRoot":"","sources":["../../../src/adapters/FileSyncAdapter.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,YAAY,CAAC;AAClC,OAAO,EAAC,aAAa,EAAE,UAAU,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAC,MAAM,UAAU,CAAC;AAC/E,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AAC9B,OAAO,EAAC,YAAY,EAAC,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"FileSyncAdapter.js","sourceRoot":"","sources":["../../../src/adapters/FileSyncAdapter.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC,OAAO,EAAC,MAAM,EAAC,MAAM,YAAY,CAAC;AAClC,OAAO,EAAC,aAAa,EAAE,UAAU,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAC,MAAM,UAAU,CAAC;AAC/E,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AAC9B,OAAO,EAAC,YAAY,EAAC,MAAM,YAAY,CAAC;AAGxC,OAAO,EAAe,YAAY,EAAgB,MAAM,mBAAmB,CAAC;AAQrE,IAAM,eAAe,GAArB,MAAM,eAAwC,SAAQ,YAAe;IAC1E,YAAkB,OAA0C,EAAmB,aAA4B;QACzG,KAAK,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;QAE9B,EAAE,CAAC,aAAa,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;QAE3C,MAAM,IAAI,GAAG,IAAI,YAAY,CAAc,IAAI,CAAC,UAAU,CAAC,CAAC;QAE5D,IAAI,CAAC,EAAE,GAAG,IAAI,OAAO,CAAc,IAAI,EAAE;YACvC,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC;YAC7B,UAAU,EAAE,EAAE;SACf,CAAC,CAAC;QACH,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC;QAEhB,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;YACrB,IAAI,CAAC,KAAK,GAAG,CAAC,GAAG,EAAE,GAAE,CAAC,CAAQ,CAAC;QACjC,CAAC;IACH,CAAC;CACF,CAAA;AAnBY,eAAe;IAF3B,UAAU,EAAE;IACZ,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC;IAEf,WAAA,IAAI,CAAA;IAA8C,WAAA,aAAa,EAAE,CAAA;;GADnE,eAAe,CAmB3B"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tsed/adapters",
|
|
3
3
|
"description": "Database adapters for Ts.ED",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "8.4.
|
|
5
|
+
"version": "8.4.4",
|
|
6
6
|
"source": "./src/index.ts",
|
|
7
7
|
"main": "./lib/esm/index.js",
|
|
8
8
|
"module": "./lib/esm/index.js",
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
"uuid": "^10.0.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@tsed/ajv": "8.4.
|
|
37
|
-
"@tsed/barrels": "8.4.
|
|
38
|
-
"@tsed/core": "8.4.
|
|
39
|
-
"@tsed/di": "8.4.
|
|
40
|
-
"@tsed/json-mapper": "8.4.
|
|
41
|
-
"@tsed/platform-http": "8.4.
|
|
42
|
-
"@tsed/schema": "8.4.
|
|
43
|
-
"@tsed/typescript": "8.4.
|
|
36
|
+
"@tsed/ajv": "8.4.4",
|
|
37
|
+
"@tsed/barrels": "8.4.4",
|
|
38
|
+
"@tsed/core": "8.4.4",
|
|
39
|
+
"@tsed/di": "8.4.4",
|
|
40
|
+
"@tsed/json-mapper": "8.4.4",
|
|
41
|
+
"@tsed/platform-http": "8.4.4",
|
|
42
|
+
"@tsed/schema": "8.4.4",
|
|
43
|
+
"@tsed/typescript": "8.4.4",
|
|
44
44
|
"@types/fs-extra": "11.0.4",
|
|
45
45
|
"eslint": "9.12.0",
|
|
46
46
|
"typescript": "5.4.5",
|
|
47
47
|
"vitest": "2.1.2"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@tsed/ajv": ">=8.4.
|
|
51
|
-
"@tsed/core": ">=8.4.
|
|
52
|
-
"@tsed/di": ">=8.4.
|
|
53
|
-
"@tsed/json-mapper": ">=8.4.
|
|
54
|
-
"@tsed/platform-http": ">=8.4.
|
|
55
|
-
"@tsed/schema": ">=8.4.
|
|
50
|
+
"@tsed/ajv": ">=8.4.4",
|
|
51
|
+
"@tsed/core": ">=8.4.4",
|
|
52
|
+
"@tsed/di": ">=8.4.4",
|
|
53
|
+
"@tsed/json-mapper": ">=8.4.4",
|
|
54
|
+
"@tsed/platform-http": ">=8.4.4",
|
|
55
|
+
"@tsed/schema": ">=8.4.4"
|
|
56
56
|
},
|
|
57
57
|
"peerDependenciesMeta": {
|
|
58
58
|
"@tsed/ajv": {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import {dirname} from "node:path";
|
|
2
|
+
|
|
1
3
|
import {nameOf} from "@tsed/core";
|
|
2
4
|
import {Configuration, Injectable, Opts, ProviderScope, Scope} from "@tsed/di";
|
|
3
5
|
import fs from "fs-extra";
|
|
4
6
|
import {LowSync} from "lowdb";
|
|
5
7
|
import {JSONFileSync} from "lowdb/node";
|
|
6
|
-
import {dirname} from "path";
|
|
7
8
|
|
|
8
9
|
import {AdapterConstructorOptions} from "../domain/Adapter.js";
|
|
9
10
|
import {AdapterModel, LowDbAdapter, type LowModel} from "./LowDbAdapter.js";
|