@guren/server 2.22.0 → 2.23.1
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/dist/Job-BVvaY-7p.js +165 -0
- package/dist/auth/AuthManager.d.ts +29 -0
- package/dist/auth/AuthenticatableModel.d.ts +15 -0
- package/dist/auth/RequestAuthContext.d.ts +10 -1
- package/dist/auth/SessionGuard.d.ts +2 -0
- package/dist/auth/api-token.d.ts +6 -0
- package/dist/auth/context.d.ts +32 -0
- package/dist/auth/index.d.ts +7 -0
- package/dist/auth/index.js +2 -2
- package/dist/auth/model-capability.d.ts +8 -0
- package/dist/auth/oauth/index.d.ts +5 -0
- package/dist/auth/password/DefaultHasher.d.ts +17 -6
- package/dist/auth/password/configured-hasher.d.ts +23 -0
- package/dist/auth/providers/ModelUserProvider.d.ts +3 -0
- package/dist/auth/providers/unconfigured-user-provider.d.ts +12 -0
- package/dist/auth/types.d.ts +9 -0
- package/dist/{auth-CjE2oO50.js → auth-D_W1cJp3.js} +279 -84
- package/dist/authorization/Gate.d.ts +12 -0
- package/dist/authorization/index.js +1 -1
- package/dist/{authorization-CdEWZZw3.js → authorization-0mCGUFoI.js} +58 -12
- package/dist/broadcasting/BroadcastManager.d.ts +10 -0
- package/dist/broadcasting/index.js +1 -1
- package/dist/{broadcasting-B5RzB0A2.js → broadcasting-BdJnaq1O.js} +17 -3
- package/dist/console/Command.d.ts +3 -3
- package/dist/console/ConsoleKernel.d.ts +2 -2
- package/dist/console/index.d.ts +1 -1
- package/dist/console/types.d.ts +9 -1
- package/dist/container/Container.d.ts +18 -1
- package/dist/container/bindings.d.ts +5 -0
- package/dist/container/index.d.ts +4 -2
- package/dist/container/resolve-optional.d.ts +10 -0
- package/dist/context-af2n5abO.js +91 -0
- package/dist/{Job-CvDwk2Gj.js → default-application-Chbrul_m.js} +126 -82
- package/dist/encryption/Encrypter.d.ts +10 -0
- package/dist/encryption/index.js +1 -1
- package/dist/{encryption-uwP3Di4D.js → encryption-BRjZnshr.js} +23 -5
- package/dist/errors/ExceptionHandler.d.ts +10 -0
- package/dist/events/Event.d.ts +18 -0
- package/dist/events/EventManager.d.ts +56 -4
- package/dist/events/index.d.ts +2 -1
- package/dist/events/index.js +2 -2
- package/dist/events/queued.d.ts +8 -0
- package/dist/events/serialize.d.ts +8 -0
- package/dist/events/types.d.ts +19 -2
- package/dist/events-CaJKZ2qk.js +428 -0
- package/dist/health/checks/CacheCheck.d.ts +3 -5
- package/dist/health/checks/StorageCheck.d.ts +3 -5
- package/dist/health/index.js +1 -1
- package/dist/{health-DQSvUplL.js → health-CB0oS_UE.js} +2 -2
- package/dist/http/Application.d.ts +28 -0
- package/dist/http/default-application.d.ts +33 -0
- package/dist/http/middleware/detect-locale.d.ts +2 -1
- package/dist/http/request-container.d.ts +25 -0
- package/dist/i18n/I18nManager.d.ts +16 -3
- package/dist/i18n/index.d.ts +1 -1
- package/dist/i18n/index.js +2 -2
- package/dist/{i18n-BZ2VrSud.js → i18n-DRo1g0AN.js} +34 -10
- package/dist/index.d.ts +14 -9
- package/dist/index.js +196 -87
- package/dist/lambda/index.js +1 -1
- package/dist/logging/LogManager.d.ts +9 -0
- package/dist/logging/index.js +1 -1
- package/dist/{logging-Dmzdb6mL.js → logging-CXotojgW.js} +16 -3
- package/dist/mail/Mail.d.ts +14 -1
- package/dist/mail/MailManager.d.ts +10 -2
- package/dist/mail/index.js +1 -1
- package/dist/{mail-9CrvJyBZ.js → mail-zMjQimaJ.js} +42 -11
- package/dist/mvc/Controller.d.ts +2 -2
- package/dist/mvc/Router.d.ts +16 -5
- package/dist/mvc/inertia/InertiaEngine.d.ts +18 -3
- package/dist/mvc/inertia/shared.d.ts +7 -0
- package/dist/notifications/NotificationManager.d.ts +15 -0
- package/dist/notifications/index.js +1 -1
- package/dist/{notifications-D0VXkFLF.js → notifications-BLid0Y6M.js} +24 -5
- package/dist/providers/AuthServiceProvider.d.ts +5 -4
- package/dist/providers/AuthorizationServiceProvider.d.ts +2 -2
- package/dist/providers/BroadcastServiceProvider.d.ts +4 -1
- package/dist/providers/EncryptionServiceProvider.d.ts +7 -1
- package/dist/providers/EventServiceProvider.d.ts +1 -0
- package/dist/providers/LogServiceProvider.d.ts +6 -1
- package/dist/providers/MailServiceProvider.d.ts +7 -1
- package/dist/providers/NotificationServiceProvider.d.ts +4 -1
- package/dist/queue/Job.d.ts +39 -0
- package/dist/queue/QueueManager.d.ts +14 -5
- package/dist/queue/Worker.d.ts +2 -1
- package/dist/queue/index.d.ts +1 -1
- package/dist/queue/index.js +3 -3
- package/dist/queue/types.d.ts +7 -0
- package/dist/{queue-zPPYZdif.js → queue-IdJjqbyJ.js} +24 -10
- package/dist/redis/RedisSchedulerLock.d.ts +17 -0
- package/dist/redis/index.d.ts +2 -0
- package/dist/redis/index.js +21 -1
- package/dist/runtime/index.js +1 -1
- package/dist/scheduling/MemorySchedulerLock.d.ts +16 -0
- package/dist/scheduling/ScheduledTask.d.ts +19 -2
- package/dist/scheduling/Scheduler.d.ts +25 -0
- package/dist/scheduling/index.d.ts +2 -1
- package/dist/scheduling/index.js +2 -2
- package/dist/scheduling/types.d.ts +26 -2
- package/dist/{scheduling-C6tcOtUl.js → scheduling-DudNXGnh.js} +178 -20
- package/dist/storage/index.js +1 -1
- package/dist/{storage-D_yNe54O.js → storage-6HLaUf9j.js} +2 -13
- package/dist/support/deprecate.d.ts +16 -0
- package/dist/{vite-manifest-D295_7-_.js → vite-manifest-QooqG8FE.js} +1 -1
- package/dist/warn-once-p-IlMjra.js +13 -0
- package/package.json +2 -2
- package/dist/context-CXk_umpT.js +0 -21
- package/dist/events-DOmAHDeP.js +0 -230
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { h as warnDeprecatedSetter, i as bindAmbient, m as warnDeprecatedGetter, n as ambientBinding } from "./default-application-Chbrul_m.js";
|
|
1
2
|
import { basename, extname, join } from "node:path";
|
|
2
3
|
import { readFile, readdir } from "node:fs/promises";
|
|
3
4
|
//#region src/i18n/pluralization.ts
|
|
@@ -357,26 +358,49 @@ let globalI18n = null;
|
|
|
357
358
|
function createI18n(config) {
|
|
358
359
|
return new I18nManager(config);
|
|
359
360
|
}
|
|
360
|
-
/**
|
|
361
|
+
/**
|
|
362
|
+
* @deprecated since 2.23.0, removed in 3.0.0 (RFC 0023). Pass
|
|
363
|
+
* `createApp({ i18n })`, or bind it from a provider as
|
|
364
|
+
* `this.container.instance('i18n', manager)`.
|
|
365
|
+
*/
|
|
361
366
|
function setI18n(i18n) {
|
|
362
|
-
|
|
367
|
+
warnDeprecatedSetter("setI18n");
|
|
368
|
+
globalI18n = bindAmbient("i18n", i18n) ? null : i18n;
|
|
363
369
|
}
|
|
364
|
-
/**
|
|
370
|
+
/**
|
|
371
|
+
* @deprecated since 2.23.0, removed in 3.0.0 (RFC 0023). Use `this.t(key)` in a
|
|
372
|
+
* controller, `getRequestTranslator(ctx)` in middleware, or
|
|
373
|
+
* `defaultContainer().make('i18n')`. `t()` / `tc()` are unaffected.
|
|
374
|
+
*/
|
|
365
375
|
function getI18n() {
|
|
366
|
-
|
|
367
|
-
return
|
|
376
|
+
warnDeprecatedGetter("getI18n");
|
|
377
|
+
return resolveI18nOrFail();
|
|
368
378
|
}
|
|
369
|
-
/**
|
|
379
|
+
/**
|
|
380
|
+
* @deprecated since 2.23.0, removed in 3.0.0 (RFC 0023). Use
|
|
381
|
+
* `container.makeOptional('i18n')` on the container that owns the call.
|
|
382
|
+
*/
|
|
370
383
|
function tryGetI18n() {
|
|
371
|
-
|
|
384
|
+
warnDeprecatedGetter("tryGetI18n");
|
|
385
|
+
return resolveI18n();
|
|
386
|
+
}
|
|
387
|
+
/** @internal The default application's `i18n`, else the one `setI18n()` installed. */
|
|
388
|
+
function resolveI18n() {
|
|
389
|
+
return ambientBinding("i18n") ?? globalI18n ?? void 0;
|
|
390
|
+
}
|
|
391
|
+
/** @internal `resolveI18n()` with the message every unconfigured caller should read. */
|
|
392
|
+
function resolveI18nOrFail() {
|
|
393
|
+
const i18n = resolveI18n();
|
|
394
|
+
if (!i18n) throw new Error("I18n manager not initialized. Pass createApp({ i18n }), or call setI18n() first.");
|
|
395
|
+
return i18n;
|
|
372
396
|
}
|
|
373
397
|
/** Translate a key using the global I18n manager. */
|
|
374
398
|
function t(key, replacements) {
|
|
375
|
-
return
|
|
399
|
+
return resolveI18nOrFail().t(key, replacements);
|
|
376
400
|
}
|
|
377
401
|
/** Translate a key with count using the global I18n manager. */
|
|
378
402
|
function tc(key, count, replacements) {
|
|
379
|
-
return
|
|
403
|
+
return resolveI18nOrFail().tc(key, count, replacements);
|
|
380
404
|
}
|
|
381
405
|
//#endregion
|
|
382
406
|
//#region src/i18n/loaders/MemoryLoader.ts
|
|
@@ -420,4 +444,4 @@ var MemoryLoader = class {
|
|
|
420
444
|
}
|
|
421
445
|
};
|
|
422
446
|
//#endregion
|
|
423
|
-
export {
|
|
447
|
+
export { resolveI18n as a, tc as c, Translator as d, getPluralizationRule as f, getI18n as i, tryGetI18n as l, selectPluralForm as m, I18nManager as n, setI18n as o, pluralizationRules as p, createI18n as r, t as s, MemoryLoader as t, JsonLoader as u };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export { Application, createApp } from './http/Application.js';
|
|
2
|
+
export { ambientBinding, ambientContainer, defaultApplication, defaultContainer, resetDefaultApplication, useAsDefaultApplication, } from './http/default-application.js';
|
|
3
|
+
export { CONTAINER_CONTEXT_KEY, getRequestContainer, tryGetRequestContainer } from './http/request-container.js';
|
|
4
|
+
export type { RequestContextLike } from './http/request-container.js';
|
|
2
5
|
export type { Context, ApplicationListenOptions, ListenAddress, ServiceProviderConstructor, } from './http/Application.js';
|
|
3
6
|
export { parseRequestPayload, formatValidationErrors } from './http/request.js';
|
|
4
7
|
export { Controller } from './mvc/Controller.js';
|
|
@@ -43,16 +46,16 @@ export type { InertiaDocumentContext, InertiaDocumentOptions, InertiaOptions, In
|
|
|
43
46
|
export type { SharedInertiaPropsResolver, InertiaSharedProps, ResolvedSharedInertiaProps, SharedPropsContainer, } from './mvc/inertia/shared.js';
|
|
44
47
|
export { InertiaServiceProvider, AuthServiceProvider, OAuthServiceProvider, EventServiceProvider, CacheServiceProvider, QueueServiceProvider, MailServiceProvider, LogServiceProvider, I18nServiceProvider, NotificationServiceProvider, BroadcastServiceProvider, EncryptionServiceProvider, StorageServiceProvider, HealthServiceProvider, SchedulingServiceProvider, AuthorizationServiceProvider, ErrorServiceProvider, } from './providers/index.js';
|
|
45
48
|
export { FormRequest } from './http/FormRequest.js';
|
|
46
|
-
export { AuthManager, SessionGuard, TokenGuard, ModelUserProvider, BaseUserProvider, AuthenticatableModel, ScryptHasher, createPasswordResetToken, verifyPasswordResetToken, completePasswordReset, buildPasswordResetUrl, parsePasswordResetUrl, MemoryPasswordResetStore, createEmailVerificationToken, verifyEmailToken, completeEmailVerification, buildVerificationUrl, parseVerificationUrl, isEmailVerified, requireVerifiedEmail, MemoryEmailVerificationStore, createApiToken, parseApiToken, readBearerToken, verifyApiToken, tokenCan, tokenCanAll, tokenCanAny, revokeApiToken, revokeAllApiTokens, getUserApiTokens, createBearerTokenMiddleware, getApiToken, getApiTokenOrFail, MemoryApiTokenStore, API_TOKEN_KEY, OAuthManager, MemoryOAuthStateStore, createOAuthManager, createOAuthState, verifyOAuthState, sanitizeOAuthRedirect, OAUTH_SESSION_BINDING_KEY, buildOAuthAuthorizeUrl, exchangeOAuthCode, fetchOAuthUserProfile, createGitHubOAuthProviderConfig, createGoogleOAuthProviderConfig, createDiscordOAuthProviderConfig, buildOAuthRedirectUrl, parseOAuthRedirectUrl, } from './auth/index.js';
|
|
49
|
+
export { AuthManager, SessionGuard, TokenGuard, ModelUserProvider, BaseUserProvider, AuthenticatableModel, Argon2Hasher, ScryptHasher, createPasswordResetToken, verifyPasswordResetToken, completePasswordReset, buildPasswordResetUrl, parsePasswordResetUrl, MemoryPasswordResetStore, createEmailVerificationToken, verifyEmailToken, completeEmailVerification, buildVerificationUrl, parseVerificationUrl, isEmailVerified, requireVerifiedEmail, MemoryEmailVerificationStore, createApiToken, parseApiToken, readBearerToken, verifyApiToken, tokenCan, tokenCanAll, tokenCanAny, revokeApiToken, revokeAllApiTokens, getUserApiTokens, createBearerTokenMiddleware, getApiToken, getApiTokenOrFail, MemoryApiTokenStore, API_TOKEN_KEY, OAuthManager, MemoryOAuthStateStore, createOAuthManager, createOAuthState, verifyOAuthState, sanitizeOAuthRedirect, OAUTH_SESSION_BINDING_KEY, buildOAuthAuthorizeUrl, exchangeOAuthCode, fetchOAuthUserProfile, createGitHubOAuthProviderConfig, createGoogleOAuthProviderConfig, createDiscordOAuthProviderConfig, buildOAuthRedirectUrl, parseOAuthRedirectUrl, } from './auth/index.js';
|
|
47
50
|
export type { AuthContext as AuthRuntimeContext, AuthCredentials, AuthManagerOptions, Authenticatable, Guard, GuardContext, GuardFactory, UserProvider, ProviderFactory, DefaultSanitizedKeys, Sanitized, PasswordResetConfig, PasswordResetTokenStore, PasswordResetTokenResult, EmailVerificationConfig, EmailVerificationTokenStore, EmailVerificationToken, EmailVerificationTokenResult, ApiToken, ApiTokenGuardOptions, ApiTokenStore, CreateApiTokenOptions, CreateApiTokenResult, BearerTokenMiddlewareOptions, VerifiedApiToken, TokenGuardOptions, OAuthProviderConfig, OAuthTokenResult, OAuthUserProfile, OAuthFallbackEmail, OAuthStatePayload, OAuthStateStore, OAuthStateConfig, OAuthAuthorizeOptions, OAuthCallbackPayload, OAuthManagerOptions, OAuthProviderFactoryInput, OAuthBindingSession, } from './auth/index.js';
|
|
48
51
|
export { defineMiddleware, jsonResponse, createSessionMiddleware, MemorySessionStore, SessionManager, CookieSessionStore, DEFAULT_SESSION_STORE_NAME, BUILT_IN_SESSION_DRIVERS, PER_PROCESS_SESSION_DRIVERS, getSessionFromContext, requireAuthenticated, requireGuest, attachAuthContext, createCsrfMiddleware, getCsrfToken, csrfField, verifyCsrfToken, CSRF_TOKEN_KEY, CSRF_HEADER_NAME, CSRF_FORM_FIELD, validateRequest, validateRequestWith, getValidatedData, validate, validateSafe, VALIDATED_DATA_KEY, createRateLimitMiddleware, getRateLimitInfo, resetRateLimit, MemoryRateLimitStore, SlidingWindowRateLimitStore, createSecurityHeaders, createCspMiddleware, getCspNonce, CSP_NONCE_KEY, createHostAuthorizationMiddleware, createCorsMiddleware, createRedirectSafetyMiddleware, isSafeRedirectUrl, createForceHttpsMiddleware, requestIdMiddleware, requestLoggingMiddleware, detectLocaleMiddleware, LOCALE_CONTEXT_KEY, getRequestLocale, getRequestTranslator, } from './http/middleware/index.js';
|
|
49
52
|
export { AUTH_CONTEXT_KEY } from './http/middleware/auth.js';
|
|
50
53
|
export type { Middleware, Session, SessionData, SessionStore, SessionConfig, SessionDrivers, SessionStoreConfig, SessionDriverFactory, SessionCookieOptions, SessionInlineCodec, CookieSessionStoreOptions, CookieSessionDriverOptions, MemorySessionDriverOptions, RedisSessionDriverOptions, AuthContext, RequireAuthOptions, CsrfOptions, CookielessAuthEndpoints, ValidationSchema, ValidateRequestOptions, RateLimitOptions, RateLimitStore, RateLimitEntry, RateLimitInfo, SecurityHeadersOptions, HstsOptions, CspOptions, CspDirectives, HostAuthorizationOptions, CorsOptions, RedirectSafetyOptions, ForceHttpsOptions, DetectLocaleOptions, DetectLocaleVariables, TranslatorBinding, LocaleSource, } from './http/middleware/index.js';
|
|
51
54
|
export { Validator, FieldValidator, createValidator, quickValidate, quickValidateOrThrow, required, nullable, requiredIf, requiredUnless, requiredWith, requiredWithout, string as stringRule, numeric, integer, boolean as booleanRule, array as arrayRule, object as objectRule, email as emailRule, url as urlRule, uuid as uuidRule, ip, ipv4, ipv6, json as jsonRule, alpha, alphaNum, alphaDash, regex, min, max, between, size, inValues, notIn, confirmed, same, different, date as dateRule, dateFormat, after, afterOrEqual, before, beforeOrEqual, startsWith, endsWith, file as fileRule, image as imageRule, mimes, maxFileSize, minFileSize, custom, unique, exists, } from './http/validation/index.js';
|
|
52
55
|
export type { ValidationRule, RuleDefinition, ValidationResult, FileValidationOptions, ImageValidationOptions, ValidatorOptions, FileLike, } from './http/validation/index.js';
|
|
53
|
-
export { Event, EventManager, createEventManager, Listener, RequestReceived, RequestFinished, UserAuthenticated, UserLoggedOut, JobProcessed, JobFailed, ApplicationStarted, ApplicationShutdown, } from './events/index.js';
|
|
54
|
-
export type { EventClass, EventListener, ListenerOptions, RegisteredListener, EventSubscription, ListenerClass, } from './events/index.js';
|
|
55
|
-
export { Job, Worker, QueueManager, MemoryDriver, SyncDriver, RedisDriver, MemoryDriver as MemoryQueueDriver, SyncDriver as SyncQueueDriver, RedisDriver as RedisQueueDriver, setQueueDriver, getQueueDriver, registerJob, getJob, getRegisteredJobs, clearJobRegistry, resolveJobName, createQueueManager, processJob, FailedJobReporter, } from './queue/index.js';
|
|
56
|
+
export { Event, EventManager, createEventManager, createQueueEventDispatcher, Listener, RequestReceived, RequestFinished, UserAuthenticated, UserLoggedOut, JobProcessed, JobFailed, ApplicationStarted, ApplicationShutdown, } from './events/index.js';
|
|
57
|
+
export type { EventClass, EventListener, ListenerOptions, QueueEventDispatcher, RegisteredListener, EventSubscription, ListenerClass, } from './events/index.js';
|
|
58
|
+
export { Job, Worker, QueueManager, MemoryDriver, SyncDriver, RedisDriver, MemoryDriver as MemoryQueueDriver, SyncDriver as SyncQueueDriver, RedisDriver as RedisQueueDriver, setQueueDriver, clearQueueDriver, getQueueDriver, resolveQueueDriver, registerJob, getJob, getRegisteredJobs, clearJobRegistry, resolveJobName, createQueueManager, processJob, FailedJobReporter, } from './queue/index.js';
|
|
56
59
|
export type { QueuedJob, FailedJob, QueueDriver, JobOptions, WorkerOptions, JobHandler, JobFailureHandler, JobClass, WorkerEvents, QueueConfig, QueueDriverFactory, RedisDriverOptions, FailedJobInfo, FailedJobHandler, } from './queue/index.js';
|
|
57
60
|
export { Mail, mail, MailManager, createMailManager, setMailManager, getMailManager, SmtpTransport, ResendTransport, MemoryTransport, LogTransport, } from './mail/index.js';
|
|
58
61
|
export type { MailAddress, MailAttachment, MailMessage, SendResult, MailTransport, MailTransportFactory, MailTransportConfig, MailConfig, SmtpTransportOptions, ResendTransportOptions, MemoryTransportOptions, } from './mail/index.js';
|
|
@@ -60,8 +63,8 @@ export { CacheManager, MemoryStore as MemoryCacheStore, RedisStore as RedisCache
|
|
|
60
63
|
export type { CacheStore, CacheConfig, CacheStoreFactory, } from './cache/index.js';
|
|
61
64
|
export { StorageManager, LocalDriver as LocalStorageDriver, MemoryDriver as MemoryStorageDriver, S3Driver, createStorageManager, } from './storage/index.js';
|
|
62
65
|
export type { StorageDriver, StorageConfig, DiskConfig, StorageDriverFactory, PutOptions, FileMetadata, TemporaryUrlOptions, GetStreamOptions, StorageDriverCapabilities, } from './storage/index.js';
|
|
63
|
-
export { Scheduler, Schedule, PendingSchedule, ScheduledTask, parseCron, matchesCron, getNextOccurrence, getNextOccurrences, isDue, isDueInTimezone, toTimezone, createScheduler, } from './scheduling/index.js';
|
|
64
|
-
export type { TaskCallback, TaskDefinition, SchedulerOptions, ParsedCron, JobClass as ScheduledJobClass, } from './scheduling/index.js';
|
|
66
|
+
export { Scheduler, Schedule, PendingSchedule, ScheduledTask, parseCron, matchesCron, getNextOccurrence, getNextOccurrences, isDue, isDueInTimezone, toTimezone, createScheduler, MemorySchedulerLock, } from './scheduling/index.js';
|
|
67
|
+
export type { TaskCallback, TaskDefinition, SchedulerOptions, SchedulerLock, ParsedCron, JobClass as ScheduledJobClass, } from './scheduling/index.js';
|
|
65
68
|
export { Logger, filterSensitiveData, LogManager, ConsoleChannel, FileChannel, DailyFileChannel, dailyFileDateStamp, dailyFilePath, matchDailyFileDate, LOG_LEVEL_PRIORITY, createLogManager, setLogManager, getLogManager, } from './logging/index.js';
|
|
66
69
|
export type { LogLevel, LogContext, LogEntry, LogChannel, LogChannelFactory, LogChannelConfig, ConsoleChannelConfig, FileChannelConfig, DailyFileChannelConfig, StackChannelConfig, LogConfig, LogFormatter, LoggerOptions, } from './logging/index.js';
|
|
67
70
|
export { Translator, I18nManager, JsonLoader, MemoryLoader, pluralizationRules, getPluralizationRule, selectPluralForm, createI18n, setI18n, getI18n, tryGetI18n, t, tc, } from './i18n/index.js';
|
|
@@ -76,8 +79,8 @@ export { Notification, NotificationManager, createNotificationManager, setNotifi
|
|
|
76
79
|
export type { NotificationConstructor, NotificationChannel, Notifiable, DatabaseNotification, NotificationMailMessage, NotificationAttachment, SlackMessage, SlackBlock, SlackAttachment, NotificationChannelFactory, NotificationManagerOptions, DatabaseChannelOptions, SentNotification, NotificationClass, MailChannelOptions, SlackChannelOptions, } from './notifications/index.js';
|
|
77
80
|
export { BroadcastManager, createBroadcastManager, setBroadcastManager, getBroadcastManager, Channel, PrivateChannel, PresenceChannel, MemoryDriver as MemoryBroadcastDriver, RedisDriver as RedisBroadcastDriver, } from './broadcasting/index.js';
|
|
78
81
|
export type { BroadcastEvent, BroadcastDriver, PresenceBroadcastDriver, ChannelAuthorizer, PresenceChannelAuthorizer, PresenceMember, SSEClient, WebSocketClient, BroadcastManagerOptions, BroadcastDriverFactory, ChannelRegistration, SSEMiddlewareOptions, AuthMiddlewareOptions, BroadcastableEvent, MemoryDriverOptions as BroadcastMemoryDriverOptions, RedisClient as BroadcastRedisClient, RedisDriverOptions as BroadcastRedisDriverOptions, } from './broadcasting/index.js';
|
|
79
|
-
export { Container, createContainer, setContainer, getContainer, resolve, ServiceProvider, ProviderManager, definePlugin, defineModule, mountModuleRoutes, } from './container/index.js';
|
|
80
|
-
export type { PluginDefinition, PluginFactory, ModuleDefinition, GurenModule, ServiceFactory, ServiceClass, ServiceBinding, ServiceBindings, ContextualBindingBuilder, ContextualNeedsBuilder, ContextualBinding, ServiceProviderOptions, Provider as ContainerProvider, ServiceProviderClass, } from './container/index.js';
|
|
82
|
+
export { Container, createContainer, resolveOptional, setContainer, getContainer, resolve, ServiceProvider, ProviderManager, definePlugin, defineModule, mountModuleRoutes, } from './container/index.js';
|
|
83
|
+
export type { ContainerLike, PluginDefinition, PluginFactory, ModuleDefinition, GurenModule, ServiceFactory, ServiceClass, ServiceBinding, ServiceBindings, ContextualBindingBuilder, ContextualNeedsBuilder, ContextualBinding, ServiceProviderOptions, Provider as ContainerProvider, ServiceProviderClass, } from './container/index.js';
|
|
81
84
|
export { HttpException, ExceptionHandler, createExceptionHandler, setExceptionHandler, getExceptionHandler, abort, abortIf, abortUnless, ValidationException, AuthenticationException, AuthorizationException, NotFoundHttpException, MethodNotAllowedException, } from './errors/index.js';
|
|
82
85
|
export type { ErrorResponse, ExceptionHandlerOptions, ExceptionReporter, ExceptionRenderer, ExceptionClass, RendererRegistration, } from './errors/index.js';
|
|
83
86
|
export { Command, Input, Output, BufferedOutput, ConsoleKernel, createConsoleKernel, parseSignature, } from './console/index.js';
|
|
@@ -93,7 +96,9 @@ export { renderDebugPage, debugErrorMiddleware } from './errors/debug-page.js';
|
|
|
93
96
|
export { renderErrorPage } from './errors/error-page.js';
|
|
94
97
|
export { NodeHasher } from './auth/password/NodeHasher.js';
|
|
95
98
|
export { DefaultHasher, DefaultHasher as Hash } from './auth/password/DefaultHasher.js';
|
|
96
|
-
export type {
|
|
99
|
+
export type { PasswordHashAlgorithm, DefaultHasherOptions } from './auth/password/DefaultHasher.js';
|
|
100
|
+
export type { PasswordHasherOption } from './auth/password/configured-hasher.js';
|
|
101
|
+
export type { ApplicationOptions, AuthPluginOptions, I18nPluginOptions, InertiaApplicationOptions } from './http/Application.js';
|
|
97
102
|
export type { InertiaI18nProps } from './providers/I18nServiceProvider.js';
|
|
98
103
|
export { SqsDriver, createSqsAdapter } from './queue/drivers/SqsDriver.js';
|
|
99
104
|
export { createTypedBroadcaster } from './broadcasting/typed.js';
|