@vercube/storage 0.0.22 → 0.0.23
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/README.md +10 -6
- package/dist/Drivers/MemoryStorage.d.mts +1 -1
- package/dist/Drivers/MemoryStorage.mjs +3 -1
- package/dist/Drivers/S3Storage.d.mts +56 -56
- package/dist/Drivers/S3Storage.mjs +943 -938
- package/dist/Storage-Cr72sGff.mjs +16 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +3 -17
- package/package.json +4 -4
- /package/dist/{Storage-DZ-jzAK_.d.mts → Storage-KmyCHv2F.d.mts} +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
//#region src/Service/Storage.ts
|
|
2
|
+
/**
|
|
3
|
+
* Abstract base class for storage implementations
|
|
4
|
+
* Provides a common interface for different storage providers
|
|
5
|
+
*
|
|
6
|
+
* @abstract
|
|
7
|
+
* @class Storage
|
|
8
|
+
* @description
|
|
9
|
+
* The Storage class defines a standard interface for storing and retrieving data.
|
|
10
|
+
* It supports basic operations like get, set, delete, and querying storage state.
|
|
11
|
+
* Concrete implementations must provide the actual storage mechanism.
|
|
12
|
+
*/
|
|
13
|
+
var Storage = class {};
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { Storage };
|
package/dist/index.d.mts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { __commonJS, __toESM } from "./chunk-UoOzN6Vc.mjs";
|
|
2
|
+
import { Storage } from "./Storage-Cr72sGff.mjs";
|
|
2
3
|
import { Container, Init, Inject, InjectOptional } from "@vercube/di";
|
|
3
4
|
import { Logger } from "@vercube/logger";
|
|
4
5
|
|
|
5
|
-
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.
|
|
6
|
-
var require_decorate = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.
|
|
6
|
+
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.82.3/node_modules/@oxc-project/runtime/src/helpers/decorate.js
|
|
7
|
+
var require_decorate = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.82.3/node_modules/@oxc-project/runtime/src/helpers/decorate.js": ((exports, module) => {
|
|
7
8
|
function __decorate(decorators, target, key, desc) {
|
|
8
9
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9
10
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -143,20 +144,5 @@ var StorageManager = class {
|
|
|
143
144
|
(0, import_decorate.default)([InjectOptional(Logger)], StorageManager.prototype, "gLogger", void 0);
|
|
144
145
|
(0, import_decorate.default)([Init()], StorageManager.prototype, "init", null);
|
|
145
146
|
|
|
146
|
-
//#endregion
|
|
147
|
-
//#region src/Service/Storage.ts
|
|
148
|
-
/**
|
|
149
|
-
* Abstract base class for storage implementations
|
|
150
|
-
* Provides a common interface for different storage providers
|
|
151
|
-
*
|
|
152
|
-
* @abstract
|
|
153
|
-
* @class Storage
|
|
154
|
-
* @description
|
|
155
|
-
* The Storage class defines a standard interface for storing and retrieving data.
|
|
156
|
-
* It supports basic operations like get, set, delete, and querying storage state.
|
|
157
|
-
* Concrete implementations must provide the actual storage mechanism.
|
|
158
|
-
*/
|
|
159
|
-
var Storage = class {};
|
|
160
|
-
|
|
161
147
|
//#endregion
|
|
162
148
|
export { Storage, StorageManager };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercube/storage",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"description": "Storage module for Vercube framework",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"README.md"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@vercube/
|
|
28
|
-
"@vercube/
|
|
27
|
+
"@vercube/di": "0.0.23",
|
|
28
|
+
"@vercube/logger": "0.0.23"
|
|
29
29
|
},
|
|
30
30
|
"optionalDependencies": {
|
|
31
|
-
"@aws-sdk/client-s3": "3.
|
|
31
|
+
"@aws-sdk/client-s3": "3.876.0"
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
File without changes
|