balda 0.0.32 → 0.0.34

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/lib/index.d.cts CHANGED
@@ -9,7 +9,8 @@ import { ApolloServerOptions, BaseContext } from '@apollo/server';
9
9
  import { DocumentNode, GraphQLResolveInfo } from 'graphql';
10
10
  import { RequestHandler, Router as Router$1, IRouter } from 'express';
11
11
  import * as pino from 'pino';
12
- import pino__default, { pino as pino$1 } from 'pino';
12
+ import pino__default, { pino as pino$1, Logger } from 'pino';
13
+ import { glob } from 'node:fs/promises';
13
14
  import { IClientSubscribeOptions, IClientOptions, IClientPublishOptions, MqttClient } from 'mqtt';
14
15
  import { SQSClientConfig, SendMessageCommandInput } from '@aws-sdk/client-sqs';
15
16
  import { Queue, JobsOptions, Job } from 'bullmq';
@@ -1229,6 +1230,7 @@ declare class GraphQL {
1229
1230
  }
1230
1231
 
1231
1232
  declare class NativeFs {
1233
+ glob(...args: Parameters<typeof glob>): Promise<string[]>;
1232
1234
  mkdir(path: string, options?: {
1233
1235
  recursive?: boolean;
1234
1236
  mode?: number | string;
@@ -2035,6 +2037,17 @@ type ServerOptions<H extends NodeHttpClient = NodeHttpClient> = {
2035
2037
  * ```
2036
2038
  */
2037
2039
  ajvInstance?: Ajv;
2040
+ /**
2041
+ * Custom Pino logger instance for the server. If not provided, the default internal logger is used.
2042
+ * @example
2043
+ * ```ts
2044
+ * import pino from "pino";
2045
+ * const server = new Server({
2046
+ * logger: pino({ level: "debug" }),
2047
+ * });
2048
+ * ```
2049
+ */
2050
+ logger?: Logger;
2038
2051
  /**
2039
2052
  * An AbortSignal to gracefully shutdown the server when aborted
2040
2053
  * @example
@@ -2360,7 +2373,8 @@ interface ServerRoute {
2360
2373
  /** The middleware chain to call before the handler */
2361
2374
  middlewares?: ServerRouteMiddleware[];
2362
2375
  }
2363
- type ServerListenCallback = ({ port, host, url, }: {
2376
+ type ServerListenCallback = ({ error, port, host, url, }: {
2377
+ error?: Error;
2364
2378
  port: number;
2365
2379
  host: string;
2366
2380
  url: string;
@@ -3042,14 +3056,10 @@ declare class QueueService {
3042
3056
  }
3043
3057
 
3044
3058
  /**
3045
- * The logger instance, can be overridden by the `defineLoggerConfig` function
3059
+ * The default logger instance used internally by Balda.
3060
+ * To use a custom logger, pass a pino instance to `new Server({ logger })` or `CommandRegistry.setLogger()`.
3046
3061
  */
3047
- declare let logger: pino__default.Logger<string, boolean>;
3048
- /**
3049
- * Define the logger config, this will override the logger instance with the given options
3050
- * @param options - The logger options
3051
- */
3052
- declare const defineLoggerConfig: (options?: LoggerOptions) => pino__default.Logger<string, boolean>;
3062
+ declare const logger: pino__default.Logger<string, boolean>;
3053
3063
 
3054
3064
  type Argument = string;
3055
3065
  type FlagSchema = Record<string, string | number | boolean | Array<string | number | boolean>>;
@@ -3076,6 +3086,20 @@ type CommandOptions = {
3076
3086
  * Custom validation function that runs before handle()
3077
3087
  */
3078
3088
  validate?: (command: typeof Command) => boolean | Promise<boolean>;
3089
+ /**
3090
+ * Path to a file that exports a pino `logger` instance, loaded before command execution.
3091
+ * Overrides `CommandRegistry.loggerPath` for this command only.
3092
+ * The file must have a named export `logger` (a pino Logger instance).
3093
+ * @default "src/logger.ts"
3094
+ */
3095
+ loggerPath?: string;
3096
+ /**
3097
+ * If true, unknown flags (not declared via @flag decorators) are allowed.
3098
+ * If false, the command will throw an error when unknown flags are provided.
3099
+ * `-h` and `--help` are always allowed regardless of this setting.
3100
+ * @default true
3101
+ */
3102
+ allowUnknownFlags?: boolean;
3079
3103
  };
3080
3104
 
3081
3105
  /**
@@ -3083,6 +3107,7 @@ type CommandOptions = {
3083
3107
  * @abstract
3084
3108
  */
3085
3109
  declare abstract class Command {
3110
+ private static readonly flagsAndArgs;
3086
3111
  /**
3087
3112
  * The name of the command.
3088
3113
  */
@@ -3121,6 +3146,10 @@ declare abstract class Command {
3121
3146
  */
3122
3147
  static handleHelpFlag(flags: FlagSchema): void;
3123
3148
  private static readonly generateHelpOutput;
3149
+ /**
3150
+ * Validates that no unknown flags were provided when allowUnknownFlags is false.
3151
+ */
3152
+ static readonly validateUnknownFlags: (target: any) => void;
3124
3153
  static readonly validateContext: (target: any) => void;
3125
3154
  }
3126
3155
 
@@ -3142,7 +3171,19 @@ declare class CommandRegistry {
3142
3171
  private commands;
3143
3172
  private builtInCommands;
3144
3173
  static commandsPattern: string;
3145
- static logger: pino.Logger<string, boolean>;
3174
+ static loggerPath: string;
3175
+ static logger: Logger<string, boolean>;
3176
+ /**
3177
+ * Override the default logger used by CommandRegistry and all Command subclasses.
3178
+ * @param customLogger - A pino Logger instance
3179
+ */
3180
+ static setLogger(customLogger: Logger): void;
3181
+ /**
3182
+ * Dynamically imports the logger file and sets it as the logger for all commands.
3183
+ * The file must export a named `logger` that is a pino Logger instance.
3184
+ * @param overridePath - Optional path override (e.g. from CommandOptions.loggerPath). Falls back to CommandRegistry.loggerPath.
3185
+ */
3186
+ static loadLogger(overridePath?: string): Promise<void>;
3146
3187
  /**
3147
3188
  * Private constructor to prevent direct instantiation
3148
3189
  * @internal Not meant to be used outside by the user
@@ -3290,6 +3331,9 @@ declare class S3StorageProvider implements StorageInterface {
3290
3331
  private s3PresignerLib;
3291
3332
  private cloudfrontSignerLib;
3292
3333
  private s3Client;
3334
+ private bunS3Client;
3335
+ private readonly isBun;
3336
+ private clientInitialized;
3293
3337
  readonly options: S3StorageProviderOptions;
3294
3338
  constructor(options: S3StorageProviderOptions);
3295
3339
  getDownloadUrl(key: string, expiresInSeconds?: number): Promise<string>;
@@ -3299,7 +3343,18 @@ declare class S3StorageProvider implements StorageInterface {
3299
3343
  getObject<R extends ReturnType$1 = "raw">(key: string, returnType?: R): Promise<ReturnTypeMap<R>>;
3300
3344
  putObject<T = Uint8Array>(key: string, value: T, contentType?: string): Promise<void>;
3301
3345
  deleteObject(key: string): Promise<void>;
3346
+ /**
3347
+ * Ensures the appropriate S3 client is initialized based on runtime
3348
+ */
3302
3349
  private ensureClient;
3350
+ /**
3351
+ * Initialize Bun's native S3 client
3352
+ */
3353
+ private ensureBunClient;
3354
+ /**
3355
+ * Initialize AWS SDK S3 client (used for listObjects and as fallback)
3356
+ */
3357
+ private ensureAwsSdk;
3303
3358
  }
3304
3359
 
3305
3360
  type ReturnType$1 = "raw" | "text" | "stream";
@@ -4003,4 +4058,4 @@ declare const createPolicyDecorator: <T extends Record<string, PolicyProvider>>(
4003
4058
  */
4004
4059
  declare const router: ClientRouter;
4005
4060
 
4006
- export { type AsyncLocalStorageContextSetters, AzureBlobStorageProvider, BaseCron, BasePlugin, type BaseStorageProviderOptions, type BlobStorageProviderOptions, BullMQConfiguration, type BullMQConfigurationOptions, BullMQPubSub, Command, type CommandOptions, CommandRegistry, type CompressionOptions, type CookieMiddlewareOptions, type CorsOptions, type CronSchedule, type CronScheduleParams, CronService, type CronUIOptions, CustomAdapter, type CustomQueueConfiguration, type CustomStorageProviderOptions, CustomTypedQueue, type CustomValidationError, EdgeAdapter, EjsAdapter, type ExtractParams, GraphQL, type GraphQLContext, type GraphQLOptions, type GraphQLResolverFunction, type GraphQLResolverMap, type GraphQLResolverType, type GraphQLResolvers, type GraphQLSchemaInput, type GraphQLTypeDef, HandlebarsAdapter, type HelmetOptions, type HttpMethod, type HttpsOptions, type InferSchemaType, LocalStorageProvider, type LocalStorageProviderOptions, type LogOptions, type LoggerOptions, type MailOptions, MailOptionsBuilder, MailProvider, type MailProviderInterface, Mailer, type MailerInterface, type MailerOptions, type MailerProviderOptions, MemoryPubSub, type MethodOverrideOptions, MockResponse, MockServer, type MockServerOptions, type MqttConnectionOptions, type MqttHandler, type MqttPublishOptions, MqttService, type MqttSubscribeOptions, type MqttSubscription, type MqttTopics, MustacheAdapter, type NextFunction, type NodeHttpClient, type NodeServer as NodeHttpServerClient, PGBossConfiguration, type PGBossConfigurationOptions, PGBossPubSub, type PolicyDecorator, PolicyManager, type PolicyProvider, type PublishTopic, QueueManager, QueueService, type RateLimiterKeyOptions, Request, type RequestSchema, Response$1 as Response, type RuntimeServer, S3StorageProvider, type S3StorageProviderOptions, SQSConfiguration, type SQSConfigurationOptions, SQSPubSub, type CacheMetrics as SchemaCacheMetrics, type SerializeOptions, Server, type ServerConnectInput, type ServerErrorHandler, type ServerInterface, type ServerListenCallback, type ServerOptions, type ServerRouteHandler, type ServerRouteMiddleware, type ServerTapOptions, type SessionOptions, type SignalEvent, type StaticPluginOptions, Storage, type StorageInterface, type StorageOptions, type StorageProviderOptions, type TemplateMailOptions, type TimeoutOptions, type TrustProxyOptions, type TypedHandler, TypedQueue, type TypedRouteMetadata, type ValidatedData, type ValidationOptions, arg, asyncLocalStorage, asyncStorage, bullmqQueue, clearAllCaches as clearAllSchemaCaches, commandRegistry, compression, controller, cookie, cors, createExpressAdapter, createPolicyDecorator, createQueue, cron, Server as default, defineLoggerConfig, defineQueueConfiguration, del, expressHandler, expressMiddleware, flag, get, getCacheMetrics as getSchemaCacheMetrics, hash, helmet, log, logCacheMetrics as logSchemaCacheMetrics, logger, memoryQueue, methodOverride, middleware, mountExpressRouter, mqtt, patch, pgbossQueue, post, put, rateLimiter, router, serialize, serveStatic, session, setCronGlobalErrorHandler, setMqttGlobalErrorHandler, sqsQueue, timeout as timeoutMw, trustProxy, validate };
4061
+ export { type AsyncLocalStorageContextSetters, AzureBlobStorageProvider, BaseCron, BasePlugin, type BaseStorageProviderOptions, type BlobStorageProviderOptions, BullMQConfiguration, type BullMQConfigurationOptions, BullMQPubSub, Command, type CommandOptions, CommandRegistry, type CompressionOptions, type CookieMiddlewareOptions, type CorsOptions, type CronSchedule, type CronScheduleParams, CronService, type CronUIOptions, CustomAdapter, type CustomQueueConfiguration, type CustomStorageProviderOptions, CustomTypedQueue, type CustomValidationError, EdgeAdapter, EjsAdapter, type ExtractParams, GraphQL, type GraphQLContext, type GraphQLOptions, type GraphQLResolverFunction, type GraphQLResolverMap, type GraphQLResolverType, type GraphQLResolvers, type GraphQLSchemaInput, type GraphQLTypeDef, HandlebarsAdapter, type HelmetOptions, type HttpMethod, type HttpsOptions, type InferSchemaType, LocalStorageProvider, type LocalStorageProviderOptions, type LogOptions, type LoggerOptions, type MailOptions, MailOptionsBuilder, MailProvider, type MailProviderInterface, Mailer, type MailerInterface, type MailerOptions, type MailerProviderOptions, MemoryPubSub, type MethodOverrideOptions, MockResponse, MockServer, type MockServerOptions, type MqttConnectionOptions, type MqttHandler, type MqttPublishOptions, MqttService, type MqttSubscribeOptions, type MqttSubscription, type MqttTopics, MustacheAdapter, type NextFunction, type NodeHttpClient, type NodeServer as NodeHttpServerClient, PGBossConfiguration, type PGBossConfigurationOptions, PGBossPubSub, type PolicyDecorator, PolicyManager, type PolicyProvider, type PublishTopic, QueueManager, QueueService, type RateLimiterKeyOptions, Request, type RequestSchema, Response$1 as Response, type RuntimeServer, S3StorageProvider, type S3StorageProviderOptions, SQSConfiguration, type SQSConfigurationOptions, SQSPubSub, type CacheMetrics as SchemaCacheMetrics, type SerializeOptions, Server, type ServerConnectInput, type ServerErrorHandler, type ServerInterface, type ServerListenCallback, type ServerOptions, type ServerRouteHandler, type ServerRouteMiddleware, type ServerTapOptions, type SessionOptions, type SignalEvent, type StaticPluginOptions, Storage, type StorageInterface, type StorageOptions, type StorageProviderOptions, type TemplateMailOptions, type TimeoutOptions, type TrustProxyOptions, type TypedHandler, TypedQueue, type TypedRouteMetadata, type ValidatedData, type ValidationOptions, arg, asyncLocalStorage, asyncStorage, bullmqQueue, clearAllCaches as clearAllSchemaCaches, commandRegistry, compression, controller, cookie, cors, createExpressAdapter, createPolicyDecorator, createQueue, cron, Server as default, defineQueueConfiguration, del, expressHandler, expressMiddleware, flag, get, getCacheMetrics as getSchemaCacheMetrics, hash, helmet, log, logCacheMetrics as logSchemaCacheMetrics, logger, memoryQueue, methodOverride, middleware, mountExpressRouter, mqtt, patch, pgbossQueue, post, put, rateLimiter, router, serialize, serveStatic, session, setCronGlobalErrorHandler, setMqttGlobalErrorHandler, sqsQueue, timeout as timeoutMw, trustProxy, validate };
package/lib/index.d.ts CHANGED
@@ -9,7 +9,8 @@ import { ApolloServerOptions, BaseContext } from '@apollo/server';
9
9
  import { DocumentNode, GraphQLResolveInfo } from 'graphql';
10
10
  import { RequestHandler, Router as Router$1, IRouter } from 'express';
11
11
  import * as pino from 'pino';
12
- import pino__default, { pino as pino$1 } from 'pino';
12
+ import pino__default, { pino as pino$1, Logger } from 'pino';
13
+ import { glob } from 'node:fs/promises';
13
14
  import { IClientSubscribeOptions, IClientOptions, IClientPublishOptions, MqttClient } from 'mqtt';
14
15
  import { SQSClientConfig, SendMessageCommandInput } from '@aws-sdk/client-sqs';
15
16
  import { Queue, JobsOptions, Job } from 'bullmq';
@@ -1229,6 +1230,7 @@ declare class GraphQL {
1229
1230
  }
1230
1231
 
1231
1232
  declare class NativeFs {
1233
+ glob(...args: Parameters<typeof glob>): Promise<string[]>;
1232
1234
  mkdir(path: string, options?: {
1233
1235
  recursive?: boolean;
1234
1236
  mode?: number | string;
@@ -2035,6 +2037,17 @@ type ServerOptions<H extends NodeHttpClient = NodeHttpClient> = {
2035
2037
  * ```
2036
2038
  */
2037
2039
  ajvInstance?: Ajv;
2040
+ /**
2041
+ * Custom Pino logger instance for the server. If not provided, the default internal logger is used.
2042
+ * @example
2043
+ * ```ts
2044
+ * import pino from "pino";
2045
+ * const server = new Server({
2046
+ * logger: pino({ level: "debug" }),
2047
+ * });
2048
+ * ```
2049
+ */
2050
+ logger?: Logger;
2038
2051
  /**
2039
2052
  * An AbortSignal to gracefully shutdown the server when aborted
2040
2053
  * @example
@@ -2360,7 +2373,8 @@ interface ServerRoute {
2360
2373
  /** The middleware chain to call before the handler */
2361
2374
  middlewares?: ServerRouteMiddleware[];
2362
2375
  }
2363
- type ServerListenCallback = ({ port, host, url, }: {
2376
+ type ServerListenCallback = ({ error, port, host, url, }: {
2377
+ error?: Error;
2364
2378
  port: number;
2365
2379
  host: string;
2366
2380
  url: string;
@@ -3042,14 +3056,10 @@ declare class QueueService {
3042
3056
  }
3043
3057
 
3044
3058
  /**
3045
- * The logger instance, can be overridden by the `defineLoggerConfig` function
3059
+ * The default logger instance used internally by Balda.
3060
+ * To use a custom logger, pass a pino instance to `new Server({ logger })` or `CommandRegistry.setLogger()`.
3046
3061
  */
3047
- declare let logger: pino__default.Logger<string, boolean>;
3048
- /**
3049
- * Define the logger config, this will override the logger instance with the given options
3050
- * @param options - The logger options
3051
- */
3052
- declare const defineLoggerConfig: (options?: LoggerOptions) => pino__default.Logger<string, boolean>;
3062
+ declare const logger: pino__default.Logger<string, boolean>;
3053
3063
 
3054
3064
  type Argument = string;
3055
3065
  type FlagSchema = Record<string, string | number | boolean | Array<string | number | boolean>>;
@@ -3076,6 +3086,20 @@ type CommandOptions = {
3076
3086
  * Custom validation function that runs before handle()
3077
3087
  */
3078
3088
  validate?: (command: typeof Command) => boolean | Promise<boolean>;
3089
+ /**
3090
+ * Path to a file that exports a pino `logger` instance, loaded before command execution.
3091
+ * Overrides `CommandRegistry.loggerPath` for this command only.
3092
+ * The file must have a named export `logger` (a pino Logger instance).
3093
+ * @default "src/logger.ts"
3094
+ */
3095
+ loggerPath?: string;
3096
+ /**
3097
+ * If true, unknown flags (not declared via @flag decorators) are allowed.
3098
+ * If false, the command will throw an error when unknown flags are provided.
3099
+ * `-h` and `--help` are always allowed regardless of this setting.
3100
+ * @default true
3101
+ */
3102
+ allowUnknownFlags?: boolean;
3079
3103
  };
3080
3104
 
3081
3105
  /**
@@ -3083,6 +3107,7 @@ type CommandOptions = {
3083
3107
  * @abstract
3084
3108
  */
3085
3109
  declare abstract class Command {
3110
+ private static readonly flagsAndArgs;
3086
3111
  /**
3087
3112
  * The name of the command.
3088
3113
  */
@@ -3121,6 +3146,10 @@ declare abstract class Command {
3121
3146
  */
3122
3147
  static handleHelpFlag(flags: FlagSchema): void;
3123
3148
  private static readonly generateHelpOutput;
3149
+ /**
3150
+ * Validates that no unknown flags were provided when allowUnknownFlags is false.
3151
+ */
3152
+ static readonly validateUnknownFlags: (target: any) => void;
3124
3153
  static readonly validateContext: (target: any) => void;
3125
3154
  }
3126
3155
 
@@ -3142,7 +3171,19 @@ declare class CommandRegistry {
3142
3171
  private commands;
3143
3172
  private builtInCommands;
3144
3173
  static commandsPattern: string;
3145
- static logger: pino.Logger<string, boolean>;
3174
+ static loggerPath: string;
3175
+ static logger: Logger<string, boolean>;
3176
+ /**
3177
+ * Override the default logger used by CommandRegistry and all Command subclasses.
3178
+ * @param customLogger - A pino Logger instance
3179
+ */
3180
+ static setLogger(customLogger: Logger): void;
3181
+ /**
3182
+ * Dynamically imports the logger file and sets it as the logger for all commands.
3183
+ * The file must export a named `logger` that is a pino Logger instance.
3184
+ * @param overridePath - Optional path override (e.g. from CommandOptions.loggerPath). Falls back to CommandRegistry.loggerPath.
3185
+ */
3186
+ static loadLogger(overridePath?: string): Promise<void>;
3146
3187
  /**
3147
3188
  * Private constructor to prevent direct instantiation
3148
3189
  * @internal Not meant to be used outside by the user
@@ -3290,6 +3331,9 @@ declare class S3StorageProvider implements StorageInterface {
3290
3331
  private s3PresignerLib;
3291
3332
  private cloudfrontSignerLib;
3292
3333
  private s3Client;
3334
+ private bunS3Client;
3335
+ private readonly isBun;
3336
+ private clientInitialized;
3293
3337
  readonly options: S3StorageProviderOptions;
3294
3338
  constructor(options: S3StorageProviderOptions);
3295
3339
  getDownloadUrl(key: string, expiresInSeconds?: number): Promise<string>;
@@ -3299,7 +3343,18 @@ declare class S3StorageProvider implements StorageInterface {
3299
3343
  getObject<R extends ReturnType$1 = "raw">(key: string, returnType?: R): Promise<ReturnTypeMap<R>>;
3300
3344
  putObject<T = Uint8Array>(key: string, value: T, contentType?: string): Promise<void>;
3301
3345
  deleteObject(key: string): Promise<void>;
3346
+ /**
3347
+ * Ensures the appropriate S3 client is initialized based on runtime
3348
+ */
3302
3349
  private ensureClient;
3350
+ /**
3351
+ * Initialize Bun's native S3 client
3352
+ */
3353
+ private ensureBunClient;
3354
+ /**
3355
+ * Initialize AWS SDK S3 client (used for listObjects and as fallback)
3356
+ */
3357
+ private ensureAwsSdk;
3303
3358
  }
3304
3359
 
3305
3360
  type ReturnType$1 = "raw" | "text" | "stream";
@@ -4003,4 +4058,4 @@ declare const createPolicyDecorator: <T extends Record<string, PolicyProvider>>(
4003
4058
  */
4004
4059
  declare const router: ClientRouter;
4005
4060
 
4006
- export { type AsyncLocalStorageContextSetters, AzureBlobStorageProvider, BaseCron, BasePlugin, type BaseStorageProviderOptions, type BlobStorageProviderOptions, BullMQConfiguration, type BullMQConfigurationOptions, BullMQPubSub, Command, type CommandOptions, CommandRegistry, type CompressionOptions, type CookieMiddlewareOptions, type CorsOptions, type CronSchedule, type CronScheduleParams, CronService, type CronUIOptions, CustomAdapter, type CustomQueueConfiguration, type CustomStorageProviderOptions, CustomTypedQueue, type CustomValidationError, EdgeAdapter, EjsAdapter, type ExtractParams, GraphQL, type GraphQLContext, type GraphQLOptions, type GraphQLResolverFunction, type GraphQLResolverMap, type GraphQLResolverType, type GraphQLResolvers, type GraphQLSchemaInput, type GraphQLTypeDef, HandlebarsAdapter, type HelmetOptions, type HttpMethod, type HttpsOptions, type InferSchemaType, LocalStorageProvider, type LocalStorageProviderOptions, type LogOptions, type LoggerOptions, type MailOptions, MailOptionsBuilder, MailProvider, type MailProviderInterface, Mailer, type MailerInterface, type MailerOptions, type MailerProviderOptions, MemoryPubSub, type MethodOverrideOptions, MockResponse, MockServer, type MockServerOptions, type MqttConnectionOptions, type MqttHandler, type MqttPublishOptions, MqttService, type MqttSubscribeOptions, type MqttSubscription, type MqttTopics, MustacheAdapter, type NextFunction, type NodeHttpClient, type NodeServer as NodeHttpServerClient, PGBossConfiguration, type PGBossConfigurationOptions, PGBossPubSub, type PolicyDecorator, PolicyManager, type PolicyProvider, type PublishTopic, QueueManager, QueueService, type RateLimiterKeyOptions, Request, type RequestSchema, Response$1 as Response, type RuntimeServer, S3StorageProvider, type S3StorageProviderOptions, SQSConfiguration, type SQSConfigurationOptions, SQSPubSub, type CacheMetrics as SchemaCacheMetrics, type SerializeOptions, Server, type ServerConnectInput, type ServerErrorHandler, type ServerInterface, type ServerListenCallback, type ServerOptions, type ServerRouteHandler, type ServerRouteMiddleware, type ServerTapOptions, type SessionOptions, type SignalEvent, type StaticPluginOptions, Storage, type StorageInterface, type StorageOptions, type StorageProviderOptions, type TemplateMailOptions, type TimeoutOptions, type TrustProxyOptions, type TypedHandler, TypedQueue, type TypedRouteMetadata, type ValidatedData, type ValidationOptions, arg, asyncLocalStorage, asyncStorage, bullmqQueue, clearAllCaches as clearAllSchemaCaches, commandRegistry, compression, controller, cookie, cors, createExpressAdapter, createPolicyDecorator, createQueue, cron, Server as default, defineLoggerConfig, defineQueueConfiguration, del, expressHandler, expressMiddleware, flag, get, getCacheMetrics as getSchemaCacheMetrics, hash, helmet, log, logCacheMetrics as logSchemaCacheMetrics, logger, memoryQueue, methodOverride, middleware, mountExpressRouter, mqtt, patch, pgbossQueue, post, put, rateLimiter, router, serialize, serveStatic, session, setCronGlobalErrorHandler, setMqttGlobalErrorHandler, sqsQueue, timeout as timeoutMw, trustProxy, validate };
4061
+ export { type AsyncLocalStorageContextSetters, AzureBlobStorageProvider, BaseCron, BasePlugin, type BaseStorageProviderOptions, type BlobStorageProviderOptions, BullMQConfiguration, type BullMQConfigurationOptions, BullMQPubSub, Command, type CommandOptions, CommandRegistry, type CompressionOptions, type CookieMiddlewareOptions, type CorsOptions, type CronSchedule, type CronScheduleParams, CronService, type CronUIOptions, CustomAdapter, type CustomQueueConfiguration, type CustomStorageProviderOptions, CustomTypedQueue, type CustomValidationError, EdgeAdapter, EjsAdapter, type ExtractParams, GraphQL, type GraphQLContext, type GraphQLOptions, type GraphQLResolverFunction, type GraphQLResolverMap, type GraphQLResolverType, type GraphQLResolvers, type GraphQLSchemaInput, type GraphQLTypeDef, HandlebarsAdapter, type HelmetOptions, type HttpMethod, type HttpsOptions, type InferSchemaType, LocalStorageProvider, type LocalStorageProviderOptions, type LogOptions, type LoggerOptions, type MailOptions, MailOptionsBuilder, MailProvider, type MailProviderInterface, Mailer, type MailerInterface, type MailerOptions, type MailerProviderOptions, MemoryPubSub, type MethodOverrideOptions, MockResponse, MockServer, type MockServerOptions, type MqttConnectionOptions, type MqttHandler, type MqttPublishOptions, MqttService, type MqttSubscribeOptions, type MqttSubscription, type MqttTopics, MustacheAdapter, type NextFunction, type NodeHttpClient, type NodeServer as NodeHttpServerClient, PGBossConfiguration, type PGBossConfigurationOptions, PGBossPubSub, type PolicyDecorator, PolicyManager, type PolicyProvider, type PublishTopic, QueueManager, QueueService, type RateLimiterKeyOptions, Request, type RequestSchema, Response$1 as Response, type RuntimeServer, S3StorageProvider, type S3StorageProviderOptions, SQSConfiguration, type SQSConfigurationOptions, SQSPubSub, type CacheMetrics as SchemaCacheMetrics, type SerializeOptions, Server, type ServerConnectInput, type ServerErrorHandler, type ServerInterface, type ServerListenCallback, type ServerOptions, type ServerRouteHandler, type ServerRouteMiddleware, type ServerTapOptions, type SessionOptions, type SignalEvent, type StaticPluginOptions, Storage, type StorageInterface, type StorageOptions, type StorageProviderOptions, type TemplateMailOptions, type TimeoutOptions, type TrustProxyOptions, type TypedHandler, TypedQueue, type TypedRouteMetadata, type ValidatedData, type ValidationOptions, arg, asyncLocalStorage, asyncStorage, bullmqQueue, clearAllCaches as clearAllSchemaCaches, commandRegistry, compression, controller, cookie, cors, createExpressAdapter, createPolicyDecorator, createQueue, cron, Server as default, defineQueueConfiguration, del, expressHandler, expressMiddleware, flag, get, getCacheMetrics as getSchemaCacheMetrics, hash, helmet, log, logCacheMetrics as logSchemaCacheMetrics, logger, memoryQueue, methodOverride, middleware, mountExpressRouter, mqtt, patch, pgbossQueue, post, put, rateLimiter, router, serialize, serveStatic, session, setCronGlobalErrorHandler, setMqttGlobalErrorHandler, sqsQueue, timeout as timeoutMw, trustProxy, validate };