@orieljs/framework 0.1.0-alpha.12 → 0.1.0-alpha.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/{chunk-MURTCTRH.js → chunk-4NCMY3ZS.js} +48 -2
  2. package/dist/chunk-4NCMY3ZS.js.map +1 -0
  3. package/dist/{chunk-HTJKT2R2.js → chunk-BKA5F3TH.js} +1 -1
  4. package/dist/{chunk-HTJKT2R2.js.map → chunk-BKA5F3TH.js.map} +1 -1
  5. package/dist/{chunk-7NA4HALO.js → chunk-UBSIBGXR.js} +236 -54
  6. package/dist/chunk-UBSIBGXR.js.map +1 -0
  7. package/dist/{chunk-24673JQF.js → chunk-X4N74JDO.js} +98 -4
  8. package/dist/chunk-X4N74JDO.js.map +1 -0
  9. package/dist/contracts.d.ts +11 -1
  10. package/dist/contracts.js +1 -1
  11. package/dist/{index.d-WQpfdIbG.d.ts → index.d-lffxurFs.d.ts} +10 -1
  12. package/dist/index.d.ts +363 -19
  13. package/dist/index.js +1193 -189
  14. package/dist/index.js.map +1 -1
  15. package/dist/{jsx-runtime-6um4Mwfb.d.ts → jsx-runtime-Bc5KJzwb.d.ts} +1 -1
  16. package/dist/jsx-runtime.d.ts +2 -2
  17. package/dist/jsx-runtime.js +3 -3
  18. package/dist/{testing-CKwfWJGn.d.ts → testing-CVpo7aRl.d.ts} +46 -7
  19. package/dist/testing.d.ts +2 -2
  20. package/dist/testing.js +5 -3
  21. package/docs/authentication.md +42 -1
  22. package/docs/console.md +17 -6
  23. package/docs/database-testing.md +21 -0
  24. package/docs/database.md +12 -0
  25. package/docs/deployment.md +33 -6
  26. package/docs/encryption.md +2 -0
  27. package/docs/installation.md +2 -1
  28. package/docs/live-tests.md +20 -0
  29. package/docs/live.md +22 -0
  30. package/docs/navigation.json +4 -0
  31. package/docs/pagination.md +10 -0
  32. package/docs/routing.md +1 -1
  33. package/docs/scheduling.md +3 -0
  34. package/docs/session.md +19 -2
  35. package/docs/starter-kits.md +4 -0
  36. package/docs/storage.md +44 -5
  37. package/docs/testing.md +9 -6
  38. package/docs/two-factor.md +192 -0
  39. package/docs/views.md +2 -0
  40. package/docs/vite.md +1 -1
  41. package/package.json +56 -38
  42. package/dist/chunk-24673JQF.js.map +0 -1
  43. package/dist/chunk-7NA4HALO.js.map +0 -1
  44. package/dist/chunk-MURTCTRH.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { Container as Container$1, Factory as Factory$1, Abstract, Concrete, OrielError, ConfigRepository, Application as Application$2, ServiceProvider, ServiceProviderClass, MiddlewareConfigurator, ExceptionsConfigurator, ClassNames, HttpKernel, Middleware, HttpRequest, Next as Next$1, Htmlable, Notifiable as Notifiable$1, Notification as Notification$2, NotificationChannel, MailRecipient, Attachment, NotificationDispatcher, Job, BusDispatcher, EventDispatcher, MailManager as MailManager$1, QueueManager as QueueManager$1, FilesystemManager as FilesystemManager$1, Pipeline, Class, PipeClosure, Pipe, PipelineFactory, Router, ControllerAction, RouteClosure, InvokableClass, Route as Route$1, RouteAction, MiddlewareReference, ResourceOptions, RouteRegistrar, MiddlewareClass, UrlGenerator, ModelNotFoundError as ModelNotFoundError$1, ExceptionHandler, UploadedFile, RedirectResponse, HeadersInit, MessageBag, Redirector, ResponseFactory as ResponseFactory$1, BodyInit, Session, Rules, InferValidatedType, RouteName, RouteArguments, CookieJar as CookieJar$1, ConsoleKernel, CommandContext, OptionValue, ClosureCommand as ClosureCommand$1, Command as Command$1, Schedule as Schedule$1, ScheduledEvent, ScheduleHook, Row, ModelInstance, QueryBuilder, DatabaseConnection, DriverName, Operator, DatabaseManager, DatabaseNotification as DatabaseNotification$1, RouteModelResolver, Token, RuleTyping, TypedValidationRule, ValidationRule, InValue, ValidationError, ValidationFactory, Validator as Validator$1, RuleCallback, Encrypter as Encrypter$1, Hasher, Cookie as Cookie$1, SessionHandler, Gate as Gate$1, Authenticatable, AbilityCallback, Credentials, AuthFactory, StatefulGuard, Guard, UserProvider, ModelStatic, AuthenticationError as AuthenticationError$1, PasswordBroker as PasswordBroker$1, PasswordStatus, MustVerifyEmail, Logger, LogLevel, ErrorKind, LogManager as LogManager$1, ListenerClass, Listener as Listener$1, ClassRegistry, CacheManager as CacheManager$1, CacheRepository, Lock, RateLimiter as RateLimiter$1, Filesystem, PutOptions, QueueJob, QueuePayload, Batch as Batch$1, BatchRepository, PendingBatchOptions, FailedJobProvider, FailedJob, Queue as Queue$1, PendingChain as PendingChain$1, PendingBatch as PendingBatch$1, ShouldQueue, MailTransport, OutgoingMessage, SentMessage, Mailer, Address, Mailable as Mailable$1, PendingMail, Envelope, Content, PropCallback, InertiaFactory, InertiaResponse, InertiaPage, InertiaScrollProp, InertiaOnceProp, InertiaSsrGateway, InertiaSsrResponse } from './contracts.js';
2
2
  export { InferRuleType, RouteList, RouteParameter, RouteParameters } from './contracts.js';
3
- import { F as Facade, S as ServiceProvider$1, f as fileType, a as Stringable, C as Collection, L as LazyCollection, O as Operator$1 } from './index.d-WQpfdIbG.js';
4
- export { A as Arr, b as ClassRegistry, c as FacadeStatics, I as ItemNotFoundError, M as MultipleItemsFoundError, d as Str, _ as __, e as app, g as collect, h as config, i as facade, n as now, r as retry, t as tap, v as value } from './index.d-WQpfdIbG.js';
5
- import { B as BusFake, E as EventFake, M as MailFake, N as NotificationFake, Q as QueueFake, S as StorageFake } from './testing-CKwfWJGn.js';
6
- export { C as Component, a as ComponentResult, b as Computed, c as CorruptComponentPayloadError, d as ErrorBag, F as FileNotPreviewableError, I as InvalidLiveRequestError, e as InvalidUploadSignatureError, L as Live, f as LiveComponentManager, g as LiveComponentNotFoundError, h as LiveError, i as LiveProps, j as LiveServiceProvider, k as Locked, l as MethodNotCallableError, O as On, P as PERSISTENT_MIDDLEWARE, m as PREVIEW_URI, n as Paginated, o as Pagination, p as PaginationProps, q as PaginationSource, r as PendingEvent, s as PersistentMiddleware, t as PropertyNotUpdatableError, T as TEMPORARY_UPLOAD_DEFAULTS, u as TemporaryFileData, v as TemporaryFileNotFoundError, w as TemporaryUploadedFile, x as TestRequestScope, y as Testable, U as UPDATE_URI, z as UPLOAD_URI, A as UploadValidationError, W as WithFileUploads, D as WithPagination, G as componentName, H as live, J as persistentMiddleware } from './testing-CKwfWJGn.js';
3
+ import { F as Facade, S as ServiceProvider$1, f as fileType, a as Stringable, C as Collection, L as LazyCollection, O as Operator$1 } from './index.d-lffxurFs.js';
4
+ export { A as Arr, b as ClassRegistry, c as FacadeStatics, I as ItemNotFoundError, M as MissingPackageError, d as MultipleItemsFoundError, e as Str, _ as __, g as app, h as collect, i as config, j as facade, n as now, r as retry, t as tap, v as value } from './index.d-lffxurFs.js';
5
+ import { B as BusFake, E as EventFake, M as MailFake, N as NotificationFake, Q as QueueFake, S as StorageFake } from './testing-CVpo7aRl.js';
6
+ export { C as Component, a as ComponentResult, b as Computed, c as CorruptComponentPayloadError, d as ErrorBag, F as FileNotPreviewableError, I as InvalidLiveRequestError, e as InvalidUploadSignatureError, L as Live, f as LiveComponentManager, g as LiveComponentNotFoundError, h as LiveError, i as LiveProps, j as LiveServiceProvider, k as Locked, l as MethodNotCallableError, O as On, P as PERSISTENT_MIDDLEWARE, m as PREVIEW_URI, n as Paginated, o as Pagination, p as PaginationProps, q as PaginationSource, r as PendingEvent, s as PersistentMiddleware, t as PropertyNotUpdatableError, u as SESSION_URI, T as TEMPORARY_UPLOAD_DEFAULTS, v as TemporaryFileData, w as TemporaryFileNotFoundError, x as TemporaryUploadedFile, y as TestRequestScope, z as Testable, U as UPDATE_URI, A as UPLOAD_URI, D as UploadAlreadyStoredError, G as UploadValidationError, W as WithFileUploads, H as WithPagination, J as componentName, K as live, R as persistentMiddleware } from './testing-CVpo7aRl.js';
7
7
  import { IncomingMessage, ServerResponse } from 'node:http';
8
8
  import { SpawnOptions, ChildProcess } from 'node:child_process';
9
9
  import { Kysely, RawBuilder, CompiledQuery, QueryResult, SqliteDatabase, SqliteStatement, Dialect } from 'kysely';
@@ -11,7 +11,7 @@ import Redis$1, { Redis } from 'ioredis';
11
11
  import pino from 'pino';
12
12
  import { WriteStream } from 'node:fs';
13
13
  import { Writable } from 'node:stream';
14
- export { C as ClassValue, E as ELEMENT, F as FileViewFinder, a as Fragment, H as HtmlAttributes, b as HtmlString, I as InvalidViewError, L as LiveDirectives, c as LiveEvent, O as OrielElement, P as Props, R as Renderable, S as StyleObject, T as TsxView, V as View, d as ViewComponent, e as ViewEnvironment, f as ViewFactoryImpl, g as ViewNotFoundError, h as ViewRenderError, i as ViewServiceProvider, j as classNames, k as createElement, l as csrfField, m as e, n as isElement, o as isHtmlable, p as methodField, r as raw, q as renderToStream, s as renderToString, t as styleString, v as view } from './jsx-runtime-6um4Mwfb.js';
14
+ export { C as ClassValue, E as ELEMENT, F as FileViewFinder, a as Fragment, H as HtmlAttributes, b as HtmlString, I as InvalidViewError, L as LiveDirectives, c as LiveEvent, O as OrielElement, P as Props, R as Renderable, S as StyleObject, T as TsxView, V as View, d as ViewComponent, e as ViewEnvironment, f as ViewFactoryImpl, g as ViewNotFoundError, h as ViewRenderError, i as ViewServiceProvider, j as classNames, k as createElement, l as csrfField, m as e, n as isElement, o as isHtmlable, p as methodField, r as raw, q as renderToStream, s as renderToString, t as styleString, v as view } from './jsx-runtime-Bc5KJzwb.js';
15
15
 
16
16
  type Key = unknown;
17
17
  type Lifetime = 'transient' | 'singleton' | 'scoped';
@@ -130,7 +130,7 @@ declare class ApplicationBuilder {
130
130
  type LifecycleCallback = (app: Application$2) => void | Promise<void>;
131
131
  declare class Application$1 extends Container implements Application$2 {
132
132
  private readonly base;
133
- readonly version = "0.1.0-alpha.12";
133
+ readonly version = "0.1.0-alpha.14";
134
134
  private readonly providers;
135
135
  private readonly bootingCallbacks;
136
136
  private readonly bootedCallbacks;
@@ -1890,6 +1890,11 @@ declare class ScheduledEventImpl implements ScheduledEvent {
1890
1890
  * compares seconds. Without timezone(), expressions are read in app.timezone (UTC by default), as in Laravel.
1891
1891
  */
1892
1892
  isDue(now: Date): boolean;
1893
+ /**
1894
+ * The latest minute after `from` and up to `to` at which this event was due, its between()/unlessBetween() windows
1895
+ * judged at that minute; undefined when there is none. Walks back from `to` (at most 10,000 due minutes).
1896
+ */
1897
+ dueAt(from: Date, to: Date): Date | undefined;
1893
1898
  private zone;
1894
1899
  /** Whether `now`, in the event's time zone, falls in the window (inclusive; one that crosses midnight too). */
1895
1900
  private isWithinWindow;
@@ -1935,6 +1940,7 @@ declare class ScheduleImpl implements Schedule$1 {
1935
1940
  call(callback: () => unknown | Promise<unknown>): ScheduledEvent;
1936
1941
  events(): ScheduledEvent[];
1937
1942
  dueEvents(now: Date): ScheduledEvent[];
1943
+ dueBetween(from: Date, to: Date): ScheduledEvent[];
1938
1944
  private push;
1939
1945
  }
1940
1946
 
@@ -1942,9 +1948,17 @@ interface ConsoleOutput {
1942
1948
  write(text: string): void;
1943
1949
  writeError(text: string): void;
1944
1950
  }
1951
+ /** Ctrl-C at a question, or the input ending with no answer left. The kernel exits 130 for it. */
1952
+ declare class ConsoleAbortedError extends Error {
1953
+ readonly name = "ConsoleAbortedError";
1954
+ constructor();
1955
+ }
1945
1956
  /** Resolves with the line typed, without the trailing newline. */
1946
1957
  interface ConsoleInput {
1947
- question(prompt: string): Promise<string>;
1958
+ /** `hidden` keeps the answer off the screen, in a terminal. */
1959
+ question(prompt: string, options?: {
1960
+ hidden?: boolean;
1961
+ }): Promise<string>;
1948
1962
  /** Releases whatever the input holds open (stdin), once the outermost command has finished. */
1949
1963
  close?(): void;
1950
1964
  }
@@ -1969,7 +1983,9 @@ declare class BufferedConsoleOutput implements ConsoleOutput {
1969
1983
  /**
1970
1984
  * Reads answers from stdin through one readline interface, created on the first prompt and reused after that, so
1971
1985
  * piped input that arrives all at once keeps every line. Lines read ahead of a prompt are queued for the next one.
1972
- * `close()` releases stdin so the process can exit; the next prompt opens a fresh interface.
1986
+ * Hidden questions use the same interface, because a second reader on stdin would be echoed by the first: readline
1987
+ * writes through an output that can be muted while the answer is typed. `close()` releases stdin so the process can
1988
+ * exit; the next prompt opens a fresh interface.
1973
1989
  */
1974
1990
  declare class NodeConsoleInput implements ConsoleInput {
1975
1991
  private readonly input;
@@ -1978,16 +1994,24 @@ declare class NodeConsoleInput implements ConsoleInput {
1978
1994
  private lines;
1979
1995
  private waiting;
1980
1996
  private ended;
1997
+ private muted;
1981
1998
  constructor(input?: NodeJS.ReadableStream, output?: NodeJS.WritableStream);
1982
- question(prompt: string): Promise<string>;
1999
+ question(prompt: string, options?: {
2000
+ hidden?: boolean;
2001
+ }): Promise<string>;
1983
2002
  close(): void;
1984
2003
  private open;
2004
+ private isTerminal;
2005
+ /** What readline writes to: the real output, unless muted, with the width it wraps long lines at. */
2006
+ private screen;
1985
2007
  }
1986
2008
  /** Feeds pre-recorded answers to ask()/confirm()/choice()/secret() in tests, without a TTY. */
1987
2009
  declare class QueuedConsoleInput implements ConsoleInput {
1988
2010
  private readonly queue;
1989
2011
  constructor(answers?: string[]);
1990
- question(_prompt: string): Promise<string>;
2012
+ question(_prompt: string, _options?: {
2013
+ hidden?: boolean;
2014
+ }): Promise<string>;
1991
2015
  }
1992
2016
 
1993
2017
  /**
@@ -2017,7 +2041,7 @@ declare abstract class Command implements CommandContext {
2017
2041
  newLine(count?: number): void;
2018
2042
  table(headers: string[], rows: string[][]): void;
2019
2043
  ask(question: string, defaultValue?: string): Promise<string>;
2020
- /** v1 simplification: reads through the same stream as ask(), without suppressing terminal echo. */
2044
+ /** Asks without showing what's typed, in a terminal. Unlike ask(), the answer isn't trimmed: a secret may start or end with a space. */
2021
2045
  secret(question: string): Promise<string>;
2022
2046
  confirm(question: string, defaultValue?: boolean): Promise<boolean>;
2023
2047
  choice(question: string, choices: string[], defaultIndex?: number): Promise<string>;
@@ -2047,16 +2071,25 @@ declare class Kernel implements ConsoleKernel {
2047
2071
  private readonly defaultInput;
2048
2072
  private readonly defaultOutput;
2049
2073
  private lastOutput;
2074
+ /** The classes of the commands registered as classes: each run makes a new one. */
2075
+ private readonly classes;
2050
2076
  private running;
2077
+ private loader;
2078
+ private bootstrapping;
2051
2079
  constructor(app: KernelApp, io?: {
2052
2080
  input?: ConsoleInput;
2053
2081
  output?: ConsoleOutput;
2054
2082
  });
2083
+ /** What bootstrap() runs once: the provider hands it the loading of the app's commands and routes/console.ts. */
2084
+ bootstrapWith(loader: () => Promise<void>): void;
2085
+ bootstrap(): Promise<void>;
2055
2086
  register(...commands: Array<Command$1 | (new () => Command$1)>): void;
2056
2087
  command(signature: string, handler: (this: CommandContext, ...args: unknown[]) => number | void | Promise<number | void>): ClosureCommand$1;
2057
2088
  all(): Record<string, Command$1>;
2058
2089
  output(): string;
2059
- call(command: string, parameters?: Record<string, unknown>): Promise<number>;
2090
+ call(command: string, parameters?: Record<string, unknown>, options?: {
2091
+ answers?: string[];
2092
+ }): Promise<number>;
2060
2093
  /** @internal Runs a command with the given I/O. Command.call() passes its own, so nested output isn't swallowed. */
2061
2094
  callWithIo(command: string, parameters: Record<string, unknown>, io: ConsoleIo): Promise<number>;
2062
2095
  handle(argv: string[]): Promise<number>;
@@ -2382,10 +2415,14 @@ interface SpawnResult {
2382
2415
  type Spawner = (command: string, args: string[]) => SpawnResult;
2383
2416
  declare class TestCommand extends Command {
2384
2417
  private readonly spawner;
2418
+ /** Whether `oriel` itself runs on Bun: then Vitest does too, as a Bun app has no Node-only drivers. */
2419
+ private readonly onBun;
2385
2420
  /** Paths are passed on to vitest; so is everything after `--` (`oriel test -- --coverage`). */
2386
2421
  readonly signature = "test {args?*} {--filter=}";
2387
2422
  description: string;
2388
- constructor(spawner?: Spawner);
2423
+ constructor(spawner?: Spawner,
2424
+ /** Whether `oriel` itself runs on Bun: then Vitest does too, as a Bun app has no Node-only drivers. */
2425
+ onBun?: () => boolean);
2389
2426
  handle(): Promise<number>;
2390
2427
  }
2391
2428
 
@@ -6082,13 +6119,15 @@ declare class AddQueuedCookiesToResponse implements Middleware {
6082
6119
  * once, outermost in `web`, so every cookie is encrypted exactly once.
6083
6120
  */
6084
6121
  declare class EncryptCookies implements Middleware {
6122
+ #private;
6085
6123
  /** Cookie names that are never encrypted (Laravel 11's $middleware->encryptCookies(except: [...])). */
6086
6124
  static except(cookies: string | string[]): void;
6087
6125
  /** Forget the names added with except() (for tests). */
6088
6126
  static flushState(): void;
6089
6127
  /** Subclasses list cookie names that are not encrypted. */
6090
6128
  protected except: string[];
6091
- protected readonly encrypter: Encrypter$1;
6129
+ /** Resolved when there's a cookie to read or write, so a page that uses none works without APP_KEY. */
6130
+ protected get encrypter(): Encrypter$1;
6092
6131
  isDisabled(name: string): boolean;
6093
6132
  handle(request: HttpRequest, next: Next$1): Promise<Response>;
6094
6133
  protected decrypt(request: HttpRequest): void;
@@ -6205,7 +6244,8 @@ declare class FileSessionHandler implements SessionHandler {
6205
6244
  /**
6206
6245
  * Laravel's DatabaseSessionHandler over the DatabaseManager contract: table `sessions` with `id`, `user_id`,
6207
6246
  * `ip_address`, `user_agent`, `payload` (base64) and `last_activity` (unix seconds). One instance per Store,
6208
- * because `exists` is per-request state.
6247
+ * because `exists` is per-request state. Unlike Laravel's, it keeps the visitor's address and browser only when asked:
6248
+ * Live on a cached page gives anonymous readers a session too.
6209
6249
  */
6210
6250
  declare class DatabaseSessionHandler implements SessionHandler {
6211
6251
  #private;
@@ -6215,9 +6255,12 @@ declare class DatabaseSessionHandler implements SessionHandler {
6215
6255
  /** The current container, for the request (ip, user agent) and the logged-in user. */
6216
6256
  private readonly container;
6217
6257
  private readonly clock;
6258
+ private readonly options;
6218
6259
  constructor(connection: () => DatabaseConnection, table: string, minutes: number,
6219
6260
  /** The current container, for the request (ip, user agent) and the logged-in user. */
6220
- container?: () => Container$1 | undefined, clock?: () => number);
6261
+ container?: () => Container$1 | undefined, clock?: () => number, options?: {
6262
+ clientDetails?: boolean;
6263
+ });
6221
6264
  read(id: string): Promise<string>;
6222
6265
  write(id: string, data: string): Promise<void>;
6223
6266
  destroy(id: string): Promise<void>;
@@ -6279,6 +6322,8 @@ interface SessionConfig {
6279
6322
  secure?: boolean | null;
6280
6323
  http_only?: boolean;
6281
6324
  same_site?: 'lax' | 'strict' | 'none' | null;
6325
+ /** Whether the database driver stores each session's IP address and browser. */
6326
+ client_details?: boolean;
6282
6327
  }
6283
6328
  /** Builds a handler for a custom driver. Called once per Store (per request scope). */
6284
6329
  type SessionHandlerFactory = (container: Container$1, config: SessionConfig) => SessionHandler;
@@ -6392,6 +6437,16 @@ declare class AuthenticationError extends Error implements AuthenticationError$1
6392
6437
  readonly name = "AuthenticationError";
6393
6438
  constructor(message?: string, guards?: string[], redirectTo?: string | undefined);
6394
6439
  }
6440
+ /** The password given to logoutOtherDevices() isn't the user's. */
6441
+ declare class InvalidPasswordError extends Error {
6442
+ readonly name = "InvalidPasswordError";
6443
+ constructor();
6444
+ }
6445
+ /** enableApp() on a user whose authenticator app already works: a new secret would silently stop it. */
6446
+ declare class TwoFactorAppAlreadyEnabledError extends Error {
6447
+ readonly name = "TwoFactorAppAlreadyEnabledError";
6448
+ constructor();
6449
+ }
6395
6450
  /** Laravel's AuthorizationException: 403 by default, or the status a policy chose (denyWithStatus/denyAsNotFound). */
6396
6451
  declare class AuthorizationError extends Error implements OrielError {
6397
6452
  readonly kind: "Authorization";
@@ -6434,6 +6489,18 @@ declare class Logout {
6434
6489
  readonly user: Authenticatable | undefined;
6435
6490
  constructor(guard: string, user: Authenticatable | undefined);
6436
6491
  }
6492
+ /** Fired after a user is logged out on this device only; their other sessions and remember token are untouched. */
6493
+ declare class CurrentDeviceLogout {
6494
+ readonly guard: string;
6495
+ readonly user: Authenticatable | undefined;
6496
+ constructor(guard: string, user: Authenticatable | undefined);
6497
+ }
6498
+ /** Fired by logoutOtherDevices(), once the password is rehashed: the user's other sessions end on their next request. */
6499
+ declare class OtherDeviceLogout {
6500
+ readonly guard: string;
6501
+ readonly user: Authenticatable;
6502
+ constructor(guard: string, user: Authenticatable);
6503
+ }
6437
6504
  /** Fired after a password reset. */
6438
6505
  declare class PasswordReset {
6439
6506
  readonly user: Authenticatable;
@@ -6623,6 +6690,25 @@ declare class SessionGuard implements StatefulGuard {
6623
6690
  loginUsingId(id: unknown, remember?: boolean): Promise<Authenticatable | false>;
6624
6691
  /** Forgets the user, the session key and the remember cookie, and cycles the remember token. */
6625
6692
  logout(): Promise<void>;
6693
+ /** Logs out here only: the remember token isn't cycled, so the user's other remembered devices keep working. */
6694
+ logoutCurrentDevice(): Promise<void>;
6695
+ /**
6696
+ * Ends the user's other sessions, on their next request through `auth.session`, by rehashing the password they gave.
6697
+ * This session stays signed in, and so does this device's remember cookie. Undefined for a guest.
6698
+ */
6699
+ logoutOtherDevices(password: string): Promise<Authenticatable | undefined>;
6700
+ /** @internal Whether this request has a session: a cached page's route leaves StartSession out. */
6701
+ hasStartedSession(): boolean;
6702
+ /**
6703
+ * @internal For `auth.session`: whether the signed-in user's password is the one this session and this device's remember
6704
+ * cookie were made with. A session with no stored hash stores one and carries on.
6705
+ */
6706
+ passwordHashMatches(): boolean;
6707
+ /**
6708
+ * @internal After a request: this session keeps the current password's hash, which covers a login and a new password,
6709
+ * and `before` (the password the request began with) tells when this device's remember cookie needs the new one too.
6710
+ */
6711
+ keepPasswordHash(before?: string): void;
6626
6712
  hasUser(): boolean;
6627
6713
  setUser(user: Authenticatable): void;
6628
6714
  /** Whether the user was authenticated by the remember-me cookie. */
@@ -6670,6 +6756,10 @@ declare class AuthManager implements AuthFactory {
6670
6756
  login(user: Authenticatable, remember?: boolean): Promise<void>;
6671
6757
  loginUsingId(id: unknown, remember?: boolean): Promise<Authenticatable | false>;
6672
6758
  logout(): Promise<void>;
6759
+ /** Logs the default guard out on this device only (the remember token isn't cycled). */
6760
+ logoutCurrentDevice(): Promise<void>;
6761
+ /** Ends the user's other sessions, on their next request through `auth.session`. This one stays signed in. */
6762
+ logoutOtherDevices(password: string): Promise<Authenticatable | undefined>;
6673
6763
  viaRemember(): boolean;
6674
6764
  }
6675
6765
 
@@ -6956,6 +7046,18 @@ declare class Authenticate implements Middleware {
6956
7046
  protected redirectTo(request: HttpRequest): string | undefined;
6957
7047
  }
6958
7048
 
7049
+ /**
7050
+ * Laravel's AuthenticateSession (`auth.session`): a session keeps a keyed hash of the user's password and is signed out
7051
+ * when it no longer matches, so a new password ends the other sessions on every session driver. A session with no hash
7052
+ * stores one and carries on, so nobody is signed out by upgrading, and the request that changes the password stores the
7053
+ * new one, so whoever changed it stays in. A route without a session (a cached page) passes straight through.
7054
+ */
7055
+ declare class AuthenticateSession implements Middleware {
7056
+ protected readonly auth: AuthFactory;
7057
+ protected readonly config: ConfigRepository;
7058
+ handle(request: HttpRequest, next: Next$1): Promise<Response>;
7059
+ }
7060
+
6959
7061
  /** Laravel's RedirectIfAuthenticated (`guest`): signed-in users are sent to their home page. */
6960
7062
  declare class RedirectIfAuthenticated implements Middleware {
6961
7063
  #private;
@@ -6995,6 +7097,142 @@ declare class AuthServiceProvider extends ServiceProvider$1 {
6995
7097
  register(): void;
6996
7098
  boot(): Promise<void>;
6997
7099
  }
7100
+ /** RFC 6238 with SHA-1 and 6 digits: the code for the 30-second step that `at` (ms) falls in, or for `step` itself. */
7101
+ declare function totpCode(secret: string, at: number, step?: number): string;
7102
+
7103
+ /** The migration `two-factor:install` writes: the four two-factor columns on `users`. */
7104
+ declare const TWO_FACTOR_COLUMNS_MIGRATION = "import { Migration, Schema } from '@orieljs/framework'\n\nexport default class extends Migration {\n async up() {\n await Schema.table('users', (t) => {\n t.text('two_factor_secret').nullable()\n t.text('two_factor_recovery_codes').nullable()\n t.timestamp('two_factor_confirmed_at').nullable()\n t.string('two_factor_method', 10).nullable()\n })\n }\n\n async down() {\n await Schema.table('users', (t) => {\n t.dropColumn('two_factor_secret', 'two_factor_recovery_codes', 'two_factor_confirmed_at', 'two_factor_method')\n })\n }\n}\n";
7105
+
7106
+ type TwoFactorMethod = 'email' | 'app';
7107
+ /** `config/auth.ts`'s `two_factor`. */
7108
+ interface TwoFactorConfig {
7109
+ /** Off by default: on, a correct password asks for a second factor (see requireWhen() to choose who). */
7110
+ enabled: boolean;
7111
+ /** The methods users may use. */
7112
+ methods: TwoFactorMethod[];
7113
+ /** The method a user has until they set up another. */
7114
+ default: TwoFactorMethod;
7115
+ /** Seconds an emailed code stays valid. */
7116
+ code_ttl: number;
7117
+ /** Seconds a pending login waits for its code. */
7118
+ pending_ttl: number;
7119
+ /** Wrong codes a pending login allows before it ends. */
7120
+ max_attempts: number;
7121
+ /** Seconds before another email code may be sent. */
7122
+ resend_after: number;
7123
+ /** Authenticator steps of clock drift accepted either way. */
7124
+ window: number;
7125
+ /** How many recovery codes a user gets. */
7126
+ recovery_codes: number;
7127
+ /** The name authenticator apps show. Default: `app.name`. */
7128
+ issuer?: string;
7129
+ }
7130
+
7131
+ /** A user whose two-factor columns can be read and saved: an app's User model. */
7132
+ type TwoFactorUser = Authenticatable & Pick<ModelInstance, 'getAttribute' | 'setAttribute' | 'save'>;
7133
+ /**
7134
+ * Two-factor login (Laravel Fortify's, with an emailed code as well): `attempt()` checks the password and, when a second
7135
+ * factor is required, keeps a pending login in the session instead of logging in; `verify()` completes it with the
7136
+ * code (email or authenticator app, as the user's method is) or a recovery code.
7137
+ */
7138
+ declare class TwoFactorManager {
7139
+ #private;
7140
+ /** Who is asked for a second factor when two-factor is on. Default: everyone. */
7141
+ requireWhen(callback: ((user: Authenticatable) => boolean | Promise<boolean>) | undefined): void;
7142
+ /**
7143
+ * Checks the credentials. `'authenticated'`: logged in (two-factor off, not required for this user, or no method
7144
+ * open to them). `'challenge'`: the password was right and the code is asked for (an email method's code is sent
7145
+ * now). `false`: wrong credentials.
7146
+ */
7147
+ attempt(credentials: Credentials, remember?: boolean): Promise<'authenticated' | 'challenge' | false>;
7148
+ /** The pending login, for the challenge page: the method asked for, the others open, and where an email code went. */
7149
+ challenge(): Promise<{
7150
+ method: TwoFactorMethod;
7151
+ methods: TwoFactorMethod[];
7152
+ email: string;
7153
+ } | undefined>;
7154
+ /** A 6-digit code for the pending method, or a recovery code. True: the user is logged in. */
7155
+ verify(code: string): Promise<boolean>;
7156
+ /** Asks for another of the user's methods; switching to email sends a code. */
7157
+ useMethod(method: TwoFactorMethod): Promise<void>;
7158
+ /** Sends a new email code; false within `resend_after` seconds of the last one, or when the method isn't email. */
7159
+ resend(): Promise<boolean>;
7160
+ /**
7161
+ * Starts setting up an authenticator app: a new secret (unconfirmed, so it doesn't count yet), the `otpauth://` URL
7162
+ * and a QR code of it for the app to scan. A user whose app already works must disableApp() first: a new secret would
7163
+ * stop the old app's codes without a word.
7164
+ */
7165
+ enableApp(user: TwoFactorUser): Promise<{
7166
+ secret: string;
7167
+ url: string;
7168
+ svg: string;
7169
+ }>;
7170
+ /** Whether the user's authenticator app works: set up and confirmed. */
7171
+ hasApp(user: TwoFactorUser): boolean;
7172
+ /** Confirms the app with a code from it: then it counts, becomes the user's method, and recovery codes are made. */
7173
+ confirmApp(user: TwoFactorUser, code: string): Promise<boolean>;
7174
+ /** Removes the authenticator app: the secret is forgotten and the user is asked by email again. */
7175
+ disableApp(user: TwoFactorUser): Promise<void>;
7176
+ /** The method the user prefers; one they can't use (an unconfirmed app, one the app turned off) isn't asked for. */
7177
+ setMethod(user: TwoFactorUser, method: TwoFactorMethod): Promise<void>;
7178
+ /** The user's recovery codes, made on first ask (show them once, and offer to make new ones). */
7179
+ recoveryCodes(user: TwoFactorUser): Promise<string[]>;
7180
+ /** New recovery codes; the old ones stop working. */
7181
+ regenerateRecoveryCodes(user: TwoFactorUser): Promise<string[]>;
7182
+ }
7183
+
7184
+ /** `two-factor.challenge`: the challenge page's routes, open only to a login waiting for its second factor. */
7185
+ declare class TwoFactorChallenge implements Middleware {
7186
+ handle(request: HttpRequest, next: Next$1): Promise<Response>;
7187
+ }
7188
+
7189
+ /** The emailed sign-in code. */
7190
+ declare class TwoFactorCode implements Notification$2 {
7191
+ readonly code: string;
7192
+ readonly minutes: number;
7193
+ /** Build the mail yourself (e.g. a MailMessage from the Notifications component). */
7194
+ static toMailUsing(callback: ((notifiable: unknown, code: string, minutes: number) => unknown) | undefined): void;
7195
+ constructor(code: string, minutes: number);
7196
+ via(): string[];
7197
+ toMail(notifiable: unknown): unknown;
7198
+ }
7199
+
7200
+ /** A correct password was asked for its second factor. */
7201
+ declare class TwoFactorChallenged {
7202
+ readonly user: Authenticatable;
7203
+ readonly method: TwoFactorMethod;
7204
+ constructor(user: Authenticatable, method: TwoFactorMethod);
7205
+ }
7206
+ /** A wrong code, or one used already. */
7207
+ declare class TwoFactorFailed {
7208
+ readonly user: Authenticatable;
7209
+ readonly method: TwoFactorMethod;
7210
+ constructor(user: Authenticatable, method: TwoFactorMethod);
7211
+ }
7212
+ /** The second factor was right: the user is logged in. */
7213
+ declare class TwoFactorAuthenticated {
7214
+ readonly user: Authenticatable;
7215
+ readonly method: TwoFactorMethod | 'recovery';
7216
+ constructor(user: Authenticatable, method: TwoFactorMethod | 'recovery');
7217
+ }
7218
+ /** A recovery code was spent. */
7219
+ declare class RecoveryCodeUsed {
7220
+ readonly user: Authenticatable;
7221
+ constructor(user: Authenticatable);
7222
+ }
7223
+ /** The user set up an authenticator app (confirmed with a code). */
7224
+ declare class TwoFactorAppEnabled {
7225
+ readonly user: Authenticatable;
7226
+ constructor(user: Authenticatable);
7227
+ }
7228
+ /** The user removed their authenticator app. */
7229
+ declare class TwoFactorAppDisabled {
7230
+ readonly user: Authenticatable;
7231
+ constructor(user: Authenticatable);
7232
+ }
7233
+
7234
+ /** The TwoFactor facade: attempt(), challenge(), verify(), and setting up the app and recovery codes. */
7235
+ declare const TwoFactor: Facade<TwoFactorManager, object>;
6998
7236
 
6999
7237
  /**
7000
7238
  * Implements the full `Logger` contract on top of one `write()` method: level filtering, merging in the current
@@ -7882,9 +8120,13 @@ interface S3DiskConfig {
7882
8120
  }
7883
8121
  /** The `s3` disk driver. Every operation is a single S3 API call through the injected client. */
7884
8122
  declare class S3Filesystem implements Filesystem {
8123
+ #private;
7885
8124
  private readonly client;
7886
8125
  private readonly config;
7887
- constructor(client: S3ClientLike, config: S3DiskConfig);
8126
+ /** `client` is the client, or what builds it on the first operation. */
8127
+ constructor(client: S3ClientLike | (() => Promise<S3ClientLike>), config: S3DiskConfig);
8128
+ private resolveClient;
8129
+ private send;
7888
8130
  private head;
7889
8131
  exists(path: string): Promise<boolean>;
7890
8132
  missing(path: string): Promise<boolean>;
@@ -7930,6 +8172,103 @@ declare class S3Filesystem implements Filesystem {
7930
8172
  private list;
7931
8173
  }
7932
8174
 
8175
+ type Body = string | Uint8Array | ReadableStream<Uint8Array>;
8176
+ type CreateOptions = {
8177
+ access: 'public';
8178
+ addRandomSuffix: false;
8179
+ allowOverwrite: true;
8180
+ };
8181
+ /** The subset of `@vercel/blob` this driver calls (`vercelBlobClient()` wraps the SDK; a test fake implements it). */
8182
+ interface BlobClientLike {
8183
+ put(pathname: string, body: Body, options: CreateOptions & {
8184
+ contentType?: string;
8185
+ }): Promise<{
8186
+ url: string;
8187
+ pathname: string;
8188
+ }>;
8189
+ head(pathname: string): Promise<{
8190
+ url: string;
8191
+ pathname: string;
8192
+ size: number;
8193
+ uploadedAt: Date;
8194
+ contentType: string;
8195
+ }>;
8196
+ del(pathnames: string[]): Promise<void>;
8197
+ list(options: {
8198
+ prefix?: string;
8199
+ cursor?: string;
8200
+ mode?: 'expanded' | 'folded';
8201
+ limit?: number;
8202
+ }): Promise<{
8203
+ blobs: {
8204
+ pathname: string;
8205
+ url: string;
8206
+ }[];
8207
+ folders?: string[];
8208
+ cursor?: string;
8209
+ hasMore: boolean;
8210
+ }>;
8211
+ copy(from: string, to: string, options: CreateOptions): Promise<{
8212
+ url: string;
8213
+ }>;
8214
+ fetch(url: string): Promise<Response>;
8215
+ }
8216
+ interface VercelBlobDiskConfig {
8217
+ /** The store's read-write token. Default: `BLOB_READ_WRITE_TOKEN`, which Vercel sets when a store is connected. */
8218
+ token?: string;
8219
+ /** Public base URL for `url()`. Default: the store's, from the token. */
8220
+ url?: string;
8221
+ /** A folder every path is kept under (e.g. `preview`, so previews stay apart from production). */
8222
+ root?: string;
8223
+ /** Vercel Blob stores here are public; `private` is refused. */
8224
+ visibility?: 'public' | 'private';
8225
+ }
8226
+ /** `https://<storeId>.public.blob.vercel-storage.com`, read from a `vercel_blob_rw_<storeId>_<secret>` token. */
8227
+ declare function blobStoreUrl(token: string | undefined): string | undefined;
8228
+ /**
8229
+ * The `vercel-blob` disk: files in a public Vercel Blob store, which outlive a Vercel function. Every operation is a
8230
+ * Blob API call through the injected client. Blob has no real folders: they exist through the files in them.
8231
+ */
8232
+ declare class VercelBlobFilesystem implements Filesystem {
8233
+ private readonly client;
8234
+ private readonly config;
8235
+ private readonly root;
8236
+ constructor(client: BlobClientLike, config: VercelBlobDiskConfig);
8237
+ /** The pathname in the store: the disk's root, then the path. */
8238
+ private key;
8239
+ /** A store pathname back to the disk's path. */
8240
+ private unroot;
8241
+ private head;
8242
+ exists(path: string): Promise<boolean>;
8243
+ missing(path: string): Promise<boolean>;
8244
+ private read;
8245
+ get(path: string): Promise<string>;
8246
+ getBytes(path: string): Promise<Uint8Array>;
8247
+ readStream(path: string): Promise<ReadableStream<Uint8Array>>;
8248
+ put(path: string, contents: Body, options?: PutOptions): Promise<boolean>;
8249
+ putFile(directory: string, file: UploadedFile, options?: PutOptions): Promise<string>;
8250
+ /** Sends the upload's own type (its extension()), as the s3 disk does, never the type the client claimed. */
8251
+ putFileAs(directory: string, file: UploadedFile, name: string, options?: PutOptions): Promise<string>;
8252
+ private store;
8253
+ delete(paths: string | string[]): Promise<boolean>;
8254
+ copy(from: string, to: string): Promise<boolean>;
8255
+ move(from: string, to: string): Promise<boolean>;
8256
+ size(path: string): Promise<number>;
8257
+ lastModified(path: string): Promise<Date>;
8258
+ mimeType(path: string): Promise<string | undefined>;
8259
+ url(path: string): string;
8260
+ /** A public store's files need no signature: the public URL. */
8261
+ temporaryUrl(path: string, _expiresAt: Date): Promise<string>;
8262
+ files(directory?: string, recursive?: boolean): Promise<string[]>;
8263
+ directories(directory?: string, recursive?: boolean): Promise<string[]>;
8264
+ /** Blob folders exist through their files, so there's nothing to create. */
8265
+ makeDirectory(_path: string): Promise<boolean>;
8266
+ deleteDirectory(path: string): Promise<boolean>;
8267
+ path(_path: string): string;
8268
+ /** Every page of a listing: the store's pathnames, and in folded mode its folders (`prefix/name/`). */
8269
+ private list;
8270
+ }
8271
+
7933
8272
  /** Base for queue errors: internal failures, reported and rendered as a 500 (kind 'Server'). */
7934
8273
  declare class QueueError extends Error implements OrielError {
7935
8274
  readonly kind: "Server";
@@ -9606,6 +9945,11 @@ interface VercelBuildOptions {
9606
9945
  maxFunctionBytes?: number;
9607
9946
  /** The machine the build runs on, which decides the native packages copied. Default: `process.platform`. */
9608
9947
  platform?: string;
9948
+ /**
9949
+ * When Vercel calls the app's scheduler, as a cron expression (UTC), or `false` for never. Default: `0 3 * * *`,
9950
+ * daily at 03:00: Vercel's Hobby plan runs a cron at most once a day. Written only when the app schedules tasks.
9951
+ */
9952
+ cron?: string | false;
9609
9953
  }
9610
9954
  interface VercelBuildResult {
9611
9955
  /** The function's size, unzipped. */
@@ -9624,9 +9968,9 @@ declare const VERCEL_FUNCTION_LIMIT: number;
9624
9968
  */
9625
9969
  declare function buildVercelOutput(app: Application$2, options?: VercelBuildOptions): Promise<VercelBuildResult>;
9626
9970
 
9627
- /** Registers `oriel vercel:build`, which writes Vercel's build output for the app. */
9971
+ /** Registers `oriel vercel:build`, which writes Vercel's build output for the app, and the route Vercel Cron calls. */
9628
9972
  declare class VercelServiceProvider extends ServiceProvider$1 {
9629
9973
  boot(): void;
9630
9974
  }
9631
9975
 
9632
- export { API_ROUTES_STUB, AboutCommand, AbstractPaginator, AccessGate, AddQueuedCookiesToResponse, type AfterCallback, AllMailersFailedError, AlwaysProp, AnonymousNotifiable, Application, ApplicationBuilder, ArgonHasher, type ArgonOptions, type ArgumentDefinition, ArraySessionHandler, ArrayTransport, Artisan, Attempting, type Attributes$1 as Attributes, type AttributesResolver, Auth, AuthManager, type AuthModel, type AuthModelBase, type AuthModelConstructor, AuthServiceProvider, AuthenticatableModel, Authenticate, AuthenticationError, Authorizable, type AuthorizableConstructor, AuthorizationError, AuthorizationErrorImpl, Authorize, BaseJob, BaseLogger, BasePipeline, BaseRouter, BaseUrlGenerator, Batch, type BatchAttributes, BatchingUnavailableError, BcryptHasher, type BcryptOptions, type BeforeCallback, BelongsTo, BelongsToMany, BindingResolutionError, Blueprint, type BlueprintCommand, BufferedConsoleOutput, Builder, type BuiltInCast, type BuiltinRule, BuiltinRuleObject, type BunDatabase, BunSqliteDatabase, type BunStatement, Bus, Dispatcher as BusDispatcherImpl, BusError, BusServiceProvider, CACHE_TABLE_MIGRATION, CHAIN, Cache, CacheManager, CacheRateLimiter, Repository as CacheRepositoryImpl, CacheServiceProvider, type Store as CacheStore, CallQueuedHandler, CallQueuedListener, type CanResetPassword, type CanResetPasswordUser, type CastDefinition, type CastsAttributes, type ChainSpec, type CipherName, CircularDependencyError, ClassNameMap, ClosureCommand, ClosureKernel, Collection, type Column, type ColumnAttributes, ColumnDefinition, type ColumnInfo, type ColumnRef, type ColumnType, Command, CommandNotFoundError, ComponentNotFoundError, Config, Connection, type ConsoleInput, type ConsoleIo, Kernel as ConsoleKernelImpl, type ConsoleOutput, ConsoleServiceProvider, Container, ContainerNotAvailableError, Controller, ControllerMethodNotFoundError, ConvertEmptyStringsToNull, Cookie, type CookieDefaults, CookieJar, CookieServiceProvider, CookieSessionHandler, CookieValuePrefix, type CreateMigrationOptions, Crypt, Cursor, type CursorPage, CursorPaginator, type CursorPaginatorOptions, DB, DEFAULT_MESSAGES, DailyRotatingStream, DatabaseBatchRepository, type DatabaseCommandContext, type DatabaseConfig, DatabaseConfigError, DatabaseError, DatabaseFailedJobProvider, DatabaseJob, type DatabaseJobRecord, DatabaseLock, DatabaseManagerImpl, DatabaseNotification, DatabaseNotificationChannel, DatabaseNotificationCollection, DatabaseNotificationsRelation, DatabaseQueue, type DatabaseQueueOptions, DatabaseServiceProvider, DatabaseSessionHandler, DatabaseStore, DatabaseTokenRepository, DatabaseUnavailableError, type DatePart, type DateWhereArgs, type DateWhereValue, DecryptError, DeferProp, DiagnosingHealth, type Direction, Dispatchable, type EagerLoadSpec, EloquentCollection, EloquentUserProvider, EmailVerificationRequest, type Encoded, EncryptCookies, EncryptError, EncryptHistory, Encrypter, EncryptionServiceProvider, EnsureEmailIsVerified, type EnumLike$1 as EnumLike, type ErrorClass, ErrorHandler, Event, Dispatcher$1 as EventDispatcherImpl, type EventKey, type EventListenMap, EventServiceProvider, EventsNeedBusDispatcherError, EventsNeedClassRegistryError, ExceptionsConfiguration, type ExpandingRule, ExportError, type ExportOptions, type ExportResult, Expression, Facade, Factory, type FactoryResult, Failed, FailoverTransport, Faker, FakerOverflowError, FileNotFoundError, FileSessionHandler, FileStore, FilesystemManager, FilesystemServiceProvider, ForeignIdColumnDefinition, ForeignKeyDefinition, type ForeignKeyInfo, FormRequest, FormUploadedFile, Gate, type GateAbility, GateResponse, GeneratorCommand, GenericLock, type GlobalScope, Grammar, type GroupAttributes, type GroupHost, GroupRegistrar, type GuardFactory, HandlePrecognitiveRequests, HasApiTokens, HasDatabaseNotifications, type HasDatabaseNotificationsModel, type HasFactory, HasMany, HasManyThrough, HasOne, HasOneOrMany, HasUlids, HasUuids, Hash, HashAlgorithmError, type HashInfo, HashManager, type HasherFactory, type HashingConfig, HashingServiceProvider, type Having, type HealthPage, HelpCommand, type HttpCommandOptions, HttpException, Kernel$1 as HttpKernelImpl, HttpRedirectResponse, HttpRedirector, HttpResponseException, HttpResponseFactory, HttpServerError, HttpServiceProvider, Hub, IncomingRequest, type IncomingRequestOptions, type IndexInfo, type IndexType, Inertia, InertiaError, InertiaHtml, InertiaMiddleware, InertiaPage, Response$1 as InertiaPageResponse, ResponseFactory as InertiaResponseFactory, InertiaServiceProvider, type ValidationErrors as InertiaValidationErrors, InferValidatedType, InvalidCacheConfigError, InvalidCastError, InvalidListenerError, InvalidLogLevelError, InvalidRuleParameterError, InvalidSignatureError, InvalidUrlSignatureError, JOBS_TABLE_MIGRATION, JobClassNotFoundError, type JobContext, type JobMiddleware, JobSerializationError, JoinClause, type JoinType, type JsonWhenCallback, KEY_GENERATE_SIGNATURE, type KernelApp, type KeyGenerateIO, LEVEL_SEVERITY, LazyCollection, type LengthAwarePage, LengthAwarePaginator, ListCommand, type ListenerTuple, type LocalDiskConfig, LocalFilesystem, type LockFactory, LockTimeoutError, Lockout, Log, LogChannelCycleError, LogManager, LogServiceProvider, LogTransport, type LoggedQuery, LogicError, Login, Logout, MIGRATION_CREATE_STUB, MIGRATION_STUB, MIGRATION_UPDATE_STUB, MODEL_EVENTS, Mail, type MailLevel, MailManager, MailMessage, type MailMessageAction, MailNotificationChannel, MailQueueUnavailableError, MailServiceProvider, type MailTransporter, MailUnavailableError, Mailable, MailerImpl, MakeCastCommand, MakeCommandCommand, MakeControllerCommand, MakeEventCommand, MakeFactoryCommand, MakeJobCommand, MakeListenerCommand, MakeMailCommand, MakeMiddlewareCommand, MakeModelCommand, MakeNotificationCommand, MakeObserverCommand, MakePolicyCommand, MakeProviderCommand, MakeRequestCommand, MakeResourceCommand, MakeRuleCommand, MakeSeederCommand, MakeTestCommand, type Manifest, type ManifestChunk, ManuallyFailedError, type Many, MassAssignmentError, MaxAttemptsExceededError, MemoryStore, MergeProp, MessageBagImpl, MethodNotAllowedHttpError, MiddlewareConfiguration, MiddlewareNotFoundError, Migration, MigrationCreator, type MigrationRecord, MigrationRepository, type MigrationStatus, Migrator, type MigratorOptions, MissingAppKeyError, MissingModelError, MissingRecipientError, Model, type ModelBuilder, type ModelClass, type ModelConstructor, type ModelEvent, type ModelListener, ModelNotFoundError, ModelRegistry, type MorphConstraint, MorphMany, MorphOne, MorphTo, MySqlSchemaGrammar, NOTIFICATIONS_TABLE, NOTIFICATIONS_TABLE_MIGRATION, type NewAccessToken, NodeConsoleInput, NodeConsoleOutput, NotDatabaseNotifiableError, NotFoundHttpError, Notifiable, type NotifiableConstructor, Notification, Dispatcher$2 as NotificationDispatcherImpl, NotificationDispatcherUnavailableError, NotificationFacade, NotificationQueueUnavailableError, NotificationsServiceProvider, NullFailedJobProvider, NullLogger, NullQueue, OPERATORS, OnceProp, type OptionDefinition, OptionValue, OptionalProp, type Order, PERSONAL_ACCESS_TOKENS_MIGRATION, type PagePropsFrom, type PaginationLink, Paginator, type PaginatorOptions, type ParsedInput, type ParsedRule, type ParsedSetCookie, type ParsedSignature, Password, PasswordBroker, PasswordBrokerManager, PasswordReset, PasswordRule, PathTraversalError, PendingBatch, PendingChain, PendingDispatch, PersonalAccessToken, PinoLogger, PipelineError, PipelineServiceProvider, Pivot, type PivotIds, type PlainNotificationMail, type PolicyClass, PostgresSchemaGrammar, type PreloadAttributesResolver, PropsResolver, ProviderBootError, ProviderRegisterError, QUEUE_JOB, Builder$1 as QueryBuilder, QueryError, Queue, QueueBase, type QueueCommandContext, QueueError, type QueueJobPayload, Listener as QueueListener, type ListenerConfig as QueueListenerConfig, type ListenerOptions as QueueListenerOptions, type ListenerOutput as QueueListenerOutput, QueueManager, QueueServiceProvider, QueueUnavailableError, Queueable, QueuedConsoleInput, QueuedMailSender, type QueuedMailableFactory, RESTART_CACHE_KEY, RateLimiter, type RawResult, type RecipientOverrides, RedirectIfAuthenticated, RedisJob, RedisLock, RedisQueue, type RedisQueueOptions, RedisRepository, type RedisSessionClient, RedisSessionHandler, RedisStore, RedisTaggedStore, type ReferentialAction, Registered, type RegisteredModel, Relation, type RelationConstraint, type RelationNames, RelationNotFoundError, RelationNotLoadedError, type RelationValue, RenameClasses, type RenderCallback, type RenderedContent, type ReplStarter, type ReportCallback, Repository$1 as Repository, ResetPassword, type ResetPasswordMail, type ResolvedMiddleware, type ResolvedServeOptions, type ResourceMethod, type ResourceRoute, type RollbackOptions, Route, RouteArguments, type RouteAttributes, type RouteBinder, RouteDefinition, type RouteFileCallback, type RouteHandler, type RouteListFilters, type RouteListRow, RouteModelNotFoundError, RouteModelResolverImpl, RouteName, RouteNotDefinedError, type RouteStage, RoutesNotifications, RoutingError, type RoutingOptions, RoutingServiceProvider, Rule, type RuleContext, type RunningServer, type Runtime, type S3ClientLike, type S3DiskConfig, S3Filesystem, SCHEDULE_INTERRUPT_KEY, SSR_RENDER_FAILED, STORAGE_LINK_SIGNATURE, Schedule, ScheduleClearCacheCommand, type ScheduleClock, ScheduleImpl, ScheduleInterruptCommand, ScheduleListCommand, ScheduleNameRequiredError, ScheduleRunCommand, ScheduleWorkCommand, type ScheduleWorkOptions, ScheduledEventImpl, Schema, SchemaBuilder, SchemaBuilderToken, SchemaGrammar, type SchemaStep, type Scope, type ScopeCallback, type ScopeStatic, type Scopes, type ScrollMetadata, ScrollProp, Seeder, type SeederClass, type SelectColumn, SendEmailVerificationNotification, SendQueuedMailable, SendQueuedNotifications, type Serialized, type SerializedObject, type ServeOptions, ServiceProvider$1 as ServiceProvider, SessionFacade as Session, type SessionConfig, SessionGuard, type SessionGuardOptions, type SessionHandlerFactory, SessionManager, SessionMessageBag, SessionServiceProvider, Store$1 as SessionStore, SetCacheHeaders, type SharedPropsFrom, type SimplePage, type SmtpConfig, SmtpTransport, SoftDeletingScope, type SpawnResult, type SpawnWorker, type Spawner, SqliteSchemaGrammar, SsrError, type SsrFailure, HttpGateway as SsrHttpGateway, type StackFrame, StackLogger, StartSession, type State, type StateContext, Storage, type StoredBatchOptions, type StringPipeResolver, Stringable, type SyncChanges, SyncJob, SyncQueue, type TableRebuild, type TagAttributes, TagsNotSupportedError, TestCommand, ThrottleRequests, ThrottleRequestsError, TimeoutExceededError, TinkerCommand, type TinkerOptions, type TinkerRepl, TokenGuard, type TokenGuardOptions, TokenMismatchError, TokenRepository, type TransporterFactory, TrimStrings, TypeGenerator, type TypeGeneratorOptions, type TypedRedirector, UNIQUE, UNIQUE_LOCK, USERS_TABLE_MIGRATION, UniqueJobsNeedCacheError, UniqueLock, type UniqueLockSpec, type UniqueSpec, UnknownCacheDriverError, UnknownCacheStoreError, UnknownDiskError, UnknownFilesystemDriverError, UnknownLogChannelError, UnknownLogDriverError, UnknownMailTransportError, UnknownMailerError, UnknownNotificationChannelError, UnknownQueueConnectionError, UnknownQueueDriverError, UnknownValidationRuleError, UnrenderableNotificationDataError, UnrenderableNotificationMailError, UnsupportedCipherError, UnsupportedOperationError, type UriParameter, UrlGenerationError, type UrlResolver, type UserProviderFactory, VERCEL_FUNCTION_LIMIT, ValidateSignature, Validated, ValidationErrorImpl, ValidationException, ValidationFactoryImpl, ValidationServiceProvider, Validator, ValidatorImpl, type VercelBuildOptions, type VercelBuildResult, VercelServiceProvider, type VerifiableUser, Verified, VerifyCsrfToken, VerifyEmail, type VerifyEmailMail, ViewFactoryUnavailableError, Vite, ViteError, ViteHtml, WORKER_DISCOVERY_DIRECTORIES, type Where, type WhereArgs, type WhereBoolean, WithoutOverlapping, Worker, type WorkerListener, type WorkerOptions, abort, abortIf, abortUnless, addApiRouting, allowGuests, applyExceptionCallbacks, applyMiddlewareCallbacks, applyReplacements, auth, back, bcrypt, buildVercelOutput, builtinRules, bunRuntime, cache, castGet, castSet, classNameOf, clientAddress, columnKey, compareRoutes, contentDisposition, cookie, createDailyChannel, createDialect, createPayload, createSingleChannel, createStderrChannel, createToken, csrfToken, currentContainer, currentLogContext, currentRequest, currentVite, databaseConfigDefaults, debugPage, decodePayload, decrypt, defaultAttributeName, defaultListenerOptions, defaultLockFactory, defaultProviders, defaultWorkerOptions, delaySeconds, describeError, deserialize, detectRuntime, discoverClasses, discoverFactories, discoverJobs, discoverListeners, discoverPolicies, dispatch, dispatchRoute, dispatchSync, encodePayload, encrypt, enumValues, env, errorBagFrom, errors, escapeHtml, event, exceedsJsonDepth, expandWildcardKeys, exportSite, extensionFromMime, fake, filterRouteList, formatAddress, formatDate, formatDateTime, formatRouteList, formatTimestamp, fromEntries, generateAppKey, generateModelTypes, getMorphAlias, getMorphedModel, guessTable, hashInfo, healthResponse, inertia, inertiaBody, inertiaHead, inject, ipMatches, isBlank, isBun, isDateCast, isEmptyValue, isEquivalent, isJsonCast, isListenerClass, isListenerTuple, isModel, isPrecognitive, isQueueable, isQueueableListener, isTableRebuild, isUnique, isUploadedFileLike, joinDiskPath, keyGenerateHandler, listenerOptionsFrom, loadRelations, loadRoutesFrom, logger, makeFailedJobProvider, meetsLevel, mergeGroup, mergeLogContext, mergeRecursive, migrationDatePrefix, minimalPage, modelEventName, morphMap, nodeRequestHandler, normalizeAddress, normalizeAddresses, normalizeBackoff, normalizeLists, normalizePath, normalizeUri, old, openSqlite, optionalCookieJar, optionalSession, orderForBindings, parseArgv, parseBracketKey, parseCookieHeader, parseDateTime, parseKey, parseParameters, parseRuleSpec, parseSignature, passwordVerify, prepareValue, queueConfigDefaults, queueOptionsOf, raw as rawSql, rawWithBindings, redirect, registerHttpCommands, registerKeyGenerateCommand, registerMigrationCommands, registerModelTypesCommand, registerQueueCommands, registerStorageLinkCommand, renderContent, renderError, request, requestScope, resolveArguments, resolveDiskPath, resolveMiddleware, resolveMorphClass, resolveOptions, resourceRoutes, response, restoreJob, restoreValue, roundTrip, route, routeListRows, runConsole, runConsoleAndExit, runMiddleware, runSeeder, sanitize, sendEmailVerificationUsing, sendNotification, serialize, serializeContext, serializeCookie, serializeDate, serializeValue, serve, serveBun, serveNode, servePublicFile, session, setClientAddress, stackFrames, statusFor, statusText, storageLinkHandler, substituteBindings, suggest, summarizeValidation, toNotifiableList, toResponse, toWebRequest, tokenableType, transformLeaves, url, usePaginationResolvers, validateRequiredArguments, vite, viteReactRefresh, withHeaders, workerOptionsFrom, writeResponse };
9976
+ export { API_ROUTES_STUB, AboutCommand, AbstractPaginator, AccessGate, AddQueuedCookiesToResponse, type AfterCallback, AllMailersFailedError, AlwaysProp, AnonymousNotifiable, Application, ApplicationBuilder, ArgonHasher, type ArgonOptions, type ArgumentDefinition, ArraySessionHandler, ArrayTransport, Artisan, Attempting, type Attributes$1 as Attributes, type AttributesResolver, Auth, AuthManager, type AuthModel, type AuthModelBase, type AuthModelConstructor, AuthServiceProvider, AuthenticatableModel, Authenticate, AuthenticateSession, AuthenticationError, Authorizable, type AuthorizableConstructor, AuthorizationError, AuthorizationErrorImpl, Authorize, BaseJob, BaseLogger, BasePipeline, BaseRouter, BaseUrlGenerator, Batch, type BatchAttributes, BatchingUnavailableError, BcryptHasher, type BcryptOptions, type BeforeCallback, BelongsTo, BelongsToMany, BindingResolutionError, type BlobClientLike, Blueprint, type BlueprintCommand, BufferedConsoleOutput, Builder, type BuiltInCast, type BuiltinRule, BuiltinRuleObject, type BunDatabase, BunSqliteDatabase, type BunStatement, Bus, Dispatcher as BusDispatcherImpl, BusError, BusServiceProvider, CACHE_TABLE_MIGRATION, CHAIN, Cache, CacheManager, CacheRateLimiter, Repository as CacheRepositoryImpl, CacheServiceProvider, type Store as CacheStore, CallQueuedHandler, CallQueuedListener, type CanResetPassword, type CanResetPasswordUser, type CastDefinition, type CastsAttributes, type ChainSpec, type CipherName, CircularDependencyError, ClassNameMap, ClosureCommand, ClosureKernel, Collection, type Column, type ColumnAttributes, ColumnDefinition, type ColumnInfo, type ColumnRef, type ColumnType, Command, CommandNotFoundError, ComponentNotFoundError, Config, Connection, ConsoleAbortedError, type ConsoleInput, type ConsoleIo, Kernel as ConsoleKernelImpl, type ConsoleOutput, ConsoleServiceProvider, Container, ContainerNotAvailableError, Controller, ControllerMethodNotFoundError, ConvertEmptyStringsToNull, Cookie, type CookieDefaults, CookieJar, CookieServiceProvider, CookieSessionHandler, CookieValuePrefix, type CreateMigrationOptions, Crypt, CurrentDeviceLogout, Cursor, type CursorPage, CursorPaginator, type CursorPaginatorOptions, DB, DEFAULT_MESSAGES, DailyRotatingStream, DatabaseBatchRepository, type DatabaseCommandContext, type DatabaseConfig, DatabaseConfigError, DatabaseError, DatabaseFailedJobProvider, DatabaseJob, type DatabaseJobRecord, DatabaseLock, DatabaseManagerImpl, DatabaseNotification, DatabaseNotificationChannel, DatabaseNotificationCollection, DatabaseNotificationsRelation, DatabaseQueue, type DatabaseQueueOptions, DatabaseServiceProvider, DatabaseSessionHandler, DatabaseStore, DatabaseTokenRepository, DatabaseUnavailableError, type DatePart, type DateWhereArgs, type DateWhereValue, DecryptError, DeferProp, DiagnosingHealth, type Direction, Dispatchable, type EagerLoadSpec, EloquentCollection, EloquentUserProvider, EmailVerificationRequest, type Encoded, EncryptCookies, EncryptError, EncryptHistory, Encrypter, EncryptionServiceProvider, EnsureEmailIsVerified, type EnumLike$1 as EnumLike, type ErrorClass, ErrorHandler, Event, Dispatcher$1 as EventDispatcherImpl, type EventKey, type EventListenMap, EventServiceProvider, EventsNeedBusDispatcherError, EventsNeedClassRegistryError, ExceptionsConfiguration, type ExpandingRule, ExportError, type ExportOptions, type ExportResult, Expression, Facade, Factory, type FactoryResult, Failed, FailoverTransport, Faker, FakerOverflowError, FileNotFoundError, FileSessionHandler, FileStore, FilesystemManager, FilesystemServiceProvider, ForeignIdColumnDefinition, ForeignKeyDefinition, type ForeignKeyInfo, FormRequest, FormUploadedFile, Gate, type GateAbility, GateResponse, GeneratorCommand, GenericLock, type GlobalScope, Grammar, type GroupAttributes, type GroupHost, GroupRegistrar, type GuardFactory, HandlePrecognitiveRequests, HasApiTokens, HasDatabaseNotifications, type HasDatabaseNotificationsModel, type HasFactory, HasMany, HasManyThrough, HasOne, HasOneOrMany, HasUlids, HasUuids, Hash, HashAlgorithmError, type HashInfo, HashManager, type HasherFactory, type HashingConfig, HashingServiceProvider, type Having, type HealthPage, HelpCommand, type HttpCommandOptions, HttpException, Kernel$1 as HttpKernelImpl, HttpRedirectResponse, HttpRedirector, HttpResponseException, HttpResponseFactory, HttpServerError, HttpServiceProvider, Hub, IncomingRequest, type IncomingRequestOptions, type IndexInfo, type IndexType, Inertia, InertiaError, InertiaHtml, InertiaMiddleware, InertiaPage, Response$1 as InertiaPageResponse, ResponseFactory as InertiaResponseFactory, InertiaServiceProvider, type ValidationErrors as InertiaValidationErrors, InferValidatedType, InvalidCacheConfigError, InvalidCastError, InvalidListenerError, InvalidLogLevelError, InvalidPasswordError, InvalidRuleParameterError, InvalidSignatureError, InvalidUrlSignatureError, JOBS_TABLE_MIGRATION, JobClassNotFoundError, type JobContext, type JobMiddleware, JobSerializationError, JoinClause, type JoinType, type JsonWhenCallback, KEY_GENERATE_SIGNATURE, type KernelApp, type KeyGenerateIO, LEVEL_SEVERITY, LazyCollection, type LengthAwarePage, LengthAwarePaginator, ListCommand, type ListenerTuple, type LocalDiskConfig, LocalFilesystem, type LockFactory, LockTimeoutError, Lockout, Log, LogChannelCycleError, LogManager, LogServiceProvider, LogTransport, type LoggedQuery, LogicError, Login, Logout, MIGRATION_CREATE_STUB, MIGRATION_STUB, MIGRATION_UPDATE_STUB, MODEL_EVENTS, Mail, type MailLevel, MailManager, MailMessage, type MailMessageAction, MailNotificationChannel, MailQueueUnavailableError, MailServiceProvider, type MailTransporter, MailUnavailableError, Mailable, MailerImpl, MakeCastCommand, MakeCommandCommand, MakeControllerCommand, MakeEventCommand, MakeFactoryCommand, MakeJobCommand, MakeListenerCommand, MakeMailCommand, MakeMiddlewareCommand, MakeModelCommand, MakeNotificationCommand, MakeObserverCommand, MakePolicyCommand, MakeProviderCommand, MakeRequestCommand, MakeResourceCommand, MakeRuleCommand, MakeSeederCommand, MakeTestCommand, type Manifest, type ManifestChunk, ManuallyFailedError, type Many, MassAssignmentError, MaxAttemptsExceededError, MemoryStore, MergeProp, MessageBagImpl, MethodNotAllowedHttpError, MiddlewareConfiguration, MiddlewareNotFoundError, Migration, MigrationCreator, type MigrationRecord, MigrationRepository, type MigrationStatus, Migrator, type MigratorOptions, MissingAppKeyError, MissingModelError, MissingRecipientError, Model, type ModelBuilder, type ModelClass, type ModelConstructor, type ModelEvent, type ModelListener, ModelNotFoundError, ModelRegistry, type MorphConstraint, MorphMany, MorphOne, MorphTo, MySqlSchemaGrammar, NOTIFICATIONS_TABLE, NOTIFICATIONS_TABLE_MIGRATION, type NewAccessToken, NodeConsoleInput, NodeConsoleOutput, NotDatabaseNotifiableError, NotFoundHttpError, Notifiable, type NotifiableConstructor, Notification, Dispatcher$2 as NotificationDispatcherImpl, NotificationDispatcherUnavailableError, NotificationFacade, NotificationQueueUnavailableError, NotificationsServiceProvider, NullFailedJobProvider, NullLogger, NullQueue, OPERATORS, OnceProp, type OptionDefinition, OptionValue, OptionalProp, type Order, OtherDeviceLogout, PERSONAL_ACCESS_TOKENS_MIGRATION, type PagePropsFrom, type PaginationLink, Paginator, type PaginatorOptions, type ParsedInput, type ParsedRule, type ParsedSetCookie, type ParsedSignature, Password, PasswordBroker, PasswordBrokerManager, PasswordReset, PasswordRule, PathTraversalError, PendingBatch, PendingChain, PendingDispatch, PersonalAccessToken, PinoLogger, PipelineError, PipelineServiceProvider, Pivot, type PivotIds, type PlainNotificationMail, type PolicyClass, PostgresSchemaGrammar, type PreloadAttributesResolver, PropsResolver, ProviderBootError, ProviderRegisterError, QUEUE_JOB, Builder$1 as QueryBuilder, QueryError, Queue, QueueBase, type QueueCommandContext, QueueError, type QueueJobPayload, Listener as QueueListener, type ListenerConfig as QueueListenerConfig, type ListenerOptions as QueueListenerOptions, type ListenerOutput as QueueListenerOutput, QueueManager, QueueServiceProvider, QueueUnavailableError, Queueable, QueuedConsoleInput, QueuedMailSender, type QueuedMailableFactory, RESTART_CACHE_KEY, RateLimiter, type RawResult, type RecipientOverrides, RecoveryCodeUsed, RedirectIfAuthenticated, RedisJob, RedisLock, RedisQueue, type RedisQueueOptions, RedisRepository, type RedisSessionClient, RedisSessionHandler, RedisStore, RedisTaggedStore, type ReferentialAction, Registered, type RegisteredModel, Relation, type RelationConstraint, type RelationNames, RelationNotFoundError, RelationNotLoadedError, type RelationValue, RenameClasses, type RenderCallback, type RenderedContent, type ReplStarter, type ReportCallback, Repository$1 as Repository, ResetPassword, type ResetPasswordMail, type ResolvedMiddleware, type ResolvedServeOptions, type ResourceMethod, type ResourceRoute, type RollbackOptions, Route, RouteArguments, type RouteAttributes, type RouteBinder, RouteDefinition, type RouteFileCallback, type RouteHandler, type RouteListFilters, type RouteListRow, RouteModelNotFoundError, RouteModelResolverImpl, RouteName, RouteNotDefinedError, type RouteStage, RoutesNotifications, RoutingError, type RoutingOptions, RoutingServiceProvider, Rule, type RuleContext, type RunningServer, type Runtime, type S3ClientLike, type S3DiskConfig, S3Filesystem, SCHEDULE_INTERRUPT_KEY, SSR_RENDER_FAILED, STORAGE_LINK_SIGNATURE, Schedule, ScheduleClearCacheCommand, type ScheduleClock, ScheduleImpl, ScheduleInterruptCommand, ScheduleListCommand, ScheduleNameRequiredError, ScheduleRunCommand, ScheduleWorkCommand, type ScheduleWorkOptions, ScheduledEventImpl, Schema, SchemaBuilder, SchemaBuilderToken, SchemaGrammar, type SchemaStep, type Scope, type ScopeCallback, type ScopeStatic, type Scopes, type ScrollMetadata, ScrollProp, Seeder, type SeederClass, type SelectColumn, SendEmailVerificationNotification, SendQueuedMailable, SendQueuedNotifications, type Serialized, type SerializedObject, type ServeOptions, ServiceProvider$1 as ServiceProvider, SessionFacade as Session, type SessionConfig, SessionGuard, type SessionGuardOptions, type SessionHandlerFactory, SessionManager, SessionMessageBag, SessionServiceProvider, Store$1 as SessionStore, SetCacheHeaders, type SharedPropsFrom, type SimplePage, type SmtpConfig, SmtpTransport, SoftDeletingScope, type SpawnResult, type SpawnWorker, type Spawner, SqliteSchemaGrammar, SsrError, type SsrFailure, HttpGateway as SsrHttpGateway, type StackFrame, StackLogger, StartSession, type State, type StateContext, Storage, type StoredBatchOptions, type StringPipeResolver, Stringable, type SyncChanges, SyncJob, SyncQueue, TWO_FACTOR_COLUMNS_MIGRATION, type TableRebuild, type TagAttributes, TagsNotSupportedError, TestCommand, ThrottleRequests, ThrottleRequestsError, TimeoutExceededError, TinkerCommand, type TinkerOptions, type TinkerRepl, TokenGuard, type TokenGuardOptions, TokenMismatchError, TokenRepository, type TransporterFactory, TrimStrings, TwoFactor, TwoFactorAppAlreadyEnabledError, TwoFactorAppDisabled, TwoFactorAppEnabled, TwoFactorAuthenticated, TwoFactorChallenge, TwoFactorChallenged, TwoFactorCode, type TwoFactorConfig, TwoFactorFailed, TwoFactorManager, type TwoFactorMethod, type TwoFactorUser, TypeGenerator, type TypeGeneratorOptions, type TypedRedirector, UNIQUE, UNIQUE_LOCK, USERS_TABLE_MIGRATION, UniqueJobsNeedCacheError, UniqueLock, type UniqueLockSpec, type UniqueSpec, UnknownCacheDriverError, UnknownCacheStoreError, UnknownDiskError, UnknownFilesystemDriverError, UnknownLogChannelError, UnknownLogDriverError, UnknownMailTransportError, UnknownMailerError, UnknownNotificationChannelError, UnknownQueueConnectionError, UnknownQueueDriverError, UnknownValidationRuleError, UnrenderableNotificationDataError, UnrenderableNotificationMailError, UnsupportedCipherError, UnsupportedOperationError, type UriParameter, UrlGenerationError, type UrlResolver, type UserProviderFactory, VERCEL_FUNCTION_LIMIT, ValidateSignature, Validated, ValidationErrorImpl, ValidationException, ValidationFactoryImpl, ValidationServiceProvider, Validator, ValidatorImpl, type VercelBlobDiskConfig, VercelBlobFilesystem, type VercelBuildOptions, type VercelBuildResult, VercelServiceProvider, type VerifiableUser, Verified, VerifyCsrfToken, VerifyEmail, type VerifyEmailMail, ViewFactoryUnavailableError, Vite, ViteError, ViteHtml, WORKER_DISCOVERY_DIRECTORIES, type Where, type WhereArgs, type WhereBoolean, WithoutOverlapping, Worker, type WorkerListener, type WorkerOptions, abort, abortIf, abortUnless, addApiRouting, allowGuests, applyExceptionCallbacks, applyMiddlewareCallbacks, applyReplacements, auth, back, bcrypt, blobStoreUrl, buildVercelOutput, builtinRules, bunRuntime, cache, castGet, castSet, classNameOf, clientAddress, columnKey, compareRoutes, contentDisposition, cookie, createDailyChannel, createDialect, createPayload, createSingleChannel, createStderrChannel, createToken, csrfToken, currentContainer, currentLogContext, currentRequest, currentVite, databaseConfigDefaults, debugPage, decodePayload, decrypt, defaultAttributeName, defaultListenerOptions, defaultLockFactory, defaultProviders, defaultWorkerOptions, delaySeconds, describeError, deserialize, detectRuntime, discoverClasses, discoverFactories, discoverJobs, discoverListeners, discoverPolicies, dispatch, dispatchRoute, dispatchSync, encodePayload, encrypt, enumValues, env, errorBagFrom, errors, escapeHtml, event, exceedsJsonDepth, expandWildcardKeys, exportSite, extensionFromMime, fake, filterRouteList, formatAddress, formatDate, formatDateTime, formatRouteList, formatTimestamp, fromEntries, generateAppKey, generateModelTypes, getMorphAlias, getMorphedModel, guessTable, hashInfo, healthResponse, inertia, inertiaBody, inertiaHead, inject, ipMatches, isBlank, isBun, isDateCast, isEmptyValue, isEquivalent, isJsonCast, isListenerClass, isListenerTuple, isModel, isPrecognitive, isQueueable, isQueueableListener, isTableRebuild, isUnique, isUploadedFileLike, joinDiskPath, keyGenerateHandler, listenerOptionsFrom, loadRelations, loadRoutesFrom, logger, makeFailedJobProvider, meetsLevel, mergeGroup, mergeLogContext, mergeRecursive, migrationDatePrefix, minimalPage, modelEventName, morphMap, nodeRequestHandler, normalizeAddress, normalizeAddresses, normalizeBackoff, normalizeLists, normalizePath, normalizeUri, old, openSqlite, optionalCookieJar, optionalSession, orderForBindings, parseArgv, parseBracketKey, parseCookieHeader, parseDateTime, parseKey, parseParameters, parseRuleSpec, parseSignature, passwordVerify, prepareValue, queueConfigDefaults, queueOptionsOf, raw as rawSql, rawWithBindings, redirect, registerHttpCommands, registerKeyGenerateCommand, registerMigrationCommands, registerModelTypesCommand, registerQueueCommands, registerStorageLinkCommand, renderContent, renderError, request, requestScope, resolveArguments, resolveDiskPath, resolveMiddleware, resolveMorphClass, resolveOptions, resourceRoutes, response, restoreJob, restoreValue, roundTrip, route, routeListRows, runConsole, runConsoleAndExit, runMiddleware, runSeeder, sanitize, sendEmailVerificationUsing, sendNotification, serialize, serializeContext, serializeCookie, serializeDate, serializeValue, serve, serveBun, serveNode, servePublicFile, session, setClientAddress, stackFrames, statusFor, statusText, storageLinkHandler, substituteBindings, suggest, summarizeValidation, toNotifiableList, toResponse, toWebRequest, tokenableType, totpCode, transformLeaves, url, usePaginationResolvers, validateRequiredArguments, vite, viteReactRefresh, withHeaders, workerOptionsFrom, writeResponse };