@orieljs/framework 0.1.0-alpha.11 → 0.1.0-alpha.13
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/{chunk-MURTCTRH.js → chunk-6GMXKQ6O.js} +2 -2
- package/dist/{chunk-HTJKT2R2.js → chunk-CKH4KCYF.js} +1 -1
- package/dist/{chunk-HTJKT2R2.js.map → chunk-CKH4KCYF.js.map} +1 -1
- package/dist/{chunk-KDE5BLI3.js → chunk-OTCTQVDQ.js} +7 -4
- package/dist/chunk-OTCTQVDQ.js.map +1 -0
- package/dist/{chunk-24673JQF.js → chunk-ZRTWDJKD.js} +3 -3
- package/dist/contracts.d.ts +7 -0
- package/dist/contracts.js +1 -1
- package/dist/index.d.ts +247 -5
- package/dist/index.js +969 -190
- package/dist/index.js.map +1 -1
- package/dist/jsx-runtime.js +3 -3
- package/dist/{testing-CKwfWJGn.d.ts → testing-B8NOiQC9.d.ts} +6 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +3 -3
- package/docs/authentication.md +2 -0
- package/docs/console.md +1 -1
- package/docs/deployment.md +25 -5
- package/docs/live.md +20 -0
- package/docs/navigation.json +4 -0
- package/docs/routing.md +1 -1
- package/docs/scheduling.md +3 -0
- package/docs/storage.md +24 -3
- package/docs/two-factor.md +183 -0
- package/docs/vite.md +35 -7
- package/package.json +35 -33
- package/dist/chunk-KDE5BLI3.js.map +0 -1
- /package/dist/{chunk-MURTCTRH.js.map → chunk-6GMXKQ6O.js.map} +0 -0
- /package/dist/{chunk-24673JQF.js.map → chunk-ZRTWDJKD.js.map} +0 -0
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
Str,
|
|
4
4
|
facade,
|
|
5
5
|
inject
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6GMXKQ6O.js";
|
|
7
7
|
import {
|
|
8
8
|
ConfigRepository,
|
|
9
9
|
Session,
|
|
10
10
|
ViewFactory
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CKH4KCYF.js";
|
|
12
12
|
|
|
13
13
|
// ../View/dist/chunk-AXHMZAM6.js
|
|
14
14
|
var ELEMENT = /* @__PURE__ */ Symbol.for("oriel:view.element");
|
|
@@ -475,4 +475,4 @@ export {
|
|
|
475
475
|
View,
|
|
476
476
|
ViewServiceProvider
|
|
477
477
|
};
|
|
478
|
-
//# sourceMappingURL=chunk-
|
|
478
|
+
//# sourceMappingURL=chunk-ZRTWDJKD.js.map
|
package/dist/contracts.d.ts
CHANGED
|
@@ -1378,6 +1378,11 @@ interface ConsoleKernel {
|
|
|
1378
1378
|
register(...commands: Array<Command | (new () => Command)>): void;
|
|
1379
1379
|
/** Closure command, like Artisan::command() in routes/console.ts. `this` is the command (argument(), info(), …). */
|
|
1380
1380
|
command(signature: string, handler: (this: CommandContext, ...args: unknown[]) => number | void | Promise<number | void>): ClosureCommand;
|
|
1381
|
+
/**
|
|
1382
|
+
* Loads the app's commands (app/Console/Commands) and routes/console.ts, once (Laravel's Kernel::bootstrap()). The
|
|
1383
|
+
* console does it at start; a web request that needs the schedule (Vercel Cron) asks for it.
|
|
1384
|
+
*/
|
|
1385
|
+
bootstrap(): Promise<void>;
|
|
1381
1386
|
}
|
|
1382
1387
|
declare const ConsoleKernel: Token<ConsoleKernel>;
|
|
1383
1388
|
/** A callback a scheduled event runs before or after itself (before(), after(), onSuccess(), onFailure()). */
|
|
@@ -1491,6 +1496,8 @@ interface Schedule {
|
|
|
1491
1496
|
call(callback: () => unknown | Promise<unknown>): ScheduledEvent;
|
|
1492
1497
|
events(): ScheduledEvent[];
|
|
1493
1498
|
dueEvents(now: Date): ScheduledEvent[];
|
|
1499
|
+
/** The events with a due minute after `from` and up to `to`, each once: what a trigger that runs now and then owes. */
|
|
1500
|
+
dueBetween(from: Date, to: Date): ScheduledEvent[];
|
|
1494
1501
|
}
|
|
1495
1502
|
declare const Schedule: Token<Schedule>;
|
|
1496
1503
|
|
package/dist/contracts.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { Container as Container$1, Factory as Factory$1, Abstract, Concrete, Ori
|
|
|
2
2
|
export { InferRuleType, RouteList, RouteParameter, RouteParameters } from './contracts.js';
|
|
3
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
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-
|
|
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,
|
|
5
|
+
import { B as BusFake, E as EventFake, M as MailFake, N as NotificationFake, Q as QueueFake, S as StorageFake } from './testing-B8NOiQC9.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 UploadValidationError, W as WithFileUploads, G as WithPagination, H as componentName, J as live, K as persistentMiddleware } from './testing-B8NOiQC9.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';
|
|
@@ -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.
|
|
133
|
+
readonly version = "0.1.0-alpha.13";
|
|
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
|
|
|
@@ -2048,10 +2054,15 @@ declare class Kernel implements ConsoleKernel {
|
|
|
2048
2054
|
private readonly defaultOutput;
|
|
2049
2055
|
private lastOutput;
|
|
2050
2056
|
private running;
|
|
2057
|
+
private loader;
|
|
2058
|
+
private bootstrapping;
|
|
2051
2059
|
constructor(app: KernelApp, io?: {
|
|
2052
2060
|
input?: ConsoleInput;
|
|
2053
2061
|
output?: ConsoleOutput;
|
|
2054
2062
|
});
|
|
2063
|
+
/** What bootstrap() runs once: the provider hands it the loading of the app's commands and routes/console.ts. */
|
|
2064
|
+
bootstrapWith(loader: () => Promise<void>): void;
|
|
2065
|
+
bootstrap(): Promise<void>;
|
|
2055
2066
|
register(...commands: Array<Command$1 | (new () => Command$1)>): void;
|
|
2056
2067
|
command(signature: string, handler: (this: CommandContext, ...args: unknown[]) => number | void | Promise<number | void>): ClosureCommand$1;
|
|
2057
2068
|
all(): Record<string, Command$1>;
|
|
@@ -6996,6 +7007,137 @@ declare class AuthServiceProvider extends ServiceProvider$1 {
|
|
|
6996
7007
|
boot(): Promise<void>;
|
|
6997
7008
|
}
|
|
6998
7009
|
|
|
7010
|
+
/** The migration `two-factor:install` writes: the four two-factor columns on `users`. */
|
|
7011
|
+
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";
|
|
7012
|
+
|
|
7013
|
+
type TwoFactorMethod = 'email' | 'app';
|
|
7014
|
+
/** `config/auth.ts`'s `two_factor`. */
|
|
7015
|
+
interface TwoFactorConfig {
|
|
7016
|
+
/** Off by default: on, a correct password asks for a second factor (see requireWhen() to choose who). */
|
|
7017
|
+
enabled: boolean;
|
|
7018
|
+
/** The methods users may use. */
|
|
7019
|
+
methods: TwoFactorMethod[];
|
|
7020
|
+
/** The method a user has until they set up another. */
|
|
7021
|
+
default: TwoFactorMethod;
|
|
7022
|
+
/** Seconds an emailed code stays valid. */
|
|
7023
|
+
code_ttl: number;
|
|
7024
|
+
/** Seconds a pending login waits for its code. */
|
|
7025
|
+
pending_ttl: number;
|
|
7026
|
+
/** Wrong codes a pending login allows before it ends. */
|
|
7027
|
+
max_attempts: number;
|
|
7028
|
+
/** Seconds before another email code may be sent. */
|
|
7029
|
+
resend_after: number;
|
|
7030
|
+
/** Authenticator steps of clock drift accepted either way. */
|
|
7031
|
+
window: number;
|
|
7032
|
+
/** How many recovery codes a user gets. */
|
|
7033
|
+
recovery_codes: number;
|
|
7034
|
+
/** The name authenticator apps show. Default: `app.name`. */
|
|
7035
|
+
issuer?: string;
|
|
7036
|
+
}
|
|
7037
|
+
|
|
7038
|
+
/** A user whose two-factor columns can be read and saved: an app's User model. */
|
|
7039
|
+
type TwoFactorUser = Authenticatable & Pick<ModelInstance, 'getAttribute' | 'setAttribute' | 'save'>;
|
|
7040
|
+
/**
|
|
7041
|
+
* Two-factor login (Laravel Fortify's, with an emailed code as well): `attempt()` checks the password and, when a second
|
|
7042
|
+
* factor is required, keeps a pending login in the session instead of logging in; `verify()` completes it with the
|
|
7043
|
+
* code (email or authenticator app, as the user's method is) or a recovery code.
|
|
7044
|
+
*/
|
|
7045
|
+
declare class TwoFactorManager {
|
|
7046
|
+
#private;
|
|
7047
|
+
/** Who is asked for a second factor when two-factor is on. Default: everyone. */
|
|
7048
|
+
requireWhen(callback: ((user: Authenticatable) => boolean | Promise<boolean>) | undefined): void;
|
|
7049
|
+
/**
|
|
7050
|
+
* Checks the credentials. `'authenticated'`: logged in (two-factor off, not required for this user, or no method
|
|
7051
|
+
* open to them). `'challenge'`: the password was right and the code is asked for (an email method's code is sent
|
|
7052
|
+
* now). `false`: wrong credentials.
|
|
7053
|
+
*/
|
|
7054
|
+
attempt(credentials: Credentials, remember?: boolean): Promise<'authenticated' | 'challenge' | false>;
|
|
7055
|
+
/** The pending login, for the challenge page: the method asked for, the others open, and where an email code went. */
|
|
7056
|
+
challenge(): Promise<{
|
|
7057
|
+
method: TwoFactorMethod;
|
|
7058
|
+
methods: TwoFactorMethod[];
|
|
7059
|
+
email: string;
|
|
7060
|
+
} | undefined>;
|
|
7061
|
+
/** A 6-digit code for the pending method, or a recovery code. True: the user is logged in. */
|
|
7062
|
+
verify(code: string): Promise<boolean>;
|
|
7063
|
+
/** Asks for another of the user's methods; switching to email sends a code. */
|
|
7064
|
+
useMethod(method: TwoFactorMethod): Promise<void>;
|
|
7065
|
+
/** Sends a new email code; false within `resend_after` seconds of the last one, or when the method isn't email. */
|
|
7066
|
+
resend(): Promise<boolean>;
|
|
7067
|
+
/**
|
|
7068
|
+
* Starts setting up an authenticator app: a new secret (unconfirmed, so it doesn't count yet), the `otpauth://` URL
|
|
7069
|
+
* and a QR code of it for the app to scan.
|
|
7070
|
+
*/
|
|
7071
|
+
enableApp(user: TwoFactorUser): Promise<{
|
|
7072
|
+
secret: string;
|
|
7073
|
+
url: string;
|
|
7074
|
+
svg: string;
|
|
7075
|
+
}>;
|
|
7076
|
+
/** Confirms the app with a code from it: then it counts, becomes the user's method, and recovery codes are made. */
|
|
7077
|
+
confirmApp(user: TwoFactorUser, code: string): Promise<boolean>;
|
|
7078
|
+
/** Removes the authenticator app: the secret is forgotten and the user is asked by email again. */
|
|
7079
|
+
disableApp(user: TwoFactorUser): Promise<void>;
|
|
7080
|
+
/** The method the user prefers; one they can't use (an unconfirmed app, one the app turned off) isn't asked for. */
|
|
7081
|
+
setMethod(user: TwoFactorUser, method: TwoFactorMethod): Promise<void>;
|
|
7082
|
+
/** The user's recovery codes, made on first ask (show them once, and offer to make new ones). */
|
|
7083
|
+
recoveryCodes(user: TwoFactorUser): Promise<string[]>;
|
|
7084
|
+
/** New recovery codes; the old ones stop working. */
|
|
7085
|
+
regenerateRecoveryCodes(user: TwoFactorUser): Promise<string[]>;
|
|
7086
|
+
}
|
|
7087
|
+
|
|
7088
|
+
/** `two-factor.challenge`: the challenge page's routes, open only to a login waiting for its second factor. */
|
|
7089
|
+
declare class TwoFactorChallenge implements Middleware {
|
|
7090
|
+
handle(request: HttpRequest, next: Next$1): Promise<Response>;
|
|
7091
|
+
}
|
|
7092
|
+
|
|
7093
|
+
/** The emailed sign-in code. */
|
|
7094
|
+
declare class TwoFactorCode implements Notification$2 {
|
|
7095
|
+
readonly code: string;
|
|
7096
|
+
readonly minutes: number;
|
|
7097
|
+
/** Build the mail yourself (e.g. a MailMessage from the Notifications component). */
|
|
7098
|
+
static toMailUsing(callback: ((notifiable: unknown, code: string, minutes: number) => unknown) | undefined): void;
|
|
7099
|
+
constructor(code: string, minutes: number);
|
|
7100
|
+
via(): string[];
|
|
7101
|
+
toMail(notifiable: unknown): unknown;
|
|
7102
|
+
}
|
|
7103
|
+
|
|
7104
|
+
/** A correct password was asked for its second factor. */
|
|
7105
|
+
declare class TwoFactorChallenged {
|
|
7106
|
+
readonly user: Authenticatable;
|
|
7107
|
+
readonly method: TwoFactorMethod;
|
|
7108
|
+
constructor(user: Authenticatable, method: TwoFactorMethod);
|
|
7109
|
+
}
|
|
7110
|
+
/** A wrong code, or one used already. */
|
|
7111
|
+
declare class TwoFactorFailed {
|
|
7112
|
+
readonly user: Authenticatable;
|
|
7113
|
+
readonly method: TwoFactorMethod;
|
|
7114
|
+
constructor(user: Authenticatable, method: TwoFactorMethod);
|
|
7115
|
+
}
|
|
7116
|
+
/** The second factor was right: the user is logged in. */
|
|
7117
|
+
declare class TwoFactorAuthenticated {
|
|
7118
|
+
readonly user: Authenticatable;
|
|
7119
|
+
readonly method: TwoFactorMethod | 'recovery';
|
|
7120
|
+
constructor(user: Authenticatable, method: TwoFactorMethod | 'recovery');
|
|
7121
|
+
}
|
|
7122
|
+
/** A recovery code was spent. */
|
|
7123
|
+
declare class RecoveryCodeUsed {
|
|
7124
|
+
readonly user: Authenticatable;
|
|
7125
|
+
constructor(user: Authenticatable);
|
|
7126
|
+
}
|
|
7127
|
+
/** The user set up an authenticator app (confirmed with a code). */
|
|
7128
|
+
declare class TwoFactorAppEnabled {
|
|
7129
|
+
readonly user: Authenticatable;
|
|
7130
|
+
constructor(user: Authenticatable);
|
|
7131
|
+
}
|
|
7132
|
+
/** The user removed their authenticator app. */
|
|
7133
|
+
declare class TwoFactorAppDisabled {
|
|
7134
|
+
readonly user: Authenticatable;
|
|
7135
|
+
constructor(user: Authenticatable);
|
|
7136
|
+
}
|
|
7137
|
+
|
|
7138
|
+
/** The TwoFactor facade: attempt(), challenge(), verify(), and setting up the app and recovery codes. */
|
|
7139
|
+
declare const TwoFactor: Facade<TwoFactorManager, object>;
|
|
7140
|
+
|
|
6999
7141
|
/**
|
|
7000
7142
|
* Implements the full `Logger` contract on top of one `write()` method: level filtering, merging in the current
|
|
7001
7143
|
* scope's context (`context.ts`) and serializing `Error` values (`levels.ts`) all happen here, once.
|
|
@@ -7930,6 +8072,101 @@ declare class S3Filesystem implements Filesystem {
|
|
|
7930
8072
|
private list;
|
|
7931
8073
|
}
|
|
7932
8074
|
|
|
8075
|
+
type Body = string | Uint8Array | ReadableStream<Uint8Array>;
|
|
8076
|
+
type CreateOptions = {
|
|
8077
|
+
access: 'public';
|
|
8078
|
+
addRandomSuffix: false;
|
|
8079
|
+
allowOverwrite: true;
|
|
8080
|
+
};
|
|
8081
|
+
/** The subset of `@vercel/blob` this driver calls (`vercelBlobClient()` wraps the SDK; a test fake implements it). */
|
|
8082
|
+
interface BlobClientLike {
|
|
8083
|
+
put(pathname: string, body: Body, options: CreateOptions & {
|
|
8084
|
+
contentType?: string;
|
|
8085
|
+
}): Promise<{
|
|
8086
|
+
url: string;
|
|
8087
|
+
pathname: string;
|
|
8088
|
+
}>;
|
|
8089
|
+
head(pathname: string): Promise<{
|
|
8090
|
+
url: string;
|
|
8091
|
+
pathname: string;
|
|
8092
|
+
size: number;
|
|
8093
|
+
uploadedAt: Date;
|
|
8094
|
+
contentType: string;
|
|
8095
|
+
}>;
|
|
8096
|
+
del(pathnames: string[]): Promise<void>;
|
|
8097
|
+
list(options: {
|
|
8098
|
+
prefix?: string;
|
|
8099
|
+
cursor?: string;
|
|
8100
|
+
mode?: 'expanded' | 'folded';
|
|
8101
|
+
limit?: number;
|
|
8102
|
+
}): Promise<{
|
|
8103
|
+
blobs: {
|
|
8104
|
+
pathname: string;
|
|
8105
|
+
url: string;
|
|
8106
|
+
}[];
|
|
8107
|
+
folders?: string[];
|
|
8108
|
+
cursor?: string;
|
|
8109
|
+
hasMore: boolean;
|
|
8110
|
+
}>;
|
|
8111
|
+
copy(from: string, to: string, options: CreateOptions): Promise<{
|
|
8112
|
+
url: string;
|
|
8113
|
+
}>;
|
|
8114
|
+
fetch(url: string): Promise<Response>;
|
|
8115
|
+
}
|
|
8116
|
+
interface VercelBlobDiskConfig {
|
|
8117
|
+
/** The store's read-write token. Default: `BLOB_READ_WRITE_TOKEN`, which Vercel sets when a store is connected. */
|
|
8118
|
+
token?: string;
|
|
8119
|
+
/** Public base URL for `url()`. Default: the store's, from the token. */
|
|
8120
|
+
url?: string;
|
|
8121
|
+
/** A folder every path is kept under (e.g. `preview`, so previews stay apart from production). */
|
|
8122
|
+
root?: string;
|
|
8123
|
+
/** Vercel Blob stores here are public; `private` is refused. */
|
|
8124
|
+
visibility?: 'public' | 'private';
|
|
8125
|
+
}
|
|
8126
|
+
/**
|
|
8127
|
+
* The `vercel-blob` disk: files in a public Vercel Blob store, which outlive a Vercel function. Every operation is a
|
|
8128
|
+
* Blob API call through the injected client. Blob has no real folders: they exist through the files in them.
|
|
8129
|
+
*/
|
|
8130
|
+
declare class VercelBlobFilesystem implements Filesystem {
|
|
8131
|
+
private readonly client;
|
|
8132
|
+
private readonly config;
|
|
8133
|
+
private readonly root;
|
|
8134
|
+
constructor(client: BlobClientLike, config: VercelBlobDiskConfig);
|
|
8135
|
+
/** The pathname in the store: the disk's root, then the path. */
|
|
8136
|
+
private key;
|
|
8137
|
+
/** A store pathname back to the disk's path. */
|
|
8138
|
+
private unroot;
|
|
8139
|
+
private head;
|
|
8140
|
+
exists(path: string): Promise<boolean>;
|
|
8141
|
+
missing(path: string): Promise<boolean>;
|
|
8142
|
+
private read;
|
|
8143
|
+
get(path: string): Promise<string>;
|
|
8144
|
+
getBytes(path: string): Promise<Uint8Array>;
|
|
8145
|
+
readStream(path: string): Promise<ReadableStream<Uint8Array>>;
|
|
8146
|
+
put(path: string, contents: Body, options?: PutOptions): Promise<boolean>;
|
|
8147
|
+
putFile(directory: string, file: UploadedFile, options?: PutOptions): Promise<string>;
|
|
8148
|
+
/** Sends the upload's own type (its extension()), as the s3 disk does, never the type the client claimed. */
|
|
8149
|
+
putFileAs(directory: string, file: UploadedFile, name: string, options?: PutOptions): Promise<string>;
|
|
8150
|
+
private store;
|
|
8151
|
+
delete(paths: string | string[]): Promise<boolean>;
|
|
8152
|
+
copy(from: string, to: string): Promise<boolean>;
|
|
8153
|
+
move(from: string, to: string): Promise<boolean>;
|
|
8154
|
+
size(path: string): Promise<number>;
|
|
8155
|
+
lastModified(path: string): Promise<Date>;
|
|
8156
|
+
mimeType(path: string): Promise<string | undefined>;
|
|
8157
|
+
url(path: string): string;
|
|
8158
|
+
/** A public store's files need no signature: the public URL. */
|
|
8159
|
+
temporaryUrl(path: string, _expiresAt: Date): Promise<string>;
|
|
8160
|
+
files(directory?: string, recursive?: boolean): Promise<string[]>;
|
|
8161
|
+
directories(directory?: string, recursive?: boolean): Promise<string[]>;
|
|
8162
|
+
/** Blob folders exist through their files, so there's nothing to create. */
|
|
8163
|
+
makeDirectory(_path: string): Promise<boolean>;
|
|
8164
|
+
deleteDirectory(path: string): Promise<boolean>;
|
|
8165
|
+
path(_path: string): string;
|
|
8166
|
+
/** Every page of a listing: the store's pathnames, and in folded mode its folders (`prefix/name/`). */
|
|
8167
|
+
private list;
|
|
8168
|
+
}
|
|
8169
|
+
|
|
7933
8170
|
/** Base for queue errors: internal failures, reported and rendered as a 500 (kind 'Server'). */
|
|
7934
8171
|
declare class QueueError extends Error implements OrielError {
|
|
7935
8172
|
readonly kind: "Server";
|
|
@@ -9606,6 +9843,11 @@ interface VercelBuildOptions {
|
|
|
9606
9843
|
maxFunctionBytes?: number;
|
|
9607
9844
|
/** The machine the build runs on, which decides the native packages copied. Default: `process.platform`. */
|
|
9608
9845
|
platform?: string;
|
|
9846
|
+
/**
|
|
9847
|
+
* When Vercel calls the app's scheduler, as a cron expression (UTC), or `false` for never. Default: `0 3 * * *`,
|
|
9848
|
+
* daily at 03:00: Vercel's Hobby plan runs a cron at most once a day. Written only when the app schedules tasks.
|
|
9849
|
+
*/
|
|
9850
|
+
cron?: string | false;
|
|
9609
9851
|
}
|
|
9610
9852
|
interface VercelBuildResult {
|
|
9611
9853
|
/** The function's size, unzipped. */
|
|
@@ -9624,9 +9866,9 @@ declare const VERCEL_FUNCTION_LIMIT: number;
|
|
|
9624
9866
|
*/
|
|
9625
9867
|
declare function buildVercelOutput(app: Application$2, options?: VercelBuildOptions): Promise<VercelBuildResult>;
|
|
9626
9868
|
|
|
9627
|
-
/** Registers `oriel vercel:build`, which writes Vercel's build output for the app. */
|
|
9869
|
+
/** Registers `oriel vercel:build`, which writes Vercel's build output for the app, and the route Vercel Cron calls. */
|
|
9628
9870
|
declare class VercelServiceProvider extends ServiceProvider$1 {
|
|
9629
9871
|
boot(): void;
|
|
9630
9872
|
}
|
|
9631
9873
|
|
|
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 };
|
|
9874
|
+
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, 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, 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, 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, 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 };
|