@purpleschool/gptbot 0.5.37 → 0.5.38

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.
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VALID_MIMETYPES = exports.IMAGE_MIMETYPES = exports.MAX_UPLOAD_SIZE = void 0;
4
+ exports.MAX_UPLOAD_SIZE = 5 * 1024 * 1024; // 5MB
5
+ exports.IMAGE_MIMETYPES = ['image/jpeg', 'image/png', 'image/webp'];
6
+ exports.VALID_MIMETYPES = [...exports.IMAGE_MIMETYPES];
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./enums"), exports);
18
+ __exportStar(require("./file.constants"), exports);
@@ -0,0 +1,5 @@
1
+ export const MAX_UPLOAD_SIZE = 5 * 1024 * 1024; // 5MB
2
+
3
+ export const IMAGE_MIMETYPES = ['image/jpeg', 'image/png', 'image/webp'];
4
+
5
+ export const VALID_MIMETYPES = [...IMAGE_MIMETYPES];
@@ -1 +1,2 @@
1
1
  export * from './enums';
2
+ export * from './file.constants';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.5.37",
3
+ "version": "0.5.38",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {