@squidcloud/local-backend 1.0.75 → 1.0.77
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/common/src/ai-assistant.context.d.ts +13 -13
- package/dist/common/src/ai-assistant.context.js +19 -19
- package/dist/common/src/ai-assistant.schemas.d.ts +243 -243
- package/dist/common/src/ai-assistant.schemas.js +210 -210
- package/dist/common/src/ai-assistant.types.d.ts +85 -85
- package/dist/common/src/ai-assistant.types.js +11 -11
- package/dist/common/src/api-call.context.d.ts +13 -13
- package/dist/common/src/api-call.context.js +16 -16
- package/dist/common/src/api.types.d.ts +23 -23
- package/dist/common/src/api.types.js +2 -2
- package/dist/common/src/application.schemas.d.ts +1332 -1312
- package/dist/common/src/application.schemas.js +880 -860
- package/dist/common/src/application.schemas.js.map +1 -1
- package/dist/common/src/application.types.d.ts +189 -186
- package/dist/common/src/application.types.js +89 -89
- package/dist/common/src/application.types.js.map +1 -1
- package/dist/common/src/backend-function.schemas.d.ts +3 -3
- package/dist/common/src/backend-function.schemas.js +12 -12
- package/dist/common/src/backend-function.types.d.ts +6 -6
- package/dist/common/src/backend-function.types.js +2 -2
- package/dist/common/src/backend-run.types.d.ts +54 -54
- package/dist/common/src/backend-run.types.js +91 -91
- package/dist/common/src/bundle-api.types.d.ts +65 -65
- package/dist/common/src/bundle-api.types.js +2 -2
- package/dist/common/src/bundle-data.types.d.ts +60 -60
- package/dist/common/src/bundle-data.types.js +2 -2
- package/dist/common/src/communication.types.d.ts +18 -18
- package/dist/common/src/communication.types.js +40 -40
- package/dist/common/src/context.types.d.ts +24 -24
- package/dist/common/src/context.types.js +2 -2
- package/dist/common/src/distributed-lock.context.d.ts +5 -5
- package/dist/common/src/distributed-lock.context.js +10 -10
- package/dist/common/src/document.types.d.ts +32 -32
- package/dist/common/src/document.types.js +50 -50
- package/dist/common/src/graphql.context.d.ts +14 -14
- package/dist/common/src/graphql.context.js +12 -12
- package/dist/common/src/graphql.types.d.ts +11 -11
- package/dist/common/src/graphql.types.js +34 -34
- package/dist/common/src/heartbeat.types.d.ts +4 -4
- package/dist/common/src/heartbeat.types.js +16 -16
- package/dist/common/src/http-status.enum.d.ts +50 -50
- package/dist/common/src/http-status.enum.js +54 -54
- package/dist/common/src/http-status.enum.js.map +1 -1
- package/dist/common/src/index.d.ts +55 -55
- package/dist/common/src/index.js +71 -71
- package/dist/common/src/integrations/ai_assistant.types.d.ts +30 -26
- package/dist/common/src/integrations/ai_assistant.types.js +2 -2
- package/dist/common/src/integrations/api.types.d.ts +80 -80
- package/dist/common/src/integrations/api.types.js +2 -2
- package/dist/common/src/integrations/auth.types.d.ts +39 -39
- package/dist/common/src/integrations/auth.types.js +2 -2
- package/dist/common/src/integrations/database.types.d.ts +231 -231
- package/dist/common/src/integrations/database.types.js +2 -2
- package/dist/common/src/integrations/index.d.ts +126 -126
- package/dist/common/src/integrations/index.js +113 -113
- package/dist/common/src/integrations/index.js.map +1 -1
- package/dist/common/src/integrations/observability.types.d.ts +23 -23
- package/dist/common/src/integrations/observability.types.js +23 -23
- package/dist/common/src/logger.types.d.ts +21 -21
- package/dist/common/src/logger.types.js +11 -11
- package/dist/common/src/logger.types.js.map +1 -1
- package/dist/common/src/metrics.types.d.ts +73 -73
- package/dist/common/src/metrics.types.js +11 -11
- package/dist/common/src/mutation.context.d.ts +13 -13
- package/dist/common/src/mutation.context.js +26 -26
- package/dist/common/src/mutation.schemas.d.ts +5 -5
- package/dist/common/src/mutation.schemas.js +114 -114
- package/dist/common/src/mutation.types.d.ts +63 -63
- package/dist/common/src/mutation.types.js +142 -142
- package/dist/common/src/named-query.context.d.ts +4 -4
- package/dist/common/src/named-query.context.js +9 -9
- package/dist/common/src/named-query.schemas.d.ts +3 -3
- package/dist/common/src/named-query.schemas.js +13 -13
- package/dist/common/src/named-query.types.d.ts +8 -8
- package/dist/common/src/named-query.types.js +2 -2
- package/dist/common/src/query/base-query-builder.d.ts +38 -37
- package/dist/common/src/query/base-query-builder.js +39 -36
- package/dist/common/src/query/base-query-builder.js.map +1 -1
- package/dist/common/src/query/index.d.ts +4 -4
- package/dist/common/src/query/index.js +20 -20
- package/dist/common/src/query/pagination.d.ts +42 -42
- package/dist/common/src/query/pagination.js +164 -164
- package/dist/common/src/query/query-context.d.ts +47 -47
- package/dist/common/src/query/query-context.js +159 -159
- package/dist/common/src/query/serialized-query.types.d.ts +24 -24
- package/dist/common/src/query/serialized-query.types.js +2 -2
- package/dist/common/src/query.types.d.ts +86 -86
- package/dist/common/src/query.types.js +153 -153
- package/dist/common/src/regions.d.ts +21 -21
- package/dist/common/src/regions.js +46 -46
- package/dist/common/src/schema/schema.types.d.ts +30 -30
- package/dist/common/src/schema/schema.types.js +172 -172
- package/dist/common/src/secret.schemas.d.ts +4 -4
- package/dist/common/src/secret.schemas.js +17 -17
- package/dist/common/src/secret.types.d.ts +65 -65
- package/dist/common/src/secret.types.js +5 -5
- package/dist/common/src/security.types.d.ts +3 -3
- package/dist/common/src/security.types.js +2 -2
- package/dist/common/src/socket.schemas.d.ts +3 -3
- package/dist/common/src/socket.schemas.js +58 -58
- package/dist/common/src/socket.types.d.ts +125 -125
- package/dist/common/src/socket.types.js +9 -9
- package/dist/common/src/socket.types.js.map +1 -1
- package/dist/common/src/time-units.d.ts +5 -5
- package/dist/common/src/time-units.js +8 -8
- package/dist/common/src/trigger.types.d.ts +15 -15
- package/dist/common/src/trigger.types.js +2 -2
- package/dist/common/src/types.d.ts +21 -21
- package/dist/common/src/types.js +2 -2
- package/dist/common/src/utils/array.d.ts +8 -8
- package/dist/common/src/utils/array.js +54 -54
- package/dist/common/src/utils/assert.d.ts +8 -8
- package/dist/common/src/utils/assert.js +49 -49
- package/dist/common/src/utils/error.d.ts +4 -4
- package/dist/common/src/utils/error.js +10 -10
- package/dist/common/src/utils/global.utils.d.ts +11 -11
- package/dist/common/src/utils/global.utils.js +50 -50
- package/dist/common/src/utils/http.d.ts +2 -2
- package/dist/common/src/utils/http.js +41 -41
- package/dist/common/src/utils/id.d.ts +2 -2
- package/dist/common/src/utils/id.js +21 -21
- package/dist/common/src/utils/lock.manager.d.ts +9 -9
- package/dist/common/src/utils/lock.manager.js +39 -39
- package/dist/common/src/utils/nullish.d.ts +2 -2
- package/dist/common/src/utils/nullish.js +11 -11
- package/dist/common/src/utils/object.d.ts +5 -5
- package/dist/common/src/utils/object.js +75 -75
- package/dist/common/src/utils/serialization.d.ts +6 -6
- package/dist/common/src/utils/serialization.js +77 -77
- package/dist/common/src/utils/transforms.d.ts +18 -18
- package/dist/common/src/utils/transforms.js +92 -92
- package/dist/common/src/utils/url.d.ts +1 -1
- package/dist/common/src/utils/url.js +15 -15
- package/dist/common/src/utils/validation.d.ts +17 -17
- package/dist/common/src/utils/validation.js +209 -209
- package/dist/common/src/webhook-response.d.ts +6 -6
- package/dist/common/src/webhook-response.js +2 -2
- package/dist/common/src/websocket.impl.d.ts +21 -21
- package/dist/common/src/websocket.impl.js +76 -76
- package/dist/internal-common/src/async-queue.d.ts +4 -4
- package/dist/internal-common/src/async-queue.js +17 -17
- package/dist/internal-common/src/code-executor.types.d.ts +13 -13
- package/dist/internal-common/src/code-executor.types.js +2 -2
- package/dist/internal-common/src/dao.types.d.ts +49 -49
- package/dist/internal-common/src/dao.types.js +2 -2
- package/dist/internal-common/src/environment/environment.types.d.ts +74 -74
- package/dist/internal-common/src/environment/environment.types.js +2 -2
- package/dist/internal-common/src/environment/index.d.ts +6 -6
- package/dist/internal-common/src/environment/index.js +27 -27
- package/dist/internal-common/src/environment/local.environment.d.ts +2 -2
- package/dist/internal-common/src/environment/local.environment.js +62 -62
- package/dist/internal-common/src/filters/custom-exception.filter.d.ts +6 -6
- package/dist/internal-common/src/filters/custom-exception.filter.js +44 -44
- package/dist/internal-common/src/filters/custom-exception.filter.js.map +1 -1
- package/dist/internal-common/src/index.d.ts +14 -14
- package/dist/internal-common/src/index.js +32 -32
- package/dist/internal-common/src/interceptors/body.interceptor.d.ts +5 -5
- package/dist/internal-common/src/interceptors/body.interceptor.js +24 -24
- package/dist/internal-common/src/interceptors/body.interceptor.js.map +1 -1
- package/dist/internal-common/src/kafka/kafka.manager.d.ts +22 -22
- package/dist/internal-common/src/kafka/kafka.manager.js +116 -116
- package/dist/internal-common/src/kafka/kafka.types.d.ts +17 -17
- package/dist/internal-common/src/kafka/kafka.types.js +2 -2
- package/dist/internal-common/src/kafka-observability-publisher.d.ts +11 -11
- package/dist/internal-common/src/kafka-observability-publisher.js +20 -20
- package/dist/internal-common/src/local-dev.types.d.ts +35 -35
- package/dist/internal-common/src/local-dev.types.js +2 -2
- package/dist/internal-common/src/observability-publisher.d.ts +9 -9
- package/dist/internal-common/src/observability-publisher.js +58 -58
- package/dist/internal-common/src/observability.types.d.ts +17 -17
- package/dist/internal-common/src/observability.types.js +2 -2
- package/dist/internal-common/src/shutdown.manager.d.ts +20 -20
- package/dist/internal-common/src/shutdown.manager.js +75 -75
- package/dist/internal-common/src/shutdown.manager.js.map +1 -1
- package/dist/internal-common/src/utils.d.ts +5 -5
- package/dist/internal-common/src/utils.js +29 -29
- package/dist/local-backend/src/index.d.ts +4 -4
- package/dist/local-backend/src/index.js +20 -20
- package/dist/local-backend/src/local-backend-socket.service.d.ts +19 -19
- package/dist/local-backend/src/local-backend-socket.service.js +110 -110
- package/dist/local-backend/src/local-backend-socket.service.js.map +1 -1
- package/dist/local-backend/src/local-backend.app.d.ts +2 -2
- package/dist/local-backend/src/local-backend.app.js +19 -19
- package/dist/local-backend/src/local-backend.controller.d.ts +8 -8
- package/dist/local-backend/src/local-backend.controller.js +49 -49
- package/dist/local-backend/src/local-backend.controller.js.map +1 -1
- package/dist/local-backend/src/local-backend.module.d.ts +8 -8
- package/dist/local-backend/src/local-backend.module.js +53 -53
- package/dist/local-backend/src/local-backend.module.js.map +1 -1
- package/dist/local-backend/src/local-backend.service.d.ts +15 -15
- package/dist/local-backend/src/local-backend.service.js +170 -170
- package/dist/local-backend/src/local-backend.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -33
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.hasDocumentDiff = exports.getSquidDocId = exports.parseSquidDocId = exports.SquidPlaceholderId = void 0;
|
|
4
|
-
const deep_diff_1 = require("deep-diff");
|
|
5
|
-
const nullish_1 = require("./utils/nullish");
|
|
6
|
-
const serialization_1 = require("./utils/serialization");
|
|
7
|
-
exports.SquidPlaceholderId = '__squidId';
|
|
8
|
-
function parseSquidDocId(squidDocId) {
|
|
9
|
-
return (0, serialization_1.deserializeObj)(squidDocId);
|
|
10
|
-
}
|
|
11
|
-
exports.parseSquidDocId = parseSquidDocId;
|
|
12
|
-
function getSquidDocId(...args) {
|
|
13
|
-
const [a, b, c] = args;
|
|
14
|
-
const squidDocIdObjObj = typeof a === 'object' ? a : { docId: a, collectionName: b, integrationId: c };
|
|
15
|
-
if (!squidDocIdObjObj.integrationId)
|
|
16
|
-
squidDocIdObjObj.integrationId = undefined;
|
|
17
|
-
return (0, serialization_1.normalizeJsonAsString)(squidDocIdObjObj);
|
|
18
|
-
}
|
|
19
|
-
exports.getSquidDocId = getSquidDocId;
|
|
20
|
-
function hasDocumentDiff(beforeDoc, afterDoc) {
|
|
21
|
-
const diffs = (0, deep_diff_1.default)(beforeDoc, afterDoc) || [];
|
|
22
|
-
const ignoredKeys = ['__docId__', '__ts__'];
|
|
23
|
-
const docIdDiff = diffs.find((diff) => {
|
|
24
|
-
var _a;
|
|
25
|
-
return ((_a = diff.path) === null || _a === void 0 ? void 0 : _a[0]) === '__docId__';
|
|
26
|
-
});
|
|
27
|
-
if (docIdDiff) {
|
|
28
|
-
if (docIdDiff.kind !== 'E' || !docIdDiff.rhs) {
|
|
29
|
-
throw new Error(`Unexpected diff for __docId__: ${(0, serialization_1.normalizeJsonAsString)(docIdDiff)}`);
|
|
30
|
-
}
|
|
31
|
-
const docIdObj = parseSquidDocId(docIdDiff.rhs + '');
|
|
32
|
-
ignoredKeys.push(...Object.keys(docIdObj));
|
|
33
|
-
}
|
|
34
|
-
const diff = diffs === null || diffs === void 0 ? void 0 : diffs.find((diff, index) => {
|
|
35
|
-
var _a;
|
|
36
|
-
if (ignoredKeys.includes((_a = diff.path) === null || _a === void 0 ? void 0 : _a[0]))
|
|
37
|
-
return false;
|
|
38
|
-
switch (diff.kind) {
|
|
39
|
-
case 'N':
|
|
40
|
-
return (0, nullish_1.isNotNullish)(diff.rhs);
|
|
41
|
-
case 'E':
|
|
42
|
-
case 'D':
|
|
43
|
-
case 'A':
|
|
44
|
-
return true;
|
|
45
|
-
}
|
|
46
|
-
return false;
|
|
47
|
-
});
|
|
48
|
-
return !!diff;
|
|
49
|
-
}
|
|
50
|
-
exports.hasDocumentDiff = hasDocumentDiff;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.hasDocumentDiff = exports.getSquidDocId = exports.parseSquidDocId = exports.SquidPlaceholderId = void 0;
|
|
4
|
+
const deep_diff_1 = require("deep-diff");
|
|
5
|
+
const nullish_1 = require("./utils/nullish");
|
|
6
|
+
const serialization_1 = require("./utils/serialization");
|
|
7
|
+
exports.SquidPlaceholderId = '__squidId';
|
|
8
|
+
function parseSquidDocId(squidDocId) {
|
|
9
|
+
return (0, serialization_1.deserializeObj)(squidDocId);
|
|
10
|
+
}
|
|
11
|
+
exports.parseSquidDocId = parseSquidDocId;
|
|
12
|
+
function getSquidDocId(...args) {
|
|
13
|
+
const [a, b, c] = args;
|
|
14
|
+
const squidDocIdObjObj = typeof a === 'object' ? a : { docId: a, collectionName: b, integrationId: c };
|
|
15
|
+
if (!squidDocIdObjObj.integrationId)
|
|
16
|
+
squidDocIdObjObj.integrationId = undefined;
|
|
17
|
+
return (0, serialization_1.normalizeJsonAsString)(squidDocIdObjObj);
|
|
18
|
+
}
|
|
19
|
+
exports.getSquidDocId = getSquidDocId;
|
|
20
|
+
function hasDocumentDiff(beforeDoc, afterDoc) {
|
|
21
|
+
const diffs = (0, deep_diff_1.default)(beforeDoc, afterDoc) || [];
|
|
22
|
+
const ignoredKeys = ['__docId__', '__ts__'];
|
|
23
|
+
const docIdDiff = diffs.find((diff) => {
|
|
24
|
+
var _a;
|
|
25
|
+
return ((_a = diff.path) === null || _a === void 0 ? void 0 : _a[0]) === '__docId__';
|
|
26
|
+
});
|
|
27
|
+
if (docIdDiff) {
|
|
28
|
+
if (docIdDiff.kind !== 'E' || !docIdDiff.rhs) {
|
|
29
|
+
throw new Error(`Unexpected diff for __docId__: ${(0, serialization_1.normalizeJsonAsString)(docIdDiff)}`);
|
|
30
|
+
}
|
|
31
|
+
const docIdObj = parseSquidDocId(docIdDiff.rhs + '');
|
|
32
|
+
ignoredKeys.push(...Object.keys(docIdObj));
|
|
33
|
+
}
|
|
34
|
+
const diff = diffs === null || diffs === void 0 ? void 0 : diffs.find((diff, index) => {
|
|
35
|
+
var _a;
|
|
36
|
+
if (ignoredKeys.includes((_a = diff.path) === null || _a === void 0 ? void 0 : _a[0]))
|
|
37
|
+
return false;
|
|
38
|
+
switch (diff.kind) {
|
|
39
|
+
case 'N':
|
|
40
|
+
return (0, nullish_1.isNotNullish)(diff.rhs);
|
|
41
|
+
case 'E':
|
|
42
|
+
case 'D':
|
|
43
|
+
case 'A':
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
return false;
|
|
47
|
+
});
|
|
48
|
+
return !!diff;
|
|
49
|
+
}
|
|
50
|
+
exports.hasDocumentDiff = hasDocumentDiff;
|
|
51
51
|
//# sourceMappingURL=document.types.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
interface GraphQlRequest {
|
|
2
|
-
isGraphiQL: boolean;
|
|
3
|
-
query?: string;
|
|
4
|
-
operationName?: string;
|
|
5
|
-
variables?: string | Record<string, any>;
|
|
6
|
-
}
|
|
7
|
-
export declare class GraphqlContext {
|
|
8
|
-
readonly isGraphiQL: boolean;
|
|
9
|
-
readonly query: string | undefined;
|
|
10
|
-
readonly variables: string | Record<string, any> | undefined;
|
|
11
|
-
readonly operationName: string | undefined;
|
|
12
|
-
constructor(graphQlRequest: GraphQlRequest);
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
1
|
+
interface GraphQlRequest {
|
|
2
|
+
isGraphiQL: boolean;
|
|
3
|
+
query?: string;
|
|
4
|
+
operationName?: string;
|
|
5
|
+
variables?: string | Record<string, any>;
|
|
6
|
+
}
|
|
7
|
+
export declare class GraphqlContext {
|
|
8
|
+
readonly isGraphiQL: boolean;
|
|
9
|
+
readonly query: string | undefined;
|
|
10
|
+
readonly variables: string | Record<string, any> | undefined;
|
|
11
|
+
readonly operationName: string | undefined;
|
|
12
|
+
constructor(graphQlRequest: GraphQlRequest);
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GraphqlContext = void 0;
|
|
4
|
-
class GraphqlContext {
|
|
5
|
-
constructor(graphQlRequest) {
|
|
6
|
-
this.isGraphiQL = graphQlRequest.isGraphiQL;
|
|
7
|
-
this.query = graphQlRequest.query;
|
|
8
|
-
this.operationName = graphQlRequest.operationName;
|
|
9
|
-
this.variables = graphQlRequest.variables;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.GraphqlContext = GraphqlContext;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GraphqlContext = void 0;
|
|
4
|
+
class GraphqlContext {
|
|
5
|
+
constructor(graphQlRequest) {
|
|
6
|
+
this.isGraphiQL = graphQlRequest.isGraphiQL;
|
|
7
|
+
this.query = graphQlRequest.query;
|
|
8
|
+
this.operationName = graphQlRequest.operationName;
|
|
9
|
+
this.variables = graphQlRequest.variables;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.GraphqlContext = GraphqlContext;
|
|
13
13
|
//# sourceMappingURL=graphql.context.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { IntrospectionQuery } from 'graphql';
|
|
2
|
-
export { ExecutionResult, IntrospectionQuery } from 'graphql';
|
|
3
|
-
export interface GraphQLRequest {
|
|
4
|
-
operationName?: string;
|
|
5
|
-
query?: string;
|
|
6
|
-
variables?: string | Record<string, any>;
|
|
7
|
-
}
|
|
8
|
-
export interface SecureGraphQLRequest extends GraphQLRequest {
|
|
9
|
-
isGraphiQL: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const EmptyIntrospection: IntrospectionQuery;
|
|
1
|
+
import { IntrospectionQuery } from 'graphql';
|
|
2
|
+
export { ExecutionResult, IntrospectionQuery } from 'graphql';
|
|
3
|
+
export interface GraphQLRequest {
|
|
4
|
+
operationName?: string;
|
|
5
|
+
query?: string;
|
|
6
|
+
variables?: string | Record<string, any>;
|
|
7
|
+
}
|
|
8
|
+
export interface SecureGraphQLRequest extends GraphQLRequest {
|
|
9
|
+
isGraphiQL: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const EmptyIntrospection: IntrospectionQuery;
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EmptyIntrospection = void 0;
|
|
4
|
-
exports.EmptyIntrospection = {
|
|
5
|
-
__schema: {
|
|
6
|
-
queryType: { name: 'Query', kind: 'OBJECT' },
|
|
7
|
-
mutationType: null,
|
|
8
|
-
subscriptionType: null,
|
|
9
|
-
types: [
|
|
10
|
-
{
|
|
11
|
-
name: 'Query',
|
|
12
|
-
kind: 'OBJECT',
|
|
13
|
-
fields: [
|
|
14
|
-
{
|
|
15
|
-
name: 'isEmpty',
|
|
16
|
-
type: {
|
|
17
|
-
kind: 'SCALAR',
|
|
18
|
-
name: 'Boolean',
|
|
19
|
-
},
|
|
20
|
-
args: [],
|
|
21
|
-
isDeprecated: false,
|
|
22
|
-
deprecationReason: null,
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
interfaces: [],
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
name: 'Boolean',
|
|
29
|
-
kind: 'SCALAR',
|
|
30
|
-
},
|
|
31
|
-
],
|
|
32
|
-
directives: [],
|
|
33
|
-
},
|
|
34
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EmptyIntrospection = void 0;
|
|
4
|
+
exports.EmptyIntrospection = {
|
|
5
|
+
__schema: {
|
|
6
|
+
queryType: { name: 'Query', kind: 'OBJECT' },
|
|
7
|
+
mutationType: null,
|
|
8
|
+
subscriptionType: null,
|
|
9
|
+
types: [
|
|
10
|
+
{
|
|
11
|
+
name: 'Query',
|
|
12
|
+
kind: 'OBJECT',
|
|
13
|
+
fields: [
|
|
14
|
+
{
|
|
15
|
+
name: 'isEmpty',
|
|
16
|
+
type: {
|
|
17
|
+
kind: 'SCALAR',
|
|
18
|
+
name: 'Boolean',
|
|
19
|
+
},
|
|
20
|
+
args: [],
|
|
21
|
+
isDeprecated: false,
|
|
22
|
+
deprecationReason: null,
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
interfaces: [],
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: 'Boolean',
|
|
29
|
+
kind: 'SCALAR',
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
directives: [],
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
35
|
//# sourceMappingURL=graphql.types.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface HeartbeatProvider {
|
|
2
|
-
checkHeartbeat(): Promise<void>;
|
|
3
|
-
}
|
|
4
|
-
export declare function checkAllHeartbeatProviders(heartbeatProviders: Record<string, HeartbeatProvider>): Promise<void>;
|
|
1
|
+
export interface HeartbeatProvider {
|
|
2
|
+
checkHeartbeat(): Promise<void>;
|
|
3
|
+
}
|
|
4
|
+
export declare function checkAllHeartbeatProviders(heartbeatProviders: Record<string, HeartbeatProvider>): Promise<void>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.checkAllHeartbeatProviders = void 0;
|
|
4
|
-
const rxjs_1 = require("rxjs");
|
|
5
|
-
async function checkAllHeartbeatProviders(heartbeatProviders) {
|
|
6
|
-
await Promise.all(Object.entries(heartbeatProviders).map(async ([id, provider]) => {
|
|
7
|
-
try {
|
|
8
|
-
return await (0, rxjs_1.firstValueFrom)((0, rxjs_1.from)(provider.checkHeartbeat()).pipe((0, rxjs_1.timeout)(5000), (0, rxjs_1.map)(() => true)));
|
|
9
|
-
}
|
|
10
|
-
catch (e) {
|
|
11
|
-
console.log(`Error in heartbeat provider: ${id}`, e);
|
|
12
|
-
throw e;
|
|
13
|
-
}
|
|
14
|
-
}));
|
|
15
|
-
}
|
|
16
|
-
exports.checkAllHeartbeatProviders = checkAllHeartbeatProviders;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.checkAllHeartbeatProviders = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
async function checkAllHeartbeatProviders(heartbeatProviders) {
|
|
6
|
+
await Promise.all(Object.entries(heartbeatProviders).map(async ([id, provider]) => {
|
|
7
|
+
try {
|
|
8
|
+
return await (0, rxjs_1.firstValueFrom)((0, rxjs_1.from)(provider.checkHeartbeat()).pipe((0, rxjs_1.timeout)(5000), (0, rxjs_1.map)(() => true)));
|
|
9
|
+
}
|
|
10
|
+
catch (e) {
|
|
11
|
+
console.log(`Error in heartbeat provider: ${id}`, e);
|
|
12
|
+
throw e;
|
|
13
|
+
}
|
|
14
|
+
}));
|
|
15
|
+
}
|
|
16
|
+
exports.checkAllHeartbeatProviders = checkAllHeartbeatProviders;
|
|
17
17
|
//# sourceMappingURL=heartbeat.types.js.map
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
export declare enum HttpStatus {
|
|
2
|
-
CONTINUE = 100,
|
|
3
|
-
SWITCHING_PROTOCOLS = 101,
|
|
4
|
-
PROCESSING = 102,
|
|
5
|
-
EARLYHINTS = 103,
|
|
6
|
-
OK = 200,
|
|
7
|
-
CREATED = 201,
|
|
8
|
-
ACCEPTED = 202,
|
|
9
|
-
NON_AUTHORITATIVE_INFORMATION = 203,
|
|
10
|
-
NO_CONTENT = 204,
|
|
11
|
-
RESET_CONTENT = 205,
|
|
12
|
-
PARTIAL_CONTENT = 206,
|
|
13
|
-
AMBIGUOUS = 300,
|
|
14
|
-
MOVED_PERMANENTLY = 301,
|
|
15
|
-
FOUND = 302,
|
|
16
|
-
SEE_OTHER = 303,
|
|
17
|
-
NOT_MODIFIED = 304,
|
|
18
|
-
TEMPORARY_REDIRECT = 307,
|
|
19
|
-
PERMANENT_REDIRECT = 308,
|
|
20
|
-
BAD_REQUEST = 400,
|
|
21
|
-
UNAUTHORIZED = 401,
|
|
22
|
-
PAYMENT_REQUIRED = 402,
|
|
23
|
-
FORBIDDEN = 403,
|
|
24
|
-
NOT_FOUND = 404,
|
|
25
|
-
METHOD_NOT_ALLOWED = 405,
|
|
26
|
-
NOT_ACCEPTABLE = 406,
|
|
27
|
-
PROXY_AUTHENTICATION_REQUIRED = 407,
|
|
28
|
-
REQUEST_TIMEOUT = 408,
|
|
29
|
-
CONFLICT = 409,
|
|
30
|
-
GONE = 410,
|
|
31
|
-
LENGTH_REQUIRED = 411,
|
|
32
|
-
PRECONDITION_FAILED = 412,
|
|
33
|
-
PAYLOAD_TOO_LARGE = 413,
|
|
34
|
-
URI_TOO_LONG = 414,
|
|
35
|
-
UNSUPPORTED_MEDIA_TYPE = 415,
|
|
36
|
-
REQUESTED_RANGE_NOT_SATISFIABLE = 416,
|
|
37
|
-
EXPECTATION_FAILED = 417,
|
|
38
|
-
I_AM_A_TEAPOT = 418,
|
|
39
|
-
MISDIRECTED = 421,
|
|
40
|
-
UNPROCESSABLE_ENTITY = 422,
|
|
41
|
-
FAILED_DEPENDENCY = 424,
|
|
42
|
-
PRECONDITION_REQUIRED = 428,
|
|
43
|
-
TOO_MANY_REQUESTS = 429,
|
|
44
|
-
INTERNAL_SERVER_ERROR = 500,
|
|
45
|
-
NOT_IMPLEMENTED = 501,
|
|
46
|
-
BAD_GATEWAY = 502,
|
|
47
|
-
SERVICE_UNAVAILABLE = 503,
|
|
48
|
-
GATEWAY_TIMEOUT = 504,
|
|
49
|
-
HTTP_VERSION_NOT_SUPPORTED = 505
|
|
50
|
-
}
|
|
1
|
+
export declare enum HttpStatus {
|
|
2
|
+
CONTINUE = 100,
|
|
3
|
+
SWITCHING_PROTOCOLS = 101,
|
|
4
|
+
PROCESSING = 102,
|
|
5
|
+
EARLYHINTS = 103,
|
|
6
|
+
OK = 200,
|
|
7
|
+
CREATED = 201,
|
|
8
|
+
ACCEPTED = 202,
|
|
9
|
+
NON_AUTHORITATIVE_INFORMATION = 203,
|
|
10
|
+
NO_CONTENT = 204,
|
|
11
|
+
RESET_CONTENT = 205,
|
|
12
|
+
PARTIAL_CONTENT = 206,
|
|
13
|
+
AMBIGUOUS = 300,
|
|
14
|
+
MOVED_PERMANENTLY = 301,
|
|
15
|
+
FOUND = 302,
|
|
16
|
+
SEE_OTHER = 303,
|
|
17
|
+
NOT_MODIFIED = 304,
|
|
18
|
+
TEMPORARY_REDIRECT = 307,
|
|
19
|
+
PERMANENT_REDIRECT = 308,
|
|
20
|
+
BAD_REQUEST = 400,
|
|
21
|
+
UNAUTHORIZED = 401,
|
|
22
|
+
PAYMENT_REQUIRED = 402,
|
|
23
|
+
FORBIDDEN = 403,
|
|
24
|
+
NOT_FOUND = 404,
|
|
25
|
+
METHOD_NOT_ALLOWED = 405,
|
|
26
|
+
NOT_ACCEPTABLE = 406,
|
|
27
|
+
PROXY_AUTHENTICATION_REQUIRED = 407,
|
|
28
|
+
REQUEST_TIMEOUT = 408,
|
|
29
|
+
CONFLICT = 409,
|
|
30
|
+
GONE = 410,
|
|
31
|
+
LENGTH_REQUIRED = 411,
|
|
32
|
+
PRECONDITION_FAILED = 412,
|
|
33
|
+
PAYLOAD_TOO_LARGE = 413,
|
|
34
|
+
URI_TOO_LONG = 414,
|
|
35
|
+
UNSUPPORTED_MEDIA_TYPE = 415,
|
|
36
|
+
REQUESTED_RANGE_NOT_SATISFIABLE = 416,
|
|
37
|
+
EXPECTATION_FAILED = 417,
|
|
38
|
+
I_AM_A_TEAPOT = 418,
|
|
39
|
+
MISDIRECTED = 421,
|
|
40
|
+
UNPROCESSABLE_ENTITY = 422,
|
|
41
|
+
FAILED_DEPENDENCY = 424,
|
|
42
|
+
PRECONDITION_REQUIRED = 428,
|
|
43
|
+
TOO_MANY_REQUESTS = 429,
|
|
44
|
+
INTERNAL_SERVER_ERROR = 500,
|
|
45
|
+
NOT_IMPLEMENTED = 501,
|
|
46
|
+
BAD_GATEWAY = 502,
|
|
47
|
+
SERVICE_UNAVAILABLE = 503,
|
|
48
|
+
GATEWAY_TIMEOUT = 504,
|
|
49
|
+
HTTP_VERSION_NOT_SUPPORTED = 505
|
|
50
|
+
}
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HttpStatus = void 0;
|
|
4
|
-
var HttpStatus;
|
|
5
|
-
(function (HttpStatus) {
|
|
6
|
-
HttpStatus[HttpStatus["CONTINUE"] = 100] = "CONTINUE";
|
|
7
|
-
HttpStatus[HttpStatus["SWITCHING_PROTOCOLS"] = 101] = "SWITCHING_PROTOCOLS";
|
|
8
|
-
HttpStatus[HttpStatus["PROCESSING"] = 102] = "PROCESSING";
|
|
9
|
-
HttpStatus[HttpStatus["EARLYHINTS"] = 103] = "EARLYHINTS";
|
|
10
|
-
HttpStatus[HttpStatus["OK"] = 200] = "OK";
|
|
11
|
-
HttpStatus[HttpStatus["CREATED"] = 201] = "CREATED";
|
|
12
|
-
HttpStatus[HttpStatus["ACCEPTED"] = 202] = "ACCEPTED";
|
|
13
|
-
HttpStatus[HttpStatus["NON_AUTHORITATIVE_INFORMATION"] = 203] = "NON_AUTHORITATIVE_INFORMATION";
|
|
14
|
-
HttpStatus[HttpStatus["NO_CONTENT"] = 204] = "NO_CONTENT";
|
|
15
|
-
HttpStatus[HttpStatus["RESET_CONTENT"] = 205] = "RESET_CONTENT";
|
|
16
|
-
HttpStatus[HttpStatus["PARTIAL_CONTENT"] = 206] = "PARTIAL_CONTENT";
|
|
17
|
-
HttpStatus[HttpStatus["AMBIGUOUS"] = 300] = "AMBIGUOUS";
|
|
18
|
-
HttpStatus[HttpStatus["MOVED_PERMANENTLY"] = 301] = "MOVED_PERMANENTLY";
|
|
19
|
-
HttpStatus[HttpStatus["FOUND"] = 302] = "FOUND";
|
|
20
|
-
HttpStatus[HttpStatus["SEE_OTHER"] = 303] = "SEE_OTHER";
|
|
21
|
-
HttpStatus[HttpStatus["NOT_MODIFIED"] = 304] = "NOT_MODIFIED";
|
|
22
|
-
HttpStatus[HttpStatus["TEMPORARY_REDIRECT"] = 307] = "TEMPORARY_REDIRECT";
|
|
23
|
-
HttpStatus[HttpStatus["PERMANENT_REDIRECT"] = 308] = "PERMANENT_REDIRECT";
|
|
24
|
-
HttpStatus[HttpStatus["BAD_REQUEST"] = 400] = "BAD_REQUEST";
|
|
25
|
-
HttpStatus[HttpStatus["UNAUTHORIZED"] = 401] = "UNAUTHORIZED";
|
|
26
|
-
HttpStatus[HttpStatus["PAYMENT_REQUIRED"] = 402] = "PAYMENT_REQUIRED";
|
|
27
|
-
HttpStatus[HttpStatus["FORBIDDEN"] = 403] = "FORBIDDEN";
|
|
28
|
-
HttpStatus[HttpStatus["NOT_FOUND"] = 404] = "NOT_FOUND";
|
|
29
|
-
HttpStatus[HttpStatus["METHOD_NOT_ALLOWED"] = 405] = "METHOD_NOT_ALLOWED";
|
|
30
|
-
HttpStatus[HttpStatus["NOT_ACCEPTABLE"] = 406] = "NOT_ACCEPTABLE";
|
|
31
|
-
HttpStatus[HttpStatus["PROXY_AUTHENTICATION_REQUIRED"] = 407] = "PROXY_AUTHENTICATION_REQUIRED";
|
|
32
|
-
HttpStatus[HttpStatus["REQUEST_TIMEOUT"] = 408] = "REQUEST_TIMEOUT";
|
|
33
|
-
HttpStatus[HttpStatus["CONFLICT"] = 409] = "CONFLICT";
|
|
34
|
-
HttpStatus[HttpStatus["GONE"] = 410] = "GONE";
|
|
35
|
-
HttpStatus[HttpStatus["LENGTH_REQUIRED"] = 411] = "LENGTH_REQUIRED";
|
|
36
|
-
HttpStatus[HttpStatus["PRECONDITION_FAILED"] = 412] = "PRECONDITION_FAILED";
|
|
37
|
-
HttpStatus[HttpStatus["PAYLOAD_TOO_LARGE"] = 413] = "PAYLOAD_TOO_LARGE";
|
|
38
|
-
HttpStatus[HttpStatus["URI_TOO_LONG"] = 414] = "URI_TOO_LONG";
|
|
39
|
-
HttpStatus[HttpStatus["UNSUPPORTED_MEDIA_TYPE"] = 415] = "UNSUPPORTED_MEDIA_TYPE";
|
|
40
|
-
HttpStatus[HttpStatus["REQUESTED_RANGE_NOT_SATISFIABLE"] = 416] = "REQUESTED_RANGE_NOT_SATISFIABLE";
|
|
41
|
-
HttpStatus[HttpStatus["EXPECTATION_FAILED"] = 417] = "EXPECTATION_FAILED";
|
|
42
|
-
HttpStatus[HttpStatus["I_AM_A_TEAPOT"] = 418] = "I_AM_A_TEAPOT";
|
|
43
|
-
HttpStatus[HttpStatus["MISDIRECTED"] = 421] = "MISDIRECTED";
|
|
44
|
-
HttpStatus[HttpStatus["UNPROCESSABLE_ENTITY"] = 422] = "UNPROCESSABLE_ENTITY";
|
|
45
|
-
HttpStatus[HttpStatus["FAILED_DEPENDENCY"] = 424] = "FAILED_DEPENDENCY";
|
|
46
|
-
HttpStatus[HttpStatus["PRECONDITION_REQUIRED"] = 428] = "PRECONDITION_REQUIRED";
|
|
47
|
-
HttpStatus[HttpStatus["TOO_MANY_REQUESTS"] = 429] = "TOO_MANY_REQUESTS";
|
|
48
|
-
HttpStatus[HttpStatus["INTERNAL_SERVER_ERROR"] = 500] = "INTERNAL_SERVER_ERROR";
|
|
49
|
-
HttpStatus[HttpStatus["NOT_IMPLEMENTED"] = 501] = "NOT_IMPLEMENTED";
|
|
50
|
-
HttpStatus[HttpStatus["BAD_GATEWAY"] = 502] = "BAD_GATEWAY";
|
|
51
|
-
HttpStatus[HttpStatus["SERVICE_UNAVAILABLE"] = 503] = "SERVICE_UNAVAILABLE";
|
|
52
|
-
HttpStatus[HttpStatus["GATEWAY_TIMEOUT"] = 504] = "GATEWAY_TIMEOUT";
|
|
53
|
-
HttpStatus[HttpStatus["HTTP_VERSION_NOT_SUPPORTED"] = 505] = "HTTP_VERSION_NOT_SUPPORTED";
|
|
54
|
-
})(HttpStatus
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HttpStatus = void 0;
|
|
4
|
+
var HttpStatus;
|
|
5
|
+
(function (HttpStatus) {
|
|
6
|
+
HttpStatus[HttpStatus["CONTINUE"] = 100] = "CONTINUE";
|
|
7
|
+
HttpStatus[HttpStatus["SWITCHING_PROTOCOLS"] = 101] = "SWITCHING_PROTOCOLS";
|
|
8
|
+
HttpStatus[HttpStatus["PROCESSING"] = 102] = "PROCESSING";
|
|
9
|
+
HttpStatus[HttpStatus["EARLYHINTS"] = 103] = "EARLYHINTS";
|
|
10
|
+
HttpStatus[HttpStatus["OK"] = 200] = "OK";
|
|
11
|
+
HttpStatus[HttpStatus["CREATED"] = 201] = "CREATED";
|
|
12
|
+
HttpStatus[HttpStatus["ACCEPTED"] = 202] = "ACCEPTED";
|
|
13
|
+
HttpStatus[HttpStatus["NON_AUTHORITATIVE_INFORMATION"] = 203] = "NON_AUTHORITATIVE_INFORMATION";
|
|
14
|
+
HttpStatus[HttpStatus["NO_CONTENT"] = 204] = "NO_CONTENT";
|
|
15
|
+
HttpStatus[HttpStatus["RESET_CONTENT"] = 205] = "RESET_CONTENT";
|
|
16
|
+
HttpStatus[HttpStatus["PARTIAL_CONTENT"] = 206] = "PARTIAL_CONTENT";
|
|
17
|
+
HttpStatus[HttpStatus["AMBIGUOUS"] = 300] = "AMBIGUOUS";
|
|
18
|
+
HttpStatus[HttpStatus["MOVED_PERMANENTLY"] = 301] = "MOVED_PERMANENTLY";
|
|
19
|
+
HttpStatus[HttpStatus["FOUND"] = 302] = "FOUND";
|
|
20
|
+
HttpStatus[HttpStatus["SEE_OTHER"] = 303] = "SEE_OTHER";
|
|
21
|
+
HttpStatus[HttpStatus["NOT_MODIFIED"] = 304] = "NOT_MODIFIED";
|
|
22
|
+
HttpStatus[HttpStatus["TEMPORARY_REDIRECT"] = 307] = "TEMPORARY_REDIRECT";
|
|
23
|
+
HttpStatus[HttpStatus["PERMANENT_REDIRECT"] = 308] = "PERMANENT_REDIRECT";
|
|
24
|
+
HttpStatus[HttpStatus["BAD_REQUEST"] = 400] = "BAD_REQUEST";
|
|
25
|
+
HttpStatus[HttpStatus["UNAUTHORIZED"] = 401] = "UNAUTHORIZED";
|
|
26
|
+
HttpStatus[HttpStatus["PAYMENT_REQUIRED"] = 402] = "PAYMENT_REQUIRED";
|
|
27
|
+
HttpStatus[HttpStatus["FORBIDDEN"] = 403] = "FORBIDDEN";
|
|
28
|
+
HttpStatus[HttpStatus["NOT_FOUND"] = 404] = "NOT_FOUND";
|
|
29
|
+
HttpStatus[HttpStatus["METHOD_NOT_ALLOWED"] = 405] = "METHOD_NOT_ALLOWED";
|
|
30
|
+
HttpStatus[HttpStatus["NOT_ACCEPTABLE"] = 406] = "NOT_ACCEPTABLE";
|
|
31
|
+
HttpStatus[HttpStatus["PROXY_AUTHENTICATION_REQUIRED"] = 407] = "PROXY_AUTHENTICATION_REQUIRED";
|
|
32
|
+
HttpStatus[HttpStatus["REQUEST_TIMEOUT"] = 408] = "REQUEST_TIMEOUT";
|
|
33
|
+
HttpStatus[HttpStatus["CONFLICT"] = 409] = "CONFLICT";
|
|
34
|
+
HttpStatus[HttpStatus["GONE"] = 410] = "GONE";
|
|
35
|
+
HttpStatus[HttpStatus["LENGTH_REQUIRED"] = 411] = "LENGTH_REQUIRED";
|
|
36
|
+
HttpStatus[HttpStatus["PRECONDITION_FAILED"] = 412] = "PRECONDITION_FAILED";
|
|
37
|
+
HttpStatus[HttpStatus["PAYLOAD_TOO_LARGE"] = 413] = "PAYLOAD_TOO_LARGE";
|
|
38
|
+
HttpStatus[HttpStatus["URI_TOO_LONG"] = 414] = "URI_TOO_LONG";
|
|
39
|
+
HttpStatus[HttpStatus["UNSUPPORTED_MEDIA_TYPE"] = 415] = "UNSUPPORTED_MEDIA_TYPE";
|
|
40
|
+
HttpStatus[HttpStatus["REQUESTED_RANGE_NOT_SATISFIABLE"] = 416] = "REQUESTED_RANGE_NOT_SATISFIABLE";
|
|
41
|
+
HttpStatus[HttpStatus["EXPECTATION_FAILED"] = 417] = "EXPECTATION_FAILED";
|
|
42
|
+
HttpStatus[HttpStatus["I_AM_A_TEAPOT"] = 418] = "I_AM_A_TEAPOT";
|
|
43
|
+
HttpStatus[HttpStatus["MISDIRECTED"] = 421] = "MISDIRECTED";
|
|
44
|
+
HttpStatus[HttpStatus["UNPROCESSABLE_ENTITY"] = 422] = "UNPROCESSABLE_ENTITY";
|
|
45
|
+
HttpStatus[HttpStatus["FAILED_DEPENDENCY"] = 424] = "FAILED_DEPENDENCY";
|
|
46
|
+
HttpStatus[HttpStatus["PRECONDITION_REQUIRED"] = 428] = "PRECONDITION_REQUIRED";
|
|
47
|
+
HttpStatus[HttpStatus["TOO_MANY_REQUESTS"] = 429] = "TOO_MANY_REQUESTS";
|
|
48
|
+
HttpStatus[HttpStatus["INTERNAL_SERVER_ERROR"] = 500] = "INTERNAL_SERVER_ERROR";
|
|
49
|
+
HttpStatus[HttpStatus["NOT_IMPLEMENTED"] = 501] = "NOT_IMPLEMENTED";
|
|
50
|
+
HttpStatus[HttpStatus["BAD_GATEWAY"] = 502] = "BAD_GATEWAY";
|
|
51
|
+
HttpStatus[HttpStatus["SERVICE_UNAVAILABLE"] = 503] = "SERVICE_UNAVAILABLE";
|
|
52
|
+
HttpStatus[HttpStatus["GATEWAY_TIMEOUT"] = 504] = "GATEWAY_TIMEOUT";
|
|
53
|
+
HttpStatus[HttpStatus["HTTP_VERSION_NOT_SUPPORTED"] = 505] = "HTTP_VERSION_NOT_SUPPORTED";
|
|
54
|
+
})(HttpStatus || (exports.HttpStatus = HttpStatus = {}));
|
|
55
55
|
//# sourceMappingURL=http-status.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-status.enum.js","sourceRoot":"","sources":["../../../../common/src/http-status.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAiDX;AAjDD,WAAY,UAAU;IACpB,qDAAc,CAAA;IACd,2EAAyB,CAAA;IACzB,yDAAgB,CAAA;IAChB,yDAAgB,CAAA;IAChB,yCAAQ,CAAA;IACR,mDAAa,CAAA;IACb,qDAAc,CAAA;IACd,+FAAmC,CAAA;IACnC,yDAAgB,CAAA;IAChB,+DAAmB,CAAA;IACnB,mEAAqB,CAAA;IACrB,uDAAe,CAAA;IACf,uEAAuB,CAAA;IACvB,+CAAW,CAAA;IACX,uDAAe,CAAA;IACf,6DAAkB,CAAA;IAClB,yEAAwB,CAAA;IACxB,yEAAwB,CAAA;IACxB,2DAAiB,CAAA;IACjB,6DAAkB,CAAA;IAClB,qEAAsB,CAAA;IACtB,uDAAe,CAAA;IACf,uDAAe,CAAA;IACf,yEAAwB,CAAA;IACxB,iEAAoB,CAAA;IACpB,+FAAmC,CAAA;IACnC,mEAAqB,CAAA;IACrB,qDAAc,CAAA;IACd,6CAAU,CAAA;IACV,mEAAqB,CAAA;IACrB,2EAAyB,CAAA;IACzB,uEAAuB,CAAA;IACvB,6DAAkB,CAAA;IAClB,iFAA4B,CAAA;IAC5B,mGAAqC,CAAA;IACrC,yEAAwB,CAAA;IACxB,+DAAmB,CAAA;IACnB,2DAAiB,CAAA;IACjB,6EAA0B,CAAA;IAC1B,uEAAuB,CAAA;IACvB,+EAA2B,CAAA;IAC3B,uEAAuB,CAAA;IACvB,+EAA2B,CAAA;IAC3B,mEAAqB,CAAA;IACrB,2DAAiB,CAAA;IACjB,2EAAyB,CAAA;IACzB,mEAAqB,CAAA;IACrB,yFAAgC,CAAA;AAClC,CAAC,EAjDW,UAAU,
|
|
1
|
+
{"version":3,"file":"http-status.enum.js","sourceRoot":"","sources":["../../../../common/src/http-status.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAiDX;AAjDD,WAAY,UAAU;IACpB,qDAAc,CAAA;IACd,2EAAyB,CAAA;IACzB,yDAAgB,CAAA;IAChB,yDAAgB,CAAA;IAChB,yCAAQ,CAAA;IACR,mDAAa,CAAA;IACb,qDAAc,CAAA;IACd,+FAAmC,CAAA;IACnC,yDAAgB,CAAA;IAChB,+DAAmB,CAAA;IACnB,mEAAqB,CAAA;IACrB,uDAAe,CAAA;IACf,uEAAuB,CAAA;IACvB,+CAAW,CAAA;IACX,uDAAe,CAAA;IACf,6DAAkB,CAAA;IAClB,yEAAwB,CAAA;IACxB,yEAAwB,CAAA;IACxB,2DAAiB,CAAA;IACjB,6DAAkB,CAAA;IAClB,qEAAsB,CAAA;IACtB,uDAAe,CAAA;IACf,uDAAe,CAAA;IACf,yEAAwB,CAAA;IACxB,iEAAoB,CAAA;IACpB,+FAAmC,CAAA;IACnC,mEAAqB,CAAA;IACrB,qDAAc,CAAA;IACd,6CAAU,CAAA;IACV,mEAAqB,CAAA;IACrB,2EAAyB,CAAA;IACzB,uEAAuB,CAAA;IACvB,6DAAkB,CAAA;IAClB,iFAA4B,CAAA;IAC5B,mGAAqC,CAAA;IACrC,yEAAwB,CAAA;IACxB,+DAAmB,CAAA;IACnB,2DAAiB,CAAA;IACjB,6EAA0B,CAAA;IAC1B,uEAAuB,CAAA;IACvB,+EAA2B,CAAA;IAC3B,uEAAuB,CAAA;IACvB,+EAA2B,CAAA;IAC3B,mEAAqB,CAAA;IACrB,2DAAiB,CAAA;IACjB,2EAAyB,CAAA;IACzB,mEAAqB,CAAA;IACrB,yFAAgC,CAAA;AAClC,CAAC,EAjDW,UAAU,0BAAV,UAAU,QAiDrB"}
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
export * from './ai-assistant.schemas';
|
|
2
|
-
export * from './ai-assistant.types';
|
|
3
|
-
export * from './api-call.context';
|
|
4
|
-
export * from './api.types';
|
|
5
|
-
export * from './application.schemas';
|
|
6
|
-
export * from './application.types';
|
|
7
|
-
export * from './backend-function.schemas';
|
|
8
|
-
export * from './backend-function.types';
|
|
9
|
-
export * from './backend-run.types';
|
|
10
|
-
export * from './bundle-api.types';
|
|
11
|
-
export * from './bundle-data.types';
|
|
12
|
-
export * from './communication.types';
|
|
13
|
-
export * from './context.types';
|
|
14
|
-
export * from './distributed-lock.context';
|
|
15
|
-
export * from './document.types';
|
|
16
|
-
export * from './graphql.context';
|
|
17
|
-
export * from './graphql.types';
|
|
18
|
-
export * from './http-status.enum';
|
|
19
|
-
export * from './integrations';
|
|
20
|
-
export * from './logger.types';
|
|
21
|
-
export * from './metrics.types';
|
|
22
|
-
export * from './mutation.context';
|
|
23
|
-
export * from './mutation.schemas';
|
|
24
|
-
export * from './mutation.types';
|
|
25
|
-
export * from './named-query.context';
|
|
26
|
-
export * from './named-query.schemas';
|
|
27
|
-
export * from './named-query.types';
|
|
28
|
-
export * from './query';
|
|
29
|
-
export * from './query.types';
|
|
30
|
-
export * from './regions';
|
|
31
|
-
export * from './schema/schema.types';
|
|
32
|
-
export * from './secret.schemas';
|
|
33
|
-
export * from './secret.types';
|
|
34
|
-
export * from './security.types';
|
|
35
|
-
export * from './socket.schemas';
|
|
36
|
-
export * from './socket.types';
|
|
37
|
-
export * from './time-units';
|
|
38
|
-
export * from './trigger.types';
|
|
39
|
-
export * from './types';
|
|
40
|
-
export * from './utils/array';
|
|
41
|
-
export * from './utils/assert';
|
|
42
|
-
export * from './utils/error';
|
|
43
|
-
export * from './utils/http';
|
|
44
|
-
export * from './utils/id';
|
|
45
|
-
export * from './utils/lock.manager';
|
|
46
|
-
export * from './utils/nullish';
|
|
47
|
-
export * from './utils/object';
|
|
48
|
-
export * from './utils/serialization';
|
|
49
|
-
export * from './utils/transforms';
|
|
50
|
-
export * from './utils/url';
|
|
51
|
-
export * from './utils/validation';
|
|
52
|
-
export * from './webhook-response';
|
|
53
|
-
export * from './heartbeat.types';
|
|
54
|
-
export * from './utils/global.utils';
|
|
55
|
-
export * from './websocket.impl';
|
|
1
|
+
export * from './ai-assistant.schemas';
|
|
2
|
+
export * from './ai-assistant.types';
|
|
3
|
+
export * from './api-call.context';
|
|
4
|
+
export * from './api.types';
|
|
5
|
+
export * from './application.schemas';
|
|
6
|
+
export * from './application.types';
|
|
7
|
+
export * from './backend-function.schemas';
|
|
8
|
+
export * from './backend-function.types';
|
|
9
|
+
export * from './backend-run.types';
|
|
10
|
+
export * from './bundle-api.types';
|
|
11
|
+
export * from './bundle-data.types';
|
|
12
|
+
export * from './communication.types';
|
|
13
|
+
export * from './context.types';
|
|
14
|
+
export * from './distributed-lock.context';
|
|
15
|
+
export * from './document.types';
|
|
16
|
+
export * from './graphql.context';
|
|
17
|
+
export * from './graphql.types';
|
|
18
|
+
export * from './http-status.enum';
|
|
19
|
+
export * from './integrations';
|
|
20
|
+
export * from './logger.types';
|
|
21
|
+
export * from './metrics.types';
|
|
22
|
+
export * from './mutation.context';
|
|
23
|
+
export * from './mutation.schemas';
|
|
24
|
+
export * from './mutation.types';
|
|
25
|
+
export * from './named-query.context';
|
|
26
|
+
export * from './named-query.schemas';
|
|
27
|
+
export * from './named-query.types';
|
|
28
|
+
export * from './query';
|
|
29
|
+
export * from './query.types';
|
|
30
|
+
export * from './regions';
|
|
31
|
+
export * from './schema/schema.types';
|
|
32
|
+
export * from './secret.schemas';
|
|
33
|
+
export * from './secret.types';
|
|
34
|
+
export * from './security.types';
|
|
35
|
+
export * from './socket.schemas';
|
|
36
|
+
export * from './socket.types';
|
|
37
|
+
export * from './time-units';
|
|
38
|
+
export * from './trigger.types';
|
|
39
|
+
export * from './types';
|
|
40
|
+
export * from './utils/array';
|
|
41
|
+
export * from './utils/assert';
|
|
42
|
+
export * from './utils/error';
|
|
43
|
+
export * from './utils/http';
|
|
44
|
+
export * from './utils/id';
|
|
45
|
+
export * from './utils/lock.manager';
|
|
46
|
+
export * from './utils/nullish';
|
|
47
|
+
export * from './utils/object';
|
|
48
|
+
export * from './utils/serialization';
|
|
49
|
+
export * from './utils/transforms';
|
|
50
|
+
export * from './utils/url';
|
|
51
|
+
export * from './utils/validation';
|
|
52
|
+
export * from './webhook-response';
|
|
53
|
+
export * from './heartbeat.types';
|
|
54
|
+
export * from './utils/global.utils';
|
|
55
|
+
export * from './websocket.impl';
|