ismx-nexo-node-app 0.4.139 → 0.4.141
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.
|
@@ -81,10 +81,10 @@ class BusinessServer extends Business_1.default {
|
|
|
81
81
|
switch (service.type) {
|
|
82
82
|
case 'json': return this.express.json();
|
|
83
83
|
case 'xml': return this.express.xml();
|
|
84
|
-
case 'stream': return this.express.raw({ type: 'application/octet-stream', limit: '
|
|
85
|
-
case 'image': return this.express.raw({ type: 'image/*', limit: '
|
|
86
|
-
case 'audio': return this.express.raw({ type: 'audio/*', limit: '
|
|
87
|
-
case '*': return this.express.raw({ type: () => true, limit: '
|
|
84
|
+
case 'stream': return this.express.raw({ type: 'application/octet-stream', limit: '50mb' });
|
|
85
|
+
case 'image': return this.express.raw({ type: 'image/*', limit: '50mb' });
|
|
86
|
+
case 'audio': return this.express.raw({ type: 'audio/*', limit: '50mb' });
|
|
87
|
+
case '*': return this.express.raw({ type: () => true, limit: '50mb' });
|
|
88
88
|
default: return this.express.json();
|
|
89
89
|
}
|
|
90
90
|
})();
|
package/dist/js/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.PostgresUtils = exports.RestUtils = exports.QueryUtils = exports.RepositoryRestFormalTemplate = exports.RepositoryRestFormal = exports.RepositoryRest = exports.RepositoryDatabasePostgres = exports.RepositoryDatabase = exports.Repository = exports.PromiseUtils = exports.ArrayUtils = exports.StringUtils = exports.NumberUtils = exports.CryptoUtils = exports.DateUtils = exports.BusinessLogger = exports.FormalError = exports.BusinessErrors = exports.BusinessThreadState = exports.BusinessThread = exports.BusinessServer = exports.FormalLoopbackBusiness = exports.FormalProxyBusiness = exports.ProxyBusiness = exports.BusinessState = exports.Business = exports.ColorUtils = exports.ServiceRestFormalTemplate = exports.ServiceRestFormal = exports.ServiceRest = exports.HttpResponse = exports.Service = void 0;
|
|
29
|
+
exports.PostgresUtils = exports.RestUtils = exports.QueryUtils = exports.RepositoryRestFormalTemplate = exports.RepositoryRestFormal = exports.RepositoryRest = exports.RepositoryDatabasePostgres = exports.RepositoryDatabase = exports.Repository = exports.PromiseUtils = exports.ArrayUtils = exports.StringUtils = exports.ObjectUtils = exports.NumberUtils = exports.CryptoUtils = exports.DateUtils = exports.BusinessLogger = exports.FormalError = exports.BusinessErrors = exports.BusinessThreadState = exports.BusinessThread = exports.BusinessServer = exports.FormalLoopbackBusiness = exports.FormalProxyBusiness = exports.ProxyBusiness = exports.BusinessState = exports.Business = exports.ColorUtils = exports.ServiceRestFormalTemplate = exports.ServiceRestFormal = exports.ServiceRest = exports.HttpResponse = exports.Service = void 0;
|
|
30
30
|
const Service_1 = __importStar(require("./api/Service"));
|
|
31
31
|
class Service extends Service_1.default {
|
|
32
32
|
}
|
|
@@ -106,6 +106,10 @@ const NumberUtils_1 = __importDefault(require("./business/utils/NumberUtils"));
|
|
|
106
106
|
class NumberUtils extends NumberUtils_1.default {
|
|
107
107
|
}
|
|
108
108
|
exports.NumberUtils = NumberUtils;
|
|
109
|
+
const ObjectUtils_1 = __importDefault(require("./business/utils/ObjectUtils"));
|
|
110
|
+
class ObjectUtils extends ObjectUtils_1.default {
|
|
111
|
+
}
|
|
112
|
+
exports.ObjectUtils = ObjectUtils;
|
|
109
113
|
const StringUtils_1 = __importDefault(require("./business/utils/StringUtils"));
|
|
110
114
|
class StringUtils extends StringUtils_1.default {
|
|
111
115
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -65,6 +65,9 @@ export declare abstract class CryptoUtils extends _CryptoUtils {
|
|
|
65
65
|
import _NumberUtils from "./business/utils/NumberUtils";
|
|
66
66
|
export declare abstract class NumberUtils extends _NumberUtils {
|
|
67
67
|
}
|
|
68
|
+
import _ObjectUtils from "./business/utils/ObjectUtils";
|
|
69
|
+
export declare abstract class ObjectUtils extends _ObjectUtils {
|
|
70
|
+
}
|
|
68
71
|
import _StringUtils from "./business/utils/StringUtils";
|
|
69
72
|
export declare abstract class StringUtils extends _StringUtils {
|
|
70
73
|
}
|
package/package.json
CHANGED
|
@@ -63,10 +63,10 @@ export default class BusinessServer extends Business
|
|
|
63
63
|
const app = (() => { switch (service.type) {
|
|
64
64
|
case 'json': return this.express.json();
|
|
65
65
|
case 'xml': return this.express.xml();
|
|
66
|
-
case 'stream': return this.express.raw({ type: 'application/octet-stream', limit: '
|
|
67
|
-
case 'image': return this.express.raw({ type: 'image/*', limit: '
|
|
68
|
-
case 'audio': return this.express.raw({ type: 'audio/*', limit: '
|
|
69
|
-
case '*': return this.express.raw({ type: () => true, limit: '
|
|
66
|
+
case 'stream': return this.express.raw({ type: 'application/octet-stream', limit: '50mb' });
|
|
67
|
+
case 'image': return this.express.raw({ type: 'image/*', limit: '50mb' });
|
|
68
|
+
case 'audio': return this.express.raw({ type: 'audio/*', limit: '50mb' });
|
|
69
|
+
case '*': return this.express.raw({ type: () => true, limit: '50mb' });
|
|
70
70
|
default: return this.express.json();
|
|
71
71
|
}})();
|
|
72
72
|
|
package/src/main/node/index.ts
CHANGED
|
@@ -61,6 +61,9 @@ export abstract class CryptoUtils extends _CryptoUtils {}
|
|
|
61
61
|
import _NumberUtils from "./business/utils/NumberUtils";
|
|
62
62
|
export abstract class NumberUtils extends _NumberUtils {}
|
|
63
63
|
|
|
64
|
+
import _ObjectUtils from "./business/utils/ObjectUtils";
|
|
65
|
+
export abstract class ObjectUtils extends _ObjectUtils {}
|
|
66
|
+
|
|
64
67
|
import _StringUtils from "./business/utils/StringUtils";
|
|
65
68
|
export abstract class StringUtils extends _StringUtils {}
|
|
66
69
|
|