feat: Deprecate PublicAPIRouter in favor of PagesRouter (#9526)

This commit is contained in:
Daniel
2025-01-12 11:59:40 +11:00
committed by GitHub
parent 85b71dac09
commit 7f666292e8
6 changed files with 23 additions and 19 deletions

View File

@@ -217,7 +217,7 @@ export interface ParseServerOptions {
/* Public URL to your parse server with http:// or https://.
:ENV: PARSE_PUBLIC_SERVER_URL */
publicServerURL: ?string;
/* The options for pages such as password reset and email verification. Caution, this is an experimental feature that may not be appropriate for production.
/* The options for pages such as password reset and email verification.
:DEFAULT: {} */
pages: ?PagesOptions;
/* custom pages for password validation and reset
@@ -377,7 +377,7 @@ export interface SecurityOptions {
}
export interface PagesOptions {
/* Is true if the pages router should be enabled; this is required for any of the pages options to take effect. Caution, this is an experimental feature that may not be appropriate for production.
/* Is true if the pages router should be enabled; this is required for any of the pages options to take effect.
:DEFAULT: false */
enableRouter: ?boolean;
/* Is true if pages should be localized; this has no effect on custom page redirects.