@aneuhold/be-ts-db-lib 1.0.6 → 1.0.7
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/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import ApiKeyRepository from './repositories/common/ApiKeyRepository';
|
|
2
2
|
import UserRepository from './repositories/common/UserRepository';
|
|
3
|
+
import DashboardUserConfigRepository from './repositories/dashboard/UserConfigRepository';
|
|
3
4
|
import DocumentDb from './util/DocumentDb';
|
|
4
|
-
export { UserRepository, ApiKeyRepository, DocumentDb };
|
|
5
|
+
export { UserRepository, ApiKeyRepository, DocumentDb, DashboardUserConfigRepository };
|
|
5
6
|
export type {};
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AACtE,OAAO,cAAc,MAAM,sCAAsC,CAAC;AAClE,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAG3C,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AACtE,OAAO,cAAc,MAAM,sCAAsC,CAAC;AAClE,OAAO,6BAA6B,MAAM,+CAA+C,CAAC;AAC1F,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAG3C,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,6BAA6B,EAC9B,CAAC;AAGF,YAAY,EAAE,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -3,10 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.DocumentDb = exports.ApiKeyRepository = exports.UserRepository = void 0;
|
|
6
|
+
exports.DashboardUserConfigRepository = exports.DocumentDb = exports.ApiKeyRepository = exports.UserRepository = void 0;
|
|
7
7
|
const ApiKeyRepository_1 = __importDefault(require("./repositories/common/ApiKeyRepository"));
|
|
8
8
|
exports.ApiKeyRepository = ApiKeyRepository_1.default;
|
|
9
9
|
const UserRepository_1 = __importDefault(require("./repositories/common/UserRepository"));
|
|
10
10
|
exports.UserRepository = UserRepository_1.default;
|
|
11
|
+
const UserConfigRepository_1 = __importDefault(require("./repositories/dashboard/UserConfigRepository"));
|
|
12
|
+
exports.DashboardUserConfigRepository = UserConfigRepository_1.default;
|
|
11
13
|
const DocumentDb_1 = __importDefault(require("./util/DocumentDb"));
|
|
12
14
|
exports.DocumentDb = DocumentDb_1.default;
|
|
@@ -24,7 +24,7 @@ it.skip('can add a new test user', async () => {
|
|
|
24
24
|
const createResult = await userRepository.insertNew(newUser);
|
|
25
25
|
expect(createResult).toBeTruthy();
|
|
26
26
|
});
|
|
27
|
-
it('can create a dashboard config for a user', async () => {
|
|
27
|
+
it.skip('can create a dashboard config for a user', async () => {
|
|
28
28
|
const userRepo = UserRepository_1.default.getRepo();
|
|
29
29
|
const user = await userRepo.get({ userName: 'usernameHere' });
|
|
30
30
|
expect(user).toBeTruthy();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aneuhold/be-ts-db-lib",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "A backend database library meant to actually interact with various databases in personal projects",
|
|
5
5
|
"author": "Anton G Neuhold Jr <agneuhold@gmail.com>",
|
|
6
6
|
"license": "MIT",
|