@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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type BaseProxyOverrides } from '../ProxyServerUtils';
|
|
2
|
-
import type { SqlProxyDatabaseOverrides } from '../SqlProxyDbOverrides';
|
|
1
|
+
import { type BaseProxyOverrides } from '../ProxyServerUtils.js';
|
|
2
|
+
import type { SqlProxyDatabaseOverrides } from '../SqlProxyDbOverrides.js';
|
|
3
3
|
type ProxyOverrides = BaseProxyOverrides & SqlProxyDatabaseOverrides;
|
|
4
4
|
export declare const MySqlProxyServer: Readonly<{
|
|
5
5
|
start(overrides?: ProxyOverrides): Promise<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type BaseProxyOverrides } from '../ProxyServerUtils';
|
|
2
|
-
import type { SqlProxyDatabaseOverrides } from '../SqlProxyDbOverrides';
|
|
1
|
+
import { type BaseProxyOverrides } from '../ProxyServerUtils.js';
|
|
2
|
+
import type { SqlProxyDatabaseOverrides } from '../SqlProxyDbOverrides.js';
|
|
3
3
|
type ProxyOverrides = BaseProxyOverrides & SqlProxyDatabaseOverrides;
|
|
4
4
|
export declare const PostgresProxyServer: Readonly<{
|
|
5
5
|
start(overrides?: ProxyOverrides): Promise<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type BaseProxyOverrides } from '../ProxyServerUtils';
|
|
2
|
-
import type { SqlProxyDatabaseOverrides } from '../SqlProxyDbOverrides';
|
|
1
|
+
import { type BaseProxyOverrides } from '../ProxyServerUtils.js';
|
|
2
|
+
import type { SqlProxyDatabaseOverrides } from '../SqlProxyDbOverrides.js';
|
|
3
3
|
type ProxyOverrides = BaseProxyOverrides & SqlProxyDatabaseOverrides;
|
|
4
4
|
export declare const SqlServerProxyServer: Readonly<{
|
|
5
5
|
start(overrides?: ProxyOverrides): Promise<void>;
|
package/src/proxy-index.d.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* ZinTrust Proxy - Proxy-only integrations
|
|
3
3
|
* Contains proxy utilities and proxy-specific functionality
|
|
4
4
|
*/
|
|
5
|
-
export { ZintrustD1Proxy } from './proxy/d1/ZintrustD1Proxy';
|
|
6
|
-
export { ZintrustEmailProxy } from './proxy/email/ZintrustEmailProxy';
|
|
7
|
-
export { ErrorHandler } from './proxy/ErrorHandler';
|
|
8
|
-
export { ZintrustKvProxy } from './proxy/kv/ZintrustKvProxy';
|
|
9
|
-
export { RequestValidator } from './proxy/RequestValidator';
|
|
10
|
-
export { WorkerSigning } from './proxy/WorkerSigning';
|
|
5
|
+
export { ZintrustD1Proxy } from './proxy/d1/ZintrustD1Proxy.js';
|
|
6
|
+
export { ZintrustEmailProxy } from './proxy/email/ZintrustEmailProxy.js';
|
|
7
|
+
export { ErrorHandler } from './proxy/ErrorHandler.js';
|
|
8
|
+
export { ZintrustKvProxy } from './proxy/kv/ZintrustKvProxy.js';
|
|
9
|
+
export { RequestValidator } from './proxy/RequestValidator.js';
|
|
10
|
+
export { WorkerSigning } from './proxy/WorkerSigning.js';
|
|
11
11
|
//# sourceMappingURL=proxy-index.d.ts.map
|
package/src/proxy.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ZintrustD1Proxy } from './proxy/d1/ZintrustD1Proxy';
|
|
2
|
-
export { ZintrustEmailProxy } from './proxy/email/ZintrustEmailProxy';
|
|
3
|
-
export { ErrorHandler } from './proxy/ErrorHandler';
|
|
4
|
-
export { ZintrustKvProxy } from './proxy/kv/ZintrustKvProxy';
|
|
5
|
-
export { RequestValidator } from './proxy/RequestValidator';
|
|
6
|
-
export { WorkerSigning } from './proxy/WorkerSigning';
|
|
1
|
+
export { ZintrustD1Proxy } from './proxy/d1/ZintrustD1Proxy.js';
|
|
2
|
+
export { ZintrustEmailProxy } from './proxy/email/ZintrustEmailProxy.js';
|
|
3
|
+
export { ErrorHandler } from './proxy/ErrorHandler.js';
|
|
4
|
+
export { ZintrustKvProxy } from './proxy/kv/ZintrustKvProxy.js';
|
|
5
|
+
export { RequestValidator } from './proxy/RequestValidator.js';
|
|
6
|
+
export { WorkerSigning } from './proxy/WorkerSigning.js';
|
|
7
7
|
//# sourceMappingURL=proxy.d.ts.map
|
package/src/queue-index.d.ts
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* Queue Exports
|
|
3
3
|
* Provides queue utilities and types
|
|
4
4
|
*/
|
|
5
|
-
export { resolveDeduplicationLockKey } from './tools/queue/DeduplicationKey';
|
|
6
|
-
export { createLockProvider, getLockProvider, registerLockProvider } from './tools/queue/LockProvider';
|
|
7
|
-
export { Queue, resolveLockPrefix } from './tools/queue/Queue';
|
|
8
|
-
export type { BullMQPayload, QueueMessage } from './tools/queue/Queue';
|
|
9
|
-
export { JobHeartbeatStore } from './tools/queue/JobHeartbeatStore';
|
|
10
|
-
export { JobStateTracker } from './tools/queue/JobStateTracker';
|
|
11
|
-
export { TimeoutManager } from './tools/queue/TimeoutManager';
|
|
12
|
-
export { autoRegisterJobStateTrackerPersistenceFromEnv, createJobStateTrackerDbPersistence, } from './tools/queue/JobStateTrackerDbPersistence';
|
|
13
|
-
export { RedisKeys } from './tools/redis/RedisKeyManager';
|
|
5
|
+
export { resolveDeduplicationLockKey } from './tools/queue/DeduplicationKey.js';
|
|
6
|
+
export { createLockProvider, getLockProvider, registerLockProvider } from './tools/queue/LockProvider.js';
|
|
7
|
+
export { Queue, resolveLockPrefix } from './tools/queue/Queue.js';
|
|
8
|
+
export type { BullMQPayload, QueueMessage } from './tools/queue/Queue.js';
|
|
9
|
+
export { JobHeartbeatStore } from './tools/queue/JobHeartbeatStore.js';
|
|
10
|
+
export { JobStateTracker } from './tools/queue/JobStateTracker.js';
|
|
11
|
+
export { TimeoutManager } from './tools/queue/TimeoutManager.js';
|
|
12
|
+
export { autoRegisterJobStateTrackerPersistenceFromEnv, createJobStateTrackerDbPersistence, } from './tools/queue/JobStateTrackerDbPersistence.js';
|
|
13
|
+
export { RedisKeys } from './tools/redis/RedisKeyManager.js';
|
|
14
14
|
//# sourceMappingURL=queue-index.d.ts.map
|
package/src/redis-index.d.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* ZinTrust Redis - Redis key management utilities
|
|
3
3
|
* Contains Redis key helpers and BullMQ-safe queue name generation
|
|
4
4
|
*/
|
|
5
|
-
export { RedisKeys, createRedisKey, extractOriginalKey, getBullMQSafeQueueName, getPrefix, isAppKey, type RedisKeyType, } from './tools/redis/RedisKeyManager';
|
|
6
|
-
export type { RedisConfig } from './config/type';
|
|
7
|
-
export { createRedisConnection } from './config/workers';
|
|
8
|
-
export type { RedisTransportOptions } from './tools/redis/RedisTransport';
|
|
9
|
-
export { isZedgiRedisExecutorRegistered, registerZedgiRedisExecutor, resolveRedisTransportMode, type RedisTransportMode, } from './tools/redis/RedisTransport';
|
|
5
|
+
export { RedisKeys, createRedisKey, extractOriginalKey, getBullMQSafeQueueName, getPrefix, isAppKey, type RedisKeyType, } from './tools/redis/RedisKeyManager.js';
|
|
6
|
+
export type { RedisConfig } from './config/type.js';
|
|
7
|
+
export { createRedisConnection } from './config/workers.js';
|
|
8
|
+
export type { RedisTransportOptions } from './tools/redis/RedisTransport.js';
|
|
9
|
+
export { isZedgiRedisExecutorRegistered, registerZedgiRedisExecutor, resolveRedisTransportMode, type RedisTransportMode, } from './tools/redis/RedisTransport.js';
|
|
10
10
|
//# sourceMappingURL=redis-index.d.ts.map
|
package/src/routes/CoreRoutes.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Not customizable by developers; provide env-based configuration
|
|
5
5
|
*/
|
|
6
6
|
import { PrometheusMetrics } from '../observability/PrometheusMetrics.js';
|
|
7
|
-
import { registerOpenApiRoutes } from '
|
|
7
|
+
import { registerOpenApiRoutes } from './openapi.js';
|
|
8
8
|
import { registerHealthRoutes } from '../common/HealthRoutes.js';
|
|
9
9
|
import { Env } from '../config/env.js';
|
|
10
10
|
import { registerDocRoutes } from './doc.js';
|
package/src/routes/Router.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type RouteMeta, type RouteMetaInput } from './RouteRegistry';
|
|
2
|
-
import type { IRequest } from '../http/Request';
|
|
3
|
-
import type { IResponse } from '../http/Response';
|
|
1
|
+
import { type RouteMeta, type RouteMetaInput } from './RouteRegistry.js';
|
|
2
|
+
import type { IRequest } from '../http/Request.js';
|
|
3
|
+
import type { IResponse } from '../http/Response.js';
|
|
4
4
|
/**
|
|
5
5
|
* Router - HTTP Routing Engine
|
|
6
6
|
* Matches incoming requests to route handlers
|
package/src/routes/doc.d.ts
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* Documentation Routes
|
|
3
3
|
* Serves static files from /zintrust-doc/* paths with relaxed CSP headers.
|
|
4
4
|
*/
|
|
5
|
-
import type { IRouter } from './Router';
|
|
6
|
-
import type { IResponse } from '../http/Response';
|
|
7
|
-
export { MIME_TYPES_MAP } from './common';
|
|
5
|
+
import type { IRouter } from './Router.js';
|
|
6
|
+
import type { IResponse } from '../http/Response.js';
|
|
7
|
+
export { MIME_TYPES_MAP } from './common.js';
|
|
8
8
|
/**
|
|
9
9
|
* Find the package root directory
|
|
10
10
|
*/
|
|
11
|
-
export { findPackageRoot, findPackageRootAsync, getFrameworkPublicRoots, getFrameworkPublicRootsAsync, getPublicRoot, getPublicRootAsync, } from './publicRoot';
|
|
11
|
+
export { findPackageRoot, findPackageRootAsync, getFrameworkPublicRoots, getFrameworkPublicRootsAsync, getPublicRoot, getPublicRootAsync, } from './publicRoot.js';
|
|
12
12
|
/**
|
|
13
13
|
* Set relaxed CSP headers for docs (allows external assets like Tailwind CDN, Google Fonts)
|
|
14
14
|
*/
|
package/src/routes/error.d.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Error Routing
|
|
3
3
|
* Centralizes 404/500 handling and HTML error page rendering.
|
|
4
4
|
*/
|
|
5
|
-
import type { IRouter } from './Router';
|
|
6
|
-
import type { IRequest } from '../http/Request';
|
|
7
|
-
import type { IResponse } from '../http/Response';
|
|
8
|
-
import type * as http from '../node-singletons/http';
|
|
5
|
+
import type { IRouter } from './Router.js';
|
|
6
|
+
import type { IRequest } from '../http/Request.js';
|
|
7
|
+
import type { IResponse } from '../http/Response.js';
|
|
8
|
+
import type * as http from '../node-singletons/http.js';
|
|
9
9
|
/**
|
|
10
10
|
* Debug routes to always render 404/500 responses.
|
|
11
11
|
*/
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Error Pages Static Assets
|
|
3
3
|
* Serves /error-pages/* assets (CSS/JS/SVG/etc) used by HTML error templates.
|
|
4
4
|
*/
|
|
5
|
-
import type { IRouter } from './Router';
|
|
6
|
-
import type { IResponse } from '../http/Response';
|
|
5
|
+
import type { IRouter } from './Router.js';
|
|
6
|
+
import type { IResponse } from '../http/Response.js';
|
|
7
7
|
export declare const serveErrorPagesFile: (urlPath: string, response: IResponse) => boolean;
|
|
8
8
|
export declare const serveErrorPagesFileAsync: (urlPath: string, response: IResponse) => Promise<boolean>;
|
|
9
9
|
export declare const serveZintrustSvgFile: (response: IResponse) => boolean;
|
package/src/routes/health.d.ts
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
* Health Routes - Re-export from shared module
|
|
3
3
|
* This file maintains backward compatibility while eliminating duplication
|
|
4
4
|
*/
|
|
5
|
-
export { registerHealthRoutes } from '../common/HealthRoutes';
|
|
5
|
+
export { registerHealthRoutes } from '../common/HealthRoutes.js';
|
|
6
6
|
//# sourceMappingURL=health.d.ts.map
|
package/src/routes/metrics.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Exposes Prometheus metrics when enabled.
|
|
5
5
|
*/
|
|
6
|
-
import { type IRouter } from './Router';
|
|
6
|
+
import { type IRouter } from './Router.js';
|
|
7
7
|
export declare function registerMetricsRoutes(router: IRouter): void;
|
|
8
8
|
export default registerMetricsRoutes;
|
|
9
9
|
//# sourceMappingURL=metrics.d.ts.map
|
package/src/routes/openapi.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Serves a generated OpenAPI spec from the in-memory RouteRegistry.
|
|
5
5
|
*/
|
|
6
|
-
import { type IRouter } from './Router';
|
|
6
|
+
import { type IRouter } from './Router.js';
|
|
7
7
|
export declare function registerOpenApiRoutes(router: IRouter): void;
|
|
8
8
|
export default registerOpenApiRoutes;
|
|
9
9
|
//# sourceMappingURL=openapi.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ActiveServiceRuntime, type ProjectRuntimeModule, type ServiceManifestEntry } from '../microservices/ServiceManifest';
|
|
1
|
+
import { type ActiveServiceRuntime, type ProjectRuntimeModule, type ServiceManifestEntry } from '../microservices/ServiceManifest.js';
|
|
2
2
|
export declare const ProjectRuntime: Readonly<{
|
|
3
3
|
clear(): void;
|
|
4
4
|
getCached(): ProjectRuntimeModule | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IncomingMessage, ServerResponse } from '../node-singletons/http';
|
|
1
|
+
import type { IncomingMessage, ServerResponse } from '../node-singletons/http.js';
|
|
2
2
|
type Tbody = string | Buffer | ReadableStream<Uint8Array> | null;
|
|
3
3
|
/**
|
|
4
4
|
* Request body type for handlers
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AdapterConfig, RuntimeAdapter } from '../RuntimeAdapter';
|
|
1
|
+
import type { AdapterConfig, RuntimeAdapter } from '../RuntimeAdapter.js';
|
|
2
2
|
/**
|
|
3
3
|
* Cloudflare Workers adapter for Cloudflare's edge compute platform
|
|
4
4
|
* Uses fetch API and handles D1 database, KV storage bindings
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type IncomingMessage, type Server, type ServerResponse } from '../../node-singletons/http';
|
|
2
|
-
import type { AdapterConfig, RuntimeAdapter } from '../RuntimeAdapter';
|
|
1
|
+
import { type IncomingMessage, type Server, type ServerResponse } from '../../node-singletons/http.js';
|
|
2
|
+
import type { AdapterConfig, RuntimeAdapter } from '../RuntimeAdapter.js';
|
|
3
3
|
export interface FargateEnvironment {
|
|
4
4
|
[key: string]: unknown;
|
|
5
5
|
nodeEnv: NodeJS.ProcessEnv['NODE_ENV'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AdapterConfig, RuntimeAdapter } from '../RuntimeAdapter';
|
|
1
|
+
import type { AdapterConfig, RuntimeAdapter } from '../RuntimeAdapter.js';
|
|
2
2
|
/**
|
|
3
3
|
* AWS Lambda adapter for API Gateway and ALB events
|
|
4
4
|
* Converts Lambda events to standard HTTP format for ZinTrust framework
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AdapterConfig, RuntimeAdapter } from '../RuntimeAdapter';
|
|
1
|
+
import type { AdapterConfig, RuntimeAdapter } from '../RuntimeAdapter.js';
|
|
2
2
|
/**
|
|
3
3
|
* Node.js HTTP Server adapter for standard containers and traditional servers
|
|
4
4
|
* Uses Node.js built-in HTTP server for maximum compatibility
|
package/src/runtime-index.d.ts
CHANGED
|
@@ -9,101 +9,101 @@
|
|
|
9
9
|
*/
|
|
10
10
|
export declare const ZINTRUST_VERSION = "0.1.41";
|
|
11
11
|
export declare const ZINTRUST_BUILD_DATE = "__BUILD_DATE__";
|
|
12
|
-
export { Application } from './boot/Application';
|
|
13
|
-
export { Server } from './boot/Server';
|
|
14
|
-
export { AwsSigV4 } from './common/index';
|
|
15
|
-
export { ServiceContainer } from './container/ServiceContainer';
|
|
16
|
-
export { SignedRequest } from './security/SignedRequest';
|
|
17
|
-
export { Controller } from './http/Controller';
|
|
18
|
-
export { FileUpload } from './http/FileUpload';
|
|
19
|
-
export type { FileUploadOptions, IFileUploadHandler, UploadedFile } from './http/FileUpload';
|
|
20
|
-
export { Kernel } from './http/Kernel';
|
|
21
|
-
export { bodyParsingMiddleware } from './http/middleware/BodyParsingMiddleware';
|
|
22
|
-
export { fileUploadMiddleware } from './http/middleware/FileUploadMiddleware';
|
|
23
|
-
export { BodyParsers } from './http/parsers/BodyParsers';
|
|
24
|
-
export { MultipartParser } from './http/parsers/MultipartParser';
|
|
25
|
-
export { MultipartParserRegistry } from './http/parsers/MultipartParserRegistry';
|
|
26
|
-
export type { MultipartFieldValue, MultipartParseInput, MultipartParserProvider, ParsedMultipartData, } from './http/parsers/MultipartParserRegistry';
|
|
27
|
-
export { Request } from './http/Request';
|
|
28
|
-
export type { IRequest, ValidatedRequest } from './http/Request';
|
|
29
|
-
export { RequestContext } from './http/RequestContext';
|
|
30
|
-
export { Response } from './http/Response';
|
|
31
|
-
export type { IResponse } from './http/Response';
|
|
32
|
-
export { getValidatedBody, getValidatedHeaders, getValidatedParams, getValidatedQuery, hasValidatedBody, requireValidatedBody, ValidationHelper, } from './http/ValidationHelper';
|
|
33
|
-
export { BulletproofAuthMiddleware } from './middleware/BulletproofAuthMiddleware';
|
|
34
|
-
export { CsrfMiddleware } from './middleware/CsrfMiddleware';
|
|
35
|
-
export { ErrorHandlerMiddleware } from './middleware/ErrorHandlerMiddleware';
|
|
36
|
-
export { LoggingMiddleware } from './middleware/LoggingMiddleware';
|
|
37
|
-
export { MiddlewareStack } from './middleware/MiddlewareStack';
|
|
38
|
-
export type { Middleware } from './middleware/MiddlewareStack';
|
|
39
|
-
export { RateLimiter } from './middleware/RateLimiter';
|
|
40
|
-
export { SecurityMiddleware } from './middleware/SecurityMiddleware';
|
|
41
|
-
export { SessionMiddleware } from './middleware/SessionMiddleware';
|
|
42
|
-
export { ValidationMiddleware } from './middleware/ValidationMiddleware';
|
|
43
|
-
export { createPaginator, getNextPageUrl, getPrevPageUrl, Paginator } from './database/Paginator';
|
|
44
|
-
export type { CreatePaginatorInput, PaginationLinks, PaginationQuery, Paginator as PaginatorType, } from './database/Paginator';
|
|
12
|
+
export { Application } from './boot/Application.js';
|
|
13
|
+
export { Server } from './boot/Server.js';
|
|
14
|
+
export { AwsSigV4 } from './common/index.js';
|
|
15
|
+
export { ServiceContainer } from './container/ServiceContainer.js';
|
|
16
|
+
export { SignedRequest } from './security/SignedRequest.js';
|
|
17
|
+
export { Controller } from './http/Controller.js';
|
|
18
|
+
export { FileUpload } from './http/FileUpload.js';
|
|
19
|
+
export type { FileUploadOptions, IFileUploadHandler, UploadedFile } from './http/FileUpload.js';
|
|
20
|
+
export { Kernel } from './http/Kernel.js';
|
|
21
|
+
export { bodyParsingMiddleware } from './http/middleware/BodyParsingMiddleware.js';
|
|
22
|
+
export { fileUploadMiddleware } from './http/middleware/FileUploadMiddleware.js';
|
|
23
|
+
export { BodyParsers } from './http/parsers/BodyParsers.js';
|
|
24
|
+
export { MultipartParser } from './http/parsers/MultipartParser.js';
|
|
25
|
+
export { MultipartParserRegistry } from './http/parsers/MultipartParserRegistry.js';
|
|
26
|
+
export type { MultipartFieldValue, MultipartParseInput, MultipartParserProvider, ParsedMultipartData, } from './http/parsers/MultipartParserRegistry.js';
|
|
27
|
+
export { Request } from './http/Request.js';
|
|
28
|
+
export type { IRequest, ValidatedRequest } from './http/Request.js';
|
|
29
|
+
export { RequestContext } from './http/RequestContext.js';
|
|
30
|
+
export { Response } from './http/Response.js';
|
|
31
|
+
export type { IResponse } from './http/Response.js';
|
|
32
|
+
export { getValidatedBody, getValidatedHeaders, getValidatedParams, getValidatedQuery, hasValidatedBody, requireValidatedBody, ValidationHelper, } from './http/ValidationHelper.js';
|
|
33
|
+
export { BulletproofAuthMiddleware } from './middleware/BulletproofAuthMiddleware.js';
|
|
34
|
+
export { CsrfMiddleware } from './middleware/CsrfMiddleware.js';
|
|
35
|
+
export { ErrorHandlerMiddleware } from './middleware/ErrorHandlerMiddleware.js';
|
|
36
|
+
export { LoggingMiddleware } from './middleware/LoggingMiddleware.js';
|
|
37
|
+
export { MiddlewareStack } from './middleware/MiddlewareStack.js';
|
|
38
|
+
export type { Middleware } from './middleware/MiddlewareStack.js';
|
|
39
|
+
export { RateLimiter } from './middleware/RateLimiter.js';
|
|
40
|
+
export { SecurityMiddleware } from './middleware/SecurityMiddleware.js';
|
|
41
|
+
export { SessionMiddleware } from './middleware/SessionMiddleware.js';
|
|
42
|
+
export { ValidationMiddleware } from './middleware/ValidationMiddleware.js';
|
|
43
|
+
export { createPaginator, getNextPageUrl, getPrevPageUrl, Paginator } from './database/Paginator.js';
|
|
44
|
+
export type { CreatePaginatorInput, PaginationLinks, PaginationQuery, Paginator as PaginatorType, } from './database/Paginator.js';
|
|
45
45
|
export { Database, DatabaseConnectionRegistry, Model, QueryBuilder, resetDatabase, useDatabase, useEnsureDbConnected, } from './orm-index.js';
|
|
46
46
|
export type { DefinedModel, IDatabase, IJoinOnBuilder, IModel, InsertResult, IQueryBuilder, IRelationship, JoinOnInput, LatestPerOptions, ModelConfig, ModelStatic, PaginationOptions, } from './orm-index.js';
|
|
47
|
-
export { DateTime } from './time/DateTime';
|
|
48
|
-
export type { IDateTime } from './time/DateTime';
|
|
49
|
-
export { ValidationError } from './validation/ValidationError';
|
|
50
|
-
export type { FieldError } from './validation/ValidationError';
|
|
51
|
-
export { Schema, Validator } from './validation/Validator';
|
|
52
|
-
export type { ISchema, SchemaType } from './validation/Validator';
|
|
53
|
-
export { ErrorFactory } from './exceptions/ZintrustError';
|
|
54
|
-
export { detectRuntime } from './runtime/detectRuntime';
|
|
55
|
-
export { getKernel } from './runtime/getKernel';
|
|
56
|
-
export { PluginManager } from './runtime/PluginManager';
|
|
57
|
-
export { PluginRegistry } from './runtime/PluginRegistry';
|
|
58
|
-
export { detectCloudflareWorkers, detectRuntimePlatform, RUNTIME_PLATFORM, RuntimeServices, type RuntimeCrypto, type RuntimeEnvReader, type RuntimeFs, type RuntimePlatform, type RuntimeServices as RuntimeServicesType, type RuntimeTimers, } from './runtime/RuntimeServices';
|
|
59
|
-
export { StartupConfigFile, StartupConfigFileRegistry } from './runtime/StartupConfigFileRegistry';
|
|
60
|
-
export { useFileLoader } from './runtime/useFileLoader';
|
|
61
|
-
export { SystemTraceBridge } from './trace/SystemTraceBridge';
|
|
62
|
-
export { EventDispatcher } from './events/EventDispatcher';
|
|
63
|
-
export type { EventListener, EventMap, IEventDispatcher } from './events/EventDispatcher';
|
|
64
|
-
export { SessionManager } from './session/SessionManager';
|
|
65
|
-
export type { ISession, ISessionManager, SessionData, SessionManagerOptions, } from './session/SessionManager';
|
|
66
|
-
export { Env } from './config/env';
|
|
67
|
-
export { Logger } from './config/logger';
|
|
68
|
-
export type { LogSink } from './config/logger';
|
|
69
|
-
export { appConfig } from './config/app';
|
|
70
|
-
export type { AppConfig } from './config/app';
|
|
71
|
-
export { cacheConfig } from './config/cache';
|
|
72
|
-
export type { CacheConfig, CacheConfigOverrides } from './config/cache';
|
|
73
|
-
export { databaseConfig } from './config/database';
|
|
74
|
-
export type { DatabaseConfigOverrides, DatabaseConfig as DatabaseRuntimeConfig, } from './config/database';
|
|
75
|
-
export { registerDatabasesFromRuntimeConfig } from './orm/DatabaseRuntimeRegistration';
|
|
76
|
-
export { Cache, cache } from './cache/Cache';
|
|
77
|
-
export type { CacheDriver } from './cache/CacheDriver';
|
|
78
|
-
export { CacheDriverRegistry } from './cache/CacheDriverRegistry';
|
|
79
|
-
export { registerCachesFromRuntimeConfig } from './cache/CacheRuntimeRegistration';
|
|
80
|
-
export { createBaseDrivers, queueConfig } from './config/queue';
|
|
81
|
-
export type { QueueConfig, QueueConfigOverrides } from './config/queue';
|
|
82
|
-
export { resolveDeduplicationLockKey } from './tools/queue/DeduplicationKey';
|
|
83
|
-
export { Queue, resolveLockPrefix } from './tools/queue/Queue';
|
|
84
|
-
export type { BullMQPayload, IQueueDriver, QueueMessage } from './tools/queue/Queue';
|
|
85
|
-
export { registerQueuesFromRuntimeConfig } from './tools/queue/QueueRuntimeRegistration';
|
|
86
|
-
export { Router } from './routes/Router';
|
|
87
|
-
export type { IRouter, RouteOptions } from './routes/Router';
|
|
88
|
-
export { normalizeRouteMeta, RouteRegistry } from './routes/RouteRegistry';
|
|
89
|
-
export type { RouteMeta, RouteMetaInput, RouteRegistration } from './routes/RouteRegistry';
|
|
90
|
-
export { generateSecureJobId, generateUuid, getString, Utilities, type UtilitiesType, } from './common/utility';
|
|
91
|
-
export { ContextLoader } from './common/ContextLoader';
|
|
92
|
-
export type { ContextLoaderBatchHandler, ContextLoaderBatchKey, ContextLoaderBatchResult, ContextLoaderContext, ContextLoaderInstance, ContextLoaderMode, ContextLoaderPlan, ContextLoaderResolver, } from './common/ContextLoader';
|
|
93
|
-
export { delay, ensureDirSafe } from './common/index';
|
|
94
|
-
export { RemoteSignedJson } from './common/RemoteSignedJson';
|
|
95
|
-
export type { RemoteSignedJsonSettings } from './common/RemoteSignedJson';
|
|
96
|
-
export { collect, Collection } from './collections/index';
|
|
97
|
-
export type { ICollection, PrimitiveKey } from './collections/index';
|
|
98
|
-
export * from './helper/index';
|
|
99
|
-
export * as NodeSingletons from './node-singletons/index';
|
|
100
|
-
export type { ProjectRuntimeModule, ServiceManifestEntry } from './microservices/ServiceManifest';
|
|
101
|
-
export { ProjectRuntime } from './runtime/ProjectRuntime';
|
|
102
|
-
export { nowIso } from './common/utility';
|
|
103
|
-
export type { SanitizerError } from './exceptions/ZintrustError';
|
|
104
|
-
export { randomBytes } from './node-singletons/crypto';
|
|
105
|
-
export { CloudflareSocket } from './sockets/CloudflareSocket';
|
|
106
|
-
export { SocketFeature } from './sockets/SocketRuntime';
|
|
107
|
-
export type { SocketAuthorizationContext, SocketAuthorizationDecision, SocketAuthorizer, SocketAuthorizerHandler, SocketFeatureSettings, SocketNodeUpgradeInput, SocketPublishContext, SocketPublishDecision, SocketPublishPolicy, SocketPublishPolicyHandler, SocketRouteRegistrar, SocketRuntime, SocketRuntimeDiagnostics, SocketTransportMode, SocketWorkerContext, } from './sockets/SocketRuntime';
|
|
108
|
-
export { SocketRuntimeRegistry } from './sockets/SocketRuntimeRegistry';
|
|
47
|
+
export { DateTime } from './time/DateTime.js';
|
|
48
|
+
export type { IDateTime } from './time/DateTime.js';
|
|
49
|
+
export { ValidationError } from './validation/ValidationError.js';
|
|
50
|
+
export type { FieldError } from './validation/ValidationError.js';
|
|
51
|
+
export { Schema, Validator } from './validation/Validator.js';
|
|
52
|
+
export type { ISchema, SchemaType } from './validation/Validator.js';
|
|
53
|
+
export { ErrorFactory } from './exceptions/ZintrustError.js';
|
|
54
|
+
export { detectRuntime } from './runtime/detectRuntime.js';
|
|
55
|
+
export { getKernel } from './runtime/getKernel.js';
|
|
56
|
+
export { PluginManager } from './runtime/PluginManager.js';
|
|
57
|
+
export { PluginRegistry } from './runtime/PluginRegistry.js';
|
|
58
|
+
export { detectCloudflareWorkers, detectRuntimePlatform, RUNTIME_PLATFORM, RuntimeServices, type RuntimeCrypto, type RuntimeEnvReader, type RuntimeFs, type RuntimePlatform, type RuntimeServices as RuntimeServicesType, type RuntimeTimers, } from './runtime/RuntimeServices.js';
|
|
59
|
+
export { StartupConfigFile, StartupConfigFileRegistry } from './runtime/StartupConfigFileRegistry.js';
|
|
60
|
+
export { useFileLoader } from './runtime/useFileLoader.js';
|
|
61
|
+
export { SystemTraceBridge } from './trace/SystemTraceBridge.js';
|
|
62
|
+
export { EventDispatcher } from './events/EventDispatcher.js';
|
|
63
|
+
export type { EventListener, EventMap, IEventDispatcher } from './events/EventDispatcher.js';
|
|
64
|
+
export { SessionManager } from './session/SessionManager.js';
|
|
65
|
+
export type { ISession, ISessionManager, SessionData, SessionManagerOptions, } from './session/SessionManager.js';
|
|
66
|
+
export { Env } from './config/env.js';
|
|
67
|
+
export { Logger } from './config/logger.js';
|
|
68
|
+
export type { LogSink } from './config/logger.js';
|
|
69
|
+
export { appConfig } from './config/app.js';
|
|
70
|
+
export type { AppConfig } from './config/app.js';
|
|
71
|
+
export { cacheConfig } from './config/cache.js';
|
|
72
|
+
export type { CacheConfig, CacheConfigOverrides } from './config/cache.js';
|
|
73
|
+
export { databaseConfig } from './config/database.js';
|
|
74
|
+
export type { DatabaseConfigOverrides, DatabaseConfig as DatabaseRuntimeConfig, } from './config/database.js';
|
|
75
|
+
export { registerDatabasesFromRuntimeConfig } from './orm/DatabaseRuntimeRegistration.js';
|
|
76
|
+
export { Cache, cache } from './cache/Cache.js';
|
|
77
|
+
export type { CacheDriver } from './cache/CacheDriver.js';
|
|
78
|
+
export { CacheDriverRegistry } from './cache/CacheDriverRegistry.js';
|
|
79
|
+
export { registerCachesFromRuntimeConfig } from './cache/CacheRuntimeRegistration.js';
|
|
80
|
+
export { createBaseDrivers, queueConfig } from './config/queue.js';
|
|
81
|
+
export type { QueueConfig, QueueConfigOverrides } from './config/queue.js';
|
|
82
|
+
export { resolveDeduplicationLockKey } from './tools/queue/DeduplicationKey.js';
|
|
83
|
+
export { Queue, resolveLockPrefix } from './tools/queue/Queue.js';
|
|
84
|
+
export type { BullMQPayload, IQueueDriver, QueueMessage } from './tools/queue/Queue.js';
|
|
85
|
+
export { registerQueuesFromRuntimeConfig } from './tools/queue/QueueRuntimeRegistration.js';
|
|
86
|
+
export { Router } from './routes/Router.js';
|
|
87
|
+
export type { IRouter, RouteOptions } from './routes/Router.js';
|
|
88
|
+
export { normalizeRouteMeta, RouteRegistry } from './routes/RouteRegistry.js';
|
|
89
|
+
export type { RouteMeta, RouteMetaInput, RouteRegistration } from './routes/RouteRegistry.js';
|
|
90
|
+
export { generateSecureJobId, generateUuid, getString, Utilities, type UtilitiesType, } from './common/utility.js';
|
|
91
|
+
export { ContextLoader } from './common/ContextLoader.js';
|
|
92
|
+
export type { ContextLoaderBatchHandler, ContextLoaderBatchKey, ContextLoaderBatchResult, ContextLoaderContext, ContextLoaderInstance, ContextLoaderMode, ContextLoaderPlan, ContextLoaderResolver, } from './common/ContextLoader.js';
|
|
93
|
+
export { delay, ensureDirSafe } from './common/index.js';
|
|
94
|
+
export { RemoteSignedJson } from './common/RemoteSignedJson.js';
|
|
95
|
+
export type { RemoteSignedJsonSettings } from './common/RemoteSignedJson.js';
|
|
96
|
+
export { collect, Collection } from './collections/index.js';
|
|
97
|
+
export type { ICollection, PrimitiveKey } from './collections/index.js';
|
|
98
|
+
export * from './helper/index.js';
|
|
99
|
+
export * as NodeSingletons from './node-singletons/index.js';
|
|
100
|
+
export type { ProjectRuntimeModule, ServiceManifestEntry } from './microservices/ServiceManifest.js';
|
|
101
|
+
export { ProjectRuntime } from './runtime/ProjectRuntime.js';
|
|
102
|
+
export { nowIso } from './common/utility.js';
|
|
103
|
+
export type { SanitizerError } from './exceptions/ZintrustError.js';
|
|
104
|
+
export { randomBytes } from './node-singletons/crypto.js';
|
|
105
|
+
export { CloudflareSocket } from './sockets/CloudflareSocket.js';
|
|
106
|
+
export { SocketFeature } from './sockets/SocketRuntime.js';
|
|
107
|
+
export type { SocketAuthorizationContext, SocketAuthorizationDecision, SocketAuthorizer, SocketAuthorizerHandler, SocketFeatureSettings, SocketNodeUpgradeInput, SocketPublishContext, SocketPublishDecision, SocketPublishPolicy, SocketPublishPolicyHandler, SocketRouteRegistrar, SocketRuntime, SocketRuntimeDiagnostics, SocketTransportMode, SocketWorkerContext, } from './sockets/SocketRuntime.js';
|
|
108
|
+
export { SocketRuntimeRegistry } from './sockets/SocketRuntimeRegistry.js';
|
|
109
109
|
//# sourceMappingURL=runtime-index.d.ts.map
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* ScheduleRunner
|
|
3
3
|
* Lightweight, zero-dependency schedule runner for long-running runtimes
|
|
4
4
|
*/
|
|
5
|
-
import { type IScheduleStateStore, type ScheduleRunState } from './state/ScheduleStateStore';
|
|
6
|
-
import type { ISchedule, IScheduleKernel } from './types';
|
|
5
|
+
import { type IScheduleStateStore, type ScheduleRunState } from './state/ScheduleStateStore.js';
|
|
6
|
+
import type { ISchedule, IScheduleKernel } from './types.js';
|
|
7
7
|
/**
|
|
8
8
|
* Result of a `runIfDue` invocation.
|
|
9
9
|
* - `ran: true` → the handler was invoked this call.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { RunIfDueResult } from './ScheduleRunner';
|
|
2
|
-
import type { IScheduleStateStore, ScheduleRunState } from './state/ScheduleStateStore';
|
|
3
|
-
import type { ISchedule, IScheduleKernel } from './types';
|
|
1
|
+
import type { RunIfDueResult } from './ScheduleRunner.js';
|
|
2
|
+
import type { IScheduleStateStore, ScheduleRunState } from './state/ScheduleStateStore.js';
|
|
3
|
+
import type { ISchedule, IScheduleKernel } from './types.js';
|
|
4
4
|
export declare const SchedulerRuntime: Readonly<{
|
|
5
5
|
registerMany: (schedules: ReadonlyArray<ISchedule>, source?: "core" | "app") => void;
|
|
6
6
|
start(kernel?: IScheduleKernel): void;
|
package/src/scheduler/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { create as createScheduleRunner } from './ScheduleRunner';
|
|
2
|
-
export type { ISchedule } from './types';
|
|
1
|
+
export { create as createScheduleRunner } from './ScheduleRunner.js';
|
|
2
|
+
export type { ISchedule } from './types.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/src/scheduler-index.d.ts
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* ZinTrust Scheduler
|
|
3
3
|
* Schedule and job scheduling utilities
|
|
4
4
|
*/
|
|
5
|
-
export { Schedule, ScheduleBuilder } from './scheduler/Schedule';
|
|
6
|
-
export type { ScheduleBuilderApi } from './scheduler/Schedule';
|
|
7
|
-
export { create as createScheduleRunner } from './scheduler/ScheduleRunner';
|
|
8
|
-
export type { ISchedule, IScheduleHandler, IScheduleBackoffPolicy, IScheduleKernel } from './scheduler/types';
|
|
9
|
-
export { SchedulerRuntime } from './scheduler/SchedulerRuntime';
|
|
10
|
-
export { SchedulerLeader } from './scheduler/leader/SchedulerLeader';
|
|
11
|
-
export type { SchedulerLeaderApi, SchedulerLeaderHooks } from './scheduler/leader/SchedulerLeader';
|
|
12
|
-
export { InMemoryScheduleStateStore } from './scheduler/state/ScheduleStateStore';
|
|
13
|
-
export type { IScheduleStateStore, ScheduleRunState, ScheduleRunStatePatch } from './scheduler/state/ScheduleStateStore';
|
|
5
|
+
export { Schedule, ScheduleBuilder } from './scheduler/Schedule.js';
|
|
6
|
+
export type { ScheduleBuilderApi } from './scheduler/Schedule.js';
|
|
7
|
+
export { create as createScheduleRunner } from './scheduler/ScheduleRunner.js';
|
|
8
|
+
export type { ISchedule, IScheduleHandler, IScheduleBackoffPolicy, IScheduleKernel } from './scheduler/types.js';
|
|
9
|
+
export { SchedulerRuntime } from './scheduler/SchedulerRuntime.js';
|
|
10
|
+
export { SchedulerLeader } from './scheduler/leader/SchedulerLeader.js';
|
|
11
|
+
export type { SchedulerLeaderApi, SchedulerLeaderHooks } from './scheduler/leader/SchedulerLeader.js';
|
|
12
|
+
export { InMemoryScheduleStateStore } from './scheduler/state/ScheduleStateStore.js';
|
|
13
|
+
export type { IScheduleStateStore, ScheduleRunState, ScheduleRunStatePatch } from './scheduler/state/ScheduleStateStore.js';
|
|
14
14
|
//# sourceMappingURL=scheduler-index.d.ts.map
|
package/src/schedules/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as jobTrackingCleanup } from './job-tracking-cleanup';
|
|
2
|
-
export { default as logCleanup } from './log-cleanup';
|
|
1
|
+
export { default as jobTrackingCleanup } from './job-tracking-cleanup.js';
|
|
2
|
+
export { default as logCleanup } from './log-cleanup.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|