@gapi/falkordb 1.8.169 → 1.8.170
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/dist/falkordb.config.d.ts +2 -2
- package/dist/index.js +9 -5
- package/eslint.config.mjs +38 -0
- package/package.json +3 -3
- package/tsconfig.json +5 -18
|
@@ -2,6 +2,6 @@ import { InjectionToken } from '@rxdi/core';
|
|
|
2
2
|
import { FalkorDB as FalkorDb } from 'falkordb';
|
|
3
3
|
import { FalkorDBOptions } from 'falkordb/dist/src/falkordb';
|
|
4
4
|
export declare const FalkorDBConfig: InjectionToken<unknown>;
|
|
5
|
-
export
|
|
5
|
+
export type FalkorDBConfig = FalkorDBOptions;
|
|
6
6
|
export declare const FalkorDB: InjectionToken<unknown>;
|
|
7
|
-
export
|
|
7
|
+
export type FalkorDB = FalkorDb;
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -13,7 +17,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
17
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14
18
|
};
|
|
15
19
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
-
for (var p in m) if (p !== "default" && !
|
|
20
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
21
|
};
|
|
18
22
|
var FalkorDBModule_1;
|
|
19
23
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -40,8 +44,8 @@ let FalkorDBModule = FalkorDBModule_1 = class FalkorDBModule {
|
|
|
40
44
|
};
|
|
41
45
|
}
|
|
42
46
|
};
|
|
43
|
-
FalkorDBModule = FalkorDBModule_1 = __decorate([
|
|
44
|
-
core_1.Module()
|
|
45
|
-
], FalkorDBModule);
|
|
46
47
|
exports.FalkorDBModule = FalkorDBModule;
|
|
48
|
+
exports.FalkorDBModule = FalkorDBModule = FalkorDBModule_1 = __decorate([
|
|
49
|
+
(0, core_1.Module)()
|
|
50
|
+
], FalkorDBModule);
|
|
47
51
|
__exportStar(require("./falkordb.config"), exports);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { defineConfig, globalIgnores } from 'eslint/config';
|
|
2
|
+
import tsParser from '@typescript-eslint/parser';
|
|
3
|
+
import tsPlugin from '@typescript-eslint/eslint-plugin';
|
|
4
|
+
import prettierPlugin from 'eslint-plugin-prettier';
|
|
5
|
+
import simpleImportSort from 'eslint-plugin-simple-import-sort';
|
|
6
|
+
import prettierConfig from 'eslint-config-prettier';
|
|
7
|
+
|
|
8
|
+
export default defineConfig([
|
|
9
|
+
globalIgnores(['dist/*']),
|
|
10
|
+
{
|
|
11
|
+
files: ['./src/**/*.ts', './src/**/*.tsx'],
|
|
12
|
+
languageOptions: {
|
|
13
|
+
parser: tsParser,
|
|
14
|
+
ecmaVersion: 2018,
|
|
15
|
+
sourceType: 'module',
|
|
16
|
+
},
|
|
17
|
+
plugins: {
|
|
18
|
+
'@typescript-eslint': tsPlugin,
|
|
19
|
+
prettier: prettierPlugin,
|
|
20
|
+
'simple-import-sort': simpleImportSort, // ✅ MUST MATCH RULE PREFIX
|
|
21
|
+
},
|
|
22
|
+
rules: {
|
|
23
|
+
...tsPlugin.configs.recommended.rules,
|
|
24
|
+
...prettierConfig.rules,
|
|
25
|
+
|
|
26
|
+
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
27
|
+
'@typescript-eslint/camelcase': 'off',
|
|
28
|
+
'@typescript-eslint/interface-name-prefix': 'off',
|
|
29
|
+
|
|
30
|
+
'simple-import-sort/imports': 'error',
|
|
31
|
+
'simple-import-sort/exports': 'error',
|
|
32
|
+
'sort-imports': 'off',
|
|
33
|
+
'import/order': 'off',
|
|
34
|
+
|
|
35
|
+
'prettier/prettier': 'error',
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gapi/falkordb",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.170",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/Stradivario/falkordb.git"
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"falkordb": "^6.3.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@rxdi/core": "^0.7.
|
|
36
|
-
"@types/node": "^
|
|
35
|
+
"@rxdi/core": "^0.7.194",
|
|
36
|
+
"@types/node": "^25.0.3"
|
|
37
37
|
},
|
|
38
38
|
"main": "./dist/index.js",
|
|
39
39
|
"types": "./dist/index.d.ts",
|
package/tsconfig.json
CHANGED
|
@@ -10,21 +10,10 @@
|
|
|
10
10
|
"moduleResolution": "node",
|
|
11
11
|
"outDir": "dist",
|
|
12
12
|
"rootDir": "./src",
|
|
13
|
-
"lib": [
|
|
14
|
-
"es2017",
|
|
15
|
-
"es2016",
|
|
16
|
-
"es2015",
|
|
17
|
-
"es6",
|
|
18
|
-
"dom",
|
|
19
|
-
"esnext.asynciterable"
|
|
20
|
-
],
|
|
13
|
+
"lib": ["es2017", "es2016", "es2015", "es6", "dom", "esnext.asynciterable"],
|
|
21
14
|
"skipLibCheck": true,
|
|
22
|
-
"types": [
|
|
23
|
-
|
|
24
|
-
],
|
|
25
|
-
"typeRoots": [
|
|
26
|
-
"node_modules/"
|
|
27
|
-
]
|
|
15
|
+
"types": [],
|
|
16
|
+
"typeRoots": ["node_modules/"]
|
|
28
17
|
},
|
|
29
18
|
"angularCompilerOptions": {
|
|
30
19
|
"annotateForClosureCompiler": true,
|
|
@@ -33,7 +22,5 @@
|
|
|
33
22
|
"flatModuleOutFile": "gapi-amqp.js",
|
|
34
23
|
"flatModuleId": "gapi-amqp"
|
|
35
24
|
},
|
|
36
|
-
"files": [
|
|
37
|
-
|
|
38
|
-
]
|
|
39
|
-
}
|
|
25
|
+
"files": ["./src/index.ts"]
|
|
26
|
+
}
|