@boxyhq/saml-jackson 1.2.2 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
1
1
  import { IAdminController, Storable } from '../typings';
2
2
  export declare class AdminController implements IAdminController {
3
- configStore: Storable;
4
- constructor({ configStore }: {
5
- configStore: any;
3
+ connectionStore: Storable;
4
+ constructor({ connectionStore }: {
5
+ connectionStore: any;
6
6
  });
7
- getAllConfig(pageOffset?: number, pageLimit?: number): Promise<Partial<any>[]>;
7
+ getAllConnection(pageOffset?: number, pageLimit?: number): Promise<Partial<any>[]>;
8
8
  }
@@ -11,16 +11,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.AdminController = void 0;
13
13
  class AdminController {
14
- constructor({ configStore }) {
15
- this.configStore = configStore;
14
+ constructor({ connectionStore }) {
15
+ this.connectionStore = connectionStore;
16
16
  }
17
- getAllConfig(pageOffset, pageLimit) {
17
+ getAllConnection(pageOffset, pageLimit) {
18
18
  return __awaiter(this, void 0, void 0, function* () {
19
- const configList = (yield this.configStore.getAll(pageOffset, pageLimit));
20
- if (!configList || !configList.length) {
19
+ const connectionList = (yield this.connectionStore.getAll(pageOffset, pageLimit));
20
+ if (!connectionList || !connectionList.length) {
21
21
  return [];
22
22
  }
23
- return configList;
23
+ return connectionList;
24
24
  });
25
25
  }
26
26
  }