@sdflc/backend-helpers 1.0.76 → 1.0.78

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.
Files changed (106) hide show
  1. package/README.md +178 -178
  2. package/build/BaseCore.d.ts +88 -88
  3. package/build/BaseCore.js +819 -819
  4. package/build/BaseGateway.d.ts +49 -49
  5. package/build/BaseGateway.js +484 -483
  6. package/build/DataCache.d.ts +14 -14
  7. package/build/DataCache.js +104 -104
  8. package/build/Database.d.ts +32 -32
  9. package/build/Database.js +198 -198
  10. package/build/DbMigratorAndSeeder.d.ts +49 -49
  11. package/build/DbMigratorAndSeeder.js +238 -228
  12. package/build/RedisDataLoader.d.ts +41 -41
  13. package/build/RedisDataLoader.js +248 -248
  14. package/build/apiContext.d.ts +11 -11
  15. package/build/apiContext.js +143 -143
  16. package/build/{BaseController.d.ts → baseController.d.ts} +17 -17
  17. package/build/{BaseController.js → baseController.js} +66 -66
  18. package/build/checkItHelpers.d.ts +3 -3
  19. package/build/checkItHelpers.js +28 -28
  20. package/build/commonValidators.d.ts +17 -17
  21. package/build/commonValidators.js +298 -298
  22. package/build/configBulder.d.ts +2 -2
  23. package/build/configBulder.js +32 -32
  24. package/build/constants.d.ts +30 -30
  25. package/build/constants.js +80 -81
  26. package/build/dbHelpers.d.ts +43 -43
  27. package/build/dbHelpers.js +166 -166
  28. package/build/dbSeeder.d.ts +2 -2
  29. package/build/dbSeeder.js +92 -82
  30. package/build/dbTableHelpers.d.ts +11 -11
  31. package/build/dbTableHelpers.js +110 -110
  32. package/build/downloadHelpers.d.ts +2 -2
  33. package/build/downloadHelpers.js +83 -83
  34. package/build/index.d.ts +21 -21
  35. package/build/index.js +37 -37
  36. package/build/interfaces/ApiContext.d.ts +24 -24
  37. package/build/interfaces/ApiContext.js +2 -2
  38. package/build/interfaces/ApiContextInterface.d.ts +12 -12
  39. package/build/interfaces/ApiContextInterface.js +2 -2
  40. package/build/interfaces/BaseCoreActionsInterface.d.ts +38 -38
  41. package/build/interfaces/BaseCoreActionsInterface.js +2 -2
  42. package/build/interfaces/BaseCoreDoAuthOnActionInterface.d.ts +12 -12
  43. package/build/interfaces/BaseCoreDoAuthOnActionInterface.js +2 -2
  44. package/build/interfaces/BaseCoreDoingWhatInterface.d.ts +13 -13
  45. package/build/interfaces/BaseCoreDoingWhatInterface.js +2 -2
  46. package/build/interfaces/BaseCorePropsInterface.d.ts +36 -36
  47. package/build/interfaces/BaseCorePropsInterface.js +2 -2
  48. package/build/interfaces/BaseCoreValidatorsInterface.d.ts +13 -13
  49. package/build/interfaces/BaseCoreValidatorsInterface.js +2 -2
  50. package/build/interfaces/BaseGatewayPropsInterface.d.ts +39 -39
  51. package/build/interfaces/BaseGatewayPropsInterface.js +2 -2
  52. package/build/interfaces/BuildConfigOptions.d.ts +6 -6
  53. package/build/interfaces/BuildConfigOptions.js +2 -2
  54. package/build/interfaces/BuildDefaultResolversOptions.d.ts +17 -17
  55. package/build/interfaces/BuildDefaultResolversOptions.js +2 -2
  56. package/build/interfaces/BuildListQueryArgsInterface.d.ts +6 -6
  57. package/build/interfaces/BuildListQueryArgsInterface.js +2 -2
  58. package/build/interfaces/CacheInterface.d.ts +15 -15
  59. package/build/interfaces/CacheInterface.js +2 -2
  60. package/build/interfaces/CommonValidatorArgs.d.ts +3 -3
  61. package/build/interfaces/CommonValidatorArgs.js +2 -2
  62. package/build/interfaces/CoreActionInterface.d.ts +14 -14
  63. package/build/interfaces/CoreActionInterface.js +2 -2
  64. package/build/interfaces/CreateUserTokenArgs.d.ts +11 -11
  65. package/build/interfaces/CreateUserTokenArgs.js +2 -2
  66. package/build/interfaces/CreateUserTokenResult.d.ts +4 -4
  67. package/build/interfaces/CreateUserTokenResult.js +2 -2
  68. package/build/interfaces/DatabaseOptions.d.ts +22 -22
  69. package/build/interfaces/DatabaseOptions.js +2 -2
  70. package/build/interfaces/DatabaseReadInterface.d.ts +14 -14
  71. package/build/interfaces/DatabaseReadInterface.js +2 -2
  72. package/build/interfaces/DbFieldAddDefaultInterface.d.ts +9 -9
  73. package/build/interfaces/DbFieldAddDefaultInterface.js +2 -2
  74. package/build/interfaces/DownloadFileArgs.d.ts +6 -6
  75. package/build/interfaces/DownloadFileArgs.js +2 -2
  76. package/build/interfaces/ExtractCredentialsArgs.d.ts +19 -19
  77. package/build/interfaces/ExtractCredentialsArgs.js +2 -2
  78. package/build/interfaces/JwtTokenSecretAndSettings.d.ts +5 -5
  79. package/build/interfaces/JwtTokenSecretAndSettings.js +2 -2
  80. package/build/interfaces/ListArgsInterface.d.ts +5 -5
  81. package/build/interfaces/ListArgsInterface.js +2 -2
  82. package/build/interfaces/LoaderInterface.d.ts +4 -4
  83. package/build/interfaces/LoaderInterface.js +2 -2
  84. package/build/interfaces/PaginationInterface.d.ts +7 -7
  85. package/build/interfaces/PaginationInterface.js +2 -2
  86. package/build/interfaces/SortItemInterface.d.ts +4 -4
  87. package/build/interfaces/SortItemInterface.js +2 -2
  88. package/build/interfaces/UserTokenParams.d.ts +8 -8
  89. package/build/interfaces/UserTokenParams.js +2 -2
  90. package/build/interfaces/VerifyUserTokenArgs.d.ts +13 -13
  91. package/build/interfaces/VerifyUserTokenArgs.js +2 -2
  92. package/build/interfaces/index.d.ts +28 -28
  93. package/build/interfaces/index.js +43 -43
  94. package/build/knexConfigBuilder.d.ts +1 -1
  95. package/build/knexConfigBuilder.js +80 -80
  96. package/build/passwordHelpers.d.ts +5 -5
  97. package/build/passwordHelpers.js +30 -30
  98. package/build/redisClient.d.ts +17 -17
  99. package/build/redisClient.js +97 -97
  100. package/build/resolversHelpers.d.ts +3 -3
  101. package/build/resolversHelpers.js +62 -62
  102. package/build/userToken.d.ts +8 -8
  103. package/build/userToken.js +86 -86
  104. package/build/utils.d.ts +2 -2
  105. package/build/utils.js +21 -21
  106. package/package.json +71 -71
@@ -1,15 +1,15 @@
1
- import { Database } from '../Database';
2
- export interface CacheInterface {
3
- db: Database;
4
- keyPrefix?: string;
5
- context?: any;
6
- table?: string;
7
- idField?: string;
8
- idFieldAs?: string;
9
- selectFields?: any[];
10
- readAll?: boolean;
11
- redisClient?: any;
12
- cacheTtl?: number;
13
- loaderFn?(args?: any): any;
14
- buildKey?(args: any): string;
15
- }
1
+ import { Database } from '../Database';
2
+ export interface CacheInterface {
3
+ db: Database;
4
+ keyPrefix?: string;
5
+ context?: any;
6
+ table?: string;
7
+ idField?: string;
8
+ idFieldAs?: string;
9
+ selectFields?: any[];
10
+ readAll?: boolean;
11
+ redisClient?: any;
12
+ cacheTtl?: number;
13
+ loaderFn?(args?: any): any;
14
+ buildKey?(args: any): string;
15
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,3 @@
1
- export interface CommonValidatorArgs {
2
- rules: any;
3
- }
1
+ export interface CommonValidatorArgs {
2
+ rules: any;
3
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,14 +1,14 @@
1
- import { BaseCoreActionsInterface } from './BaseCoreActionsInterface';
2
- export interface CoreActionInterface {
3
- args: any;
4
- actionName?: string;
5
- doAuth?: boolean;
6
- accessRights?: any[];
7
- validate?(args: any, opt: BaseCoreActionsInterface): Promise<any[]> | any[];
8
- action(args?: any, opt?: any): any;
9
- hasTransaction: boolean;
10
- doingWhat?: string;
11
- onException?(params: any, opt?: BaseCoreActionsInterface): Promise<any | undefined | null>;
12
- shouldLogArgs?: boolean;
13
- requireSpace?: boolean;
14
- }
1
+ import { BaseCoreActionsInterface } from './BaseCoreActionsInterface';
2
+ export interface CoreActionInterface {
3
+ args: any;
4
+ actionName?: string;
5
+ doAuth?: boolean;
6
+ accessRights?: any[];
7
+ validate?(args: any, opt: BaseCoreActionsInterface): Promise<any[]> | any[];
8
+ action(args?: any, opt?: any): any;
9
+ hasTransaction: boolean;
10
+ doingWhat?: string;
11
+ onException?(params: any, opt?: BaseCoreActionsInterface): Promise<any | undefined | null>;
12
+ shouldLogArgs?: boolean;
13
+ requireSpace?: boolean;
14
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +1,11 @@
1
- export interface CreateUserTokenArgs {
2
- algorithm?: any;
3
- audience?: string | string[];
4
- issuer?: string;
5
- jwtid?: string;
6
- noTimestamp?: boolean;
7
- header?: any;
8
- keyid?: any;
9
- expiresIn?: number;
10
- useFingerprint?: boolean;
11
- }
1
+ export interface CreateUserTokenArgs {
2
+ algorithm?: any;
3
+ audience?: string | string[];
4
+ issuer?: string;
5
+ jwtid?: string;
6
+ noTimestamp?: boolean;
7
+ header?: any;
8
+ keyid?: any;
9
+ expiresIn?: number;
10
+ useFingerprint?: boolean;
11
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- export interface CreateUserTokenResult {
2
- token: string;
3
- fingerprint: string;
4
- }
1
+ export interface CreateUserTokenResult {
2
+ token: string;
3
+ fingerprint: string;
4
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,22 +1,22 @@
1
- import { Logger } from '@sdflc/utils';
2
- /**
3
- * Interface to initialize Database object
4
- */
5
- export interface DatabaseOptions {
6
- /**
7
- * Knex configuration object
8
- */
9
- knexConfig: any;
10
- /**
11
- * Name of database schema
12
- */
13
- dbSchema: string;
14
- /**
15
- * Knex transaction object
16
- */
17
- trx?: any;
18
- /**
19
- * Logger for debugging/logging
20
- */
21
- logger?: Logger;
22
- }
1
+ import { Logger } from '@sdflc/utils';
2
+ /**
3
+ * Interface to initialize Database object
4
+ */
5
+ export interface DatabaseOptions {
6
+ /**
7
+ * Knex configuration object
8
+ */
9
+ knexConfig: any;
10
+ /**
11
+ * Name of database schema
12
+ */
13
+ dbSchema: string;
14
+ /**
15
+ * Knex transaction object
16
+ */
17
+ trx?: any;
18
+ /**
19
+ * Logger for debugging/logging
20
+ */
21
+ logger?: Logger;
22
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,14 +1,14 @@
1
- /**
2
- * Interface for Database.ReadAll method
3
- */
4
- export interface DatabaseReadInterface {
5
- table?: string;
6
- selectFields?: string[];
7
- sortBy?: any;
8
- where?: any;
9
- whereIn?: any;
10
- extendQuery?(query: any): any;
11
- mapBy?: string;
12
- calculated?: any[];
13
- buildKey?(key: string): string;
14
- }
1
+ /**
2
+ * Interface for Database.ReadAll method
3
+ */
4
+ export interface DatabaseReadInterface {
5
+ table?: string;
6
+ selectFields?: string[];
7
+ sortBy?: any;
8
+ where?: any;
9
+ whereIn?: any;
10
+ extendQuery?(query: any): any;
11
+ mapBy?: string;
12
+ calculated?: any[];
13
+ buildKey?(key: string): string;
14
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +1,9 @@
1
- export interface DbFieldAddDefaultInterface {
2
- addUserInfo?: boolean;
3
- addVersion?: boolean;
4
- addStatus?: boolean;
5
- skipTimestamps?: boolean;
6
- skipRemovedAtStr?: boolean;
7
- statusComment?: string;
8
- versionComment?: string;
9
- }
1
+ export interface DbFieldAddDefaultInterface {
2
+ addUserInfo?: boolean;
3
+ addVersion?: boolean;
4
+ addStatus?: boolean;
5
+ skipTimestamps?: boolean;
6
+ skipRemovedAtStr?: boolean;
7
+ statusComment?: string;
8
+ versionComment?: string;
9
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,6 @@
1
- export interface DownloadFileArgs {
2
- url: string;
3
- fileName: string;
4
- folder?: string;
5
- stream?: any;
6
- }
1
+ export interface DownloadFileArgs {
2
+ url: string;
3
+ fileName: string;
4
+ folder?: string;
5
+ stream?: any;
6
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,19 +1,19 @@
1
- export interface ExtractCredentialsArgs {
2
- /**
3
- * Req is a request object of the Express library
4
- */
5
- req: any;
6
- /**
7
- * Space is an object with configuration where to get data from
8
- */
9
- space: any;
10
- /**
11
- * Authorization is a token from the Authorization header
12
- */
13
- authorization?: string;
14
- fingerprint?: string;
15
- /**
16
- * An object with parameters passed to the authenticate methods
17
- */
18
- params?: any;
19
- }
1
+ export interface ExtractCredentialsArgs {
2
+ /**
3
+ * Req is a request object of the Express library
4
+ */
5
+ req: any;
6
+ /**
7
+ * Space is an object with configuration where to get data from
8
+ */
9
+ space: any;
10
+ /**
11
+ * Authorization is a token from the Authorization header
12
+ */
13
+ authorization?: string;
14
+ fingerprint?: string;
15
+ /**
16
+ * An object with parameters passed to the authenticate methods
17
+ */
18
+ params?: any;
19
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,5 @@
1
- import { VerifyUserTokenArgs } from '..';
2
- export interface JwtTokenSecretAndSettings {
3
- jwtSecret: string;
4
- verifyTokenArgs?: VerifyUserTokenArgs;
5
- }
1
+ import { VerifyUserTokenArgs } from '..';
2
+ export interface JwtTokenSecretAndSettings {
3
+ jwtSecret: string;
4
+ verifyTokenArgs?: VerifyUserTokenArgs;
5
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,5 @@
1
- export interface ListArgsInterface {
2
- filter: any;
3
- params?: any;
4
- useCache?: boolean;
5
- }
1
+ export interface ListArgsInterface {
2
+ filter: any;
3
+ params?: any;
4
+ useCache?: boolean;
5
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- export interface LoaderInterface {
2
- load(id: any): any;
3
- loadMany(id: any): any;
4
- }
1
+ export interface LoaderInterface {
2
+ load(id: any): any;
3
+ loadMany(id: any): any;
4
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,7 @@
1
- import { SortItemInterface } from './SortItemInterface';
2
- export interface PaginationInterface {
3
- page: number;
4
- pageSize?: number;
5
- sortBy: SortItemInterface[];
6
- cursor: string;
7
- }
1
+ import { SortItemInterface } from './SortItemInterface';
2
+ export interface PaginationInterface {
3
+ page: number;
4
+ pageSize?: number;
5
+ sortBy: SortItemInterface[];
6
+ cursor: string;
7
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- export interface SortItemInterface {
2
- name: string;
3
- order: string;
4
- }
1
+ export interface SortItemInterface {
2
+ name: string;
3
+ order: string;
4
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +1,8 @@
1
- export interface UserTokenParams {
2
- spaceId: string;
3
- accountId: string;
4
- roleId: string;
5
- userId: string;
6
- lang: string;
7
- [tokenProp: string]: string;
8
- }
1
+ export interface UserTokenParams {
2
+ spaceId: string;
3
+ accountId: string;
4
+ roleId: string;
5
+ userId: string;
6
+ lang: string;
7
+ [tokenProp: string]: string;
8
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +1,13 @@
1
- export interface VerifyUserTokenArgs {
2
- algorithms?: any;
3
- audience?: string | string[];
4
- issuer?: string | string[];
5
- ignoreExpiration?: boolean;
6
- ignoreNotBefore?: boolean;
7
- subject?: string;
8
- clockTolerance?: number;
9
- maxAge?: number;
10
- clockTimestamp?: number;
11
- nonce?: string;
12
- fingerprint?: string;
13
- }
1
+ export interface VerifyUserTokenArgs {
2
+ algorithms?: any;
3
+ audience?: string | string[];
4
+ issuer?: string | string[];
5
+ ignoreExpiration?: boolean;
6
+ ignoreNotBefore?: boolean;
7
+ subject?: string;
8
+ clockTolerance?: number;
9
+ maxAge?: number;
10
+ clockTimestamp?: number;
11
+ nonce?: string;
12
+ fingerprint?: string;
13
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,28 +1,28 @@
1
- export { CacheInterface } from './CacheInterface';
2
- export * from './LoaderInterface';
3
- export * from './BaseGatewayPropsInterface';
4
- export * from './ListArgsInterface';
5
- export * from './SortItemInterface';
6
- export * from './PaginationInterface';
7
- export * from './BaseCorePropsInterface';
8
- export * from './CoreActionInterface';
9
- export * from './ApiContextInterface';
10
- export * from './ApiContext';
11
- export * from './DbFieldAddDefaultInterface';
12
- export * from './BuildConfigOptions';
13
- export * from './DatabaseOptions';
14
- export * from './DatabaseReadInterface';
15
- export * from './BuildDefaultResolversOptions';
16
- export * from './BaseCoreValidatorsInterface';
17
- export * from './UserTokenParams';
18
- export * from './CreateUserTokenArgs';
19
- export * from './VerifyUserTokenArgs';
20
- export * from './BaseCoreActionsInterface';
21
- export * from './BaseCoreDoingWhatInterface';
22
- export * from './JwtTokenSecretAndSettings';
23
- export * from './CommonValidatorArgs';
24
- export * from './CreateUserTokenResult';
25
- export * from './ExtractCredentialsArgs';
26
- export * from './DownloadFileArgs';
27
- export * from './BuildListQueryArgsInterface';
28
- export * from './BaseCoreDoAuthOnActionInterface';
1
+ export { CacheInterface } from './CacheInterface';
2
+ export * from './LoaderInterface';
3
+ export * from './BaseGatewayPropsInterface';
4
+ export * from './ListArgsInterface';
5
+ export * from './SortItemInterface';
6
+ export * from './PaginationInterface';
7
+ export * from './BaseCorePropsInterface';
8
+ export * from './CoreActionInterface';
9
+ export * from './ApiContextInterface';
10
+ export * from './ApiContext';
11
+ export * from './DbFieldAddDefaultInterface';
12
+ export * from './BuildConfigOptions';
13
+ export * from './DatabaseOptions';
14
+ export * from './DatabaseReadInterface';
15
+ export * from './BuildDefaultResolversOptions';
16
+ export * from './BaseCoreValidatorsInterface';
17
+ export * from './UserTokenParams';
18
+ export * from './CreateUserTokenArgs';
19
+ export * from './VerifyUserTokenArgs';
20
+ export * from './BaseCoreActionsInterface';
21
+ export * from './BaseCoreDoingWhatInterface';
22
+ export * from './JwtTokenSecretAndSettings';
23
+ export * from './CommonValidatorArgs';
24
+ export * from './CreateUserTokenResult';
25
+ export * from './ExtractCredentialsArgs';
26
+ export * from './DownloadFileArgs';
27
+ export * from './BuildListQueryArgsInterface';
28
+ export * from './BaseCoreDoAuthOnActionInterface';
@@ -1,43 +1,43 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
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);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./LoaderInterface"), exports);
18
- __exportStar(require("./BaseGatewayPropsInterface"), exports);
19
- __exportStar(require("./ListArgsInterface"), exports);
20
- __exportStar(require("./SortItemInterface"), exports);
21
- __exportStar(require("./PaginationInterface"), exports);
22
- __exportStar(require("./BaseCorePropsInterface"), exports);
23
- __exportStar(require("./CoreActionInterface"), exports);
24
- __exportStar(require("./ApiContextInterface"), exports);
25
- __exportStar(require("./ApiContext"), exports);
26
- __exportStar(require("./DbFieldAddDefaultInterface"), exports);
27
- __exportStar(require("./BuildConfigOptions"), exports);
28
- __exportStar(require("./DatabaseOptions"), exports);
29
- __exportStar(require("./DatabaseReadInterface"), exports);
30
- __exportStar(require("./BuildDefaultResolversOptions"), exports);
31
- __exportStar(require("./BaseCoreValidatorsInterface"), exports);
32
- __exportStar(require("./UserTokenParams"), exports);
33
- __exportStar(require("./CreateUserTokenArgs"), exports);
34
- __exportStar(require("./VerifyUserTokenArgs"), exports);
35
- __exportStar(require("./BaseCoreActionsInterface"), exports);
36
- __exportStar(require("./BaseCoreDoingWhatInterface"), exports);
37
- __exportStar(require("./JwtTokenSecretAndSettings"), exports);
38
- __exportStar(require("./CommonValidatorArgs"), exports);
39
- __exportStar(require("./CreateUserTokenResult"), exports);
40
- __exportStar(require("./ExtractCredentialsArgs"), exports);
41
- __exportStar(require("./DownloadFileArgs"), exports);
42
- __exportStar(require("./BuildListQueryArgsInterface"), exports);
43
- __exportStar(require("./BaseCoreDoAuthOnActionInterface"), exports);
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
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);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./LoaderInterface"), exports);
18
+ __exportStar(require("./BaseGatewayPropsInterface"), exports);
19
+ __exportStar(require("./ListArgsInterface"), exports);
20
+ __exportStar(require("./SortItemInterface"), exports);
21
+ __exportStar(require("./PaginationInterface"), exports);
22
+ __exportStar(require("./BaseCorePropsInterface"), exports);
23
+ __exportStar(require("./CoreActionInterface"), exports);
24
+ __exportStar(require("./ApiContextInterface"), exports);
25
+ __exportStar(require("./ApiContext"), exports);
26
+ __exportStar(require("./DbFieldAddDefaultInterface"), exports);
27
+ __exportStar(require("./BuildConfigOptions"), exports);
28
+ __exportStar(require("./DatabaseOptions"), exports);
29
+ __exportStar(require("./DatabaseReadInterface"), exports);
30
+ __exportStar(require("./BuildDefaultResolversOptions"), exports);
31
+ __exportStar(require("./BaseCoreValidatorsInterface"), exports);
32
+ __exportStar(require("./UserTokenParams"), exports);
33
+ __exportStar(require("./CreateUserTokenArgs"), exports);
34
+ __exportStar(require("./VerifyUserTokenArgs"), exports);
35
+ __exportStar(require("./BaseCoreActionsInterface"), exports);
36
+ __exportStar(require("./BaseCoreDoingWhatInterface"), exports);
37
+ __exportStar(require("./JwtTokenSecretAndSettings"), exports);
38
+ __exportStar(require("./CommonValidatorArgs"), exports);
39
+ __exportStar(require("./CreateUserTokenResult"), exports);
40
+ __exportStar(require("./ExtractCredentialsArgs"), exports);
41
+ __exportStar(require("./DownloadFileArgs"), exports);
42
+ __exportStar(require("./BuildListQueryArgsInterface"), exports);
43
+ __exportStar(require("./BaseCoreDoAuthOnActionInterface"), exports);
@@ -1 +1 @@
1
- export declare const buildKnexConfig: (dirName: string, appConfig: any) => any;
1
+ export declare const buildKnexConfig: (dirName: string, appConfig: any) => any;