@e-mc/db 0.8.17 → 0.8.19
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/LICENSE +6 -6
- package/README.md +104 -104
- package/index.d.ts +4 -4
- package/package.json +27 -27
- package/pool.d.ts +4 -4
- package/types/index.d.ts +3 -3
- package/util.d.ts +17 -17
package/LICENSE
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
Copyright 2024 An Pham
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
-
|
|
5
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
-
|
|
1
|
+
Copyright 2024 An Pham
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
+
|
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
+
|
|
7
7
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
# @e-mc/db
|
|
2
|
-
|
|
3
|
-
* NodeJS 14
|
|
4
|
-
* ES2019
|
|
5
|
-
|
|
6
|
-
## General Usage
|
|
7
|
-
|
|
8
|
-
* [Read the Docs](https://e-mc.readthedocs.io)
|
|
9
|
-
|
|
10
|
-
## Interface
|
|
11
|
-
|
|
12
|
-
- https://www.unpkg.com/@e-mc/types@0.8.
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import type { DbDataSource } from "./squared";
|
|
16
|
-
|
|
17
|
-
import type { IHost } from "./index";
|
|
18
|
-
import type { ClientDbConstructor, IClientDb } from "./core";
|
|
19
|
-
import type { DB_TYPE, SQL_COMMAND, BatchQueryResult, ExecuteBatchQueryOptions, ExecuteQueryOptions, HandleFailOptions, PoolConfig, ProcessRowsOptions, QueryResult } from "./db";
|
|
20
|
-
import type { DbCoerceSettings, DbModule, DbSourceOptions } from "./settings";
|
|
21
|
-
|
|
22
|
-
import type { SecureContextOptions } from "tls";
|
|
23
|
-
|
|
24
|
-
interface IDb extends IClientDb<IHost, DbModule, DbDataSource, DbSourceOptions, DbCoerceSettings> {
|
|
25
|
-
setCredential(item: DbDataSource): Promise<void>;
|
|
26
|
-
getCredential(item: DbDataSource): Record<string | number | symbol, unknown>;
|
|
27
|
-
hasSource(source: string, ...type: number[]): boolean;
|
|
28
|
-
applyCommand(...items: DbDataSource[]): void;
|
|
29
|
-
executeQuery(item: DbDataSource, sessionKey: string): Promise<QueryResult>;
|
|
30
|
-
executeQuery(item: DbDataSource, options?: ExecuteQueryOptions | string): Promise<QueryResult>;
|
|
31
|
-
executeBatchQuery(batch: DbDataSource[], sessionKey: string, outResult?: BatchQueryResult): Promise<BatchQueryResult>;
|
|
32
|
-
executeBatchQuery(batch: DbDataSource[], options?: ExecuteBatchQueryOptions | string, outResult?: BatchQueryResult): Promise<BatchQueryResult>;
|
|
33
|
-
processRows(batch: DbDataSource[], tasks: Promise<QueryResult | null>[], parallel: boolean): Promise<BatchQueryResult>;
|
|
34
|
-
processRows(batch: DbDataSource[], tasks: Promise<QueryResult | null>[], options?: ProcessRowsOptions, outResult?: BatchQueryResult): Promise<BatchQueryResult>;
|
|
35
|
-
handleFail(err: unknown, item: DbDataSource, options?: HandleFailOptions): boolean;
|
|
36
|
-
readTLSCert(value: unknown, cache?: boolean): string;
|
|
37
|
-
readTLSConfig(options: SecureContextOptions, cache?: boolean): void;
|
|
38
|
-
settingsOf(source: string, name: keyof Omit<DbSourceOptions, "coerce">): unknown;
|
|
39
|
-
settingsOf(source: string, name: "coerce", component: keyof DbCoerceSettings): unknown;
|
|
40
|
-
settingsKey(source: string, name: keyof Omit<DbSourceOptions, "coerce">): unknown;
|
|
41
|
-
settingsKey(source: string, name: "coerce", component: keyof DbCoerceSettings): unknown;
|
|
42
|
-
getPoolConfig(source: string, uuidKey?: string): Required<PoolConfig> | undefined;
|
|
43
|
-
get sourceType(): DB_TYPE;
|
|
44
|
-
get commandType(): SQL_COMMAND;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
interface DbConstructor extends ClientDbConstructor<IHost> {
|
|
48
|
-
setPoolConfig(value: Record<string, PoolConfig>): void;
|
|
49
|
-
getPoolConfig(source: string): Required<PoolConfig> | undefined;
|
|
50
|
-
readonly prototype: IDb;
|
|
51
|
-
new(module?: DbModule, database?: DbDataSource[], ...args: unknown[]): IDb;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
interface IDbSourceClient {
|
|
55
|
-
DB_SOURCE_NAME: string;
|
|
56
|
-
DB_SOURCE_CLIENT: boolean;
|
|
57
|
-
DB_SOURCE_TYPE: number;
|
|
58
|
-
setCredential(this: IDb, item: DbDataSource): Promise<void>;
|
|
59
|
-
executeQuery(this: IDb, item: DbDataSource, options?: ExecuteQueryOptions | string): Promise<QueryResult>;
|
|
60
|
-
executeBatchQuery(this: IDb, batch: DbDataSource[], options?: ExecuteBatchQueryOptions | string, outResult?: BatchQueryResult): Promise<BatchQueryResult>;
|
|
61
|
-
checkTimeout?(this: IDbSourceClient, value: number, limit?: number): Promise<number>;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
interface IDbPool {
|
|
65
|
-
client: unknown;
|
|
66
|
-
lastAccessed: number;
|
|
67
|
-
success: number;
|
|
68
|
-
failed: number;
|
|
69
|
-
poolKey: string;
|
|
70
|
-
uuidKey: AuthValue | null;
|
|
71
|
-
add(item: DbDataSource, uuidKey?: string): this;
|
|
72
|
-
has(item: DbDataSource): boolean;
|
|
73
|
-
getConnection(): Promise<unknown>;
|
|
74
|
-
remove(): void;
|
|
75
|
-
detach(force?: boolean): Promise<void>;
|
|
76
|
-
close(): Promise<void>;
|
|
77
|
-
isIdle(timeout: number): boolean;
|
|
78
|
-
isEmpty(): boolean;
|
|
79
|
-
set connected(value: boolean);
|
|
80
|
-
get persist(): boolean;
|
|
81
|
-
get closed(): boolean;
|
|
82
|
-
get closeable(): boolean;
|
|
83
|
-
set parent(value: Record<string, IDbPool>);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
interface DbPoolConstructor {
|
|
87
|
-
findKey(pools: Record<string, IDbPool>, uuidKey: unknown, poolKey: string | undefined, ...items: DbDataSource[]): Record<string, IDbPool> | null;
|
|
88
|
-
validateKey(pools: Record<string, IDbPool>, username: string, uuidKey: unknown): [string, Record<string, IDbPool> | null];
|
|
89
|
-
checkTimeout(pools: Record<string, IDbPool>, value: number, limit?: number): Promise<number>;
|
|
90
|
-
readonly prototype: IDbPool;
|
|
91
|
-
new(pool: unknown, poolKey: string, uuidKey?: AuthValue | null): IDbPool;
|
|
92
|
-
}
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
## References
|
|
96
|
-
|
|
97
|
-
- https://www.unpkg.com/@e-mc/types@0.8.
|
|
98
|
-
- https://www.unpkg.com/@e-mc/types@0.8.
|
|
99
|
-
- https://www.unpkg.com/@e-mc/types@0.8.
|
|
100
|
-
- https://www.unpkg.com/@e-mc/types@0.8.
|
|
101
|
-
- https://www.unpkg.com/@e-mc/types@0.8.
|
|
102
|
-
|
|
103
|
-
## LICENSE
|
|
104
|
-
|
|
1
|
+
# @e-mc/db
|
|
2
|
+
|
|
3
|
+
* NodeJS 14
|
|
4
|
+
* ES2019
|
|
5
|
+
|
|
6
|
+
## General Usage
|
|
7
|
+
|
|
8
|
+
* [Read the Docs](https://e-mc.readthedocs.io)
|
|
9
|
+
|
|
10
|
+
## Interface
|
|
11
|
+
|
|
12
|
+
- https://www.unpkg.com/@e-mc/types@0.8.19/lib/index.d.ts
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { DbDataSource } from "./squared";
|
|
16
|
+
|
|
17
|
+
import type { IHost } from "./index";
|
|
18
|
+
import type { ClientDbConstructor, IClientDb } from "./core";
|
|
19
|
+
import type { DB_TYPE, SQL_COMMAND, BatchQueryResult, ExecuteBatchQueryOptions, ExecuteQueryOptions, HandleFailOptions, PoolConfig, ProcessRowsOptions, QueryResult } from "./db";
|
|
20
|
+
import type { DbCoerceSettings, DbModule, DbSourceOptions } from "./settings";
|
|
21
|
+
|
|
22
|
+
import type { SecureContextOptions } from "tls";
|
|
23
|
+
|
|
24
|
+
interface IDb extends IClientDb<IHost, DbModule, DbDataSource, DbSourceOptions, DbCoerceSettings> {
|
|
25
|
+
setCredential(item: DbDataSource): Promise<void>;
|
|
26
|
+
getCredential(item: DbDataSource): Record<string | number | symbol, unknown>;
|
|
27
|
+
hasSource(source: string, ...type: number[]): boolean;
|
|
28
|
+
applyCommand(...items: DbDataSource[]): void;
|
|
29
|
+
executeQuery(item: DbDataSource, sessionKey: string): Promise<QueryResult>;
|
|
30
|
+
executeQuery(item: DbDataSource, options?: ExecuteQueryOptions | string): Promise<QueryResult>;
|
|
31
|
+
executeBatchQuery(batch: DbDataSource[], sessionKey: string, outResult?: BatchQueryResult): Promise<BatchQueryResult>;
|
|
32
|
+
executeBatchQuery(batch: DbDataSource[], options?: ExecuteBatchQueryOptions | string, outResult?: BatchQueryResult): Promise<BatchQueryResult>;
|
|
33
|
+
processRows(batch: DbDataSource[], tasks: Promise<QueryResult | null>[], parallel: boolean): Promise<BatchQueryResult>;
|
|
34
|
+
processRows(batch: DbDataSource[], tasks: Promise<QueryResult | null>[], options?: ProcessRowsOptions, outResult?: BatchQueryResult): Promise<BatchQueryResult>;
|
|
35
|
+
handleFail(err: unknown, item: DbDataSource, options?: HandleFailOptions): boolean;
|
|
36
|
+
readTLSCert(value: unknown, cache?: boolean): string;
|
|
37
|
+
readTLSConfig(options: SecureContextOptions, cache?: boolean): void;
|
|
38
|
+
settingsOf(source: string, name: keyof Omit<DbSourceOptions, "coerce">): unknown;
|
|
39
|
+
settingsOf(source: string, name: "coerce", component: keyof DbCoerceSettings): unknown;
|
|
40
|
+
settingsKey(source: string, name: keyof Omit<DbSourceOptions, "coerce">): unknown;
|
|
41
|
+
settingsKey(source: string, name: "coerce", component: keyof DbCoerceSettings): unknown;
|
|
42
|
+
getPoolConfig(source: string, uuidKey?: string): Required<PoolConfig> | undefined;
|
|
43
|
+
get sourceType(): DB_TYPE;
|
|
44
|
+
get commandType(): SQL_COMMAND;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
interface DbConstructor extends ClientDbConstructor<IHost> {
|
|
48
|
+
setPoolConfig(value: Record<string, PoolConfig>): void;
|
|
49
|
+
getPoolConfig(source: string): Required<PoolConfig> | undefined;
|
|
50
|
+
readonly prototype: IDb;
|
|
51
|
+
new(module?: DbModule, database?: DbDataSource[], ...args: unknown[]): IDb;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
interface IDbSourceClient {
|
|
55
|
+
DB_SOURCE_NAME: string;
|
|
56
|
+
DB_SOURCE_CLIENT: boolean;
|
|
57
|
+
DB_SOURCE_TYPE: number;
|
|
58
|
+
setCredential(this: IDb, item: DbDataSource): Promise<void>;
|
|
59
|
+
executeQuery(this: IDb, item: DbDataSource, options?: ExecuteQueryOptions | string): Promise<QueryResult>;
|
|
60
|
+
executeBatchQuery(this: IDb, batch: DbDataSource[], options?: ExecuteBatchQueryOptions | string, outResult?: BatchQueryResult): Promise<BatchQueryResult>;
|
|
61
|
+
checkTimeout?(this: IDbSourceClient, value: number, limit?: number): Promise<number>;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
interface IDbPool {
|
|
65
|
+
client: unknown;
|
|
66
|
+
lastAccessed: number;
|
|
67
|
+
success: number;
|
|
68
|
+
failed: number;
|
|
69
|
+
poolKey: string;
|
|
70
|
+
uuidKey: AuthValue | null;
|
|
71
|
+
add(item: DbDataSource, uuidKey?: string): this;
|
|
72
|
+
has(item: DbDataSource): boolean;
|
|
73
|
+
getConnection(): Promise<unknown>;
|
|
74
|
+
remove(): void;
|
|
75
|
+
detach(force?: boolean): Promise<void>;
|
|
76
|
+
close(): Promise<void>;
|
|
77
|
+
isIdle(timeout: number): boolean;
|
|
78
|
+
isEmpty(): boolean;
|
|
79
|
+
set connected(value: boolean);
|
|
80
|
+
get persist(): boolean;
|
|
81
|
+
get closed(): boolean;
|
|
82
|
+
get closeable(): boolean;
|
|
83
|
+
set parent(value: Record<string, IDbPool>);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
interface DbPoolConstructor {
|
|
87
|
+
findKey(pools: Record<string, IDbPool>, uuidKey: unknown, poolKey: string | undefined, ...items: DbDataSource[]): Record<string, IDbPool> | null;
|
|
88
|
+
validateKey(pools: Record<string, IDbPool>, username: string, uuidKey: unknown): [string, Record<string, IDbPool> | null];
|
|
89
|
+
checkTimeout(pools: Record<string, IDbPool>, value: number, limit?: number): Promise<number>;
|
|
90
|
+
readonly prototype: IDbPool;
|
|
91
|
+
new(pool: unknown, poolKey: string, uuidKey?: AuthValue | null): IDbPool;
|
|
92
|
+
}
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## References
|
|
96
|
+
|
|
97
|
+
- https://www.unpkg.com/@e-mc/types@0.8.19/lib/squared.d.ts
|
|
98
|
+
- https://www.unpkg.com/@e-mc/types@0.8.19/lib/core.d.ts
|
|
99
|
+
- https://www.unpkg.com/@e-mc/types@0.8.19/lib/db.d.ts
|
|
100
|
+
- https://www.unpkg.com/@e-mc/types@0.8.19/lib/object.d.ts
|
|
101
|
+
- https://www.unpkg.com/@e-mc/types@0.8.19/lib/settings.d.ts
|
|
102
|
+
|
|
103
|
+
## LICENSE
|
|
104
|
+
|
|
105
105
|
MIT
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DbConstructor } from '
|
|
2
|
-
|
|
3
|
-
declare const Db: DbConstructor;
|
|
4
|
-
|
|
1
|
+
import type { DbConstructor } from '@e-mc/types/lib';
|
|
2
|
+
|
|
3
|
+
declare const Db: DbConstructor;
|
|
4
|
+
|
|
5
5
|
export = Db;
|
package/package.json
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@e-mc/db",
|
|
3
|
-
"version": "0.8.
|
|
4
|
-
"description": "DB modules for E-mc.",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"types": "index.d.ts",
|
|
7
|
-
"publishConfig": {
|
|
8
|
-
"access": "public"
|
|
9
|
-
},
|
|
10
|
-
"repository": {
|
|
11
|
-
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/anpham6/e-mc.git",
|
|
13
|
-
"directory": "src/db"
|
|
14
|
-
},
|
|
15
|
-
"keywords": [
|
|
16
|
-
"squared",
|
|
17
|
-
"squared-functions"
|
|
18
|
-
],
|
|
19
|
-
"author": "An Pham <anpham6@gmail.com>",
|
|
20
|
-
"license": "MIT",
|
|
21
|
-
"homepage": "https://github.com/anpham6/e-mc#readme",
|
|
22
|
-
"dependencies": {
|
|
23
|
-
"@e-mc/core": "0.8.
|
|
24
|
-
"@e-mc/request": "0.8.
|
|
25
|
-
"@e-mc/types": "0.8.
|
|
26
|
-
}
|
|
27
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@e-mc/db",
|
|
3
|
+
"version": "0.8.19",
|
|
4
|
+
"description": "DB modules for E-mc.",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"types": "index.d.ts",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/anpham6/e-mc.git",
|
|
13
|
+
"directory": "src/db"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"squared",
|
|
17
|
+
"squared-functions"
|
|
18
|
+
],
|
|
19
|
+
"author": "An Pham <anpham6@gmail.com>",
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"homepage": "https://github.com/anpham6/e-mc#readme",
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@e-mc/core": "0.8.19",
|
|
24
|
+
"@e-mc/request": "0.8.19",
|
|
25
|
+
"@e-mc/types": "0.8.19"
|
|
26
|
+
}
|
|
27
|
+
}
|
package/pool.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DbPoolConstructor } from '
|
|
2
|
-
|
|
3
|
-
declare const DbPool: DbPoolConstructor;
|
|
4
|
-
|
|
1
|
+
import type { DbPoolConstructor } from '@e-mc/types/lib/db';
|
|
2
|
+
|
|
3
|
+
declare const DbPool: DbPoolConstructor;
|
|
4
|
+
|
|
5
5
|
export = DbPool;
|
package/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { DbDataSource } from '
|
|
1
|
+
import type { DbDataSource } from '@e-mc/types/lib/squared';
|
|
2
2
|
|
|
3
|
-
import type { IDb } from '
|
|
4
|
-
import type { BatchQueryResult, ExecuteBatchQueryOptions, ExecuteQueryOptions, QueryResult } from '
|
|
3
|
+
import type { IDb } from '@e-mc/types/lib';
|
|
4
|
+
import type { BatchQueryResult, ExecuteBatchQueryOptions, ExecuteQueryOptions, QueryResult } from '@e-mc/types/lib/db';
|
|
5
5
|
|
|
6
6
|
export interface IDbSourceClient<T extends DbDataSource = DbDataSource> {
|
|
7
7
|
DB_SOURCE_NAME: string;
|
package/util.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import type { DbDataSource } from '
|
|
2
|
-
|
|
3
|
-
import type { DbConnection, SQL_COMMAND, ServerAuth } from '
|
|
4
|
-
|
|
5
|
-
declare namespace util {
|
|
6
|
-
const SQL_COMMAND: SQL_COMMAND;
|
|
7
|
-
const IMPORTS: Record<string, string | undefined>;
|
|
8
|
-
function getBasicAuth(auth: AuthValue): string;
|
|
9
|
-
function getBasicAuth(username: unknown, password?: unknown): string;
|
|
10
|
-
function hasBasicAuth(value: string): boolean;
|
|
11
|
-
function parseConnectionString(value: string, scheme?: string): Null<DbConnection>;
|
|
12
|
-
function parseServerAuth(value: ServerAuth, all: boolean): ServerAuth;
|
|
13
|
-
function parseServerAuth(value: ServerAuth, port?: number, all?: boolean): ServerAuth;
|
|
14
|
-
function checkEmpty(value: unknown): boolean;
|
|
15
|
-
function setUUIDKey(item: DbDataSource, value: unknown): void;
|
|
16
|
-
}
|
|
17
|
-
|
|
1
|
+
import type { DbDataSource } from '@e-mc/types/lib/squared';
|
|
2
|
+
|
|
3
|
+
import type { DbConnection, SQL_COMMAND, ServerAuth } from '@e-mc/types/lib/db';
|
|
4
|
+
|
|
5
|
+
declare namespace util {
|
|
6
|
+
const SQL_COMMAND: SQL_COMMAND;
|
|
7
|
+
const IMPORTS: Record<string, string | undefined>;
|
|
8
|
+
function getBasicAuth(auth: AuthValue): string;
|
|
9
|
+
function getBasicAuth(username: unknown, password?: unknown): string;
|
|
10
|
+
function hasBasicAuth(value: string): boolean;
|
|
11
|
+
function parseConnectionString(value: string, scheme?: string): Null<DbConnection>;
|
|
12
|
+
function parseServerAuth(value: ServerAuth, all: boolean): ServerAuth;
|
|
13
|
+
function parseServerAuth(value: ServerAuth, port?: number, all?: boolean): ServerAuth;
|
|
14
|
+
function checkEmpty(value: unknown): boolean;
|
|
15
|
+
function setUUIDKey(item: DbDataSource, value: unknown): void;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
18
|
export = util;
|