@alepha/react 0.13.6 → 0.13.7

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.
@@ -1,4 +1,4 @@
1
- import * as alepha60 from "alepha";
1
+ import * as alepha44 from "alepha";
2
2
  import { Alepha, AlephaError, Async, Atom, FileLike, Hook, Hooks, InstantiableClass, KIND, LogLevel, LoggerInterface, Primitive, Service, State, Static, StreamLike, TArray, TAtomObject, TFile, TObject, TRecord, TSchema, TStream, TString, TVoid } from "alepha";
3
3
  import * as react0 from "react";
4
4
  import React, { AnchorHTMLAttributes, CSSProperties, DependencyList, ErrorInfo, FC, PropsWithChildren, ReactNode } from "react";
@@ -10,15 +10,15 @@ import dayjsDuration from "dayjs/plugin/duration.js";
10
10
  import DayjsApi, { Dayjs, ManipulateType, PluginFunc } from "dayjs";
11
11
 
12
12
  //#region ../../../alepha/src/server/schemas/errorSchema.d.ts
13
- declare const errorSchema: alepha60.TObject<{
14
- error: alepha60.TString;
15
- status: alepha60.TInteger;
16
- message: alepha60.TString;
17
- details: alepha60.TOptional<alepha60.TString>;
18
- requestId: alepha60.TOptional<alepha60.TString>;
19
- cause: alepha60.TOptional<alepha60.TObject<{
20
- name: alepha60.TString;
21
- message: alepha60.TString;
13
+ declare const errorSchema: alepha44.TObject<{
14
+ error: alepha44.TString;
15
+ status: alepha44.TInteger;
16
+ message: alepha44.TString;
17
+ details: alepha44.TOptional<alepha44.TString>;
18
+ requestId: alepha44.TOptional<alepha44.TString>;
19
+ cause: alepha44.TOptional<alepha44.TObject<{
20
+ name: alepha44.TString;
21
+ message: alepha44.TString;
22
22
  }>>;
23
23
  }>;
24
24
  type ErrorSchema = Static<typeof errorSchema>;
@@ -257,15 +257,15 @@ interface WebRequestEvent {
257
257
  }
258
258
  //#endregion
259
259
  //#region ../../../alepha/src/logger/schemas/logEntrySchema.d.ts
260
- declare const logEntrySchema: alepha60.TObject<{
261
- level: alepha60.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
262
- message: alepha60.TString;
263
- service: alepha60.TString;
264
- module: alepha60.TString;
265
- context: alepha60.TOptional<alepha60.TString>;
266
- app: alepha60.TOptional<alepha60.TString>;
267
- data: alepha60.TOptional<alepha60.TAny>;
268
- timestamp: alepha60.TNumber;
260
+ declare const logEntrySchema: alepha44.TObject<{
261
+ level: alepha44.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
262
+ message: alepha44.TString;
263
+ service: alepha44.TString;
264
+ module: alepha44.TString;
265
+ context: alepha44.TOptional<alepha44.TString>;
266
+ app: alepha44.TOptional<alepha44.TString>;
267
+ data: alepha44.TOptional<alepha44.TAny>;
268
+ timestamp: alepha44.TNumber;
269
269
  }>;
270
270
  type LogEntry = Static<typeof logEntrySchema>;
271
271
  //#endregion
@@ -280,8 +280,8 @@ declare class DateTimeProvider {
280
280
  protected readonly timeouts: Timeout[];
281
281
  protected readonly intervals: Interval[];
282
282
  constructor();
283
- protected readonly onStart: alepha60.HookPrimitive<"start">;
284
- protected readonly onStop: alepha60.HookPrimitive<"stop">;
283
+ protected readonly onStart: alepha44.HookPrimitive<"start">;
284
+ protected readonly onStop: alepha44.HookPrimitive<"stop">;
285
285
  setLocale(locale: string): void;
286
286
  isDateTime(value: unknown): value is DateTime;
287
287
  /**
@@ -413,7 +413,7 @@ declare class Logger implements LoggerInterface {
413
413
  }
414
414
  //#endregion
415
415
  //#region ../../../alepha/src/logger/index.d.ts
416
- declare const envSchema$6: alepha60.TObject<{
416
+ declare const envSchema$6: alepha44.TObject<{
417
417
  /**
418
418
  * Default log level for the application.
419
419
  *
@@ -430,14 +430,14 @@ declare const envSchema$6: alepha60.TObject<{
430
430
  * LOG_LEVEL=my.module.name:debug,info # Set debug level for my.module.name and info for all other modules
431
431
  * LOG_LEVEL=alepha:trace, info # Set trace level for all alepha modules and info for all other modules
432
432
  */
433
- LOG_LEVEL: alepha60.TOptional<alepha60.TString>;
433
+ LOG_LEVEL: alepha44.TOptional<alepha44.TString>;
434
434
  /**
435
435
  * Built-in log formats.
436
436
  * - "json" - JSON format, useful for structured logging and log aggregation. {@link JsonFormatterProvider}
437
- * - "pretty" - Simple text format, human-readable, with colors. {@link SimpleFormatterProvider}
437
+ * - "pretty" - Simple text format, human-readable, with colors. {@link PrettyFormatterProvider}
438
438
  * - "raw" - Raw format, no formatting, just the message. {@link RawFormatterProvider}
439
439
  */
440
- LOG_FORMAT: alepha60.TOptional<alepha60.TUnsafe<"json" | "pretty" | "raw">>;
440
+ LOG_FORMAT: alepha44.TOptional<alepha44.TUnsafe<"json" | "pretty" | "raw">>;
441
441
  }>;
442
442
  declare module "alepha" {
443
443
  interface Env extends Partial<Static<typeof envSchema$6>> {}
@@ -474,8 +474,8 @@ declare class ServerTimingProvider {
474
474
  prefix: string;
475
475
  disabled: boolean;
476
476
  };
477
- readonly onRequest: alepha60.HookPrimitive<"server:onRequest">;
478
- readonly onResponse: alepha60.HookPrimitive<"server:onResponse">;
477
+ readonly onRequest: alepha44.HookPrimitive<"server:onRequest">;
478
+ readonly onResponse: alepha44.HookPrimitive<"server:onResponse">;
479
479
  protected get handlerName(): string;
480
480
  beginTiming(name: string): void;
481
481
  endTiming(name: string): void;
@@ -539,11 +539,11 @@ declare class ServerProvider {
539
539
  /**
540
540
  * When a Node.js HTTP request is received from outside. (Vercel, AWS Lambda, etc.)
541
541
  */
542
- protected readonly onNodeRequest: alepha60.HookPrimitive<"node:request">;
542
+ protected readonly onNodeRequest: alepha44.HookPrimitive<"node:request">;
543
543
  /**
544
544
  * When a Web (Fetch API) request is received from outside. (Netlify, Cloudflare Workers, etc.)
545
545
  */
546
- protected readonly onWebRequest: alepha60.HookPrimitive<"web:request">;
546
+ protected readonly onWebRequest: alepha44.HookPrimitive<"web:request">;
547
547
  /**
548
548
  * Handle Node.js HTTP request event.
549
549
  *
@@ -878,18 +878,18 @@ type ServerActionHandler<TConfig extends RequestConfigSchema = RequestConfigSche
878
878
  interface ServerActionRequest<TConfig extends RequestConfigSchema> extends ServerRequest<TConfig> {}
879
879
  //#endregion
880
880
  //#region ../../../alepha/src/server/providers/BunHttpServerProvider.d.ts
881
- declare const envSchema$5: alepha60.TObject<{
882
- SERVER_PORT: alepha60.TInteger;
883
- SERVER_HOST: alepha60.TString;
881
+ declare const envSchema$5: alepha44.TObject<{
882
+ SERVER_PORT: alepha44.TInteger;
883
+ SERVER_HOST: alepha44.TString;
884
884
  }>;
885
885
  declare module "alepha" {
886
886
  interface Env extends Partial<Static<typeof envSchema$5>> {}
887
887
  }
888
888
  //#endregion
889
889
  //#region ../../../alepha/src/server/providers/NodeHttpServerProvider.d.ts
890
- declare const envSchema$4: alepha60.TObject<{
891
- SERVER_PORT: alepha60.TInteger;
892
- SERVER_HOST: alepha60.TString;
890
+ declare const envSchema$4: alepha44.TObject<{
891
+ SERVER_PORT: alepha44.TInteger;
892
+ SERVER_HOST: alepha44.TString;
893
893
  }>;
894
894
  declare module "alepha" {
895
895
  interface Env extends Partial<Static<typeof envSchema$4>> {}
@@ -1077,8 +1077,8 @@ declare class Redirection extends Error {
1077
1077
  }
1078
1078
  //#endregion
1079
1079
  //#region ../../src/core/providers/ReactPageProvider.d.ts
1080
- declare const envSchema$3: alepha60.TObject<{
1081
- REACT_STRICT_MODE: alepha60.TBoolean;
1080
+ declare const envSchema$3: alepha44.TObject<{
1081
+ REACT_STRICT_MODE: alepha44.TBoolean;
1082
1082
  }>;
1083
1083
  declare module "alepha" {
1084
1084
  interface Env extends Partial<Static<typeof envSchema$3>> {}
@@ -1109,7 +1109,6 @@ declare class ReactPageProvider {
1109
1109
  * It also handles errors and redirects.
1110
1110
  */
1111
1111
  createLayers(route: PageRoute, state: ReactRouterState, previous?: PreviousLayerData[]): Promise<CreateLayersResult>;
1112
- protected createRedirectionLayer(redirect: string): CreateLayersResult;
1113
1112
  protected getErrorHandler(route: PageRoute): ErrorHandler | undefined;
1114
1113
  protected createElement(page: PageRoute, props: Record<string, any>): Promise<ReactNode>;
1115
1114
  renderError(error: Error): ReactNode;
@@ -1121,7 +1120,7 @@ declare class ReactPageProvider {
1121
1120
  }, params?: Record<string, any>): string;
1122
1121
  compile(path: string, params?: Record<string, string>): string;
1123
1122
  protected renderView(index: number, path: string, view: ReactNode | undefined, page: PageRoute): ReactNode;
1124
- protected readonly configure: alepha60.HookPrimitive<"configure">;
1123
+ protected readonly configure: alepha44.HookPrimitive<"configure">;
1125
1124
  protected map(pages: Array<PagePrimitive>, target: PagePrimitive): PageRouteEntry;
1126
1125
  add(entry: PageRouteEntry): void;
1127
1126
  protected createMatch(page: PageRoute): string;
@@ -1336,10 +1335,10 @@ interface PagePrimitiveOptions<TConfig extends PageConfigSchema = PageConfigSche
1336
1335
  * Load data before rendering the page.
1337
1336
  *
1338
1337
  * This function receives
1339
- * - the request context and
1338
+ * - the request context (params, query, etc.)
1340
1339
  * - the parent props (if page has a parent)
1341
1340
  *
1342
- * In SSR, the returned data will be serialized and sent to the client, then reused during the client-side hydration.
1341
+ * > In SSR, the returned data will be serialized and sent to the client, then reused during the client-side hydration.
1343
1342
  *
1344
1343
  * Resolve can be stopped by throwing an error, which will be handled by the `errorHandler` function.
1345
1344
  * It's common to throw a `NotFoundError` to display a 404 page.
@@ -1347,6 +1346,12 @@ interface PagePrimitiveOptions<TConfig extends PageConfigSchema = PageConfigSche
1347
1346
  * RedirectError can be thrown to redirect the user to another page.
1348
1347
  */
1349
1348
  resolve?: (context: PageResolve<TConfig, TPropsParent>) => Async<TProps>;
1349
+ /**
1350
+ * Default props to pass to the component when rendering the page.
1351
+ *
1352
+ * Resolved props from the `resolve` function will override these default props.
1353
+ */
1354
+ props?: () => Partial<TProps>;
1350
1355
  /**
1351
1356
  * The component to render when the page is loaded.
1352
1357
  *
@@ -1372,6 +1377,12 @@ interface PagePrimitiveOptions<TConfig extends PageConfigSchema = PageConfigSche
1372
1377
  * Define a parent page for nested routing.
1373
1378
  */
1374
1379
  parent?: PagePrimitive<PageConfigSchema, TPropsParent, any>;
1380
+ /**
1381
+ * Function to determine if the page can be accessed.
1382
+ *
1383
+ * If it returns false, the page will not be accessible and a 403 Forbidden error will be returned.
1384
+ * This function can be used to implement permission-based access control.
1385
+ */
1375
1386
  can?: () => boolean;
1376
1387
  /**
1377
1388
  * Catch any error from the `resolve` function or during `rendering`.
@@ -1540,15 +1551,15 @@ type CssAnimation = {
1540
1551
  };
1541
1552
  //#endregion
1542
1553
  //#region ../../../alepha/src/security/schemas/userAccountInfoSchema.d.ts
1543
- declare const userAccountInfoSchema: alepha60.TObject<{
1544
- id: alepha60.TString;
1545
- name: alepha60.TOptional<alepha60.TString>;
1546
- email: alepha60.TOptional<alepha60.TString>;
1547
- username: alepha60.TOptional<alepha60.TString>;
1548
- picture: alepha60.TOptional<alepha60.TString>;
1549
- sessionId: alepha60.TOptional<alepha60.TString>;
1550
- organizations: alepha60.TOptional<alepha60.TArray<alepha60.TString>>;
1551
- roles: alepha60.TOptional<alepha60.TArray<alepha60.TString>>;
1554
+ declare const userAccountInfoSchema: alepha44.TObject<{
1555
+ id: alepha44.TString;
1556
+ name: alepha44.TOptional<alepha44.TString>;
1557
+ email: alepha44.TOptional<alepha44.TString>;
1558
+ username: alepha44.TOptional<alepha44.TString>;
1559
+ picture: alepha44.TOptional<alepha44.TString>;
1560
+ sessionId: alepha44.TOptional<alepha44.TString>;
1561
+ organizations: alepha44.TOptional<alepha44.TArray<alepha44.TString>>;
1562
+ roles: alepha44.TOptional<alepha44.TArray<alepha44.TString>>;
1552
1563
  }>;
1553
1564
  type UserAccount = Static<typeof userAccountInfoSchema>;
1554
1565
  //#endregion
@@ -1574,8 +1585,8 @@ interface UserAccountToken extends UserAccount {
1574
1585
  }
1575
1586
  //#endregion
1576
1587
  //#region ../../../alepha/src/security/providers/SecurityProvider.d.ts
1577
- declare const envSchema$2: alepha60.TObject<{
1578
- APP_SECRET: alepha60.TString;
1588
+ declare const envSchema$2: alepha44.TObject<{
1589
+ APP_SECRET: alepha44.TString;
1579
1590
  }>;
1580
1591
  declare module "alepha" {
1581
1592
  interface Env extends Partial<Static<typeof envSchema$2>> {}
@@ -1668,23 +1679,23 @@ declare module "alepha/server" {
1668
1679
  */
1669
1680
  //#endregion
1670
1681
  //#region ../../../alepha/src/server-links/schemas/apiLinksResponseSchema.d.ts
1671
- declare const apiLinkSchema: alepha60.TObject<{
1672
- name: alepha60.TString;
1673
- group: alepha60.TOptional<alepha60.TString>;
1674
- path: alepha60.TString;
1675
- method: alepha60.TOptional<alepha60.TString>;
1676
- requestBodyType: alepha60.TOptional<alepha60.TString>;
1677
- service: alepha60.TOptional<alepha60.TString>;
1682
+ declare const apiLinkSchema: alepha44.TObject<{
1683
+ name: alepha44.TString;
1684
+ group: alepha44.TOptional<alepha44.TString>;
1685
+ path: alepha44.TString;
1686
+ method: alepha44.TOptional<alepha44.TString>;
1687
+ requestBodyType: alepha44.TOptional<alepha44.TString>;
1688
+ service: alepha44.TOptional<alepha44.TString>;
1678
1689
  }>;
1679
- declare const apiLinksResponseSchema: alepha60.TObject<{
1680
- prefix: alepha60.TOptional<alepha60.TString>;
1681
- links: alepha60.TArray<alepha60.TObject<{
1682
- name: alepha60.TString;
1683
- group: alepha60.TOptional<alepha60.TString>;
1684
- path: alepha60.TString;
1685
- method: alepha60.TOptional<alepha60.TString>;
1686
- requestBodyType: alepha60.TOptional<alepha60.TString>;
1687
- service: alepha60.TOptional<alepha60.TString>;
1690
+ declare const apiLinksResponseSchema: alepha44.TObject<{
1691
+ prefix: alepha44.TOptional<alepha44.TString>;
1692
+ links: alepha44.TArray<alepha44.TObject<{
1693
+ name: alepha44.TString;
1694
+ group: alepha44.TOptional<alepha44.TString>;
1695
+ path: alepha44.TString;
1696
+ method: alepha44.TOptional<alepha44.TString>;
1697
+ requestBodyType: alepha44.TOptional<alepha44.TString>;
1698
+ service: alepha44.TOptional<alepha44.TString>;
1688
1699
  }>>;
1689
1700
  }>;
1690
1701
  type ApiLinksResponse = Static<typeof apiLinksResponseSchema>;
@@ -1790,14 +1801,14 @@ declare class ReactBrowserRouterProvider extends RouterProvider<BrowserRoute> {
1790
1801
  protected readonly alepha: Alepha;
1791
1802
  protected readonly pageApi: ReactPageProvider;
1792
1803
  add(entry: PageRouteEntry): void;
1793
- protected readonly configure: alepha60.HookPrimitive<"configure">;
1804
+ protected readonly configure: alepha44.HookPrimitive<"configure">;
1794
1805
  transition(url: URL, previous?: PreviousLayerData[], meta?: {}): Promise<string | void>;
1795
1806
  root(state: ReactRouterState): ReactNode;
1796
1807
  }
1797
1808
  //#endregion
1798
1809
  //#region ../../src/core/providers/ReactBrowserProvider.d.ts
1799
- declare const envSchema$1: alepha60.TObject<{
1800
- REACT_ROOT_ID: alepha60.TString;
1810
+ declare const envSchema$1: alepha44.TObject<{
1811
+ REACT_ROOT_ID: alepha44.TString;
1801
1812
  }>;
1802
1813
  declare module "alepha" {
1803
1814
  interface Env extends Partial<Static<typeof envSchema$1>> {}
@@ -1805,8 +1816,8 @@ declare module "alepha" {
1805
1816
  /**
1806
1817
  * React browser renderer configuration atom
1807
1818
  */
1808
- declare const reactBrowserOptions: alepha60.Atom<alepha60.TObject<{
1809
- scrollRestoration: alepha60.TUnsafe<"top" | "manual">;
1819
+ declare const reactBrowserOptions: alepha44.Atom<alepha44.TObject<{
1820
+ scrollRestoration: alepha44.TUnsafe<"top" | "manual">;
1810
1821
  }>, "alepha.react.browser.options">;
1811
1822
  type ReactBrowserRendererOptions = Static<typeof reactBrowserOptions.schema>;
1812
1823
  declare module "alepha" {
@@ -1854,8 +1865,8 @@ declare class ReactBrowserProvider {
1854
1865
  * Get embedded layers from the server.
1855
1866
  */
1856
1867
  protected getHydrationState(): ReactHydrationState | undefined;
1857
- protected readonly onTransitionEnd: alepha60.HookPrimitive<"react:transition:end">;
1858
- readonly ready: alepha60.HookPrimitive<"ready">;
1868
+ protected readonly onTransitionEnd: alepha44.HookPrimitive<"react:transition:end">;
1869
+ readonly ready: alepha44.HookPrimitive<"ready">;
1859
1870
  }
1860
1871
  interface RouterGoOptions {
1861
1872
  replace?: boolean;
@@ -2017,7 +2028,7 @@ interface UseActionOptions<Args extends any[] = any[], Result = any> {
2017
2028
  * The async action handler function.
2018
2029
  * Receives the action arguments plus an ActionContext as the last parameter.
2019
2030
  */
2020
- handler: (...args: [...Args, ActionContext]) => Promise<Result>;
2031
+ handler: (...args: [...Args, ActionContext]) => Async<Result>;
2021
2032
  /**
2022
2033
  * Custom error handler. If provided, prevents default error re-throw.
2023
2034
  */
@@ -2030,6 +2041,7 @@ interface UseActionOptions<Args extends any[] = any[], Result = any> {
2030
2041
  * Optional identifier for this action (useful for debugging/analytics)
2031
2042
  */
2032
2043
  id?: string;
2044
+ name?: string;
2033
2045
  /**
2034
2046
  * Debounce delay in milliseconds. If specified, the action will only execute
2035
2047
  * after the specified delay has passed since the last call. Useful for search inputs
@@ -2234,6 +2246,9 @@ interface ErrorViewerProps {
2234
2246
  error: Error;
2235
2247
  alepha: Alepha;
2236
2248
  }
2249
+ /**
2250
+ * Error viewer component that displays error details in development mode
2251
+ */
2237
2252
  declare const ErrorViewer: ({
2238
2253
  error,
2239
2254
  alepha
@@ -2261,6 +2276,7 @@ declare function NotFoundPage(props: {
2261
2276
  interface RouterLayerContextValue {
2262
2277
  index: number;
2263
2278
  path: string;
2279
+ onError: ErrorHandler;
2264
2280
  }
2265
2281
  declare const RouterLayerContext: react0.Context<RouterLayerContextValue | undefined>;
2266
2282
  //#endregion
@@ -2312,6 +2328,7 @@ declare class ReactRouter<T$1 extends object> {
2312
2328
  path?: string | undefined;
2313
2329
  schema?: PageConfigSchema | undefined;
2314
2330
  resolve?: ((context: PageResolve<PageConfigSchema, TPropsParentDefault>) => any) | undefined;
2331
+ props?: (() => Partial<any>) | undefined;
2315
2332
  component?: react0.FC<any> | undefined;
2316
2333
  lazy?: (() => Promise<{
2317
2334
  default: react0.FC<any>;
@@ -2591,7 +2608,7 @@ declare class ServerStaticProvider {
2591
2608
  protected readonly fileDetector: FileDetector;
2592
2609
  protected readonly log: Logger;
2593
2610
  protected readonly directories: ServeDirectory[];
2594
- protected readonly configure: alepha60.HookPrimitive<"configure">;
2611
+ protected readonly configure: alepha44.HookPrimitive<"configure">;
2595
2612
  createStaticServer(options: ServePrimitiveOptions): Promise<void>;
2596
2613
  createFileHandler(filepath: string, options: ServePrimitiveOptions): Promise<ServerHandler>;
2597
2614
  protected getCacheFileTypes(): string[];
@@ -2607,25 +2624,25 @@ interface ServeDirectory {
2607
2624
  }
2608
2625
  //#endregion
2609
2626
  //#region ../../src/core/providers/ReactServerProvider.d.ts
2610
- declare const envSchema: alepha60.TObject<{
2611
- REACT_SSR_ENABLED: alepha60.TOptional<alepha60.TBoolean>;
2612
- REACT_ROOT_ID: alepha60.TString;
2613
- REACT_SERVER_TEMPLATE: alepha60.TOptional<alepha60.TString>;
2627
+ declare const envSchema: alepha44.TObject<{
2628
+ REACT_SSR_ENABLED: alepha44.TOptional<alepha44.TBoolean>;
2629
+ REACT_ROOT_ID: alepha44.TString;
2614
2630
  }>;
2615
2631
  declare module "alepha" {
2616
2632
  interface Env extends Partial<Static<typeof envSchema>> {}
2617
2633
  interface State {
2618
2634
  "alepha.react.server.ssr"?: boolean;
2635
+ "alepha.react.server.template"?: string;
2619
2636
  }
2620
2637
  }
2621
2638
  /**
2622
2639
  * React server provider configuration atom
2623
2640
  */
2624
- declare const reactServerOptions: alepha60.Atom<alepha60.TObject<{
2625
- publicDir: alepha60.TString;
2626
- staticServer: alepha60.TObject<{
2627
- disabled: alepha60.TBoolean;
2628
- path: alepha60.TString;
2641
+ declare const reactServerOptions: alepha44.Atom<alepha44.TObject<{
2642
+ publicDir: alepha44.TString;
2643
+ staticServer: alepha44.TObject<{
2644
+ disabled: alepha44.TBoolean;
2645
+ path: alepha44.TString;
2629
2646
  }>;
2630
2647
  }>, "alepha.react.server.options">;
2631
2648
  type ReactServerProviderOptions = Static<typeof reactServerOptions.schema>;
@@ -2639,7 +2656,6 @@ declare class ReactServerProvider {
2639
2656
  protected readonly alepha: Alepha;
2640
2657
  protected readonly env: {
2641
2658
  REACT_SSR_ENABLED?: boolean | undefined;
2642
- REACT_SERVER_TEMPLATE?: string | undefined;
2643
2659
  REACT_ROOT_ID: string;
2644
2660
  };
2645
2661
  protected readonly pageApi: ReactPageProvider;
@@ -2659,7 +2675,7 @@ declare class ReactServerProvider {
2659
2675
  /**
2660
2676
  * Configure the React server provider.
2661
2677
  */
2662
- readonly onConfigure: alepha60.HookPrimitive<"configure">;
2678
+ readonly onConfigure: alepha44.HookPrimitive<"configure">;
2663
2679
  get template(): string;
2664
2680
  protected registerPages(templateLoader: TemplateLoader): Promise<void>;
2665
2681
  /**
@@ -2795,7 +2811,7 @@ declare module "alepha" {
2795
2811
  * @see {@link $page}
2796
2812
  * @module alepha.react
2797
2813
  */
2798
- declare const AlephaReact: alepha60.Service<alepha60.Module>;
2814
+ declare const AlephaReact: alepha44.Service<alepha44.Module>;
2799
2815
  //#endregion
2800
2816
  export { $page, ActionContext, AlephaContext, AlephaReact, AnchorProps, ClientOnly, ConcretePageRoute, CreateLayersResult, ErrorBoundary, ErrorHandler, ErrorViewer, Layer, Link, type LinkProps, _default as NestedView, NotFoundPage as NotFound, PageAnimation, PageConfigSchema, PagePrimitive, PagePrimitiveOptions, PagePrimitiveRenderOptions, PagePrimitiveRenderResult, PageRequestConfig, PageResolve, PageRoute, PageRouteEntry, PreviousLayerData, ReactBrowserProvider, ReactBrowserRendererOptions, ReactHydrationState, ReactPageProvider, ReactRouter, ReactRouterState, ReactServerProvider, ReactServerProviderOptions, Redirection, RouterGoOptions, RouterLayerContext, RouterLayerContextValue, RouterRenderOptions, RouterStackItem, TPropsDefault, TPropsParentDefault, TransitionOptions, UseActionOptions, UseActionReturn, UseActiveHook, UseActiveOptions, UseQueryParamsHookOptions, UseSchemaReturn, UseStoreReturn, VirtualRouter, isPageRoute, reactBrowserOptions, reactServerOptions, ssrSchemaLoading, useAction, useActive, useAlepha, useClient, useEvents, useInject, useQueryParams, useRouter, useRouterState, useSchema, useStore };
2801
2817
  //# sourceMappingURL=index.d.ts.map