@zyno-io/ts-server-foundation 26.1030.1911 → 26.1103.855

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.
Files changed (40) hide show
  1. package/dist/src/app/base.js +2 -2
  2. package/dist/src/app/config.d.ts.map +1 -1
  3. package/dist/src/app/config.js +1 -1
  4. package/dist/src/app/config.js.map +1 -1
  5. package/dist/src/helpers/redis/redis.js +1 -1
  6. package/dist/src/helpers/redis/redis.js.map +1 -1
  7. package/dist/src/http/base.js +2 -2
  8. package/dist/src/http/index.d.ts +2 -0
  9. package/dist/src/http/index.d.ts.map +1 -1
  10. package/dist/src/http/index.js +3 -1
  11. package/dist/src/http/index.js.map +1 -1
  12. package/dist/src/http/middleware.d.ts +8 -0
  13. package/dist/src/http/middleware.d.ts.map +1 -1
  14. package/dist/src/http/middleware.js +30 -2
  15. package/dist/src/http/middleware.js.map +1 -1
  16. package/dist/src/http/payload-redaction.d.ts +25 -0
  17. package/dist/src/http/payload-redaction.d.ts.map +1 -0
  18. package/dist/src/http/payload-redaction.js +122 -0
  19. package/dist/src/http/payload-redaction.js.map +1 -0
  20. package/dist/src/http/query-redaction.d.ts +31 -0
  21. package/dist/src/http/query-redaction.d.ts.map +1 -0
  22. package/dist/src/http/query-redaction.js +114 -0
  23. package/dist/src/http/query-redaction.js.map +1 -0
  24. package/dist/src/http/request-logging.d.ts +10 -0
  25. package/dist/src/http/request-logging.d.ts.map +1 -1
  26. package/dist/src/http/request-logging.js +15 -8
  27. package/dist/src/http/request-logging.js.map +1 -1
  28. package/dist/src/index.js +1 -1
  29. package/dist/src/telemetry/otel/index.d.ts +8 -0
  30. package/dist/src/telemetry/otel/index.d.ts.map +1 -1
  31. package/dist/src/telemetry/otel/index.js +13 -3
  32. package/dist/src/telemetry/otel/index.js.map +1 -1
  33. package/dist/src/telemetry/otel/query-redaction.d.ts +17 -0
  34. package/dist/src/telemetry/otel/query-redaction.d.ts.map +1 -0
  35. package/dist/src/telemetry/otel/query-redaction.js +57 -0
  36. package/dist/src/telemetry/otel/query-redaction.js.map +1 -0
  37. package/docs/content/http.md +23 -1
  38. package/docs/content/redis.md +2 -2
  39. package/docs/content/telemetry.md +3 -0
  40. package/package.json +2 -2
@@ -604,7 +604,7 @@ Examples:
604
604
  }
605
605
  this.signalHandlers = undefined;
606
606
  }
607
- static __tsfType = _AppMetadata_1 = _a.decodeCompactMetadataV2("[2,{\"kind\":16,\"name\":\"App\",\"typeName\":\"App\",\"classType\":{\"$tsf\":0},\"properties\":[{\"name\":\"container\",\"type\":{\"$tsfNode\":0},\"optional\":false},{\"name\":\"events\",\"type\":{\"kind\":16,\"typeName\":\"EventBus\",\"classType\":{\"$tsfImport\":[1,\"../events/index\",\"EventBus\"]}},\"optional\":false},{\"name\":\"config\",\"type\":{\"$tsfType\":0},\"optional\":false},{\"name\":\"router\",\"type\":{\"kind\":16,\"typeName\":\"HttpRouter\",\"classType\":{\"$tsfImport\":[1,\"../http/index\",\"HttpRouter\"]}},\"optional\":false},{\"name\":\"http\",\"type\":{\"kind\":16,\"typeName\":\"HttpServerRuntime\",\"classType\":{\"$tsfImport\":[1,\"../http/index\",\"HttpServerRuntime\"]},\"typeArguments\":[{\"kind\":2,\"typeName\":\"C\"}]},\"optional\":false}],\"methods\":[{\"name\":\"get\",\"parameters\":[{\"name\":\"token\",\"type\":{\"$tsfType\":1},\"optional\":false,\"default\":false}],\"returnType\":{\"$tsfType\":2}},{\"name\":\"getInjectorContext\",\"parameters\":[],\"returnType\":{\"$tsfNode\":0}},{\"name\":\"on\",\"parameters\":[{\"name\":\"token\",\"type\":{\"kind\":16,\"typeName\":\"EventToken\",\"classType\":{\"$tsfImport\":[1,\"../events/index\",\"EventToken\"]},\"typeArguments\":[{\"kind\":16,\"typeName\":\"TEvent\",\"classType\":{\"$tsf\":2}}]},\"optional\":false,\"default\":false},{\"name\":\"handler\",\"type\":{\"$tsfType\":3},\"optional\":false,\"default\":false},{\"name\":\"order\",\"type\":{\"$tsfType\":4},\"optional\":true,\"default\":true}],\"returnType\":{\"$tsfType\":5}},{\"name\":\"registerCleanup\",\"parameters\":[{\"name\":\"cleanup\",\"type\":{\"$tsfType\":6},\"optional\":false,\"default\":false}],\"returnType\":{\"$tsfType\":5},\"description\":\"Register cleanup for a resource acquired by this application.\"},{\"name\":\"registerShutdownDrain\",\"parameters\":[{\"name\":\"drain\",\"type\":{\"$tsfType\":6},\"optional\":false,\"default\":false}],\"returnType\":{\"$tsfType\":5},\"description\":\"Register work that must finish before registered application cleanups run.\"},{\"name\":\"start\",\"parameters\":[],\"returnType\":{\"$tsfType\":7}},{\"name\":\"stop\",\"parameters\":[],\"returnType\":{\"$tsfType\":7}},{\"name\":\"run\",\"parameters\":[{\"name\":\"port\",\"type\":{\"$tsfType\":8},\"optional\":true,\"default\":false},{\"name\":\"host\",\"type\":{\"$tsfType\":9},\"optional\":true,\"default\":false}],\"returnType\":{\"$tsfType\":7}},{\"name\":\"configureForCliService\",\"parameters\":[],\"returnType\":{\"$tsfType\":10}},{\"name\":\"configureForRepl\",\"parameters\":[],\"returnType\":{\"$tsfType\":10}},{\"name\":\"request\",\"parameters\":[{\"name\":\"request\",\"type\":{\"kind\":16,\"typeName\":\"HttpRequest\",\"classType\":{\"$tsfImport\":[1,\"../http/index\",\"HttpRequest\"]}},\"optional\":false,\"default\":false},{\"name\":\"response\",\"type\":{\"$tsfNode\":1},\"optional\":true,\"default\":true}],\"returnType\":{\"kind\":22,\"type\":{\"$tsfNode\":1}}}],\"hasConstructor\":true,\"constructorParameters\":[{\"name\":\"options\",\"type\":{\"kind\":18,\"typeName\":\"CreateAppOptions\",\"types\":[{\"$tsfNode\":2},{\"$tsfNode\":3},{\"kind\":20,\"name\":\"imports\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"kind\":12,\"types\":[{\"kind\":18,\"typeName\":\"ModuleDefinition\",\"types\":[{\"$tsfNode\":2},{\"$tsfNode\":3},{\"kind\":20,\"name\":\"imports\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"ModuleDefinition\"},{\"kind\":2,\"typeName\":\"ClassType\"},{\"kind\":18,\"typeName\":\"ModuleInstance\",\"types\":[{\"kind\":20,\"name\":\"definition\",\"type\":{\"kind\":2,\"typeName\":\"ModuleDefinition\"},\"optional\":false}]}],\"typeName\":\"ModuleLike\"}},{\"kind\":4}]},\"optional\":true},{\"$tsfNode\":4},{\"$tsfNode\":5},{\"$tsfNode\":6},{\"$tsfNode\":7},{\"$tsfNode\":8}],\"typeParameters\":[\"C\"]},{\"kind\":2,\"typeName\":\"ClassType\"},{\"kind\":18,\"typeName\":\"ModuleInstance\",\"types\":[{\"kind\":20,\"name\":\"definition\",\"type\":{\"kind\":18,\"typeName\":\"ModuleDefinition\",\"types\":[{\"$tsfNode\":2},{\"$tsfNode\":3},{\"kind\":20,\"name\":\"imports\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"ModuleDefinition\"},{\"kind\":2,\"typeName\":\"ClassType\"},{\"kind\":2,\"typeName\":\"ModuleInstance\"}],\"typeName\":\"ModuleLike\"}},{\"kind\":4}]},\"optional\":true},{\"$tsfNode\":4},{\"$tsfNode\":5},{\"$tsfNode\":6},{\"$tsfNode\":7},{\"$tsfNode\":8}],\"typeParameters\":[\"C\"]},\"optional\":false}]}],\"typeName\":\"ModuleLike\"}},{\"kind\":4}]},\"optional\":true},{\"$tsfNode\":4},{\"$tsfNode\":5},{\"$tsfNode\":6},{\"$tsfNode\":7},{\"$tsfNode\":8},{\"$tsfNode\":2},{\"$tsfNode\":3},{\"kind\":20,\"name\":\"envPassthrough\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"$tsfNode\":9}},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"db\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"ClassType\"},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"frameworkConfig\",\"type\":{\"$tsfNode\":10},\"optional\":true},{\"kind\":20,\"name\":\"serverConfig\",\"type\":{\"$tsfNode\":10},\"optional\":true},{\"kind\":20,\"name\":\"cors\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"HttpCorsConfig\",\"typeArguments\":[{\"kind\":2,\"typeName\":\"C\"}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"staticFiles\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":18,\"typeName\":\"StaticFilesOptions\",\"types\":[{\"kind\":20,\"name\":\"directory\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"index\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"spaFallback\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":10,\"literal\":false}]},{\"kind\":4}]},\"optional\":true}]}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"requestLogging\",\"type\":{\"kind\":12,\"types\":[{\"kind\":18,\"typeName\":\"HttpRequestLoggingOptions\",\"types\":[{\"kind\":20,\"name\":\"excludePaths\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"$tsfNode\":9}]}},{\"kind\":4}]},\"optional\":true}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"httpResolvers\",\"type\":{\"kind\":12,\"types\":[{\"kind\":18,\"typeName\":\"Record\",\"utilityType\":\"Record\",\"typeArguments\":[{\"kind\":6},{\"kind\":2,\"typeName\":\"RouteParameterResolverInput\"}],\"index\":{\"kind\":2,\"typeName\":\"RouteParameterResolverInput\"},\"types\":[],\"typeName\":\"RouteParameterResolverRegistry\"},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"fallbackController\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"new (...args: any[]) =\\u003e HttpFallbackController\",\"typeName\":\"ClassType\"},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"enableHealthcheck\",\"type\":{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"enableWorker\",\"type\":{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"enableDkRpc\",\"type\":{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":4}]},\"optional\":true}]},\"optional\":false,\"default\":false}]},[{\"kind\":16,\"typeName\":\"Container\",\"classType\":{\"$tsfImport\":[1,\"../di/index\",\"Container\"]}},{\"kind\":16,\"typeName\":\"HttpResponse\",\"classType\":{\"$tsfImport\":[1,\"../http/index\",\"HttpResponse\"]}},{\"kind\":20,\"name\":\"config\",\"type\":{\"$tsfNode\":11},\"optional\":true},{\"kind\":20,\"name\":\"defaultConfig\",\"type\":{\"$tsfNode\":12},\"optional\":true},{\"kind\":20,\"name\":\"exports\",\"type\":{\"$tsfNode\":13},\"optional\":true},{\"kind\":20,\"name\":\"providers\",\"type\":{\"$tsfNode\":14},\"optional\":true},{\"kind\":20,\"name\":\"controllers\",\"type\":{\"$tsfNode\":15},\"optional\":true},{\"kind\":20,\"name\":\"listeners\",\"type\":{\"$tsfNode\":15},\"optional\":true},{\"kind\":20,\"name\":\"commands\",\"type\":{\"$tsfNode\":15},\"optional\":true},{\"kind\":16,\"typeName\":\"RegExp\",\"classType\":{\"$tsf\":3}},{\"kind\":12,\"types\":{\"$tsfNode\":16}},{\"kind\":12,\"types\":{\"$tsfNode\":17}},{\"kind\":12,\"types\":{\"$tsfNode\":18}},{\"kind\":12,\"types\":{\"$tsfNode\":19}},{\"kind\":12,\"types\":{\"$tsfNode\":20}},{\"kind\":12,\"types\":{\"$tsfNode\":21}},[{\"$tsfNode\":22},{\"kind\":4}],[{\"$tsfNode\":23},{\"kind\":4}],[{\"$tsfNode\":24},{\"kind\":4}],[{\"kind\":14,\"type\":{\"kind\":2,\"typeName\":\"Token\"}},{\"kind\":4}],[{\"kind\":14,\"type\":{\"kind\":2,\"typeName\":\"Provider\"}},{\"kind\":4}],[{\"kind\":14,\"type\":{\"kind\":2,\"typeName\":\"ClassType\"}},{\"kind\":4}],{\"kind\":18,\"typeName\":\"Record\",\"utilityType\":\"Record\",\"typeArguments\":[{\"kind\":6},{\"kind\":2}],\"index\":{\"kind\":2},\"types\":[]},{\"kind\":2,\"typeName\":\"new (...args: any[]) =\\u003e C\",\"typeName\":\"ClassType\"},{\"kind\":18,\"typeName\":\"Partial\",\"utilityType\":\"Partial\",\"typeArguments\":[{\"kind\":2,\"typeName\":\"C\"}],\"utilityKeys\":[],\"types\":[]}]]", [() => App, require, () => (typeof TEvent !== "undefined" ? TEvent : (typeof exports !== "undefined" ? exports.TEvent : undefined)), () => (typeof RegExp !== "undefined" ? RegExp : (typeof exports !== "undefined" ? exports.RegExp : undefined))], __tsf_metadata_type);
607
+ static __tsfType = _AppMetadata_1 = _a.decodeCompactMetadataV2("[2,{\"kind\":16,\"name\":\"App\",\"typeName\":\"App\",\"classType\":{\"$tsf\":0},\"properties\":[{\"name\":\"container\",\"type\":{\"$tsfNode\":0},\"optional\":false},{\"name\":\"events\",\"type\":{\"kind\":16,\"typeName\":\"EventBus\",\"classType\":{\"$tsfImport\":[1,\"../events/index\",\"EventBus\"]}},\"optional\":false},{\"name\":\"config\",\"type\":{\"$tsfType\":0},\"optional\":false},{\"name\":\"router\",\"type\":{\"kind\":16,\"typeName\":\"HttpRouter\",\"classType\":{\"$tsfImport\":[1,\"../http/index\",\"HttpRouter\"]}},\"optional\":false},{\"name\":\"http\",\"type\":{\"kind\":16,\"typeName\":\"HttpServerRuntime\",\"classType\":{\"$tsfImport\":[1,\"../http/index\",\"HttpServerRuntime\"]},\"typeArguments\":[{\"kind\":2,\"typeName\":\"C\"}]},\"optional\":false}],\"methods\":[{\"name\":\"get\",\"parameters\":[{\"name\":\"token\",\"type\":{\"$tsfType\":1},\"optional\":false,\"default\":false}],\"returnType\":{\"$tsfType\":2}},{\"name\":\"getInjectorContext\",\"parameters\":[],\"returnType\":{\"$tsfNode\":0}},{\"name\":\"on\",\"parameters\":[{\"name\":\"token\",\"type\":{\"kind\":16,\"typeName\":\"EventToken\",\"classType\":{\"$tsfImport\":[1,\"../events/index\",\"EventToken\"]},\"typeArguments\":[{\"kind\":16,\"typeName\":\"TEvent\",\"classType\":{\"$tsf\":2}}]},\"optional\":false,\"default\":false},{\"name\":\"handler\",\"type\":{\"$tsfType\":3},\"optional\":false,\"default\":false},{\"name\":\"order\",\"type\":{\"$tsfType\":4},\"optional\":true,\"default\":true}],\"returnType\":{\"$tsfType\":5}},{\"name\":\"registerCleanup\",\"parameters\":[{\"name\":\"cleanup\",\"type\":{\"$tsfType\":6},\"optional\":false,\"default\":false}],\"returnType\":{\"$tsfType\":5},\"description\":\"Register cleanup for a resource acquired by this application.\"},{\"name\":\"registerShutdownDrain\",\"parameters\":[{\"name\":\"drain\",\"type\":{\"$tsfType\":6},\"optional\":false,\"default\":false}],\"returnType\":{\"$tsfType\":5},\"description\":\"Register work that must finish before registered application cleanups run.\"},{\"name\":\"start\",\"parameters\":[],\"returnType\":{\"$tsfType\":7}},{\"name\":\"stop\",\"parameters\":[],\"returnType\":{\"$tsfType\":7}},{\"name\":\"run\",\"parameters\":[{\"name\":\"port\",\"type\":{\"$tsfType\":8},\"optional\":true,\"default\":false},{\"name\":\"host\",\"type\":{\"$tsfType\":9},\"optional\":true,\"default\":false}],\"returnType\":{\"$tsfType\":7}},{\"name\":\"configureForCliService\",\"parameters\":[],\"returnType\":{\"$tsfType\":10}},{\"name\":\"configureForRepl\",\"parameters\":[],\"returnType\":{\"$tsfType\":10}},{\"name\":\"request\",\"parameters\":[{\"name\":\"request\",\"type\":{\"kind\":16,\"typeName\":\"HttpRequest\",\"classType\":{\"$tsfImport\":[1,\"../http/index\",\"HttpRequest\"]}},\"optional\":false,\"default\":false},{\"name\":\"response\",\"type\":{\"$tsfNode\":1},\"optional\":true,\"default\":true}],\"returnType\":{\"kind\":22,\"type\":{\"$tsfNode\":1}}}],\"hasConstructor\":true,\"constructorParameters\":[{\"name\":\"options\",\"type\":{\"kind\":18,\"typeName\":\"CreateAppOptions\",\"types\":[{\"$tsfNode\":2},{\"$tsfNode\":3},{\"kind\":20,\"name\":\"imports\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"kind\":12,\"types\":[{\"kind\":18,\"typeName\":\"ModuleDefinition\",\"types\":[{\"$tsfNode\":2},{\"$tsfNode\":3},{\"kind\":20,\"name\":\"imports\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"ModuleDefinition\"},{\"kind\":2,\"typeName\":\"ClassType\"},{\"kind\":18,\"typeName\":\"ModuleInstance\",\"types\":[{\"kind\":20,\"name\":\"definition\",\"type\":{\"kind\":2,\"typeName\":\"ModuleDefinition\"},\"optional\":false}]}],\"typeName\":\"ModuleLike\"}},{\"kind\":4}]},\"optional\":true},{\"$tsfNode\":4},{\"$tsfNode\":5},{\"$tsfNode\":6},{\"$tsfNode\":7},{\"$tsfNode\":8}],\"typeParameters\":[\"C\"]},{\"kind\":2,\"typeName\":\"ClassType\"},{\"kind\":18,\"typeName\":\"ModuleInstance\",\"types\":[{\"kind\":20,\"name\":\"definition\",\"type\":{\"kind\":18,\"typeName\":\"ModuleDefinition\",\"types\":[{\"$tsfNode\":2},{\"$tsfNode\":3},{\"kind\":20,\"name\":\"imports\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"ModuleDefinition\"},{\"kind\":2,\"typeName\":\"ClassType\"},{\"kind\":2,\"typeName\":\"ModuleInstance\"}],\"typeName\":\"ModuleLike\"}},{\"kind\":4}]},\"optional\":true},{\"$tsfNode\":4},{\"$tsfNode\":5},{\"$tsfNode\":6},{\"$tsfNode\":7},{\"$tsfNode\":8}],\"typeParameters\":[\"C\"]},\"optional\":false}]}],\"typeName\":\"ModuleLike\"}},{\"kind\":4}]},\"optional\":true},{\"$tsfNode\":4},{\"$tsfNode\":5},{\"$tsfNode\":6},{\"$tsfNode\":7},{\"$tsfNode\":8},{\"$tsfNode\":2},{\"$tsfNode\":3},{\"kind\":20,\"name\":\"envPassthrough\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"$tsfNode\":9}},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"db\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"ClassType\"},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"frameworkConfig\",\"type\":{\"$tsfNode\":10},\"optional\":true},{\"kind\":20,\"name\":\"serverConfig\",\"type\":{\"$tsfNode\":10},\"optional\":true},{\"kind\":20,\"name\":\"cors\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"HttpCorsConfig\",\"typeArguments\":[{\"kind\":2,\"typeName\":\"C\"}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"staticFiles\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":18,\"typeName\":\"StaticFilesOptions\",\"types\":[{\"kind\":20,\"name\":\"directory\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"index\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"spaFallback\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":10,\"literal\":false}]},{\"kind\":4}]},\"optional\":true}]}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"requestLogging\",\"type\":{\"kind\":12,\"types\":[{\"kind\":18,\"typeName\":\"HttpRequestLoggingOptions\",\"types\":[{\"kind\":20,\"name\":\"excludePaths\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"$tsfNode\":9}]}},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"redactQueryKeys\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":14,\"type\":{\"kind\":6}}],\"typeName\":\"RedactQueryKeys\"},{\"kind\":4}]},\"optional\":true}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"httpResolvers\",\"type\":{\"kind\":12,\"types\":[{\"kind\":18,\"typeName\":\"Record\",\"utilityType\":\"Record\",\"typeArguments\":[{\"kind\":6},{\"kind\":2,\"typeName\":\"RouteParameterResolverInput\"}],\"index\":{\"kind\":2,\"typeName\":\"RouteParameterResolverInput\"},\"types\":[],\"typeName\":\"RouteParameterResolverRegistry\"},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"fallbackController\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"new (...args: any[]) =\\u003e HttpFallbackController\",\"typeName\":\"ClassType\"},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"enableHealthcheck\",\"type\":{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"enableWorker\",\"type\":{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"enableDkRpc\",\"type\":{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":4}]},\"optional\":true}]},\"optional\":false,\"default\":false}]},[{\"kind\":16,\"typeName\":\"Container\",\"classType\":{\"$tsfImport\":[1,\"../di/index\",\"Container\"]}},{\"kind\":16,\"typeName\":\"HttpResponse\",\"classType\":{\"$tsfImport\":[1,\"../http/index\",\"HttpResponse\"]}},{\"kind\":20,\"name\":\"config\",\"type\":{\"$tsfNode\":11},\"optional\":true},{\"kind\":20,\"name\":\"defaultConfig\",\"type\":{\"$tsfNode\":12},\"optional\":true},{\"kind\":20,\"name\":\"exports\",\"type\":{\"$tsfNode\":13},\"optional\":true},{\"kind\":20,\"name\":\"providers\",\"type\":{\"$tsfNode\":14},\"optional\":true},{\"kind\":20,\"name\":\"controllers\",\"type\":{\"$tsfNode\":15},\"optional\":true},{\"kind\":20,\"name\":\"listeners\",\"type\":{\"$tsfNode\":15},\"optional\":true},{\"kind\":20,\"name\":\"commands\",\"type\":{\"$tsfNode\":15},\"optional\":true},{\"kind\":16,\"typeName\":\"RegExp\",\"classType\":{\"$tsf\":3}},{\"kind\":12,\"types\":{\"$tsfNode\":16}},{\"kind\":12,\"types\":{\"$tsfNode\":17}},{\"kind\":12,\"types\":{\"$tsfNode\":18}},{\"kind\":12,\"types\":{\"$tsfNode\":19}},{\"kind\":12,\"types\":{\"$tsfNode\":20}},{\"kind\":12,\"types\":{\"$tsfNode\":21}},[{\"$tsfNode\":22},{\"kind\":4}],[{\"$tsfNode\":23},{\"kind\":4}],[{\"$tsfNode\":24},{\"kind\":4}],[{\"kind\":14,\"type\":{\"kind\":2,\"typeName\":\"Token\"}},{\"kind\":4}],[{\"kind\":14,\"type\":{\"kind\":2,\"typeName\":\"Provider\"}},{\"kind\":4}],[{\"kind\":14,\"type\":{\"kind\":2,\"typeName\":\"ClassType\"}},{\"kind\":4}],{\"kind\":18,\"typeName\":\"Record\",\"utilityType\":\"Record\",\"typeArguments\":[{\"kind\":6},{\"kind\":2}],\"index\":{\"kind\":2},\"types\":[]},{\"kind\":2,\"typeName\":\"new (...args: any[]) =\\u003e C\",\"typeName\":\"ClassType\"},{\"kind\":18,\"typeName\":\"Partial\",\"utilityType\":\"Partial\",\"typeArguments\":[{\"kind\":2,\"typeName\":\"C\"}],\"utilityKeys\":[],\"types\":[]}]]", [() => App, require, () => (typeof TEvent !== "undefined" ? TEvent : (typeof exports !== "undefined" ? exports.TEvent : undefined)), () => (typeof RegExp !== "undefined" ? RegExp : (typeof exports !== "undefined" ? exports.RegExp : undefined))], __tsf_metadata_type);
608
608
  }
609
609
  exports.App = App;
610
610
  _AppMetadata_1.classType = App;
@@ -734,5 +734,5 @@ function assertCommandClasses(commands) {
734
734
  function getClassName(classType) {
735
735
  return typeof classType === 'function' && classType.name ? classType.name : '<anonymous>';
736
736
  }
737
- exports.__tsfTypeAliases = _a.decodeCompactMetadataV2("[2,{\"AppCleanup\":{\"kind\":2,\"typeName\":\"() =\\u003e void | Promise\\u003cvoid\\u003e\",\"typeName\":\"AppCleanup\"},\"CreateAppOptions\":{\"kind\":18,\"typeName\":\"CreateAppOptions\",\"types\":[{\"$tsfNode\":0},{\"$tsfNode\":1},{\"kind\":20,\"name\":\"imports\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"kind\":12,\"types\":[{\"kind\":18,\"typeName\":\"ModuleDefinition\",\"types\":[{\"$tsfNode\":0},{\"$tsfNode\":1},{\"kind\":20,\"name\":\"imports\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"ModuleDefinition\"},{\"kind\":2,\"typeName\":\"ClassType\"},{\"kind\":18,\"typeName\":\"ModuleInstance\",\"types\":[{\"kind\":20,\"name\":\"definition\",\"type\":{\"kind\":2,\"typeName\":\"ModuleDefinition\"},\"optional\":false}]}],\"typeName\":\"ModuleLike\"}},{\"kind\":4}]},\"optional\":true},{\"$tsfNode\":2},{\"$tsfNode\":3},{\"$tsfNode\":4},{\"$tsfNode\":5},{\"$tsfNode\":6}],\"typeParameters\":[\"C\"]},{\"kind\":2,\"typeName\":\"ClassType\"},{\"kind\":18,\"typeName\":\"ModuleInstance\",\"types\":[{\"kind\":20,\"name\":\"definition\",\"type\":{\"kind\":18,\"typeName\":\"ModuleDefinition\",\"types\":[{\"$tsfNode\":0},{\"$tsfNode\":1},{\"kind\":20,\"name\":\"imports\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"ModuleDefinition\"},{\"kind\":2,\"typeName\":\"ClassType\"},{\"kind\":2,\"typeName\":\"ModuleInstance\"}],\"typeName\":\"ModuleLike\"}},{\"kind\":4}]},\"optional\":true},{\"$tsfNode\":2},{\"$tsfNode\":3},{\"$tsfNode\":4},{\"$tsfNode\":5},{\"$tsfNode\":6}],\"typeParameters\":[\"C\"]},\"optional\":false}]}],\"typeName\":\"ModuleLike\"}},{\"kind\":4}]},\"optional\":true},{\"$tsfNode\":2},{\"$tsfNode\":3},{\"$tsfNode\":4},{\"$tsfNode\":5},{\"$tsfNode\":6},{\"$tsfNode\":0},{\"$tsfNode\":1},{\"kind\":20,\"name\":\"envPassthrough\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"$tsfNode\":7}},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"db\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"ClassType\"},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"frameworkConfig\",\"type\":{\"$tsfNode\":8},\"optional\":true},{\"kind\":20,\"name\":\"serverConfig\",\"type\":{\"$tsfNode\":8},\"optional\":true},{\"kind\":20,\"name\":\"cors\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"HttpCorsConfig\",\"typeArguments\":[{\"kind\":2,\"typeName\":\"C\"}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"staticFiles\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":18,\"typeName\":\"StaticFilesOptions\",\"types\":[{\"kind\":20,\"name\":\"directory\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"index\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"spaFallback\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":10,\"literal\":false}]},{\"kind\":4}]},\"optional\":true}]}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"requestLogging\",\"type\":{\"kind\":12,\"types\":[{\"kind\":18,\"typeName\":\"HttpRequestLoggingOptions\",\"types\":[{\"kind\":20,\"name\":\"excludePaths\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"$tsfNode\":7}]}},{\"kind\":4}]},\"optional\":true}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"httpResolvers\",\"type\":{\"kind\":12,\"types\":[{\"kind\":18,\"typeName\":\"Record\",\"utilityType\":\"Record\",\"typeArguments\":[{\"kind\":6},{\"kind\":2,\"typeName\":\"RouteParameterResolverInput\"}],\"index\":{\"kind\":2,\"typeName\":\"RouteParameterResolverInput\"},\"types\":[],\"typeName\":\"RouteParameterResolverRegistry\"},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"fallbackController\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"new (...args: any[]) =\\u003e HttpFallbackController\",\"typeName\":\"ClassType\"},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"enableHealthcheck\",\"type\":{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"enableWorker\",\"type\":{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"enableDkRpc\",\"type\":{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":4}]},\"optional\":true}],\"typeParameters\":[\"C\"]}},[{\"kind\":20,\"name\":\"config\",\"type\":{\"$tsfNode\":9},\"optional\":true},{\"kind\":20,\"name\":\"defaultConfig\",\"type\":{\"$tsfNode\":10},\"optional\":true},{\"kind\":20,\"name\":\"exports\",\"type\":{\"$tsfNode\":11},\"optional\":true},{\"kind\":20,\"name\":\"providers\",\"type\":{\"$tsfNode\":12},\"optional\":true},{\"kind\":20,\"name\":\"controllers\",\"type\":{\"$tsfNode\":13},\"optional\":true},{\"kind\":20,\"name\":\"listeners\",\"type\":{\"$tsfNode\":13},\"optional\":true},{\"kind\":20,\"name\":\"commands\",\"type\":{\"$tsfNode\":13},\"optional\":true},{\"kind\":16,\"typeName\":\"RegExp\",\"classType\":{\"$tsf\":0}},{\"kind\":12,\"types\":{\"$tsfNode\":14}},{\"kind\":12,\"types\":{\"$tsfNode\":15}},{\"kind\":12,\"types\":{\"$tsfNode\":16}},{\"kind\":12,\"types\":{\"$tsfNode\":17}},{\"kind\":12,\"types\":{\"$tsfNode\":18}},{\"kind\":12,\"types\":{\"$tsfNode\":19}},[{\"$tsfNode\":20},{\"kind\":4}],[{\"$tsfNode\":21},{\"kind\":4}],[{\"$tsfNode\":22},{\"kind\":4}],[{\"kind\":14,\"type\":{\"kind\":2,\"typeName\":\"Token\"}},{\"kind\":4}],[{\"kind\":14,\"type\":{\"kind\":2,\"typeName\":\"Provider\"}},{\"kind\":4}],[{\"kind\":14,\"type\":{\"kind\":2,\"typeName\":\"ClassType\"}},{\"kind\":4}],{\"kind\":18,\"typeName\":\"Record\",\"utilityType\":\"Record\",\"typeArguments\":[{\"kind\":6},{\"kind\":2}],\"index\":{\"kind\":2},\"types\":[]},{\"kind\":2,\"typeName\":\"new (...args: any[]) =\\u003e C\",\"typeName\":\"ClassType\"},{\"kind\":18,\"typeName\":\"Partial\",\"utilityType\":\"Partial\",\"typeArguments\":[{\"kind\":2,\"typeName\":\"C\"}],\"utilityKeys\":[],\"types\":[]}]]", [() => (typeof RegExp !== "undefined" ? RegExp : (typeof exports !== "undefined" ? exports.RegExp : undefined))], __tsf_metadata_type);
737
+ exports.__tsfTypeAliases = _a.decodeCompactMetadataV2("[2,{\"AppCleanup\":{\"kind\":2,\"typeName\":\"() =\\u003e void | Promise\\u003cvoid\\u003e\",\"typeName\":\"AppCleanup\"},\"CreateAppOptions\":{\"kind\":18,\"typeName\":\"CreateAppOptions\",\"types\":[{\"$tsfNode\":0},{\"$tsfNode\":1},{\"kind\":20,\"name\":\"imports\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"kind\":12,\"types\":[{\"kind\":18,\"typeName\":\"ModuleDefinition\",\"types\":[{\"$tsfNode\":0},{\"$tsfNode\":1},{\"kind\":20,\"name\":\"imports\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"ModuleDefinition\"},{\"kind\":2,\"typeName\":\"ClassType\"},{\"kind\":18,\"typeName\":\"ModuleInstance\",\"types\":[{\"kind\":20,\"name\":\"definition\",\"type\":{\"kind\":2,\"typeName\":\"ModuleDefinition\"},\"optional\":false}]}],\"typeName\":\"ModuleLike\"}},{\"kind\":4}]},\"optional\":true},{\"$tsfNode\":2},{\"$tsfNode\":3},{\"$tsfNode\":4},{\"$tsfNode\":5},{\"$tsfNode\":6}],\"typeParameters\":[\"C\"]},{\"kind\":2,\"typeName\":\"ClassType\"},{\"kind\":18,\"typeName\":\"ModuleInstance\",\"types\":[{\"kind\":20,\"name\":\"definition\",\"type\":{\"kind\":18,\"typeName\":\"ModuleDefinition\",\"types\":[{\"$tsfNode\":0},{\"$tsfNode\":1},{\"kind\":20,\"name\":\"imports\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"ModuleDefinition\"},{\"kind\":2,\"typeName\":\"ClassType\"},{\"kind\":2,\"typeName\":\"ModuleInstance\"}],\"typeName\":\"ModuleLike\"}},{\"kind\":4}]},\"optional\":true},{\"$tsfNode\":2},{\"$tsfNode\":3},{\"$tsfNode\":4},{\"$tsfNode\":5},{\"$tsfNode\":6}],\"typeParameters\":[\"C\"]},\"optional\":false}]}],\"typeName\":\"ModuleLike\"}},{\"kind\":4}]},\"optional\":true},{\"$tsfNode\":2},{\"$tsfNode\":3},{\"$tsfNode\":4},{\"$tsfNode\":5},{\"$tsfNode\":6},{\"$tsfNode\":0},{\"$tsfNode\":1},{\"kind\":20,\"name\":\"envPassthrough\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"$tsfNode\":7}},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"db\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"ClassType\"},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"frameworkConfig\",\"type\":{\"$tsfNode\":8},\"optional\":true},{\"kind\":20,\"name\":\"serverConfig\",\"type\":{\"$tsfNode\":8},\"optional\":true},{\"kind\":20,\"name\":\"cors\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"HttpCorsConfig\",\"typeArguments\":[{\"kind\":2,\"typeName\":\"C\"}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"staticFiles\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":18,\"typeName\":\"StaticFilesOptions\",\"types\":[{\"kind\":20,\"name\":\"directory\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"index\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"spaFallback\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":10,\"literal\":false}]},{\"kind\":4}]},\"optional\":true}]}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"requestLogging\",\"type\":{\"kind\":12,\"types\":[{\"kind\":18,\"typeName\":\"HttpRequestLoggingOptions\",\"types\":[{\"kind\":20,\"name\":\"excludePaths\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"$tsfNode\":7}]}},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"redactQueryKeys\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":14,\"type\":{\"kind\":6}}],\"typeName\":\"RedactQueryKeys\"},{\"kind\":4}]},\"optional\":true}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"httpResolvers\",\"type\":{\"kind\":12,\"types\":[{\"kind\":18,\"typeName\":\"Record\",\"utilityType\":\"Record\",\"typeArguments\":[{\"kind\":6},{\"kind\":2,\"typeName\":\"RouteParameterResolverInput\"}],\"index\":{\"kind\":2,\"typeName\":\"RouteParameterResolverInput\"},\"types\":[],\"typeName\":\"RouteParameterResolverRegistry\"},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"fallbackController\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"new (...args: any[]) =\\u003e HttpFallbackController\",\"typeName\":\"ClassType\"},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"enableHealthcheck\",\"type\":{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"enableWorker\",\"type\":{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"enableDkRpc\",\"type\":{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":4}]},\"optional\":true}],\"typeParameters\":[\"C\"]}},[{\"kind\":20,\"name\":\"config\",\"type\":{\"$tsfNode\":9},\"optional\":true},{\"kind\":20,\"name\":\"defaultConfig\",\"type\":{\"$tsfNode\":10},\"optional\":true},{\"kind\":20,\"name\":\"exports\",\"type\":{\"$tsfNode\":11},\"optional\":true},{\"kind\":20,\"name\":\"providers\",\"type\":{\"$tsfNode\":12},\"optional\":true},{\"kind\":20,\"name\":\"controllers\",\"type\":{\"$tsfNode\":13},\"optional\":true},{\"kind\":20,\"name\":\"listeners\",\"type\":{\"$tsfNode\":13},\"optional\":true},{\"kind\":20,\"name\":\"commands\",\"type\":{\"$tsfNode\":13},\"optional\":true},{\"kind\":16,\"typeName\":\"RegExp\",\"classType\":{\"$tsf\":0}},{\"kind\":12,\"types\":{\"$tsfNode\":14}},{\"kind\":12,\"types\":{\"$tsfNode\":15}},{\"kind\":12,\"types\":{\"$tsfNode\":16}},{\"kind\":12,\"types\":{\"$tsfNode\":17}},{\"kind\":12,\"types\":{\"$tsfNode\":18}},{\"kind\":12,\"types\":{\"$tsfNode\":19}},[{\"$tsfNode\":20},{\"kind\":4}],[{\"$tsfNode\":21},{\"kind\":4}],[{\"$tsfNode\":22},{\"kind\":4}],[{\"kind\":14,\"type\":{\"kind\":2,\"typeName\":\"Token\"}},{\"kind\":4}],[{\"kind\":14,\"type\":{\"kind\":2,\"typeName\":\"Provider\"}},{\"kind\":4}],[{\"kind\":14,\"type\":{\"kind\":2,\"typeName\":\"ClassType\"}},{\"kind\":4}],{\"kind\":18,\"typeName\":\"Record\",\"utilityType\":\"Record\",\"typeArguments\":[{\"kind\":6},{\"kind\":2}],\"index\":{\"kind\":2},\"types\":[]},{\"kind\":2,\"typeName\":\"new (...args: any[]) =\\u003e C\",\"typeName\":\"ClassType\"},{\"kind\":18,\"typeName\":\"Partial\",\"utilityType\":\"Partial\",\"typeArguments\":[{\"kind\":2,\"typeName\":\"C\"}],\"utilityKeys\":[],\"types\":[]}]]", [() => (typeof RegExp !== "undefined" ? RegExp : (typeof exports !== "undefined" ? exports.RegExp : undefined))], __tsf_metadata_type);
738
738
  //# sourceMappingURL=base.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/app/config.ts"],"names":[],"mappings":"AAGA,qBAAa,aAAa;IACtB,OAAO,EAAG,MAAM,CA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ER_PEERS = true;
54
+ REDIS_SENTINEL_DISCOVER_PEERS = false;
55
55
  REDIS_HOST;
56
56
  REDIS_PORT;
57
57
  REDIS_USERNAME;
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../src/app/config.ts"],"names":[],"mappings":";;;;;;AAAA,0DAA8E;AAC9E,mCAAsE;;;AAEtE;IACI,OAAO,CAAU;IACjB,kBAAkB,CAAW;IAC7B,IAAI,CAAU;IACd,UAAU,CAAwB;IAElC,UAAU,CAAU;IACpB,UAAU,CAAU;IACpB,UAAU,CAAU;IACpB,qBAAqB,CAAU;IAC/B,cAAc,CAAU;IACxB,sBAAsB,CAAU;IAChC,0BAA0B,CAAU;IACpC,0BAA0B,CAAU;IAEpC,OAAO,CAAU;IACjB,OAAO,CAAU;IACjB,OAAO,CAAU;IACjB,kBAAkB,CAAU;IAC5B,WAAW,CAAU;IACrB,SAAS,CAAU;IACnB,MAAM,CAAW;IACjB,0BAA0B,CAAW;IACrC,mBAAmB,CAAU;IAC7B,uBAAuB,CAAU;IAEjC,eAAe,CAAU;IACzB,wBAAwB,CAAU;IAClC,oBAAoB,CAAU;IAC9B,eAAe,CAAU;IACzB,mBAAmB,CAAU;IAC7B,kBAAkB,CAAU;IAC5B,sBAAsB,GAAY,IAAI,CAAC;IAEvC,iBAAiB,CAAU;IAE3B,aAAa,CAAU;IACvB,gBAAgB,GAAW,EAAE,CAAC;IAE9B,kBAAkB,CAAW;IAC7B,kBAAkB,CAAU;IAC5B,iBAAiB,CAAU;IAE3B,mBAAmB,CAAU;IAC7B,mBAAmB,CAAU;IAC7B,mBAAmB,CAAU;IAC7B,uBAAuB,CAAU;IACjC,8BAA8B,CAAU;IACxC,iCAAiC,GAAW,KAAK,CAAC;IAClD,iCAAiC,GAAW,KAAK,CAAC;IAClD,6BAA6B,GAAY,IAAI,CAAC;IAC9C,UAAU,CAAU;IACpB,UAAU,CAAU;IACpB,cAAc,CAAU;IACxB,qBAAqB,CAAU;IAC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MAAM,KAAK,GAAG,IAAI,MAAM,KAAK,MAAM;QAAE,OAAO,IAAI,CAAC;IACrD,OAAO,IAAA,gCAAwB,GAAE,IAAI,IAAA,yBAAiB,GAAE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC;AACpF,CAAC"}
@@ -48,7 +48,7 @@ function createRedisOptions(configPrefix) {
48
48
  sentinelCommandTimeout: Number(config.REDIS_SENTINEL_COMMAND_TIMEOUT_MS ?? 1_000),
49
49
  // An HA service already selects a live Sentinel. Importing
50
50
  // retired pod IPs bypasses that service on later reconnects.
51
- updateSentinels: Boolean(config.REDIS_SENTINEL_DISCOVER_PEERS ?? true),
51
+ updateSentinels: Boolean(config.REDIS_SENTINEL_DISCOVER_PEERS ?? false),
52
52
  failoverDetector: true,
53
53
  sentinelMaxConnections: 1,
54
54
  reconnectOnError: error => (error.message.startsWith('READONLY') ? 2 : false)
@@ -1 +1 @@
1
- {"version":3,"file":"redis.js","sourceRoot":"","sources":["../../../../src/helpers/redis/redis.ts"],"names":[],"mappings":";;;;;;;AAGA,iDAAkD;AAClD,qCAA0C;AAC1C,yCAAyD;AAEzD,uCAAgD;AAAvC,8GAAA,kBAAkB,OAAA;AAO3B,4BAAmC,YAAqB;IAIpD,MAAM,MAAM,GAAG,EAAE,GAAG,IAAA,uBAAY,GAAE,EAA6B,CAAC;IAEhE,IAAI,YAAY,EAAE,CAAC;QACf,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YACpC,IAAI,GAAG,CAAC,UAAU,CAAC,GAAG,YAAY,SAAS,CAAC,EAAE,CAAC;gBAC3C,IAAI,MAAM,CAAC,GAAG,CAAC,KAAK,SAAS;oBAAE,SAAS;gBACxC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;YACjE,CAAC;QACL,CAA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}
245
- static __tsfType = _HttpServerRuntimeMetadata_1 = _a.decodeCompactMetadataV2("[2,{\"kind\":16,\"name\":\"HttpServerRuntime\",\"typeName\":\"HttpServerRuntime\",\"classType\":{\"$tsf\":0},\"properties\":[],\"methods\":[{\"name\":\"request\",\"parameters\":[{\"name\":\"request\",\"type\":{\"kind\":16,\"typeName\":\"HttpRequest\",\"classType\":{\"$tsfImport\":[1,\"./request\",\"HttpRequest\"]}},\"optional\":false,\"default\":false},{\"name\":\"response\",\"type\":{\"$tsfNode\":0},\"optional\":true,\"default\":true}],\"returnType\":{\"kind\":22,\"type\":{\"$tsfNode\":0}}},{\"name\":\"listen\",\"parameters\":[{\"name\":\"port\",\"type\":{\"$tsfType\":0},\"optional\":true,\"default\":false},{\"name\":\"host\",\"type\":{\"$tsfType\":1},\"optional\":true,\"default\":false},{\"name\":\"hooks\",\"type\":{\"$tsfType\":2},\"optional\":true,\"default\":true}],\"returnType\":{\"kind\":22,\"type\":{\"$tsfAlias\":[1,\"node:http\",\"Server\",\"Server\"]}}},{\"name\":\"registerUpgradeHandler\",\"parameters\":[{\"name\":\"handler\",\"type\":{\"$tsfType\":3},\"optional\":false,\"default\":false}],\"returnType\":{\"$tsfType\":4}},{\"name\":\"registerObserver\",\"parameters\":[{\"name\":\"observer\",\"type\":{\"$tsfType\":5},\"optional\":false,\"default\":false},{\"name\":\"options\",\"type\":{\"$tsfType\":6},\"optional\":true,\"default\":true}],\"returnType\":{\"$tsfType\":4}},{\"name\":\"close\",\"parameters\":[],\"returnType\":{\"$tsfType\":7}},{\"name\":\"getPort\",\"parameters\":[{\"name\":\"explicitPort\",\"type\":{\"$tsfType\":0},\"optional\":true,\"default\":false}],\"returnType\":{\"$tsfType\":0}},{\"name\":\"getAddress\",\"parameters\":[],\"returnType\":{\"$tsfType\":8}}],\"hasConstructor\":true,\"constructorParameters\":[{\"name\":\"options\",\"type\":{\"kind\":18,\"typeName\":\"HttpServerRuntimeOptions\",\"types\":[{\"kind\":20,\"name\":\"config\",\"type\":{\"kind\":2,\"typeName\":\"C\"},\"optional\":false},{\"kind\":20,\"name\":\"router\",\"type\":{\"kind\":16,\"typeName\":\"HttpRouter\",\"classType\":{\"$tsfImport\":[1,\"./router\",\"HttpRouter\"]}},\"optional\":false},{\"kind\":20,\"name\":\"logger\",\"type\":{\"kind\":16,\"typeName\":\"ScopedLogger\",\"classType\":{\"$tsfImport\":[1,\"../services/index\",\"ScopedLogger\"]}},\"optional\":false},{\"kind\":20,\"name\":\"frameworkConfig\",\"type\":{\"$tsfNode\":1},\"optional\":true},{\"kind\":20,\"name\":\"serverConfig\",\"type\":{\"$tsfNode\":1},\"optional\":true},{\"kind\":20,\"name\":\"cors\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"HttpCorsConfig\",\"typeArguments\":[{\"kind\":2,\"typeName\":\"C\"}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"staticFiles\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":18,\"typeName\":\"StaticFilesOptions\",\"types\":[{\"kind\":20,\"name\":\"directory\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"index\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"spaFallback\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":10,\"literal\":false}]},{\"kind\":4}]},\"optional\":true}]}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"requestLogging\",\"type\":{\"kind\":12,\"types\":[{\"kind\":18,\"typeName\":\"HttpRequestLoggingOptions\",\"types\":[{\"kind\":20,\"name\":\"excludePaths\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":16,\"typeName\":\"RegExp\",\"classType\":{\"$tsf\":2}}]}},{\"kind\":4}]},\"optional\":true}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"packageName\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"devConsoleEnabled\",\"type\":{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"listenHooks\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"HttpServerListenHooks | (() =\\u003e HttpServerListenHooks)\"},{\"kind\":4}]},\"optional\":true}]},\"optional\":false,\"default\":false}]},[{\"kind\":16,\"typeName\":\"HttpResponse\",\"classType\":{\"$tsfImport\":[1,\"./response\",\"HttpResponse\"]}},{\"kind\":12,\"types\":{\"$tsfNode\":2}},[{\"$tsfNode\":3},{\"kind\":4}],{\"kind\":18,\"typeName\":\"Record\",\"utilityType\":\"Record\",\"typeArguments\":[{\"kind\":6},{\"kind\":2}],\"index\":{\"kind\":2},\"types\":[]}]]", [() => HttpServerRuntime, require, () => (typeof RegExp !== "undefined" ? RegExp : (typeof exports !== "undefined" ? exports.RegExp : undefined))], __tsf_metadata_type);
245
+ static __tsfType = _HttpServerRuntimeMetadata_1 = _a.decodeCompactMetadataV2("[2,{\"kind\":16,\"name\":\"HttpServerRuntime\",\"typeName\":\"HttpServerRuntime\",\"classType\":{\"$tsf\":0},\"properties\":[],\"methods\":[{\"name\":\"request\",\"parameters\":[{\"name\":\"request\",\"type\":{\"kind\":16,\"typeName\":\"HttpRequest\",\"classType\":{\"$tsfImport\":[1,\"./request\",\"HttpRequest\"]}},\"optional\":false,\"default\":false},{\"name\":\"response\",\"type\":{\"$tsfNode\":0},\"optional\":true,\"default\":true}],\"returnType\":{\"kind\":22,\"type\":{\"$tsfNode\":0}}},{\"name\":\"listen\",\"parameters\":[{\"name\":\"port\",\"type\":{\"$tsfType\":0},\"optional\":true,\"default\":false},{\"name\":\"host\",\"type\":{\"$tsfType\":1},\"optional\":true,\"default\":false},{\"name\":\"hooks\",\"type\":{\"$tsfType\":2},\"optional\":true,\"default\":true}],\"returnType\":{\"kind\":22,\"type\":{\"$tsfAlias\":[1,\"node:http\",\"Server\",\"Server\"]}}},{\"name\":\"registerUpgradeHandler\",\"parameters\":[{\"name\":\"handler\",\"type\":{\"$tsfType\":3},\"optional\":false,\"default\":false}],\"returnType\":{\"$tsfType\":4}},{\"name\":\"registerObserver\",\"parameters\":[{\"name\":\"observer\",\"type\":{\"$tsfType\":5},\"optional\":false,\"default\":false},{\"name\":\"options\",\"type\":{\"$tsfType\":6},\"optional\":true,\"default\":true}],\"returnType\":{\"$tsfType\":4}},{\"name\":\"close\",\"parameters\":[],\"returnType\":{\"$tsfType\":7}},{\"name\":\"getPort\",\"parameters\":[{\"name\":\"explicitPort\",\"type\":{\"$tsfType\":0},\"optional\":true,\"default\":false}],\"returnType\":{\"$tsfType\":0}},{\"name\":\"getAddress\",\"parameters\":[],\"returnType\":{\"$tsfType\":8}}],\"hasConstructor\":true,\"constructorParameters\":[{\"name\":\"options\",\"type\":{\"kind\":18,\"typeName\":\"HttpServerRuntimeOptions\",\"types\":[{\"kind\":20,\"name\":\"config\",\"type\":{\"kind\":2,\"typeName\":\"C\"},\"optional\":false},{\"kind\":20,\"name\":\"router\",\"type\":{\"kind\":16,\"typeName\":\"HttpRouter\",\"classType\":{\"$tsfImport\":[1,\"./router\",\"HttpRouter\"]}},\"optional\":false},{\"kind\":20,\"name\":\"logger\",\"type\":{\"kind\":16,\"typeName\":\"ScopedLogger\",\"classType\":{\"$tsfImport\":[1,\"../services/index\",\"ScopedLogger\"]}},\"optional\":false},{\"kind\":20,\"name\":\"frameworkConfig\",\"type\":{\"$tsfNode\":1},\"optional\":true},{\"kind\":20,\"name\":\"serverConfig\",\"type\":{\"$tsfNode\":1},\"optional\":true},{\"kind\":20,\"name\":\"cors\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"HttpCorsConfig\",\"typeArguments\":[{\"kind\":2,\"typeName\":\"C\"}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"staticFiles\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":18,\"typeName\":\"StaticFilesOptions\",\"types\":[{\"kind\":20,\"name\":\"directory\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"index\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"spaFallback\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":10,\"literal\":false}]},{\"kind\":4}]},\"optional\":true}]}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"requestLogging\",\"type\":{\"kind\":12,\"types\":[{\"kind\":18,\"typeName\":\"HttpRequestLoggingOptions\",\"types\":[{\"kind\":20,\"name\":\"excludePaths\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":16,\"typeName\":\"RegExp\",\"classType\":{\"$tsf\":2}}]}},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"redactQueryKeys\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":14,\"type\":{\"kind\":6}}],\"typeName\":\"RedactQueryKeys\"},{\"kind\":4}]},\"optional\":true}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"packageName\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"devConsoleEnabled\",\"type\":{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"listenHooks\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"HttpServerListenHooks | (() =\\u003e HttpServerListenHooks)\"},{\"kind\":4}]},\"optional\":true}]},\"optional\":false,\"default\":false}]},[{\"kind\":16,\"typeName\":\"HttpResponse\",\"classType\":{\"$tsfImport\":[1,\"./response\",\"HttpResponse\"]}},{\"kind\":12,\"types\":{\"$tsfNode\":2}},[{\"$tsfNode\":3},{\"kind\":4}],{\"kind\":18,\"typeName\":\"Record\",\"utilityType\":\"Record\",\"typeArguments\":[{\"kind\":6},{\"kind\":2}],\"index\":{\"kind\":2},\"types\":[]}]]", [() => HttpServerRuntime, require, () => (typeof RegExp !== "undefined" ? RegExp : (typeof exports !== "undefined" ? exports.RegExp : undefined))], __tsf_metadata_type);
246
246
  }
247
247
  exports.HttpServerRuntime = HttpServerRuntime;
248
248
  _HttpServerRuntimeMetadata_1.classType = HttpServerRuntime;
@@ -442,5 +442,5 @@ HttpTlsContextWatcher.__tsfType = _HttpTlsContextWatcherMetadata_1;
442
442
  function didTlsFileChange(current, previous) {
443
443
  return (current.ctimeMs !== previous.ctimeMs || current.ino !== previous.ino || current.mtimeMs !== previous.mtimeMs || current.size !== previous.size);
444
444
  }
445
- exports.__tsfTypeAliases = _a.decodeCompactMetadataV2("[2,{\"HttpRequestObservation\":{\"kind\":18,\"typeName\":\"HttpRequestObservation\",\"types\":[{\"kind\":20,\"name\":\"request\",\"type\":{\"kind\":16,\"typeName\":\"HttpRequest\",\"classType\":{\"$tsfImport\":[0,\"./request\",\"HttpRequest\"]}},\"optional\":false},{\"kind\":20,\"name\":\"response\",\"type\":{\"kind\":16,\"typeName\":\"HttpResponse\",\"classType\":{\"$tsfImport\":[0,\"./response\",\"HttpResponse\"]}},\"optional\":false},{\"kind\":20,\"name\":\"startedAt\",\"type\":{\"kind\":7},\"optional\":false},{\"kind\":20,\"name\":\"durationMs\",\"type\":{\"kind\":7},\"optional\":false},{\"kind\":20,\"name\":\"error\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2},{\"kind\":4}]},\"optional\":true}]},\"HttpRequestObserver\":{\"kind\":2,\"typeName\":\"(entry: HttpRequestObservation) =\\u003e void\",\"typeName\":\"HttpRequestObserver\"},\"HttpRequestObserverOptions\":{\"kind\":18,\"typeName\":\"HttpRequestObserverOptions\",\"types\":[{\"kind\":20,\"name\":\"captureRequestBodyBytes\",\"type\":{\"kind\":12,\"types\":[{\"kind\":7},{\"kind\":4}]},\"optional\":true}]},\"HttpServerListenHooks\":{\"$tsfNode\":0},\"HttpServerRuntimeOptions\":{\"kind\":18,\"typeName\":\"HttpServerRuntimeOptions\",\"types\":[{\"kind\":20,\"name\":\"config\",\"type\":{\"kind\":2,\"typeName\":\"C\"},\"optional\":false},{\"kind\":20,\"name\":\"router\",\"type\":{\"kind\":16,\"typeName\":\"HttpRouter\",\"classType\":{\"$tsfImport\":[0,\"./router\",\"HttpRouter\"]}},\"optional\":false},{\"kind\":20,\"name\":\"logger\",\"type\":{\"kind\":16,\"typeName\":\"ScopedLogger\",\"classType\":{\"$tsfImport\":[0,\"../services/index\",\"ScopedLogger\"]}},\"optional\":false},{\"kind\":20,\"name\":\"frameworkConfig\",\"type\":{\"$tsfNode\":1},\"optional\":true},{\"kind\":20,\"name\":\"serverConfig\",\"type\":{\"$tsfNode\":1},\"optional\":true},{\"kind\":20,\"name\":\"cors\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"HttpCorsConfig\",\"typeArguments\":[{\"kind\":2,\"typeName\":\"C\"}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"staticFiles\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":18,\"typeName\":\"StaticFilesOptions\",\"types\":[{\"kind\":20,\"name\":\"directory\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"index\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"spaFallback\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":10,\"literal\":false}]},{\"kind\":4}]},\"optional\":true}]}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"requestLogging\",\"type\":{\"kind\":12,\"types\":[{\"kind\":18,\"typeName\":\"HttpRequestLoggingOptions\",\"types\":[{\"kind\":20,\"name\":\"excludePaths\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":16,\"typeName\":\"RegExp\",\"classType\":{\"$tsf\":1}}]}},{\"kind\":4}]},\"optional\":true}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"packageName\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"devConsoleEnabled\",\"type\":{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"listenHooks\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"$tsfNode\":0},{\"kind\":2,\"typeName\":\"() =\\u003e HttpServerListenHooks\"}]},{\"kind\":4}]},\"optional\":true}],\"typeParameters\":[\"C\"]}},[{\"kind\":18,\"typeName\":\"HttpServerListenHooks\",\"types\":{\"$tsfNode\":2}},{\"kind\":12,\"types\":{\"$tsfNode\":3}},[{\"$tsfNode\":4},{\"$tsfNode\":5},{\"$tsfNode\":6}],[{\"$tsfNode\":7},{\"kind\":4}],{\"kind\":20,\"name\":\"start\",\"type\":{\"$tsfNode\":8},\"optional\":true},{\"kind\":20,\"name\":\"afterListen\",\"type\":{\"$tsfNode\":9},\"optional\":true},{\"kind\":20,\"name\":\"onListenError\",\"type\":{\"$tsfNode\":10},\"optional\":true},{\"kind\":18,\"typeName\":\"Record\",\"utilityType\":\"Record\",\"typeArguments\":[{\"kind\":6},{\"kind\":2}],\"index\":{\"kind\":2},\"types\":[]},{\"kind\":12,\"types\":{\"$tsfNode\":11}},{\"kind\":12,\"types\":{\"$tsfNode\":12}},{\"kind\":12,\"types\":{\"$tsfNode\":13}},[{\"kind\":2,\"typeName\":\"() =\\u003e Promise\\u003cvoid\\u003e\"},{\"kind\":4}],[{\"$tsfNode\":14},{\"kind\":4}],[{\"$tsfNode\":15},{\"kind\":4}],{\"kind\":2,\"typeName\":\"(server: Server) =\\u003e Promise\\u003cvoid\\u003e\"},{\"kind\":2,\"typeName\":\"(error: unknown) =\\u003e Promise\\u003cvoid\\u003e\"}]]", [require, () => (typeof RegExp !== "undefined" ? RegExp : (typeof exports !== "undefined" ? exports.RegExp : undefined))], __tsf_metadata_type);
445
+ exports.__tsfTypeAliases = _a.decodeCompactMetadataV2("[2,{\"HttpRequestObservation\":{\"kind\":18,\"typeName\":\"HttpRequestObservation\",\"types\":[{\"kind\":20,\"name\":\"request\",\"type\":{\"kind\":16,\"typeName\":\"HttpRequest\",\"classType\":{\"$tsfImport\":[0,\"./request\",\"HttpRequest\"]}},\"optional\":false},{\"kind\":20,\"name\":\"response\",\"type\":{\"kind\":16,\"typeName\":\"HttpResponse\",\"classType\":{\"$tsfImport\":[0,\"./response\",\"HttpResponse\"]}},\"optional\":false},{\"kind\":20,\"name\":\"startedAt\",\"type\":{\"kind\":7},\"optional\":false},{\"kind\":20,\"name\":\"durationMs\",\"type\":{\"kind\":7},\"optional\":false},{\"kind\":20,\"name\":\"error\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2},{\"kind\":4}]},\"optional\":true}]},\"HttpRequestObserver\":{\"kind\":2,\"typeName\":\"(entry: HttpRequestObservation) =\\u003e void\",\"typeName\":\"HttpRequestObserver\"},\"HttpRequestObserverOptions\":{\"kind\":18,\"typeName\":\"HttpRequestObserverOptions\",\"types\":[{\"kind\":20,\"name\":\"captureRequestBodyBytes\",\"type\":{\"kind\":12,\"types\":[{\"kind\":7},{\"kind\":4}]},\"optional\":true}]},\"HttpServerListenHooks\":{\"$tsfNode\":0},\"HttpServerRuntimeOptions\":{\"kind\":18,\"typeName\":\"HttpServerRuntimeOptions\",\"types\":[{\"kind\":20,\"name\":\"config\",\"type\":{\"kind\":2,\"typeName\":\"C\"},\"optional\":false},{\"kind\":20,\"name\":\"router\",\"type\":{\"kind\":16,\"typeName\":\"HttpRouter\",\"classType\":{\"$tsfImport\":[0,\"./router\",\"HttpRouter\"]}},\"optional\":false},{\"kind\":20,\"name\":\"logger\",\"type\":{\"kind\":16,\"typeName\":\"ScopedLogger\",\"classType\":{\"$tsfImport\":[0,\"../services/index\",\"ScopedLogger\"]}},\"optional\":false},{\"kind\":20,\"name\":\"frameworkConfig\",\"type\":{\"$tsfNode\":1},\"optional\":true},{\"kind\":20,\"name\":\"serverConfig\",\"type\":{\"$tsfNode\":1},\"optional\":true},{\"kind\":20,\"name\":\"cors\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"HttpCorsConfig\",\"typeArguments\":[{\"kind\":2,\"typeName\":\"C\"}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"staticFiles\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":18,\"typeName\":\"StaticFilesOptions\",\"types\":[{\"kind\":20,\"name\":\"directory\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"index\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"spaFallback\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":10,\"literal\":false}]},{\"kind\":4}]},\"optional\":true}]}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"requestLogging\",\"type\":{\"kind\":12,\"types\":[{\"kind\":18,\"typeName\":\"HttpRequestLoggingOptions\",\"types\":[{\"kind\":20,\"name\":\"excludePaths\",\"type\":{\"kind\":12,\"types\":[{\"kind\":14,\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":16,\"typeName\":\"RegExp\",\"classType\":{\"$tsf\":1}}]}},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"redactQueryKeys\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":14,\"type\":{\"kind\":6}}],\"typeName\":\"RedactQueryKeys\"},{\"kind\":4}]},\"optional\":true}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"packageName\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"devConsoleEnabled\",\"type\":{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"listenHooks\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"$tsfNode\":0},{\"kind\":2,\"typeName\":\"() =\\u003e HttpServerListenHooks\"}]},{\"kind\":4}]},\"optional\":true}],\"typeParameters\":[\"C\"]}},[{\"kind\":18,\"typeName\":\"HttpServerListenHooks\",\"types\":{\"$tsfNode\":2}},{\"kind\":12,\"types\":{\"$tsfNode\":3}},[{\"$tsfNode\":4},{\"$tsfNode\":5},{\"$tsfNode\":6}],[{\"$tsfNode\":7},{\"kind\":4}],{\"kind\":20,\"name\":\"start\",\"type\":{\"$tsfNode\":8},\"optional\":true},{\"kind\":20,\"name\":\"afterListen\",\"type\":{\"$tsfNode\":9},\"optional\":true},{\"kind\":20,\"name\":\"onListenError\",\"type\":{\"$tsfNode\":10},\"optional\":true},{\"kind\":18,\"typeName\":\"Record\",\"utilityType\":\"Record\",\"typeArguments\":[{\"kind\":6},{\"kind\":2}],\"index\":{\"kind\":2},\"types\":[]},{\"kind\":12,\"types\":{\"$tsfNode\":11}},{\"kind\":12,\"types\":{\"$tsfNode\":12}},{\"kind\":12,\"types\":{\"$tsfNode\":13}},[{\"kind\":2,\"typeName\":\"() =\\u003e Promise\\u003cvoid\\u003e\"},{\"kind\":4}],[{\"$tsfNode\":14},{\"kind\":4}],[{\"$tsfNode\":15},{\"kind\":4}],{\"kind\":2,\"typeName\":\"(server: Server) =\\u003e Promise\\u003cvoid\\u003e\"},{\"kind\":2,\"typeName\":\"(error: unknown) =\\u003e Promise\\u003cvoid\\u003e\"}]]", [require, () => (typeof RegExp !== "undefined" ? RegExp : (typeof exports !== "undefined" ? exports.RegExp : undefined))], __tsf_metadata_type);
446
446
  //# sourceMappingURL=base.js.map
@@ -13,6 +13,8 @@ export * from './base';
13
13
  export * from './context';
14
14
  export * from './uploads';
15
15
  export * from './request-logging';
16
+ export * from './query-redaction';
17
+ export * from './payload-redaction';
16
18
  export * from './parameter-resolvers';
17
19
  export * from './startup-logging';
18
20
  export * from './static-files';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAE3B,eAAO,MAAM,UAAU;IAAK,EAAE;CAAQ,CAAC;AACvC,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC;IAAE,EAAE,EAAE,IAAI,CAAA;CAAE,CAAC,CAAC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AM,cAAc,GAAG,WAAW,CAAC"}
@@ -17,11 +17,13 @@ tslib_1.__exportStar(require("./base"), exports);
17
17
  tslib_1.__exportStar(require("./context"), exports);
18
18
  tslib_1.__exportStar(require("./uploads"), exports);
19
19
  tslib_1.__exportStar(require("./request-logging"), exports);
20
+ tslib_1.__exportStar(require("./query-redaction"), exports);
21
+ tslib_1.__exportStar(require("./payload-redaction"), exports);
20
22
  tslib_1.__exportStar(require("./parameter-resolvers"), exports);
21
23
  tslib_1.__exportStar(require("./startup-logging"), exports);
22
24
  tslib_1.__exportStar(require("./static-files"), exports);
23
25
  tslib_1.__exportStar(require("./upgrade"), exports);
24
26
  tslib_1.__exportStar(require("./workflow"), exports);
25
27
  exports.OkResponse = { ok: true };
26
- exports.__tsfTypeAliases = _a.decodeCompactMetadataV2("[2,{\"AnyResponse\":{\"kind\":22,\"type\":{\"kind\":1},\"typeName\":\"AnyResponse\"},\"ControllerMetadata\":{\"$tsfAlias\":[0,\"./decorators.js\",\"ControllerMetadata\",\"ControllerMetadata\"]},\"EmptyResponse\":{\"kind\":22,\"type\":{\"kind\":3},\"typeName\":\"EmptyResponse\"},\"EntityValidator\":{\"$tsfAlias\":[0,\"./auth.js\",\"EntityValidator\",\"EntityValidator\"]},\"FallbackControllerMetadata\":{\"$tsfAlias\":[0,\"./decorators.js\",\"FallbackControllerMetadata\",\"FallbackControllerMetadata\"]},\"FileUploadAllowedTypes\":{\"$tsfAlias\":[0,\"./uploads.js\",\"FileUploadAllowedTypes\",\"FileUploadAllowedTypes\"]},\"FileUploadOptions\":{\"$tsfAlias\":[0,\"./uploads.js\",\"FileUploadOptions\",\"FileUploadOptions\"]},\"FileUploadPolicy\":{\"$tsfAlias\":[0,\"./uploads.js\",\"FileUploadPolicy\",\"FileUploadPolicy\"]},\"HttpControllerWorkflowEvent\":{\"$tsfAlias\":[0,\"./workflow.js\",\"HttpControllerWorkflowEvent\",\"HttpControllerWorkflowEvent\"]},\"HttpFallbackController\":{\"$tsfAlias\":[0,\"./decorators.js\",\"HttpFallbackController\",\"HttpFallbackController\"]},\"HttpHeaderInput\":{\"$tsfAlias\":[0,\"./request.js\",\"HttpHeaderInput\",\"HttpHeaderInput\"]},\"HttpHeaderOutput\":{\"$tsfAlias\":[0,\"./response.js\",\"HttpHeaderOutput\",\"HttpHeaderOutput\"]},\"HttpMethod\":{\"$tsfAlias\":[0,\"./request.js\",\"HttpMethod\",\"HttpMethod\"]},\"HttpMiddlewareFunction\":{\"$tsfAlias\":[0,\"./middleware.js\",\"HttpMiddlewareFunction\",\"HttpMiddlewareFunction\"]},\"HttpMiddlewareInput\":{\"$tsfAlias\":[0,\"./middleware.js\",\"HttpMiddlewareInput\",\"HttpMiddlewareInput\"]},\"HttpMiddlewareResult\":{\"$tsfAlias\":[0,\"./middleware.js\",\"HttpMiddlewareResult\",\"HttpMiddlewareResult\"]},\"HttpRequestBodyCapture\":{\"$tsfAlias\":[0,\"./request.js\",\"HttpRequestBodyCapture\",\"HttpRequestBodyCapture\"]},\"HttpRequestBodyLimits\":{\"$tsfAlias\":[0,\"./request.js\",\"HttpRequestBodyLimits\",\"HttpRequestBodyLimits\"]},\"HttpRequestHeaders\":{\"$tsfAlias\":[0,\"./request.js\",\"HttpRequestHeaders\",\"HttpRequestHeaders\"]},\"HttpRequestLoggingOptions\":{\"$tsfAlias\":[0,\"./request-logging.js\",\"HttpRequestLoggingOptions\",\"HttpRequestLoggingOptions\"]},\"HttpRequestObservation\":{\"$tsfAlias\":[0,\"./base.js\",\"HttpRequestObservation\",\"HttpRequestObservation\"]},\"HttpRequestObserver\":{\"$tsfAlias\":[0,\"./base.js\",\"HttpRequestObserver\",\"HttpRequestObserver\"]},\"HttpRequestObserverOptions\":{\"$tsfAlias\":[0,\"./base.js\",\"HttpRequestObserverOptions\",\"HttpRequestObserverOptions\"]},\"HttpResponseResult\":{\"$tsfAlias\":[0,\"./response.js\",\"HttpResponseResult\",\"HttpResponseResult\"]},\"HttpResponseWorkflowEvent\":{\"$tsfAlias\":[0,\"./workflow.js\",\"HttpResponseWorkflowEvent\",\"HttpResponseWorkflowEvent\"]},\"HttpRouteNotFoundWorkflowEvent\":{\"$tsfAlias\":[0,\"./workflow.js\",\"HttpRouteNotFoundWorkflowEvent\",\"HttpRouteNotFoundWorkflowEvent\"]},\"HttpRouteParameterPlan\":{\"$tsfAlias\":[0,\"./router.js\",\"HttpRouteParameterPlan\",\"HttpRouteParameterPlan\"]},\"HttpRoutePlan\":{\"$tsfAlias\":[0,\"./router.js\",\"HttpRoutePlan\",\"HttpRoutePlan\"]},\"HttpRouteWorkflowEvent\":{\"$tsfAlias\":[0,\"./workflow.js\",\"HttpRouteWorkflowEvent\",\"HttpRouteWorkflowEvent\"]},\"HttpServerListenHooks\":{\"$tsfAlias\":[0,\"./base.js\",\"HttpServerListenHooks\",\"HttpServerListenHooks\"]},\"HttpServerRuntimeOptions\":{\"$tsfAlias\":[0,\"./base.js\",\"HttpServerRuntimeOptions\",\"HttpServerRuntimeOptions\"]},\"HttpUpgradeHandler\":{\"$tsfAlias\":[0,\"./upgrade.js\",\"HttpUpgradeHandler\",\"HttpUpgradeHandler\"]},\"HttpWorkflowEvent\":{\"$tsfAlias\":[0,\"./workflow.js\",\"HttpWorkflowEvent\",\"HttpWorkflowEvent\"]},\"HttpWriteHeadHeaders\":{\"$tsfAlias\":[0,\"./response.js\",\"HttpWriteHeadHeaders\",\"HttpWriteHeadHeaders\"]},\"InstallWebSocketUpgradeHandlerOptions\":{\"$tsfAlias\":[0,\"./upgrade.js\",\"InstallWebSocketUpgradeHandlerOptions\",\"InstallWebSocketUpgradeHandlerOptions\"]},\"KnownHttpMethod\":{\"$tsfAlias\":[0,\"./request.js\",\"KnownHttpMethod\",\"KnownHttpMethod\"]},\"MultipartRequestPart\":{\"$tsfAlias\":[0,\"./request.js\",\"MultipartRequestPart\",\"MultipartRequestPart\"]},\"MultipartRequestPolicy\":{\"$tsfAlias\":[0,\"./uploads.js\",\"MultipartRequestPolicy\",\"MultipartRequestPolicy\"]},\"OkResponse\":{\"kind\":22,\"type\":{\"kind\":18,\"types\":[{\"kind\":20,\"name\":\"ok\",\"type\":{\"kind\":10,\"literal\":true},\"optional\":false}]},\"typeName\":\"OkResponse\"},\"ParsedMultipartBody\":{\"$tsfAlias\":[0,\"./uploads.js\",\"ParsedMultipartBody\",\"ParsedMultipartBody\"]},\"RedirectResponse\":{\"kind\":22,\"type\":{\"kind\":3},\"typeName\":\"RedirectResponse\"},\"RequestBuilder\":{\"kind\":16,\"typeName\":\"HttpRequest\",\"classType\":{\"$tsfImport\":[0,\"./request\",\"HttpRequest\"]},\"typeName\":\"RequestBuilder\"},\"ResolvedStaticFilesOptions\":{\"$tsfAlias\":[0,\"./static-files.js\",\"ResolvedStaticFilesOptions\",\"ResolvedStaticFilesOptions\"]},\"RouteMetadata\":{\"$tsfAlias\":[0,\"./decorators.js\",\"RouteMetadata\",\"RouteMetadata\"]},\"RouteParameterResolver\":{\"$tsfAlias\":[0,\"./decorators.js\",\"RouteParameterResolver\",\"RouteParameterResolver\"]},\"RouteParameterResolverContext\":{\"$tsfAlias\":[0,\"./decorators.js\",\"RouteParameterResolverContext\",\"RouteParameterResolverContext\"]},\"RouteParameterResolverMetadata\":{\"$tsfAlias\":[0,\"./decorators.js\",\"RouteParameterResolverMetadata\",\"RouteParameterResolverMetadata\"]},\"RouteParameterResolverRegistry\":{\"$tsfAlias\":[0,\"./decorators.js\",\"RouteParameterResolverRegistry\",\"RouteParameterResolverRegistry\"]},\"StaticFilesOptions\":{\"$tsfAlias\":[0,\"./static-files.js\",\"StaticFilesOptions\",\"StaticFilesOptions\"]},\"UploadedFiles\":{\"$tsfAlias\":[0,\"./uploads.js\",\"UploadedFiles\",\"UploadedFiles\"]},\"VerifyClientFn\":{\"$tsfAlias\":[0,\"./upgrade.js\",\"VerifyClientFn\",\"VerifyClientFn\"]},\"WebSocketUpgradeHandlerOptions\":{\"$tsfAlias\":[0,\"./upgrade.js\",\"WebSocketUpgradeHandlerOptions\",\"WebSocketUpgradeHandlerOptions\"]}},[]]", [require]);
28
+ exports.__tsfTypeAliases = _a.decodeCompactMetadataV2("[2,{\"AnyResponse\":{\"kind\":22,\"type\":{\"kind\":1},\"typeName\":\"AnyResponse\"},\"ControllerMetadata\":{\"$tsfAlias\":[0,\"./decorators.js\",\"ControllerMetadata\",\"ControllerMetadata\"]},\"EmptyResponse\":{\"kind\":22,\"type\":{\"kind\":3},\"typeName\":\"EmptyResponse\"},\"EntityValidator\":{\"$tsfAlias\":[0,\"./auth.js\",\"EntityValidator\",\"EntityValidator\"]},\"FallbackControllerMetadata\":{\"$tsfAlias\":[0,\"./decorators.js\",\"FallbackControllerMetadata\",\"FallbackControllerMetadata\"]},\"FileUploadAllowedTypes\":{\"$tsfAlias\":[0,\"./uploads.js\",\"FileUploadAllowedTypes\",\"FileUploadAllowedTypes\"]},\"FileUploadOptions\":{\"$tsfAlias\":[0,\"./uploads.js\",\"FileUploadOptions\",\"FileUploadOptions\"]},\"FileUploadPolicy\":{\"$tsfAlias\":[0,\"./uploads.js\",\"FileUploadPolicy\",\"FileUploadPolicy\"]},\"HttpControllerWorkflowEvent\":{\"$tsfAlias\":[0,\"./workflow.js\",\"HttpControllerWorkflowEvent\",\"HttpControllerWorkflowEvent\"]},\"HttpFallbackController\":{\"$tsfAlias\":[0,\"./decorators.js\",\"HttpFallbackController\",\"HttpFallbackController\"]},\"HttpHeaderInput\":{\"$tsfAlias\":[0,\"./request.js\",\"HttpHeaderInput\",\"HttpHeaderInput\"]},\"HttpHeaderOutput\":{\"$tsfAlias\":[0,\"./response.js\",\"HttpHeaderOutput\",\"HttpHeaderOutput\"]},\"HttpMethod\":{\"$tsfAlias\":[0,\"./request.js\",\"HttpMethod\",\"HttpMethod\"]},\"HttpMiddlewareFunction\":{\"$tsfAlias\":[0,\"./middleware.js\",\"HttpMiddlewareFunction\",\"HttpMiddlewareFunction\"]},\"HttpMiddlewareInput\":{\"$tsfAlias\":[0,\"./middleware.js\",\"HttpMiddlewareInput\",\"HttpMiddlewareInput\"]},\"HttpMiddlewareResult\":{\"$tsfAlias\":[0,\"./middleware.js\",\"HttpMiddlewareResult\",\"HttpMiddlewareResult\"]},\"HttpRequestBodyCapture\":{\"$tsfAlias\":[0,\"./request.js\",\"HttpRequestBodyCapture\",\"HttpRequestBodyCapture\"]},\"HttpRequestBodyLimits\":{\"$tsfAlias\":[0,\"./request.js\",\"HttpRequestBodyLimits\",\"HttpRequestBodyLimits\"]},\"HttpRequestHeaders\":{\"$tsfAlias\":[0,\"./request.js\",\"HttpRequestHeaders\",\"HttpRequestHeaders\"]},\"HttpRequestLoggingOptions\":{\"$tsfAlias\":[0,\"./request-logging.js\",\"HttpRequestLoggingOptions\",\"HttpRequestLoggingOptions\"]},\"HttpRequestObservation\":{\"$tsfAlias\":[0,\"./base.js\",\"HttpRequestObservation\",\"HttpRequestObservation\"]},\"HttpRequestObserver\":{\"$tsfAlias\":[0,\"./base.js\",\"HttpRequestObserver\",\"HttpRequestObserver\"]},\"HttpRequestObserverOptions\":{\"$tsfAlias\":[0,\"./base.js\",\"HttpRequestObserverOptions\",\"HttpRequestObserverOptions\"]},\"HttpResponseResult\":{\"$tsfAlias\":[0,\"./response.js\",\"HttpResponseResult\",\"HttpResponseResult\"]},\"HttpResponseWorkflowEvent\":{\"$tsfAlias\":[0,\"./workflow.js\",\"HttpResponseWorkflowEvent\",\"HttpResponseWorkflowEvent\"]},\"HttpRouteNotFoundWorkflowEvent\":{\"$tsfAlias\":[0,\"./workflow.js\",\"HttpRouteNotFoundWorkflowEvent\",\"HttpRouteNotFoundWorkflowEvent\"]},\"HttpRouteParameterPlan\":{\"$tsfAlias\":[0,\"./router.js\",\"HttpRouteParameterPlan\",\"HttpRouteParameterPlan\"]},\"HttpRoutePlan\":{\"$tsfAlias\":[0,\"./router.js\",\"HttpRoutePlan\",\"HttpRoutePlan\"]},\"HttpRouteWorkflowEvent\":{\"$tsfAlias\":[0,\"./workflow.js\",\"HttpRouteWorkflowEvent\",\"HttpRouteWorkflowEvent\"]},\"HttpServerListenHooks\":{\"$tsfAlias\":[0,\"./base.js\",\"HttpServerListenHooks\",\"HttpServerListenHooks\"]},\"HttpServerRuntimeOptions\":{\"$tsfAlias\":[0,\"./base.js\",\"HttpServerRuntimeOptions\",\"HttpServerRuntimeOptions\"]},\"HttpUpgradeHandler\":{\"$tsfAlias\":[0,\"./upgrade.js\",\"HttpUpgradeHandler\",\"HttpUpgradeHandler\"]},\"HttpWorkflowEvent\":{\"$tsfAlias\":[0,\"./workflow.js\",\"HttpWorkflowEvent\",\"HttpWorkflowEvent\"]},\"HttpWriteHeadHeaders\":{\"$tsfAlias\":[0,\"./response.js\",\"HttpWriteHeadHeaders\",\"HttpWriteHeadHeaders\"]},\"IRedactedRequestBodyLog\":{\"$tsfAlias\":[0,\"./payload-redaction.js\",\"IRedactedRequestBodyLog\",\"IRedactedRequestBodyLog\"]},\"InstallWebSocketUpgradeHandlerOptions\":{\"$tsfAlias\":[0,\"./upgrade.js\",\"InstallWebSocketUpgradeHandlerOptions\",\"InstallWebSocketUpgradeHandlerOptions\"]},\"KnownHttpMethod\":{\"$tsfAlias\":[0,\"./request.js\",\"KnownHttpMethod\",\"KnownHttpMethod\"]},\"MultipartRequestPart\":{\"$tsfAlias\":[0,\"./request.js\",\"MultipartRequestPart\",\"MultipartRequestPart\"]},\"MultipartRequestPolicy\":{\"$tsfAlias\":[0,\"./uploads.js\",\"MultipartRequestPolicy\",\"MultipartRequestPolicy\"]},\"OkResponse\":{\"kind\":22,\"type\":{\"kind\":18,\"types\":[{\"kind\":20,\"name\":\"ok\",\"type\":{\"kind\":10,\"literal\":true},\"optional\":false}]},\"typeName\":\"OkResponse\"},\"ParsedMultipartBody\":{\"$tsfAlias\":[0,\"./uploads.js\",\"ParsedMultipartBody\",\"ParsedMultipartBody\"]},\"PayloadRedactionPolicy\":{\"$tsfAlias\":[0,\"./payload-redaction.js\",\"PayloadRedactionPolicy\",\"PayloadRedactionPolicy\"]},\"QueryKeyMatcher\":{\"$tsfAlias\":[0,\"./query-redaction.js\",\"QueryKeyMatcher\",\"QueryKeyMatcher\"]},\"RedactQueryKeys\":{\"$tsfAlias\":[0,\"./query-redaction.js\",\"RedactQueryKeys\",\"RedactQueryKeys\"]},\"RedirectResponse\":{\"kind\":22,\"type\":{\"kind\":3},\"typeName\":\"RedirectResponse\"},\"RequestBuilder\":{\"kind\":16,\"typeName\":\"HttpRequest\",\"classType\":{\"$tsfImport\":[0,\"./request\",\"HttpRequest\"]},\"typeName\":\"RequestBuilder\"},\"ResolvedStaticFilesOptions\":{\"$tsfAlias\":[0,\"./static-files.js\",\"ResolvedStaticFilesOptions\",\"ResolvedStaticFilesOptions\"]},\"RouteMetadata\":{\"$tsfAlias\":[0,\"./decorators.js\",\"RouteMetadata\",\"RouteMetadata\"]},\"RouteParameterResolver\":{\"$tsfAlias\":[0,\"./decorators.js\",\"RouteParameterResolver\",\"RouteParameterResolver\"]},\"RouteParameterResolverContext\":{\"$tsfAlias\":[0,\"./decorators.js\",\"RouteParameterResolverContext\",\"RouteParameterResolverContext\"]},\"RouteParameterResolverMetadata\":{\"$tsfAlias\":[0,\"./decorators.js\",\"RouteParameterResolverMetadata\",\"RouteParameterResolverMetadata\"]},\"RouteParameterResolverRegistry\":{\"$tsfAlias\":[0,\"./decorators.js\",\"RouteParameterResolverRegistry\",\"RouteParameterResolverRegistry\"]},\"StaticFilesOptions\":{\"$tsfAlias\":[0,\"./static-files.js\",\"StaticFilesOptions\",\"StaticFilesOptions\"]},\"UploadedFiles\":{\"$tsfAlias\":[0,\"./uploads.js\",\"UploadedFiles\",\"UploadedFiles\"]},\"VerifyClientFn\":{\"$tsfAlias\":[0,\"./upgrade.js\",\"VerifyClientFn\",\"VerifyClientFn\"]},\"WebSocketUpgradeHandlerOptions\":{\"$tsfAlias\":[0,\"./upgrade.js\",\"WebSocketUpgradeHandlerOptions\",\"WebSocketUpgradeHandlerOptions\"]}},[]]", [require]);
27
29
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/index.ts"],"names":[],"mappings":";;;;;AAEA,uDAA6B;AAC7B,iDAAuB;AACvB,mDAAyB;AACzB,uDAA6B;AAC7B,oDAA0B;AAC1B,qDAA2B;AAC3B,mDAAyB;AACzB,kDAAwB;AACxB,kDAAwB;AACxB,iDAAuB;AACvB,iDAAuB;AACvB,oDAA0B;AAC1B,oDAA0B;AAC1B,4DAAkC;AAClC,gEAAsC;AACtC,4DAAkC;AAClC,yDAA+B;AAC/B,oDAA0B;AAC1B,qDAA2B;AAEd,QAAA,UAAU,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/index.ts"],"names":[],"mappings":";;;;;AAEA,uDAA6B;AAC7B,iDAAuB;AACvB,mDAAyB;AACzB,uDAA6B;AAC7B,oDAA0B;AAC1B,qDAA2B;AAC3B,mDAAyB;AACzB,kDAAwB;AACxB,kDAAwB;AACxB,iDAAuB;AACvB,iDAAuB;AACvB,oDAA0B;AAC1B,oDAA0B;AAC1B,4DAAkC;AAClC,4DAAkC;AAClC,8DAAoC;AACpC,gEAAsC;AACtC,4DAAkC;AAClC,yDAA+B;AAC/B,oDAA0B;AAC1B,qDAA2B;AAEd,QAAA,UAAU,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC"}
@@ -2,6 +2,7 @@ import type { HttpRequest } from './request';
2
2
  import type { HttpResponse, HttpResponseResult } from './response';
3
3
  import type { ScopedLogger } from '../services/logger';
4
4
  import type { ClassType } from '../types';
5
+ import { type PayloadRedactionPolicy } from './payload-redaction';
5
6
  export type HttpMiddlewareResult = void | HttpResponseResult | Promise<void | HttpResponseResult>;
6
7
  export type HttpMiddlewareFunction = (request: HttpRequest, response: HttpResponse) => HttpMiddlewareResult;
7
8
  export declare abstract class HttpMiddleware {
@@ -13,4 +14,11 @@ export declare class HttpLogPayloadMiddleware extends HttpMiddleware {
13
14
  constructor(logger: ScopedLogger);
14
15
  handle(request: HttpRequest, _response: HttpResponse): Promise<void>;
15
16
  }
17
+ /** Logs a policy-redacted body, or redacts it wholesale when no policy is provided. Query strings are omitted. */
18
+ export declare class RedactedPayloadLogMiddleware extends HttpMiddleware {
19
+ private readonly logger;
20
+ private readonly policy?;
21
+ constructor(logger: ScopedLogger, policy?: PayloadRedactionPolicy | undefined);
22
+ handle(request: HttpRequest, _response: HttpResponse): Promise<void>;
23
+ }
16
24
  //# sourceMappingURL=middleware.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../../src/http/middleware.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,MAAM,oBAAoB,GAAG,IAAI,GAAG,kBAAkB,GAAG,OAAO,CAAC,IAAI,GAAG,kBAAkB,CAAC,CAAC;AAElG,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,KAAK,oBAAoB,CAAC;AAE5G,8BAAsB,cAAc;IAChC,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,GAAG,oBAAoB,CAAC;CACvF;AAED,MAAM,MAAM,mBAAmB,GAAG,SAAS,CAAC,cAAc,CAAC,GAAG,sBAAsB,CAAC;AAErF,qBAAa,wBAAyB,SAAQ,cAAc;IAC5C,OAAO,CAAC,QAAQ,CAAC,MAAM;IAAnC,YAA6B,MAAM,EAAE,YAAY,EAEhD;IAEK,MAAM,CAAC,OAAO,EAAE,WAAW,EAAE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AC,EAAE,sBAAsB,YAAA,EAGnD;IAEK,MAAM,CAAC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAUzE;CACJ"}
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.__tsfTypeAliases = exports.HttpLogPayloadMiddleware = exports.HttpMiddleware = void 0;
3
+ exports.__tsfTypeAliases = exports.RedactedPayloadLogMiddleware = exports.HttpLogPayloadMiddleware = exports.HttpMiddleware = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const _a = tslib_1.__importStar(require("@zyno-io/ts-reflection/type-metadata-runtime"));
6
- const __tsf_metadata_type = _a.createCompactMetadataRegistryV2("[2,[{\"kind\":12,\"types\":[{\"kind\":3},{\"kind\":18,\"typeName\":\"HttpResponseResult\",\"types\":[]},{\"kind\":22,\"type\":{\"kind\":12,\"types\":[{\"kind\":3},{\"kind\":18,\"typeName\":\"HttpResponseResult\",\"types\":[]}]}}],\"typeName\":\"HttpMiddlewareResult\"},{\"kind\":22,\"type\":{\"kind\":3}}],[]]", []);
6
+ const payload_redaction_1 = require("./payload-redaction");
7
+ const __tsf_metadata_type = _a.createCompactMetadataRegistryV2("[2,[{\"kind\":12,\"types\":[{\"kind\":3},{\"kind\":18,\"typeName\":\"HttpResponseResult\",\"types\":[]},{\"kind\":22,\"type\":{\"kind\":12,\"types\":[{\"kind\":3},{\"kind\":18,\"typeName\":\"HttpResponseResult\",\"types\":[]}]}}],\"typeName\":\"HttpMiddlewareResult\"},{\"kind\":22,\"type\":{\"kind\":3}},{\"kind\":18,\"typeName\":\"PayloadRedactionPolicy\",\"types\":[]}],[]]", []);
7
8
  let _HttpMiddlewareMetadata_1;
8
9
  class HttpMiddleware {
9
10
  static __tsfType = _HttpMiddlewareMetadata_1 = _a.decodeCompactMetadataV2("[2,{\"kind\":16,\"name\":\"HttpMiddleware\",\"typeName\":\"HttpMiddleware\",\"classType\":{\"$tsf\":0},\"properties\":[],\"methods\":[{\"name\":\"handle\",\"parameters\":[{\"name\":\"request\",\"type\":{\"kind\":16,\"typeName\":\"HttpRequest\",\"classType\":{\"$tsfImport\":[1,\"./request\",\"HttpRequest\"]}},\"optional\":false,\"default\":false},{\"name\":\"response\",\"type\":{\"kind\":16,\"typeName\":\"HttpResponse\",\"classType\":{\"$tsfImport\":[1,\"./response\",\"HttpResponse\"]}},\"optional\":false,\"default\":false}],\"returnType\":{\"$tsfType\":0}}],\"hasConstructor\":false,\"constructorParameters\":[]},[]]", [() => HttpMiddleware, require], __tsf_metadata_type);
@@ -31,5 +32,32 @@ class HttpLogPayloadMiddleware extends HttpMiddleware {
31
32
  exports.HttpLogPayloadMiddleware = HttpLogPayloadMiddleware;
32
33
  _HttpLogPayloadMiddlewareMetadata_1.classType = HttpLogPayloadMiddleware;
33
34
  HttpLogPayloadMiddleware.__tsfType = _HttpLogPayloadMiddlewareMetadata_1;
35
+ let _RedactedPayloadLogMiddlewareMetadata_1;
36
+ /** Logs a policy-redacted body, or redacts it wholesale when no policy is provided. Query strings are omitted. */
37
+ class RedactedPayloadLogMiddleware extends HttpMiddleware {
38
+ logger;
39
+ policy;
40
+ constructor(logger, policy) {
41
+ super();
42
+ this.logger = logger;
43
+ this.policy = policy;
44
+ }
45
+ async handle(request, _response) {
46
+ const contentType = request.headers['content-type'] ?? '';
47
+ let body;
48
+ try {
49
+ const rawBody = await request.readBodyBuffer();
50
+ body = (0, payload_redaction_1.redactRequestBodyForLog)(contentType, rawBody, this.policy);
51
+ }
52
+ catch {
53
+ body = { body: payload_redaction_1.REDACTED, bodyUnavailable: true };
54
+ }
55
+ this.logger.info('Logging request', { method: request.method, url: request.path, contentType, ...body });
56
+ }
57
+ static __tsfType = _RedactedPayloadLogMiddlewareMetadata_1 = _a.decodeCompactMetadataV2("[2,{\"kind\":16,\"name\":\"RedactedPayloadLogMiddleware\",\"typeName\":\"RedactedPayloadLogMiddleware\",\"classType\":{\"$tsf\":0},\"properties\":[],\"methods\":[{\"name\":\"handle\",\"parameters\":[{\"name\":\"request\",\"type\":{\"kind\":16,\"typeName\":\"HttpRequest\",\"classType\":{\"$tsfImport\":[1,\"./request\",\"HttpRequest\"]}},\"optional\":false,\"default\":false},{\"name\":\"_response\",\"type\":{\"kind\":16,\"typeName\":\"HttpResponse\",\"classType\":{\"$tsfImport\":[1,\"./response\",\"HttpResponse\"]}},\"optional\":false,\"default\":false}],\"returnType\":{\"$tsfType\":1}}],\"hasConstructor\":true,\"constructorParameters\":[{\"name\":\"logger\",\"type\":{\"kind\":16,\"typeName\":\"ScopedLogger\",\"classType\":{\"$tsfImport\":[1,\"../services/logger\",\"ScopedLogger\"]}},\"optional\":false,\"default\":false},{\"name\":\"policy\",\"type\":{\"$tsfType\":2},\"optional\":true,\"default\":false}]},[]]", [() => RedactedPayloadLogMiddleware, require], __tsf_metadata_type);
58
+ }
59
+ exports.RedactedPayloadLogMiddleware = RedactedPayloadLogMiddleware;
60
+ _RedactedPayloadLogMiddlewareMetadata_1.classType = RedactedPayloadLogMiddleware;
61
+ RedactedPayloadLogMiddleware.__tsfType = _RedactedPayloadLogMiddlewareMetadata_1;
34
62
  exports.__tsfTypeAliases = _a.decodeCompactMetadataV2("[2,{\"HttpMiddlewareFunction\":{\"$tsfNode\":0},\"HttpMiddlewareInput\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"new (...args: any[]) =\\u003e HttpMiddleware\",\"typeName\":\"ClassType\"},{\"$tsfNode\":0}],\"typeName\":\"HttpMiddlewareInput\"},\"HttpMiddlewareResult\":{\"kind\":12,\"types\":[{\"kind\":3},{\"kind\":18,\"typeName\":\"HttpResponseResult\",\"types\":[]},{\"kind\":22,\"type\":{\"kind\":12,\"types\":[{\"kind\":3},{\"kind\":18,\"typeName\":\"HttpResponseResult\",\"types\":[]}]}}],\"typeName\":\"HttpMiddlewareResult\"}},[{\"kind\":2,\"typeName\":\"(request: HttpRequest, response: HttpResponse) =\\u003e HttpMiddlewareResult\",\"typeName\":\"HttpMiddlewareFunction\"}]]", [], __tsf_metadata_type);
35
63
  //# sourceMappingURL=middleware.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"middleware.js","sourceRoot":"","sources":["../../../src/http/middleware.ts"],"names":[],"mappings":";;;;;;;AASA;;CAEC;;;;;AAID,8BAAsC,SAAQ,cAAc;IAC3B,MAAM;IAAnC,YAA6B,MAAoB;QAC7C,KAAK,EAAE,CAAC;sBADiB,MAAM;IAEnC,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,OAAoB,EAAE,SAAuB;QACtD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,iBAAiB,EAAE;YAChC,MAAM,EAAE,OAAO,CAAC,MAAM;YACtB,GAAG,EAAE,OAAO,CAAC,GAAG;YAChB,WAAW,EAAE,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,EAAE;YAClD,IAAI,EAAE,MAAM,OAAO,CAAC,YAAY,EAAE;SACrC,CAAC,CAAC;IACP,CAAC;;CACJ"}
1
+ {"version":3,"file":"middleware.js","sourceRoot":"","sources":["../../../src/http/middleware.ts"],"names":[],"mappings":";;;;;AAIA,2DAAmI;;;AAMnI;;CAEC;;;;;AAID,8BAAsC,SAAQ,cAAc;IAC3B,MAAM;IAAnC,YAA6B,MAAoB;QAC7C,KAAK,EAAE,CAAC;sBADiB,MAAM;IAEnC,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,OAAoB,EAAE,SAAuB;QACtD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,iBAAiB,EAAE;YAChC,MAAM,EAAE,OAAO,CAAC,MAAM;YACtB,GAAG,EAAE,OAAO,CAAC,GAAG;YAChB,WAAW,EAAE,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,EAAE;YAClD,IAAI,EAAE,MAAM,OAAO,CAAC,YAAY,EAAE;SACrC,CAAC,CAAC;IACP,CAAC;;CACJ;;;;;AAED,kHAAkH;AAClH,kCAA0C,SAAQ,cAAc;IAEvC,MAAM;IACN,MAAM;IAF3B,YACqB,MAAoB,EACpB,MAA+B;QAEhD,KAAK,EAAE,CAAC;sBAHS,MAAM;sBACN,MAAM;IAG3B,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,OAAoB,EAAE,SAAuB;QACtD,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC;QAC1D,IAAI,IAAuE,CAAC;QAC5E,IAAI,CAAC;YACD,MAAM,OAAO,GAAG,MAAM,OAAO,CAAC,cAAc,EAAE,CAAC;YAC/C,IAAI,GAAG,IAAA,2CAAuB,EAAC,WAAW,EAAE,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QACtE,CAAC;QAAC,MAAM,CAAC;YACL,IAAI,GAAG,EAAE,IAAI,EAAE,4BAAQ,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC;QACrD,CAAC;QACD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE,OAAO,CAAC,IAAI,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,CAAC,CAAC;IAC7G,CAAC;;CACJ"}
@@ -0,0 +1,25 @@
1
+ /** Replacement used for redacted values. */
2
+ export declare const REDACTED = "REDACTED";
3
+ /**
4
+ * Return safe leaf keys for a protected subtree, or undefined when the field is not protected.
5
+ * Keys passed to `classifyKey` and returned as safe keys are normalized to lowercase with `_` and `-` removed.
6
+ * An empty array protects all leaves. The optional object rule supports schema-specific array elements.
7
+ */
8
+ export interface PayloadRedactionPolicy {
9
+ classifyKey(key: string): readonly string[] | undefined;
10
+ classifyObject?(value: Record<string, unknown>): readonly string[] | undefined;
11
+ }
12
+ /** Returns a deep copy with values selected by the policy redacted. */
13
+ export declare function redactPayload<T>(value: T, policy: PayloadRedactionPolicy): T;
14
+ export interface IRedactedRequestBodyLog {
15
+ body: string;
16
+ /** Present when the body was redacted wholesale. */
17
+ bodyBytes?: number;
18
+ }
19
+ /**
20
+ * Produces the loggable form of a raw request body. JSON and `application/x-www-form-urlencoded` bodies are
21
+ * parsed, redacted and re-serialized in their original format (same key order). Anything else, including a
22
+ * body that fails to parse or a bare JSON scalar, is never logged raw: it becomes `REDACTED` plus its byte length.
23
+ */
24
+ export declare function redactRequestBodyForLog(contentType: string, rawBody: Buffer, policy?: PayloadRedactionPolicy): IRedactedRequestBodyLog;
25
+ //# sourceMappingURL=payload-redaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload-redaction.d.ts","sourceRoot":"","sources":["../../../src/http/payload-redaction.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,eAAO,MAAM,QAAQ,aAAa,CAAC;AAEnC;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IACxD,cAAc,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;CAClF;AA2CD,uEAAuE;AACvE,wBAAgB,aAAa,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,sBAAsB,GAAG,CAAC,CAE5E;AAmBD,MAAM,WAAW,uBAAuB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AASD;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,sBAAsB,GAAG,uBAAuB,CAUtI"}