@squiz/db-lib 1.66.3 → 1.68.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +12 -0
- package/lib/dynamodb/getDynamoDbOptions.d.ts +12 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +687 -7587
- package/lib/index.js.map +4 -4
- package/package.json +6 -4
- package/src/dynamodb/AbstractDynamoDbRepository.spec.ts +0 -18
- package/src/dynamodb/AbstractDynamoDbRepository.ts +7 -15
- package/src/dynamodb/getDynamoDbOptions.ts +9 -0
- package/src/index.ts +1 -0
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
@@ -0,0 +1,12 @@
|
|
1
|
+
export declare const getDynamoDbOptions: (awsRegion: string, nodeEnv: 'production' | 'development') => {
|
2
|
+
region: string;
|
3
|
+
credentials?: undefined;
|
4
|
+
endpoint?: undefined;
|
5
|
+
} | {
|
6
|
+
credentials: {
|
7
|
+
accessKeyId: string;
|
8
|
+
secretAccessKey: string;
|
9
|
+
};
|
10
|
+
endpoint: string;
|
11
|
+
region?: undefined;
|
12
|
+
};
|
package/lib/index.d.ts
CHANGED
@@ -2,6 +2,7 @@ export * from './AbstractRepository';
|
|
2
2
|
export * from './ConnectionManager';
|
3
3
|
export * from './dynamodb/DynamoDbManager';
|
4
4
|
export * from './dynamodb/AbstractDynamoDbRepository';
|
5
|
+
export * from './dynamodb/getDynamoDbOptions';
|
5
6
|
export * from './Migrator';
|
6
7
|
export * from './Repositories';
|
7
8
|
export * from './getConnectionInfo';
|