@abyss-project/storage 1.0.3 → 1.0.5

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.
@@ -27,5 +27,7 @@ export declare enum Code {
27
27
  maxThumbnailPerFileReached = "max_thumbnail_per_file_reached",
28
28
  publicAccessPasswordInvalid = "public_access_password_invalid",
29
29
  maxPreSignUrlPerHourReached = "max_pre_sign_url_per_hour_reached",
30
- collectionSearchFailed = "collection_search_failed"
30
+ collectionSearchFailed = "collection_search_failed",
31
+ maxStoreEntryNumber = "max_store_entry_number",
32
+ slugAlreadyExist = "slug_already_exist"
31
33
  }
@@ -33,4 +33,6 @@ var Code;
33
33
  Code["publicAccessPasswordInvalid"] = "public_access_password_invalid";
34
34
  Code["maxPreSignUrlPerHourReached"] = "max_pre_sign_url_per_hour_reached";
35
35
  Code["collectionSearchFailed"] = "collection_search_failed";
36
+ Code["maxStoreEntryNumber"] = "max_store_entry_number";
37
+ Code["slugAlreadyExist"] = "slug_already_exist";
36
38
  })(Code || (exports.Code = Code = {}));
@@ -4,7 +4,8 @@ export declare enum MimeTypeThumbnail {
4
4
  TIFF = "image/tiff",
5
5
  GIF = "image/gif",
6
6
  WEBP = "image/webp",
7
- AVIF = "image/avif"
7
+ AVIF = "image/avif",
8
+ SVG = "image/svg+xml"
8
9
  }
9
10
  export declare enum MimeTypeVideoThumbnail {
10
11
  MP4 = "video/mp4",
@@ -9,6 +9,7 @@ var MimeTypeThumbnail;
9
9
  MimeTypeThumbnail["GIF"] = "image/gif";
10
10
  MimeTypeThumbnail["WEBP"] = "image/webp";
11
11
  MimeTypeThumbnail["AVIF"] = "image/avif";
12
+ MimeTypeThumbnail["SVG"] = "image/svg+xml";
12
13
  })(MimeTypeThumbnail || (exports.MimeTypeThumbnail = MimeTypeThumbnail = {}));
13
14
  var MimeTypeVideoThumbnail;
14
15
  (function (MimeTypeVideoThumbnail) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/storage",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Core package to interact with Abyss-Storage",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",