@coast/core-api-types 1.2.220 → 1.2.222
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/dist/models/automations/action/audit/SendWebhookActionAuditResult.d.ts +1 -1
- package/dist/models/common/error/ApiError.d.ts +1 -1
- package/dist/models/common/error/GqlErrorExtensions.d.ts +1 -1
- package/dist/models/utils/HttpStatus.d.ts +50 -0
- package/dist/models/{workflow-template/components/ComponentUtils.js → utils/HttpStatus.js} +1 -1
- package/dist/models/utils/HttpStatus.js.map +1 -0
- package/dist/models/utils/Type.d.ts +3 -0
- package/dist/models/utils/Type.js +3 -0
- package/dist/models/utils/Type.js.map +1 -0
- package/dist/models/view-template-layout/ViewTemplateLayoutRegistry.d.ts +1 -1
- package/dist/models/workflow-template/components/ComponentTypeDataMap.d.ts +1 -0
- package/dist/models/workflow-template/components/ComponentTypeDataMap.js +2 -0
- package/dist/models/workflow-template/components/data-formatters/DateFormatterUtils.d.ts +2 -0
- package/dist/models/workflow-template/components/data-formatters/DateFormatterUtils.js +3 -0
- package/dist/models/workflow-template/components/data-formatters/DateFormatterUtils.js.map +1 -0
- package/dist/scripts/generateTypes.js +5 -0
- package/dist/scripts/generateTypes.js.map +1 -1
- package/package.json +7 -4
- package/dist/models/workflow-template/components/ComponentUtils.d.ts +0 -2
- package/dist/models/workflow-template/components/ComponentUtils.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpStatus } from '
|
|
1
|
+
import { HttpStatus } from '../../../utils/HttpStatus';
|
|
2
2
|
import { AutomationActionType } from '../AutomationActionType';
|
|
3
3
|
import { AutomationActionAuditResult } from './AutomationActionAuditResult';
|
|
4
4
|
export interface SendWebhookActionAuditResult extends AutomationActionAuditResult<AutomationActionType.SEND_WEBHOOK> {
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare enum HttpStatus {
|
|
2
|
+
ACCEPTED = 202,
|
|
3
|
+
AMBIGUOUS = 300,
|
|
4
|
+
BAD_GATEWAY = 502,
|
|
5
|
+
BAD_REQUEST = 400,
|
|
6
|
+
CONFLICT = 409,
|
|
7
|
+
CONTINUE = 100,
|
|
8
|
+
CREATED = 201,
|
|
9
|
+
EARLYHINTS = 103,
|
|
10
|
+
EXPECTATION_FAILED = 417,
|
|
11
|
+
FAILED_DEPENDENCY = 424,
|
|
12
|
+
FORBIDDEN = 403,
|
|
13
|
+
FOUND = 302,
|
|
14
|
+
GATEWAY_TIMEOUT = 504,
|
|
15
|
+
GONE = 410,
|
|
16
|
+
HTTP_VERSION_NOT_SUPPORTED = 505,
|
|
17
|
+
I_AM_A_TEAPOT = 418,
|
|
18
|
+
INTERNAL_SERVER_ERROR = 500,
|
|
19
|
+
LENGTH_REQUIRED = 411,
|
|
20
|
+
METHOD_NOT_ALLOWED = 405,
|
|
21
|
+
MISDIRECTED = 421,
|
|
22
|
+
MOVED_PERMANENTLY = 301,
|
|
23
|
+
NO_CONTENT = 204,
|
|
24
|
+
NON_AUTHORITATIVE_INFORMATION = 203,
|
|
25
|
+
NOT_ACCEPTABLE = 406,
|
|
26
|
+
NOT_FOUND = 404,
|
|
27
|
+
NOT_IMPLEMENTED = 501,
|
|
28
|
+
NOT_MODIFIED = 304,
|
|
29
|
+
OK = 200,
|
|
30
|
+
PARTIAL_CONTENT = 206,
|
|
31
|
+
PAYLOAD_TOO_LARGE = 413,
|
|
32
|
+
PAYMENT_REQUIRED = 402,
|
|
33
|
+
PERMANENT_REDIRECT = 308,
|
|
34
|
+
PRECONDITION_FAILED = 412,
|
|
35
|
+
PRECONDITION_REQUIRED = 428,
|
|
36
|
+
PROCESSING = 102,
|
|
37
|
+
PROXY_AUTHENTICATION_REQUIRED = 407,
|
|
38
|
+
REQUEST_TIMEOUT = 408,
|
|
39
|
+
REQUESTED_RANGE_NOT_SATISFIABLE = 416,
|
|
40
|
+
RESET_CONTENT = 205,
|
|
41
|
+
SEE_OTHER = 303,
|
|
42
|
+
SERVICE_UNAVAILABLE = 503,
|
|
43
|
+
SWITCHING_PROTOCOLS = 101,
|
|
44
|
+
TEMPORARY_REDIRECT = 307,
|
|
45
|
+
TOO_MANY_REQUESTS = 429,
|
|
46
|
+
UNAUTHORIZED = 401,
|
|
47
|
+
UNPROCESSABLE_ENTITY = 422,
|
|
48
|
+
UNSUPPORTED_MEDIA_TYPE = 415,
|
|
49
|
+
URI_TOO_LONG = 414
|
|
50
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HttpStatus.js","sourceRoot":"","sources":["../../../src/models/utils/HttpStatus.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Type.js","sourceRoot":"","sources":["../../../src/models/utils/Type.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Type } from '@nestjs/common';
|
|
2
1
|
import { Optional } from '../utils/Optional';
|
|
2
|
+
import { Type } from '../utils/Type';
|
|
3
3
|
import { ViewTemplateLayoutComponent } from './items/ViewTemplateLayoutComponent';
|
|
4
4
|
import { ViewTemplateLayoutSection } from './items/ViewTemplateLayoutSection';
|
|
5
5
|
import { ViewTemplateLayoutItem } from './ViewTemplateLayoutItem';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateFormatterUtils.js","sourceRoot":"","sources":["../../../../../src/models/workflow-template/components/data-formatters/DateFormatterUtils.ts"],"names":[],"mappings":""}
|
|
@@ -35,6 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
const generateTypes_1 = require("@coast/service-common-scripts/generateTypes");
|
|
37
37
|
const path = __importStar(require("path"));
|
|
38
|
+
const dependencies = Object.keys(require(path.resolve(__dirname, '../../../../packages/core-api-types/package.json')).dependencies);
|
|
38
39
|
(0, generateTypes_1.generateTypes)({
|
|
39
40
|
sourceDir: path.resolve(__dirname, '../../../core-models/src'),
|
|
40
41
|
destDir: path.resolve(__dirname, '../models'),
|
|
@@ -49,5 +50,9 @@ const path = __importStar(require("path"));
|
|
|
49
50
|
tsConfigFilePath: path.resolve(__dirname, '../.././tsconfig.json'),
|
|
50
51
|
onlyProcessModifiedFilesBaseBranch: process.env.COAST_TYPE_GEN_CHANGED_ONLY === 'true' ? 'master' : undefined,
|
|
51
52
|
autoGeneratedFileComment: 'This file was generated from the corresponding source file in core-models/src. Do NOT modify this file by hand.',
|
|
53
|
+
doNotIncludeFiles: ['ComponentUtils'],
|
|
54
|
+
includeExternalPackages: dependencies,
|
|
55
|
+
excludeInternalPackages: [/\/application\/validation\/*/, /validation/],
|
|
56
|
+
fast: true,
|
|
52
57
|
});
|
|
53
58
|
//# sourceMappingURL=generateTypes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateTypes.js","sourceRoot":"","sources":["../../src/scripts/generateTypes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+EAA4E;AAC5E,2CAA6B;AAE7B,IAAA,6BAAa,EAAC;IACV,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,0BAA0B,CAAC;IAC9D,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,WAAW,CAAC;IAC7C,uBAAuB,EAAE,CAAC,YAAY,EAAE,mBAAmB,EAAE,MAAM,CAAC;IACpE,sCAAsC,EAAE;QACpC,SAAS;QACT,iBAAiB;QACjB,wBAAwB;QACxB,gCAAgC;QAChC,eAAe;KAClB;IACD,gBAAgB,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,uBAAuB,CAAC;IAClE,kCAAkC,EAAE,OAAO,CAAC,GAAG,CAAC,2BAA2B,KAAK,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;IAC7G,wBAAwB,EACpB,iHAAiH;
|
|
1
|
+
{"version":3,"file":"generateTypes.js","sourceRoot":"","sources":["../../src/scripts/generateTypes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+EAA4E;AAC5E,2CAA6B;AAE7B,MAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAE5B,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,kDAAkD,CAAC,CAAC,CAAC,YAAY,CACpG,CAAC;AAEF,IAAA,6BAAa,EAAC;IACV,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,0BAA0B,CAAC;IAC9D,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,WAAW,CAAC;IAC7C,uBAAuB,EAAE,CAAC,YAAY,EAAE,mBAAmB,EAAE,MAAM,CAAC;IACpE,sCAAsC,EAAE;QACpC,SAAS;QACT,iBAAiB;QACjB,wBAAwB;QACxB,gCAAgC;QAChC,eAAe;KAClB;IACD,gBAAgB,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,uBAAuB,CAAC;IAClE,kCAAkC,EAAE,OAAO,CAAC,GAAG,CAAC,2BAA2B,KAAK,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;IAC7G,wBAAwB,EACpB,iHAAiH;IACrH,iBAAiB,EAAE,CAAC,gBAAgB,CAAC;IACrC,uBAAuB,EAAE,YAAY;IACrC,uBAAuB,EAAE,CAAC,8BAA8B,EAAE,YAAY,CAAC;IACvE,IAAI,EAAE,IAAI;CACb,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coast/core-api-types",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.222",
|
|
4
4
|
"description": "Facilitates the generation of core-api-types npm package",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./*": {
|
|
@@ -23,12 +23,15 @@
|
|
|
23
23
|
"author": "Coast Engineering",
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@coast/
|
|
26
|
+
"@coast/schemas": "^4.0.0",
|
|
27
27
|
"@paradoxical-io/types": "^2.1.0",
|
|
28
|
-
"
|
|
28
|
+
"@types/json-schema": "^7.0.15",
|
|
29
|
+
"json-schema": "^0.4.0",
|
|
30
|
+
"rfc6902": "^5.1.2",
|
|
31
|
+
"type-zoo": "^3.4.1"
|
|
29
32
|
},
|
|
30
33
|
"devDependencies": {
|
|
31
|
-
"@
|
|
34
|
+
"@coast/service-common-scripts": "^1.0.49",
|
|
32
35
|
"glob": "^10.4.5",
|
|
33
36
|
"ts-morph": "^24.0.0",
|
|
34
37
|
"ts-node": "^10.9.2",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ComponentUtils.js","sourceRoot":"","sources":["../../../../src/models/workflow-template/components/ComponentUtils.ts"],"names":[],"mappings":""}
|