@donotdev/core 0.3.2 → 0.3.4

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 (51) hide show
  1. package/functions/index.js +19 -19
  2. package/i18n/locales/eager/dndev_ar.json +2 -1
  3. package/i18n/locales/eager/dndev_da.json +2 -1
  4. package/i18n/locales/eager/dndev_de.json +2 -1
  5. package/i18n/locales/eager/dndev_en.json +2 -1
  6. package/i18n/locales/eager/dndev_es.json +2 -1
  7. package/i18n/locales/eager/dndev_fr.json +2 -1
  8. package/i18n/locales/eager/dndev_it.json +2 -1
  9. package/i18n/locales/eager/dndev_ja.json +2 -1
  10. package/i18n/locales/eager/dndev_ko.json +2 -1
  11. package/i18n/locales/eager/dndev_nl.json +2 -1
  12. package/i18n/locales/eager/dndev_pl.json +2 -1
  13. package/i18n/locales/eager/dndev_pt.json +2 -1
  14. package/i18n/locales/eager/dndev_zh.json +2 -1
  15. package/i18n/locales/lazy/auth_ar.json +25 -2
  16. package/i18n/locales/lazy/auth_da.json +28 -2
  17. package/i18n/locales/lazy/auth_de.json +25 -2
  18. package/i18n/locales/lazy/auth_en.json +25 -2
  19. package/i18n/locales/lazy/auth_es.json +25 -2
  20. package/i18n/locales/lazy/auth_fr.json +25 -2
  21. package/i18n/locales/lazy/auth_it.json +25 -2
  22. package/i18n/locales/lazy/auth_ja.json +25 -2
  23. package/i18n/locales/lazy/auth_ko.json +25 -2
  24. package/i18n/locales/lazy/auth_nl.json +28 -2
  25. package/i18n/locales/lazy/auth_pl.json +25 -2
  26. package/i18n/locales/lazy/auth_pt.json +25 -2
  27. package/i18n/locales/lazy/auth_zh.json +25 -2
  28. package/i18n/locales/lazy/crud_ar.json +3 -1
  29. package/i18n/locales/lazy/crud_da.json +3 -1
  30. package/i18n/locales/lazy/crud_de.json +3 -1
  31. package/i18n/locales/lazy/crud_en.json +3 -1
  32. package/i18n/locales/lazy/crud_es.json +3 -1
  33. package/i18n/locales/lazy/crud_fr.json +3 -1
  34. package/i18n/locales/lazy/crud_it.json +3 -1
  35. package/i18n/locales/lazy/crud_ja.json +3 -1
  36. package/i18n/locales/lazy/crud_ko.json +3 -1
  37. package/i18n/locales/lazy/crud_nl.json +3 -1
  38. package/i18n/locales/lazy/crud_pl.json +3 -1
  39. package/i18n/locales/lazy/crud_pt.json +3 -1
  40. package/i18n/locales/lazy/crud_zh.json +3 -1
  41. package/index.d.ts +455 -49
  42. package/index.js +5 -5
  43. package/next/index.d.ts +80 -10
  44. package/next/index.js +259 -216
  45. package/next/runtime.js +2 -2
  46. package/package.json +2 -2
  47. package/server.d.ts +323 -24
  48. package/shared.js +2 -2
  49. package/symbol-index.json +1 -1
  50. package/vite/index.d.ts +65 -1
  51. package/vite/index.js +113 -107
package/server.d.ts CHANGED
@@ -5013,7 +5013,7 @@ interface SEOConfig {
5013
5013
  speculationRules?: boolean;
5014
5014
  /** Emit hreflang alternate links when i18n has 2+ languages (default: true). No-op for monolingual apps. Set to false to disable. */
5015
5015
  hreflang?: boolean;
5016
- /** Auto-generate BreadcrumbList JSON-LD from URL path segments (default: true). Set to false to disable. */
5016
+ /** Auto-generate BreadcrumbList JSON-LD: the site, the page's ancestors (`routeAncestors`: URL prefixes that are pages, PageMeta `parent`) and the page, by page title (default: true). Set to false to disable. */
5017
5017
  breadcrumbSchema?: boolean;
5018
5018
  /** Auto-generate WebSite JSON-LD with SearchAction for sitelinks search box (default: true). Set to false to disable. */
5019
5019
  websiteSchema?: boolean;
@@ -5066,6 +5066,43 @@ interface HeadersConfig {
5066
5066
  /** Cache-Control overrides per path (last wins) */
5067
5067
  cache?: readonly CacheOverride[];
5068
5068
  }
5069
+ /**
5070
+ * One woff2 file of an app-owned font family ({@link LocalFontConfig}).
5071
+ *
5072
+ * @since 0.3.3
5073
+ */
5074
+ interface LocalFontFace {
5075
+ /** woff2 path relative to the app root, e.g. `'src/assets/fonts/brand.woff2'` */
5076
+ file: string;
5077
+ /** A weight (`400`) or a variable font's range (`'300 600'`) */
5078
+ weight: number | `${number} ${number}`;
5079
+ /** Default `'normal'` */
5080
+ style?: 'normal' | 'italic';
5081
+ /**
5082
+ * The face's `unicode-range` (`'U+AC00-D7A3'`): the browser downloads the file only for
5083
+ * characters in it. Omitted: the family's core file, preloaded for the first paint.
5084
+ */
5085
+ unicodeRange?: string;
5086
+ /**
5087
+ * Subset the face covers, matched against the page language
5088
+ * (`LOCALE_TO_FONT_SUBSETS`, e.g. `'latin-ext'` for `pl`): a face with a `unicodeRange`
5089
+ * is preloaded on the pages whose language needs this subset.
5090
+ */
5091
+ subset?: string;
5092
+ }
5093
+ /**
5094
+ * An app-owned font family: its woff2 files, for a family no fontsource package
5095
+ * provides (a custom subset, a licensed brand font). The family is named in the theme
5096
+ * tokens like any other (`--font-sans: Pretendard, 'Pretendard Fallback', sans-serif;`).
5097
+ *
5098
+ * @since 0.3.3
5099
+ */
5100
+ interface LocalFontConfig {
5101
+ /** Picks the system font of the size-matched fallback face: Arial, or Times New Roman for `serif` */
5102
+ category: 'sans-serif' | 'serif';
5103
+ /** The family's files */
5104
+ faces: readonly LocalFontFace[];
5105
+ }
5069
5106
  /**
5070
5107
  * Favicon and PWA configuration
5071
5108
  *
@@ -5306,6 +5343,31 @@ interface AppConfig {
5306
5343
  * @since 0.3.1
5307
5344
  */
5308
5345
  headers?: HeadersConfig;
5346
+ /**
5347
+ * The app's own font files, per family as the theme tokens name it (`src/themes.css`),
5348
+ * for families no package provides. Every other family is resolved by name:
5349
+ * `@fontsource-variable/<slug>`, then `@fontsource/<slug>` in the app's dependencies,
5350
+ * then the families `@donotdev/ui` bundles (Inter, Playfair Display, Space Grotesk,
5351
+ * Roboto, Press Start 2P). The framework ships every family the theme renders text in
5352
+ * (Next and Vite alike): font preloads and inline `@font-face` in the server HTML,
5353
+ * `font-display: optional`, size-matched `'<Family> Fallback'` face, content-hashed
5354
+ * files under `/fonts/` cached immutable. Read at build; the app writes no
5355
+ * `@font-face`, imports no `@fontsource` CSS and uses no `next/font` (each fails the
5356
+ * build).
5357
+ *
5358
+ * @example
5359
+ * ```typescript
5360
+ * fonts: {
5361
+ * Pretendard: {
5362
+ * category: 'sans-serif',
5363
+ * faces: [{ file: 'src/assets/fonts/pretendard.woff2', weight: '300 700' }],
5364
+ * },
5365
+ * }
5366
+ * ```
5367
+ *
5368
+ * @since 0.3.3
5369
+ */
5370
+ fonts?: Readonly<Record<string, LocalFontConfig>>;
5309
5371
  }
5310
5372
  /**
5311
5373
  * Custom store configuration for app-specific stores
@@ -5957,6 +6019,31 @@ interface PageMeta {
5957
6019
  * @since 0.3.2
5958
6020
  */
5959
6021
  entity?: AnyEntity;
6022
+ /**
6023
+ * App path of this page's parent page, for pages whose URL does not name it: the page
6024
+ * at the URL prefix is the parent when it exists (`/routines/:id` → `/routines`); a page
6025
+ * whose URL prefix is no page (`/produits/:slug`, no `/produits` page) names it here.
6026
+ * One ancestor chain reads it (`routeAncestors` in `@donotdev/core`): the visible
6027
+ * breadcrumbs, the BreadcrumbList JSON-LD (every page, entity record pages included)
6028
+ * and the forms' parent path (cancel / after-save navigation).
6029
+ * @description Read statically at build, like `route`: a literal same-app static route
6030
+ * path (`'/catalogue'`: starts with `/`, no `:param`, `*`, query or hash) of an existing
6031
+ * page, never the page itself, without a cycle. The build fails when it is not, and
6032
+ * when the page's URL prefix is itself a page (that page is the parent: drop `parent`).
6033
+ * `'/'` makes the home page the parent (the trail is the home crumb, then this page).
6034
+ *
6035
+ * @example
6036
+ * ```tsx
6037
+ * // src/pages/ProductPage.tsx: /produits/:slug, the catalogue lists the products
6038
+ * export const meta: PageMeta = {
6039
+ * route: '/produits/:slug',
6040
+ * entity: productEntity,
6041
+ * parent: '/catalogue', // Home > Catalogue > <product name>
6042
+ * };
6043
+ * ```
6044
+ * @since 0.3.4
6045
+ */
6046
+ parent?: string;
5960
6047
  /**
5961
6048
  * User-facing category for sidebar/menu grouping
5962
6049
  * @description Groups routes into collapsible sections in navigation. Unlike
@@ -7080,6 +7167,32 @@ interface RemoveCustomClaimsResponse {
7080
7167
  removedClaims: string[];
7081
7168
  remainingClaims: Record<string, any>;
7082
7169
  }
7170
+ /**
7171
+ * One account of the auth backend, as listed for admins (`AuthProvider.listUsers`).
7172
+ * Read from the auth backend itself (Supabase `auth.admin.listUsers`, Firebase Admin
7173
+ * `listUsers`): no copy in an app table. Dates are ISO 8601 strings.
7174
+ *
7175
+ * @since 0.3.3
7176
+ */
7177
+ interface AuthUserSummary {
7178
+ /** Auth user ID (Supabase `auth.users.id`, Firebase `uid`) */
7179
+ id: string;
7180
+ email: string | null;
7181
+ /** When the address was confirmed; null while unconfirmed */
7182
+ emailConfirmedAt: string | null;
7183
+ createdAt: string;
7184
+ /** Last sign-in; null when the user never signed in */
7185
+ lastSignInAt: string | null;
7186
+ displayName: string | null;
7187
+ }
7188
+ /**
7189
+ * Response of the admin-only `listAuthUsers` server function: every account.
7190
+ *
7191
+ * @since 0.3.3
7192
+ */
7193
+ interface ListAuthUsersResponse {
7194
+ users: AuthUserSummary[];
7195
+ }
7083
7196
  /**
7084
7197
  * Function to unsubscribe from auth state changes
7085
7198
  *
@@ -7194,6 +7307,21 @@ interface AuthProvider {
7194
7307
  * signed-in user ignore it.
7195
7308
  */
7196
7309
  sendEmailVerification(email?: string): Promise<void>;
7310
+ /**
7311
+ * Confirm a sign-up address with the code from the confirmation email (one-time
7312
+ * code), instead of the link. Success signs the user in: the provider keeps the
7313
+ * session and fires the auth state change.
7314
+ * Implemented by providers that send sign-up codes (Supabase: `verifyOtp`, type
7315
+ * `signup`); absent otherwise.
7316
+ *
7317
+ * @param email - The address that signed up
7318
+ * @param code - The code typed by the user
7319
+ * @returns The confirmed, signed-in user
7320
+ * @throws DoNotDevError (via `wrapAuthError`) on a wrong / expired code or a rate
7321
+ * limit; the provider's code stays in `details.originalCode`
7322
+ * @since 0.3.3
7323
+ */
7324
+ verifyEmailCode?(email: string, code: string): Promise<AuthUser>;
7197
7325
  sendSignInLinkToEmail(email: string, actionCodeSettings?: {
7198
7326
  url: string;
7199
7327
  handleCodeInApp: boolean;
@@ -7207,6 +7335,17 @@ interface AuthProvider {
7207
7335
  reauthenticateWithPassword(password: string): Promise<void>;
7208
7336
  reauthenticateWithProvider(partnerId: AuthPartnerId, method?: AuthMethod): Promise<void>;
7209
7337
  deleteAccount(password?: string): Promise<void>;
7338
+ /**
7339
+ * List every account of the auth backend (admin apps). The adapter calls its own
7340
+ * admin-only `listAuthUsers` server function (`@donotdev/functions`: Supabase
7341
+ * `createListAuthUsers`, Firebase `listAuthUsers`), which the app deploys; a
7342
+ * non-admin caller is refused by the server. Absent on providers without it.
7343
+ *
7344
+ * @returns All accounts, every page included
7345
+ * @throws DoNotDevError (via `wrapAuthError`) when the call fails or is refused
7346
+ * @since 0.3.3
7347
+ */
7348
+ listUsers?(): Promise<AuthUserSummary[]>;
7210
7349
  /**
7211
7350
  * Set session persistence (remember me) for the next sign-in.
7212
7351
  * Provider-specific: Firebase uses browserLocal/browserSession persistence,
@@ -7326,6 +7465,12 @@ interface AuthAPI {
7326
7465
  verifyPasswordResetCode: (code: string) => Promise<string | null>;
7327
7466
  confirmPasswordReset: (code: string, newPassword: string) => Promise<void>;
7328
7467
  sendEmailVerification: (email?: string) => Promise<void>;
7468
+ /**
7469
+ * Confirm a sign-up address with the emailed code; signs the user in. Throws when
7470
+ * the provider does not implement `AuthProvider.verifyEmailCode`.
7471
+ * @since 0.3.3
7472
+ */
7473
+ verifyEmailCode: (email: string, code: string) => Promise<AuthUser>;
7329
7474
  getEmailVerificationStatus: () => Promise<{
7330
7475
  status: string;
7331
7476
  }>;
@@ -7337,6 +7482,12 @@ interface AuthAPI {
7337
7482
  reauthenticateWithPassword: (password: string) => Promise<void>;
7338
7483
  reauthenticateWithProvider: (partnerId: AuthPartnerId, method?: AuthMethod) => Promise<void>;
7339
7484
  deleteAccount: (password?: string) => Promise<void>;
7485
+ /**
7486
+ * List every auth account (admin apps; the server refuses non-admins). Throws when
7487
+ * the provider does not implement `AuthProvider.listUsers`.
7488
+ * @since 0.3.3
7489
+ */
7490
+ listUsers: () => Promise<AuthUserSummary[]>;
7340
7491
  /** Choose persistent vs session-only for the next sign-in. Throws when unsupported. */
7341
7492
  setRememberMe: (remember: boolean) => Promise<void>;
7342
7493
  /** Whether the provider can honour `setRememberMe` (render the checkbox only then). */
@@ -8221,7 +8372,7 @@ declare function validateStripeBackConfig(config: unknown): {
8221
8372
  } | {
8222
8373
  mode: "automatic";
8223
8374
  };
8224
- taxIdCollection: "optional" | "required" | "disabled";
8375
+ taxIdCollection: "disabled" | "required" | "optional";
8225
8376
  billingAddressCollection: "auto" | "required";
8226
8377
  shipping?: {
8227
8378
  allowedCountries: string[];
@@ -17695,12 +17846,68 @@ declare function generateFirestoreRuleCondition(ownership: EntityOwnershipConfig
17695
17846
  */
17696
17847
  declare function maybeTranslate(t: any, value?: string): string;
17697
17848
 
17849
+ /**
17850
+ * A route as the ancestor chain reads it: its path and PageMeta `parent`.
17851
+ *
17852
+ * @version 0.1.0
17853
+ * @since 0.3.4
17854
+ * @author AMBROISE PARK Consulting
17855
+ */
17856
+ interface AncestorRoute {
17857
+ path: string;
17858
+ meta?: {
17859
+ parent?: string;
17860
+ } | null;
17861
+ }
17862
+ /**
17863
+ * Cumulative prefixes of a pathname: `/a/b/c` → `['/a', '/a/b', '/a/b/c']`.
17864
+ *
17865
+ * @param pathname - App path (no language prefix)
17866
+ * @returns One entry per segment, in order
17867
+ *
17868
+ * @version 0.1.0
17869
+ * @since 0.3.4
17870
+ * @author AMBROISE PARK Consulting
17871
+ */
17872
+ declare function getPathPrefixes(pathname: string): string[];
17873
+ /**
17874
+ * The ancestor pages of a URL path, from the top one down to the nearest (home `/`
17875
+ * excluded: every trail starts with it). The parent of a path is:
17876
+ *
17877
+ * 1. its URL prefix (the path minus its last segment) when that prefix is a static route;
17878
+ * 2. else the PageMeta `parent` of the path's route (`matchRoute`), when declared
17879
+ * (`'/'`: home, no ancestor);
17880
+ * 3. else the nearest shorter URL prefix that is a static route;
17881
+ *
17882
+ * then the parent's own parent by the same rule, up to the top. A URL prefix that is no
17883
+ * route is no ancestor (`/fournisseur/abc/reception` → `/fournisseur`). URL prefixes
17884
+ * holding a param value (`/routines/abc`) are never routes: only static paths are.
17885
+ *
17886
+ * @param pathname - URL path without language prefix (`/produits/serum`) or a route path
17887
+ * @param routes - Manifest routes (`routes.mapping`, or the navigation store's routes)
17888
+ * @returns Ancestor routes, top first; empty for a top-level page
17889
+ * @throws {Error} When a declared `parent` is no static route or the chain loops: the
17890
+ * build rejects both (route discovery), so a built app never throws
17891
+ *
17892
+ * @example
17893
+ * routeAncestors('/produits/serum', [
17894
+ * { path: '/catalogue' },
17895
+ * { path: '/produits/:slug', meta: { parent: '/catalogue' } },
17896
+ * ]); // [{ path: '/catalogue' }]
17897
+ *
17898
+ * @version 0.1.0
17899
+ * @since 0.3.4
17900
+ * @author AMBROISE PARK Consulting
17901
+ */
17902
+ declare function routeAncestors<R extends AncestorRoute>(pathname: string, routes: readonly R[]): R[];
17903
+
17698
17904
  /**
17699
17905
  * @fileoverview SEO head tags shared by AutoMetaTags and the Vite prerender
17700
17906
  * @description One source for the `<head>` of a page: the route identity (PageMeta +
17701
17907
  * i18n, {@link routeSeo} / {@link routeHeadTags}), an entity record's identity
17702
17908
  * ({@link recordHeadTags}), the site tags of every page ({@link siteHeadTags}) and the
17703
- * BreadcrumbList JSON-LD ({@link buildBreadcrumbJsonLd}) and the favicon set
17909
+ * BreadcrumbList JSON-LD ({@link buildBreadcrumbJsonLd}, over the page's ancestor chain
17910
+ * `routeAncestors`) and the favicon set
17704
17911
  * ({@link resolveFaviconFiles} / {@link faviconHeadTags}). AutoMetaTags renders these
17705
17912
  * lists in the browser; the Vite build writes the same lists into each prerendered
17706
17913
  * page and embeds them ({@link PRERENDERED_HEAD_ELEMENT_ID}), so the head
@@ -17804,23 +18011,6 @@ declare const SITE_LOGO_PATH = "/logo.svg";
17804
18011
  * @author AMBROISE PARK Consulting
17805
18012
  */
17806
18013
  declare function jsonScriptText(value: unknown): string;
17807
- /**
17808
- * BreadcrumbList JSON-LD of a page from its URL path: the site home, then one item per
17809
- * path segment named like the visible breadcrumb (`Breadcrumbs`: words title-cased),
17810
- * the last one named `lastName` when given (an entity record's title, the label
17811
- * `useRecordBreadcrumb` shows there).
17812
- *
17813
- * @param pathname - Route path without language prefix (`/produits/serum`)
17814
- * @param siteName - Name of the home item
17815
- * @param pageUrl - Absolute public URL of an app path in the page's language
17816
- * @param lastName - Name of the last item (record title); segment label when omitted
17817
- * @returns BreadcrumbList JSON-LD
17818
- *
17819
- * @version 0.1.0
17820
- * @since 0.3.2
17821
- * @author AMBROISE PARK Consulting
17822
- */
17823
- declare function buildBreadcrumbJsonLd(pathname: string, siteName: string, pageUrl: (path: string) => string, lastName?: string): Record<string, unknown>;
17824
18014
  /**
17825
18015
  * Head tags of a record page identity, in order: `<title>`, description, Open Graph
17826
18016
  * (`og:title`, `og:description`, `og:type`, `og:image`), Twitter card
@@ -17978,6 +18168,81 @@ declare function routeTitle(input: {
17978
18168
  title: string;
17979
18169
  pageTitle?: string;
17980
18170
  };
18171
+ /**
18172
+ * A route as the breadcrumb trail reads it: its path and PageMeta (`namespace`, `seo`
18173
+ * for its label, `parent` for the ancestor chain).
18174
+ *
18175
+ * @version 0.1.0
18176
+ * @since 0.3.4
18177
+ * @author AMBROISE PARK Consulting
18178
+ */
18179
+ interface BreadcrumbRoute extends AncestorRoute {
18180
+ meta?: (RouteSeoMeta & {
18181
+ parent?: string;
18182
+ }) | null;
18183
+ }
18184
+ /**
18185
+ * Label of a route in a breadcrumb trail: its own title by the chain of its `<title>`
18186
+ * ({@link routeTitle}: `seo.title`, else its namespace's `title`), else its full title
18187
+ * (`seo.fullTitle`, the namespace's `meta.fullTitle`), else the site name. The rule of the
18188
+ * page labels in llms.txt. Never empty.
18189
+ *
18190
+ * @param route - The route (`meta.namespace`, `meta.seo`)
18191
+ * @param site - Translation function (resolves `<namespace>:title`), site defaults
18192
+ * namespace (`appConfig.seo.defaultNamespace`), site name
18193
+ * @returns The label
18194
+ *
18195
+ * @version 0.1.0
18196
+ * @since 0.3.4
18197
+ * @author AMBROISE PARK Consulting
18198
+ */
18199
+ declare function routeLabel(route: BreadcrumbRoute, site: {
18200
+ t: TFunction;
18201
+ defaultNs: string | null;
18202
+ siteName: string;
18203
+ }): string;
18204
+ /**
18205
+ * Translation namespaces the labels of a URL's trail read: those of its ancestors
18206
+ * ({@link routeAncestors}) and of its own route. A client passes them to
18207
+ * `useTranslation` so lazy page namespaces load (Next inlines every namespace: the
18208
+ * server render and the browser read the same labels).
18209
+ *
18210
+ * @param pathname - URL path without language prefix
18211
+ * @param routes - Manifest routes
18212
+ * @returns Namespaces, deduplicated, in trail order
18213
+ *
18214
+ * @version 0.1.0
18215
+ * @since 0.3.4
18216
+ * @author AMBROISE PARK Consulting
18217
+ */
18218
+ declare function breadcrumbNamespaces(pathname: string, routes: readonly BreadcrumbRoute[]): string[];
18219
+ /**
18220
+ * BreadcrumbList JSON-LD of a page: the site home, its ancestor pages
18221
+ * ({@link routeAncestors}: URL prefixes that are routes, PageMeta `parent`), each named
18222
+ * by its title ({@link routeLabel}, the label the visible breadcrumb shows) at its URL,
18223
+ * then the page itself named `lastName` (an entity record's title, the label
18224
+ * `useRecordBreadcrumb` shows there), else its route's label. A URL prefix that is no
18225
+ * route is no item.
18226
+ *
18227
+ * @param input - URL path without language prefix (`/produits/serum`), manifest routes,
18228
+ * site name (home item), translation function and site defaults namespace (labels),
18229
+ * absolute public URL of an app path in the page's language, record title
18230
+ * @returns BreadcrumbList JSON-LD
18231
+ * @throws {Error} From {@link routeAncestors} on an invalid `parent` (the build rejects it)
18232
+ *
18233
+ * @version 0.2.0
18234
+ * @since 0.3.2
18235
+ * @author AMBROISE PARK Consulting
18236
+ */
18237
+ declare function buildBreadcrumbJsonLd(input: {
18238
+ pathname: string;
18239
+ routes: readonly BreadcrumbRoute[];
18240
+ siteName: string;
18241
+ t: TFunction;
18242
+ defaultNs: string | null;
18243
+ pageUrl: (path: string) => string;
18244
+ lastName?: string;
18245
+ }): Record<string, unknown>;
17981
18246
  /**
17982
18247
  * Page identity of a route (PageMeta + i18n). Title ({@link routeTitle}) priority: `seo.fullTitle`, the page
17983
18248
  * namespace's `meta.fullTitle`, then `seo.title` or the namespace's `title`
@@ -18093,6 +18358,32 @@ declare function resolveFaviconFiles(exists: (path: string) => boolean): Favicon
18093
18358
  * @author AMBROISE PARK Consulting
18094
18359
  */
18095
18360
  declare function faviconHeadTags(set: FaviconSet, config: FaviconConfig): HeadTag[];
18361
+ /**
18362
+ * Key of the framework's inline `@font-face` style (the app's font plan, built at build
18363
+ * time by `@donotdev/core` config `fonts/buildFontPlan.js`): the `id` of the `<style>` the
18364
+ * Vite build writes into `index.html` and every prerendered page, the `href` / `precedence`
18365
+ * React hoists and dedupes on Next (`FontHead`). One style per document.
18366
+ *
18367
+ * @version 0.1.0
18368
+ * @since 0.3.3
18369
+ * @author AMBROISE PARK Consulting
18370
+ */
18371
+ declare const FONT_STYLE_ID = "dndev-fonts";
18372
+ /**
18373
+ * Preload tags of a page's first-paint font files (the font plan's `preloads` for the
18374
+ * page language), in order: `<link rel="preload" as="font" type="font/woff2" crossorigin>`.
18375
+ * `crossorigin` is required even same-origin: fonts are fetched in CORS mode, a preload
18376
+ * without it is not reused. The Vite build writes them into `<head>` before the
18377
+ * stylesheet; Next renders the same preloads through React's `preload()` (`FontHead`).
18378
+ *
18379
+ * @param hrefs - Font file URLs (`/fonts/inter-latin-400-normal.1a2b3c4d.woff2`)
18380
+ * @returns Tags, one per href
18381
+ *
18382
+ * @version 0.1.0
18383
+ * @since 0.3.3
18384
+ * @author AMBROISE PARK Consulting
18385
+ */
18386
+ declare function fontPreloadHeadTags(hrefs: readonly string[]): HeadTag[];
18096
18387
 
18097
18388
  /**
18098
18389
  * @fileoverview PKCE (Proof Key for Code Exchange) utilities
@@ -19576,9 +19867,11 @@ declare function parseServerCookie(cookieHeader: string | undefined, name: strin
19576
19867
  * @author AMBROISE PARK Consulting
19577
19868
  */
19578
19869
 
19870
+ type index_d_AncestorRoute = AncestorRoute;
19579
19871
  type index_d_AuthHardening = AuthHardening;
19580
19872
  declare const index_d_AuthHardening: typeof AuthHardening;
19581
19873
  type index_d_AuthHardeningConfig = AuthHardeningConfig;
19874
+ type index_d_BreadcrumbRoute = BreadcrumbRoute;
19582
19875
  declare const index_d_CURRENCY_MAP: typeof CURRENCY_MAP;
19583
19876
  type index_d_ConditionBuilder = ConditionBuilder;
19584
19877
  declare const index_d_ConditionBuilder: typeof ConditionBuilder;
@@ -19597,6 +19890,7 @@ type index_d_ErrorHandlerConfig = ErrorHandlerConfig;
19597
19890
  type index_d_ErrorHandlerFunction = ErrorHandlerFunction;
19598
19891
  declare const index_d_FAVICON_DEFAULTS: typeof FAVICON_DEFAULTS;
19599
19892
  declare const index_d_FIELD_TEXT_FORMATTERS: typeof FIELD_TEXT_FORMATTERS;
19893
+ declare const index_d_FONT_STYLE_ID: typeof FONT_STYLE_ID;
19600
19894
  type index_d_FaviconSet = FaviconSet;
19601
19895
  type index_d_FieldTextFormatter = FieldTextFormatter;
19602
19896
  type index_d_FieldTextOptions = FieldTextOptions;
@@ -19624,6 +19918,7 @@ declare const index_d_SingletonManager: typeof SingletonManager;
19624
19918
  declare const index_d_TRANSLATABLE_FIELD_TYPES: typeof TRANSLATABLE_FIELD_TYPES;
19625
19919
  declare const index_d_addMonths: typeof addMonths;
19626
19920
  declare const index_d_addYears: typeof addYears;
19921
+ declare const index_d_breadcrumbNamespaces: typeof breadcrumbNamespaces;
19627
19922
  declare const index_d_buildBreadcrumbJsonLd: typeof buildBreadcrumbJsonLd;
19628
19923
  declare const index_d_buildProductJsonLd: typeof buildProductJsonLd;
19629
19924
  declare const index_d_calculateSubscriptionEndDate: typeof calculateSubscriptionEndDate;
@@ -19645,6 +19940,7 @@ declare const index_d_evaluateCondition: typeof evaluateCondition;
19645
19940
  declare const index_d_evaluateFieldConditions: typeof evaluateFieldConditions;
19646
19941
  declare const index_d_faviconHeadTags: typeof faviconHeadTags;
19647
19942
  declare const index_d_filterVisibleFields: typeof filterVisibleFields;
19943
+ declare const index_d_fontPreloadHeadTags: typeof fontPreloadHeadTags;
19648
19944
  declare const index_d_formatCurrency: typeof formatCurrency;
19649
19945
  declare const index_d_formatDate: typeof formatDate;
19650
19946
  declare const index_d_formatFieldText: typeof formatFieldText;
@@ -19661,6 +19957,7 @@ declare const index_d_getCurrencySymbol: typeof getCurrencySymbol;
19661
19957
  declare const index_d_getCurrentTimestamp: typeof getCurrentTimestamp;
19662
19958
  declare const index_d_getGlobalSingleton: typeof getGlobalSingleton;
19663
19959
  declare const index_d_getListCardFieldNames: typeof getListCardFieldNames;
19960
+ declare const index_d_getPathPrefixes: typeof getPathPrefixes;
19664
19961
  declare const index_d_getProvider: typeof getProvider;
19665
19962
  declare const index_d_getRoleFromClaims: typeof getRoleFromClaims;
19666
19963
  declare const index_d_getTranslatedFieldNames: typeof getTranslatedFieldNames;
@@ -19704,7 +20001,9 @@ declare const index_d_resolveLanguageRoute: typeof resolveLanguageRoute;
19704
20001
  declare const index_d_resolveSeoField: typeof resolveSeoField;
19705
20002
  declare const index_d_resolveUserSubscription: typeof resolveUserSubscription;
19706
20003
  declare const index_d_robotsContent: typeof robotsContent;
20004
+ declare const index_d_routeAncestors: typeof routeAncestors;
19707
20005
  declare const index_d_routeHeadTags: typeof routeHeadTags;
20006
+ declare const index_d_routeLabel: typeof routeLabel;
19708
20007
  declare const index_d_routeSeo: typeof routeSeo;
19709
20008
  declare const index_d_routeTitle: typeof routeTitle;
19710
20009
  declare const index_d_safeValidate: typeof safeValidate;
@@ -19738,9 +20037,9 @@ declare const index_d_wrapAuthError: typeof wrapAuthError;
19738
20037
  declare const index_d_wrapCrudError: typeof wrapCrudError;
19739
20038
  declare const index_d_wrapStorageError: typeof wrapStorageError;
19740
20039
  declare namespace index_d {
19741
- export { index_d_AuthHardening as AuthHardening, index_d_CURRENCY_MAP as CURRENCY_MAP, index_d_ConditionBuilder as ConditionBuilder, index_d_DEFAULT_CRUD_TIMEOUT as DEFAULT_CRUD_TIMEOUT, index_d_DEFAULT_ERROR_MESSAGES as DEFAULT_ERROR_MESSAGES, index_d_DEFAULT_UPLOAD_TIMEOUT as DEFAULT_UPLOAD_TIMEOUT, index_d_DoNotDevError as DoNotDevError, index_d_FAVICON_DEFAULTS as FAVICON_DEFAULTS, index_d_FIELD_TEXT_FORMATTERS as FIELD_TEXT_FORMATTERS, index_d_LANGUAGE_COOKIE as LANGUAGE_COOKIE, index_d_PRERENDERED_HEAD_ELEMENT_ID as PRERENDERED_HEAD_ELEMENT_ID, index_d_SESSION_RENDER_SEGMENT as SESSION_RENDER_SEGMENT, index_d_SITE_LOGO_PATH as SITE_LOGO_PATH, index_d_SingletonManager as SingletonManager, index_d_TRANSLATABLE_FIELD_TYPES as TRANSLATABLE_FIELD_TYPES, index_d_addMonths as addMonths, index_d_addYears as addYears, index_d_buildBreadcrumbJsonLd as buildBreadcrumbJsonLd, index_d_buildProductJsonLd as buildProductJsonLd, index_d_calculateSubscriptionEndDate as calculateSubscriptionEndDate, index_d_captureErrorToSentry as captureErrorToSentry, index_d_clearGlobalSingleton as clearGlobalSingleton, index_d_commonErrorCodeMappings as commonErrorCodeMappings, index_d_compactToISOString as compactToISOString, index_d_configureProviders as configureProviders, index_d_createAsyncSingleton as createAsyncSingleton, index_d_createErrorHandler as createErrorHandler, index_d_createMetadata as createMetadata, index_d_createMethodProxy as createMethodProxy, index_d_createSingleton as createSingleton, index_d_createSingletonWithParams as createSingletonWithParams, index_d_deriveEntitySeo as deriveEntitySeo, index_d_detectErrorSource as detectErrorSource, index_d_ensureSpreadable as ensureSpreadable, index_d_evaluateCondition as evaluateCondition, index_d_evaluateFieldConditions as evaluateFieldConditions, index_d_faviconHeadTags as faviconHeadTags, index_d_filterVisibleFields as filterVisibleFields, index_d_formatCurrency as formatCurrency, index_d_formatDate as formatDate, index_d_formatFieldText as formatFieldText, index_d_formatRelativeTime as formatRelativeTime, index_d_formatTrailingSlash as formatTrailingSlash, index_d_generateCodeChallenge as generateCodeChallenge, index_d_generateCodeVerifier as generateCodeVerifier, index_d_generateFirestoreRuleCondition as generateFirestoreRuleCondition, index_d_generatePKCEPair as generatePKCEPair, index_d_generateUUID as generateUUID, index_d_getConditionDependencies as getConditionDependencies, index_d_getCurrencyLocale as getCurrencyLocale, index_d_getCurrencySymbol as getCurrencySymbol, index_d_getCurrentTimestamp as getCurrentTimestamp, index_d_getGlobalSingleton as getGlobalSingleton, index_d_getListCardFieldNames as getListCardFieldNames, index_d_getProvider as getProvider, index_d_getRoleFromClaims as getRoleFromClaims, index_d_getTranslatedFieldNames as getTranslatedFieldNames, index_d_getVisibleFields as getVisibleFields, index_d_getWeekFromISOString as getWeekFromISOString, index_d_handleError as handleError, index_d_hasProvider as hasProvider, index_d_hasRestrictedVisibility as hasRestrictedVisibility, index_d_hasRoleAccess as hasRoleAccess, index_d_hasTierAccess as hasTierAccess, index_d_i18nFieldName as i18nFieldName, index_d_isCompactDateString as isCompactDateString, index_d_isEmptyFieldValue as isEmptyFieldValue, index_d_isFieldVisible as isFieldVisible, index_d_isMultilingual as isMultilingual, index_d_isPKCESupported as isPKCESupported, index_d_isoToCompactString as isoToCompactString, index_d_jsonScriptText as jsonScriptText, index_d_languageUrl as languageUrl, index_d_languageUrls as languageUrls, index_d_lazyImport as lazyImport, index_d_localizePath as localizePath, index_d_mapToDoNotDevError as mapToDoNotDevError, index_d_matchRoute as matchRoute, index_d_maybeTranslate as maybeTranslate, index_d_normalizeToISOString as normalizeToISOString, index_d_parseAcceptLanguage as parseAcceptLanguage, index_d_parseBlogFrontmatter as parseBlogFrontmatter, index_d_parseDate as parseDate, index_d_parseDateToNoonUTC as parseDateToNoonUTC, index_d_parseISODate as parseISODate, index_d_parseServerCookie as parseServerCookie, index_d_publicPathname as publicPathname, index_d_readCookieValue as readCookieValue, index_d_readI18nSeoMeta as readI18nSeoMeta, index_d_recordHeadTags as recordHeadTags, index_d_resetProviders as resetProviders, index_d_resolveFaviconFiles as resolveFaviconFiles, index_d_resolveLanguage as resolveLanguage, index_d_resolveLanguageRoute as resolveLanguageRoute, index_d_resolveSeoField as resolveSeoField, index_d_resolveUserSubscription as resolveUserSubscription, index_d_robotsContent as robotsContent, index_d_routeHeadTags as routeHeadTags, index_d_routeSeo as routeSeo, index_d_routeTitle as routeTitle, index_d_safeValidate as safeValidate, index_d_sanitizeHref as sanitizeHref, index_d_showNotification as showNotification, index_d_siteHeadTags as siteHeadTags, index_d_splitLanguagePath as splitLanguagePath, index_d_stripHtmlTags as stripHtmlTags, index_d_stripTrailingSlash as stripTrailingSlash, index_d_timestampToISOString as timestampToISOString, index_d_toDateOnly as toDateOnly, index_d_toISOString as toISOString, index_d_translateArray as translateArray, index_d_translateArrayRange as translateArrayRange, index_d_translateArrayWithIndices as translateArrayWithIndices, index_d_translateEntityLabel as translateEntityLabel, index_d_translateObjectArray as translateObjectArray, index_d_translateRow as translateRow, index_d_updateMetadata as updateMetadata, index_d_validateCodeChallenge as validateCodeChallenge, index_d_validateCodeVerifier as validateCodeVerifier, index_d_validateEnvVar as validateEnvVar, index_d_validateMetadata as validateMetadata, index_d_validateUrl as validateUrl, index_d_validateWithSchema as validateWithSchema, index_d_when as when, index_d_withErrorHandling as withErrorHandling, index_d_withGracefulDegradation as withGracefulDegradation, index_d_withTimeout as withTimeout, index_d_wrapAuthError as wrapAuthError, index_d_wrapCrudError as wrapCrudError, index_d_wrapStorageError as wrapStorageError };
19742
- export type { index_d_AuthHardeningConfig as AuthHardeningConfig, index_d_CurrencyEntry as CurrencyEntry, index_d_DateFormatOptions as DateFormatOptions, index_d_DateFormatPreset as DateFormatPreset, index_d_EntitySeo as EntitySeo, index_d_EntitySeoOptions as EntitySeoOptions, index_d_EntitySeoRecord as EntitySeoRecord, index_d_ErrorHandlerConfig as ErrorHandlerConfig, index_d_ErrorHandlerFunction as ErrorHandlerFunction, index_d_FaviconSet as FaviconSet, index_d_FieldTextFormatter as FieldTextFormatter, index_d_FieldTextOptions as FieldTextOptions, index_d_FieldTextTranslate as FieldTextTranslate, index_d_FilterVisibleFieldsOptions as FilterVisibleFieldsOptions, index_d_GetVisibleFieldsOptions as GetVisibleFieldsOptions, index_d_HandleErrorOptions as HandleErrorOptions, index_d_HeadTag as HeadTag, index_d_I18nSeoMeta as I18nSeoMeta, index_d_LanguagePath as LanguagePath, index_d_LanguageRouteDecision as LanguageRouteDecision, index_d_LanguageRouting as LanguageRouting, index_d_LockoutResult as LockoutResult, index_d_PrerenderedHead as PrerenderedHead, index_d_RecordSeo as RecordSeo, index_d_RouteMatch as RouteMatch, index_d_RouteSeo as RouteSeo, index_d_RouteSeoMeta as RouteSeoMeta };
20040
+ export { index_d_AuthHardening as AuthHardening, index_d_CURRENCY_MAP as CURRENCY_MAP, index_d_ConditionBuilder as ConditionBuilder, index_d_DEFAULT_CRUD_TIMEOUT as DEFAULT_CRUD_TIMEOUT, index_d_DEFAULT_ERROR_MESSAGES as DEFAULT_ERROR_MESSAGES, index_d_DEFAULT_UPLOAD_TIMEOUT as DEFAULT_UPLOAD_TIMEOUT, index_d_DoNotDevError as DoNotDevError, index_d_FAVICON_DEFAULTS as FAVICON_DEFAULTS, index_d_FIELD_TEXT_FORMATTERS as FIELD_TEXT_FORMATTERS, index_d_FONT_STYLE_ID as FONT_STYLE_ID, index_d_LANGUAGE_COOKIE as LANGUAGE_COOKIE, index_d_PRERENDERED_HEAD_ELEMENT_ID as PRERENDERED_HEAD_ELEMENT_ID, index_d_SESSION_RENDER_SEGMENT as SESSION_RENDER_SEGMENT, index_d_SITE_LOGO_PATH as SITE_LOGO_PATH, index_d_SingletonManager as SingletonManager, index_d_TRANSLATABLE_FIELD_TYPES as TRANSLATABLE_FIELD_TYPES, index_d_addMonths as addMonths, index_d_addYears as addYears, index_d_breadcrumbNamespaces as breadcrumbNamespaces, index_d_buildBreadcrumbJsonLd as buildBreadcrumbJsonLd, index_d_buildProductJsonLd as buildProductJsonLd, index_d_calculateSubscriptionEndDate as calculateSubscriptionEndDate, index_d_captureErrorToSentry as captureErrorToSentry, index_d_clearGlobalSingleton as clearGlobalSingleton, index_d_commonErrorCodeMappings as commonErrorCodeMappings, index_d_compactToISOString as compactToISOString, index_d_configureProviders as configureProviders, index_d_createAsyncSingleton as createAsyncSingleton, index_d_createErrorHandler as createErrorHandler, index_d_createMetadata as createMetadata, index_d_createMethodProxy as createMethodProxy, index_d_createSingleton as createSingleton, index_d_createSingletonWithParams as createSingletonWithParams, index_d_deriveEntitySeo as deriveEntitySeo, index_d_detectErrorSource as detectErrorSource, index_d_ensureSpreadable as ensureSpreadable, index_d_evaluateCondition as evaluateCondition, index_d_evaluateFieldConditions as evaluateFieldConditions, index_d_faviconHeadTags as faviconHeadTags, index_d_filterVisibleFields as filterVisibleFields, index_d_fontPreloadHeadTags as fontPreloadHeadTags, index_d_formatCurrency as formatCurrency, index_d_formatDate as formatDate, index_d_formatFieldText as formatFieldText, index_d_formatRelativeTime as formatRelativeTime, index_d_formatTrailingSlash as formatTrailingSlash, index_d_generateCodeChallenge as generateCodeChallenge, index_d_generateCodeVerifier as generateCodeVerifier, index_d_generateFirestoreRuleCondition as generateFirestoreRuleCondition, index_d_generatePKCEPair as generatePKCEPair, index_d_generateUUID as generateUUID, index_d_getConditionDependencies as getConditionDependencies, index_d_getCurrencyLocale as getCurrencyLocale, index_d_getCurrencySymbol as getCurrencySymbol, index_d_getCurrentTimestamp as getCurrentTimestamp, index_d_getGlobalSingleton as getGlobalSingleton, index_d_getListCardFieldNames as getListCardFieldNames, index_d_getPathPrefixes as getPathPrefixes, index_d_getProvider as getProvider, index_d_getRoleFromClaims as getRoleFromClaims, index_d_getTranslatedFieldNames as getTranslatedFieldNames, index_d_getVisibleFields as getVisibleFields, index_d_getWeekFromISOString as getWeekFromISOString, index_d_handleError as handleError, index_d_hasProvider as hasProvider, index_d_hasRestrictedVisibility as hasRestrictedVisibility, index_d_hasRoleAccess as hasRoleAccess, index_d_hasTierAccess as hasTierAccess, index_d_i18nFieldName as i18nFieldName, index_d_isCompactDateString as isCompactDateString, index_d_isEmptyFieldValue as isEmptyFieldValue, index_d_isFieldVisible as isFieldVisible, index_d_isMultilingual as isMultilingual, index_d_isPKCESupported as isPKCESupported, index_d_isoToCompactString as isoToCompactString, index_d_jsonScriptText as jsonScriptText, index_d_languageUrl as languageUrl, index_d_languageUrls as languageUrls, index_d_lazyImport as lazyImport, index_d_localizePath as localizePath, index_d_mapToDoNotDevError as mapToDoNotDevError, index_d_matchRoute as matchRoute, index_d_maybeTranslate as maybeTranslate, index_d_normalizeToISOString as normalizeToISOString, index_d_parseAcceptLanguage as parseAcceptLanguage, index_d_parseBlogFrontmatter as parseBlogFrontmatter, index_d_parseDate as parseDate, index_d_parseDateToNoonUTC as parseDateToNoonUTC, index_d_parseISODate as parseISODate, index_d_parseServerCookie as parseServerCookie, index_d_publicPathname as publicPathname, index_d_readCookieValue as readCookieValue, index_d_readI18nSeoMeta as readI18nSeoMeta, index_d_recordHeadTags as recordHeadTags, index_d_resetProviders as resetProviders, index_d_resolveFaviconFiles as resolveFaviconFiles, index_d_resolveLanguage as resolveLanguage, index_d_resolveLanguageRoute as resolveLanguageRoute, index_d_resolveSeoField as resolveSeoField, index_d_resolveUserSubscription as resolveUserSubscription, index_d_robotsContent as robotsContent, index_d_routeAncestors as routeAncestors, index_d_routeHeadTags as routeHeadTags, index_d_routeLabel as routeLabel, index_d_routeSeo as routeSeo, index_d_routeTitle as routeTitle, index_d_safeValidate as safeValidate, index_d_sanitizeHref as sanitizeHref, index_d_showNotification as showNotification, index_d_siteHeadTags as siteHeadTags, index_d_splitLanguagePath as splitLanguagePath, index_d_stripHtmlTags as stripHtmlTags, index_d_stripTrailingSlash as stripTrailingSlash, index_d_timestampToISOString as timestampToISOString, index_d_toDateOnly as toDateOnly, index_d_toISOString as toISOString, index_d_translateArray as translateArray, index_d_translateArrayRange as translateArrayRange, index_d_translateArrayWithIndices as translateArrayWithIndices, index_d_translateEntityLabel as translateEntityLabel, index_d_translateObjectArray as translateObjectArray, index_d_translateRow as translateRow, index_d_updateMetadata as updateMetadata, index_d_validateCodeChallenge as validateCodeChallenge, index_d_validateCodeVerifier as validateCodeVerifier, index_d_validateEnvVar as validateEnvVar, index_d_validateMetadata as validateMetadata, index_d_validateUrl as validateUrl, index_d_validateWithSchema as validateWithSchema, index_d_when as when, index_d_withErrorHandling as withErrorHandling, index_d_withGracefulDegradation as withGracefulDegradation, index_d_withTimeout as withTimeout, index_d_wrapAuthError as wrapAuthError, index_d_wrapCrudError as wrapCrudError, index_d_wrapStorageError as wrapStorageError };
20041
+ export type { index_d_AncestorRoute as AncestorRoute, index_d_AuthHardeningConfig as AuthHardeningConfig, index_d_BreadcrumbRoute as BreadcrumbRoute, index_d_CurrencyEntry as CurrencyEntry, index_d_DateFormatOptions as DateFormatOptions, index_d_DateFormatPreset as DateFormatPreset, index_d_EntitySeo as EntitySeo, index_d_EntitySeoOptions as EntitySeoOptions, index_d_EntitySeoRecord as EntitySeoRecord, index_d_ErrorHandlerConfig as ErrorHandlerConfig, index_d_ErrorHandlerFunction as ErrorHandlerFunction, index_d_FaviconSet as FaviconSet, index_d_FieldTextFormatter as FieldTextFormatter, index_d_FieldTextOptions as FieldTextOptions, index_d_FieldTextTranslate as FieldTextTranslate, index_d_FilterVisibleFieldsOptions as FilterVisibleFieldsOptions, index_d_GetVisibleFieldsOptions as GetVisibleFieldsOptions, index_d_HandleErrorOptions as HandleErrorOptions, index_d_HeadTag as HeadTag, index_d_I18nSeoMeta as I18nSeoMeta, index_d_LanguagePath as LanguagePath, index_d_LanguageRouteDecision as LanguageRouteDecision, index_d_LanguageRouting as LanguageRouting, index_d_LockoutResult as LockoutResult, index_d_PrerenderedHead as PrerenderedHead, index_d_RecordSeo as RecordSeo, index_d_RouteMatch as RouteMatch, index_d_RouteSeo as RouteSeo, index_d_RouteSeoMeta as RouteSeoMeta };
19743
20042
  }
19744
20043
 
19745
- export { AGGREGATE_FILTER_OPERATORS, AGGREGATE_OPERATIONS, AIChatRequestSchema, AIChatResponseSchema, AIMessageSchema, AIProviderConfigSchema, AIToolCallSchema, AIToolDefinitionSchema, AIUsageSchema, AI_ERROR_CODES, AI_MODELS, AI_PROVIDERS, AI_ROLES, AI_TIERS, AI_TOKEN_PRICING, AUTH_EVENTS, AUTH_PARTNERS, AUTH_PARTNER_STATE, AtomicBulkError, AuthHardening, AuthUserSchema, BACKEND_GENERATED_FIELD_NAMES, BILLING_EVENTS, BREAKPOINT_RANGES, BREAKPOINT_THRESHOLDS, BUILTIN_VALUES, BUILT_IN_STATUSES, BulkAcrossCycleError, BulkCollisionError, BulkDeleteIdSchema, BulkInsertSchema, BulkNotImplementedError, BulkOutcomeFailureSchema, BulkOutcomeSchema, BulkRequestSchema, BulkResponseSchema, BulkUpdateSchema, COMMON_TIER_CONFIGS, CONFIDENCE_LEVELS, CONSENT_CATEGORY, CONTEXTS, CRUD_OPERATORS, CURRENCY_MAP, CUSTOM_STATUS, CanvasBlockSchema, CanvasEventSchema, CanvasLifetimeSchema, CanvasWidgetMetadataSchema, CheckoutLineItemInputSchema, CheckoutSessionMetadataSchema, ConditionBuilder, CreateCheckoutSessionRequestSchema, CreateCheckoutSessionResponseSchema, CustomClaimsSchema, DEFAULT_AI_CONFIG, DEFAULT_AI_MARKUP, DEFAULT_CRUD_TIMEOUT, DEFAULT_ENTITY_ACCESS, DEFAULT_ERROR_MESSAGES, DEFAULT_LAYOUT_PRESET, DEFAULT_OG_IMAGE, DEFAULT_STATUS, DEFAULT_STATUS_OPTIONS, DEFAULT_STATUS_VALUE, DEFAULT_SUBSCRIPTION, DEFAULT_UPLOAD_TIMEOUT, DENSITY, DoNotDevError, EDITABLE, EMAIL_ERROR_CODES, EMAIL_PROVIDERS, EMAIL_VERIFICATION_STATUS, ENTITY_HOOK_ERRORS, ENVIRONMENTS, ERROR_CODES, ERROR_SEVERITY, ERROR_SOURCE, EntityHookError, FAVICON_DEFAULTS, FEATURES, FEATURE_CONSENT_MATRIX, FEATURE_STATUS, FIELD_TEXT_FORMATTERS, FIELD_TYPES, FIREBASE_ERROR_MAP, FOOTER_MODE, GITHUB_PERMISSION_LEVELS, HIDDEN_STATUSES, LANGUAGE_COOKIE, LAYOUT_PRESET, LIST_SCHEMA_TYPE, MAX_CHECKOUT_LINE_ITEMS, MAX_SHIPPING_RATE_IDS, OAUTH_EVENTS, OAUTH_PARTNERS, ORDER_DIRECTION, PARTNER_ICONS, PAYLOAD_EVENTS, PERMISSIONS, PLATFORMS, PRERENDERED_HEAD_ELEMENT_ID, PWA_ASSET_TYPES, PWA_DISPLAY_MODES, ProductDeclarationSchema, ProductDeclarationsSchema, ProxiedImageUrlSchema, REMOVED_STATUS, ROUTE_SOURCES, SESSION_RENDER_SEGMENT, SITE_LOGO_PATH, STATUS_MATRIX, STORAGE_SCOPES, STORAGE_TYPES, STRIPE_EVENTS, STRIPE_MODES, SUBSCRIPTION_DURATIONS, SUBSCRIPTION_STATUS, SUBSCRIPTION_TIERS, SendEmailRequestSchema, SendEmailResponseSchema, index_d as ServerUtils, SingletonManager, StripeBackConfigSchema, StripeFrontConfigSchema, StripeOrderBackSchema, StripeOrderShippingSchema, StripeOrderTaxSchema, StripePaymentSchema, StripeSubscriptionSchema, SubscriptionClaimsSchema, SubscriptionDataSchema, TECHNICAL_FIELD_NAMES, TRANSLATABLE_FIELD_TYPES, USER_ROLES, UserSubscriptionSchema, VISIBILITY, VerifyOrderCheckoutRequestSchema, VerifyOrderCheckoutResultSchema, WebhookEventSchema, addMonths, addYears, assertWrite, baseFields, buildBreadcrumbJsonLd, buildProductJsonLd, calculateSubscriptionEndDate, captureErrorToSentry, checkGitHubAccessSchema, clearGlobalSingleton, clearScopeProviders, commonErrorCodeMappings, compactToISOString, configureProviders, createAsyncSingleton, createDefaultSubscriptionClaims, createDefaultUserProfile, createEntitySchema, createErrorHandler, createMetadata, createMethodProxy, createSchemas, createSingleton, createSingletonWithParams, createStatus, defineEntity, deleteEntitySchema, deriveEntitySeo, describeEntity, describeField, detectBulkCollisions, detectErrorSource, disconnectOAuthSchema, enhanceSchema, ensureSpreadable, evaluateCondition, evaluateFieldConditions, exchangeTokenSchema, faviconHeadTags, filterVisibleFields, formatCurrency, formatDate, formatFieldText, formatRelativeTime, formatTrailingSlash, generateCodeChallenge, generateCodeVerifier, generateFirestoreRuleCondition, generatePKCEPair, generateUUID, getBreakpointFromWidth, getBreakpointUtils, getCollectionName, getConditionDependencies, getConnectionsSchema, getCurrencyLocale, getCurrencySymbol, getCurrentTimestamp, getEntityByCollection, getEntitySchema, getGlobalSingleton, getListCardFieldNames, getProvider, getRegisteredScopeProviders, getRoleFromClaims, getSchemaType, getScopeValue, getTranslatedFieldNames, getVisibleFields, getWeekFromISOString, getWidget, githubPermissionSchema, githubRepoConfigSchema, grantGitHubAccessSchema, handleError, hasMetadata, hasProvider, hasRestrictedVisibility, hasRoleAccess, hasScopeProvider, hasTierAccess, hiddenStatusesFor, i18nFieldName, isAuthPartnerId, isBackendGeneratedField, isBreakpoint, isCompactDateString, isEmptyFieldValue, isFieldVisible, isFrameworkField, isMultilingual, isOAuthPartnerId, isPKCESupported, isReadableBy, isoToCompactString, jsonScriptText, languageUrl, languageUrls, lazyImport, listEntitiesSchema, listWidgets, localizePath, mapToDoNotDevError, matchRoute, maybeTranslate, normalizeToISOString, overrideFeatures, overridePaymentModes, overridePermissions, overrideSubscriptionStatus, overrideSubscriptionTiers, overrideUserRoles, parseAcceptLanguage, parseBlogFrontmatter, parseDate, parseDateToNoonUTC, parseISODate, parseServerCookie, prepareCreate, prepareRemove, prepareUpdate, publicPathname, rangeOptions, readCookieValue, readI18nSeoMeta, recordHeadTags, refreshTokenSchema, registerScopeProvider, registerUniqueConstraintValidator, registerWidget, resetProviders, resolveFaviconFiles, resolveFieldValue, resolveLanguage, resolveLanguageRoute, resolveSeoField, resolveUserSubscription, revokeGitHubAccessSchema, robotsContent, routeHeadTags, routeSeo, routeTitle, safeValidate, sanitizeHref, showNotification, siteHeadTags, splitLanguagePath, statusCan, statusOf, statusReadableBy, statusesThat, stripHtmlTags, stripTrailingSlash, timestampToISOString, toDateOnly, toISOString, translateArray, translateArrayRange, translateArrayWithIndices, translateEntityLabel, translateObjectArray, translateRow, unregisterScopeProvider, updateCheck, updateEntitySchema, updateMetadata, updateNeedsStored, validateAIChatRequest, validateAIChatResponse, validateAuthPartners, validateAuthSchemas, validateAuthUser, validateBillingSchemas, validateBlock, validateBulkOutcome, validateCheckoutSessionMetadata, validateCodeChallenge, validateCodeVerifier, validateCreateCheckoutSessionRequest, validateCreateCheckoutSessionResponse, validateCustomClaims, validateDates, validateDocument, validateEnvVar, validateEvent, validateMetadata, validateOAuthPartners, validateSendEmailRequest, validateSendEmailResponse, validateStripeBackConfig, validateStripeFrontConfig, validateSubscriptionClaims, validateSubscriptionData, validateUniqueFields, validateUrl, validateUserSubscription, validateVerifyOrderCheckoutRequest, validateVerifyOrderCheckoutResult, validateWebhookEvent, validateWithSchema, when, withErrorHandling, withGracefulDegradation, withTimeout, wrapAuthError, wrapCrudError, wrapStorageError };
19746
- export type { AIAPI, AIChatRequest, AIChatResponse, AIConfig, AICostConfig, AICostEvent, AICostRecord, AICostResult, AIErrorCode, AIMessage, AIModelPricing, AIProvider, AIProviderConfig, AIRateLimitConfig, AIRouteConfig, AITierId, AIToolCall, AIToolDefinition, AIToolParameter, AIUsage, AccountLinkResult, AccountLinkingInfo, AdminCheckHookResult, AdminClaims, AggregateConfig, AggregateFilterOperator, AggregateOperation, AggregateRequest, AggregateResponse, AnyEntity, AnyFieldValue, AnyValibotSchema, AnyValueSchema, ApiResponse, AppConfig, AppCookieCategories, AppMetadata, AppProvidersProps, AssetsPluginConfig, AtomicBulkExecutionPlan, AtomicBulkOutcome, AttemptRecord, AuditEvent, AuditEventType, AuthAPI, AuthActions, AuthConfig, AuthContextValue, AuthCoreHookResult, AuthError, AuthEventData, AuthEventKey, AuthEventName, AuthHardeningConfig, AuthHardeningContext, AuthMethod, AuthPartner, AuthPartnerHookResult, AuthPartnerId, AuthPartnerResult, AuthPartnerState, AuthProvider, AuthProviderProps, AuthRedirectHookResult, AuthRedirectOperation, AuthRedirectOptions, AuthResult, AuthSessionSnapshot, AuthState, AuthStateStore, AuthStatus, AuthTokenHookResult, AuthUser, BackendGeneratedField, BaseActions, BaseCredentials, BaseDocument, BaseEntityFields, BasePartnerState, BaseState, BaseStoreActions, BaseStoreState, BaseUserProfile, BasicUserInfo, BeforeCheckoutHook, BeforeCheckoutOptions, BeforeCheckoutResult, BillingAPI, BillingAdapter, BillingAuthProvider, BillingErrorCode, BillingEvent, BillingEventData, BillingEventKey, BillingEventName, BillingProvider, BillingProviderConfig, BillingRedirectOperation, Breakpoint, BreakpointUtils, BuiltInFieldType, BuiltInStatus, BuiltinValue, BuiltinValueOf, BulkAcrossBatch, BulkAcrossOptions, BulkAcrossResult, BulkCollisionReport, BulkFailure, BulkOperations, BulkRequest, BulkResponse, BulkResult, BusinessEntity, CacheOverride, CachedError, CanAPI, CanvasBlock, CanvasCallerAccess, CanvasEvent, CanvasLifetime, CanvasSurface, CanvasWidgetMetadata, CanvasWidgetProps, CheckGitHubAccessRequest, CheckoutAddress, CheckoutLineItemInput, CheckoutMode, CheckoutOptions, CheckoutSessionMetadata, CheckoutSessionParams, CheckoutSessionResult, CheckoutSessionSnapshot, CollectionSubscriptionCallback, ColumnDef, CommonSubscriptionFeatures, CommonTranslations, ConditionBuilderLike, ConditionExpression, ConditionGroup, ConditionInput, ConditionNode, ConditionOperator, ConditionResult, ConditionalBehavior, ConfidenceLevel, ConnectOptions, ConsentAPI, ConsentActions, ConsentCategory, ConsentState, Context, CookieOptions, CreateCheckoutSessionRequest, CreateCheckoutSessionRequestInput, CreateCheckoutSessionResponse, CreateEntityData, CreateEntityRequest, CreateEntityResponse, CreateInput, CreateSchemas, CrudAPI, CrudCardProps, CrudConfig, CrudCreateInput, CrudDocQuery, CrudListQuery, CrudOperationOptions, CrudOperator, CspDirective, CurrencyEntry, CustomClaims, CustomFieldOptionsMap, CustomStoreConfig, DateFormatOptions, DateFormatPreset, DateValue, DefinedEntity, DefinedEntityAccess, DefinedEntityFields, DeleteEntityRequest, DeleteEntityResponse, Density, DescribeEntity, DescribeField, DescribeFields, DnDevOverride, DnDevWrapper, DndevFrameworkConfig, DndevProviders, DndevStoreApi, DoNotDevCookieCategories, DocumentSubscriptionCallback, DraftInput, DynamicFormRule, Editable, EditableForCheck, EditableForOf, EffectiveConnectionType, EmailConfig, EmailErrorCode, EmailProvider, EmailRouteConfig, EmailTemplate, EmailTemplateRegistry, EmailVerificationHookResult, EmailVerificationStatus, Entity, EntityAccessConfig, EntityAccessDefaults, EntityBrowseBaseProps, EntityCardListProps, EntityDescriptor, EntityDisplayRendererProps, EntityExtension, EntityExtensions, EntityField, EntityFieldMapDefault, EntityFormDefaultValues, EntityFormRendererProps, EntityHookErrors, EntityListExtraColumn, EntityListParent, EntityListProps, EntityMetadata, EntityOwnershipConfig, EntityOwnershipPublicCondition, EntityRecommendationsProps, EntityRecord, EntityRowFromFields, EntitySeo, EntitySeoConfig, EntitySeoOptions, EntitySeoRecord, EntityTemplateProps, EntityTranslations, EnvironmentMode, ErrorCode, ErrorHandlerConfig, ErrorHandlerFunction, ErrorSeverity, ErrorSource, ExchangeTokenParams, ExchangeTokenRequest, ExchangeTokenResponse, ExtensionFormValues, FaviconConfig, FaviconSet, Feature, FeatureAccessHookResult, FeatureConsentRequirement, FeatureHookResult, FeatureId, FeatureName, FeatureStatus, FeaturesConfig, FeaturesPluginConfig, FeaturesRequiringAnyConsent, FeaturesRequiringConsent, FeaturesWithoutConsent, FieldCondition, FieldDescriptor, FieldFilterConfig, FieldInputOf, FieldKindOf, FieldOperation, FieldRequirement, FieldRequirementOf, FieldTextFormatter, FieldTextOptions, FieldTextTranslate, FieldType, FieldTypeToKind, FieldTypeToValue, FieldValue, FieldValueOf, FieldWriteClass, FieldWriteClassOf, FileAsset, FilterVisibleFieldsOptions, FirebaseCallOptions, FirebaseConfig, FirestoreTimestamp, FirestoreUniqueConstraintValidator, FooterConfig, FooterMode, FooterZoneConfig, FormConfig, FormStep, FormValues, FunctionCallConfig, FunctionCallContext, FunctionCallOptions, FunctionCallResult, FunctionClient, FunctionClientFactoryOptions, FunctionDefaults, FunctionEndpoint, FunctionError, FunctionLoader, FunctionMemory, FunctionMeta, FunctionPlatform, FunctionResponse, FunctionSchema, FunctionSchemas, FunctionSystem, FunctionTrigger, FunctionsConfig, GetCustomClaimsResponse, GetEntityData, GetEntityRequest, GetEntityResponse, GetUserAuthStatusResponse, GetVisibleFieldsOptions, GitHubPermission, GitHubRepoConfig, GrantGitHubAccessRequest, GroupByDefinition, HandleErrorOptions, HeadTag, HeaderZoneConfig, HeadersConfig, HiddenStatus, I18nConfig, I18nPluginConfig, I18nProviderProps, I18nSeoMeta, ICallableProvider, ICrudAdapter, ID, INetworkManager, IServerAuthAdapter, IStorageAdapter, IStorageManager, IStorageStrategy, InferEntityRow, Invoice, InvoiceItem, LanguageData, LanguageInfo, LanguagePath, LanguageRouteDecision, LanguageRouting, LayoutConfig, LayoutPreset, LegalCompanyInfo, LegalConfig, LegalContactInfo, LegalDirectorInfo, LegalHostingInfo, LegalJurisdictionInfo, LegalSectionsConfig, LegalWebsiteInfo, ListCardLayout, ListEntitiesRequest, ListEntitiesResponse, ListEntityData, ListOptions, ListResponse, ListSchemaType, LoadingActions, LoadingState, LockoutResult, MergedBarConfig, MergedEntityFieldMap, MetricDefinition, MobileBehaviorConfig, ModalActions, ModalState, MutableMergedEntityFieldMap, MutationResponse, NavigationRoute, NetworkCheckConfig, NetworkConnectionType, NetworkReconnectCallback, NetworkState, NetworkStatus, NetworkStatusHookResult, OAuthAPI, OAuthApiRequestOptions, OAuthCallbackHookResult, OAuthConnection, OAuthConnectionInfo, OAuthConnectionRequest, OAuthConnectionStatus, OAuthCredentials, OAuthEventData, OAuthEventKey, OAuthEventName, OAuthPartner, OAuthPartnerHookResult, OAuthPartnerId, OAuthPartnerResult, OAuthPartnerState, OAuthPurpose, OAuthRedirectOperation, OAuthRefreshRequest, OAuthRefreshResponse, OAuthResult, OAuthStoreActions, OAuthStoreState, Observable, OperationSchemas, OrderByClause, OrderDirection, OrderHookContext, PWAAssetType, PWADisplayMode, PWAPluginConfig, PageAuth, PageMeta, PaginatedQueryResult, PaginationOptions, PaidLineItem, PartnerConnectionState, PartnerIconId, PartnerId, PartnerResult, PartnerType, PayloadCacheEventData, PayloadDocument, PayloadDocumentEventData, PayloadEventKey, PayloadEventName, PayloadGlobalEventData, PayloadMediaEventData, PayloadPageRegenerationEventData, PayloadRequest, PayloadUserEventData, PaymentEventData, PaymentMethod, PaymentMethodType, PaymentMode, Permission, Picture, Platform, PreparedAtomicBatch, PreparedWrite, PrerenderedHead, PresetConfig, PresetRegistry, ProcessPaymentSuccessRequest, ProcessPaymentSuccessResponse, ProductDeclaration, ProviderInstances, QueryConfig, QueryOptions, QueryOrderBy, QueryWhereClause, RateLimitBackend, RateLimitConfig, RateLimitManager, RateLimitResult, RateLimitState, RateLimiter, ReadCallback, RecordSeo, RedirectOperation, RedirectOverlayActions, RedirectOverlayConfig, RedirectOverlayPhase, RedirectOverlayState, Reference, RefreshSubscriptionRequest, RefreshSubscriptionResponse, RegisteredWidgetBase, RemoveCustomClaimsResponse, RequireValueShapes, ResolveLineItemsContext, ResolvedLayoutConfig, ResolvedLineItem, ResolvedOrder, ResolvedOrderSession, RevokeGitHubAccessRequest, RouteMatch, RouteMeta, RouteSeo, RouteSeoMeta, RouteSource, RoutesPluginConfig, SEOConfig, SchemaKind, SchemaMetadata, SchemaOrgAvailability, SchemaWithVisibility, ScopeConfig, ScopeProviderFn, SecurityContext, SecurityEntityConfig, SelectOption, SendEmailRequest, SendEmailResponse, SeoMeta, ServerRateLimitConfig, ServerRateLimitResult, ServerUserRecord, SetCustomClaimsResponse, SidebarZoneConfig, SignUpMetadata, SlotContent, StatusCapability, StatusField, StatusesThat, StorageOptions, StorageScope, StorageType, Store, StoredFileAsset, StripeBackConfig, StripeCheckoutProvider, StripeCheckoutRequest, StripeCheckoutResponse, StripeCheckoutSessionEventData, StripeConfig, StripeCustomer, StripeCustomerEventData, StripeEventData, StripeEventKey, StripeEventName, StripeFrontConfig, StripeInvoice, StripeInvoiceEventData, StripeOrderBackItem, StripePayment, StripePaymentBackItem, StripePaymentIntentEventData, StripePaymentMethod, StripePrice, StripeProduct, StripeProvider, StripeSubscription, StripeSubscriptionBackItem, StripeSubscriptionData, StripeWebhookEvent, StripeWebhookEventData, Subscription, SubscriptionClaims, SubscriptionConfig, SubscriptionData, SubscriptionDuration, SubscriptionEventData, SubscriptionHookResult, SubscriptionInfo, SubscriptionStatus, SubscriptionTier, SubscriptionUpdate, SupportedLanguage, TaxIdHookContext, TaxIdSnapshot, TechnicalField, ThemeActions, ThemeInfo, ThemeMode, ThemeState, ThemesPluginConfig, TierAccessHookResult, Timestamp, TokenInfo, TokenResponse, TokenState, TokenStatus, TranslationOptions, TranslationResource, TypedBaseFields, UIFieldOptions, UniqueConstraintValidator, UniqueKeyDefinition, UnsubscribeFn, UpdateEntityData, UpdateEntityRequest, UpdateEntityResponse, UpdateInput, UpdatePatch, UpdateSchemas, UpdateSubscriptionFn, UploadOptions, UploadProgressCallback, UploadResult, UseFunctionsCallResult, UseFunctionsMutationOptions, UseFunctionsMutationResult, UseFunctionsQueryOptions, UseFunctionsQueryResult, UseTranslationOptionsEnhanced, UserContext, UserProfile, UserProviderData, UserRole, UserSubscription, ValidateBlockOptions, ValidateResult, ValidationRules, ValueKind, ValueSchemaOf, ValueTypeForField, VerifiedToken, VerifyOrderCheckoutRequest, VerifyOrderCheckoutResult, Visibility, WebhookEvent, WebhookEventData, WhereClause, WhereOperator, WidgetDef, WithMetadata, WriteIssue, WriteSchema, WriteSchemaKey, WriteSchemas, dndevSchema };
20044
+ export { AGGREGATE_FILTER_OPERATORS, AGGREGATE_OPERATIONS, AIChatRequestSchema, AIChatResponseSchema, AIMessageSchema, AIProviderConfigSchema, AIToolCallSchema, AIToolDefinitionSchema, AIUsageSchema, AI_ERROR_CODES, AI_MODELS, AI_PROVIDERS, AI_ROLES, AI_TIERS, AI_TOKEN_PRICING, AUTH_EVENTS, AUTH_PARTNERS, AUTH_PARTNER_STATE, AtomicBulkError, AuthHardening, AuthUserSchema, BACKEND_GENERATED_FIELD_NAMES, BILLING_EVENTS, BREAKPOINT_RANGES, BREAKPOINT_THRESHOLDS, BUILTIN_VALUES, BUILT_IN_STATUSES, BulkAcrossCycleError, BulkCollisionError, BulkDeleteIdSchema, BulkInsertSchema, BulkNotImplementedError, BulkOutcomeFailureSchema, BulkOutcomeSchema, BulkRequestSchema, BulkResponseSchema, BulkUpdateSchema, COMMON_TIER_CONFIGS, CONFIDENCE_LEVELS, CONSENT_CATEGORY, CONTEXTS, CRUD_OPERATORS, CURRENCY_MAP, CUSTOM_STATUS, CanvasBlockSchema, CanvasEventSchema, CanvasLifetimeSchema, CanvasWidgetMetadataSchema, CheckoutLineItemInputSchema, CheckoutSessionMetadataSchema, ConditionBuilder, CreateCheckoutSessionRequestSchema, CreateCheckoutSessionResponseSchema, CustomClaimsSchema, DEFAULT_AI_CONFIG, DEFAULT_AI_MARKUP, DEFAULT_CRUD_TIMEOUT, DEFAULT_ENTITY_ACCESS, DEFAULT_ERROR_MESSAGES, DEFAULT_LAYOUT_PRESET, DEFAULT_OG_IMAGE, DEFAULT_STATUS, DEFAULT_STATUS_OPTIONS, DEFAULT_STATUS_VALUE, DEFAULT_SUBSCRIPTION, DEFAULT_UPLOAD_TIMEOUT, DENSITY, DoNotDevError, EDITABLE, EMAIL_ERROR_CODES, EMAIL_PROVIDERS, EMAIL_VERIFICATION_STATUS, ENTITY_HOOK_ERRORS, ENVIRONMENTS, ERROR_CODES, ERROR_SEVERITY, ERROR_SOURCE, EntityHookError, FAVICON_DEFAULTS, FEATURES, FEATURE_CONSENT_MATRIX, FEATURE_STATUS, FIELD_TEXT_FORMATTERS, FIELD_TYPES, FIREBASE_ERROR_MAP, FONT_STYLE_ID, FOOTER_MODE, GITHUB_PERMISSION_LEVELS, HIDDEN_STATUSES, LANGUAGE_COOKIE, LAYOUT_PRESET, LIST_SCHEMA_TYPE, MAX_CHECKOUT_LINE_ITEMS, MAX_SHIPPING_RATE_IDS, OAUTH_EVENTS, OAUTH_PARTNERS, ORDER_DIRECTION, PARTNER_ICONS, PAYLOAD_EVENTS, PERMISSIONS, PLATFORMS, PRERENDERED_HEAD_ELEMENT_ID, PWA_ASSET_TYPES, PWA_DISPLAY_MODES, ProductDeclarationSchema, ProductDeclarationsSchema, ProxiedImageUrlSchema, REMOVED_STATUS, ROUTE_SOURCES, SESSION_RENDER_SEGMENT, SITE_LOGO_PATH, STATUS_MATRIX, STORAGE_SCOPES, STORAGE_TYPES, STRIPE_EVENTS, STRIPE_MODES, SUBSCRIPTION_DURATIONS, SUBSCRIPTION_STATUS, SUBSCRIPTION_TIERS, SendEmailRequestSchema, SendEmailResponseSchema, index_d as ServerUtils, SingletonManager, StripeBackConfigSchema, StripeFrontConfigSchema, StripeOrderBackSchema, StripeOrderShippingSchema, StripeOrderTaxSchema, StripePaymentSchema, StripeSubscriptionSchema, SubscriptionClaimsSchema, SubscriptionDataSchema, TECHNICAL_FIELD_NAMES, TRANSLATABLE_FIELD_TYPES, USER_ROLES, UserSubscriptionSchema, VISIBILITY, VerifyOrderCheckoutRequestSchema, VerifyOrderCheckoutResultSchema, WebhookEventSchema, addMonths, addYears, assertWrite, baseFields, breadcrumbNamespaces, buildBreadcrumbJsonLd, buildProductJsonLd, calculateSubscriptionEndDate, captureErrorToSentry, checkGitHubAccessSchema, clearGlobalSingleton, clearScopeProviders, commonErrorCodeMappings, compactToISOString, configureProviders, createAsyncSingleton, createDefaultSubscriptionClaims, createDefaultUserProfile, createEntitySchema, createErrorHandler, createMetadata, createMethodProxy, createSchemas, createSingleton, createSingletonWithParams, createStatus, defineEntity, deleteEntitySchema, deriveEntitySeo, describeEntity, describeField, detectBulkCollisions, detectErrorSource, disconnectOAuthSchema, enhanceSchema, ensureSpreadable, evaluateCondition, evaluateFieldConditions, exchangeTokenSchema, faviconHeadTags, filterVisibleFields, fontPreloadHeadTags, formatCurrency, formatDate, formatFieldText, formatRelativeTime, formatTrailingSlash, generateCodeChallenge, generateCodeVerifier, generateFirestoreRuleCondition, generatePKCEPair, generateUUID, getBreakpointFromWidth, getBreakpointUtils, getCollectionName, getConditionDependencies, getConnectionsSchema, getCurrencyLocale, getCurrencySymbol, getCurrentTimestamp, getEntityByCollection, getEntitySchema, getGlobalSingleton, getListCardFieldNames, getPathPrefixes, getProvider, getRegisteredScopeProviders, getRoleFromClaims, getSchemaType, getScopeValue, getTranslatedFieldNames, getVisibleFields, getWeekFromISOString, getWidget, githubPermissionSchema, githubRepoConfigSchema, grantGitHubAccessSchema, handleError, hasMetadata, hasProvider, hasRestrictedVisibility, hasRoleAccess, hasScopeProvider, hasTierAccess, hiddenStatusesFor, i18nFieldName, isAuthPartnerId, isBackendGeneratedField, isBreakpoint, isCompactDateString, isEmptyFieldValue, isFieldVisible, isFrameworkField, isMultilingual, isOAuthPartnerId, isPKCESupported, isReadableBy, isoToCompactString, jsonScriptText, languageUrl, languageUrls, lazyImport, listEntitiesSchema, listWidgets, localizePath, mapToDoNotDevError, matchRoute, maybeTranslate, normalizeToISOString, overrideFeatures, overridePaymentModes, overridePermissions, overrideSubscriptionStatus, overrideSubscriptionTiers, overrideUserRoles, parseAcceptLanguage, parseBlogFrontmatter, parseDate, parseDateToNoonUTC, parseISODate, parseServerCookie, prepareCreate, prepareRemove, prepareUpdate, publicPathname, rangeOptions, readCookieValue, readI18nSeoMeta, recordHeadTags, refreshTokenSchema, registerScopeProvider, registerUniqueConstraintValidator, registerWidget, resetProviders, resolveFaviconFiles, resolveFieldValue, resolveLanguage, resolveLanguageRoute, resolveSeoField, resolveUserSubscription, revokeGitHubAccessSchema, robotsContent, routeAncestors, routeHeadTags, routeLabel, routeSeo, routeTitle, safeValidate, sanitizeHref, showNotification, siteHeadTags, splitLanguagePath, statusCan, statusOf, statusReadableBy, statusesThat, stripHtmlTags, stripTrailingSlash, timestampToISOString, toDateOnly, toISOString, translateArray, translateArrayRange, translateArrayWithIndices, translateEntityLabel, translateObjectArray, translateRow, unregisterScopeProvider, updateCheck, updateEntitySchema, updateMetadata, updateNeedsStored, validateAIChatRequest, validateAIChatResponse, validateAuthPartners, validateAuthSchemas, validateAuthUser, validateBillingSchemas, validateBlock, validateBulkOutcome, validateCheckoutSessionMetadata, validateCodeChallenge, validateCodeVerifier, validateCreateCheckoutSessionRequest, validateCreateCheckoutSessionResponse, validateCustomClaims, validateDates, validateDocument, validateEnvVar, validateEvent, validateMetadata, validateOAuthPartners, validateSendEmailRequest, validateSendEmailResponse, validateStripeBackConfig, validateStripeFrontConfig, validateSubscriptionClaims, validateSubscriptionData, validateUniqueFields, validateUrl, validateUserSubscription, validateVerifyOrderCheckoutRequest, validateVerifyOrderCheckoutResult, validateWebhookEvent, validateWithSchema, when, withErrorHandling, withGracefulDegradation, withTimeout, wrapAuthError, wrapCrudError, wrapStorageError };
20045
+ export type { AIAPI, AIChatRequest, AIChatResponse, AIConfig, AICostConfig, AICostEvent, AICostRecord, AICostResult, AIErrorCode, AIMessage, AIModelPricing, AIProvider, AIProviderConfig, AIRateLimitConfig, AIRouteConfig, AITierId, AIToolCall, AIToolDefinition, AIToolParameter, AIUsage, AccountLinkResult, AccountLinkingInfo, AdminCheckHookResult, AdminClaims, AggregateConfig, AggregateFilterOperator, AggregateOperation, AggregateRequest, AggregateResponse, AncestorRoute, AnyEntity, AnyFieldValue, AnyValibotSchema, AnyValueSchema, ApiResponse, AppConfig, AppCookieCategories, AppMetadata, AppProvidersProps, AssetsPluginConfig, AtomicBulkExecutionPlan, AtomicBulkOutcome, AttemptRecord, AuditEvent, AuditEventType, AuthAPI, AuthActions, AuthConfig, AuthContextValue, AuthCoreHookResult, AuthError, AuthEventData, AuthEventKey, AuthEventName, AuthHardeningConfig, AuthHardeningContext, AuthMethod, AuthPartner, AuthPartnerHookResult, AuthPartnerId, AuthPartnerResult, AuthPartnerState, AuthProvider, AuthProviderProps, AuthRedirectHookResult, AuthRedirectOperation, AuthRedirectOptions, AuthResult, AuthSessionSnapshot, AuthState, AuthStateStore, AuthStatus, AuthTokenHookResult, AuthUser, AuthUserSummary, BackendGeneratedField, BaseActions, BaseCredentials, BaseDocument, BaseEntityFields, BasePartnerState, BaseState, BaseStoreActions, BaseStoreState, BaseUserProfile, BasicUserInfo, BeforeCheckoutHook, BeforeCheckoutOptions, BeforeCheckoutResult, BillingAPI, BillingAdapter, BillingAuthProvider, BillingErrorCode, BillingEvent, BillingEventData, BillingEventKey, BillingEventName, BillingProvider, BillingProviderConfig, BillingRedirectOperation, BreadcrumbRoute, Breakpoint, BreakpointUtils, BuiltInFieldType, BuiltInStatus, BuiltinValue, BuiltinValueOf, BulkAcrossBatch, BulkAcrossOptions, BulkAcrossResult, BulkCollisionReport, BulkFailure, BulkOperations, BulkRequest, BulkResponse, BulkResult, BusinessEntity, CacheOverride, CachedError, CanAPI, CanvasBlock, CanvasCallerAccess, CanvasEvent, CanvasLifetime, CanvasSurface, CanvasWidgetMetadata, CanvasWidgetProps, CheckGitHubAccessRequest, CheckoutAddress, CheckoutLineItemInput, CheckoutMode, CheckoutOptions, CheckoutSessionMetadata, CheckoutSessionParams, CheckoutSessionResult, CheckoutSessionSnapshot, CollectionSubscriptionCallback, ColumnDef, CommonSubscriptionFeatures, CommonTranslations, ConditionBuilderLike, ConditionExpression, ConditionGroup, ConditionInput, ConditionNode, ConditionOperator, ConditionResult, ConditionalBehavior, ConfidenceLevel, ConnectOptions, ConsentAPI, ConsentActions, ConsentCategory, ConsentState, Context, CookieOptions, CreateCheckoutSessionRequest, CreateCheckoutSessionRequestInput, CreateCheckoutSessionResponse, CreateEntityData, CreateEntityRequest, CreateEntityResponse, CreateInput, CreateSchemas, CrudAPI, CrudCardProps, CrudConfig, CrudCreateInput, CrudDocQuery, CrudListQuery, CrudOperationOptions, CrudOperator, CspDirective, CurrencyEntry, CustomClaims, CustomFieldOptionsMap, CustomStoreConfig, DateFormatOptions, DateFormatPreset, DateValue, DefinedEntity, DefinedEntityAccess, DefinedEntityFields, DeleteEntityRequest, DeleteEntityResponse, Density, DescribeEntity, DescribeField, DescribeFields, DnDevOverride, DnDevWrapper, DndevFrameworkConfig, DndevProviders, DndevStoreApi, DoNotDevCookieCategories, DocumentSubscriptionCallback, DraftInput, DynamicFormRule, Editable, EditableForCheck, EditableForOf, EffectiveConnectionType, EmailConfig, EmailErrorCode, EmailProvider, EmailRouteConfig, EmailTemplate, EmailTemplateRegistry, EmailVerificationHookResult, EmailVerificationStatus, Entity, EntityAccessConfig, EntityAccessDefaults, EntityBrowseBaseProps, EntityCardListProps, EntityDescriptor, EntityDisplayRendererProps, EntityExtension, EntityExtensions, EntityField, EntityFieldMapDefault, EntityFormDefaultValues, EntityFormRendererProps, EntityHookErrors, EntityListExtraColumn, EntityListParent, EntityListProps, EntityMetadata, EntityOwnershipConfig, EntityOwnershipPublicCondition, EntityRecommendationsProps, EntityRecord, EntityRowFromFields, EntitySeo, EntitySeoConfig, EntitySeoOptions, EntitySeoRecord, EntityTemplateProps, EntityTranslations, EnvironmentMode, ErrorCode, ErrorHandlerConfig, ErrorHandlerFunction, ErrorSeverity, ErrorSource, ExchangeTokenParams, ExchangeTokenRequest, ExchangeTokenResponse, ExtensionFormValues, FaviconConfig, FaviconSet, Feature, FeatureAccessHookResult, FeatureConsentRequirement, FeatureHookResult, FeatureId, FeatureName, FeatureStatus, FeaturesConfig, FeaturesPluginConfig, FeaturesRequiringAnyConsent, FeaturesRequiringConsent, FeaturesWithoutConsent, FieldCondition, FieldDescriptor, FieldFilterConfig, FieldInputOf, FieldKindOf, FieldOperation, FieldRequirement, FieldRequirementOf, FieldTextFormatter, FieldTextOptions, FieldTextTranslate, FieldType, FieldTypeToKind, FieldTypeToValue, FieldValue, FieldValueOf, FieldWriteClass, FieldWriteClassOf, FileAsset, FilterVisibleFieldsOptions, FirebaseCallOptions, FirebaseConfig, FirestoreTimestamp, FirestoreUniqueConstraintValidator, FooterConfig, FooterMode, FooterZoneConfig, FormConfig, FormStep, FormValues, FunctionCallConfig, FunctionCallContext, FunctionCallOptions, FunctionCallResult, FunctionClient, FunctionClientFactoryOptions, FunctionDefaults, FunctionEndpoint, FunctionError, FunctionLoader, FunctionMemory, FunctionMeta, FunctionPlatform, FunctionResponse, FunctionSchema, FunctionSchemas, FunctionSystem, FunctionTrigger, FunctionsConfig, GetCustomClaimsResponse, GetEntityData, GetEntityRequest, GetEntityResponse, GetUserAuthStatusResponse, GetVisibleFieldsOptions, GitHubPermission, GitHubRepoConfig, GrantGitHubAccessRequest, GroupByDefinition, HandleErrorOptions, HeadTag, HeaderZoneConfig, HeadersConfig, HiddenStatus, I18nConfig, I18nPluginConfig, I18nProviderProps, I18nSeoMeta, ICallableProvider, ICrudAdapter, ID, INetworkManager, IServerAuthAdapter, IStorageAdapter, IStorageManager, IStorageStrategy, InferEntityRow, Invoice, InvoiceItem, LanguageData, LanguageInfo, LanguagePath, LanguageRouteDecision, LanguageRouting, LayoutConfig, LayoutPreset, LegalCompanyInfo, LegalConfig, LegalContactInfo, LegalDirectorInfo, LegalHostingInfo, LegalJurisdictionInfo, LegalSectionsConfig, LegalWebsiteInfo, ListAuthUsersResponse, ListCardLayout, ListEntitiesRequest, ListEntitiesResponse, ListEntityData, ListOptions, ListResponse, ListSchemaType, LoadingActions, LoadingState, LocalFontConfig, LocalFontFace, LockoutResult, MergedBarConfig, MergedEntityFieldMap, MetricDefinition, MobileBehaviorConfig, ModalActions, ModalState, MutableMergedEntityFieldMap, MutationResponse, NavigationRoute, NetworkCheckConfig, NetworkConnectionType, NetworkReconnectCallback, NetworkState, NetworkStatus, NetworkStatusHookResult, OAuthAPI, OAuthApiRequestOptions, OAuthCallbackHookResult, OAuthConnection, OAuthConnectionInfo, OAuthConnectionRequest, OAuthConnectionStatus, OAuthCredentials, OAuthEventData, OAuthEventKey, OAuthEventName, OAuthPartner, OAuthPartnerHookResult, OAuthPartnerId, OAuthPartnerResult, OAuthPartnerState, OAuthPurpose, OAuthRedirectOperation, OAuthRefreshRequest, OAuthRefreshResponse, OAuthResult, OAuthStoreActions, OAuthStoreState, Observable, OperationSchemas, OrderByClause, OrderDirection, OrderHookContext, PWAAssetType, PWADisplayMode, PWAPluginConfig, PageAuth, PageMeta, PaginatedQueryResult, PaginationOptions, PaidLineItem, PartnerConnectionState, PartnerIconId, PartnerId, PartnerResult, PartnerType, PayloadCacheEventData, PayloadDocument, PayloadDocumentEventData, PayloadEventKey, PayloadEventName, PayloadGlobalEventData, PayloadMediaEventData, PayloadPageRegenerationEventData, PayloadRequest, PayloadUserEventData, PaymentEventData, PaymentMethod, PaymentMethodType, PaymentMode, Permission, Picture, Platform, PreparedAtomicBatch, PreparedWrite, PrerenderedHead, PresetConfig, PresetRegistry, ProcessPaymentSuccessRequest, ProcessPaymentSuccessResponse, ProductDeclaration, ProviderInstances, QueryConfig, QueryOptions, QueryOrderBy, QueryWhereClause, RateLimitBackend, RateLimitConfig, RateLimitManager, RateLimitResult, RateLimitState, RateLimiter, ReadCallback, RecordSeo, RedirectOperation, RedirectOverlayActions, RedirectOverlayConfig, RedirectOverlayPhase, RedirectOverlayState, Reference, RefreshSubscriptionRequest, RefreshSubscriptionResponse, RegisteredWidgetBase, RemoveCustomClaimsResponse, RequireValueShapes, ResolveLineItemsContext, ResolvedLayoutConfig, ResolvedLineItem, ResolvedOrder, ResolvedOrderSession, RevokeGitHubAccessRequest, RouteMatch, RouteMeta, RouteSeo, RouteSeoMeta, RouteSource, RoutesPluginConfig, SEOConfig, SchemaKind, SchemaMetadata, SchemaOrgAvailability, SchemaWithVisibility, ScopeConfig, ScopeProviderFn, SecurityContext, SecurityEntityConfig, SelectOption, SendEmailRequest, SendEmailResponse, SeoMeta, ServerRateLimitConfig, ServerRateLimitResult, ServerUserRecord, SetCustomClaimsResponse, SidebarZoneConfig, SignUpMetadata, SlotContent, StatusCapability, StatusField, StatusesThat, StorageOptions, StorageScope, StorageType, Store, StoredFileAsset, StripeBackConfig, StripeCheckoutProvider, StripeCheckoutRequest, StripeCheckoutResponse, StripeCheckoutSessionEventData, StripeConfig, StripeCustomer, StripeCustomerEventData, StripeEventData, StripeEventKey, StripeEventName, StripeFrontConfig, StripeInvoice, StripeInvoiceEventData, StripeOrderBackItem, StripePayment, StripePaymentBackItem, StripePaymentIntentEventData, StripePaymentMethod, StripePrice, StripeProduct, StripeProvider, StripeSubscription, StripeSubscriptionBackItem, StripeSubscriptionData, StripeWebhookEvent, StripeWebhookEventData, Subscription, SubscriptionClaims, SubscriptionConfig, SubscriptionData, SubscriptionDuration, SubscriptionEventData, SubscriptionHookResult, SubscriptionInfo, SubscriptionStatus, SubscriptionTier, SubscriptionUpdate, SupportedLanguage, TaxIdHookContext, TaxIdSnapshot, TechnicalField, ThemeActions, ThemeInfo, ThemeMode, ThemeState, ThemesPluginConfig, TierAccessHookResult, Timestamp, TokenInfo, TokenResponse, TokenState, TokenStatus, TranslationOptions, TranslationResource, TypedBaseFields, UIFieldOptions, UniqueConstraintValidator, UniqueKeyDefinition, UnsubscribeFn, UpdateEntityData, UpdateEntityRequest, UpdateEntityResponse, UpdateInput, UpdatePatch, UpdateSchemas, UpdateSubscriptionFn, UploadOptions, UploadProgressCallback, UploadResult, UseFunctionsCallResult, UseFunctionsMutationOptions, UseFunctionsMutationResult, UseFunctionsQueryOptions, UseFunctionsQueryResult, UseTranslationOptionsEnhanced, UserContext, UserProfile, UserProviderData, UserRole, UserSubscription, ValidateBlockOptions, ValidateResult, ValidationRules, ValueKind, ValueSchemaOf, ValueTypeForField, VerifiedToken, VerifyOrderCheckoutRequest, VerifyOrderCheckoutResult, Visibility, WebhookEvent, WebhookEventData, WhereClause, WhereOperator, WidgetDef, WithMetadata, WriteIssue, WriteSchema, WriteSchemaKey, WriteSchemas, dndevSchema };