@rockster/core 0.0.4 → 0.1.1
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/access/access.module.js +3 -7
- package/access/access.module.js.map +1 -1
- package/access/constants.d.ts +2 -0
- package/access/constants.js +6 -0
- package/access/constants.js.map +1 -0
- package/access/controllers/controllers.d.ts +2 -1
- package/access/controllers/controllers.js +3 -1
- package/access/controllers/controllers.js.map +1 -1
- package/access/controllers/scope-access-profile.controller.d.ts +17 -0
- package/access/controllers/scope-access-profile.controller.js +111 -0
- package/access/controllers/scope-access-profile.controller.js.map +1 -0
- package/access/controllers/scope-group-user.controller.d.ts +11 -4
- package/access/controllers/scope-group-user.controller.js +57 -9
- package/access/controllers/scope-group-user.controller.js.map +1 -1
- package/access/controllers/scope-group.controller.d.ts +8 -5
- package/access/controllers/scope-group.controller.js +66 -12
- package/access/controllers/scope-group.controller.js.map +1 -1
- package/access/controllers/scope-owner.controller.d.ts +3 -2
- package/access/controllers/scope-owner.controller.js +18 -4
- package/access/controllers/scope-owner.controller.js.map +1 -1
- package/access/controllers/scope-user.controller.d.ts +2 -2
- package/access/controllers/scope-user.controller.js +19 -5
- package/access/controllers/scope-user.controller.js.map +1 -1
- package/access/decorators/context-params.decorator.d.ts +2 -0
- package/access/decorators/context-params.decorator.js +13 -0
- package/access/decorators/context-params.decorator.js.map +1 -0
- package/access/decorators/index.d.ts +2 -0
- package/access/decorators/index.js +19 -0
- package/access/decorators/index.js.map +1 -0
- package/access/decorators/scope-context-id-resolver.decorator.d.ts +10 -0
- package/access/decorators/scope-context-id-resolver.decorator.js +22 -0
- package/access/decorators/scope-context-id-resolver.decorator.js.map +1 -0
- package/access/entities/entities.d.ts +3 -1
- package/access/entities/entities.js +4 -0
- package/access/entities/entities.js.map +1 -1
- package/access/entities/index.d.ts +2 -0
- package/access/entities/index.js +2 -0
- package/access/entities/index.js.map +1 -1
- package/access/entities/scope-access-profile-key.d.ts +6 -0
- package/access/entities/scope-access-profile-key.js +40 -0
- package/access/entities/scope-access-profile-key.js.map +1 -0
- package/access/entities/scope-access-profile.d.ts +6 -0
- package/access/entities/scope-access-profile.js +37 -0
- package/access/entities/scope-access-profile.js.map +1 -0
- package/access/entities/scope-group.d.ts +3 -0
- package/access/entities/scope-group.js +16 -0
- package/access/entities/scope-group.js.map +1 -1
- package/access/functions/assert-context-admin-access.d.ts +15 -0
- package/access/functions/assert-context-admin-access.js +62 -0
- package/access/functions/assert-context-admin-access.js.map +1 -0
- package/access/functions/assert-master-or-owner.d.ts +9 -0
- package/access/functions/assert-master-or-owner.js +40 -0
- package/access/functions/assert-master-or-owner.js.map +1 -0
- package/access/functions/assert-scope-action-access.d.ts +32 -0
- package/access/functions/assert-scope-action-access.js +189 -0
- package/access/functions/assert-scope-action-access.js.map +1 -0
- package/access/functions/build-scope-resolver-initial-data.d.ts +4 -0
- package/access/functions/build-scope-resolver-initial-data.js +17 -0
- package/access/functions/build-scope-resolver-initial-data.js.map +1 -0
- package/access/functions/describe-action-scope.d.ts +9 -0
- package/access/functions/describe-action-scope.js +27 -0
- package/access/functions/describe-action-scope.js.map +1 -0
- package/access/functions/index.d.ts +5 -0
- package/access/functions/index.js +5 -0
- package/access/functions/index.js.map +1 -1
- package/access/functions/init-scope-service-executors.d.ts +3 -0
- package/access/functions/init-scope-service-executors.js +38 -0
- package/access/functions/init-scope-service-executors.js.map +1 -0
- package/access/functions/normalize-scope-keys.d.ts +4 -0
- package/access/functions/normalize-scope-keys.js +17 -0
- package/access/functions/normalize-scope-keys.js.map +1 -0
- package/access/functions/register-scope.d.ts +16 -5
- package/access/functions/register-scope.js +57 -45
- package/access/functions/register-scope.js.map +1 -1
- package/access/functions/resolve-scope-context-id.d.ts +9 -0
- package/access/functions/resolve-scope-context-id.js +71 -0
- package/access/functions/resolve-scope-context-id.js.map +1 -0
- package/access/functions/warn-if-public.d.ts +12 -0
- package/access/functions/warn-if-public.js +20 -0
- package/access/functions/warn-if-public.js.map +1 -0
- package/access/index.d.ts +2 -0
- package/access/index.js +2 -0
- package/access/index.js.map +1 -1
- package/access/interfaces/index.d.ts +1 -0
- package/access/interfaces/index.js +1 -0
- package/access/interfaces/index.js.map +1 -1
- package/access/interfaces/resolve-scope-context-id.d.ts +21 -0
- package/access/interfaces/resolve-scope-context-id.js +3 -0
- package/access/interfaces/resolve-scope-context-id.js.map +1 -0
- package/access/interfaces/scope-service-registry.d.ts +16 -1
- package/access/interfaces/scope-service.d.ts +6 -7
- package/access/models/scope-access-profile-keys-update.d.ts +5 -0
- package/access/models/scope-access-profile-keys-update.js +27 -0
- package/access/models/scope-access-profile-keys-update.js.map +1 -0
- package/access/models/scope-group-apply-access-profile.d.ts +6 -0
- package/access/models/scope-group-apply-access-profile.js +32 -0
- package/access/models/scope-group-apply-access-profile.js.map +1 -0
- package/access/models/scope-user-mapped.d.ts +1 -0
- package/access/models/scope-user-mapped.js +6 -0
- package/access/models/scope-user-mapped.js.map +1 -1
- package/access/models/scope-user.js +4 -2
- package/access/models/scope-user.js.map +1 -1
- package/access/queries/scope-access-profile.query.d.ts +1 -0
- package/access/queries/scope-access-profile.query.js +10 -0
- package/access/queries/scope-access-profile.query.js.map +1 -0
- package/access/queries/scope-group.query.js +9 -2
- package/access/queries/scope-group.query.js.map +1 -1
- package/access/services/index.d.ts +1 -0
- package/access/services/index.js +1 -0
- package/access/services/index.js.map +1 -1
- package/access/services/scope-access-profile.service.d.ts +13 -0
- package/access/services/scope-access-profile.service.js +75 -0
- package/access/services/scope-access-profile.service.js.map +1 -0
- package/access/services/scope-access.service.js +4 -2
- package/access/services/scope-access.service.js.map +1 -1
- package/access/services/scope-group-user.service.js +2 -2
- package/access/services/scope-group-user.service.js.map +1 -1
- package/access/services/scope-group.service.d.ts +10 -0
- package/access/services/scope-group.service.js +38 -1
- package/access/services/scope-group.service.js.map +1 -1
- package/access/services/scope-owner.service.d.ts +3 -0
- package/access/services/scope-owner.service.js +26 -1
- package/access/services/scope-owner.service.js.map +1 -1
- package/command/services/post-action-builder.js +19 -17
- package/command/services/post-action-builder.js.map +1 -1
- package/command/services/remove-action-builder.js +30 -22
- package/command/services/remove-action-builder.js.map +1 -1
- package/controllers/interfaces/controller-property.d.ts +7 -1
- package/controllers/services/default-action-builder.js +12 -30
- package/controllers/services/default-action-builder.js.map +1 -1
- package/controllers/services/restful-action-builder.js +25 -1
- package/controllers/services/restful-action-builder.js.map +1 -1
- package/core/contexts/request-context.d.ts +5 -0
- package/core/contexts/request-context.js +6 -0
- package/core/contexts/request-context.js.map +1 -0
- package/core/core.controller.js +6 -1
- package/core/core.controller.js.map +1 -1
- package/core/interfaces/action-docs.d.ts +15 -0
- package/core/interfaces/request-context.d.ts +5 -0
- package/core/services/request-router.js +2 -1
- package/core/services/request-router.js.map +1 -1
- package/database/database.controller.d.ts +1 -3
- package/database/database.controller.js +1 -5
- package/database/database.controller.js.map +1 -1
- package/database/decorators/protect-entity.decorator.d.ts +1 -0
- package/database/decorators/protect-entity.decorator.js +2 -3
- package/database/decorators/protect-entity.decorator.js.map +1 -1
- package/database/decorators/protected-entity.decorator.d.ts +1 -0
- package/database/decorators/protected-entity.decorator.js +2 -16
- package/database/decorators/protected-entity.decorator.js.map +1 -1
- package/database/functions/inject-repository-handle.js +4 -3
- package/database/functions/inject-repository-handle.js.map +1 -1
- package/database/interfaces/entity-object.d.ts +0 -6
- package/database/interfaces/index.d.ts +0 -1
- package/database/interfaces/index.js +0 -1
- package/database/interfaces/index.js.map +1 -1
- package/database/interfaces/repository.d.ts +8 -8
- package/docs/docs.module.js +3 -1
- package/docs/docs.module.js.map +1 -1
- package/docs/migrations/1747584000000-CreateDocsTables.d.ts +5 -0
- package/docs/migrations/1747584000000-CreateDocsTables.js +90 -0
- package/docs/migrations/1747584000000-CreateDocsTables.js.map +1 -0
- package/docs/migrations/migrations.d.ts +2 -0
- package/docs/migrations/migrations.js +8 -0
- package/docs/migrations/migrations.js.map +1 -0
- package/global.d.ts +2 -0
- package/global.js +1 -0
- package/global.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +2 -1
- package/index.js.map +1 -1
- package/jobs/jobs.controller.d.ts +2 -0
- package/jobs/jobs.controller.js +20 -16
- package/jobs/jobs.controller.js.map +1 -1
- package/package.json +70 -70
- package/query/functions/add-join.js +2 -13
- package/query/functions/add-join.js.map +1 -1
- package/query/functions/create-query-builder.js +0 -10
- package/query/functions/create-query-builder.js.map +1 -1
- package/query/functions/execute-query.js +34 -0
- package/query/functions/execute-query.js.map +1 -1
- package/query/functions/load-properties.js +73 -5
- package/query/functions/load-properties.js.map +1 -1
- package/query/services/query-action-builder.js +12 -18
- package/query/services/query-action-builder.js.map +1 -1
- package/remote-logs/dtos/index.d.ts +2 -0
- package/remote-logs/dtos/index.js +19 -0
- package/remote-logs/dtos/index.js.map +1 -0
- package/remote-logs/dtos/remote-log-hooks.dto.d.ts +72 -0
- package/remote-logs/dtos/remote-log-hooks.dto.js +280 -0
- package/remote-logs/dtos/remote-log-hooks.dto.js.map +1 -0
- package/remote-logs/dtos/remote-log-search.dto.d.ts +34 -0
- package/remote-logs/dtos/remote-log-search.dto.js +146 -0
- package/remote-logs/dtos/remote-log-search.dto.js.map +1 -0
- package/remote-logs/environment.d.ts +4 -0
- package/remote-logs/environment.js +5 -0
- package/remote-logs/environment.js.map +1 -0
- package/remote-logs/index.d.ts +3 -0
- package/remote-logs/index.js +20 -0
- package/remote-logs/index.js.map +1 -0
- package/remote-logs/interfaces/index.d.ts +1 -0
- package/remote-logs/interfaces/index.js +18 -0
- package/remote-logs/interfaces/index.js.map +1 -0
- package/remote-logs/interfaces/remote-logs-module-options.d.ts +8 -0
- package/remote-logs/interfaces/remote-logs-module-options.js +3 -0
- package/remote-logs/interfaces/remote-logs-module-options.js.map +1 -0
- package/remote-logs/remote-logs-hooks.controller.d.ts +60 -0
- package/remote-logs/remote-logs-hooks.controller.js +331 -0
- package/remote-logs/remote-logs-hooks.controller.js.map +1 -0
- package/remote-logs/remote-logs.controller.d.ts +8 -0
- package/remote-logs/remote-logs.controller.js +41 -0
- package/remote-logs/remote-logs.controller.js.map +1 -0
- package/remote-logs/remote-logs.module.d.ts +12 -0
- package/remote-logs/remote-logs.module.js +107 -0
- package/remote-logs/remote-logs.module.js.map +1 -0
- package/remote-logs/services/opensearch.service.d.ts +13 -0
- package/remote-logs/services/opensearch.service.js +167 -0
- package/remote-logs/services/opensearch.service.js.map +1 -0
- package/security/auth.controller.js +4 -4
- package/security/auth.controller.js.map +1 -1
- package/security/functions/add-protected.d.ts +2 -2
- package/security/functions/add-protected.js +8 -5
- package/security/functions/add-protected.js.map +1 -1
- package/security/functions/create-authentication-interceptor.d.ts +44 -0
- package/security/functions/create-authentication-interceptor.js +114 -0
- package/security/functions/create-authentication-interceptor.js.map +1 -0
- package/security/functions/find-auth-context.d.ts +1 -2
- package/security/functions/find-auth-context.js +6 -11
- package/security/functions/find-auth-context.js.map +1 -1
- package/security/index.d.ts +1 -0
- package/security/index.js +1 -0
- package/security/index.js.map +1 -1
- package/security/interfaces/authorization-schema.d.ts +3 -1
- package/security/services/authorization.service.d.ts +5 -3
- package/security/services/authorization.service.js +56 -37
- package/security/services/authorization.service.js.map +1 -1
- package/storage/services/routes.service.js +1 -1
- package/storage/services/routes.service.js.map +1 -1
- package/tasks/constants.d.ts +3 -0
- package/tasks/constants.js +2 -1
- package/tasks/constants.js.map +1 -1
- package/tasks/controllers/task.controller.d.ts +3 -2
- package/tasks/controllers/task.controller.js +11 -40
- package/tasks/controllers/task.controller.js.map +1 -1
- package/tasks/decorators/index.d.ts +1 -0
- package/tasks/decorators/index.js +1 -0
- package/tasks/decorators/index.js.map +1 -1
- package/tasks/decorators/task-payload.decorator.d.ts +1 -0
- package/tasks/decorators/task-payload.decorator.js +12 -0
- package/tasks/decorators/task-payload.decorator.js.map +1 -0
- package/tasks/decorators/task.decorator.js +3 -0
- package/tasks/decorators/task.decorator.js.map +1 -1
- package/tasks/functions/compile-all-task-post-hooks.d.ts +1 -0
- package/tasks/functions/compile-all-task-post-hooks.js +27 -0
- package/tasks/functions/compile-all-task-post-hooks.js.map +1 -0
- package/tasks/functions/compile-task-hook-handle.d.ts +6 -0
- package/tasks/functions/compile-task-hook-handle.js +67 -0
- package/tasks/functions/compile-task-hook-handle.js.map +1 -0
- package/tasks/functions/create-task-hook.d.ts +9 -0
- package/tasks/functions/create-task-hook.js +13 -0
- package/tasks/functions/create-task-hook.js.map +1 -0
- package/tasks/functions/create-task-message-post.js +2 -0
- package/tasks/functions/create-task-message-post.js.map +1 -1
- package/tasks/functions/register-task-post-hook-interceptors.d.ts +3 -0
- package/tasks/functions/register-task-post-hook-interceptors.js +86 -0
- package/tasks/functions/register-task-post-hook-interceptors.js.map +1 -0
- package/tasks/functions/run-task-post-hooks.d.ts +11 -0
- package/tasks/functions/run-task-post-hooks.js +18 -0
- package/tasks/functions/run-task-post-hooks.js.map +1 -0
- package/tasks/functions/task-message-operations.d.ts +18 -0
- package/tasks/functions/task-message-operations.js +100 -0
- package/tasks/functions/task-message-operations.js.map +1 -0
- package/tasks/functions/validate-task-payload.d.ts +2 -0
- package/tasks/functions/validate-task-payload.js +19 -0
- package/tasks/functions/validate-task-payload.js.map +1 -0
- package/tasks/hook-constants.d.ts +2 -0
- package/tasks/hook-constants.js +6 -0
- package/tasks/hook-constants.js.map +1 -0
- package/tasks/index.d.ts +3 -0
- package/tasks/index.js +3 -0
- package/tasks/index.js.map +1 -1
- package/tasks/interfaces/compiled-task-post-hooks.d.ts +17 -0
- package/tasks/interfaces/compiled-task-post-hooks.js +3 -0
- package/tasks/interfaces/compiled-task-post-hooks.js.map +1 -0
- package/tasks/interfaces/index.d.ts +3 -0
- package/tasks/interfaces/index.js +3 -0
- package/tasks/interfaces/index.js.map +1 -1
- package/tasks/interfaces/task-hook.d.ts +16 -0
- package/tasks/interfaces/task-hook.js +8 -0
- package/tasks/interfaces/task-hook.js.map +1 -0
- package/tasks/interfaces/task-object.d.ts +4 -0
- package/tasks/interfaces/task-post-hook.d.ts +2 -0
- package/{database/interfaces/protector.js → tasks/interfaces/task-post-hook.js} +1 -1
- package/tasks/interfaces/task-post-hook.js.map +1 -0
- package/tasks/interfaces/task-settings.d.ts +5 -0
- package/tasks/services/task-runner.service.d.ts +24 -3
- package/tasks/services/task-runner.service.js +66 -28
- package/tasks/services/task-runner.service.js.map +1 -1
- package/translations/controllers/translation.controller.d.ts +3 -1
- package/translations/controllers/translation.controller.js +17 -3
- package/translations/controllers/translation.controller.js.map +1 -1
- package/translations/services/translations.service.d.ts +1 -0
- package/translations/services/translations.service.js +25 -6
- package/translations/services/translations.service.js.map +1 -1
- package/translations/services/translator.service.d.ts +1 -0
- package/translations/services/translator.service.js +6 -0
- package/translations/services/translator.service.js.map +1 -1
- package/database/functions/use-protector.d.ts +0 -2
- package/database/functions/use-protector.js +0 -11
- package/database/functions/use-protector.js.map +0 -1
- package/database/interfaces/protector.d.ts +0 -51
- package/database/interfaces/protector.js.map +0 -1
- package/database/services/protect-builder.d.ts +0 -60
- package/database/services/protect-builder.js +0 -524
- package/database/services/protect-builder.js.map +0 -1
- package/security/functions/add-protect.d.ts +0 -2
- package/security/functions/add-protect.js +0 -11
- package/security/functions/add-protect.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-action-builder.js","sourceRoot":"./","sources":["query/services/query-action-builder.ts"],"names":[],"mappings":";;;;;;;;;AAAA,6DAGkC;AAKlC,6DAIsC;AAEtC,qDAAgD;
|
|
1
|
+
{"version":3,"file":"query-action-builder.js","sourceRoot":"./","sources":["query/services/query-action-builder.ts"],"names":[],"mappings":";;;;;;;;;AAAA,6DAGkC;AAKlC,6DAIsC;AAEtC,qDAAgD;AAEhD,4CAGsB;AACtB,mEAG2C;AAC3C,2DAAkE;AAClE,8EAAyE;AACzE,iDAAiD;AACjD,gDAAiE;AACjE,0EAAqE;AACrE,gFAAoF;AACpF,sEAAkE;AAKlE,kGAA4F;AAC5F,0EAAqE;AACrE,wFAAuF;AACvF,oGAA+F;A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AAC,CAAC;YACzC,MAAM,EAAE,OAAO;YACf,OAAO;YACP,QAAQ;SACV,CAAC,CAAC;QAEH,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC;YAChC,CAAC,6BAAiB,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,6BAAiB,CAAC;YAC3D,CAAC,+BAAmB,CAAC,EAAE,OAAO;YAC9B,CAAC,0BAAa,CAAC,EAAE,OAAO,CAAC,QAAQ;SACnC,CAAC,CAAC;QAEH,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC;QAE9C,MAAM,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YACxC,MAAM,EAAE,OAAO;YACf,OAAO;YACP,QAAQ;SACV,EAAE,IAAI,CAAC,CAAC;IACZ,CAAC;CACH,CAAA;AA3NY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,2BAAU,GAAE;GACA,kBAAkB,CA2N9B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./remote-log-search.dto"), exports);
|
|
18
|
+
__exportStar(require("./remote-log-hooks.dto"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"./","sources":["remote-logs/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,yDAAuC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { ILogSettings, LogClearInterval, LogHookConditionMode, LogLevel } from '@rockster/common/logs';
|
|
2
|
+
import { RemoteLogSearchResponseDto } from './remote-log-search.dto';
|
|
3
|
+
export declare class RemoteLogHookQueryDto {
|
|
4
|
+
appId?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class RemoteLogHookPostDto {
|
|
7
|
+
id?: string;
|
|
8
|
+
appId: string;
|
|
9
|
+
url: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
displayName?: string;
|
|
12
|
+
enabled: boolean;
|
|
13
|
+
conditionMode: LogHookConditionMode;
|
|
14
|
+
logTypes?: string[];
|
|
15
|
+
conditionQuery?: Record<string, unknown>;
|
|
16
|
+
aggregatorQuery?: Record<string, unknown>;
|
|
17
|
+
groupByField?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare class RemoteLogHookRemoveDto {
|
|
20
|
+
appId: string;
|
|
21
|
+
id: string;
|
|
22
|
+
}
|
|
23
|
+
export declare class RemoteLogHookOkDto {
|
|
24
|
+
ok: boolean;
|
|
25
|
+
id?: string;
|
|
26
|
+
}
|
|
27
|
+
export declare class RemoteLogSettingsQueryDto {
|
|
28
|
+
}
|
|
29
|
+
export declare class RemoteLogSettingsPostDto implements ILogSettings {
|
|
30
|
+
id?: string;
|
|
31
|
+
appId?: string | null;
|
|
32
|
+
clearInterval: LogClearInterval;
|
|
33
|
+
logLevel: LogLevel;
|
|
34
|
+
}
|
|
35
|
+
export declare class RemoteLogSettingsRemoveDto {
|
|
36
|
+
id: string;
|
|
37
|
+
}
|
|
38
|
+
export declare class RemoteLogSettingsResponseDto implements ILogSettings {
|
|
39
|
+
id?: string;
|
|
40
|
+
appId?: string | null;
|
|
41
|
+
clearInterval: LogClearInterval;
|
|
42
|
+
logLevel: LogLevel;
|
|
43
|
+
date?: string;
|
|
44
|
+
}
|
|
45
|
+
export declare class RemoteLogSettingsListResponseDto {
|
|
46
|
+
settings: RemoteLogSettingsResponseDto[];
|
|
47
|
+
}
|
|
48
|
+
export declare class RemoteLogAppsQueryDto {
|
|
49
|
+
search?: string;
|
|
50
|
+
size?: number;
|
|
51
|
+
}
|
|
52
|
+
export declare class RemoteLogAppResponseDto {
|
|
53
|
+
appId: string;
|
|
54
|
+
date?: string;
|
|
55
|
+
}
|
|
56
|
+
export declare class RemoteLogAppsListResponseDto {
|
|
57
|
+
apps: RemoteLogAppResponseDto[];
|
|
58
|
+
}
|
|
59
|
+
export declare class RemoteLogEventsQueryDto {
|
|
60
|
+
appId: string;
|
|
61
|
+
hookId?: string;
|
|
62
|
+
fromDate?: string;
|
|
63
|
+
toDate?: string;
|
|
64
|
+
size?: number;
|
|
65
|
+
includeAggregations?: boolean;
|
|
66
|
+
}
|
|
67
|
+
export declare class RemoteLogEventReadDto {
|
|
68
|
+
appId: string;
|
|
69
|
+
id: string;
|
|
70
|
+
}
|
|
71
|
+
export declare class RemoteLogEventsQueryResponseDto extends RemoteLogSearchResponseDto {
|
|
72
|
+
}
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.RemoteLogEventsQueryResponseDto = exports.RemoteLogEventReadDto = exports.RemoteLogEventsQueryDto = exports.RemoteLogAppsListResponseDto = exports.RemoteLogAppResponseDto = exports.RemoteLogAppsQueryDto = exports.RemoteLogSettingsListResponseDto = exports.RemoteLogSettingsResponseDto = exports.RemoteLogSettingsRemoveDto = exports.RemoteLogSettingsPostDto = exports.RemoteLogSettingsQueryDto = exports.RemoteLogHookOkDto = exports.RemoteLogHookRemoveDto = exports.RemoteLogHookPostDto = exports.RemoteLogHookQueryDto = void 0;
|
|
13
|
+
const class_pipe_1 = require("@rockster/class-pipe");
|
|
14
|
+
const logs_1 = require("@rockster/common/logs");
|
|
15
|
+
const remote_log_search_dto_1 = require("./remote-log-search.dto");
|
|
16
|
+
class RemoteLogHookQueryDto {
|
|
17
|
+
}
|
|
18
|
+
exports.RemoteLogHookQueryDto = RemoteLogHookQueryDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_pipe_1.Expose)(),
|
|
21
|
+
(0, class_pipe_1.IsOptional)(),
|
|
22
|
+
(0, class_pipe_1.IsString)({ empty: true }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], RemoteLogHookQueryDto.prototype, "appId", void 0);
|
|
25
|
+
class RemoteLogHookPostDto {
|
|
26
|
+
}
|
|
27
|
+
exports.RemoteLogHookPostDto = RemoteLogHookPostDto;
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_pipe_1.Expose)(),
|
|
30
|
+
(0, class_pipe_1.IsOptional)(),
|
|
31
|
+
(0, class_pipe_1.IsString)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], RemoteLogHookPostDto.prototype, "id", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_pipe_1.Expose)(),
|
|
36
|
+
(0, class_pipe_1.IsString)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], RemoteLogHookPostDto.prototype, "appId", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_pipe_1.Expose)(),
|
|
41
|
+
(0, class_pipe_1.IsString)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], RemoteLogHookPostDto.prototype, "url", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_pipe_1.Expose)(),
|
|
46
|
+
(0, class_pipe_1.IsOptional)(),
|
|
47
|
+
(0, class_pipe_1.IsString)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], RemoteLogHookPostDto.prototype, "name", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_pipe_1.Expose)(),
|
|
52
|
+
(0, class_pipe_1.IsOptional)(),
|
|
53
|
+
(0, class_pipe_1.IsString)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], RemoteLogHookPostDto.prototype, "displayName", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_pipe_1.Expose)(),
|
|
58
|
+
(0, class_pipe_1.IsBoolean)(),
|
|
59
|
+
__metadata("design:type", Boolean)
|
|
60
|
+
], RemoteLogHookPostDto.prototype, "enabled", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_pipe_1.Expose)(),
|
|
63
|
+
(0, class_pipe_1.IsIn)(Object.values(logs_1.LogHookConditionMode)),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], RemoteLogHookPostDto.prototype, "conditionMode", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_pipe_1.Expose)(),
|
|
68
|
+
(0, class_pipe_1.IsOptional)(),
|
|
69
|
+
(0, class_pipe_1.IsArray)(),
|
|
70
|
+
__metadata("design:type", Array)
|
|
71
|
+
], RemoteLogHookPostDto.prototype, "logTypes", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_pipe_1.Expose)(),
|
|
74
|
+
(0, class_pipe_1.IsOptional)(),
|
|
75
|
+
(0, class_pipe_1.IsObject)(),
|
|
76
|
+
__metadata("design:type", Object)
|
|
77
|
+
], RemoteLogHookPostDto.prototype, "conditionQuery", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, class_pipe_1.Expose)(),
|
|
80
|
+
(0, class_pipe_1.IsOptional)(),
|
|
81
|
+
(0, class_pipe_1.IsObject)(),
|
|
82
|
+
__metadata("design:type", Object)
|
|
83
|
+
], RemoteLogHookPostDto.prototype, "aggregatorQuery", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, class_pipe_1.Expose)(),
|
|
86
|
+
(0, class_pipe_1.IsOptional)(),
|
|
87
|
+
(0, class_pipe_1.IsString)(),
|
|
88
|
+
__metadata("design:type", String)
|
|
89
|
+
], RemoteLogHookPostDto.prototype, "groupByField", void 0);
|
|
90
|
+
class RemoteLogHookRemoveDto {
|
|
91
|
+
}
|
|
92
|
+
exports.RemoteLogHookRemoveDto = RemoteLogHookRemoveDto;
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, class_pipe_1.Expose)(),
|
|
95
|
+
(0, class_pipe_1.IsString)(),
|
|
96
|
+
__metadata("design:type", String)
|
|
97
|
+
], RemoteLogHookRemoveDto.prototype, "appId", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, class_pipe_1.Expose)(),
|
|
100
|
+
(0, class_pipe_1.IsString)(),
|
|
101
|
+
__metadata("design:type", String)
|
|
102
|
+
], RemoteLogHookRemoveDto.prototype, "id", void 0);
|
|
103
|
+
class RemoteLogHookOkDto {
|
|
104
|
+
}
|
|
105
|
+
exports.RemoteLogHookOkDto = RemoteLogHookOkDto;
|
|
106
|
+
__decorate([
|
|
107
|
+
(0, class_pipe_1.Expose)(),
|
|
108
|
+
(0, class_pipe_1.IsBoolean)(),
|
|
109
|
+
__metadata("design:type", Boolean)
|
|
110
|
+
], RemoteLogHookOkDto.prototype, "ok", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
(0, class_pipe_1.Expose)(),
|
|
113
|
+
(0, class_pipe_1.IsOptional)(),
|
|
114
|
+
(0, class_pipe_1.IsString)(),
|
|
115
|
+
__metadata("design:type", String)
|
|
116
|
+
], RemoteLogHookOkDto.prototype, "id", void 0);
|
|
117
|
+
class RemoteLogSettingsQueryDto {
|
|
118
|
+
}
|
|
119
|
+
exports.RemoteLogSettingsQueryDto = RemoteLogSettingsQueryDto;
|
|
120
|
+
class RemoteLogSettingsPostDto {
|
|
121
|
+
}
|
|
122
|
+
exports.RemoteLogSettingsPostDto = RemoteLogSettingsPostDto;
|
|
123
|
+
__decorate([
|
|
124
|
+
(0, class_pipe_1.Expose)(),
|
|
125
|
+
(0, class_pipe_1.IsOptional)(),
|
|
126
|
+
(0, class_pipe_1.IsString)(),
|
|
127
|
+
__metadata("design:type", String)
|
|
128
|
+
], RemoteLogSettingsPostDto.prototype, "id", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, class_pipe_1.Expose)(),
|
|
131
|
+
(0, class_pipe_1.IsOptional)(),
|
|
132
|
+
__metadata("design:type", String)
|
|
133
|
+
], RemoteLogSettingsPostDto.prototype, "appId", void 0);
|
|
134
|
+
__decorate([
|
|
135
|
+
(0, class_pipe_1.Expose)(),
|
|
136
|
+
(0, class_pipe_1.IsIn)(Object.values(logs_1.LogClearInterval)),
|
|
137
|
+
__metadata("design:type", String)
|
|
138
|
+
], RemoteLogSettingsPostDto.prototype, "clearInterval", void 0);
|
|
139
|
+
__decorate([
|
|
140
|
+
(0, class_pipe_1.Expose)(),
|
|
141
|
+
(0, class_pipe_1.IsIn)(Object.values(logs_1.LogLevel)),
|
|
142
|
+
__metadata("design:type", String)
|
|
143
|
+
], RemoteLogSettingsPostDto.prototype, "logLevel", void 0);
|
|
144
|
+
class RemoteLogSettingsRemoveDto {
|
|
145
|
+
}
|
|
146
|
+
exports.RemoteLogSettingsRemoveDto = RemoteLogSettingsRemoveDto;
|
|
147
|
+
__decorate([
|
|
148
|
+
(0, class_pipe_1.Expose)(),
|
|
149
|
+
(0, class_pipe_1.IsString)(),
|
|
150
|
+
__metadata("design:type", String)
|
|
151
|
+
], RemoteLogSettingsRemoveDto.prototype, "id", void 0);
|
|
152
|
+
class RemoteLogSettingsResponseDto {
|
|
153
|
+
}
|
|
154
|
+
exports.RemoteLogSettingsResponseDto = RemoteLogSettingsResponseDto;
|
|
155
|
+
__decorate([
|
|
156
|
+
(0, class_pipe_1.Expose)(),
|
|
157
|
+
(0, class_pipe_1.IsOptional)(),
|
|
158
|
+
(0, class_pipe_1.IsString)(),
|
|
159
|
+
__metadata("design:type", String)
|
|
160
|
+
], RemoteLogSettingsResponseDto.prototype, "id", void 0);
|
|
161
|
+
__decorate([
|
|
162
|
+
(0, class_pipe_1.Expose)(),
|
|
163
|
+
(0, class_pipe_1.IsOptional)(),
|
|
164
|
+
__metadata("design:type", String)
|
|
165
|
+
], RemoteLogSettingsResponseDto.prototype, "appId", void 0);
|
|
166
|
+
__decorate([
|
|
167
|
+
(0, class_pipe_1.Expose)(),
|
|
168
|
+
(0, class_pipe_1.IsIn)(Object.values(logs_1.LogClearInterval)),
|
|
169
|
+
__metadata("design:type", String)
|
|
170
|
+
], RemoteLogSettingsResponseDto.prototype, "clearInterval", void 0);
|
|
171
|
+
__decorate([
|
|
172
|
+
(0, class_pipe_1.Expose)(),
|
|
173
|
+
(0, class_pipe_1.IsIn)(Object.values(logs_1.LogLevel)),
|
|
174
|
+
__metadata("design:type", String)
|
|
175
|
+
], RemoteLogSettingsResponseDto.prototype, "logLevel", void 0);
|
|
176
|
+
__decorate([
|
|
177
|
+
(0, class_pipe_1.Expose)(),
|
|
178
|
+
(0, class_pipe_1.IsOptional)(),
|
|
179
|
+
(0, class_pipe_1.IsString)(),
|
|
180
|
+
__metadata("design:type", String)
|
|
181
|
+
], RemoteLogSettingsResponseDto.prototype, "date", void 0);
|
|
182
|
+
class RemoteLogSettingsListResponseDto {
|
|
183
|
+
}
|
|
184
|
+
exports.RemoteLogSettingsListResponseDto = RemoteLogSettingsListResponseDto;
|
|
185
|
+
__decorate([
|
|
186
|
+
(0, class_pipe_1.Expose)(),
|
|
187
|
+
(0, class_pipe_1.IsArray)(),
|
|
188
|
+
(0, class_pipe_1.IsType)(() => RemoteLogSettingsResponseDto),
|
|
189
|
+
__metadata("design:type", Array)
|
|
190
|
+
], RemoteLogSettingsListResponseDto.prototype, "settings", void 0);
|
|
191
|
+
class RemoteLogAppsQueryDto {
|
|
192
|
+
}
|
|
193
|
+
exports.RemoteLogAppsQueryDto = RemoteLogAppsQueryDto;
|
|
194
|
+
__decorate([
|
|
195
|
+
(0, class_pipe_1.Expose)(),
|
|
196
|
+
(0, class_pipe_1.IsOptional)(),
|
|
197
|
+
(0, class_pipe_1.IsString)({ empty: true }),
|
|
198
|
+
__metadata("design:type", String)
|
|
199
|
+
], RemoteLogAppsQueryDto.prototype, "search", void 0);
|
|
200
|
+
__decorate([
|
|
201
|
+
(0, class_pipe_1.Expose)(),
|
|
202
|
+
(0, class_pipe_1.IsOptional)(),
|
|
203
|
+
__metadata("design:type", Number)
|
|
204
|
+
], RemoteLogAppsQueryDto.prototype, "size", void 0);
|
|
205
|
+
class RemoteLogAppResponseDto {
|
|
206
|
+
}
|
|
207
|
+
exports.RemoteLogAppResponseDto = RemoteLogAppResponseDto;
|
|
208
|
+
__decorate([
|
|
209
|
+
(0, class_pipe_1.Expose)(),
|
|
210
|
+
(0, class_pipe_1.IsString)(),
|
|
211
|
+
__metadata("design:type", String)
|
|
212
|
+
], RemoteLogAppResponseDto.prototype, "appId", void 0);
|
|
213
|
+
__decorate([
|
|
214
|
+
(0, class_pipe_1.Expose)(),
|
|
215
|
+
(0, class_pipe_1.IsOptional)(),
|
|
216
|
+
(0, class_pipe_1.IsString)(),
|
|
217
|
+
__metadata("design:type", String)
|
|
218
|
+
], RemoteLogAppResponseDto.prototype, "date", void 0);
|
|
219
|
+
class RemoteLogAppsListResponseDto {
|
|
220
|
+
}
|
|
221
|
+
exports.RemoteLogAppsListResponseDto = RemoteLogAppsListResponseDto;
|
|
222
|
+
__decorate([
|
|
223
|
+
(0, class_pipe_1.Expose)(),
|
|
224
|
+
(0, class_pipe_1.IsArray)(),
|
|
225
|
+
(0, class_pipe_1.IsType)(() => RemoteLogAppResponseDto),
|
|
226
|
+
__metadata("design:type", Array)
|
|
227
|
+
], RemoteLogAppsListResponseDto.prototype, "apps", void 0);
|
|
228
|
+
class RemoteLogEventsQueryDto {
|
|
229
|
+
}
|
|
230
|
+
exports.RemoteLogEventsQueryDto = RemoteLogEventsQueryDto;
|
|
231
|
+
__decorate([
|
|
232
|
+
(0, class_pipe_1.Expose)(),
|
|
233
|
+
(0, class_pipe_1.IsString)(),
|
|
234
|
+
__metadata("design:type", String)
|
|
235
|
+
], RemoteLogEventsQueryDto.prototype, "appId", void 0);
|
|
236
|
+
__decorate([
|
|
237
|
+
(0, class_pipe_1.Expose)(),
|
|
238
|
+
(0, class_pipe_1.IsOptional)(),
|
|
239
|
+
(0, class_pipe_1.IsString)(),
|
|
240
|
+
__metadata("design:type", String)
|
|
241
|
+
], RemoteLogEventsQueryDto.prototype, "hookId", void 0);
|
|
242
|
+
__decorate([
|
|
243
|
+
(0, class_pipe_1.Expose)(),
|
|
244
|
+
(0, class_pipe_1.IsOptional)(),
|
|
245
|
+
(0, class_pipe_1.IsString)(),
|
|
246
|
+
__metadata("design:type", String)
|
|
247
|
+
], RemoteLogEventsQueryDto.prototype, "fromDate", void 0);
|
|
248
|
+
__decorate([
|
|
249
|
+
(0, class_pipe_1.Expose)(),
|
|
250
|
+
(0, class_pipe_1.IsOptional)(),
|
|
251
|
+
(0, class_pipe_1.IsString)(),
|
|
252
|
+
__metadata("design:type", String)
|
|
253
|
+
], RemoteLogEventsQueryDto.prototype, "toDate", void 0);
|
|
254
|
+
__decorate([
|
|
255
|
+
(0, class_pipe_1.Expose)(),
|
|
256
|
+
(0, class_pipe_1.IsOptional)(),
|
|
257
|
+
__metadata("design:type", Number)
|
|
258
|
+
], RemoteLogEventsQueryDto.prototype, "size", void 0);
|
|
259
|
+
__decorate([
|
|
260
|
+
(0, class_pipe_1.Expose)(),
|
|
261
|
+
(0, class_pipe_1.IsOptional)(),
|
|
262
|
+
__metadata("design:type", Boolean)
|
|
263
|
+
], RemoteLogEventsQueryDto.prototype, "includeAggregations", void 0);
|
|
264
|
+
class RemoteLogEventReadDto {
|
|
265
|
+
}
|
|
266
|
+
exports.RemoteLogEventReadDto = RemoteLogEventReadDto;
|
|
267
|
+
__decorate([
|
|
268
|
+
(0, class_pipe_1.Expose)(),
|
|
269
|
+
(0, class_pipe_1.IsString)(),
|
|
270
|
+
__metadata("design:type", String)
|
|
271
|
+
], RemoteLogEventReadDto.prototype, "appId", void 0);
|
|
272
|
+
__decorate([
|
|
273
|
+
(0, class_pipe_1.Expose)(),
|
|
274
|
+
(0, class_pipe_1.IsString)(),
|
|
275
|
+
__metadata("design:type", String)
|
|
276
|
+
], RemoteLogEventReadDto.prototype, "id", void 0);
|
|
277
|
+
class RemoteLogEventsQueryResponseDto extends remote_log_search_dto_1.RemoteLogSearchResponseDto {
|
|
278
|
+
}
|
|
279
|
+
exports.RemoteLogEventsQueryResponseDto = RemoteLogEventsQueryResponseDto;
|
|
280
|
+
//# sourceMappingURL=remote-log-hooks.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-log-hooks.dto.js","sourceRoot":"./","sources":["remote-logs/dtos/remote-log-hooks.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAS8B;AAC9B,gDAK+B;AAC/B,mEAAqE;AAErE,MAAa,qBAAqB;CAKjC;AALD,sDAKC;AADE;IAHC,IAAA,mBA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BAAM,GAAE;IACR,IAAA,uBAAU,GAAE;;oEACiB;AAGjC,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AALE;IAFC,IAAA,mBAAM,GAAE;IACR,IAAA,qBAAQ,GAAE;;oDACG;AAId;IAFC,IAAA,mBAAM,GAAE;IACR,IAAA,qBAAQ,GAAE;;iDACA;AAGd,MAAa,+BAAgC,SAAQ,kDAA0B;CAAG;AAAlF,0EAAkF"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IRemoteLogSearchPayload } from '@rockster/common/logs';
|
|
2
|
+
/** Passthrough OpenSearch _search body (flat action content). */
|
|
3
|
+
export declare class RemoteLogSearchPayloadDto implements IRemoteLogSearchPayload {
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
query?: Record<string, unknown>;
|
|
6
|
+
sort?: unknown[];
|
|
7
|
+
from?: number;
|
|
8
|
+
size?: number;
|
|
9
|
+
_source?: unknown;
|
|
10
|
+
aggs?: Record<string, unknown>;
|
|
11
|
+
search_after?: unknown[];
|
|
12
|
+
}
|
|
13
|
+
export declare class RemoteLogSearchHitsTotalDto {
|
|
14
|
+
value?: number;
|
|
15
|
+
relation?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare class RemoteLogSearchHitDto {
|
|
18
|
+
_id?: string;
|
|
19
|
+
_index?: string;
|
|
20
|
+
_score?: number | null;
|
|
21
|
+
_source?: Record<string, unknown>;
|
|
22
|
+
sort?: unknown[];
|
|
23
|
+
}
|
|
24
|
+
export declare class RemoteLogSearchHitsDto {
|
|
25
|
+
total?: RemoteLogSearchHitsTotalDto | number;
|
|
26
|
+
max_score?: number | null;
|
|
27
|
+
hits?: RemoteLogSearchHitDto[];
|
|
28
|
+
}
|
|
29
|
+
export declare class RemoteLogSearchResponseDto {
|
|
30
|
+
took?: number;
|
|
31
|
+
timed_out?: boolean;
|
|
32
|
+
hits: RemoteLogSearchHitsDto;
|
|
33
|
+
aggregations?: Record<string, unknown>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.RemoteLogSearchResponseDto = exports.RemoteLogSearchHitsDto = exports.RemoteLogSearchHitDto = exports.RemoteLogSearchHitsTotalDto = exports.RemoteLogSearchPayloadDto = void 0;
|
|
13
|
+
const class_pipe_1 = require("@rockster/class-pipe");
|
|
14
|
+
/** Passthrough OpenSearch _search body (flat action content). */
|
|
15
|
+
class RemoteLogSearchPayloadDto {
|
|
16
|
+
}
|
|
17
|
+
exports.RemoteLogSearchPayloadDto = RemoteLogSearchPayloadDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_pipe_1.Expose)(),
|
|
20
|
+
(0, class_pipe_1.IsOptional)(),
|
|
21
|
+
(0, class_pipe_1.IsObject)(),
|
|
22
|
+
__metadata("design:type", Object)
|
|
23
|
+
], RemoteLogSearchPayloadDto.prototype, "query", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_pipe_1.Expose)(),
|
|
26
|
+
(0, class_pipe_1.IsOptional)(),
|
|
27
|
+
__metadata("design:type", Array)
|
|
28
|
+
], RemoteLogSearchPayloadDto.prototype, "sort", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_pipe_1.Expose)(),
|
|
31
|
+
(0, class_pipe_1.IsOptional)(),
|
|
32
|
+
(0, class_pipe_1.IsNumeric)(),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], RemoteLogSearchPayloadDto.prototype, "from", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_pipe_1.Expose)(),
|
|
37
|
+
(0, class_pipe_1.IsOptional)(),
|
|
38
|
+
(0, class_pipe_1.IsNumeric)(),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], RemoteLogSearchPayloadDto.prototype, "size", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_pipe_1.Expose)(),
|
|
43
|
+
(0, class_pipe_1.IsOptional)(),
|
|
44
|
+
__metadata("design:type", Object)
|
|
45
|
+
], RemoteLogSearchPayloadDto.prototype, "_source", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_pipe_1.Expose)(),
|
|
48
|
+
(0, class_pipe_1.IsOptional)(),
|
|
49
|
+
(0, class_pipe_1.IsObject)(),
|
|
50
|
+
__metadata("design:type", Object)
|
|
51
|
+
], RemoteLogSearchPayloadDto.prototype, "aggs", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_pipe_1.Expose)(),
|
|
54
|
+
(0, class_pipe_1.IsOptional)(),
|
|
55
|
+
__metadata("design:type", Array)
|
|
56
|
+
], RemoteLogSearchPayloadDto.prototype, "search_after", void 0);
|
|
57
|
+
class RemoteLogSearchHitsTotalDto {
|
|
58
|
+
}
|
|
59
|
+
exports.RemoteLogSearchHitsTotalDto = RemoteLogSearchHitsTotalDto;
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_pipe_1.Expose)(),
|
|
62
|
+
(0, class_pipe_1.IsOptional)(),
|
|
63
|
+
(0, class_pipe_1.IsNumeric)(),
|
|
64
|
+
__metadata("design:type", Number)
|
|
65
|
+
], RemoteLogSearchHitsTotalDto.prototype, "value", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_pipe_1.Expose)(),
|
|
68
|
+
(0, class_pipe_1.IsOptional)(),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], RemoteLogSearchHitsTotalDto.prototype, "relation", void 0);
|
|
71
|
+
class RemoteLogSearchHitDto {
|
|
72
|
+
}
|
|
73
|
+
exports.RemoteLogSearchHitDto = RemoteLogSearchHitDto;
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, class_pipe_1.Expose)(),
|
|
76
|
+
(0, class_pipe_1.IsOptional)(),
|
|
77
|
+
__metadata("design:type", String)
|
|
78
|
+
], RemoteLogSearchHitDto.prototype, "_id", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, class_pipe_1.Expose)(),
|
|
81
|
+
(0, class_pipe_1.IsOptional)(),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], RemoteLogSearchHitDto.prototype, "_index", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, class_pipe_1.Expose)(),
|
|
86
|
+
(0, class_pipe_1.IsOptional)(),
|
|
87
|
+
__metadata("design:type", Number)
|
|
88
|
+
], RemoteLogSearchHitDto.prototype, "_score", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, class_pipe_1.Expose)({ ignoreType: true }),
|
|
91
|
+
(0, class_pipe_1.IsOptional)(),
|
|
92
|
+
(0, class_pipe_1.IsObject)(),
|
|
93
|
+
__metadata("design:type", Object)
|
|
94
|
+
], RemoteLogSearchHitDto.prototype, "_source", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, class_pipe_1.Expose)(),
|
|
97
|
+
(0, class_pipe_1.IsOptional)(),
|
|
98
|
+
__metadata("design:type", Array)
|
|
99
|
+
], RemoteLogSearchHitDto.prototype, "sort", void 0);
|
|
100
|
+
class RemoteLogSearchHitsDto {
|
|
101
|
+
}
|
|
102
|
+
exports.RemoteLogSearchHitsDto = RemoteLogSearchHitsDto;
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, class_pipe_1.Expose)({ ignoreType: true }),
|
|
105
|
+
(0, class_pipe_1.IsOptional)(),
|
|
106
|
+
__metadata("design:type", Object)
|
|
107
|
+
], RemoteLogSearchHitsDto.prototype, "total", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
(0, class_pipe_1.Expose)(),
|
|
110
|
+
(0, class_pipe_1.IsOptional)(),
|
|
111
|
+
__metadata("design:type", Number)
|
|
112
|
+
], RemoteLogSearchHitsDto.prototype, "max_score", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, class_pipe_1.Expose)(),
|
|
115
|
+
(0, class_pipe_1.IsOptional)(),
|
|
116
|
+
(0, class_pipe_1.IsArray)(),
|
|
117
|
+
(0, class_pipe_1.IsType)(() => RemoteLogSearchHitDto),
|
|
118
|
+
__metadata("design:type", Array)
|
|
119
|
+
], RemoteLogSearchHitsDto.prototype, "hits", void 0);
|
|
120
|
+
class RemoteLogSearchResponseDto {
|
|
121
|
+
}
|
|
122
|
+
exports.RemoteLogSearchResponseDto = RemoteLogSearchResponseDto;
|
|
123
|
+
__decorate([
|
|
124
|
+
(0, class_pipe_1.Expose)(),
|
|
125
|
+
(0, class_pipe_1.IsOptional)(),
|
|
126
|
+
(0, class_pipe_1.IsNumeric)(),
|
|
127
|
+
__metadata("design:type", Number)
|
|
128
|
+
], RemoteLogSearchResponseDto.prototype, "took", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, class_pipe_1.Expose)(),
|
|
131
|
+
(0, class_pipe_1.IsOptional)(),
|
|
132
|
+
(0, class_pipe_1.IsBoolean)(),
|
|
133
|
+
__metadata("design:type", Boolean)
|
|
134
|
+
], RemoteLogSearchResponseDto.prototype, "timed_out", void 0);
|
|
135
|
+
__decorate([
|
|
136
|
+
(0, class_pipe_1.Expose)(),
|
|
137
|
+
(0, class_pipe_1.IsType)(() => RemoteLogSearchHitsDto),
|
|
138
|
+
__metadata("design:type", RemoteLogSearchHitsDto)
|
|
139
|
+
], RemoteLogSearchResponseDto.prototype, "hits", void 0);
|
|
140
|
+
__decorate([
|
|
141
|
+
(0, class_pipe_1.Expose)({ ignoreType: true }),
|
|
142
|
+
(0, class_pipe_1.IsOptional)(),
|
|
143
|
+
(0, class_pipe_1.IsObject)(),
|
|
144
|
+
__metadata("design:type", Object)
|
|
145
|
+
], RemoteLogSearchResponseDto.prototype, "aggregations", void 0);
|
|
146
|
+
//# sourceMappingURL=remote-log-search.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-log-search.dto.js","sourceRoot":"./","sources":["remote-logs/dtos/remote-log-search.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQ8B;AAK9B,iEAAiE;AACjE,MAAa,yBAAyB;CAkCrC;AAlCD,8DAkCC;AA5BE;IAHC,IAAA,mBAAM,GAAE;IACR,IAAA,uBAAU,GAAE;IACZ,IAAA,qBAAQ,GAAE;;wDACqB;AAIhC;IAFC,IAAA,mBAAM,GAAE;IACR,IAAA,uBAAU,GAAE;;uDACI;AAKjB;IAHC,IAAA,mBAAM,GAAE;IACR,IAAA,uBAAU,GAAE;IACZ,IAAA,sBAAS,GAAE;;uDACE;AAKd;IAHC,IAAA,mBAAM,GAAE;IACR,IAAA,uBAAU,GAAE;IACZ,IAAA,sBAAS,GAAE;;uDACE;AAId;IAFC,IAAA,mBAAM,GAAE;IACR,IAAA,uBAAU,GAAE;;0DACK;AAKlB;IAHC,IAAA,mBAAM,GAAE;IACR,IAAA,uBAAU,GAAE;IACZ,IAAA,qBAAQ,GAAE;;uDACoB;AAI/B;IAFC,IAAA,mBAAM,GAAE;IACR,IAAA,uBAAU,GAAE;;+DACY;AAG5B,MAAa,2BAA2B;CASvC;AATD,kEASC;AALE;IAHC,IAAA,mBAAM,GAAE;IACR,IAAA,uBAAU,GAAE;IACZ,IAAA,sBAAS,GAAE;;0DACG;AAIf;IAFC,IAAA,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C5B,IAAA,uBAAU,GAAE;IACZ,IAAA,qBAAQ,GAAE;;gEAC4B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment.js","sourceRoot":"./","sources":["remote-logs/environment.ts"],"names":[],"mappings":";;;AAEa,QAAA,WAAW,GAEpB,EAAE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./remote-logs.module"), exports);
|
|
18
|
+
__exportStar(require("./interfaces"), exports);
|
|
19
|
+
__exportStar(require("./dtos"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"./","sources":["remote-logs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,+CAA6B;AAC7B,yCAAuB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './remote-logs-module-options';
|