@emdash-cms/admin 0.8.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{LocaleDirectionProvider-B43-InGI.js → LocaleDirectionProvider-xcSZTLFA.js} +27 -21
- package/dist/LocaleDirectionProvider-xcSZTLFA.js.map +1 -0
- package/dist/{config-h7tWQRka.d.ts → config-DJUFU9nY.d.ts} +3 -3
- package/dist/{config-h7tWQRka.d.ts.map → config-DJUFU9nY.d.ts.map} +1 -1
- package/dist/index.d.ts +186 -39
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2722 -1771
- package/dist/index.js.map +1 -1
- package/dist/locales/ar/messages.mjs +1 -1
- package/dist/locales/de/messages.mjs +1 -1
- package/dist/locales/en/messages.mjs +1 -1
- package/dist/locales/es-419/messages.mjs +1 -1
- package/dist/locales/eu/messages.mjs +1 -1
- package/dist/locales/fa/messages.mjs +1 -1
- package/dist/locales/fr/messages.mjs +1 -1
- package/dist/locales/id/messages.mjs +1 -0
- package/dist/locales/index.d.ts +1 -1
- package/dist/locales/index.js +1 -1
- package/dist/locales/ja/messages.mjs +1 -1
- package/dist/locales/ko/messages.mjs +1 -1
- package/dist/locales/pl/messages.mjs +1 -1
- package/dist/locales/pseudo/messages.mjs +1 -1
- package/dist/locales/pt-BR/messages.mjs +1 -1
- package/dist/locales/zh-CN/messages.mjs +1 -1
- package/dist/locales/zh-TW/messages.mjs +1 -1
- package/dist/messages-BLHOmJoS.js +6 -0
- package/dist/messages-BLHOmJoS.js.map +1 -0
- package/dist/messages-BLPEG0Mx.js +6 -0
- package/dist/messages-BLPEG0Mx.js.map +1 -0
- package/dist/messages-BYyq7qnh.js +6 -0
- package/dist/messages-BYyq7qnh.js.map +1 -0
- package/dist/messages-BcI5YTGJ.js +6 -0
- package/dist/messages-BcI5YTGJ.js.map +1 -0
- package/dist/messages-BpVvs7xa.js +6 -0
- package/dist/messages-BpVvs7xa.js.map +1 -0
- package/dist/messages-CSs_iEr-.js +6 -0
- package/dist/messages-CSs_iEr-.js.map +1 -0
- package/dist/messages-CvhBZHPh.js +6 -0
- package/dist/messages-CvhBZHPh.js.map +1 -0
- package/dist/messages-CyUGKznD.js +6 -0
- package/dist/messages-CyUGKznD.js.map +1 -0
- package/dist/messages-D7GebqCf.js +6 -0
- package/dist/messages-D7GebqCf.js.map +1 -0
- package/dist/messages-DDVTav-Y.js +6 -0
- package/dist/messages-DDVTav-Y.js.map +1 -0
- package/dist/messages-DMBcuYFC.js +6 -0
- package/dist/messages-DMBcuYFC.js.map +1 -0
- package/dist/messages-DRrZDx80.js +6 -0
- package/dist/messages-DRrZDx80.js.map +1 -0
- package/dist/messages-aWiCO6Ou.js +6 -0
- package/dist/messages-aWiCO6Ou.js.map +1 -0
- package/dist/messages-hcBnbmbA.js +6 -0
- package/dist/messages-hcBnbmbA.js.map +1 -0
- package/dist/messages-wnKLF74l.js +6 -0
- package/dist/messages-wnKLF74l.js.map +1 -0
- package/dist/plugins-DUJY_8HN.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +2 -4
- package/dist/LocaleDirectionProvider-B43-InGI.js.map +0 -1
- package/dist/messages-B6ZguVfS.js +0 -6
- package/dist/messages-B6ZguVfS.js.map +0 -1
- package/dist/messages-BOnMi1Vb.js +0 -6
- package/dist/messages-BOnMi1Vb.js.map +0 -1
- package/dist/messages-BZuRVH-D.js +0 -6
- package/dist/messages-BZuRVH-D.js.map +0 -1
- package/dist/messages-Bc_PDiKw.js +0 -6
- package/dist/messages-Bc_PDiKw.js.map +0 -1
- package/dist/messages-Bddg68eH.js +0 -6
- package/dist/messages-Bddg68eH.js.map +0 -1
- package/dist/messages-BoP-RHEG.js +0 -6
- package/dist/messages-BoP-RHEG.js.map +0 -1
- package/dist/messages-C4hNtyU5.js +0 -6
- package/dist/messages-C4hNtyU5.js.map +0 -1
- package/dist/messages-CMwt5Gv-.js +0 -6
- package/dist/messages-CMwt5Gv-.js.map +0 -1
- package/dist/messages-CnliZpid.js +0 -6
- package/dist/messages-CnliZpid.js.map +0 -1
- package/dist/messages-CseAZVO2.js +0 -6
- package/dist/messages-CseAZVO2.js.map +0 -1
- package/dist/messages-DRyNt1qC.js +0 -6
- package/dist/messages-DRyNt1qC.js.map +0 -1
- package/dist/messages-DTehFUkD.js +0 -6
- package/dist/messages-DTehFUkD.js.map +0 -1
- package/dist/messages-DeQMOYvT.js +0 -6
- package/dist/messages-DeQMOYvT.js.map +0 -1
- package/dist/messages-Do3BokvI.js +0 -6
- package/dist/messages-Do3BokvI.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as SUPPORTED_LOCALES, o as resolveLocale, r as SUPPORTED_LOCALE_CODES, s as LocaleDefinition, t as DEFAULT_LOCALE, u as useLocale } from "./config-
|
|
1
|
+
import { n as SUPPORTED_LOCALES, o as resolveLocale, r as SUPPORTED_LOCALE_CODES, s as LocaleDefinition, t as DEFAULT_LOCALE, u as useLocale } from "./config-DJUFU9nY.js";
|
|
2
2
|
import "./locales/index.js";
|
|
3
3
|
import { Button, Sidebar as KumoSidebar } from "@cloudflare/kumo";
|
|
4
4
|
import { Messages } from "@lingui/core";
|
|
@@ -6,7 +6,7 @@ import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
|
6
6
|
import { QueryClient } from "@tanstack/react-query";
|
|
7
7
|
import * as _tanstack_react_router0 from "@tanstack/react-router";
|
|
8
8
|
import { Link, useNavigate, useParams } from "@tanstack/react-router";
|
|
9
|
-
import * as React from "react";
|
|
9
|
+
import * as React$1 from "react";
|
|
10
10
|
import { ComponentProps } from "react";
|
|
11
11
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
12
12
|
import { ClassValue } from "clsx";
|
|
@@ -23,18 +23,18 @@ interface AuthProviderModule {
|
|
|
23
23
|
id: string;
|
|
24
24
|
label: string;
|
|
25
25
|
/** Compact button for the login page (icon + label) */
|
|
26
|
-
LoginButton?: React.ComponentType;
|
|
26
|
+
LoginButton?: React$1.ComponentType;
|
|
27
27
|
/** Full form if the provider needs custom input (e.g., handle field) */
|
|
28
|
-
LoginForm?: React.ComponentType;
|
|
28
|
+
LoginForm?: React$1.ComponentType;
|
|
29
29
|
/** Component for the setup wizard admin creation step */
|
|
30
|
-
SetupStep?: React.ComponentType<{
|
|
30
|
+
SetupStep?: React$1.ComponentType<{
|
|
31
31
|
onComplete: () => void;
|
|
32
32
|
}>;
|
|
33
33
|
}
|
|
34
34
|
/** All auth provider modules keyed by provider ID */
|
|
35
35
|
type AuthProviders = Record<string, AuthProviderModule>;
|
|
36
36
|
interface AuthProviderContextProps {
|
|
37
|
-
children: React.ReactNode;
|
|
37
|
+
children: React$1.ReactNode;
|
|
38
38
|
authProviders: AuthProviders;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
@@ -56,14 +56,14 @@ declare function useAuthProviderList(): AuthProviderModule[];
|
|
|
56
56
|
//#region src/lib/plugin-context.d.ts
|
|
57
57
|
/** Shape of a plugin's admin exports */
|
|
58
58
|
interface PluginAdminModule {
|
|
59
|
-
widgets?: Record<string, React.ComponentType>;
|
|
60
|
-
pages?: Record<string, React.ComponentType>;
|
|
61
|
-
fields?: Record<string, React.ComponentType>;
|
|
59
|
+
widgets?: Record<string, React$1.ComponentType>;
|
|
60
|
+
pages?: Record<string, React$1.ComponentType>;
|
|
61
|
+
fields?: Record<string, React$1.ComponentType>;
|
|
62
62
|
}
|
|
63
63
|
/** All plugin admin modules keyed by plugin ID */
|
|
64
64
|
type PluginAdmins = Record<string, PluginAdminModule>;
|
|
65
65
|
interface PluginAdminProviderProps {
|
|
66
|
-
children: React.ReactNode;
|
|
66
|
+
children: React$1.ReactNode;
|
|
67
67
|
pluginAdmins: PluginAdmins;
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
@@ -80,15 +80,15 @@ declare function usePluginAdmins(): PluginAdmins;
|
|
|
80
80
|
/**
|
|
81
81
|
* Get a dashboard widget component by plugin ID and widget ID
|
|
82
82
|
*/
|
|
83
|
-
declare function usePluginWidget(pluginId: string, widgetId: string): React.ComponentType | null;
|
|
83
|
+
declare function usePluginWidget(pluginId: string, widgetId: string): React$1.ComponentType | null;
|
|
84
84
|
/**
|
|
85
85
|
* Get a plugin page component by plugin ID and path
|
|
86
86
|
*/
|
|
87
|
-
declare function usePluginPage(pluginId: string, path: string): React.ComponentType | null;
|
|
87
|
+
declare function usePluginPage(pluginId: string, path: string): React$1.ComponentType | null;
|
|
88
88
|
/**
|
|
89
89
|
* Get a field widget component by plugin ID and field type
|
|
90
90
|
*/
|
|
91
|
-
declare function usePluginField(pluginId: string, fieldType: string): React.ComponentType | null;
|
|
91
|
+
declare function usePluginField(pluginId: string, fieldType: string): React$1.ComponentType | null;
|
|
92
92
|
/**
|
|
93
93
|
* Check if a plugin has any registered admin pages
|
|
94
94
|
*/
|
|
@@ -128,7 +128,9 @@ declare function createAdminRouter(queryClient: QueryClient): _tanstack_router_c
|
|
|
128
128
|
locale: string | undefined;
|
|
129
129
|
}, _tanstack_router_core0.ResolveParams<"/content/$collection/new">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/content/$collection/$id", "/content/$collection/$id", string, "/_admin/content/$collection/$id", (search: Record<string, unknown>) => {
|
|
130
130
|
field?: string | undefined;
|
|
131
|
-
}, _tanstack_router_core0.ResolveParams<"/content/$collection/$id">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/content-types", "/content-types", string, "/_admin/content-types", undefined, _tanstack_router_core0.ResolveParams<"/content-types">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/content-types/new", "/content-types/new", string, "/_admin/content-types/new", undefined, _tanstack_router_core0.ResolveParams<"/content-types/new">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/content-types/$slug", "/content-types/$slug", string, "/_admin/content-types/$slug", undefined, _tanstack_router_core0.ResolveParams<"/content-types/$slug">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/media", "/media", string, "/_admin/media", undefined, _tanstack_router_core0.ResolveParams<"/media">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/comments", "/comments", string, "/_admin/comments", undefined, _tanstack_router_core0.ResolveParams<"/comments">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/menus", "/menus", string, "/_admin/menus", undefined, _tanstack_router_core0.ResolveParams<"/menus">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/menus/$name", "/menus/$name", string, "/_admin/menus/$name", undefined, _tanstack_router_core0.ResolveParams<"/menus/$name">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/plugins-manager", "/plugins-manager", string, "/_admin/plugins-manager", undefined, _tanstack_router_core0.ResolveParams<"/plugins-manager">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/plugins/marketplace/$pluginId", "/plugins/marketplace/$pluginId", string, "/_admin/plugins/marketplace/$pluginId", undefined, _tanstack_router_core0.ResolveParams<"/plugins/marketplace/$pluginId">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/plugins/marketplace", "/plugins/marketplace", string, "/_admin/plugins/marketplace", undefined, _tanstack_router_core0.ResolveParams<"/plugins/marketplace">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/themes/marketplace", "/themes/marketplace", string, "/_admin/themes/marketplace", undefined, _tanstack_router_core0.ResolveParams<"/themes/marketplace">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/themes/marketplace/$themeId", "/themes/marketplace/$themeId", string, "/_admin/themes/marketplace/$themeId", undefined, _tanstack_router_core0.ResolveParams<"/themes/marketplace/$themeId">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/plugins/$pluginId/$", "/plugins/$pluginId/$", string, "/_admin/plugins/$pluginId/$", undefined, _tanstack_router_core0.ResolveParams<"/plugins/$pluginId/$">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/redirects", "/redirects", string, "/_admin/redirects", undefined, _tanstack_router_core0.ResolveParams<"/redirects">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/sections", "/sections", string, "/_admin/sections", undefined, _tanstack_router_core0.ResolveParams<"/sections">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/sections/$slug", "/sections/$slug", string, "/_admin/sections/$slug", undefined, _tanstack_router_core0.ResolveParams<"/sections/$slug">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/taxonomies/$taxonomy", "/taxonomies/$taxonomy", string, "/_admin/taxonomies/$taxonomy", undefined, _tanstack_router_core0.ResolveParams<"/taxonomies/$taxonomy">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/users", "/users", string, "/_admin/users", undefined, _tanstack_router_core0.ResolveParams<"/users">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/bylines", "/bylines", string, "/_admin/bylines", undefined, _tanstack_router_core0.ResolveParams<"/bylines">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/widgets", "/widgets", string, "/_admin/widgets", undefined, _tanstack_router_core0.ResolveParams<"/widgets">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/settings", "/settings", string, "/_admin/settings", undefined, _tanstack_router_core0.ResolveParams<"/settings">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/settings/general", "/settings/general", string, "/_admin/settings/general", undefined, _tanstack_router_core0.ResolveParams<"/settings/general">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/settings/social", "/settings/social", string, "/_admin/settings/social", undefined, _tanstack_router_core0.ResolveParams<"/settings/social">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/settings/seo", "/settings/seo", string, "/_admin/settings/seo", undefined, _tanstack_router_core0.ResolveParams<"/settings/seo">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/settings/security", "/settings/security", string, "/_admin/settings/security", undefined, _tanstack_router_core0.ResolveParams<"/settings/security">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/settings/allowed-domains", "/settings/allowed-domains", string, "/_admin/settings/allowed-domains", undefined, _tanstack_router_core0.ResolveParams<"/settings/allowed-domains">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/settings/api-tokens", "/settings/api-tokens", string, "/_admin/settings/api-tokens", undefined, _tanstack_router_core0.ResolveParams<"/settings/api-tokens">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/settings/email", "/settings/email", string, "/_admin/settings/email", undefined, _tanstack_router_core0.ResolveParams<"/settings/email">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/import/wordpress", "/import/wordpress", string, "/_admin/import/wordpress", undefined, _tanstack_router_core0.ResolveParams<"/import/wordpress">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "*", "/*", string, "/_admin/*", undefined, _tanstack_router_core0.ResolveParams<"*">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>], unknown, unknown, unknown, undefined>], unknown, unknown, unknown, undefined>, "never", false, _tanstack_history0.RouterHistory, Record<string, any>>;
|
|
131
|
+
}, _tanstack_router_core0.ResolveParams<"/content/$collection/$id">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/content-types", "/content-types", string, "/_admin/content-types", undefined, _tanstack_router_core0.ResolveParams<"/content-types">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/content-types/new", "/content-types/new", string, "/_admin/content-types/new", undefined, _tanstack_router_core0.ResolveParams<"/content-types/new">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/content-types/$slug", "/content-types/$slug", string, "/_admin/content-types/$slug", undefined, _tanstack_router_core0.ResolveParams<"/content-types/$slug">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/media", "/media", string, "/_admin/media", undefined, _tanstack_router_core0.ResolveParams<"/media">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/comments", "/comments", string, "/_admin/comments", undefined, _tanstack_router_core0.ResolveParams<"/comments">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/menus", "/menus", string, "/_admin/menus", undefined, _tanstack_router_core0.ResolveParams<"/menus">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/menus/$name", "/menus/$name", string, "/_admin/menus/$name", (search: Record<string, unknown>) => {
|
|
132
|
+
locale: string | undefined;
|
|
133
|
+
}, _tanstack_router_core0.ResolveParams<"/menus/$name">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/plugins-manager", "/plugins-manager", string, "/_admin/plugins-manager", undefined, _tanstack_router_core0.ResolveParams<"/plugins-manager">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/plugins/marketplace/$pluginId", "/plugins/marketplace/$pluginId", string, "/_admin/plugins/marketplace/$pluginId", undefined, _tanstack_router_core0.ResolveParams<"/plugins/marketplace/$pluginId">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/plugins/marketplace", "/plugins/marketplace", string, "/_admin/plugins/marketplace", undefined, _tanstack_router_core0.ResolveParams<"/plugins/marketplace">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/themes/marketplace", "/themes/marketplace", string, "/_admin/themes/marketplace", undefined, _tanstack_router_core0.ResolveParams<"/themes/marketplace">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/themes/marketplace/$themeId", "/themes/marketplace/$themeId", string, "/_admin/themes/marketplace/$themeId", undefined, _tanstack_router_core0.ResolveParams<"/themes/marketplace/$themeId">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/plugins/$pluginId/$", "/plugins/$pluginId/$", string, "/_admin/plugins/$pluginId/$", undefined, _tanstack_router_core0.ResolveParams<"/plugins/$pluginId/$">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/redirects", "/redirects", string, "/_admin/redirects", undefined, _tanstack_router_core0.ResolveParams<"/redirects">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/sections", "/sections", string, "/_admin/sections", undefined, _tanstack_router_core0.ResolveParams<"/sections">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/sections/$slug", "/sections/$slug", string, "/_admin/sections/$slug", undefined, _tanstack_router_core0.ResolveParams<"/sections/$slug">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/taxonomies/$taxonomy", "/taxonomies/$taxonomy", string, "/_admin/taxonomies/$taxonomy", undefined, _tanstack_router_core0.ResolveParams<"/taxonomies/$taxonomy">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/users", "/users", string, "/_admin/users", undefined, _tanstack_router_core0.ResolveParams<"/users">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/bylines", "/bylines", string, "/_admin/bylines", undefined, _tanstack_router_core0.ResolveParams<"/bylines">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/widgets", "/widgets", string, "/_admin/widgets", undefined, _tanstack_router_core0.ResolveParams<"/widgets">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/settings", "/settings", string, "/_admin/settings", undefined, _tanstack_router_core0.ResolveParams<"/settings">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/settings/general", "/settings/general", string, "/_admin/settings/general", undefined, _tanstack_router_core0.ResolveParams<"/settings/general">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/settings/social", "/settings/social", string, "/_admin/settings/social", undefined, _tanstack_router_core0.ResolveParams<"/settings/social">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/settings/seo", "/settings/seo", string, "/_admin/settings/seo", undefined, _tanstack_router_core0.ResolveParams<"/settings/seo">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/settings/security", "/settings/security", string, "/_admin/settings/security", undefined, _tanstack_router_core0.ResolveParams<"/settings/security">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/settings/allowed-domains", "/settings/allowed-domains", string, "/_admin/settings/allowed-domains", undefined, _tanstack_router_core0.ResolveParams<"/settings/allowed-domains">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/settings/api-tokens", "/settings/api-tokens", string, "/_admin/settings/api-tokens", undefined, _tanstack_router_core0.ResolveParams<"/settings/api-tokens">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/settings/email", "/settings/email", string, "/_admin/settings/email", undefined, _tanstack_router_core0.ResolveParams<"/settings/email">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/import/wordpress", "/import/wordpress", string, "/_admin/import/wordpress", undefined, _tanstack_router_core0.ResolveParams<"/import/wordpress">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.Route<unknown, _tanstack_react_router0.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "_admin", "/_admin", undefined, _tanstack_router_core0.ResolveParams<"/">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "*", "/*", string, "/_admin/*", undefined, _tanstack_router_core0.ResolveParams<"*">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>], unknown, unknown, unknown, undefined>], unknown, unknown, unknown, undefined>, "never", false, _tanstack_history0.RouterHistory, Record<string, any>>;
|
|
132
134
|
declare module "@tanstack/react-router" {
|
|
133
135
|
interface Register {
|
|
134
136
|
router: ReturnType<typeof createAdminRouter>;
|
|
@@ -137,7 +139,7 @@ declare module "@tanstack/react-router" {
|
|
|
137
139
|
//#endregion
|
|
138
140
|
//#region src/components/Shell.d.ts
|
|
139
141
|
interface ShellProps {
|
|
140
|
-
children: React.ReactNode;
|
|
142
|
+
children: React$1.ReactNode;
|
|
141
143
|
manifest: {
|
|
142
144
|
collections: Record<string, {
|
|
143
145
|
label: string;
|
|
@@ -268,10 +270,14 @@ interface AdminManifest {
|
|
|
268
270
|
label?: string;
|
|
269
271
|
required?: boolean;
|
|
270
272
|
widget?: string;
|
|
273
|
+
/**
|
|
274
|
+
* For `select` / `multiSelect`: the list of enum choices.
|
|
275
|
+
* For `json` fields driven by a plugin `widget`: arbitrary widget config.
|
|
276
|
+
*/
|
|
271
277
|
options?: Array<{
|
|
272
278
|
value: string;
|
|
273
279
|
label: string;
|
|
274
|
-
}>;
|
|
280
|
+
}> | Record<string, unknown>;
|
|
275
281
|
validation?: Record<string, unknown>;
|
|
276
282
|
}>;
|
|
277
283
|
}>;
|
|
@@ -310,6 +316,7 @@ interface AdminManifest {
|
|
|
310
316
|
description?: string;
|
|
311
317
|
placeholder?: string;
|
|
312
318
|
fields?: Element[];
|
|
319
|
+
category?: string;
|
|
313
320
|
}>;
|
|
314
321
|
}>;
|
|
315
322
|
/**
|
|
@@ -568,7 +575,9 @@ declare function unscheduleContent(collection: string, id: string): Promise<Cont
|
|
|
568
575
|
* Get a preview URL for content
|
|
569
576
|
*
|
|
570
577
|
* Returns a signed URL that allows viewing draft content.
|
|
571
|
-
* Returns null if
|
|
578
|
+
* Returns null if the EmDash runtime isn't initialized on the server
|
|
579
|
+
* (responds with NOT_CONFIGURED). The preview secret itself no longer
|
|
580
|
+
* needs to be set explicitly — it auto-generates on first use.
|
|
572
581
|
*/
|
|
573
582
|
declare function getPreviewUrl(collection: string, id: string, options?: {
|
|
574
583
|
expiresIn?: string;
|
|
@@ -1167,7 +1176,11 @@ declare function hasAllowedDomains(): Promise<boolean>;
|
|
|
1167
1176
|
//#endregion
|
|
1168
1177
|
//#region src/lib/api/menus.d.ts
|
|
1169
1178
|
/**
|
|
1170
|
-
* Menu management APIs
|
|
1179
|
+
* Menu management APIs.
|
|
1180
|
+
*
|
|
1181
|
+
* i18n: all endpoints accept an optional `locale`. When omitted, the server
|
|
1182
|
+
* returns or acts on all locales (legacy behaviour for clients that haven't
|
|
1183
|
+
* been updated yet).
|
|
1171
1184
|
*/
|
|
1172
1185
|
interface Menu {
|
|
1173
1186
|
id: string;
|
|
@@ -1176,6 +1189,8 @@ interface Menu {
|
|
|
1176
1189
|
created_at: string;
|
|
1177
1190
|
updated_at: string;
|
|
1178
1191
|
itemCount?: number;
|
|
1192
|
+
locale: string;
|
|
1193
|
+
translation_group: string | null;
|
|
1179
1194
|
}
|
|
1180
1195
|
interface MenuItem {
|
|
1181
1196
|
id: string;
|
|
@@ -1191,13 +1206,28 @@ interface MenuItem {
|
|
|
1191
1206
|
target: string | null;
|
|
1192
1207
|
css_classes: string | null;
|
|
1193
1208
|
created_at: string;
|
|
1209
|
+
locale: string;
|
|
1210
|
+
translation_group: string | null;
|
|
1194
1211
|
}
|
|
1195
1212
|
interface MenuWithItems extends Menu {
|
|
1196
1213
|
items: MenuItem[];
|
|
1197
1214
|
}
|
|
1215
|
+
interface MenuTranslation {
|
|
1216
|
+
id: string;
|
|
1217
|
+
name: string;
|
|
1218
|
+
label: string;
|
|
1219
|
+
locale: string;
|
|
1220
|
+
updatedAt: string;
|
|
1221
|
+
}
|
|
1222
|
+
interface MenuTranslationsResponse {
|
|
1223
|
+
translationGroup: string | null;
|
|
1224
|
+
translations: MenuTranslation[];
|
|
1225
|
+
}
|
|
1198
1226
|
interface CreateMenuInput {
|
|
1199
1227
|
name: string;
|
|
1200
1228
|
label: string;
|
|
1229
|
+
locale?: string;
|
|
1230
|
+
translationOf?: string;
|
|
1201
1231
|
}
|
|
1202
1232
|
interface UpdateMenuInput {
|
|
1203
1233
|
label?: string;
|
|
@@ -1230,14 +1260,17 @@ interface ReorderMenuItemsInput {
|
|
|
1230
1260
|
sortOrder: number;
|
|
1231
1261
|
}>;
|
|
1232
1262
|
}
|
|
1263
|
+
interface LocaleOptions {
|
|
1264
|
+
locale?: string;
|
|
1265
|
+
}
|
|
1233
1266
|
/**
|
|
1234
1267
|
* Fetch all menus
|
|
1235
1268
|
*/
|
|
1236
|
-
declare function fetchMenus(): Promise<Menu[]>;
|
|
1269
|
+
declare function fetchMenus(options?: LocaleOptions): Promise<Menu[]>;
|
|
1237
1270
|
/**
|
|
1238
1271
|
* Fetch a single menu with items
|
|
1239
1272
|
*/
|
|
1240
|
-
declare function fetchMenu(name: string): Promise<MenuWithItems>;
|
|
1273
|
+
declare function fetchMenu(name: string, options?: LocaleOptions): Promise<MenuWithItems>;
|
|
1241
1274
|
/**
|
|
1242
1275
|
* Create a menu
|
|
1243
1276
|
*/
|
|
@@ -1245,27 +1278,37 @@ declare function createMenu(input: CreateMenuInput): Promise<Menu>;
|
|
|
1245
1278
|
/**
|
|
1246
1279
|
* Update a menu
|
|
1247
1280
|
*/
|
|
1248
|
-
declare function updateMenu(name: string, input: UpdateMenuInput): Promise<Menu>;
|
|
1281
|
+
declare function updateMenu(name: string, input: UpdateMenuInput, options?: LocaleOptions): Promise<Menu>;
|
|
1249
1282
|
/**
|
|
1250
1283
|
* Delete a menu
|
|
1251
1284
|
*/
|
|
1252
|
-
declare function deleteMenu(name: string): Promise<void>;
|
|
1285
|
+
declare function deleteMenu(name: string, options?: LocaleOptions): Promise<void>;
|
|
1253
1286
|
/**
|
|
1254
1287
|
* Create a menu item
|
|
1255
1288
|
*/
|
|
1256
|
-
declare function createMenuItem(menuName: string, input: CreateMenuItemInput): Promise<MenuItem>;
|
|
1289
|
+
declare function createMenuItem(menuName: string, input: CreateMenuItemInput, options?: LocaleOptions): Promise<MenuItem>;
|
|
1257
1290
|
/**
|
|
1258
1291
|
* Update a menu item
|
|
1259
1292
|
*/
|
|
1260
|
-
declare function updateMenuItem(menuName: string, itemId: string, input: UpdateMenuItemInput): Promise<MenuItem>;
|
|
1293
|
+
declare function updateMenuItem(menuName: string, itemId: string, input: UpdateMenuItemInput, options?: LocaleOptions): Promise<MenuItem>;
|
|
1261
1294
|
/**
|
|
1262
1295
|
* Delete a menu item
|
|
1263
1296
|
*/
|
|
1264
|
-
declare function deleteMenuItem(menuName: string, itemId: string): Promise<void>;
|
|
1297
|
+
declare function deleteMenuItem(menuName: string, itemId: string, options?: LocaleOptions): Promise<void>;
|
|
1265
1298
|
/**
|
|
1266
1299
|
* Reorder menu items
|
|
1267
1300
|
*/
|
|
1268
|
-
declare function reorderMenuItems(menuName: string, input: ReorderMenuItemsInput): Promise<MenuItem[]>;
|
|
1301
|
+
declare function reorderMenuItems(menuName: string, input: ReorderMenuItemsInput, options?: LocaleOptions): Promise<MenuItem[]>;
|
|
1302
|
+
/** List every translation (locale variant) of a menu. */
|
|
1303
|
+
declare function fetchMenuTranslations(name: string, options?: LocaleOptions): Promise<MenuTranslationsResponse>;
|
|
1304
|
+
/**
|
|
1305
|
+
* Create a new locale translation of a menu. The new menu inherits the
|
|
1306
|
+
* source's items and label unless overridden.
|
|
1307
|
+
*/
|
|
1308
|
+
declare function createMenuTranslation(name: string, input: {
|
|
1309
|
+
locale: string;
|
|
1310
|
+
label?: string;
|
|
1311
|
+
}, options?: LocaleOptions): Promise<Menu>;
|
|
1269
1312
|
//#endregion
|
|
1270
1313
|
//#region src/lib/api/widgets.d.ts
|
|
1271
1314
|
/**
|
|
@@ -1428,7 +1471,12 @@ declare function deleteSection(slug: string): Promise<void>;
|
|
|
1428
1471
|
//#endregion
|
|
1429
1472
|
//#region src/lib/api/taxonomies.d.ts
|
|
1430
1473
|
/**
|
|
1431
|
-
* Taxonomies API (categories, tags, custom taxonomies)
|
|
1474
|
+
* Taxonomies API (categories, tags, custom taxonomies).
|
|
1475
|
+
*
|
|
1476
|
+
* All endpoints are locale-aware. When no `locale` option is passed we omit
|
|
1477
|
+
* the query param and the server falls back to its usual resolution (no
|
|
1478
|
+
* filter, returning every locale — same as pre-i18n behaviour for clients
|
|
1479
|
+
* that haven't yet been updated).
|
|
1432
1480
|
*/
|
|
1433
1481
|
interface TaxonomyTerm {
|
|
1434
1482
|
id: string;
|
|
@@ -1439,6 +1487,8 @@ interface TaxonomyTerm {
|
|
|
1439
1487
|
description?: string;
|
|
1440
1488
|
children: TaxonomyTerm[];
|
|
1441
1489
|
count?: number;
|
|
1490
|
+
locale: string;
|
|
1491
|
+
translationGroup: string | null;
|
|
1442
1492
|
}
|
|
1443
1493
|
interface TaxonomyDef {
|
|
1444
1494
|
id: string;
|
|
@@ -1447,18 +1497,35 @@ interface TaxonomyDef {
|
|
|
1447
1497
|
labelSingular?: string;
|
|
1448
1498
|
hierarchical: boolean;
|
|
1449
1499
|
collections: string[];
|
|
1500
|
+
locale: string;
|
|
1501
|
+
translationGroup: string | null;
|
|
1502
|
+
}
|
|
1503
|
+
interface TermTranslation {
|
|
1504
|
+
id: string;
|
|
1505
|
+
slug: string;
|
|
1506
|
+
label: string;
|
|
1507
|
+
locale: string;
|
|
1508
|
+
}
|
|
1509
|
+
interface TermTranslationsResponse {
|
|
1510
|
+
translationGroup: string | null;
|
|
1511
|
+
translations: TermTranslation[];
|
|
1450
1512
|
}
|
|
1451
1513
|
interface CreateTaxonomyInput {
|
|
1452
1514
|
name: string;
|
|
1453
1515
|
label: string;
|
|
1516
|
+
labelSingular?: string;
|
|
1454
1517
|
hierarchical?: boolean;
|
|
1455
1518
|
collections?: string[];
|
|
1519
|
+
locale?: string;
|
|
1520
|
+
translationOf?: string;
|
|
1456
1521
|
}
|
|
1457
1522
|
interface CreateTermInput {
|
|
1458
1523
|
slug: string;
|
|
1459
1524
|
label: string;
|
|
1460
1525
|
parentId?: string;
|
|
1461
1526
|
description?: string;
|
|
1527
|
+
locale?: string;
|
|
1528
|
+
translationOf?: string;
|
|
1462
1529
|
}
|
|
1463
1530
|
interface UpdateTermInput {
|
|
1464
1531
|
slug?: string;
|
|
@@ -1466,14 +1533,17 @@ interface UpdateTermInput {
|
|
|
1466
1533
|
parentId?: string;
|
|
1467
1534
|
description?: string;
|
|
1468
1535
|
}
|
|
1536
|
+
interface LocaleOptions$1 {
|
|
1537
|
+
locale?: string;
|
|
1538
|
+
}
|
|
1469
1539
|
/**
|
|
1470
1540
|
* Fetch all taxonomy definitions
|
|
1471
1541
|
*/
|
|
1472
|
-
declare function fetchTaxonomyDefs(): Promise<TaxonomyDef[]>;
|
|
1542
|
+
declare function fetchTaxonomyDefs(options?: LocaleOptions$1): Promise<TaxonomyDef[]>;
|
|
1473
1543
|
/**
|
|
1474
1544
|
* Fetch taxonomy definition by name
|
|
1475
1545
|
*/
|
|
1476
|
-
declare function fetchTaxonomyDef(name: string): Promise<TaxonomyDef | null>;
|
|
1546
|
+
declare function fetchTaxonomyDef(name: string, options?: LocaleOptions$1): Promise<TaxonomyDef | null>;
|
|
1477
1547
|
/**
|
|
1478
1548
|
* Create a custom taxonomy definition
|
|
1479
1549
|
*/
|
|
@@ -1481,7 +1551,7 @@ declare function createTaxonomy(input: CreateTaxonomyInput): Promise<TaxonomyDef
|
|
|
1481
1551
|
/**
|
|
1482
1552
|
* Fetch terms for a taxonomy
|
|
1483
1553
|
*/
|
|
1484
|
-
declare function fetchTerms(taxonomyName: string): Promise<TaxonomyTerm[]>;
|
|
1554
|
+
declare function fetchTerms(taxonomyName: string, options?: LocaleOptions$1): Promise<TaxonomyTerm[]>;
|
|
1485
1555
|
/**
|
|
1486
1556
|
* Create a term
|
|
1487
1557
|
*/
|
|
@@ -1489,11 +1559,22 @@ declare function createTerm(taxonomyName: string, input: CreateTermInput): Promi
|
|
|
1489
1559
|
/**
|
|
1490
1560
|
* Update a term
|
|
1491
1561
|
*/
|
|
1492
|
-
declare function updateTerm(taxonomyName: string, slug: string, input: UpdateTermInput): Promise<TaxonomyTerm>;
|
|
1562
|
+
declare function updateTerm(taxonomyName: string, slug: string, input: UpdateTermInput, options?: LocaleOptions$1): Promise<TaxonomyTerm>;
|
|
1493
1563
|
/**
|
|
1494
1564
|
* Delete a term
|
|
1495
1565
|
*/
|
|
1496
|
-
declare function deleteTerm(taxonomyName: string, slug: string): Promise<void>;
|
|
1566
|
+
declare function deleteTerm(taxonomyName: string, slug: string, options?: LocaleOptions$1): Promise<void>;
|
|
1567
|
+
/** List every translation (locale variant) of a term. */
|
|
1568
|
+
declare function fetchTermTranslations(taxonomyName: string, slug: string, options?: LocaleOptions$1): Promise<TermTranslationsResponse>;
|
|
1569
|
+
/**
|
|
1570
|
+
* Create a new locale translation of a term. The new term inherits slug,
|
|
1571
|
+
* label, parent, and description from the source unless overridden in `input`.
|
|
1572
|
+
*/
|
|
1573
|
+
declare function createTermTranslation(taxonomyName: string, slug: string, input: {
|
|
1574
|
+
locale: string;
|
|
1575
|
+
label?: string;
|
|
1576
|
+
slug?: string;
|
|
1577
|
+
}, options?: LocaleOptions$1): Promise<TaxonomyTerm>;
|
|
1497
1578
|
//#endregion
|
|
1498
1579
|
//#region src/lib/api/import.d.ts
|
|
1499
1580
|
/**
|
|
@@ -2054,11 +2135,16 @@ declare function uninstallMarketplacePlugin(id: string, opts?: UninstallPluginOp
|
|
|
2054
2135
|
* GET /_emdash/api/admin/plugins/updates
|
|
2055
2136
|
*/
|
|
2056
2137
|
declare function checkPluginUpdates(): Promise<PluginUpdateInfo[]>;
|
|
2057
|
-
/**
|
|
2138
|
+
/**
|
|
2139
|
+
* Human-readable labels for plugin capabilities.
|
|
2140
|
+
*
|
|
2141
|
+
* Canonical names are the keys; legacy names alias to the same labels so
|
|
2142
|
+
* old manifests still render meaningful copy until they're republished.
|
|
2143
|
+
*/
|
|
2058
2144
|
declare const CAPABILITY_LABELS: Record<string, string>;
|
|
2059
2145
|
/**
|
|
2060
2146
|
* Get a human-readable description for a capability.
|
|
2061
|
-
* For network
|
|
2147
|
+
* For scoped network capabilities, appends the allowed hosts if provided.
|
|
2062
2148
|
*/
|
|
2063
2149
|
declare function describeCapability(capability: string, allowedHosts?: string[]): string;
|
|
2064
2150
|
//#endregion
|
|
@@ -2316,6 +2402,10 @@ interface PluginBlockDef {
|
|
|
2316
2402
|
placeholder?: string;
|
|
2317
2403
|
/** Block Kit form fields. If declared, replaces the simple URL input. */
|
|
2318
2404
|
fields?: Element[];
|
|
2405
|
+
/**
|
|
2406
|
+
* Optional display category in the slash menu. Defaults to "Embeds" when omitted.
|
|
2407
|
+
*/
|
|
2408
|
+
category?: string;
|
|
2319
2409
|
}
|
|
2320
2410
|
//#endregion
|
|
2321
2411
|
//#region src/components/PortableTextEditor.d.ts
|
|
@@ -2389,8 +2479,10 @@ interface PortableTextEditorProps {
|
|
|
2389
2479
|
focusMode?: FocusMode;
|
|
2390
2480
|
/** Callback when focus mode changes */
|
|
2391
2481
|
onFocusModeChange?: (mode: FocusMode) => void;
|
|
2392
|
-
/** Callback to receive the editor instance for external integrations
|
|
2393
|
-
|
|
2482
|
+
/** Callback to receive the editor instance for external integrations.
|
|
2483
|
+
* Called with the editor on mount, and with `null` on unmount so consumers
|
|
2484
|
+
* can clear stale references (e.g. before the next instance mounts). */
|
|
2485
|
+
onEditorReady?: (editor: Editor | null) => void;
|
|
2394
2486
|
/** Minimal chrome - hides toolbar, border, footer (distraction-free mode) */
|
|
2395
2487
|
minimal?: boolean;
|
|
2396
2488
|
/** Callback when a block node requests sidebar space (e.g. image settings) */
|
|
@@ -2422,10 +2514,14 @@ interface FieldDescriptor {
|
|
|
2422
2514
|
kind: string;
|
|
2423
2515
|
label?: string;
|
|
2424
2516
|
required?: boolean;
|
|
2517
|
+
/**
|
|
2518
|
+
* For `select` / `multiSelect`: the list of enum choices.
|
|
2519
|
+
* For `json` fields driven by a plugin `widget`: arbitrary widget config.
|
|
2520
|
+
*/
|
|
2425
2521
|
options?: Array<{
|
|
2426
2522
|
value: string;
|
|
2427
2523
|
label: string;
|
|
2428
|
-
}>;
|
|
2524
|
+
}> | Record<string, unknown>;
|
|
2429
2525
|
widget?: string;
|
|
2430
2526
|
validation?: Record<string, unknown>;
|
|
2431
2527
|
}
|
|
@@ -2586,13 +2682,27 @@ interface MediaPickerModalProps {
|
|
|
2586
2682
|
/** Filter by mime type prefix, e.g. "image/" */
|
|
2587
2683
|
mimeTypeFilter?: string;
|
|
2588
2684
|
title?: string;
|
|
2685
|
+
/**
|
|
2686
|
+
* Hide the "Insert from URL" input. Defaults to false.
|
|
2687
|
+
* The URL input probes image dimensions and is only meaningful for image pickers,
|
|
2688
|
+
* so non-image pickers (e.g. generic file pickers) should hide it.
|
|
2689
|
+
*/
|
|
2690
|
+
hideUrlInput?: boolean;
|
|
2691
|
+
/**
|
|
2692
|
+
* What kind of media this picker is for. Drives user-facing copy
|
|
2693
|
+
* (default title, empty-state message, upload button label, empty-state icon).
|
|
2694
|
+
* Defaults to "image" — set to "file" for generic file pickers.
|
|
2695
|
+
*/
|
|
2696
|
+
mediaKind?: "image" | "file";
|
|
2589
2697
|
}
|
|
2590
2698
|
declare function MediaPickerModal({
|
|
2591
2699
|
open,
|
|
2592
2700
|
onOpenChange,
|
|
2593
2701
|
onSelect,
|
|
2594
2702
|
mimeTypeFilter,
|
|
2595
|
-
title: providedTitle
|
|
2703
|
+
title: providedTitle,
|
|
2704
|
+
hideUrlInput,
|
|
2705
|
+
mediaKind
|
|
2596
2706
|
}: MediaPickerModalProps): react_jsx_runtime0.JSX.Element;
|
|
2597
2707
|
//#endregion
|
|
2598
2708
|
//#region src/components/Settings.d.ts
|
|
@@ -2619,6 +2729,43 @@ declare function SaveButton({
|
|
|
2619
2729
|
...props
|
|
2620
2730
|
}: SaveButtonProps): react_jsx_runtime0.JSX.Element;
|
|
2621
2731
|
//#endregion
|
|
2732
|
+
//#region src/components/EditorHeader.d.ts
|
|
2733
|
+
interface EditorHeaderProps {
|
|
2734
|
+
/** Optional leading element, typically a back-link or close button. */
|
|
2735
|
+
leading?: React$1.ReactNode;
|
|
2736
|
+
/** Header title content. Pass a heading element so semantics are correct. */
|
|
2737
|
+
children: React$1.ReactNode;
|
|
2738
|
+
/** Right-aligned action area (Save, Publish, etc.). */
|
|
2739
|
+
actions?: React$1.ReactNode;
|
|
2740
|
+
/**
|
|
2741
|
+
* When `true`, the header sticks to the top of its scroll container.
|
|
2742
|
+
* Defaults to `true`. Set to `false` to render a static header (e.g. when
|
|
2743
|
+
* the parent wants to control positioning, or when the page itself is in
|
|
2744
|
+
* a special mode like distraction-free).
|
|
2745
|
+
*/
|
|
2746
|
+
sticky?: boolean;
|
|
2747
|
+
className?: string;
|
|
2748
|
+
}
|
|
2749
|
+
/**
|
|
2750
|
+
* Sticky editor header with consistent placement of save / primary actions.
|
|
2751
|
+
*
|
|
2752
|
+
* Usage:
|
|
2753
|
+
*
|
|
2754
|
+
* <EditorHeader
|
|
2755
|
+
* leading={<BackLink />}
|
|
2756
|
+
* actions={<SaveButton ... />}
|
|
2757
|
+
* >
|
|
2758
|
+
* <h1 className="text-2xl font-bold">{title}</h1>
|
|
2759
|
+
* </EditorHeader>
|
|
2760
|
+
*/
|
|
2761
|
+
declare function EditorHeader({
|
|
2762
|
+
leading,
|
|
2763
|
+
children,
|
|
2764
|
+
actions,
|
|
2765
|
+
sticky,
|
|
2766
|
+
className
|
|
2767
|
+
}: EditorHeaderProps): react_jsx_runtime0.JSX.Element;
|
|
2768
|
+
//#endregion
|
|
2622
2769
|
//#region src/components/auth/PasskeyRegistration.d.ts
|
|
2623
2770
|
/**
|
|
2624
2771
|
* PasskeyRegistration - WebAuthn credential registration component
|
|
@@ -2744,5 +2891,5 @@ declare function SetupWizard(): react_jsx_runtime0.JSX.Element | null;
|
|
|
2744
2891
|
*/
|
|
2745
2892
|
declare function cn(...inputs: ClassValue[]): string;
|
|
2746
2893
|
//#endregion
|
|
2747
|
-
export { API_BASE, API_TOKEN_SCOPES, AdminApp, AdminApp as App, type AdminComment, type AdminManifest, type AllowedDomain, type ApiTokenCreateResult, type ApiTokenInfo, type ApiTokenScopeValue, type AttachmentInfo, type AuthProviderModule, AuthProviderProvider, type AuthProviders, type AuthorMapping, type BulkAction, type BylineCreditInput, type BylineInput, type BylineSummary, CAPABILITY_LABELS, type CollectionSchemaStatus, type CollectionStats, type CommentCounts, type CommentStatus, ContentEditor, type ContentEditorProps, type ContentItem, ContentList, type ContentListProps, type ContentSeo, type ContentSeoInput, type CreateAllowedDomainInput, type CreateApiTokenInput, type CreateCollectionInput, type CreateContentInput, type CreateFieldInput, type CreateMenuInput, type CreateMenuItemInput, type CreateRedirectInput, type CreateSectionInput, type CreateTaxonomyInput, type CreateTermInput, type CreateWidgetAreaInput, type CreateWidgetInput, type CurrentUser, type CustomTaxonomy, DEFAULT_LOCALE, Dashboard, type DashboardProps, type DashboardStats, type EmailProvider, type EmailSettings, type FieldCompatibility, type FieldDescriptor, type FieldType, type FindManyResult, type GetSectionsOptions, Header, type ImportConfig, type ImportFieldDef, type ImportResult, type InstallPluginOpts, type InviteVerifyResult, Link, LoginPage, type MarketplaceAuditSummary, type MarketplaceAuthor, type MarketplaceImageAuditSummary, type MarketplacePluginDetail, type MarketplacePluginSummary, type MarketplaceSearchOpts, type MarketplaceSearchResult, type MarketplaceVersion, type MediaImportProgress, type MediaImportResult, type MediaItem, MediaLibrary, type MediaLibraryProps, MediaPickerModal, type MediaPickerModalProps, type MediaProviderCapabilities, type MediaProviderInfo, type MediaProviderItem, type Menu, type MenuItem, type MenuWithItems, type NavMenu, type NotFoundSummary, type OrphanedTable, type PasskeyInfo, PasskeyLogin, type PasskeyLoginProps, PasskeyRegistration, type PasskeyRegistrationProps, type PluginAdminModule, PluginAdminProvider, type PluginAdmins, type PluginInfo, type PluginUpdateInfo, PortableTextEditor, type PortableTextEditorProps, type PostTypeAnalysis, type PrepareRequest, type PrepareResult, type PreviewUrlResponse, type ProbeResult, type RecentItem, type Redirect, type RedirectListOptions, type RedirectListResult, type ReorderMenuItemsInput, type Revision, type RevisionListResponse, type RewriteUrlsResult, SUPPORTED_LOCALES, SUPPORTED_LOCALE_CODES, SaveButton, type SaveButtonProps, type SchemaCollection, type SchemaCollectionWithFields, type SchemaField, type SearchEnableResult, type Section, type SectionSource, type SectionsResult, Settings, SetupWizard, Shell, type ShellProps, KumoSidebar as Sidebar, SidebarNav, type SidebarNavProps, type SignupVerifyResult, type SiteSettings, type SourceAuth, type SourceCapabilities, type SourceProbeResult, type SuggestedAction, type LocaleDefinition as SupportedLocale, type TaxonomyDef, type TaxonomyTerm, type ThemeAuthor, type ThemeAuthorDetail, type ThemeDetail, type ThemeSearchOpts, type ThemeSearchResult, type ThemeSummary, type TranslationSummary, type TranslationsResponse, type TrashedContentItem, type UninstallPluginOpts, type UpdateAllowedDomainInput, type UpdateCollectionInput, type UpdateContentInput, type UpdateFieldInput, type UpdateMenuInput, type UpdateMenuItemInput, type UpdatePluginOpts, type UpdateRedirectInput, type UpdateSectionInput, type UpdateTermInput, type UpdateUserInput, type UpdateWidgetInput, type UserDetail, type UserListItem, type Widget, type WidgetArea, type WidgetComponent, type WpAuthorInfo, type WpPluginAnalysis, type WxrAnalysis, analyzeWpPluginSite, analyzeWxr, apiFetch, bulkCommentAction, checkPluginUpdates, cn, compareRevisions, completeSignup, createAdminRouter, createAllowedDomain, createApiToken, createByline, createCollection, createContent, createField, createMenu, createMenuItem, createRedirect, createSection, createTaxonomy, createTerm, createWidget, createWidgetArea, deleteAllowedDomain, deleteByline, deleteCollection, deleteComment, deleteContent, deleteField, deleteFromProvider, deleteMedia, deleteMenu, deleteMenuItem, deletePasskey, deleteRedirect, deleteSection, deleteTerm, deleteWidget, deleteWidgetArea, describeCapability, disablePlugin, disableUser, discardDraft, duplicateContent, enablePlugin, enableUser, executeWpPluginImport, executeWxrImport, fetch404Summary, fetchAllowedDomains, fetchApiTokens, fetchAuthMode, fetchByline, fetchBylines, fetchCollection, fetchCollections, fetchComment, fetchCommentCounts, fetchComments, fetchContent, fetchContentList, fetchDashboardStats, fetchEmailSettings, fetchFields, fetchManifest, fetchMarketplacePlugin, fetchMediaList, fetchMediaProviders, fetchMenu, fetchMenus, fetchOrphanedTables, fetchPasskeys, fetchPlugin, fetchPlugins, fetchProviderMedia, fetchRedirects, fetchRevision, fetchRevisions, fetchSection, fetchSections, fetchSettings, fetchTaxonomyDef, fetchTaxonomyDefs, fetchTerms, fetchTheme, fetchTranslations, fetchTrashedContent, fetchUser, fetchUsers, fetchWidgetArea, fetchWidgetAreas, fetchWidgetComponents, generatePreviewUrl, getDraftStatus, getPreviewUrl, hasAllowedDomains, importWxrMedia, installMarketplacePlugin, inviteUser, parseApiResponse, permanentDeleteContent, prepareWxrImport, probeImportUrl, publishContent, registerOrphanedTable, renamePasskey, reorderFields, reorderMenuItems, reorderWidgets, requestSignup, resolveLocale, restoreContent, restoreRevision, revokeApiToken, rewriteContentUrls, scheduleContent, searchMarketplace, searchThemes, sendRecoveryLink, sendTestEmail, setSearchEnabled, throwResponseError, uninstallMarketplacePlugin, unpublishContent, unscheduleContent, updateAllowedDomain, updateByline, updateCollection, updateCommentStatus, updateContent, updateField, updateMarketplacePlugin, updateMedia, updateMenu, updateMenuItem, updateRedirect, updateSection, updateSettings, updateTerm, updateUser, updateWidget, uploadMedia, uploadToProvider, useAuthProviderList, useAuthProviders, useCurrentUser, useLocale, useNavigate, useParams, usePluginAdmins, usePluginField, usePluginHasPages, usePluginHasWidgets, usePluginPage, usePluginWidget, validateInviteToken, verifySignupToken };
|
|
2894
|
+
export { API_BASE, API_TOKEN_SCOPES, AdminApp, AdminApp as App, type AdminComment, type AdminManifest, type AllowedDomain, type ApiTokenCreateResult, type ApiTokenInfo, type ApiTokenScopeValue, type AttachmentInfo, type AuthProviderModule, AuthProviderProvider, type AuthProviders, type AuthorMapping, type BulkAction, type BylineCreditInput, type BylineInput, type BylineSummary, CAPABILITY_LABELS, type CollectionSchemaStatus, type CollectionStats, type CommentCounts, type CommentStatus, ContentEditor, type ContentEditorProps, type ContentItem, ContentList, type ContentListProps, type ContentSeo, type ContentSeoInput, type CreateAllowedDomainInput, type CreateApiTokenInput, type CreateCollectionInput, type CreateContentInput, type CreateFieldInput, type CreateMenuInput, type CreateMenuItemInput, type CreateRedirectInput, type CreateSectionInput, type CreateTaxonomyInput, type CreateTermInput, type CreateWidgetAreaInput, type CreateWidgetInput, type CurrentUser, type CustomTaxonomy, DEFAULT_LOCALE, Dashboard, type DashboardProps, type DashboardStats, EditorHeader, type EditorHeaderProps, type EmailProvider, type EmailSettings, type FieldCompatibility, type FieldDescriptor, type FieldType, type FindManyResult, type GetSectionsOptions, Header, type ImportConfig, type ImportFieldDef, type ImportResult, type InstallPluginOpts, type InviteVerifyResult, Link, LoginPage, type MarketplaceAuditSummary, type MarketplaceAuthor, type MarketplaceImageAuditSummary, type MarketplacePluginDetail, type MarketplacePluginSummary, type MarketplaceSearchOpts, type MarketplaceSearchResult, type MarketplaceVersion, type MediaImportProgress, type MediaImportResult, type MediaItem, MediaLibrary, type MediaLibraryProps, MediaPickerModal, type MediaPickerModalProps, type MediaProviderCapabilities, type MediaProviderInfo, type MediaProviderItem, type Menu, type MenuItem, type LocaleOptions as MenuLocaleOptions, type MenuTranslation, type MenuTranslationsResponse, type MenuWithItems, type NavMenu, type NotFoundSummary, type OrphanedTable, type PasskeyInfo, PasskeyLogin, type PasskeyLoginProps, PasskeyRegistration, type PasskeyRegistrationProps, type PluginAdminModule, PluginAdminProvider, type PluginAdmins, type PluginInfo, type PluginUpdateInfo, PortableTextEditor, type PortableTextEditorProps, type PostTypeAnalysis, type PrepareRequest, type PrepareResult, type PreviewUrlResponse, type ProbeResult, type RecentItem, type Redirect, type RedirectListOptions, type RedirectListResult, type ReorderMenuItemsInput, type Revision, type RevisionListResponse, type RewriteUrlsResult, SUPPORTED_LOCALES, SUPPORTED_LOCALE_CODES, SaveButton, type SaveButtonProps, type SchemaCollection, type SchemaCollectionWithFields, type SchemaField, type SearchEnableResult, type Section, type SectionSource, type SectionsResult, Settings, SetupWizard, Shell, type ShellProps, KumoSidebar as Sidebar, SidebarNav, type SidebarNavProps, type SignupVerifyResult, type SiteSettings, type SourceAuth, type SourceCapabilities, type SourceProbeResult, type SuggestedAction, type LocaleDefinition as SupportedLocale, type TaxonomyDef, type TaxonomyTerm, type TermTranslation, type TermTranslationsResponse, type ThemeAuthor, type ThemeAuthorDetail, type ThemeDetail, type ThemeSearchOpts, type ThemeSearchResult, type ThemeSummary, type TranslationSummary, type TranslationsResponse, type TrashedContentItem, type UninstallPluginOpts, type UpdateAllowedDomainInput, type UpdateCollectionInput, type UpdateContentInput, type UpdateFieldInput, type UpdateMenuInput, type UpdateMenuItemInput, type UpdatePluginOpts, type UpdateRedirectInput, type UpdateSectionInput, type UpdateTermInput, type UpdateUserInput, type UpdateWidgetInput, type UserDetail, type UserListItem, type Widget, type WidgetArea, type WidgetComponent, type WpAuthorInfo, type WpPluginAnalysis, type WxrAnalysis, analyzeWpPluginSite, analyzeWxr, apiFetch, bulkCommentAction, checkPluginUpdates, cn, compareRevisions, completeSignup, createAdminRouter, createAllowedDomain, createApiToken, createByline, createCollection, createContent, createField, createMenu, createMenuItem, createMenuTranslation, createRedirect, createSection, createTaxonomy, createTerm, createTermTranslation, createWidget, createWidgetArea, deleteAllowedDomain, deleteByline, deleteCollection, deleteComment, deleteContent, deleteField, deleteFromProvider, deleteMedia, deleteMenu, deleteMenuItem, deletePasskey, deleteRedirect, deleteSection, deleteTerm, deleteWidget, deleteWidgetArea, describeCapability, disablePlugin, disableUser, discardDraft, duplicateContent, enablePlugin, enableUser, executeWpPluginImport, executeWxrImport, fetch404Summary, fetchAllowedDomains, fetchApiTokens, fetchAuthMode, fetchByline, fetchBylines, fetchCollection, fetchCollections, fetchComment, fetchCommentCounts, fetchComments, fetchContent, fetchContentList, fetchDashboardStats, fetchEmailSettings, fetchFields, fetchManifest, fetchMarketplacePlugin, fetchMediaList, fetchMediaProviders, fetchMenu, fetchMenuTranslations, fetchMenus, fetchOrphanedTables, fetchPasskeys, fetchPlugin, fetchPlugins, fetchProviderMedia, fetchRedirects, fetchRevision, fetchRevisions, fetchSection, fetchSections, fetchSettings, fetchTaxonomyDef, fetchTaxonomyDefs, fetchTermTranslations, fetchTerms, fetchTheme, fetchTranslations, fetchTrashedContent, fetchUser, fetchUsers, fetchWidgetArea, fetchWidgetAreas, fetchWidgetComponents, generatePreviewUrl, getDraftStatus, getPreviewUrl, hasAllowedDomains, importWxrMedia, installMarketplacePlugin, inviteUser, parseApiResponse, permanentDeleteContent, prepareWxrImport, probeImportUrl, publishContent, registerOrphanedTable, renamePasskey, reorderFields, reorderMenuItems, reorderWidgets, requestSignup, resolveLocale, restoreContent, restoreRevision, revokeApiToken, rewriteContentUrls, scheduleContent, searchMarketplace, searchThemes, sendRecoveryLink, sendTestEmail, setSearchEnabled, throwResponseError, uninstallMarketplacePlugin, unpublishContent, unscheduleContent, updateAllowedDomain, updateByline, updateCollection, updateCommentStatus, updateContent, updateField, updateMarketplacePlugin, updateMedia, updateMenu, updateMenuItem, updateRedirect, updateSection, updateSettings, updateTerm, updateUser, updateWidget, uploadMedia, uploadToProvider, useAuthProviderList, useAuthProviders, useCurrentUser, useLocale, useNavigate, useParams, usePluginAdmins, usePluginField, usePluginHasPages, usePluginHasWidgets, usePluginPage, usePluginWidget, validateInviteToken, verifySignupToken };
|
|
2748
2895
|
//# sourceMappingURL=index.d.ts.map
|