mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 09:03:02 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
824e841dad | ||
|
|
bc3a0f6d11 | ||
|
|
a09aae5d5d |
@@ -1,3 +1,7 @@
|
|||||||
|
# [0.9.0](https://gitlab.com/openstapps/core/compare/v0.8.0...v0.9.0) (2019-02-14)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [0.8.0](https://gitlab.com/openstapps/core/compare/v0.7.0...v0.8.0) (2019-02-13)
|
# [0.8.0](https://gitlab.com/openstapps/core/compare/v0.7.0...v0.8.0) (2019-02-13)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@openstapps/core",
|
"name": "@openstapps/core",
|
||||||
"version": "0.9.0",
|
"version": "0.10.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@openstapps/core",
|
"name": "@openstapps/core",
|
||||||
"version": "0.9.0",
|
"version": "0.10.0",
|
||||||
"description": "StAppsCore - Generalized model of data",
|
"description": "StAppsCore - Generalized model of data",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Model",
|
"Model",
|
||||||
|
|||||||
@@ -101,6 +101,19 @@ export class SCMethodNotAllowedErrorResponse extends SCError {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An error that is returned, when the request body is too large.
|
||||||
|
*/
|
||||||
|
export class SCRequestBodyTooLargeErrorResponse extends SCError {
|
||||||
|
/**
|
||||||
|
* Create a SCRequestBodyTooLargeErrorResponse
|
||||||
|
* @param stack Set to true if a stack trace should be created
|
||||||
|
*/
|
||||||
|
constructor(stack?: boolean) {
|
||||||
|
super('RequestBodyTooLargeError', 'The request body is too large.', 413, stack);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An error that is returned, when to many request are submitted at once
|
* An error that is returned, when to many request are submitted at once
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ import {SCAbstractRoute, SCRouteHttpVerbs} from '../../../Route';
|
|||||||
import {
|
import {
|
||||||
SCInternalServerErrorResponse,
|
SCInternalServerErrorResponse,
|
||||||
SCMethodNotAllowedErrorResponse,
|
SCMethodNotAllowedErrorResponse,
|
||||||
|
SCRequestBodyTooLargeErrorResponse,
|
||||||
SCSyntaxErrorResponse,
|
SCSyntaxErrorResponse,
|
||||||
SCUnsupportedMediaTypeErrorResponse,
|
SCUnsupportedMediaTypeErrorResponse,
|
||||||
SCValidationErrorResponse,
|
SCValidationErrorResponse,
|
||||||
@@ -38,6 +39,7 @@ export class SCIndexRoute extends SCAbstractRoute {
|
|||||||
this.errorNames = [
|
this.errorNames = [
|
||||||
SCInternalServerErrorResponse,
|
SCInternalServerErrorResponse,
|
||||||
SCMethodNotAllowedErrorResponse,
|
SCMethodNotAllowedErrorResponse,
|
||||||
|
SCRequestBodyTooLargeErrorResponse,
|
||||||
SCSyntaxErrorResponse,
|
SCSyntaxErrorResponse,
|
||||||
SCUnsupportedMediaTypeErrorResponse,
|
SCUnsupportedMediaTypeErrorResponse,
|
||||||
SCValidationErrorResponse,
|
SCValidationErrorResponse,
|
||||||
|
|||||||
@@ -17,7 +17,9 @@ import {SCAbstractRoute, SCRouteHttpVerbs} from '../../../../Route';
|
|||||||
import {
|
import {
|
||||||
SCInternalServerErrorResponse,
|
SCInternalServerErrorResponse,
|
||||||
SCMethodNotAllowedErrorResponse,
|
SCMethodNotAllowedErrorResponse,
|
||||||
SCNotFoundErrorResponse, SCSyntaxErrorResponse,
|
SCNotFoundErrorResponse,
|
||||||
|
SCRequestBodyTooLargeErrorResponse,
|
||||||
|
SCSyntaxErrorResponse,
|
||||||
SCUnsupportedMediaTypeErrorResponse,
|
SCUnsupportedMediaTypeErrorResponse,
|
||||||
SCValidationErrorResponse,
|
SCValidationErrorResponse,
|
||||||
} from '../../../errors/ErrorResponse';
|
} from '../../../errors/ErrorResponse';
|
||||||
@@ -39,6 +41,7 @@ export class SCThingUpdateRoute extends SCAbstractRoute {
|
|||||||
SCInternalServerErrorResponse,
|
SCInternalServerErrorResponse,
|
||||||
SCMethodNotAllowedErrorResponse,
|
SCMethodNotAllowedErrorResponse,
|
||||||
SCNotFoundErrorResponse,
|
SCNotFoundErrorResponse,
|
||||||
|
SCRequestBodyTooLargeErrorResponse,
|
||||||
SCSyntaxErrorResponse,
|
SCSyntaxErrorResponse,
|
||||||
SCUnsupportedMediaTypeErrorResponse,
|
SCUnsupportedMediaTypeErrorResponse,
|
||||||
SCValidationErrorResponse,
|
SCValidationErrorResponse,
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ import {
|
|||||||
SCInternalServerErrorResponse,
|
SCInternalServerErrorResponse,
|
||||||
SCMethodNotAllowedErrorResponse,
|
SCMethodNotAllowedErrorResponse,
|
||||||
SCNotFoundErrorResponse,
|
SCNotFoundErrorResponse,
|
||||||
|
SCRequestBodyTooLargeErrorResponse,
|
||||||
SCSyntaxErrorResponse,
|
SCSyntaxErrorResponse,
|
||||||
SCUnsupportedMediaTypeErrorResponse,
|
SCUnsupportedMediaTypeErrorResponse,
|
||||||
SCValidationErrorResponse,
|
SCValidationErrorResponse,
|
||||||
@@ -71,6 +72,7 @@ export class SCBookAvailabilityRoute extends SCAbstractRoute {
|
|||||||
SCInternalServerErrorResponse,
|
SCInternalServerErrorResponse,
|
||||||
SCMethodNotAllowedErrorResponse,
|
SCMethodNotAllowedErrorResponse,
|
||||||
SCNotFoundErrorResponse,
|
SCNotFoundErrorResponse,
|
||||||
|
SCRequestBodyTooLargeErrorResponse,
|
||||||
SCSyntaxErrorResponse,
|
SCSyntaxErrorResponse,
|
||||||
SCUnsupportedMediaTypeErrorResponse,
|
SCUnsupportedMediaTypeErrorResponse,
|
||||||
SCValidationErrorResponse,
|
SCValidationErrorResponse,
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ import {SCISO8601Date} from '../../../types/Time';
|
|||||||
import {
|
import {
|
||||||
SCInternalServerErrorResponse,
|
SCInternalServerErrorResponse,
|
||||||
SCMethodNotAllowedErrorResponse,
|
SCMethodNotAllowedErrorResponse,
|
||||||
|
SCRequestBodyTooLargeErrorResponse,
|
||||||
SCSyntaxErrorResponse,
|
SCSyntaxErrorResponse,
|
||||||
SCUnsupportedMediaTypeErrorResponse,
|
SCUnsupportedMediaTypeErrorResponse,
|
||||||
SCValidationErrorResponse,
|
SCValidationErrorResponse,
|
||||||
@@ -69,6 +70,7 @@ export class SCBulkRoute extends SCAbstractRoute {
|
|||||||
this.errorNames = [
|
this.errorNames = [
|
||||||
SCInternalServerErrorResponse,
|
SCInternalServerErrorResponse,
|
||||||
SCMethodNotAllowedErrorResponse,
|
SCMethodNotAllowedErrorResponse,
|
||||||
|
SCRequestBodyTooLargeErrorResponse,
|
||||||
SCSyntaxErrorResponse,
|
SCSyntaxErrorResponse,
|
||||||
SCUnsupportedMediaTypeErrorResponse,
|
SCUnsupportedMediaTypeErrorResponse,
|
||||||
SCValidationErrorResponse,
|
SCValidationErrorResponse,
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ import {
|
|||||||
SCInternalServerErrorResponse,
|
SCInternalServerErrorResponse,
|
||||||
SCMethodNotAllowedErrorResponse,
|
SCMethodNotAllowedErrorResponse,
|
||||||
SCNotFoundErrorResponse,
|
SCNotFoundErrorResponse,
|
||||||
|
SCRequestBodyTooLargeErrorResponse,
|
||||||
SCSyntaxErrorResponse,
|
SCSyntaxErrorResponse,
|
||||||
SCUnsupportedMediaTypeErrorResponse,
|
SCUnsupportedMediaTypeErrorResponse,
|
||||||
SCValidationErrorResponse,
|
SCValidationErrorResponse,
|
||||||
@@ -39,6 +40,7 @@ export class SCBulkAddRoute extends SCAbstractRoute {
|
|||||||
SCInternalServerErrorResponse,
|
SCInternalServerErrorResponse,
|
||||||
SCMethodNotAllowedErrorResponse,
|
SCMethodNotAllowedErrorResponse,
|
||||||
SCNotFoundErrorResponse,
|
SCNotFoundErrorResponse,
|
||||||
|
SCRequestBodyTooLargeErrorResponse,
|
||||||
SCSyntaxErrorResponse,
|
SCSyntaxErrorResponse,
|
||||||
SCUnsupportedMediaTypeErrorResponse,
|
SCUnsupportedMediaTypeErrorResponse,
|
||||||
SCValidationErrorResponse,
|
SCValidationErrorResponse,
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ import {
|
|||||||
SCInternalServerErrorResponse,
|
SCInternalServerErrorResponse,
|
||||||
SCMethodNotAllowedErrorResponse,
|
SCMethodNotAllowedErrorResponse,
|
||||||
SCNotFoundErrorResponse,
|
SCNotFoundErrorResponse,
|
||||||
|
SCRequestBodyTooLargeErrorResponse,
|
||||||
SCSyntaxErrorResponse,
|
SCSyntaxErrorResponse,
|
||||||
SCUnsupportedMediaTypeErrorResponse,
|
SCUnsupportedMediaTypeErrorResponse,
|
||||||
SCValidationErrorResponse,
|
SCValidationErrorResponse,
|
||||||
@@ -39,6 +40,7 @@ export class SCBulkDoneRoute extends SCAbstractRoute {
|
|||||||
SCInternalServerErrorResponse,
|
SCInternalServerErrorResponse,
|
||||||
SCMethodNotAllowedErrorResponse,
|
SCMethodNotAllowedErrorResponse,
|
||||||
SCNotFoundErrorResponse,
|
SCNotFoundErrorResponse,
|
||||||
|
SCRequestBodyTooLargeErrorResponse,
|
||||||
SCSyntaxErrorResponse,
|
SCSyntaxErrorResponse,
|
||||||
SCUnsupportedMediaTypeErrorResponse,
|
SCUnsupportedMediaTypeErrorResponse,
|
||||||
SCValidationErrorResponse,
|
SCValidationErrorResponse,
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ import {SCMessage} from '../../../things/Message';
|
|||||||
import {
|
import {
|
||||||
SCInternalServerErrorResponse,
|
SCInternalServerErrorResponse,
|
||||||
SCMethodNotAllowedErrorResponse,
|
SCMethodNotAllowedErrorResponse,
|
||||||
|
SCRequestBodyTooLargeErrorResponse,
|
||||||
SCSyntaxErrorResponse,
|
SCSyntaxErrorResponse,
|
||||||
SCUnsupportedMediaTypeErrorResponse,
|
SCUnsupportedMediaTypeErrorResponse,
|
||||||
SCValidationErrorResponse,
|
SCValidationErrorResponse,
|
||||||
@@ -43,6 +44,7 @@ export class SCFeedbackRoute extends SCAbstractRoute {
|
|||||||
this.errorNames = [
|
this.errorNames = [
|
||||||
SCInternalServerErrorResponse,
|
SCInternalServerErrorResponse,
|
||||||
SCMethodNotAllowedErrorResponse,
|
SCMethodNotAllowedErrorResponse,
|
||||||
|
SCRequestBodyTooLargeErrorResponse,
|
||||||
SCSyntaxErrorResponse,
|
SCSyntaxErrorResponse,
|
||||||
SCUnsupportedMediaTypeErrorResponse,
|
SCUnsupportedMediaTypeErrorResponse,
|
||||||
SCValidationErrorResponse,
|
SCValidationErrorResponse,
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ import {SCAbstractRoute, SCRouteHttpVerbs} from '../../../Route';
|
|||||||
import {
|
import {
|
||||||
SCInternalServerErrorResponse,
|
SCInternalServerErrorResponse,
|
||||||
SCMethodNotAllowedErrorResponse,
|
SCMethodNotAllowedErrorResponse,
|
||||||
|
SCRequestBodyTooLargeErrorResponse,
|
||||||
SCSyntaxErrorResponse,
|
SCSyntaxErrorResponse,
|
||||||
SCTooManyRequestsErrorResponse,
|
SCTooManyRequestsErrorResponse,
|
||||||
SCUnsupportedMediaTypeErrorResponse,
|
SCUnsupportedMediaTypeErrorResponse,
|
||||||
@@ -45,6 +46,7 @@ export class SCMultiSearchRoute extends SCAbstractRoute {
|
|||||||
this.errorNames = [
|
this.errorNames = [
|
||||||
SCInternalServerErrorResponse,
|
SCInternalServerErrorResponse,
|
||||||
SCMethodNotAllowedErrorResponse,
|
SCMethodNotAllowedErrorResponse,
|
||||||
|
SCRequestBodyTooLargeErrorResponse,
|
||||||
SCSyntaxErrorResponse,
|
SCSyntaxErrorResponse,
|
||||||
SCTooManyRequestsErrorResponse,
|
SCTooManyRequestsErrorResponse,
|
||||||
SCUnsupportedMediaTypeErrorResponse,
|
SCUnsupportedMediaTypeErrorResponse,
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ import {SCSearchSort} from '../../../types/sorts/Abstract';
|
|||||||
import {
|
import {
|
||||||
SCInternalServerErrorResponse,
|
SCInternalServerErrorResponse,
|
||||||
SCMethodNotAllowedErrorResponse,
|
SCMethodNotAllowedErrorResponse,
|
||||||
|
SCRequestBodyTooLargeErrorResponse,
|
||||||
SCSyntaxErrorResponse,
|
SCSyntaxErrorResponse,
|
||||||
SCUnsupportedMediaTypeErrorResponse,
|
SCUnsupportedMediaTypeErrorResponse,
|
||||||
SCValidationErrorResponse,
|
SCValidationErrorResponse,
|
||||||
@@ -70,6 +71,7 @@ export class SCSearchRoute extends SCAbstractRoute {
|
|||||||
this.errorNames = [
|
this.errorNames = [
|
||||||
SCInternalServerErrorResponse,
|
SCInternalServerErrorResponse,
|
||||||
SCMethodNotAllowedErrorResponse,
|
SCMethodNotAllowedErrorResponse,
|
||||||
|
SCRequestBodyTooLargeErrorResponse,
|
||||||
SCSyntaxErrorResponse,
|
SCSyntaxErrorResponse,
|
||||||
SCUnsupportedMediaTypeErrorResponse,
|
SCUnsupportedMediaTypeErrorResponse,
|
||||||
SCValidationErrorResponse,
|
SCValidationErrorResponse,
|
||||||
|
|||||||
Reference in New Issue
Block a user