@ntalmagor/3drise-common 1.0.8 → 1.0.9
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/build/index.d.ts +1 -1
- package/build/index.js +8 -2
- package/package.json +5 -2
package/build/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export { default as dotenv } from 'dotenv';
|
|
|
15
15
|
export { default as multer } from 'multer';
|
|
16
16
|
export { default as Redis } from 'ioredis';
|
|
17
17
|
export { OAuth2Client } from 'google-auth-library';
|
|
18
|
-
export
|
|
18
|
+
export { S3Client, ListBucketsCommand, PutObjectCommand, GetObjectCommand, DeleteObjectCommand, ListObjectsV2Command } from '@aws-sdk/client-s3';
|
|
19
19
|
export { default as sequelize } from './database';
|
|
20
20
|
export * from './models/index';
|
|
21
21
|
export type { RedisType } from './utils/redisClient';
|
package/build/index.js
CHANGED
|
@@ -17,7 +17,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.sequelize = exports.OAuth2Client = exports.Redis = exports.multer = exports.dotenv = exports.cors = exports.session = exports.jwt = exports.QueryTypes = exports.Transaction = exports.literal = exports.col = exports.fn = exports.Op = exports.express = void 0;
|
|
20
|
+
exports.sequelize = exports.ListObjectsV2Command = exports.DeleteObjectCommand = exports.GetObjectCommand = exports.PutObjectCommand = exports.ListBucketsCommand = exports.S3Client = exports.OAuth2Client = exports.Redis = exports.multer = exports.dotenv = exports.cors = exports.session = exports.jwt = exports.QueryTypes = exports.Transaction = exports.literal = exports.col = exports.fn = exports.Op = exports.express = void 0;
|
|
21
21
|
// Re-export shared libraries and their types
|
|
22
22
|
require("express-async-errors");
|
|
23
23
|
var express_1 = require("express");
|
|
@@ -48,7 +48,13 @@ var ioredis_1 = require("ioredis");
|
|
|
48
48
|
Object.defineProperty(exports, "Redis", { enumerable: true, get: function () { return __importDefault(ioredis_1).default; } });
|
|
49
49
|
var google_auth_library_1 = require("google-auth-library");
|
|
50
50
|
Object.defineProperty(exports, "OAuth2Client", { enumerable: true, get: function () { return google_auth_library_1.OAuth2Client; } });
|
|
51
|
-
|
|
51
|
+
var client_s3_1 = require("@aws-sdk/client-s3");
|
|
52
|
+
Object.defineProperty(exports, "S3Client", { enumerable: true, get: function () { return client_s3_1.S3Client; } });
|
|
53
|
+
Object.defineProperty(exports, "ListBucketsCommand", { enumerable: true, get: function () { return client_s3_1.ListBucketsCommand; } });
|
|
54
|
+
Object.defineProperty(exports, "PutObjectCommand", { enumerable: true, get: function () { return client_s3_1.PutObjectCommand; } });
|
|
55
|
+
Object.defineProperty(exports, "GetObjectCommand", { enumerable: true, get: function () { return client_s3_1.GetObjectCommand; } });
|
|
56
|
+
Object.defineProperty(exports, "DeleteObjectCommand", { enumerable: true, get: function () { return client_s3_1.DeleteObjectCommand; } });
|
|
57
|
+
Object.defineProperty(exports, "ListObjectsV2Command", { enumerable: true, get: function () { return client_s3_1.ListObjectsV2Command; } });
|
|
52
58
|
// export { default as getRedisClient } from './utils/redisClient';
|
|
53
59
|
var database_1 = require("./database");
|
|
54
60
|
Object.defineProperty(exports, "sequelize", { enumerable: true, get: function () { return __importDefault(database_1).default; } });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ntalmagor/3drise-common",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@aws-sdk/client-s3": "^3.975.0",
|
|
26
26
|
"@types/cookie-session": "^2.0.49",
|
|
27
27
|
"@types/cors": "^2.8.17",
|
|
28
|
-
"@types/express": "
|
|
28
|
+
"@types/express": "~4.17.21",
|
|
29
29
|
"@types/jsonwebtoken": "^9.0.8",
|
|
30
30
|
"@types/multer": "^2.0.0",
|
|
31
31
|
"@types/node": "^20.19.17",
|
|
@@ -46,5 +46,8 @@
|
|
|
46
46
|
"sequelize": "^6.37.7",
|
|
47
47
|
"sequelize-typescript": "^2.1.6",
|
|
48
48
|
"uuid": "^13.0.0"
|
|
49
|
+
},
|
|
50
|
+
"overrides": {
|
|
51
|
+
"@types/express": "~4.17.21"
|
|
49
52
|
}
|
|
50
53
|
}
|