@vite-hub/auth 0.6.1 → 0.8.0

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 (78) hide show
  1. package/README.md +86 -12
  2. package/dist/{abilities-BYOcyQ9B.d.ts → abilities-IOwpkcz4.d.ts} +1 -1
  3. package/dist/abilities.d.ts +1 -1
  4. package/dist/{ability-error-D3-u8k1A.js → ability-error-DgR91Jwc.js} +1 -1
  5. package/dist/{access-pages-9aKr6z-k.js → access-pages-C69nwa99.js} +10 -3
  6. package/dist/agent.d.ts +2 -3
  7. package/dist/agent.js +31 -12
  8. package/dist/{auth-instance-BWiRS9QZ.js → auth-instance-WeEK1zDd.js} +174 -64
  9. package/dist/{cli-C5pAfY4x.d.ts → cli-DL7uCAvz.d.ts} +15 -0
  10. package/dist/cli.d.ts +1 -1
  11. package/dist/cli.js +1 -1
  12. package/dist/client-extension-BgUlm6hy.d.ts +33 -0
  13. package/dist/client-request-B1DCz3a9.js +29 -0
  14. package/dist/{console-runtime-DMH1I2fl.d.ts → console-runtime-C71weVrt.d.ts} +1 -1
  15. package/dist/{console-runtime-CaIXVtB_.js → console-runtime-Dk3j4Jmz.js} +5 -3
  16. package/dist/console-runtime.d.ts +2 -2
  17. package/dist/console-runtime.js +1 -1
  18. package/dist/console.d.ts +1 -1
  19. package/dist/database-options-Cms7BI3c.js +36 -0
  20. package/dist/{database-schema-options-peXHNLkJ.js → database-schema-options-IlHEeUBK.js} +1 -1
  21. package/dist/database.d.ts +1 -1
  22. package/dist/database.js +13 -8
  23. package/dist/{definition-BypPLIbI.js → definition-EpeI5LUG.js} +18 -4
  24. package/dist/{error-diagnostics-CUPwukgE.js → error-diagnostics-DZHuHXPP.js} +46 -5
  25. package/dist/{events-BXU1_9mc.js → events-Cm7Iwq47.js} +1 -1
  26. package/dist/extension-BWmjJhoN.d.ts +59 -0
  27. package/dist/extension-mCx4TrsO.js +133 -0
  28. package/dist/forward.js +1 -1
  29. package/dist/index.d.ts +4 -3
  30. package/dist/index.js +5 -3
  31. package/dist/internal/server.d.ts +3 -3
  32. package/dist/internal/server.js +5 -4
  33. package/dist/{mcp-config-C7srUMIZ.js → mcp-config-Bbr8kQxm.js} +9 -1
  34. package/dist/{mcp-token-CuqdbBy8.js → mcp-token-BleQZK6H.js} +52 -11
  35. package/dist/{mcp-token-CmQbXbTu.d.ts → mcp-token-CxpopXmK.d.ts} +5 -2
  36. package/dist/mcp.d.ts +2 -2
  37. package/dist/mcp.js +27 -6
  38. package/dist/{members-CwPIx10t.js → members-7OMdqha_.js} +188 -152
  39. package/dist/nuxt.d.ts +4 -14
  40. package/dist/nuxt.js +53 -20
  41. package/dist/{own-access-BNcxKrDl.d.ts → own-access-CGiai2L3.d.ts} +1 -1
  42. package/dist/{page-tools-shared-CtoKaNQZ.js → page-tools-shared-dVJBPPTk.js} +8 -0
  43. package/dist/presets.js +1 -1
  44. package/dist/roles-BGi8CyBG.js +17 -0
  45. package/dist/runtime/client-request-plugin.d.ts +2 -1
  46. package/dist/runtime/client-request-plugin.js +8 -5
  47. package/dist/runtime/console.d.ts +1 -1
  48. package/dist/runtime/console.js +2 -2
  49. package/dist/runtime/empty-abilities.d.ts +1 -1
  50. package/dist/runtime/empty-client.d.ts +3 -0
  51. package/dist/runtime/empty-client.js +3 -1
  52. package/dist/runtime/empty-definition.d.ts +1 -1
  53. package/dist/runtime/server.d.ts +4 -3
  54. package/dist/runtime/server.js +7 -4
  55. package/dist/runtime/vue-nuxt.js +27 -11
  56. package/dist/schema.d.ts +32 -14
  57. package/dist/schema.js +21 -14
  58. package/dist/{server-Iru6jcnW.js → server-5t-HA7I1.js} +80 -328
  59. package/dist/{server-C4Kni3Vj.d.ts → server-DyP1v-sZ.d.ts} +39 -7
  60. package/dist/{server-BHniJi2m.d.ts → server-mmp8EfcE.d.ts} +4 -2
  61. package/dist/server.d.ts +6 -3
  62. package/dist/server.js +9 -3
  63. package/dist/{session-cookies-fR6Pv4kD.js → session-cookies-BNtY3hMp.js} +4 -16
  64. package/dist/{set-cookie-DVfi-nJX.js → set-cookie-Bva-P-_C.js} +1 -1
  65. package/dist/{table-specs-CCSY4tiS.js → table-specs-Bm7QJCbu.js} +1 -1
  66. package/dist/{table-specs-P4LvbOlX.d.ts → table-specs-BxKeFD_y.d.ts} +5 -0
  67. package/dist/test.d.ts +1 -1
  68. package/dist/test.js +2 -2
  69. package/dist/{types-DmH31d2t.d.ts → types-CnO5bHEF.d.ts} +40 -6
  70. package/dist/{vite-CpWhT1Wi.js → vite-7I1bJvqA.js} +686 -244
  71. package/dist/vite-CZ_Z6IR3.d.ts +28 -0
  72. package/dist/vite.d.ts +41 -6
  73. package/dist/vite.js +1 -1
  74. package/dist/vue.d.ts +4 -3
  75. package/dist/vue.js +39 -4
  76. package/package.json +9 -8
  77. package/dist/client-request-BzMKtfCY.js +0 -52
  78. package/dist/database-options-B87hDU4j.js +0 -28
package/dist/server.js CHANGED
@@ -1,3 +1,9 @@
1
- import { t as AbilityError } from "./ability-error-D3-u8k1A.js";
2
- import { D as withAuthorization, E as withAuth, S as signOut, T as withAnonymousAuthorization, _ as requireAbility, a as checkAuthMember, b as requireAuthorization, f as getAuthConsoleForRequest, g as listAuthEvents, i as can, l as createAuthHandler, m as handleAuth, p as getAuthEvents, r as authRoute, t as aggregateAuthEvents, v as requireAuth, w as useAuth, x as requireCaller } from "./server-Iru6jcnW.js";
3
- export { AbilityError, aggregateAuthEvents, can, checkAuthMember, createAuthHandler, authRoute as default, getAuthConsoleForRequest, getAuthEvents, handleAuth, listAuthEvents, requireAbility, requireAuth, requireAuthorization, requireCaller, signOut, useAuth, withAnonymousAuthorization, withAuth, withAuthorization };
1
+ import { g as findAccessPolicyPlugin } from "./members-7OMdqha_.js";
2
+ import { t as AbilityError } from "./ability-error-DgR91Jwc.js";
3
+ import { C as signOut, D as withAuth, E as withAnonymousAuthorization, O as withAuthorization, S as requireCaller, T as useAuth, _ as listAuthEvents, a as can, h as handleAuth, i as authRoute, m as getAuthEvents, o as checkAuthMember, p as getAuthConsoleForRequest, r as authMiddleware, t as aggregateAuthEvents, u as createAuthHandler, v as requireAbility, x as requireAuthorization, y as requireAuth } from "./server-5t-HA7I1.js";
4
+ // src/server.ts
5
+ /** Whether the resolved Auth context applies `VITEHUB_MEMBERS`. */
6
+ function hasAuthMembers(context) {
7
+ return Boolean(findAccessPolicyPlugin(context.options.plugins)?.members);
8
+ }
9
+ export { AbilityError, aggregateAuthEvents, authMiddleware, can, checkAuthMember, createAuthHandler, authRoute as default, getAuthConsoleForRequest, getAuthEvents, handleAuth, hasAuthMembers, listAuthEvents, requireAbility, requireAuth, requireAuthorization, requireCaller, signOut, useAuth, withAnonymousAuthorization, withAuth, withAuthorization };
@@ -1,8 +1,9 @@
1
- import { t as authErrorDiagnostics } from "./error-diagnostics-CUPwukgE.js";
2
- import { r as throwAuthenticationProviderError, t as readSetCookies } from "./set-cookie-DVfi-nJX.js";
1
+ import { t as authErrorDiagnostics } from "./error-diagnostics-DZHuHXPP.js";
2
+ import { r as throwAuthenticationProviderError, t as readSetCookies } from "./set-cookie-Bva-P-_C.js";
3
3
  import { t as isRecord } from "./object-CAK6UYR5.js";
4
4
  import { n as authRequestEvent } from "./request-Dpq7GO8B.js";
5
5
  import { HTTPError } from "nitro/h3";
6
+ import { isResponse } from "@vite-hub/runtime/internal/response";
6
7
  import { getStandardContext } from "@vite-hub/runtime/internal/h3";
7
8
  // src/session.ts
8
9
  const apiErrorHeaders = Symbol.for("better-call:api-error-headers");
@@ -192,7 +193,7 @@ function sendSessionCookies(input, outcome) {
192
193
  const standard = getStandardContext(authRequestEvent(input));
193
194
  const prepared = preparedSessionCookies.get(standard);
194
195
  if (!prepared) return outcome;
195
- const response = isResponseLike(outcome) ? outcome : void 0;
196
+ const response = isResponse(outcome) ? outcome : void 0;
196
197
  const headers = standard.res.headers;
197
198
  if (standard.vendor === "fetch") {
198
199
  if (!response) return outcome;
@@ -273,17 +274,4 @@ function removeSetCookies(headers, values) {
273
274
  headers.delete("set-cookie");
274
275
  for (const cookie of kept) headers.append("set-cookie", cookie);
275
276
  }
276
- /** A Response of this runtime, or of another Fetch implementation, such as `undici`. */
277
- function isResponseLike(value) {
278
- if (value instanceof Response) return true;
279
- if (value === null || typeof value !== "object") return false;
280
- try {
281
- if (Object.prototype.toString.call(value) !== "[object Response]") return false;
282
- const status = Reflect.get(value, "status");
283
- const headers = Reflect.get(value, "headers");
284
- return typeof status === "number" && typeof Reflect.get(value, "statusText") === "string" && typeof headers === "object" && headers !== null && typeof Reflect.get(headers, "get") === "function";
285
- } catch {
286
- return false;
287
- }
288
- }
289
277
  export { getAuthenticationSession as a, authenticationRefusalResponse as i, sendSessionCookies as n, authenticationRefusalError as r, prepareSessionCookies as t };
@@ -1,4 +1,4 @@
1
- import { t as authErrorDiagnostics } from "./error-diagnostics-CUPwukgE.js";
1
+ import { t as authErrorDiagnostics } from "./error-diagnostics-DZHuHXPP.js";
2
2
  import { ViteHubError, isViteHubError } from "@vite-hub/runtime";
3
3
  // src/errors.ts
4
4
  function invalidAuthenticationErrorOptions() {
@@ -1,4 +1,4 @@
1
- import { t as authErrorDiagnostics } from "./error-diagnostics-CUPwukgE.js";
1
+ import { t as authErrorDiagnostics } from "./error-diagnostics-DZHuHXPP.js";
2
2
  /**
3
3
  * The Better Auth core tables, with the tables of the plugins that ViteHub ships: `jwt()` and `oauthProvider()` of
4
4
  * `mcpOAuth()`, `organization()`, `passkey()` from `@better-auth/passkey`, and the table of Better Auth's limiter. The
@@ -1092,6 +1092,11 @@ interface AuthSchemaOptions {
1092
1092
  plugins?: readonly AuthSchemaPlugin[];
1093
1093
  /** The `additionalFields` of each core model, by the key that Better Auth's adapter reads. */
1094
1094
  additionalFields?: Partial<Record<AuthCoreModel, Readonly<Record<string, AuthTableField>>>>;
1095
+ /**
1096
+ * `advanced.database.generateId` of the Definition, when it is `"uuid"`. On Postgres, each `id` and each column that
1097
+ * references one is `uuid`, and the database makes the ID. SQLite has no uuid type, so its columns stay text.
1098
+ */
1099
+ generateId?: "uuid";
1095
1100
  }
1096
1101
  /**
1097
1102
  * The table specs for `options`: `authTableSpecs`, the tables and columns of each plugin, then the additional fields.
package/dist/test.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as AuthDefinition } from "./types-DmH31d2t.js";
1
+ import { _ as AuthDefinition } from "./types-CnO5bHEF.js";
2
2
  import { Session, User } from "better-auth";
3
3
  /** The user to sign in. Auth creates it when no user has this email. Other fields, such as `role`, go to the new user. */
4
4
  export interface SignInTestUser {
package/dist/test.js CHANGED
@@ -1,5 +1,5 @@
1
- import { s as resolveDefaultDefinition, t as authForRequest } from "./auth-instance-BWiRS9QZ.js";
2
- import { t as authErrorDiagnostics } from "./error-diagnostics-CUPwukgE.js";
1
+ import { s as resolveDefaultDefinition, t as authForRequest } from "./auth-instance-WeEK1zDd.js";
2
+ import { t as authErrorDiagnostics } from "./error-diagnostics-DZHuHXPP.js";
3
3
  import { testUtils } from "better-auth/plugins";
4
4
  // src/test.ts
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { t as AuthPreset } from "./presets-C6AtiRdI.js";
2
- import { i as AuthSchemaOptions } from "./table-specs-P4LvbOlX.js";
2
+ import { i as AuthSchemaOptions } from "./table-specs-BxKeFD_y.js";
3
3
  import { AccessAuthorizationContext, AccessAuthorize, AccessAuthorizeResult, AnonymousAccessAuthorizationContext, AnonymousAccessAuthorize, Duration } from "@vite-hub/runtime";
4
4
  import { ViteHubContext as ViteHubContext$1 } from "@vite-hub/runtime/internal/h3";
5
5
  import { Auth, BetterAuthOptions, DBAdapter, Session, User } from "better-auth";
@@ -85,6 +85,13 @@ declare function createDatabaseAuthEventStore(options: {
85
85
  db: EnvDatabase;
86
86
  retention?: AuthEventRetention | false;
87
87
  }): AuthEventStore;
88
+ /** One role or a list of roles. A user with any of them passes. */
89
+ type AuthRole = string | readonly string[];
90
+ /**
91
+ * Whether `user.role` has one of `roles`. Better Auth's `admin()` plugin stores the roles of a user as one string,
92
+ * separated by commas, such as `"team,admin"`.
93
+ */
94
+ declare function hasRole(user: unknown, roles: AuthRole): boolean;
88
95
  /** Who may open a page: signed-in users (`user`) or signed-out visitors (`guest`). */
89
96
  type AuthPageMode = "guest" | "user";
90
97
  /**
@@ -95,13 +102,17 @@ type AuthPageMeta = boolean | AuthPageMode | {
95
102
  only?: AuthPageMode;
96
103
  /** Where to send the visitor instead of the configured redirect. */
97
104
  redirectTo?: string;
105
+ /** The role, or one of the roles, that `user.role` must have. A signed-in user without it gets a 403 error page. */
106
+ role?: AuthRole;
98
107
  };
99
108
  /**
100
109
  * `access.pages`: the Nuxt pages that the page guard protects, by route pattern, such as `'/dashboard/**'`. A key has
101
- * static segments, `:name`, and a last `**`. `'user'` and `'guest'` work as in `definePageMeta({ auth })`. `false`
102
- * removes the guard of a wider pattern from the matching pages.
110
+ * static segments, `:name`, and a last `**`. `'user'`, `'guest'`, and `{ role }` work as in `definePageMeta({ auth })`.
111
+ * `false` removes the guard of a wider pattern from the matching pages.
103
112
  */
104
- type AuthPages = Record<`/${string}`, AuthPageMode | false>;
113
+ type AuthPages = Record<`/${string}`, AuthPageMode | false | {
114
+ role: AuthRole;
115
+ }>;
105
116
  type AuthConsoleValue = string | number | boolean | null | string[] | number[];
106
117
  type AuthConsoleFieldType = "string" | "number" | "boolean" | "date" | "string[]" | "number[]" | "json";
107
118
  type AuthConsoleAction = "ban" | "unban" | "remove" | "revokeSession" | "revokeSessions" | "setRole" | "editField" | "impersonate" | "revokeConsent";
@@ -426,6 +437,8 @@ interface AuthSignInConfiguration {
426
437
  interface AuthAccessRouteConfiguration {
427
438
  authorize?: AuthAccessAuthorize;
428
439
  method?: string;
440
+ /** The role, or one of the roles, that `user.role` must have. A signed-in user without it gets `403`. `authorize` runs after it. */
441
+ role?: AuthRole;
429
442
  route: string;
430
443
  }
431
444
  type AuthAccessRoute = string | AuthAccessRouteConfiguration;
@@ -434,7 +447,7 @@ type AuthAccessAuthorizeResult = AccessAuthorizeResult;
434
447
  type AuthAccessAuthorize<TEvent = ViteHubContext$1> = AccessAuthorize<TEvent, false>;
435
448
  /** The Session and user that the app's Auth Definition returns, with the fields of its plugins and `additionalFields`. */
436
449
  type RegisteredSession<TRegistry> = RegisteredAuth<TRegistry>["$Infer"]["Session"];
437
- type GuardSession<TSession> = Pick<TSession, Extract<keyof TSession, keyof Session>> & Partial<Omit<TSession, keyof Session>>;
450
+ type GuardSession<TSession> = TSession extends object ? Pick<TSession, Extract<keyof TSession, keyof Session>> & Partial<Omit<TSession, keyof Session>> : never;
438
451
  /**
439
452
  * The checked request, Session, and user that a guarded handler receives. Only Auth guards create it.
440
453
  * Guards using the default Definition read plugin and custom fields from the generated Auth registry.
@@ -548,14 +561,28 @@ type AuthDefinitionInput = AuthDefinitionOptions | AuthDefinitionResolver;
548
561
  interface AuthDefinition<TOptions extends AuthDefinitionInput = AuthDefinitionInput> {
549
562
  options: TOptions;
550
563
  }
564
+ /** One file of the resolved source list, with what it adds. `vitehub inspect definitions` lists them. */
565
+ interface AuthSourceSummary {
566
+ /** The absolute path of the file. */
567
+ file: string;
568
+ /** The path from the project root, which diagnostics and `vitehub inspect definitions` show. */
569
+ name: string;
570
+ /** The entries of `plugins` as the file writes them, without arguments, such as `admin()`. */
571
+ plugins: string[];
572
+ /** The fields that the file declares, as `model.field`. */
573
+ fields: string[];
574
+ }
551
575
  interface DiscoveredAuthDefinition {
552
576
  handler: string;
553
577
  name: "default";
554
578
  source: "server-auth" | "server-auth-suffix";
555
579
  }
556
580
  interface ResolvedAuthAccessRoute {
581
+ /** `authorize` is set, so a request needs the Definition's callback at runtime. */
557
582
  authorize?: true;
558
583
  method?: string;
584
+ /** `role` is set, so a request needs the Definition's role at runtime. */
585
+ role?: true;
559
586
  route: string;
560
587
  }
561
588
  interface ResolvedAuthViteConfig {
@@ -592,6 +619,13 @@ interface ResolvedAuthViteConfig {
592
619
  /** `true` when the static Definition sets no `database` or `preset`, so only a development server can run it. */
593
620
  implicitMemory?: true;
594
621
  definition: DiscoveredAuthDefinition;
622
+ /** The project root for generated Auth files, independent of the Definition discovery root. */
623
+ projectRoot: string;
624
+ /**
625
+ * The resolved source list: the Auth Definition first, then each `server/auth.extend.ts` in merge order, with the
626
+ * plugins and fields that the file adds.
627
+ */
628
+ sources: AuthSourceSummary[];
595
629
  rootDir: string;
596
630
  route: false | string;
597
631
  }
@@ -611,4 +645,4 @@ type RegisteredAuth<TRegistry = ViteHub.AuthRegistry> = TRegistry extends {
611
645
  } ? AuthFor<TDefinition> : ViteHubAuth;
612
646
  /** `false` turns Auth off. `server/auth.ts` turns it on, and `defineAuth()` holds every Auth option. */
613
647
  type AuthOptions = false;
614
- export { AuthConsoleEventGroup as $, AuthRuntimeEnv as A, AuthEventCounts as At, DiscoveredAuthDefinition as B, defaultAuthEventRetention as Bt, AuthGuardedHandler as C, AuthPageMeta as Ct, AuthReservedOption as D, AuthEvent as Dt, AuthRequestInput as E, AuthDevice as Et, AuthSessionRefresh as F, AuthEventStore as Ft, AuthConsoleAction as G, ResolvedAuthAccessRoute as H, AuthSessionRefreshContext as I, AuthEventType as It, AuthConsoleAgent as J, AuthConsoleActivity as K, AuthSessionRefreshFields as L, AuthEventWindow as Lt, AuthRuntimeOption as M, AuthEventMetadata as Mt, AuthRuntimeOptions as N, AuthEventPage as Nt, AuthResolvedDefinitionOptions as O, AuthEventActor as Ot, AuthSessionOptions as P, AuthEventRetention as Pt, AuthConsoleEvent as Q, AuthSignInConfiguration as R, AuthEventsConfiguration as Rt, AuthFor as S, authConsoleEventGroups as St, AuthRequest as T, AuthPages as Tt, ResolvedAuthViteConfig as U, RegisteredAuth as V, ViteHubAuth as W, AuthConsoleColumn as X, AuthConsoleCapability as Y, AuthConsoleDescription as Z, AuthDefinition as _, AuthConsoleSessionUser as _t, AuthAccessPolicy as a, AuthConsoleImpersonation as at, AuthDefinitionResolver as b, AuthConsoleValue as bt, AuthAccessRouteConfiguration as c, AuthConsoleOptions as ct, AuthAnonymousGuardedHandler as d, AuthConsoleOverview as dt, AuthConsoleEventUser as et, AuthAppDatabase as f, AuthConsolePage as ft, AuthComponentsOptions as g, AuthConsoleSession as gt, AuthBetterAuthRuntimeOptions as h, AuthConsoleRoles as ht, AuthAccessConfiguration as i, AuthConsoleHostOptions as it, AuthRuntimeOnlyOptions as j, AuthEventListInput as jt, AuthRuntimeContext as k, AuthEventAggregates as kt, AuthAnonymousAuthorization as l, AuthConsoleOrganization as lt, AuthBetterAuthOptions as m, AuthConsoleQuery as mt, AuthAccessAuthorize as n, AuthConsoleFieldPolicy as nt, AuthAccessPolicyContext as o, AuthConsoleList as ot, AuthAuthorization as p, AuthConsolePolicy as pt, AuthConsoleActivityQuery as q, AuthAccessAuthorizeResult as r, AuthConsoleFieldType as rt, AuthAccessRoute as s, AuthConsoleMutation as st, AuthAccessAuthorizationContext as t, AuthConsoleField as tt, AuthAnonymousAuthorize as u, AuthConsoleOrganizationDetail as ut, AuthDefinitionInput as v, AuthConsoleUser as vt, AuthOptions as w, AuthPageMode as wt, AuthDeleteAccountOptions as x, authConsoleActionNames as xt, AuthDefinitionOptions as y, AuthConsoleUserDetail as yt, AuthViteHubOptions as z, createDatabaseAuthEventStore as zt };
648
+ export { AuthConsoleEvent as $, AuthRuntimeEnv as A, AuthEvent as At, AuthViteHubOptions as B, AuthEventWindow as Bt, AuthGuardedHandler as C, authConsoleEventGroups as Ct, AuthReservedOption as D, AuthRole as Dt, AuthRequestInput as E, AuthPages as Et, AuthSessionRefresh as F, AuthEventMetadata as Ft, ViteHubAuth as G, RegisteredAuth as H, createDatabaseAuthEventStore as Ht, AuthSessionRefreshContext as I, AuthEventPage as It, AuthConsoleActivityQuery as J, AuthConsoleAction as K, AuthSessionRefreshFields as L, AuthEventRetention as Lt, AuthRuntimeOption as M, AuthEventAggregates as Mt, AuthRuntimeOptions as N, AuthEventCounts as Nt, AuthResolvedDefinitionOptions as O, hasRole as Ot, AuthSessionOptions as P, AuthEventListInput as Pt, AuthConsoleDescription as Q, AuthSignInConfiguration as R, AuthEventStore as Rt, AuthFor as S, authConsoleActionNames as St, AuthRequest as T, AuthPageMode as Tt, ResolvedAuthAccessRoute as U, defaultAuthEventRetention as Ut, DiscoveredAuthDefinition as V, AuthEventsConfiguration as Vt, ResolvedAuthViteConfig as W, AuthConsoleCapability as X, AuthConsoleAgent as Y, AuthConsoleColumn as Z, AuthDefinition as _, AuthConsoleSession as _t, AuthAccessPolicy as a, AuthConsoleHostOptions as at, AuthDefinitionResolver as b, AuthConsoleUserDetail as bt, AuthAccessRouteConfiguration as c, AuthConsoleMutation as ct, AuthAnonymousGuardedHandler as d, AuthConsoleOrganizationDetail as dt, AuthConsoleEventGroup as et, AuthAppDatabase as f, AuthConsoleOverview as ft, AuthComponentsOptions as g, AuthConsoleRoles as gt, AuthBetterAuthRuntimeOptions as h, AuthConsoleQuery as ht, AuthAccessConfiguration as i, AuthConsoleFieldType as it, AuthRuntimeOnlyOptions as j, AuthEventActor as jt, AuthRuntimeContext as k, AuthDevice as kt, AuthAnonymousAuthorization as l, AuthConsoleOptions as lt, AuthBetterAuthOptions as m, AuthConsolePolicy as mt, AuthAccessAuthorize as n, AuthConsoleField as nt, AuthAccessPolicyContext as o, AuthConsoleImpersonation as ot, AuthAuthorization as p, AuthConsolePage as pt, AuthConsoleActivity as q, AuthAccessAuthorizeResult as r, AuthConsoleFieldPolicy as rt, AuthAccessRoute as s, AuthConsoleList as st, AuthAccessAuthorizationContext as t, AuthConsoleEventUser as tt, AuthAnonymousAuthorize as u, AuthConsoleOrganization as ut, AuthDefinitionInput as v, AuthConsoleSessionUser as vt, AuthOptions as w, AuthPageMeta as wt, AuthDeleteAccountOptions as x, AuthConsoleValue as xt, AuthDefinitionOptions as y, AuthConsoleUser as yt, AuthSourceSummary as z, AuthEventType as zt };