@creator.co/wapi 1.4.0-alpha3 → 1.4.0-alpha4
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/package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { Database } from './Database';
|
|
2
2
|
import { DatabaseManager } from './DatabaseManager';
|
|
3
3
|
import { DatabaseTransaction } from './DatabaseTransaction';
|
|
4
|
+
import { KnexDatabase } from './integrations/knex/KnexDatabase';
|
|
4
5
|
import { KnexTransaction } from './integrations/knex/KnexTransaction';
|
|
6
|
+
import { KyselyDatabase } from './integrations/kysely/KyselyDatabase';
|
|
5
7
|
import { KyselyTransaction } from './integrations/kysely/KyselyTransaction';
|
|
8
|
+
import { PostgresDatabase } from './integrations/pgsql/PostgresDatabase';
|
|
6
9
|
import { PostgresTransaction } from './integrations/pgsql/PostgresTransaction';
|
|
7
10
|
import { DbConfig } from './types';
|
|
8
|
-
export { DatabaseTransaction, DbConfig, KnexTransaction, PostgresTransaction,
|
|
11
|
+
export { DatabaseTransaction, Database, DatabaseManager, DbConfig, KnexTransaction, KnexDatabase, PostgresTransaction, PostgresDatabase, KyselyTransaction, KyselyDatabase, };
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.KyselyDatabase = exports.PostgresDatabase = exports.KnexDatabase = exports.DatabaseManager = exports.Database = exports.DatabaseTransaction = void 0;
|
|
4
4
|
var Database_1 = require("./Database");
|
|
5
5
|
Object.defineProperty(exports, "Database", { enumerable: true, get: function () { return Database_1.Database; } });
|
|
6
6
|
var DatabaseManager_1 = require("./DatabaseManager");
|
|
7
7
|
Object.defineProperty(exports, "DatabaseManager", { enumerable: true, get: function () { return DatabaseManager_1.DatabaseManager; } });
|
|
8
8
|
var DatabaseTransaction_1 = require("./DatabaseTransaction");
|
|
9
9
|
Object.defineProperty(exports, "DatabaseTransaction", { enumerable: true, get: function () { return DatabaseTransaction_1.DatabaseTransaction; } });
|
|
10
|
+
var KnexDatabase_1 = require("./integrations/knex/KnexDatabase");
|
|
11
|
+
Object.defineProperty(exports, "KnexDatabase", { enumerable: true, get: function () { return KnexDatabase_1.KnexDatabase; } });
|
|
12
|
+
var KyselyDatabase_1 = require("./integrations/kysely/KyselyDatabase");
|
|
13
|
+
Object.defineProperty(exports, "KyselyDatabase", { enumerable: true, get: function () { return KyselyDatabase_1.KyselyDatabase; } });
|
|
14
|
+
var PostgresDatabase_1 = require("./integrations/pgsql/PostgresDatabase");
|
|
15
|
+
Object.defineProperty(exports, "PostgresDatabase", { enumerable: true, get: function () { return PostgresDatabase_1.PostgresDatabase; } });
|
|
10
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Database/index.ts"],"names":[],"mappings":";;;AAAA,uCAAqC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Database/index.ts"],"names":[],"mappings":";;;AAAA,uCAAqC;AAcnC,yFAdO,mBAAQ,OAcP;AAbV,qDAAmD;AAejD,gGAfO,iCAAe,OAeP;AAdjB,6DAA2D;AAWzD,oGAXO,yCAAmB,OAWP;AAVrB,iEAA+D;AAiB7D,6FAjBO,2BAAY,OAiBP;AAfd,uEAAqE;AAqBnE,+FArBO,+BAAc,OAqBP;AAnBhB,0EAAwE;AAgBtE,iGAhBO,mCAAgB,OAgBP"}
|
package/package.json
CHANGED
package/src/Database/index.ts
CHANGED
|
@@ -1,17 +1,28 @@
|
|
|
1
1
|
import { Database } from './Database'
|
|
2
2
|
import { DatabaseManager } from './DatabaseManager'
|
|
3
3
|
import { DatabaseTransaction } from './DatabaseTransaction'
|
|
4
|
+
import { KnexDatabase } from './integrations/knex/KnexDatabase'
|
|
4
5
|
import { KnexTransaction } from './integrations/knex/KnexTransaction'
|
|
6
|
+
import { KyselyDatabase } from './integrations/kysely/KyselyDatabase'
|
|
5
7
|
import { KyselyTransaction } from './integrations/kysely/KyselyTransaction'
|
|
8
|
+
import { PostgresDatabase } from './integrations/pgsql/PostgresDatabase'
|
|
6
9
|
import { PostgresTransaction } from './integrations/pgsql/PostgresTransaction'
|
|
7
10
|
import { DbConfig } from './types'
|
|
8
11
|
|
|
9
12
|
export {
|
|
13
|
+
// Abstracts
|
|
10
14
|
DatabaseTransaction,
|
|
15
|
+
Database,
|
|
16
|
+
// 'Entrypoints'
|
|
17
|
+
DatabaseManager,
|
|
11
18
|
DbConfig,
|
|
19
|
+
// Knex
|
|
12
20
|
KnexTransaction,
|
|
21
|
+
KnexDatabase,
|
|
22
|
+
// Postgres
|
|
13
23
|
PostgresTransaction,
|
|
24
|
+
PostgresDatabase,
|
|
25
|
+
// Kysely
|
|
14
26
|
KyselyTransaction,
|
|
15
|
-
|
|
16
|
-
Database,
|
|
27
|
+
KyselyDatabase,
|
|
17
28
|
}
|