@revisium/core 2.6.0 → 2.7.0
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/README.md +5 -0
- package/dist/package.json +3 -4
- package/dist/src/api/graphql-api/branch/branch.resolver.d.ts +2 -2
- package/dist/src/api/graphql-api/branch/branch.resolver.js +3 -3
- package/dist/src/api/graphql-api/branch/branch.resolver.js.map +1 -1
- package/dist/src/api/graphql-api/branch/inputs/create-branch.input.d.ts +2 -1
- package/dist/src/api/graphql-api/branch/inputs/create-branch.input.js +5 -1
- package/dist/src/api/graphql-api/branch/inputs/create-branch.input.js.map +1 -1
- package/dist/src/api/graphql-api/branch/inputs/index.d.ts +0 -1
- package/dist/src/api/graphql-api/branch/inputs/index.js +0 -1
- package/dist/src/api/graphql-api/branch/inputs/index.js.map +1 -1
- package/dist/src/api/graphql-api/configuration/model/configuration.model.d.ts +1 -0
- package/dist/src/api/graphql-api/configuration/model/configuration.model.js +4 -0
- package/dist/src/api/graphql-api/configuration/model/configuration.model.js.map +1 -1
- package/dist/src/api/graphql-api/draft/draft.resolver.d.ts +4 -4
- package/dist/src/api/graphql-api/draft/draft.resolver.js +15 -15
- package/dist/src/api/graphql-api/draft/input/{remove-row.input.d.ts → delete-row.input.d.ts} +1 -1
- package/dist/src/api/graphql-api/draft/input/{remove-row.input.js → delete-row.input.js} +6 -6
- package/dist/src/api/graphql-api/draft/input/delete-row.input.js.map +1 -0
- package/dist/src/api/graphql-api/draft/input/{remove-rows.input.d.ts → delete-rows.input.d.ts} +1 -1
- package/dist/src/api/graphql-api/draft/input/{remove-rows.input.js → delete-rows.input.js} +9 -9
- package/dist/src/api/graphql-api/draft/input/{remove-rows.input.js.map → delete-rows.input.js.map} +1 -1
- package/dist/src/api/graphql-api/draft/input/{remove-table.input.d.ts → delete-table.input.d.ts} +1 -1
- package/dist/src/api/graphql-api/draft/input/{remove-table.input.js → delete-table.input.js} +8 -8
- package/dist/src/api/graphql-api/draft/input/{remove-table.input.js.map → delete-table.input.js.map} +1 -1
- package/dist/src/api/graphql-api/draft/input/index.d.ts +3 -3
- package/dist/src/api/graphql-api/draft/input/index.js +3 -3
- package/dist/src/api/graphql-api/draft/model/{remove-row-result.model.d.ts → delete-row-result.model.d.ts} +1 -1
- package/dist/src/api/graphql-api/draft/model/{remove-row-result.model.js → delete-row-result.model.js} +9 -9
- package/dist/src/api/graphql-api/draft/model/{remove-row-result.model.js.map → delete-row-result.model.js.map} +1 -1
- package/dist/src/api/graphql-api/draft/model/{remove-rows-result.model.d.ts → delete-rows-result.model.d.ts} +1 -1
- package/dist/src/api/graphql-api/draft/model/{remove-rows-result.model.js → delete-rows-result.model.js} +9 -9
- package/dist/src/api/graphql-api/draft/model/{remove-rows-result.model.js.map → delete-rows-result.model.js.map} +1 -1
- package/dist/src/api/graphql-api/draft/model/{remove-table-result.model.d.ts → delete-table-result.model.d.ts} +1 -1
- package/dist/src/api/graphql-api/draft/model/{remove-table-result.model.js → delete-table-result.model.js} +7 -7
- package/dist/src/api/graphql-api/draft/model/{remove-table-result.model.js.map → delete-table-result.model.js.map} +1 -1
- package/dist/src/api/graphql-api/graphql-api.module.js +4 -0
- package/dist/src/api/graphql-api/graphql-api.module.js.map +1 -1
- package/dist/src/api/graphql-api/row/model/formula-field-error.model.d.ts +6 -0
- package/dist/src/api/graphql-api/{branch/inputs/create-branch-by-revision-id.input.js → row/model/formula-field-error.model.js} +17 -11
- package/dist/src/api/graphql-api/row/model/formula-field-error.model.js.map +1 -0
- package/dist/src/api/graphql-api/row/model/row.model.d.ts +2 -0
- package/dist/src/api/graphql-api/row/model/row.model.js +5 -0
- package/dist/src/api/graphql-api/row/model/row.model.js.map +1 -1
- package/dist/src/api/graphql-api/row/model/search-result.model.d.ts +2 -0
- package/dist/src/api/graphql-api/row/model/search-result.model.js +5 -0
- package/dist/src/api/graphql-api/row/model/search-result.model.js.map +1 -1
- package/dist/src/api/graphql-api/sub-schema/inputs/get-sub-schema-items.input.d.ts +63 -0
- package/dist/src/api/graphql-api/sub-schema/inputs/get-sub-schema-items.input.js +242 -0
- package/dist/src/api/graphql-api/sub-schema/inputs/get-sub-schema-items.input.js.map +1 -0
- package/dist/src/api/graphql-api/sub-schema/model/sub-schema-item.model.d.ts +12 -0
- package/dist/src/api/graphql-api/sub-schema/model/sub-schema-item.model.js +46 -0
- package/dist/src/api/graphql-api/sub-schema/model/sub-schema-item.model.js.map +1 -0
- package/dist/src/api/graphql-api/sub-schema/sub-schema.resolver.d.ts +7 -0
- package/dist/src/api/graphql-api/sub-schema/sub-schema.resolver.js +50 -0
- package/dist/src/api/graphql-api/sub-schema/sub-schema.resolver.js.map +1 -0
- package/dist/src/api/mcp-api/mcp-server.service.d.ts +4 -1
- package/dist/src/api/mcp-api/mcp-server.service.js +20 -10
- package/dist/src/api/mcp-api/mcp-server.service.js.map +1 -1
- package/dist/src/api/mcp-api/mcp.module.js +2 -0
- package/dist/src/api/mcp-api/mcp.module.js.map +1 -1
- package/dist/src/api/mcp-api/resources/schema.resource.d.ts +3 -0
- package/dist/src/api/mcp-api/resources/schema.resource.js +94 -1
- package/dist/src/api/mcp-api/resources/schema.resource.js.map +1 -1
- package/dist/src/api/mcp-api/tools/auth.tools.js +4 -4
- package/dist/src/api/mcp-api/tools/auth.tools.js.map +1 -1
- package/dist/src/api/mcp-api/tools/branch.tools.js +4 -4
- package/dist/src/api/mcp-api/tools/branch.tools.js.map +1 -1
- package/dist/src/api/mcp-api/tools/endpoint.tools.js +6 -6
- package/dist/src/api/mcp-api/tools/endpoint.tools.js.map +1 -1
- package/dist/src/api/mcp-api/tools/file.tools.js +1 -1
- package/dist/src/api/mcp-api/tools/file.tools.js.map +1 -1
- package/dist/src/api/mcp-api/tools/migration.tools.js +2 -2
- package/dist/src/api/mcp-api/tools/migration.tools.js.map +1 -1
- package/dist/src/api/mcp-api/tools/organization.tools.js +2 -2
- package/dist/src/api/mcp-api/tools/organization.tools.js.map +1 -1
- package/dist/src/api/mcp-api/tools/project.tools.js +3 -3
- package/dist/src/api/mcp-api/tools/project.tools.js.map +1 -1
- package/dist/src/api/mcp-api/tools/revision-changes.tools.js +3 -3
- package/dist/src/api/mcp-api/tools/revision-changes.tools.js.map +1 -1
- package/dist/src/api/mcp-api/tools/revision.tools.js +2 -2
- package/dist/src/api/mcp-api/tools/revision.tools.js.map +1 -1
- package/dist/src/api/mcp-api/tools/row.tools.js +112 -18
- package/dist/src/api/mcp-api/tools/row.tools.js.map +1 -1
- package/dist/src/api/mcp-api/tools/table.tools.js +53 -9
- package/dist/src/api/mcp-api/tools/table.tools.js.map +1 -1
- package/dist/src/api/mcp-api/tools/user.tools.js +7 -5
- package/dist/src/api/mcp-api/tools/user.tools.js.map +1 -1
- package/dist/src/api/mcp-api/types.d.ts +2 -0
- package/dist/src/api/rest-api/row/model/formula-field-error.model.d.ts +6 -0
- package/dist/src/api/rest-api/row/model/formula-field-error.model.js +45 -0
- package/dist/src/api/rest-api/row/model/formula-field-error.model.js.map +1 -0
- package/dist/src/api/rest-api/row/model/index.d.ts +1 -0
- package/dist/src/api/rest-api/row/model/index.js +1 -0
- package/dist/src/api/rest-api/row/model/index.js.map +1 -1
- package/dist/src/api/rest-api/row/model/row.model.d.ts +2 -0
- package/dist/src/api/rest-api/row/model/row.model.js +9 -0
- package/dist/src/api/rest-api/row/model/row.model.js.map +1 -1
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToRowModel.d.ts +7 -2
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToRowModel.js +3 -0
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToRowModel.js.map +1 -1
- package/dist/src/features/auth/commands/handlers/create-user.handler.js +17 -5
- package/dist/src/features/auth/commands/handlers/create-user.handler.js.map +1 -1
- package/dist/src/features/auth/github-oauth.service.d.ts +1 -1
- package/dist/src/features/auth/github-oauth.service.js +6 -5
- package/dist/src/features/auth/github-oauth.service.js.map +1 -1
- package/dist/src/features/auth/google-oauth.service.d.ts +1 -1
- package/dist/src/features/auth/google-oauth.service.js +6 -5
- package/dist/src/features/auth/google-oauth.service.js.map +1 -1
- package/dist/src/features/branch/commands/handlers/create-branch-by-revision-id.handler.d.ts +1 -0
- package/dist/src/features/branch/commands/handlers/create-branch-by-revision-id.handler.js +15 -2
- package/dist/src/features/branch/commands/handlers/create-branch-by-revision-id.handler.js.map +1 -1
- package/dist/src/features/draft/commands/handlers/api-base-row.handler.d.ts +1 -0
- package/dist/src/features/draft/commands/handlers/api-create-rows.handler.d.ts +1 -0
- package/dist/src/features/draft/commands/handlers/api-patch-rows.handler.d.ts +1 -0
- package/dist/src/features/draft/commands/handlers/api-update-rows.handler.d.ts +1 -0
- package/dist/src/features/draft/commands/handlers/transactional/validate-schema.handler.d.ts +4 -1
- package/dist/src/features/draft/commands/handlers/transactional/validate-schema.handler.js +13 -2
- package/dist/src/features/draft/commands/handlers/transactional/validate-schema.handler.js.map +1 -1
- package/dist/src/features/draft-revision/services/draft-revision-internal.service.js +1 -1
- package/dist/src/features/draft-revision/services/draft-revision-internal.service.js.map +1 -1
- package/dist/src/features/plugin/formula/formula-validation.service.d.ts +12 -0
- package/dist/src/features/plugin/formula/formula-validation.service.js +48 -0
- package/dist/src/features/plugin/formula/formula-validation.service.js.map +1 -0
- package/dist/src/features/plugin/formula/formula.plugin.d.ts +8 -0
- package/dist/src/features/plugin/formula/formula.plugin.js +67 -0
- package/dist/src/features/plugin/formula/formula.plugin.js.map +1 -0
- package/dist/src/features/plugin/formula/formula.service.d.ts +5 -0
- package/dist/src/features/plugin/formula/formula.service.js +26 -0
- package/dist/src/features/plugin/formula/formula.service.js.map +1 -0
- package/dist/src/features/plugin/formula/index.d.ts +3 -0
- package/dist/src/features/plugin/formula/index.js +20 -0
- package/dist/src/features/plugin/formula/index.js.map +1 -0
- package/dist/src/features/plugin/index.d.ts +2 -1
- package/dist/src/features/plugin/index.js +2 -0
- package/dist/src/features/plugin/index.js.map +1 -1
- package/dist/src/features/plugin/plugin.list.service.d.ts +2 -1
- package/dist/src/features/plugin/plugin.list.service.js +4 -2
- package/dist/src/features/plugin/plugin.list.service.js.map +1 -1
- package/dist/src/features/plugin/plugin.module.js +14 -2
- package/dist/src/features/plugin/plugin.module.js.map +1 -1
- package/dist/src/features/plugin/plugin.service.d.ts +6 -3
- package/dist/src/features/plugin/plugin.service.js +36 -2
- package/dist/src/features/plugin/plugin.service.js.map +1 -1
- package/dist/src/features/plugin/types.d.ts +14 -1
- package/dist/src/features/project/commands/handlers/create-project.handler.js +4 -3
- package/dist/src/features/project/commands/handlers/create-project.handler.js.map +1 -1
- package/dist/src/features/revision-changes/services/row-diff.service.d.ts +2 -6
- package/dist/src/features/revision-changes/services/row-diff.service.js +17 -120
- package/dist/src/features/revision-changes/services/row-diff.service.js.map +1 -1
- package/dist/src/features/row/queries/handlers/get-row-by-id.handler.d.ts +1 -0
- package/dist/src/features/row/queries/handlers/get-row-by-id.handler.js +14 -17
- package/dist/src/features/row/queries/handlers/get-row-by-id.handler.js.map +1 -1
- package/dist/src/features/row/queries/handlers/get-row.handler.js +2 -1
- package/dist/src/features/row/queries/handlers/get-row.handler.js.map +1 -1
- package/dist/src/features/row/queries/handlers/get-rows.handler.d.ts +1 -0
- package/dist/src/features/row/queries/handlers/get-rows.handler.js +2 -1
- package/dist/src/features/row/queries/handlers/get-rows.handler.js.map +1 -1
- package/dist/src/features/row/queries/handlers/resolve-row-foreign-keys-by.handler.js +3 -2
- package/dist/src/features/row/queries/handlers/resolve-row-foreign-keys-by.handler.js.map +1 -1
- package/dist/src/features/row/queries/handlers/resolve-row-foreign-keys-to.handler.js +3 -2
- package/dist/src/features/row/queries/handlers/resolve-row-foreign-keys-to.handler.js.map +1 -1
- package/dist/src/features/row/queries/handlers/search-rows.handler.d.ts +0 -1
- package/dist/src/features/row/queries/handlers/search-rows.handler.js +2 -15
- package/dist/src/features/row/queries/handlers/search-rows.handler.js.map +1 -1
- package/dist/src/features/row/queries/impl/get-rows.query.d.ts +1 -9
- package/dist/src/features/row/queries/impl/get-rows.query.js.map +1 -1
- package/dist/src/features/row/queries/impl/search-rows.query.d.ts +2 -0
- package/dist/src/features/row/queries/impl/search-rows.query.js.map +1 -1
- package/dist/src/features/share/exceptions/validation.exception.d.ts +14 -0
- package/dist/src/features/share/exceptions/validation.exception.js +26 -1
- package/dist/src/features/share/exceptions/validation.exception.js.map +1 -1
- package/dist/src/features/share/foreign-keys.service.js +3 -6
- package/dist/src/features/share/foreign-keys.service.js.map +1 -1
- package/dist/src/features/share/json-schema-validator.service.js +3 -0
- package/dist/src/features/share/json-schema-validator.service.js.map +1 -1
- package/dist/src/features/share/schema/consts.d.ts +2 -1
- package/dist/src/features/share/schema/consts.js +1 -0
- package/dist/src/features/share/schema/consts.js.map +1 -1
- package/dist/src/features/share/schema/meta-schema.d.ts +3 -0
- package/dist/src/features/share/schema/meta-schema.js +43 -1
- package/dist/src/features/share/schema/meta-schema.js.map +1 -1
- package/dist/src/features/share/types/row-with-context.types.d.ts +2 -0
- package/dist/src/features/share/utils/validateUrlLikeId/reserved-names.d.ts +2 -0
- package/dist/src/features/share/utils/validateUrlLikeId/reserved-names.js +111 -0
- package/dist/src/features/share/utils/validateUrlLikeId/reserved-names.js.map +1 -0
- package/dist/src/features/share/utils/validateUrlLikeId/validateBranchName.d.ts +3 -0
- package/dist/src/features/share/utils/validateUrlLikeId/validateBranchName.js +18 -0
- package/dist/src/features/share/utils/validateUrlLikeId/validateBranchName.js.map +1 -0
- package/dist/src/features/share/utils/validateUrlLikeId/validateUsername.d.ts +3 -0
- package/dist/src/features/share/utils/validateUrlLikeId/validateUsername.js +18 -0
- package/dist/src/features/share/utils/validateUrlLikeId/validateUsername.js.map +1 -0
- package/dist/src/features/sub-schema/index.d.ts +3 -0
- package/dist/src/features/sub-schema/index.js +20 -0
- package/dist/src/features/sub-schema/index.js.map +1 -0
- package/dist/src/features/sub-schema/queries/handlers/__tests__/utils.d.ts +22 -0
- package/dist/src/features/sub-schema/queries/handlers/__tests__/utils.js +143 -0
- package/dist/src/features/sub-schema/queries/handlers/__tests__/utils.js.map +1 -0
- package/dist/src/features/sub-schema/queries/handlers/get-sub-schema-items.handler.d.ts +21 -0
- package/dist/src/features/sub-schema/queries/handlers/get-sub-schema-items.handler.js +128 -0
- package/dist/src/features/sub-schema/queries/handlers/get-sub-schema-items.handler.js.map +1 -0
- package/dist/src/features/sub-schema/queries/handlers/index.d.ts +2 -0
- package/dist/src/features/sub-schema/queries/handlers/index.js +6 -0
- package/dist/src/features/sub-schema/queries/handlers/index.js.map +1 -0
- package/dist/src/features/sub-schema/queries/impl/get-sub-schema-items.query.d.ts +31 -0
- package/dist/src/features/sub-schema/queries/impl/get-sub-schema-items.query.js +10 -0
- package/dist/src/features/sub-schema/queries/impl/get-sub-schema-items.query.js.map +1 -0
- package/dist/src/features/sub-schema/queries/impl/index.d.ts +1 -0
- package/dist/src/features/sub-schema/queries/impl/index.js +18 -0
- package/dist/src/features/sub-schema/queries/impl/index.js.map +1 -0
- package/dist/src/features/sub-schema/sub-schema-api.service.d.ts +7 -0
- package/dist/src/features/sub-schema/sub-schema-api.service.js +29 -0
- package/dist/src/features/sub-schema/sub-schema-api.service.js.map +1 -0
- package/dist/src/features/sub-schema/sub-schema.module.d.ts +2 -0
- package/dist/src/features/sub-schema/sub-schema.module.js +27 -0
- package/dist/src/features/sub-schema/sub-schema.module.js.map +1 -0
- package/dist/src/features/sub-schema/utils/find-ref-paths.d.ts +3 -0
- package/dist/src/features/sub-schema/utils/find-ref-paths.js +17 -0
- package/dist/src/features/sub-schema/utils/find-ref-paths.js.map +1 -0
- package/dist/src/features/sub-schema/utils/get-sub-schema-items-sql.d.ts +30 -0
- package/dist/src/features/sub-schema/utils/get-sub-schema-items-sql.js +146 -0
- package/dist/src/features/sub-schema/utils/get-sub-schema-items-sql.js.map +1 -0
- package/dist/src/features/user/commands/handlers/reset-password.handler.js +4 -1
- package/dist/src/features/user/commands/handlers/reset-password.handler.js.map +1 -1
- package/dist/src/features/user/commands/handlers/set-username.handler.js +6 -6
- package/dist/src/features/user/commands/handlers/set-username.handler.js.map +1 -1
- package/dist/src/infrastructure/cache/revisium-cache.module.js +10 -9
- package/dist/src/infrastructure/cache/revisium-cache.module.js.map +1 -1
- package/dist/src/infrastructure/configuration/queries/handlers/get-configuration.handler.d.ts +3 -1
- package/dist/src/infrastructure/configuration/queries/handlers/get-configuration.handler.js +6 -2
- package/dist/src/infrastructure/configuration/queries/handlers/get-configuration.handler.js.map +1 -1
- package/dist/src/infrastructure/configuration/queries/impl/get-configuration.query.d.ts +1 -0
- package/dist/src/utils/env/deprecated-env.d.ts +4 -0
- package/dist/src/utils/env/deprecated-env.js +55 -0
- package/dist/src/utils/env/deprecated-env.js.map +1 -0
- package/dist/src/utils/env/index.d.ts +1 -0
- package/dist/src/utils/env/index.js +8 -0
- package/dist/src/utils/env/index.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -4
- package/dist/src/api/graphql-api/branch/inputs/create-branch-by-revision-id.input.d.ts +0 -5
- package/dist/src/api/graphql-api/branch/inputs/create-branch-by-revision-id.input.js.map +0 -1
- package/dist/src/api/graphql-api/draft/input/remove-row.input.js.map +0 -1
|
@@ -53,6 +53,7 @@ const cache_service_1 = require("./services/cache.service");
|
|
|
53
53
|
const revision_cache_service_1 = require("./services/revision-cache.service");
|
|
54
54
|
const row_cache_service_1 = require("./services/row-cache.service");
|
|
55
55
|
const parse_bool_1 = require("../../utils/utils/parse-bool");
|
|
56
|
+
const env_1 = require("../../utils/env");
|
|
56
57
|
const noop_cache_service_1 = require("./services/noop-cache.service");
|
|
57
58
|
const cache_tokens_1 = require("./services/cache.tokens");
|
|
58
59
|
const handlers_1 = require("./handlers");
|
|
@@ -77,26 +78,26 @@ let RevisiumCacheModule = RevisiumCacheModule_1 = class RevisiumCacheModule {
|
|
|
77
78
|
provide: cache_tokens_1.CACHE_SERVICE,
|
|
78
79
|
useFactory: async (cfg) => {
|
|
79
80
|
const logger = new common_1.Logger('RevisiumCacheModule');
|
|
80
|
-
const enabled = (0, parse_bool_1.parseBool)(
|
|
81
|
+
const enabled = (0, parse_bool_1.parseBool)((0, env_1.getEnvWithDeprecation)(cfg, 'CACHE_ENABLED'));
|
|
81
82
|
if (!enabled) {
|
|
82
|
-
logger.warn('
|
|
83
|
+
logger.warn('Cache disabled (NoopBentoCache). Set CACHE_ENABLED=1 to enable.');
|
|
83
84
|
return new noop_cache_service_1.NoopCacheService();
|
|
84
85
|
}
|
|
85
|
-
const l1MaxSize =
|
|
86
|
+
const l1MaxSize = (0, env_1.getEnvWithDeprecation)(cfg, 'CACHE_L1_MAX_SIZE');
|
|
86
87
|
if (l1MaxSize) {
|
|
87
88
|
logger.log(`L1_MAX_SIZE: ${l1MaxSize}`);
|
|
88
89
|
}
|
|
89
|
-
const redisUrl =
|
|
90
|
+
const redisUrl = (0, env_1.getEnvWithDeprecation)(cfg, 'CACHE_L2_REDIS_URL') || null;
|
|
90
91
|
try {
|
|
91
92
|
let bento;
|
|
92
93
|
if (redisUrl) {
|
|
93
|
-
const redisBusHost =
|
|
94
|
+
const redisBusHost = (0, env_1.getEnvWithDeprecationOrThrow)(cfg, 'CACHE_BUS_HOST');
|
|
94
95
|
if (redisBusHost) {
|
|
95
|
-
logger.log(`
|
|
96
|
+
logger.log(`CACHE_BUS_HOST: ${redisBusHost}`);
|
|
96
97
|
}
|
|
97
|
-
const redisBusPort =
|
|
98
|
+
const redisBusPort = (0, env_1.getEnvWithDeprecationOrThrow)(cfg, 'CACHE_BUS_PORT');
|
|
98
99
|
if (redisBusPort) {
|
|
99
|
-
logger.log(`
|
|
100
|
+
logger.log(`CACHE_BUS_PORT: ${redisBusPort}`);
|
|
100
101
|
}
|
|
101
102
|
const { BentoCache, bentostore, memoryDriver } = await loadBentoCacheCore();
|
|
102
103
|
const { redisBusDriver, redisDriver } = await loadBentoCacheRedis();
|
|
@@ -126,7 +127,7 @@ let RevisiumCacheModule = RevisiumCacheModule_1 = class RevisiumCacheModule {
|
|
|
126
127
|
}
|
|
127
128
|
else {
|
|
128
129
|
const databaseUrl = cfg.getOrThrow('DATABASE_URL');
|
|
129
|
-
const debug = (0, parse_bool_1.parseBool)(
|
|
130
|
+
const debug = (0, parse_bool_1.parseBool)((0, env_1.getEnvWithDeprecation)(cfg, 'CACHE_DEBUG'));
|
|
130
131
|
const { BentoCache, bentostore, memoryDriver } = await loadBentoCacheCore();
|
|
131
132
|
bento = new BentoCache({
|
|
132
133
|
default: 'cache',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revisium-cache.module.js","sourceRoot":"","sources":["../../../../src/infrastructure/cache/revisium-cache.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA+D;AAC/D,2CAA6D;AAC7D,uCAA0C;AAC1C,0DAA4E;AAC5E,sEAAwF;AACxF,4DAA+E;AAC/E,8EAAgG;AAChG,oEAAsF;AACtF,6DAAuD;AACvD,sEAAwF;AACxF,0DAAwD;AACxD,yCAAkD;AAClD,sDAA4B;AAG5B,KAAK,UAAU,kBAAkB;IAC/B,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,GAAG,wDAAa,YAAY,GAAC,CAAC;IAC9D,MAAM,EAAE,YAAY,EAAE,GAAG,wDAAa,2BAA2B,GAAC,CAAC;IACnE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,CAAC;AAClD,CAAC;AAED,KAAK,UAAU,mBAAmB;IAChC,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,GAAG,wDACtC,0BAA0B,GAC3B,CAAC;IACF,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,CAAC;AACzC,CAAC;AAGM,IAAM,mBAAmB,2BAAzB,MAAM,mBAAmB;IAC9B,MAAM,CAAC,YAAY;QACjB,OAAO;YACL,MAAM,EAAE,qBAAmB;YAC3B,MAAM,EAAE,IAAI;YACZ,OAAO,EAAE,CAAC,qBAAY,EAAE,iBAAU,CAAC;YACnC,SAAS,EAAE;gBACT;oBACE,OAAO,EAAE,4BAAa;oBACtB,UAAU,EAAE,KAAK,EAAE,GAAkB,EAAgB,EAAE;wBACrD,MAAM,MAAM,GAAG,IAAI,eAAM,CAAC,qBAAqB,CAAC,CAAC;wBACjD,MAAM,OAAO,GAAG,IAAA,sBAAS,
|
|
1
|
+
{"version":3,"file":"revisium-cache.module.js","sourceRoot":"","sources":["../../../../src/infrastructure/cache/revisium-cache.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA+D;AAC/D,2CAA6D;AAC7D,uCAA0C;AAC1C,0DAA4E;AAC5E,sEAAwF;AACxF,4DAA+E;AAC/E,8EAAgG;AAChG,oEAAsF;AACtF,6DAAuD;AACvD,yCAGuB;AACvB,sEAAwF;AACxF,0DAAwD;AACxD,yCAAkD;AAClD,sDAA4B;AAG5B,KAAK,UAAU,kBAAkB;IAC/B,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,GAAG,wDAAa,YAAY,GAAC,CAAC;IAC9D,MAAM,EAAE,YAAY,EAAE,GAAG,wDAAa,2BAA2B,GAAC,CAAC;IACnE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,CAAC;AAClD,CAAC;AAED,KAAK,UAAU,mBAAmB;IAChC,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,GAAG,wDACtC,0BAA0B,GAC3B,CAAC;IACF,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,CAAC;AACzC,CAAC;AAGM,IAAM,mBAAmB,2BAAzB,MAAM,mBAAmB;IAC9B,MAAM,CAAC,YAAY;QACjB,OAAO;YACL,MAAM,EAAE,qBAAmB;YAC3B,MAAM,EAAE,IAAI;YACZ,OAAO,EAAE,CAAC,qBAAY,EAAE,iBAAU,CAAC;YACnC,SAAS,EAAE;gBACT;oBACE,OAAO,EAAE,4BAAa;oBACtB,UAAU,EAAE,KAA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D,CAAC;4BAED,OAAO,KAAK,CAAC;wBACf,CAAC;wBAAC,OAAO,CAAC,EAAE,CAAC;4BACX,MAAM,GAAG,GAAG,CAAU,CAAC;4BACvB,MAAM,CAAC,KAAK,CACV,8BAA8B,QAAQ,IAAI,QAAQ,yBAAyB,EAC3E,GAAG,EAAE,KAAK,IAAI,MAAM,CAAC,GAAG,CAAC,CAC1B,CAAC;4BACF,OAAO,IAAI,qCAAgB,EAAS,CAAC;wBACvC,CAAC;oBACH,CAAC;oBACD,MAAM,EAAE,CAAC,sBAAa,CAAC;iBACxB;gBACD,4BAAY;gBACZ,mCAAe;gBACf,6CAAoB;gBACpB,qCAAgB;gBAChB,GAAG,+BAAoB;aACxB;YACD,OAAO,EAAE;gBACP,mCAAe;gBACf,6CAAoB;gBACpB,qCAAgB;gBAChB,4BAAY;gBACZ,4BAAa;aACd;SACF,CAAC;IACJ,CAAC;CACF,CAAA;AAnJY,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,mBAAmB,CAmJ/B"}
|
package/dist/src/infrastructure/configuration/queries/handlers/get-configuration.handler.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { IQueryHandler } from '@nestjs/cqrs';
|
|
|
2
2
|
import { GitHubAuthService } from '../../../../features/auth/github-oauth.service';
|
|
3
3
|
import { GoogleOauthService } from '../../../../features/auth/google-oauth.service';
|
|
4
4
|
import { FilePlugin } from '../../../../features/plugin/file/file.plugin';
|
|
5
|
+
import { FormulaService } from '../../../../features/plugin/formula';
|
|
5
6
|
import { GetConfigurationQuery, GetConfigurationQueryReturnType } from '../../../../infrastructure/configuration/queries/impl';
|
|
6
7
|
import { EmailService } from '../../../../infrastructure/email/email.service';
|
|
7
8
|
export declare class GetConfigurationHandler implements IQueryHandler<GetConfigurationQuery, GetConfigurationQueryReturnType> {
|
|
@@ -9,7 +10,8 @@ export declare class GetConfigurationHandler implements IQueryHandler<GetConfigu
|
|
|
9
10
|
private readonly googleOauthService;
|
|
10
11
|
private readonly githubOauthService;
|
|
11
12
|
private readonly filePlugin;
|
|
12
|
-
|
|
13
|
+
private readonly formulaService;
|
|
14
|
+
constructor(emailService: EmailService, googleOauthService: GoogleOauthService, githubOauthService: GitHubAuthService, filePlugin: FilePlugin, formulaService: FormulaService);
|
|
13
15
|
execute(): Promise<GetConfigurationQueryReturnType>;
|
|
14
16
|
private get isAvailableEmailSignUp();
|
|
15
17
|
}
|
|
@@ -14,14 +14,16 @@ const cqrs_1 = require("@nestjs/cqrs");
|
|
|
14
14
|
const github_oauth_service_1 = require("../../../../features/auth/github-oauth.service");
|
|
15
15
|
const google_oauth_service_1 = require("../../../../features/auth/google-oauth.service");
|
|
16
16
|
const file_plugin_1 = require("../../../../features/plugin/file/file.plugin");
|
|
17
|
+
const formula_1 = require("../../../../features/plugin/formula");
|
|
17
18
|
const impl_1 = require("../impl");
|
|
18
19
|
const email_service_1 = require("../../../email/email.service");
|
|
19
20
|
let GetConfigurationHandler = class GetConfigurationHandler {
|
|
20
|
-
constructor(emailService, googleOauthService, githubOauthService, filePlugin) {
|
|
21
|
+
constructor(emailService, googleOauthService, githubOauthService, filePlugin, formulaService) {
|
|
21
22
|
this.emailService = emailService;
|
|
22
23
|
this.googleOauthService = googleOauthService;
|
|
23
24
|
this.githubOauthService = githubOauthService;
|
|
24
25
|
this.filePlugin = filePlugin;
|
|
26
|
+
this.formulaService = formulaService;
|
|
25
27
|
}
|
|
26
28
|
async execute() {
|
|
27
29
|
return {
|
|
@@ -36,6 +38,7 @@ let GetConfigurationHandler = class GetConfigurationHandler {
|
|
|
36
38
|
},
|
|
37
39
|
plugins: {
|
|
38
40
|
file: this.filePlugin.isAvailable,
|
|
41
|
+
formula: this.formulaService.isAvailable,
|
|
39
42
|
},
|
|
40
43
|
};
|
|
41
44
|
}
|
|
@@ -49,6 +52,7 @@ exports.GetConfigurationHandler = GetConfigurationHandler = __decorate([
|
|
|
49
52
|
__metadata("design:paramtypes", [email_service_1.EmailService,
|
|
50
53
|
google_oauth_service_1.GoogleOauthService,
|
|
51
54
|
github_oauth_service_1.GitHubAuthService,
|
|
52
|
-
file_plugin_1.FilePlugin
|
|
55
|
+
file_plugin_1.FilePlugin,
|
|
56
|
+
formula_1.FormulaService])
|
|
53
57
|
], GetConfigurationHandler);
|
|
54
58
|
//# sourceMappingURL=get-configuration.handler.js.map
|
package/dist/src/infrastructure/configuration/queries/handlers/get-configuration.handler.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-configuration.handler.js","sourceRoot":"","sources":["../../../../../../src/infrastructure/configuration/queries/handlers/get-configuration.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAA2D;AAC3D,yFAA2E;AAC3E,yFAA4E;AAC5E,8EAAkE;AAClE,kCAGuD;AACvD,gEAAsE;AAG/D,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAIlC,YACmB,YAA0B,EAC1B,kBAAsC,EACtC,kBAAqC,EACrC,UAAsB;
|
|
1
|
+
{"version":3,"file":"get-configuration.handler.js","sourceRoot":"","sources":["../../../../../../src/infrastructure/configuration/queries/handlers/get-configuration.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAA2D;AAC3D,yFAA2E;AAC3E,yFAA4E;AAC5E,8EAAkE;AAClE,iEAA6D;AAC7D,kCAGuD;AACvD,gEAAsE;AAG/D,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAIlC,YACmB,YAA0B,EAC1B,kBAAsC,EACtC,kBAAqC,EACrC,UAAsB,EACtB,cAA8B;QAJ9B,iBAAY,GAAZ,YAAY,CAAc;QAC1B,uBAAkB,GAAlB,kBAAkB,CAAoB;QACtC,uBAAkB,GAAlB,kBAAkB,CAAmB;QACrC,eAAU,GAAV,UAAU,CAAY;QACtB,mBAAc,GAAd,cAAc,CAAgB;IAC9C,CAAC;IAEG,KAAK,CAAC,OAAO;QAClB,OAAO;YACL,oBAAoB,EAAE,IAAI,CAAC,sBAAsB;YACjD,MAAM,EAAE;gBACN,SAAS,EAAE,IAAI,CAAC,kBAAkB,CAAC,WAAW;gBAC9C,QAAQ,EAAE,IAAI,CAAC,kBAAkB,CAAC,QAAQ;aAC3C;YACD,MAAM,EAAE;gBACN,SAAS,EAAE,IAAI,CAAC,kBAAkB,CAAC,WAAW;gBAC9C,QAAQ,EAAE,IAAI,CAAC,kBAAkB,CAAC,QAAQ;aAC3C;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,WAAW;gBACjC,OAAO,EAAE,IAAI,CAAC,cAAc,CAAC,WAAW;aACzC;SACF,CAAC;IACJ,CAAC;IAED,IAAY,sBAAsB;QAChC,OAAO,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC;IACvC,CAAC;CACF,CAAA;AAjCY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,mBAAY,EAAC,4BAAqB,CAAC;qCAMD,4BAAY;QACN,yCAAkB;QAClB,wCAAiB;QACzB,wBAAU;QACN,wBAAc;GATtC,uBAAuB,CAiCnC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ConfigService } from '@nestjs/config';
|
|
2
|
+
export declare function resetDeprecationWarnings(): void;
|
|
3
|
+
export declare function getEnvWithDeprecation<T = string>(configService: ConfigService, newKey: string): T | undefined;
|
|
4
|
+
export declare function getEnvWithDeprecationOrThrow<T = string>(configService: ConfigService, newKey: string): T;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resetDeprecationWarnings = resetDeprecationWarnings;
|
|
4
|
+
exports.getEnvWithDeprecation = getEnvWithDeprecation;
|
|
5
|
+
exports.getEnvWithDeprecationOrThrow = getEnvWithDeprecationOrThrow;
|
|
6
|
+
const common_1 = require("@nestjs/common");
|
|
7
|
+
const deprecationLogger = new common_1.Logger('DeprecatedEnv');
|
|
8
|
+
const warnedKeys = new Set();
|
|
9
|
+
function resetDeprecationWarnings() {
|
|
10
|
+
warnedKeys.clear();
|
|
11
|
+
}
|
|
12
|
+
const DEPRECATED_ENV_MAPPING = {
|
|
13
|
+
EXPERIMENTAL_CACHE: 'CACHE_ENABLED',
|
|
14
|
+
EXPERIMENTAL_CACHE_L1_MAX_SIZE: 'CACHE_L1_MAX_SIZE',
|
|
15
|
+
EXPERIMENTAL_CACHE_L2_REDIS_URL: 'CACHE_L2_REDIS_URL',
|
|
16
|
+
EXPERIMENTAL_CACHE_REDIS_BUS_HOST: 'CACHE_BUS_HOST',
|
|
17
|
+
EXPERIMENTAL_CACHE_REDIS_BUS_PORT: 'CACHE_BUS_PORT',
|
|
18
|
+
EXPERIMENTAL_CACHE_DEBUG: 'CACHE_DEBUG',
|
|
19
|
+
OAUTH_GOOGLE_SECRET_ID: 'OAUTH_GOOGLE_CLIENT_SECRET',
|
|
20
|
+
OAUTH_GITHUB_SECRET_ID: 'OAUTH_GITHUB_CLIENT_SECRET',
|
|
21
|
+
};
|
|
22
|
+
function findDeprecatedKey(newKey) {
|
|
23
|
+
return Object.entries(DEPRECATED_ENV_MAPPING).find(([, v]) => v === newKey)?.[0];
|
|
24
|
+
}
|
|
25
|
+
function logDeprecationWarning(oldKey, newKey) {
|
|
26
|
+
if (warnedKeys.has(oldKey)) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
warnedKeys.add(oldKey);
|
|
30
|
+
deprecationLogger.warn(`DEPRECATED: ${oldKey} is deprecated and will be removed in v3.0.0. Please use ${newKey} instead.`);
|
|
31
|
+
}
|
|
32
|
+
function getEnvWithDeprecation(configService, newKey) {
|
|
33
|
+
const newValue = configService.get(newKey);
|
|
34
|
+
if (newValue !== undefined) {
|
|
35
|
+
return newValue;
|
|
36
|
+
}
|
|
37
|
+
const oldKey = findDeprecatedKey(newKey);
|
|
38
|
+
if (!oldKey) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
const oldValue = configService.get(oldKey);
|
|
42
|
+
if (oldValue !== undefined) {
|
|
43
|
+
logDeprecationWarning(oldKey, newKey);
|
|
44
|
+
return oldValue;
|
|
45
|
+
}
|
|
46
|
+
return undefined;
|
|
47
|
+
}
|
|
48
|
+
function getEnvWithDeprecationOrThrow(configService, newKey) {
|
|
49
|
+
const value = getEnvWithDeprecation(configService, newKey);
|
|
50
|
+
if (value === undefined) {
|
|
51
|
+
throw new Error(`Missing required environment variable: ${newKey}`);
|
|
52
|
+
}
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=deprecated-env.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deprecated-env.js","sourceRoot":"","sources":["../../../../src/utils/env/deprecated-env.ts"],"names":[],"mappings":";;AAMA,4DAEC;AA6BD,sDAqBC;AAED,oEASC;AArED,2CAAwC;AAGxC,MAAM,iBAAiB,GAAG,IAAI,eAAM,CAAC,eAAe,CAAC,CAAC;AACtD,MAAM,UAAU,GAAG,IAAI,GAAG,EAAU,CAAC;AAErC,SAAgB,wBAAwB;IACtC,UAAU,CAAC,KAAK,EAAE,CAAC;AACrB,CAAC;AAED,MAAM,sBAAsB,GAA2B;IACrD,kBAAkB,EAAE,eAAe;IACnC,8BAA8B,EAAE,mBAAmB;IACnD,+BAA+B,EAAE,oBAAoB;IACrD,iCAAiC,EAAE,gBAAgB;IACnD,iCAAiC,EAAE,gBAAgB;IACnD,wBAAwB,EAAE,aAAa;IACvC,sBAAsB,EAAE,4BAA4B;IACpD,sBAAsB,EAAE,4BAA4B;CACrD,CAAC;AAEF,SAAS,iBAAiB,CAAC,MAAc;IACvC,OAAO,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,IAAI,CAChD,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,MAAM,CACxB,EAAE,CAAC,CAAC,CAAC,CAAC;AACT,CAAC;AAED,SAAS,qBAAqB,CAA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object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resetDeprecationWarnings = exports.getEnvWithDeprecationOrThrow = exports.getEnvWithDeprecation = void 0;
|
|
4
|
+
var deprecated_env_1 = require("./deprecated-env");
|
|
5
|
+
Object.defineProperty(exports, "getEnvWithDeprecation", { enumerable: true, get: function () { return deprecated_env_1.getEnvWithDeprecation; } });
|
|
6
|
+
Object.defineProperty(exports, "getEnvWithDeprecationOrThrow", { enumerable: true, get: function () { return deprecated_env_1.getEnvWithDeprecationOrThrow; } });
|
|
7
|
+
Object.defineProperty(exports, "resetDeprecationWarnings", { enumerable: true, get: function () { return deprecated_env_1.resetDeprecationWarnings; } });
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/utils/env/index.ts"],"names":[],"mappings":";;;AAAA,mDAI0B;AAHxB,uHAAA,qBAAqB,OAAA;AACrB,8HAAA,4BAA4B,OAAA;AAC5B,0HAAA,wBAAwB,OAAA"}
|