@zintrust/core 3.1.1 → 3.1.3
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/package.json +24 -16
- package/src/auth/LoginFlow.d.ts +1 -1
- package/src/auth-index.d.ts +3 -3
- package/src/boot/Application.d.ts +1 -1
- package/src/boot/Server.d.ts +3 -3
- package/src/boot/registry/registerRoute.d.ts +1 -1
- package/src/boot/registry/runtime.d.ts +2 -2
- package/src/boot/registry/type.d.ts +3 -3
- package/src/boot/registry/worker.d.ts +1 -1
- package/src/bootstrap/service-manifest.d.ts +1 -1
- package/src/cache/Cache.d.ts +1 -1
- package/src/cache/CacheDriverRegistry.d.ts +2 -2
- package/src/cache/CacheRuntimeRegistration.d.ts +1 -1
- package/src/cache/drivers/KVDriver.d.ts +1 -1
- package/src/cache/drivers/KVRemoteDriver.d.ts +1 -1
- package/src/cache/drivers/MemoryDriver.d.ts +1 -1
- package/src/cache/drivers/MongoDriver.d.ts +1 -1
- package/src/cache/drivers/RedisDriver.d.ts +1 -1
- package/src/cli/cloudflare/CloudflareSecretSync.js +1 -1
- package/src/cli/cloudflare/CloudflareWranglerDevEnv.js +1 -1
- package/src/cli/commands/AddCommand.d.ts +2 -2
- package/src/cli/commands/BroadcastWorkCommand.d.ts +1 -1
- package/src/cli/commands/BroadcastWorkCommand.js +1 -1
- package/src/cli/commands/BulletproofKeyGenerateCommand.d.ts +1 -1
- package/src/cli/commands/ConfigCommand.d.ts +1 -1
- package/src/cli/commands/ContainerComposeLifecycle.js +1 -1
- package/src/cli/commands/ContainerProxiesCommand.d.ts +1 -1
- package/src/cli/commands/ContainerProxiesCommand.js +2 -2
- package/src/cli/commands/ContainerWorkersCommand.d.ts +1 -1
- package/src/cli/commands/ContainerWorkersCommand.js +2 -2
- package/src/cli/commands/CreateCommand.d.ts +1 -1
- package/src/cli/commands/D1LearnCommand.d.ts +1 -1
- package/src/cli/commands/D1MigrateCommand.d.ts +1 -1
- package/src/cli/commands/D1ProxyCommand.d.ts +1 -1
- package/src/cli/commands/D1ProxyCommand.js +2 -2
- package/src/cli/commands/DbSeedCommand.d.ts +1 -1
- package/src/cli/commands/DebugCommand.d.ts +1 -1
- package/src/cli/commands/DeployCommand.d.ts +1 -1
- package/src/cli/commands/DeployContainerProxiesCommand.d.ts +1 -1
- package/src/cli/commands/DeployContainerProxiesCommand.js +1 -1
- package/src/cli/commands/DeployContainerWorkersCommand.d.ts +1 -1
- package/src/cli/commands/DeployContainerWorkersCommand.js +1 -1
- package/src/cli/commands/DeployContainersProxyCommand.d.ts +1 -1
- package/src/cli/commands/DockerCommand.d.ts +1 -1
- package/src/cli/commands/DockerCommand.js +1 -1
- package/src/cli/commands/DockerPushCommand.d.ts +1 -1
- package/src/cli/commands/DoctorArchitectureCommand.d.ts +1 -1
- package/src/cli/commands/EmailProxyCommand.d.ts +1 -1
- package/src/cli/commands/EmailProxyCommand.js +2 -2
- package/src/cli/commands/EnvKeyGenerateCommand.d.ts +1 -1
- package/src/cli/commands/FixCommand.d.ts +1 -1
- package/src/cli/commands/InitContainerCommand.d.ts +1 -1
- package/src/cli/commands/InitContainersProxyCommand.d.ts +1 -1
- package/src/cli/commands/InitEcosystemCommand.d.ts +1 -1
- package/src/cli/commands/InitProducerCommand.d.ts +1 -1
- package/src/cli/commands/InitProxyCommand.d.ts +1 -1
- package/src/cli/commands/JwtDevCommand.d.ts +1 -1
- package/src/cli/commands/KeyGenerateCommand.d.ts +1 -1
- package/src/cli/commands/KvProxyCommand.d.ts +1 -1
- package/src/cli/commands/KvProxyCommand.js +2 -2
- package/src/cli/commands/LogsCleanupCommand.d.ts +1 -1
- package/src/cli/commands/LogsCommand.d.ts +1 -1
- package/src/cli/commands/MakeMailTemplateCommand.d.ts +1 -1
- package/src/cli/commands/MakeNotificationTemplateCommand.d.ts +1 -1
- package/src/cli/commands/MigrateCommand.d.ts +1 -1
- package/src/cli/commands/MigrateWorkerCommand.d.ts +1 -1
- package/src/cli/commands/MongoDBProxyCommand.js +1 -1
- package/src/cli/commands/MySqlProxyCommand.d.ts +1 -1
- package/src/cli/commands/MySqlProxyCommand.js +2 -2
- package/src/cli/commands/NewCommand.d.ts +1 -1
- package/src/cli/commands/NotificationWorkCommand.d.ts +1 -1
- package/src/cli/commands/NotificationWorkCommand.js +1 -1
- package/src/cli/commands/PluginCommand.d.ts +1 -1
- package/src/cli/commands/PostgresProxyCommand.d.ts +1 -1
- package/src/cli/commands/PostgresProxyCommand.js +2 -2
- package/src/cli/commands/PrepareCommand.d.ts +1 -1
- package/src/cli/commands/ProxyCommand.d.ts +8 -8
- package/src/cli/commands/PublishCommand.d.ts +1 -1
- package/src/cli/commands/PutCommand.d.ts +1 -1
- package/src/cli/commands/QACommand.d.ts +1 -1
- package/src/cli/commands/QueueCommand.d.ts +1 -1
- package/src/cli/commands/QueueCommand.js +2 -2
- package/src/cli/commands/QueueRecoveryCommand.d.ts +1 -1
- package/src/cli/commands/QueueWorkCommandUtils.d.ts +1 -1
- package/src/cli/commands/RedisProxyCommand.d.ts +1 -1
- package/src/cli/commands/RedisProxyCommand.js +1 -1
- package/src/cli/commands/RedisRpcCommand.d.ts +1 -1
- package/src/cli/commands/RedisRpcCommand.js +1 -1
- package/src/cli/commands/ResourceControlCommand.d.ts +1 -1
- package/src/cli/commands/RoutesCommand.d.ts +1 -1
- package/src/cli/commands/ScheduleListCommand.d.ts +1 -1
- package/src/cli/commands/ScheduleListCommand.js +1 -1
- package/src/cli/commands/ScheduleRunCommand.d.ts +1 -1
- package/src/cli/commands/ScheduleRunCommand.js +1 -1
- package/src/cli/commands/ScheduleStartCommand.d.ts +1 -1
- package/src/cli/commands/ScheduleStartCommand.js +1 -1
- package/src/cli/commands/SecretsCommand.d.ts +1 -1
- package/src/cli/commands/SimulateCommand.d.ts +1 -1
- package/src/cli/commands/SmtpProxyCommand.d.ts +1 -1
- package/src/cli/commands/SmtpProxyCommand.js +1 -1
- package/src/cli/commands/SqlProxyCommandUtils.d.ts +1 -1
- package/src/cli/commands/SqlProxyCommandUtils.js +1 -1
- package/src/cli/commands/SqlServerProxyCommand.js +1 -1
- package/src/cli/commands/StartCommand.d.ts +1 -1
- package/src/cli/commands/StartCommand.js +1 -1
- package/src/cli/commands/TemplatesCommand.d.ts +1 -1
- package/src/cli/commands/TraceCommand.d.ts +1 -1
- package/src/cli/commands/TraceCommand.js +2 -2
- package/src/cli/commands/TraceCommands.d.ts +1 -1
- package/src/cli/commands/UpgradeCommand.d.ts +1 -1
- package/src/cli/commands/WorkerCommands.d.ts +1 -1
- package/src/cli/commands/WranglerDevVarsCommand.d.ts +1 -1
- package/src/cli/commands/WranglerProxyCommandUtils.d.ts +1 -1
- package/src/cli/commands/WranglerProxyCommandUtils.js +2 -2
- package/src/cli/commands/createKindWorkCommand.d.ts +2 -2
- package/src/cli/commands/createKindWorkCommand.js +1 -1
- package/src/cli/commands/index.d.ts +27 -27
- package/src/cli/commands/index.js +27 -27
- package/src/cli/config/ConfigManager.d.ts +1 -1
- package/src/cli/config/ConfigManager.js +1 -1
- package/src/cli/config/ConfigValidator.d.ts +1 -1
- package/src/cli/config/ConfigValidator.js +1 -1
- package/src/cli/config/index.d.ts +3 -3
- package/src/cli/config/index.js +3 -3
- package/src/cli/d1/LocalD1Resolver.d.ts +1 -1
- package/src/cli/d1/LocalD1Resolver.js +2 -2
- package/src/cli/d1/WranglerD1.d.ts +1 -1
- package/src/cli/index.d.ts +18 -18
- package/src/cli/scaffolding/ControllerGenerator.js +2 -2
- package/src/cli/scaffolding/FactoryGenerator.js +1 -1
- package/src/cli/scaffolding/FeatureScaffolder.js +5 -5
- package/src/cli/scaffolding/GovernanceScaffolder.js +4 -4
- package/src/cli/scaffolding/MigrationGenerator.js +2 -2
- package/src/cli/scaffolding/ModelGenerator.js +1 -1
- package/src/cli/scaffolding/ProjectScaffolder.js +2 -2
- package/src/cli/scaffolding/RequestFactoryGenerator.js +1 -1
- package/src/cli/scaffolding/ResponseFactoryGenerator.js +1 -1
- package/src/cli/scaffolding/RouteGenerator.js +1 -1
- package/src/cli/scaffolding/SeederGenerator.js +7 -7
- package/src/cli/scaffolding/ServiceIntegrationTestGenerator.js +2 -2
- package/src/cli/scaffolding/ServiceRequestFactoryGenerator.js +1 -1
- package/src/cli/scaffolding/ServiceScaffolder.js +1 -1
- package/src/cli/scaffolding/TemplateGenerator.js +1 -1
- package/src/cli/scaffolding/WorkflowGenerator.js +1 -1
- package/src/cli/scaffolding/index.d.ts +33 -33
- package/src/cli/scaffolding/index.js +17 -17
- package/src/cli/services/VersionChecker.d.ts +1 -1
- package/src/cli/utils/DatabaseCliUtils.d.ts +2 -2
- package/src/cli-index.d.ts +11 -11
- package/src/cli.d.ts +8 -8
- package/src/cloudflare-index.d.ts +1 -1
- package/src/collections/index.d.ts +2 -2
- package/src/common/ExternalServiceUtils.d.ts +1 -1
- package/src/common/HealthRoutes.d.ts +1 -1
- package/src/common/index.d.ts +1 -1
- package/src/config/SecretsManager.d.ts +1 -1
- package/src/config/StartupConfigValidator.d.ts +1 -1
- package/src/config/app.d.ts +1 -1
- package/src/config/broadcast.d.ts +2 -2
- package/src/config/cache.d.ts +1 -1
- package/src/config/cloudflare.d.ts +2 -2
- package/src/config/database.d.ts +1 -1
- package/src/config/env.d.ts +1 -1
- package/src/config/features.d.ts +1 -1
- package/src/config/index.d.ts +31 -31
- package/src/config/logger.d.ts +1 -1
- package/src/config/mail.d.ts +1 -1
- package/src/config/middleware.d.ts +3 -3
- package/src/config/notification.d.ts +1 -1
- package/src/config/queue.d.ts +1 -1
- package/src/config/redis.d.ts +2 -2
- package/src/config/storage.d.ts +1 -1
- package/src/config/type.d.ts +2 -2
- package/src/config/workers.d.ts +2 -2
- package/src/config-index.d.ts +35 -35
- package/src/constants-index.d.ts +2 -2
- package/src/database-index.d.ts +13 -13
- package/src/errors-index.d.ts +2 -2
- package/src/events/index.d.ts +2 -2
- package/src/health/StartupHealthChecks.d.ts +1 -1
- package/src/helper/index.d.ts +1 -1
- package/src/http/Controller.d.ts +2 -2
- package/src/http/FileUpload.d.ts +2 -2
- package/src/http/Kernel.d.ts +7 -7
- package/src/http/Request.d.ts +3 -3
- package/src/http/RequestContext.d.ts +1 -1
- package/src/http/RequestContext.d.ts.map +1 -1
- package/src/http/RequestContext.js +14 -3
- package/src/http/Response.d.ts +1 -1
- package/src/http/ValidationHelper.d.ts +1 -1
- package/src/http/error-pages/ErrorPageRenderer.d.ts +1 -1
- package/src/http/middleware/BodyParsingMiddleware.d.ts +2 -2
- package/src/http/middleware/FileUploadMiddleware.d.ts +1 -1
- package/src/http/parsers/MultipartParser.d.ts +1 -1
- package/src/http/parsers/MultipartParserRegistry.d.ts +2 -2
- package/src/http/validated.d.ts +1 -1
- package/src/http-index.d.ts +8 -8
- package/src/index.d.ts +215 -215
- package/src/index.js +3 -3
- package/src/lang-index.d.ts +1 -1
- package/src/logger-index.d.ts +1 -1
- package/src/mail-index.d.ts +7 -7
- package/src/microservices/MicroserviceGenerator.js +1 -1
- package/src/microservices/RequestTracingMiddleware.d.ts +2 -2
- package/src/microservices/ServiceAuthMiddleware.d.ts +2 -2
- package/src/microservices/ServiceHealthMonitor.d.ts +2 -2
- package/src/microservices/ServiceManifest.d.ts +1 -1
- package/src/microservices-index.d.ts +2 -2
- package/src/middleware/AuthMiddleware.d.ts +2 -2
- package/src/middleware/BulletproofAuthMiddleware.d.ts +5 -5
- package/src/middleware/CsrfMiddleware.d.ts +2 -2
- package/src/middleware/ErrorHandlerMiddleware.d.ts +2 -2
- package/src/middleware/JwtAuthMiddleware.d.ts +3 -3
- package/src/middleware/LoggingMiddleware.d.ts +1 -1
- package/src/middleware/MiddlewareFailureResponder.d.ts +3 -3
- package/src/middleware/MiddlewareStack.d.ts +2 -2
- package/src/middleware/RateLimiter.d.ts +3 -3
- package/src/middleware/SanitizeBodyMiddleware.d.ts +1 -1
- package/src/middleware/SecurityMiddleware.d.ts +1 -1
- package/src/middleware/SessionMiddleware.d.ts +2 -2
- package/src/middleware/ValidationMiddleware.d.ts +3 -3
- package/src/middleware/index.d.ts +8 -8
- package/src/middleware-index.d.ts +1 -1
- package/src/migrations/MigrationLoader.d.ts +1 -1
- package/src/migrations/Migrator.d.ts +3 -3
- package/src/migrations/MigratorFactory.d.ts +1 -1
- package/src/migrations/schema/Blueprint.d.ts +1 -1
- package/src/migrations/schema/Schema.d.ts +2 -2
- package/src/migrations/schema/Schema.js +2 -2
- package/src/migrations/schema/SchemaCompiler.d.ts +1 -1
- package/src/migrations/schema/index.d.ts +4 -4
- package/src/migrations/schema/index.js +3 -3
- package/src/migrations/schema/types.d.ts +1 -1
- package/src/migrations/types.d.ts +1 -1
- package/src/node-singletons/index.d.ts +15 -15
- package/src/node.d.ts +13 -13
- package/src/openapi/OpenApiGenerator.d.ts +1 -1
- package/src/orm/ConnectionManager.d.ts +2 -2
- package/src/orm/Database.d.ts +3 -3
- package/src/orm/DatabaseAdapter.d.ts +1 -1
- package/src/orm/DatabaseAdapterRegistry.d.ts +1 -1
- package/src/orm/DatabaseConnectionRegistry.d.ts +1 -1
- package/src/orm/DatabaseRuntimeRegistration.d.ts +1 -1
- package/src/orm/Model.d.ts +5 -3
- package/src/orm/Model.d.ts.map +1 -1
- package/src/orm/Model.js +2 -0
- package/src/orm/QueryBuilder.d.ts +5 -3
- package/src/orm/QueryBuilder.d.ts.map +1 -1
- package/src/orm/QueryBuilder.js +29 -0
- package/src/orm/QueryBuilderTypeSurface.fixture.d.ts +2 -2
- package/src/orm/QueryBuilderTypeSurface.fixture.d.ts.map +1 -1
- package/src/orm/QueryBuilderTypeSurface.fixture.js +4 -0
- package/src/orm/Relationships.d.ts +1 -1
- package/src/orm/SchemaCompiler.d.ts +2 -2
- package/src/orm/adapters/D1Adapter.d.ts +1 -1
- package/src/orm/adapters/D1Adapter.js +1 -1
- package/src/orm/adapters/D1ReadSession.d.ts +1 -1
- package/src/orm/adapters/D1RemoteAdapter.d.ts +1 -1
- package/src/orm/adapters/D1RemoteAdapter.js +2 -2
- package/src/orm/adapters/MongoDBProxyAdapter.d.ts +1 -1
- package/src/orm/adapters/MongoDBProxyAdapter.js +2 -2
- package/src/orm/adapters/MySQLAdapter.d.ts +1 -1
- package/src/orm/adapters/MySQLProxyAdapter.d.ts +1 -1
- package/src/orm/adapters/MySQLProxyAdapter.js +3 -3
- package/src/orm/adapters/PostgreSQLAdapter.d.ts +1 -1
- package/src/orm/adapters/PostgreSQLProxyAdapter.d.ts +1 -1
- package/src/orm/adapters/PostgreSQLProxyAdapter.js +3 -3
- package/src/orm/adapters/ProxyCache.d.ts +1 -1
- package/src/orm/adapters/ProxySignedRequest.js +1 -1
- package/src/orm/adapters/SQLServerAdapter.d.ts +1 -1
- package/src/orm/adapters/SQLiteAdapter.d.ts +1 -1
- package/src/orm/adapters/SqlProxyAdapterUtils.d.ts +1 -1
- package/src/orm/adapters/SqlProxyAdapterUtils.js +1 -1
- package/src/orm/adapters/SqlProxyHttpAdapterShared.d.ts +1 -1
- package/src/orm/adapters/SqlProxyHttpAdapterShared.js +2 -2
- package/src/orm/adapters/SqlProxyRegistryMode.js +1 -1
- package/src/orm/adapters/SqlServerProxyAdapter.d.ts +1 -1
- package/src/orm/adapters/SqlServerProxyAdapter.js +3 -3
- package/src/orm/maintenance/SqliteMaintenance.d.ts +1 -1
- package/src/orm/migrations/MigrationStore.d.ts +2 -2
- package/src/orm-index.d.ts +18 -18
- package/src/profiling/MemoryProfiler.d.ts +1 -1
- package/src/profiling/N1Detector.d.ts +1 -1
- package/src/profiling/QueryLogger.d.ts +1 -1
- package/src/profiling/RequestProfiler.d.ts +4 -4
- package/src/proxy/CloudflareProxyShared.d.ts +2 -2
- package/src/proxy/ProxyRequestParsing.d.ts +1 -1
- package/src/proxy/ProxyServer.d.ts +2 -2
- package/src/proxy/ProxyServerUtils.d.ts +2 -2
- package/src/proxy/ProxySigningRequest.d.ts +2 -2
- package/src/proxy/SigningService.d.ts +1 -1
- package/src/proxy/SqlProxyServerDeps.d.ts +11 -11
- package/src/proxy/StatementRegistryResolver.d.ts +1 -1
- package/src/proxy/mysql/MySqlProxyServer.d.ts +2 -2
- package/src/proxy/postgres/PostgresProxyServer.d.ts +2 -2
- package/src/proxy/redis/RedisProxyServer.d.ts +1 -1
- package/src/proxy/sqlserver/SqlServerProxyServer.d.ts +2 -2
- package/src/proxy-index.d.ts +6 -6
- package/src/proxy.d.ts +6 -6
- package/src/queue-index.d.ts +9 -9
- package/src/redis-index.d.ts +5 -5
- package/src/routes/CoreRoutes.d.ts +1 -1
- package/src/routes/CoreRoutes.js +1 -1
- package/src/routes/RouteRegistry.d.ts +1 -1
- package/src/routes/Router.d.ts +3 -3
- package/src/routes/doc.d.ts +4 -4
- package/src/routes/error.d.ts +4 -4
- package/src/routes/errorPages.d.ts +2 -2
- package/src/routes/health.d.ts +1 -1
- package/src/routes/metrics.d.ts +1 -1
- package/src/routes/openapi.d.ts +1 -1
- package/src/runtime/PluginAutoImports.d.ts +1 -1
- package/src/runtime/PluginManager.d.ts +1 -1
- package/src/runtime/ProjectRuntime.d.ts +1 -1
- package/src/runtime/RuntimeAdapter.d.ts +1 -1
- package/src/runtime/WorkerProjectPlugins.d.ts +1 -1
- package/src/runtime/adapters/CloudflareAdapter.d.ts +1 -1
- package/src/runtime/adapters/DenoAdapter.d.ts +1 -1
- package/src/runtime/adapters/FargateAdapter.d.ts +2 -2
- package/src/runtime/adapters/LambdaAdapter.d.ts +1 -1
- package/src/runtime/adapters/NodeServerAdapter.d.ts +1 -1
- package/src/runtime/getKernel.d.ts +1 -1
- package/src/runtime-index.d.ts +95 -95
- package/src/scheduler/Schedule.d.ts +1 -1
- package/src/scheduler/ScheduleHttpGateway.d.ts +1 -1
- package/src/scheduler/ScheduleRunner.d.ts +2 -2
- package/src/scheduler/SchedulerRuntime.d.ts +3 -3
- package/src/scheduler/index.d.ts +2 -2
- package/src/scheduler-index.d.ts +9 -9
- package/src/schedules/index.d.ts +2 -2
- package/src/scripts/TemplateImportsCheck.js +1 -2
- package/src/scripts-index.d.ts +3 -3
- package/src/security/JwtManager.d.ts +1 -1
- package/src/security/JwtVerifier.d.ts +1 -1
- package/src/security/SecurePayload.d.ts +2 -2
- package/src/security-index.d.ts +22 -22
- package/src/seeders/SeederLoader.d.ts +1 -1
- package/src/seeders/types.d.ts +1 -1
- package/src/seeders-index.d.ts +3 -3
- package/src/session/index.d.ts +2 -2
- package/src/socket-index.d.ts +4 -4
- package/src/sockets/SocketRuntime.d.ts +4 -4
- package/src/sockets/SocketRuntimeRegistry.d.ts +1 -1
- package/src/start.d.ts +1 -1
- package/src/storage-index.d.ts +9 -9
- package/src/tasks.d.ts +1 -1
- package/src/templates-index.d.ts +1 -1
- package/src/testing/TestEnvironment.d.ts +3 -3
- package/src/testing/TestHttp.d.ts +2 -2
- package/src/testing/index.d.ts +4 -4
- package/src/testing/index.js +2 -2
- package/src/testing-index.d.ts +2 -2
- package/src/time/index.d.ts +2 -2
- package/src/toolkit/Secrets/index.d.ts +2 -2
- package/src/toolkit/Secrets/index.js +4 -4
- package/src/tools/broadcast/Broadcast.d.ts +2 -2
- package/src/tools/broadcast/Broadcast.js +1 -1
- package/src/tools/broadcast/BroadcastRegistry.d.ts +1 -1
- package/src/tools/broadcast/BroadcastRuntimeRegistration.d.ts +1 -1
- package/src/tools/broadcast/drivers/Pusher.d.ts +1 -1
- package/src/tools/broadcast/index.d.ts +9 -9
- package/src/tools/http/Http.d.ts +2 -2
- package/src/tools/http/index.d.ts +6 -6
- package/src/tools/mail/Mail.d.ts +1 -1
- package/src/tools/mail/drivers/Cloudflare.d.ts +1 -1
- package/src/tools/mail/drivers/Cloudflare.js +1 -1
- package/src/tools/mail/drivers/Smtp.d.ts +1 -1
- package/src/tools/mail/drivers/Smtp.js +1 -1
- package/src/tools/mail/index.d.ts +1 -1
- package/src/tools/mail/template-loader.d.ts +1 -1
- package/src/tools/notification/Notification.d.ts +2 -2
- package/src/tools/notification/NotificationChannelRegistry.d.ts +1 -1
- package/src/tools/notification/NotificationRuntimeRegistration.d.ts +1 -1
- package/src/tools/notification/drivers/SlackNotification.js +1 -1
- package/src/tools/notification/drivers/TwilioNotification.js +1 -1
- package/src/tools/notification/templates/markdown/index.d.ts +1 -1
- package/src/tools/notification/templates/markdown/index.js +1 -1
- package/src/tools/notification/templates/markdown/registry.d.ts +1 -1
- package/src/tools/notification/templates/markdown/registry.js +1 -1
- package/src/tools/queue/AdvancedQueue.d.ts +3 -3
- package/src/tools/queue/DeduplicationBuilder.d.ts +1 -1
- package/src/tools/queue/IdempotencyManager.d.ts +1 -1
- package/src/tools/queue/JobRecoveryDaemon.d.ts +1 -1
- package/src/tools/queue/JobStateTrackerDbPersistence.d.ts +1 -1
- package/src/tools/queue/LockProvider.d.ts +1 -1
- package/src/tools/queue/Queue.d.ts +1 -1
- package/src/tools/queue/QueueExtensions.d.ts +3 -3
- package/src/tools/queue/QueueExtensions.js +1 -1
- package/src/tools/queue/QueueRuntimeRegistration.d.ts +1 -1
- package/src/tools/queue/QueueRuntimeRegistration.js +5 -5
- package/src/tools/queue/drivers/Database.d.ts +1 -1
- package/src/tools/queue/drivers/InMemory.d.ts +1 -1
- package/src/tools/queue/drivers/Redis.d.ts +1 -1
- package/src/tools/queue/index.d.ts +15 -15
- package/src/tools/redis/RedisTransport.d.ts +1 -1
- package/src/tools/storage/StorageRuntimeRegistration.d.ts +1 -1
- package/src/tools/storage/drivers/R2.js +1 -1
- package/src/tools/storage/index.d.ts +1 -1
- package/src/tools/templates/index.d.ts +1 -1
- package/src/tools-broadcast-index.d.ts +4 -4
- package/src/tools-http-index.d.ts +2 -2
- package/src/tools-index.d.ts +22 -22
- package/src/tools-mail-index.d.ts +12 -12
- package/src/tools-notification-index.d.ts +7 -7
- package/src/tools-queue-index.d.ts +17 -17
- package/src/tools-storage-index.d.ts +9 -9
- package/src/trace-index.d.ts +1 -1
- package/src/utils-index.d.ts +4 -4
- package/src/validation/Validator.d.ts +2 -2
- package/src/worker-commands.d.ts +1 -1
- package/src/worker-runtime/drain.d.ts +1 -1
- package/src/worker-runtime/install-enqueue-hook.d.ts +2 -2
- package/src/worker-runtime/ping.d.ts +2 -2
- package/src/worker-runtime.d.ts +4 -4
- package/src/workers-index.d.ts +4 -4
package/src/cli-index.d.ts
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
* ZinTrust CLI Utilities - Non-runtime entrypoint
|
|
3
3
|
* Contains CLI tools and commands for development/admin use
|
|
4
4
|
*/
|
|
5
|
-
export { BaseCommand } from './cli/BaseCommand';
|
|
6
|
-
export type { CommandOptions } from './cli/BaseCommand';
|
|
7
|
-
export { CLI } from './cli/CLI';
|
|
8
|
-
export { EXIT_CODES, ErrorHandler } from './cli/ErrorHandler';
|
|
9
|
-
export { TraceCommands } from './cli/commands/TraceCommands';
|
|
10
|
-
export { WorkerCommands } from './cli/commands/WorkerCommands';
|
|
11
|
-
export { OptionalCliCommandRegistry } from './cli/OptionalCliCommandRegistry';
|
|
12
|
-
export type { CliCommandProvider } from './cli/OptionalCliCommandRegistry';
|
|
13
|
-
export { LocalD1Resolver } from './cli/d1/LocalD1Resolver';
|
|
14
|
-
export { WranglerConfig } from './cli/d1/WranglerConfig';
|
|
15
|
-
export { WranglerD1 } from './cli/d1/WranglerD1';
|
|
5
|
+
export { BaseCommand } from './cli/BaseCommand.js';
|
|
6
|
+
export type { CommandOptions } from './cli/BaseCommand.js';
|
|
7
|
+
export { CLI } from './cli/CLI.js';
|
|
8
|
+
export { EXIT_CODES, ErrorHandler } from './cli/ErrorHandler.js';
|
|
9
|
+
export { TraceCommands } from './cli/commands/TraceCommands.js';
|
|
10
|
+
export { WorkerCommands } from './cli/commands/WorkerCommands.js';
|
|
11
|
+
export { OptionalCliCommandRegistry } from './cli/OptionalCliCommandRegistry.js';
|
|
12
|
+
export type { CliCommandProvider } from './cli/OptionalCliCommandRegistry.js';
|
|
13
|
+
export { LocalD1Resolver } from './cli/d1/LocalD1Resolver.js';
|
|
14
|
+
export { WranglerConfig } from './cli/d1/WranglerConfig.js';
|
|
15
|
+
export { WranglerD1 } from './cli/d1/WranglerD1.js';
|
|
16
16
|
//# sourceMappingURL=cli-index.d.ts.map
|
package/src/cli.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { BaseCommand } from './cli/BaseCommand';
|
|
2
|
-
export type { CommandOptions } from './cli/BaseCommand';
|
|
3
|
-
export { CLI } from './cli/CLI';
|
|
4
|
-
export { ErrorHandler, EXIT_CODES } from './cli/ErrorHandler';
|
|
5
|
-
export { TraceCommands } from './cli/commands/TraceCommands';
|
|
6
|
-
export { WorkerCommands } from './cli/commands/WorkerCommands';
|
|
7
|
-
export { OptionalCliCommandRegistry } from './cli/OptionalCliCommandRegistry';
|
|
8
|
-
export type { CliCommandProvider } from './cli/OptionalCliCommandRegistry';
|
|
1
|
+
export { BaseCommand } from './cli/BaseCommand.js';
|
|
2
|
+
export type { CommandOptions } from './cli/BaseCommand.js';
|
|
3
|
+
export { CLI } from './cli/CLI.js';
|
|
4
|
+
export { ErrorHandler, EXIT_CODES } from './cli/ErrorHandler.js';
|
|
5
|
+
export { TraceCommands } from './cli/commands/TraceCommands.js';
|
|
6
|
+
export { WorkerCommands } from './cli/commands/WorkerCommands.js';
|
|
7
|
+
export { OptionalCliCommandRegistry } from './cli/OptionalCliCommandRegistry.js';
|
|
8
|
+
export type { CliCommandProvider } from './cli/OptionalCliCommandRegistry.js';
|
|
9
9
|
//# sourceMappingURL=cli.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { collect, Collection } from './Collection';
|
|
2
|
-
export type { ICollection, PrimitiveKey } from './Collection';
|
|
1
|
+
export { collect, Collection } from './Collection.js';
|
|
2
|
+
export type { ICollection, PrimitiveKey } from './Collection.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Shared Utilities for External Service Drivers
|
|
3
3
|
* Common patterns for API calls, environment variable reading, and error handling
|
|
4
4
|
*/
|
|
5
|
-
export { parseJsonObjectEnv, readWorkersEnvString, readWorkersFallbackBool, readWorkersFallbackInt, readWorkersFallbackString, } from './EnvFallbackUtils';
|
|
5
|
+
export { parseJsonObjectEnv, readWorkersEnvString, readWorkersFallbackBool, readWorkersFallbackInt, readWorkersFallbackString, } from './EnvFallbackUtils.js';
|
|
6
6
|
export type TracedFetchTraceOptions = {
|
|
7
7
|
source?: string;
|
|
8
8
|
};
|
package/src/common/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Abstracts secrets retrieval across different cloud platforms
|
|
4
4
|
* Supports: AWS Secrets Manager, Parameter Store, Cloudflare KV, Deno env
|
|
5
5
|
*/
|
|
6
|
-
import type { GetSecretOptions, SecretConfig, SecretsManagerInstance, SetSecretOptions } from './type';
|
|
6
|
+
import type { GetSecretOptions, SecretConfig, SecretsManagerInstance, SetSecretOptions } from './type.js';
|
|
7
7
|
/**
|
|
8
8
|
* SecretsManager - Unified interface for retrieving secrets
|
|
9
9
|
* Sealed namespace for immutability
|
package/src/config/app.d.ts
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Centralizes broadcast driver selection and provider env mappings.
|
|
5
5
|
* Driver selection must be dynamic (tests may mutate process.env).
|
|
6
6
|
*/
|
|
7
|
-
import type { BroadcastDrivers, KnownBroadcastDriverConfig } from './type';
|
|
8
|
-
import type { IRequest } from '../http/Request';
|
|
7
|
+
import type { BroadcastDrivers, KnownBroadcastDriverConfig } from './type.js';
|
|
8
|
+
import type { IRequest } from '../http/Request.js';
|
|
9
9
|
type SocketBroadcastAuthorizationContext = Readonly<{
|
|
10
10
|
channelName: string;
|
|
11
11
|
socketId: string;
|
package/src/config/cache.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Caching drivers and settings
|
|
4
4
|
* Sealed namespace for immutability
|
|
5
5
|
*/
|
|
6
|
-
import type { CacheConfigInput, CacheDriverConfig } from './type';
|
|
6
|
+
import type { CacheConfigInput, CacheDriverConfig } from './type.js';
|
|
7
7
|
export type CacheConfigOverrides = Partial<{
|
|
8
8
|
default: string;
|
|
9
9
|
drivers: CacheConfigInput['drivers'];
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Centralizes access to Workers bindings via globalThis.env.
|
|
5
5
|
* This keeps runtime-specific globals out of adapters/drivers.
|
|
6
6
|
*/
|
|
7
|
-
import type { AssetsBinding, KVNamespace, WorkersEnv } from './type';
|
|
8
|
-
import type { DatabaseConfig, ID1Database } from '../orm/DatabaseAdapter';
|
|
7
|
+
import type { AssetsBinding, KVNamespace, WorkersEnv } from './type.js';
|
|
8
|
+
import type { DatabaseConfig, ID1Database } from '../orm/DatabaseAdapter.js';
|
|
9
9
|
export declare const Cloudflare: Readonly<{
|
|
10
10
|
getWorkersEnv: () => WorkersEnv | null;
|
|
11
11
|
getD1Binding: (config: DatabaseConfig) => ID1Database | null;
|
package/src/config/database.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Database connections and pooling settings
|
|
4
4
|
* Sealed namespace for immutability
|
|
5
5
|
*/
|
|
6
|
-
import type { DatabaseConfigShape, DatabaseConnectionConfig, DatabaseConnections } from './type';
|
|
6
|
+
import type { DatabaseConfigShape, DatabaseConnectionConfig, DatabaseConnections } from './type.js';
|
|
7
7
|
export type DatabaseConfigOverrides = Partial<{
|
|
8
8
|
default: string;
|
|
9
9
|
connections: DatabaseConnections;
|
package/src/config/env.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Sealed namespace pattern - all exports through Env namespace
|
|
6
6
|
* Safe for both Node.js and serverless runtimes (Cloudflare Workers, Deno, Lambda)
|
|
7
7
|
*/
|
|
8
|
-
import type { ProcessLike } from './type';
|
|
8
|
+
import type { ProcessLike } from './type.js';
|
|
9
9
|
export type EnvSource = Record<string, unknown> | (() => Record<string, unknown>);
|
|
10
10
|
export type ResolvedEnvState = {
|
|
11
11
|
values: Record<string, string>;
|
package/src/config/features.d.ts
CHANGED
package/src/config/index.d.ts
CHANGED
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
* Configuration Exports
|
|
3
3
|
* Central export point for all configuration
|
|
4
4
|
*/
|
|
5
|
-
export { appConfig, type AppConfig } from './app';
|
|
6
|
-
export { default as broadcastConfig } from './broadcast';
|
|
7
|
-
export { cacheConfig, type CacheConfig } from './cache';
|
|
8
|
-
export { databaseConfig, type DatabaseConfig } from './database';
|
|
9
|
-
export { default as FeatureFlags } from './features';
|
|
10
|
-
export { microservicesConfig, type MicroservicesConfig } from './microservices';
|
|
11
|
-
export { middlewareConfig } from './middleware';
|
|
12
|
-
export { notificationConfig, type NotificationConfig } from './notification';
|
|
13
|
-
export { queueConfig, type QueueConfig } from './queue';
|
|
14
|
-
export { securityConfig } from './security';
|
|
15
|
-
export { storageConfig, type StorageConfig } from './storage';
|
|
16
|
-
export type { MiddlewareConfigType } from './type';
|
|
17
|
-
export { createRedisConnection } from './workers';
|
|
5
|
+
export { appConfig, type AppConfig } from './app.js';
|
|
6
|
+
export { default as broadcastConfig } from './broadcast.js';
|
|
7
|
+
export { cacheConfig, type CacheConfig } from './cache.js';
|
|
8
|
+
export { databaseConfig, type DatabaseConfig } from './database.js';
|
|
9
|
+
export { default as FeatureFlags } from './features.js';
|
|
10
|
+
export { microservicesConfig, type MicroservicesConfig } from './microservices.js';
|
|
11
|
+
export { middlewareConfig } from './middleware.js';
|
|
12
|
+
export { notificationConfig, type NotificationConfig } from './notification.js';
|
|
13
|
+
export { queueConfig, type QueueConfig } from './queue.js';
|
|
14
|
+
export { securityConfig } from './security.js';
|
|
15
|
+
export { storageConfig, type StorageConfig } from './storage.js';
|
|
16
|
+
export type { MiddlewareConfigType } from './type.js';
|
|
17
|
+
export { createRedisConnection } from './workers.js';
|
|
18
18
|
/**
|
|
19
19
|
* Combined configuration object
|
|
20
20
|
* Sealed namespace for immutability
|
|
@@ -23,7 +23,7 @@ export declare const config: Readonly<{
|
|
|
23
23
|
readonly app: Readonly<{
|
|
24
24
|
readonly name: string;
|
|
25
25
|
readonly prefix: string;
|
|
26
|
-
readonly environment: import("./type").StartMode;
|
|
26
|
+
readonly environment: import("./type.js").StartMode;
|
|
27
27
|
readonly port: number;
|
|
28
28
|
readonly host: string;
|
|
29
29
|
readonly isDevelopment: () => boolean;
|
|
@@ -42,15 +42,15 @@ export declare const config: Readonly<{
|
|
|
42
42
|
}>;
|
|
43
43
|
readonly broadcast: {
|
|
44
44
|
default: string;
|
|
45
|
-
drivers: import("./type").BroadcastDrivers;
|
|
46
|
-
socket: import("./broadcast").SocketBroadcastConfig;
|
|
45
|
+
drivers: import("./type.js").BroadcastDrivers;
|
|
46
|
+
socket: import("./broadcast.js").SocketBroadcastConfig;
|
|
47
47
|
getDriverName: () => string;
|
|
48
|
-
getDriverConfig: (name?: string) => import("./type").KnownBroadcastDriverConfig;
|
|
48
|
+
getDriverConfig: (name?: string) => import("./type.js").KnownBroadcastDriverConfig;
|
|
49
49
|
};
|
|
50
50
|
readonly database: {
|
|
51
51
|
default: string;
|
|
52
|
-
connections: import("./type").DatabaseConnections;
|
|
53
|
-
getConnection: (this: import("./type").DatabaseConfigShape) => import("./type").DatabaseConnectionConfig;
|
|
52
|
+
connections: import("./type.js").DatabaseConnections;
|
|
53
|
+
getConnection: (this: import("./type.js").DatabaseConfigShape) => import("./type.js").DatabaseConnectionConfig;
|
|
54
54
|
logging: {
|
|
55
55
|
enabled: boolean;
|
|
56
56
|
level: string;
|
|
@@ -63,9 +63,9 @@ export declare const config: Readonly<{
|
|
|
63
63
|
directory: string;
|
|
64
64
|
};
|
|
65
65
|
};
|
|
66
|
-
readonly storage: import("./type").StorageConfigRuntime & {
|
|
67
|
-
getDriver: (this: import("./type").StorageConfigRuntime) => import("./type").StorageDriverConfig;
|
|
68
|
-
getDriverConfig: (this: import("./type").StorageConfigRuntime, name?: string) => import("./type").StorageDriverConfig;
|
|
66
|
+
readonly storage: import("./type.js").StorageConfigRuntime & {
|
|
67
|
+
getDriver: (this: import("./type.js").StorageConfigRuntime) => import("./type.js").StorageDriverConfig;
|
|
68
|
+
getDriverConfig: (this: import("./type.js").StorageConfigRuntime, name?: string) => import("./type.js").StorageDriverConfig;
|
|
69
69
|
temp: {
|
|
70
70
|
path: string;
|
|
71
71
|
maxAge: number;
|
|
@@ -82,10 +82,10 @@ export declare const config: Readonly<{
|
|
|
82
82
|
};
|
|
83
83
|
readonly notification: {
|
|
84
84
|
default: string;
|
|
85
|
-
drivers: import("./type").NotificationDrivers;
|
|
86
|
-
providers: import("./type").NotificationProviders;
|
|
85
|
+
drivers: import("./type.js").NotificationDrivers;
|
|
86
|
+
providers: import("./type.js").NotificationProviders;
|
|
87
87
|
getDriverName: () => string;
|
|
88
|
-
getDriverConfig: (name?: string) => import("./type").KnownNotificationDriverConfig;
|
|
88
|
+
getDriverConfig: (name?: string) => import("./type.js").KnownNotificationDriverConfig;
|
|
89
89
|
};
|
|
90
90
|
readonly security: Readonly<{
|
|
91
91
|
readonly jwt: {
|
|
@@ -213,18 +213,18 @@ export declare const config: Readonly<{
|
|
|
213
213
|
readonly namespace: string;
|
|
214
214
|
};
|
|
215
215
|
}>;
|
|
216
|
-
readonly middleware: import("./type").MiddlewareConfigType;
|
|
216
|
+
readonly middleware: import("./type.js").MiddlewareConfigType;
|
|
217
217
|
readonly cache: {
|
|
218
218
|
default: string;
|
|
219
|
-
drivers: import("./type").CacheConfigInput["drivers"];
|
|
220
|
-
getDriver: (name?: string) => import("./type").CacheDriverConfig;
|
|
219
|
+
drivers: import("./type.js").CacheConfigInput["drivers"];
|
|
220
|
+
getDriver: (name?: string) => import("./type.js").CacheDriverConfig;
|
|
221
221
|
keyPrefix: string;
|
|
222
222
|
ttl: number;
|
|
223
223
|
};
|
|
224
224
|
readonly queue: {
|
|
225
|
-
default: import("./type").QueueDriverName;
|
|
226
|
-
drivers: import("./type").QueueDriversConfig;
|
|
227
|
-
getDriver: (driverConfig: import("./type").QueueConfigWithDrivers) => import("./type").QueueDriversConfig[import("./type").QueueDriverName];
|
|
225
|
+
default: import("./type.js").QueueDriverName;
|
|
226
|
+
drivers: import("./type.js").QueueDriversConfig;
|
|
227
|
+
getDriver: (driverConfig: import("./type.js").QueueConfigWithDrivers) => import("./type.js").QueueDriversConfig[import("./type.js").QueueDriverName];
|
|
228
228
|
failed: {
|
|
229
229
|
database: string;
|
|
230
230
|
table: string;
|
package/src/config/logger.d.ts
CHANGED
package/src/config/mail.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Runtime mail drivers and settings
|
|
4
4
|
* Sealed namespace for immutability
|
|
5
5
|
*/
|
|
6
|
-
import type { MailConfigInput, MailDriverConfig } from './type';
|
|
6
|
+
import type { MailConfigInput, MailDriverConfig } from './type.js';
|
|
7
7
|
export type MailConfigOverrides = Partial<{
|
|
8
8
|
default: string;
|
|
9
9
|
from: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { MiddlewareConfigType } from './type';
|
|
2
|
-
import type { MiddlewareFailureResponder } from '../middleware/MiddlewareFailureResponder';
|
|
3
|
-
import type { Middleware } from '../middleware/MiddlewareStack';
|
|
1
|
+
import type { MiddlewareConfigType } from './type.js';
|
|
2
|
+
import type { MiddlewareFailureResponder } from '../middleware/MiddlewareFailureResponder.js';
|
|
3
|
+
import type { Middleware } from '../middleware/MiddlewareStack.js';
|
|
4
4
|
type SharedMiddlewares = {
|
|
5
5
|
log: Middleware;
|
|
6
6
|
error: Middleware;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Config-first mapping of notification providers/channels.
|
|
5
5
|
* Driver selection must be dynamic (tests may mutate process.env).
|
|
6
6
|
*/
|
|
7
|
-
import type { KnownNotificationDriverConfig, NotificationDrivers, NotificationProviders } from './type';
|
|
7
|
+
import type { KnownNotificationDriverConfig, NotificationDrivers, NotificationProviders } from './type.js';
|
|
8
8
|
export type NotificationConfigOverrides = Partial<{
|
|
9
9
|
default: string;
|
|
10
10
|
drivers: NotificationDrivers;
|
package/src/config/queue.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Background job and message queue settings
|
|
4
4
|
* Sealed namespace for immutability
|
|
5
5
|
*/
|
|
6
|
-
import type { QueueConfigWithDrivers, QueueDriverName, QueueDriversConfig } from './type';
|
|
6
|
+
import type { QueueConfigWithDrivers, QueueDriverName, QueueDriversConfig } from './type.js';
|
|
7
7
|
export type QueueConfigOverrides = Partial<{
|
|
8
8
|
default: QueueDriverName;
|
|
9
9
|
drivers: Partial<QueueDriversConfig>;
|
package/src/config/redis.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { RedisBroadcastDriverConfig } from './type';
|
|
2
|
-
import type { QueueMessage } from '../tools/queue/Queue';
|
|
1
|
+
import type { RedisBroadcastDriverConfig } from './type.js';
|
|
2
|
+
import type { QueueMessage } from '../tools/queue/Queue.js';
|
|
3
3
|
export type QueueDriver = {
|
|
4
4
|
enqueue<T = unknown>(queue: string, payload: T): Promise<string>;
|
|
5
5
|
dequeue<T = unknown>(queue: string): Promise<QueueMessage<T> | undefined>;
|
package/src/config/storage.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* File storage and cloud storage settings
|
|
4
4
|
* Sealed namespace for immutability
|
|
5
5
|
*/
|
|
6
|
-
import type { StorageConfigRuntime, StorageDriverConfig, StorageDrivers } from './type';
|
|
6
|
+
import type { StorageConfigRuntime, StorageDriverConfig, StorageDrivers } from './type.js';
|
|
7
7
|
export type StorageConfigOverrides = Partial<{
|
|
8
8
|
default: string;
|
|
9
9
|
drivers: Partial<StorageDrivers> & Record<string, StorageDriverConfig>;
|
package/src/config/type.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Env } from './env';
|
|
2
|
-
import type { Middleware as MiddlewareFn } from '../middleware/MiddlewareStack';
|
|
1
|
+
import type { Env } from './env.js';
|
|
2
|
+
import type { Middleware as MiddlewareFn } from '../middleware/MiddlewareStack.js';
|
|
3
3
|
export type Environment = 'development' | 'dev' | 'production' | 'prod' | 'pro' | 'testing' | 'test';
|
|
4
4
|
export type StartMode = 'development' | 'production' | 'testing';
|
|
5
5
|
export type EnvGetValue = ReturnType<typeof Env.get>;
|
package/src/config/workers.d.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Background worker management settings
|
|
4
4
|
* Sealed namespace for immutability
|
|
5
5
|
*/
|
|
6
|
-
import { type RedisTransportOptions } from '../tools/redis/RedisTransport';
|
|
7
|
-
import type { RedisConfig, WorkersGlobalConfig } from './type';
|
|
6
|
+
import { type RedisTransportOptions } from '../tools/redis/RedisTransport.js';
|
|
7
|
+
import type { RedisConfig, WorkersGlobalConfig } from './type.js';
|
|
8
8
|
import type IORedis from 'ioredis';
|
|
9
9
|
export declare const createRedisConnection: (config: RedisConfig, maxRetries?: number, options?: RedisTransportOptions) => IORedis;
|
|
10
10
|
export declare const shutdownRedisConnections: () => Promise<void>;
|
package/src/config-index.d.ts
CHANGED
|
@@ -2,39 +2,39 @@
|
|
|
2
2
|
* ZinTrust Config - Configuration helpers and config objects
|
|
3
3
|
* Contains all configuration utilities and constants
|
|
4
4
|
*/
|
|
5
|
-
export { appConfig } from './config/app';
|
|
6
|
-
export type { AppConfig } from './config/app';
|
|
7
|
-
export { default as broadcastConfig, clearBroadcastConfigCache } from './config/broadcast';
|
|
8
|
-
export type { BroadcastConfigOverrides, SocketBroadcastConfig } from './config/broadcast';
|
|
9
|
-
export { cacheConfig } from './config/cache';
|
|
10
|
-
export type { CacheConfig, CacheConfigOverrides } from './config/cache';
|
|
11
|
-
export { Cloudflare } from './config/cloudflare';
|
|
12
|
-
export { Constants, DEFAULTS, ENV_KEYS, HTTP_HEADERS, MIME_TYPES } from './config/constants';
|
|
13
|
-
export { databaseConfig } from './config/database';
|
|
14
|
-
export type { DatabaseConfigOverrides, DatabaseConfig as DatabaseRuntimeConfig, } from './config/database';
|
|
15
|
-
export { Env } from './config/env';
|
|
16
|
-
export { FeatureFlags } from './config/features';
|
|
17
|
-
export { mailConfig } from './config/mail';
|
|
18
|
-
export type { MailConfig, MailConfigOverrides } from './config/mail';
|
|
19
|
-
export { microservicesConfig } from './config/microservices';
|
|
20
|
-
export type { MicroservicesConfig } from './config/microservices';
|
|
21
|
-
export { MiddlewareKeys, clearMiddlewareConfigCache, middlewareConfig } from './config/middleware';
|
|
22
|
-
export type { MiddlewareKey } from './config/middleware';
|
|
23
|
-
export { default as notificationConfig } from './config/notification';
|
|
24
|
-
export type { NotificationConfig, NotificationConfigOverrides } from './config/notification';
|
|
25
|
-
export { createBaseDrivers, queueConfig } from './config/queue';
|
|
26
|
-
export type { QueueConfig, QueueConfigOverrides } from './config/queue';
|
|
27
|
-
export * from './config/redis';
|
|
28
|
-
export { SECRETS, SecretsManager, getDatabaseCredentials, getJwtSecrets, } from './config/SecretsManager';
|
|
29
|
-
export type { DatabaseCredentials, JwtSecrets } from './config/SecretsManager';
|
|
30
|
-
export { securityConfig } from './config/security';
|
|
31
|
-
export { startupConfig } from './config/startup';
|
|
32
|
-
export type { StartupConfig } from './config/startup';
|
|
33
|
-
export { StartupConfigValidator } from './config/StartupConfigValidator';
|
|
34
|
-
export { storageConfig } from './config/storage';
|
|
35
|
-
export type { StorageConfig, StorageConfigOverrides } from './config/storage';
|
|
36
|
-
export type * from './config/type';
|
|
37
|
-
export type { AssetsBinding, MailDriverConfig, MailDriverName, MiddlewareConfigType, RedisConfig, WorkerAutoScalingConfig, WorkerComplianceConfig, WorkerConfig, WorkerCostConfig, WorkerObservabilityConfig, WorkerStatus, WorkerVersioningConfig, WorkersConfigOverrides, WorkersEnv, WorkersGlobalConfig, } from './config/type';
|
|
38
|
-
export { createRedisConnection, workersConfig } from './config/workers';
|
|
39
|
-
export { Schema as MigrationSchema, type Blueprint } from './migrations/schema';
|
|
5
|
+
export { appConfig } from './config/app.js';
|
|
6
|
+
export type { AppConfig } from './config/app.js';
|
|
7
|
+
export { default as broadcastConfig, clearBroadcastConfigCache } from './config/broadcast.js';
|
|
8
|
+
export type { BroadcastConfigOverrides, SocketBroadcastConfig } from './config/broadcast.js';
|
|
9
|
+
export { cacheConfig } from './config/cache.js';
|
|
10
|
+
export type { CacheConfig, CacheConfigOverrides } from './config/cache.js';
|
|
11
|
+
export { Cloudflare } from './config/cloudflare.js';
|
|
12
|
+
export { Constants, DEFAULTS, ENV_KEYS, HTTP_HEADERS, MIME_TYPES } from './config/constants.js';
|
|
13
|
+
export { databaseConfig } from './config/database.js';
|
|
14
|
+
export type { DatabaseConfigOverrides, DatabaseConfig as DatabaseRuntimeConfig, } from './config/database.js';
|
|
15
|
+
export { Env } from './config/env.js';
|
|
16
|
+
export { FeatureFlags } from './config/features.js';
|
|
17
|
+
export { mailConfig } from './config/mail.js';
|
|
18
|
+
export type { MailConfig, MailConfigOverrides } from './config/mail.js';
|
|
19
|
+
export { microservicesConfig } from './config/microservices.js';
|
|
20
|
+
export type { MicroservicesConfig } from './config/microservices.js';
|
|
21
|
+
export { MiddlewareKeys, clearMiddlewareConfigCache, middlewareConfig } from './config/middleware.js';
|
|
22
|
+
export type { MiddlewareKey } from './config/middleware.js';
|
|
23
|
+
export { default as notificationConfig } from './config/notification.js';
|
|
24
|
+
export type { NotificationConfig, NotificationConfigOverrides } from './config/notification.js';
|
|
25
|
+
export { createBaseDrivers, queueConfig } from './config/queue.js';
|
|
26
|
+
export type { QueueConfig, QueueConfigOverrides } from './config/queue.js';
|
|
27
|
+
export * from './config/redis.js';
|
|
28
|
+
export { SECRETS, SecretsManager, getDatabaseCredentials, getJwtSecrets, } from './config/SecretsManager.js';
|
|
29
|
+
export type { DatabaseCredentials, JwtSecrets } from './config/SecretsManager.js';
|
|
30
|
+
export { securityConfig } from './config/security.js';
|
|
31
|
+
export { startupConfig } from './config/startup.js';
|
|
32
|
+
export type { StartupConfig } from './config/startup.js';
|
|
33
|
+
export { StartupConfigValidator } from './config/StartupConfigValidator.js';
|
|
34
|
+
export { storageConfig } from './config/storage.js';
|
|
35
|
+
export type { StorageConfig, StorageConfigOverrides } from './config/storage.js';
|
|
36
|
+
export type * from './config/type.js';
|
|
37
|
+
export type { AssetsBinding, MailDriverConfig, MailDriverName, MiddlewareConfigType, RedisConfig, WorkerAutoScalingConfig, WorkerComplianceConfig, WorkerConfig, WorkerCostConfig, WorkerObservabilityConfig, WorkerStatus, WorkerVersioningConfig, WorkersConfigOverrides, WorkersEnv, WorkersGlobalConfig, } from './config/type.js';
|
|
38
|
+
export { createRedisConnection, workersConfig } from './config/workers.js';
|
|
39
|
+
export { Schema as MigrationSchema, type Blueprint } from './migrations/schema/index.js';
|
|
40
40
|
//# sourceMappingURL=config-index.d.ts.map
|
package/src/constants-index.d.ts
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* ZinTrust Constants
|
|
3
3
|
* HTTP headers, MIME types, and other constants
|
|
4
4
|
*/
|
|
5
|
-
export { Constants, DEFAULTS, ENV_KEYS, HTTP_HEADERS, MIME_TYPES } from './config/constants';
|
|
6
|
-
export { FeatureFlags } from './config/features';
|
|
5
|
+
export { Constants, DEFAULTS, ENV_KEYS, HTTP_HEADERS, MIME_TYPES } from './config/constants.js';
|
|
6
|
+
export { FeatureFlags } from './config/features.js';
|
|
7
7
|
//# sourceMappingURL=constants-index.d.ts.map
|
package/src/database-index.d.ts
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
* Database Exports
|
|
3
3
|
* Provides database adapters, query builder, and migration utilities
|
|
4
4
|
*/
|
|
5
|
-
export { Database, resetDatabase, useDatabase, useEnsureDbConnected } from './orm/Database';
|
|
6
|
-
export type { IDatabase } from './orm/Database';
|
|
7
|
-
export { BaseAdapter } from './orm/DatabaseAdapter';
|
|
8
|
-
export type { DatabaseConfig, IDatabaseAdapter, QueryResult } from './orm/DatabaseAdapter';
|
|
9
|
-
export { DatabaseAdapterRegistry } from './orm/DatabaseAdapterRegistry';
|
|
10
|
-
export { QueryBuilder } from './orm/QueryBuilder';
|
|
11
|
-
export type { IJoinOnBuilder, InsertResult, IQueryBuilder, JoinOnInput, LatestPerOptions, PaginationOptions, } from './orm/QueryBuilder';
|
|
12
|
-
export { Schema as MigrationSchema } from './migrations/schema';
|
|
13
|
-
export type { Blueprint } from './migrations/schema';
|
|
14
|
-
export { MySQLAdapter } from './orm/adapters/MySQLAdapter';
|
|
15
|
-
export { PostgreSQLAdapter } from './orm/adapters/PostgreSQLAdapter';
|
|
16
|
-
export { SQLiteAdapter } from './orm/adapters/SQLiteAdapter';
|
|
17
|
-
export { SQLServerAdapter } from './orm/adapters/SQLServerAdapter';
|
|
5
|
+
export { Database, resetDatabase, useDatabase, useEnsureDbConnected } from './orm/Database.js';
|
|
6
|
+
export type { IDatabase } from './orm/Database.js';
|
|
7
|
+
export { BaseAdapter } from './orm/DatabaseAdapter.js';
|
|
8
|
+
export type { DatabaseConfig, IDatabaseAdapter, QueryResult } from './orm/DatabaseAdapter.js';
|
|
9
|
+
export { DatabaseAdapterRegistry } from './orm/DatabaseAdapterRegistry.js';
|
|
10
|
+
export { QueryBuilder } from './orm/QueryBuilder.js';
|
|
11
|
+
export type { IJoinOnBuilder, InsertResult, IQueryBuilder, JoinOnInput, LatestPerOptions, PaginationOptions, } from './orm/QueryBuilder.js';
|
|
12
|
+
export { Schema as MigrationSchema } from './migrations/schema/index.js';
|
|
13
|
+
export type { Blueprint } from './migrations/schema/index.js';
|
|
14
|
+
export { MySQLAdapter } from './orm/adapters/MySQLAdapter.js';
|
|
15
|
+
export { PostgreSQLAdapter } from './orm/adapters/PostgreSQLAdapter.js';
|
|
16
|
+
export { SQLiteAdapter } from './orm/adapters/SQLiteAdapter.js';
|
|
17
|
+
export { SQLServerAdapter } from './orm/adapters/SQLServerAdapter.js';
|
|
18
18
|
//# sourceMappingURL=database-index.d.ts.map
|
package/src/errors-index.d.ts
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* Error Handling Exports
|
|
3
3
|
* Provides error factory and error-related utilities
|
|
4
4
|
*/
|
|
5
|
-
export { ErrorFactory } from './exceptions/ZintrustError';
|
|
6
|
-
export type { ZintrustError, ZintrustErrorInit } from './exceptions/ZintrustError';
|
|
5
|
+
export { ErrorFactory } from './exceptions/ZintrustError.js';
|
|
6
|
+
export type { ZintrustError, ZintrustErrorInit } from './exceptions/ZintrustError.js';
|
|
7
7
|
//# sourceMappingURL=errors-index.d.ts.map
|
package/src/events/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { EventDispatcher } from './EventDispatcher';
|
|
2
|
-
export type { EventListener, EventMap, IEventDispatcher } from './EventDispatcher';
|
|
1
|
+
export { EventDispatcher } from './EventDispatcher.js';
|
|
2
|
+
export type { EventListener, EventMap, IEventDispatcher } from './EventDispatcher.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Lightweight boot-time checks that validate the runtime environment before
|
|
5
5
|
* the server starts accepting requests.
|
|
6
6
|
*/
|
|
7
|
-
import type { DatabaseConfig } from '../orm/DatabaseAdapter';
|
|
7
|
+
import type { DatabaseConfig } from '../orm/DatabaseAdapter.js';
|
|
8
8
|
export type StartupHealthCheck = {
|
|
9
9
|
name: string;
|
|
10
10
|
ok: boolean;
|
package/src/helper/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare const isObject: (value: unknown) => value is Record<string, unkno
|
|
|
13
13
|
export declare const isFunction: (value: unknown) => value is (...args: unknown[]) => unknown;
|
|
14
14
|
/** Check whether value is a valid Date object */
|
|
15
15
|
export declare const isDate: (value: unknown) => value is Date;
|
|
16
|
-
export { ShutdownTrace } from './ShutdownTrace';
|
|
16
|
+
export { ShutdownTrace } from './ShutdownTrace.js';
|
|
17
17
|
/**
|
|
18
18
|
* Check if value is "empty".
|
|
19
19
|
* Matches legacy behavior: null, undefined, false, 0, '', '0' are all considered empty.
|
package/src/http/Controller.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Base Controller
|
|
3
3
|
* All controllers extend this class
|
|
4
4
|
*/
|
|
5
|
-
import type { IRequest } from './Request';
|
|
6
|
-
import type { IResponse } from './Response';
|
|
5
|
+
import type { IRequest } from './Request.js';
|
|
6
|
+
import type { IResponse } from './Response.js';
|
|
7
7
|
export interface IController {
|
|
8
8
|
json(res: IResponse, data: unknown, statusCode?: number): void;
|
|
9
9
|
error(res: IResponse, message: string, statusCode?: number): void;
|
package/src/http/FileUpload.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* File Upload Handler
|
|
3
3
|
* Handles multipart/form-data file uploads with validation and storage integration
|
|
4
4
|
*/
|
|
5
|
-
import type { ReadableOptions } from '../node-singletons/stream';
|
|
6
|
-
import type { IRequest } from './Request';
|
|
5
|
+
import type { ReadableOptions } from '../node-singletons/stream.js';
|
|
6
|
+
import type { IRequest } from './Request.js';
|
|
7
7
|
type Streamer = ReadableOptions | NodeJS.ReadableStream;
|
|
8
8
|
export interface UploadedFile {
|
|
9
9
|
fieldName: string;
|
package/src/http/Kernel.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* HTTP Kernel - Request handling and middleware pipeline
|
|
3
3
|
*/
|
|
4
|
-
import type { IServiceContainer } from '../container/ServiceContainer';
|
|
5
|
-
import type { IRouter } from '../routes/Router';
|
|
6
|
-
import type { IRequest } from './Request';
|
|
7
|
-
import type { IResponse } from './Response';
|
|
8
|
-
import type { IMiddlewareStack, Middleware } from '../middleware/MiddlewareStack';
|
|
9
|
-
import type { IncomingMessage, ServerResponse } from '../node-singletons/http';
|
|
10
|
-
import type { ISchedule } from '../scheduler/types';
|
|
4
|
+
import type { IServiceContainer } from '../container/ServiceContainer.js';
|
|
5
|
+
import type { IRouter } from '../routes/Router.js';
|
|
6
|
+
import type { IRequest } from './Request.js';
|
|
7
|
+
import type { IResponse } from './Response.js';
|
|
8
|
+
import type { IMiddlewareStack, Middleware } from '../middleware/MiddlewareStack.js';
|
|
9
|
+
import type { IncomingMessage, ServerResponse } from '../node-singletons/http.js';
|
|
10
|
+
import type { ISchedule } from '../scheduler/types.js';
|
|
11
11
|
export interface IKernel {
|
|
12
12
|
handle(req: IncomingMessage, res: ServerResponse): Promise<void>;
|
|
13
13
|
handleRequest(req: IRequest, res: IResponse): Promise<void>;
|
package/src/http/Request.d.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Request - HTTP Request wrapper
|
|
3
3
|
* Wraps Node.js IncomingMessage with additional utilities
|
|
4
4
|
*/
|
|
5
|
-
import type { FileUploadOptions, IFileUploadHandler, UploadedFile } from './FileUpload';
|
|
6
|
-
import type * as http from '../node-singletons/http';
|
|
7
|
-
import type { JwtPayload } from '../security/JwtManager';
|
|
5
|
+
import type { FileUploadOptions, IFileUploadHandler, UploadedFile } from './FileUpload.js';
|
|
6
|
+
import type * as http from '../node-singletons/http.js';
|
|
7
|
+
import type { JwtPayload } from '../security/JwtManager.js';
|
|
8
8
|
type HeadParam = string | string[] | undefined;
|
|
9
9
|
export interface IRequest {
|
|
10
10
|
sessionId: HeadParam;
|