@emdash-cms/admin 0.9.0 → 0.11.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-BGcmv_N7.js → LocaleDirectionProvider-PhIYobDG.js} +28 -22
- package/dist/LocaleDirectionProvider-PhIYobDG.js.map +1 -0
- package/dist/{config-YdN-uv6S.d.ts → config-ZP4qGbGk.d.ts} +3 -3
- package/dist/{config-YdN-uv6S.d.ts.map → config-ZP4qGbGk.d.ts.map} +1 -1
- package/dist/index.d.ts +149 -57
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4797 -2607
- 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/es-ES/messages.mjs +1 -0
- 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 -1
- 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-0WS1kU2r.js +6 -0
- package/dist/messages-0WS1kU2r.js.map +1 -0
- package/dist/messages-B3nZXT9a.js +6 -0
- package/dist/messages-B3nZXT9a.js.map +1 -0
- package/dist/messages-BHe7DjK4.js +6 -0
- package/dist/messages-BHe7DjK4.js.map +1 -0
- package/dist/messages-BNm9xWl9.js +6 -0
- package/dist/messages-BNm9xWl9.js.map +1 -0
- package/dist/messages-Bf6-l0VR.js +6 -0
- package/dist/messages-Bf6-l0VR.js.map +1 -0
- package/dist/messages-C2QjBo2p.js +6 -0
- package/dist/messages-C2QjBo2p.js.map +1 -0
- package/dist/messages-CAYw_5r5.js +6 -0
- package/dist/messages-CAYw_5r5.js.map +1 -0
- package/dist/messages-CBAO8mkk.js +6 -0
- package/dist/messages-CBAO8mkk.js.map +1 -0
- package/dist/messages-CNsSgfXs.js +6 -0
- package/dist/messages-CNsSgfXs.js.map +1 -0
- package/dist/messages-CgrjHEi_.js +6 -0
- package/dist/messages-CgrjHEi_.js.map +1 -0
- package/dist/messages-DCoCdFuY.js +6 -0
- package/dist/messages-DCoCdFuY.js.map +1 -0
- package/dist/messages-DdvAysPo.js +6 -0
- package/dist/messages-DdvAysPo.js.map +1 -0
- package/dist/messages-Di1aYzxi.js +6 -0
- package/dist/messages-Di1aYzxi.js.map +1 -0
- package/dist/messages-NtPfr5Dr.js +6 -0
- package/dist/messages-NtPfr5Dr.js.map +1 -0
- package/dist/messages-Y1VN2Mk3.js +6 -0
- package/dist/messages-Y1VN2Mk3.js.map +1 -0
- package/dist/messages-cjsZTyVv.js +6 -0
- package/dist/messages-cjsZTyVv.js.map +1 -0
- package/dist/{plugins-DUJY_8HN.js → plugins-qrjvPK4g.js} +15 -4
- package/dist/plugins-qrjvPK4g.js.map +1 -0
- package/dist/styles.css +1 -1
- package/package.json +8 -4
- package/dist/LocaleDirectionProvider-BGcmv_N7.js.map +0 -1
- package/dist/messages-B2njiT3N.js +0 -6
- package/dist/messages-B2njiT3N.js.map +0 -1
- package/dist/messages-BH4d_eo3.js +0 -6
- package/dist/messages-BH4d_eo3.js.map +0 -1
- package/dist/messages-BI3LQfHj.js +0 -6
- package/dist/messages-BI3LQfHj.js.map +0 -1
- package/dist/messages-BLk7kRSt.js +0 -6
- package/dist/messages-BLk7kRSt.js.map +0 -1
- package/dist/messages-C0fFDufP.js +0 -6
- package/dist/messages-C0fFDufP.js.map +0 -1
- package/dist/messages-C2W1GOne.js +0 -6
- package/dist/messages-C2W1GOne.js.map +0 -1
- package/dist/messages-C7bn0sIO.js +0 -6
- package/dist/messages-C7bn0sIO.js.map +0 -1
- package/dist/messages-CKVC1F84.js +0 -6
- package/dist/messages-CKVC1F84.js.map +0 -1
- package/dist/messages-D6pXx3hr.js +0 -6
- package/dist/messages-D6pXx3hr.js.map +0 -1
- package/dist/messages-DQUgrzIz.js +0 -6
- package/dist/messages-DQUgrzIz.js.map +0 -1
- package/dist/messages-DfGxk-9q.js +0 -6
- package/dist/messages-DfGxk-9q.js.map +0 -1
- package/dist/messages-Dkb9TndV.js +0 -6
- package/dist/messages-Dkb9TndV.js.map +0 -1
- package/dist/messages-DzS9GmJY.js +0 -6
- package/dist/messages-DzS9GmJY.js.map +0 -1
- package/dist/messages-FaHuWwRM.js +0 -6
- package/dist/messages-FaHuWwRM.js.map +0 -1
- package/dist/messages-lrnW_v3N.js +0 -6
- package/dist/messages-lrnW_v3N.js.map +0 -1
- package/dist/plugins-DUJY_8HN.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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-ZP4qGbGk.js";
|
|
2
2
|
import "./locales/index.js";
|
|
3
3
|
import { Button, Sidebar as KumoSidebar } from "@cloudflare/kumo";
|
|
4
|
-
import { Messages } from "@lingui/core";
|
|
4
|
+
import { MessageDescriptor, Messages } from "@lingui/core";
|
|
5
5
|
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;
|
|
@@ -264,6 +266,7 @@ interface AdminManifest {
|
|
|
264
266
|
hasSeo: boolean;
|
|
265
267
|
urlPattern?: string;
|
|
266
268
|
fields: Record<string, {
|
|
269
|
+
/** Database row ID (ULID) for the field. Used to widen MIME allowlists on upload/media-list calls. */id?: string;
|
|
267
270
|
kind: string;
|
|
268
271
|
label?: string;
|
|
269
272
|
required?: boolean;
|
|
@@ -653,7 +656,7 @@ interface MediaItem {
|
|
|
653
656
|
declare function fetchMediaList(options?: {
|
|
654
657
|
cursor?: string;
|
|
655
658
|
limit?: number;
|
|
656
|
-
mimeType?: string;
|
|
659
|
+
mimeType?: string | string[];
|
|
657
660
|
}): Promise<FindManyResult<MediaItem>>;
|
|
658
661
|
/**
|
|
659
662
|
* Upload media file
|
|
@@ -661,7 +664,9 @@ declare function fetchMediaList(options?: {
|
|
|
661
664
|
* Tries signed URL upload first (for S3/R2 storage), falls back to direct upload
|
|
662
665
|
* (for local storage) if signed URLs are not supported.
|
|
663
666
|
*/
|
|
664
|
-
declare function uploadMedia(file: File
|
|
667
|
+
declare function uploadMedia(file: File, opts?: {
|
|
668
|
+
fieldId?: string;
|
|
669
|
+
}): Promise<MediaItem>;
|
|
665
670
|
/**
|
|
666
671
|
* Delete media
|
|
667
672
|
*/
|
|
@@ -712,7 +717,7 @@ declare function fetchProviderMedia(providerId: string, options?: {
|
|
|
712
717
|
cursor?: string;
|
|
713
718
|
limit?: number;
|
|
714
719
|
query?: string;
|
|
715
|
-
mimeType?: string;
|
|
720
|
+
mimeType?: string | string[];
|
|
716
721
|
}): Promise<FindManyResult<MediaProviderItem>>;
|
|
717
722
|
/**
|
|
718
723
|
* Upload media to a specific provider
|
|
@@ -764,6 +769,7 @@ interface SchemaField {
|
|
|
764
769
|
maxLength?: number;
|
|
765
770
|
pattern?: string;
|
|
766
771
|
options?: string[];
|
|
772
|
+
allowedMimeTypes?: string[];
|
|
767
773
|
};
|
|
768
774
|
widget?: string;
|
|
769
775
|
options?: Record<string, unknown>;
|
|
@@ -811,7 +817,8 @@ interface CreateFieldInput {
|
|
|
811
817
|
maxLength?: number;
|
|
812
818
|
pattern?: string;
|
|
813
819
|
options?: string[];
|
|
814
|
-
|
|
820
|
+
allowedMimeTypes?: string[];
|
|
821
|
+
} | null;
|
|
815
822
|
widget?: string;
|
|
816
823
|
options?: Record<string, unknown>;
|
|
817
824
|
}
|
|
@@ -828,7 +835,8 @@ interface UpdateFieldInput {
|
|
|
828
835
|
maxLength?: number;
|
|
829
836
|
pattern?: string;
|
|
830
837
|
options?: string[];
|
|
831
|
-
|
|
838
|
+
allowedMimeTypes?: string[];
|
|
839
|
+
} | null;
|
|
832
840
|
widget?: string;
|
|
833
841
|
options?: Record<string, unknown>;
|
|
834
842
|
sortOrder?: number;
|
|
@@ -1174,7 +1182,11 @@ declare function hasAllowedDomains(): Promise<boolean>;
|
|
|
1174
1182
|
//#endregion
|
|
1175
1183
|
//#region src/lib/api/menus.d.ts
|
|
1176
1184
|
/**
|
|
1177
|
-
* Menu management APIs
|
|
1185
|
+
* Menu management APIs.
|
|
1186
|
+
*
|
|
1187
|
+
* i18n: all endpoints accept an optional `locale`. When omitted, the server
|
|
1188
|
+
* returns or acts on all locales (legacy behaviour for clients that haven't
|
|
1189
|
+
* been updated yet).
|
|
1178
1190
|
*/
|
|
1179
1191
|
interface Menu {
|
|
1180
1192
|
id: string;
|
|
@@ -1183,6 +1195,8 @@ interface Menu {
|
|
|
1183
1195
|
created_at: string;
|
|
1184
1196
|
updated_at: string;
|
|
1185
1197
|
itemCount?: number;
|
|
1198
|
+
locale: string;
|
|
1199
|
+
translation_group: string | null;
|
|
1186
1200
|
}
|
|
1187
1201
|
interface MenuItem {
|
|
1188
1202
|
id: string;
|
|
@@ -1198,13 +1212,28 @@ interface MenuItem {
|
|
|
1198
1212
|
target: string | null;
|
|
1199
1213
|
css_classes: string | null;
|
|
1200
1214
|
created_at: string;
|
|
1215
|
+
locale: string;
|
|
1216
|
+
translation_group: string | null;
|
|
1201
1217
|
}
|
|
1202
1218
|
interface MenuWithItems extends Menu {
|
|
1203
1219
|
items: MenuItem[];
|
|
1204
1220
|
}
|
|
1221
|
+
interface MenuTranslation {
|
|
1222
|
+
id: string;
|
|
1223
|
+
name: string;
|
|
1224
|
+
label: string;
|
|
1225
|
+
locale: string;
|
|
1226
|
+
updatedAt: string;
|
|
1227
|
+
}
|
|
1228
|
+
interface MenuTranslationsResponse {
|
|
1229
|
+
translationGroup: string | null;
|
|
1230
|
+
translations: MenuTranslation[];
|
|
1231
|
+
}
|
|
1205
1232
|
interface CreateMenuInput {
|
|
1206
1233
|
name: string;
|
|
1207
1234
|
label: string;
|
|
1235
|
+
locale?: string;
|
|
1236
|
+
translationOf?: string;
|
|
1208
1237
|
}
|
|
1209
1238
|
interface UpdateMenuInput {
|
|
1210
1239
|
label?: string;
|
|
@@ -1237,14 +1266,17 @@ interface ReorderMenuItemsInput {
|
|
|
1237
1266
|
sortOrder: number;
|
|
1238
1267
|
}>;
|
|
1239
1268
|
}
|
|
1269
|
+
interface LocaleOptions {
|
|
1270
|
+
locale?: string;
|
|
1271
|
+
}
|
|
1240
1272
|
/**
|
|
1241
1273
|
* Fetch all menus
|
|
1242
1274
|
*/
|
|
1243
|
-
declare function fetchMenus(): Promise<Menu[]>;
|
|
1275
|
+
declare function fetchMenus(options?: LocaleOptions): Promise<Menu[]>;
|
|
1244
1276
|
/**
|
|
1245
1277
|
* Fetch a single menu with items
|
|
1246
1278
|
*/
|
|
1247
|
-
declare function fetchMenu(name: string): Promise<MenuWithItems>;
|
|
1279
|
+
declare function fetchMenu(name: string, options?: LocaleOptions): Promise<MenuWithItems>;
|
|
1248
1280
|
/**
|
|
1249
1281
|
* Create a menu
|
|
1250
1282
|
*/
|
|
@@ -1252,27 +1284,37 @@ declare function createMenu(input: CreateMenuInput): Promise<Menu>;
|
|
|
1252
1284
|
/**
|
|
1253
1285
|
* Update a menu
|
|
1254
1286
|
*/
|
|
1255
|
-
declare function updateMenu(name: string, input: UpdateMenuInput): Promise<Menu>;
|
|
1287
|
+
declare function updateMenu(name: string, input: UpdateMenuInput, options?: LocaleOptions): Promise<Menu>;
|
|
1256
1288
|
/**
|
|
1257
1289
|
* Delete a menu
|
|
1258
1290
|
*/
|
|
1259
|
-
declare function deleteMenu(name: string): Promise<void>;
|
|
1291
|
+
declare function deleteMenu(name: string, options?: LocaleOptions): Promise<void>;
|
|
1260
1292
|
/**
|
|
1261
1293
|
* Create a menu item
|
|
1262
1294
|
*/
|
|
1263
|
-
declare function createMenuItem(menuName: string, input: CreateMenuItemInput): Promise<MenuItem>;
|
|
1295
|
+
declare function createMenuItem(menuName: string, input: CreateMenuItemInput, options?: LocaleOptions): Promise<MenuItem>;
|
|
1264
1296
|
/**
|
|
1265
1297
|
* Update a menu item
|
|
1266
1298
|
*/
|
|
1267
|
-
declare function updateMenuItem(menuName: string, itemId: string, input: UpdateMenuItemInput): Promise<MenuItem>;
|
|
1299
|
+
declare function updateMenuItem(menuName: string, itemId: string, input: UpdateMenuItemInput, options?: LocaleOptions): Promise<MenuItem>;
|
|
1268
1300
|
/**
|
|
1269
1301
|
* Delete a menu item
|
|
1270
1302
|
*/
|
|
1271
|
-
declare function deleteMenuItem(menuName: string, itemId: string): Promise<void>;
|
|
1303
|
+
declare function deleteMenuItem(menuName: string, itemId: string, options?: LocaleOptions): Promise<void>;
|
|
1272
1304
|
/**
|
|
1273
1305
|
* Reorder menu items
|
|
1274
1306
|
*/
|
|
1275
|
-
declare function reorderMenuItems(menuName: string, input: ReorderMenuItemsInput): Promise<MenuItem[]>;
|
|
1307
|
+
declare function reorderMenuItems(menuName: string, input: ReorderMenuItemsInput, options?: LocaleOptions): Promise<MenuItem[]>;
|
|
1308
|
+
/** List every translation (locale variant) of a menu. */
|
|
1309
|
+
declare function fetchMenuTranslations(name: string, options?: LocaleOptions): Promise<MenuTranslationsResponse>;
|
|
1310
|
+
/**
|
|
1311
|
+
* Create a new locale translation of a menu. The new menu inherits the
|
|
1312
|
+
* source's items and label unless overridden.
|
|
1313
|
+
*/
|
|
1314
|
+
declare function createMenuTranslation(name: string, input: {
|
|
1315
|
+
locale: string;
|
|
1316
|
+
label?: string;
|
|
1317
|
+
}, options?: LocaleOptions): Promise<Menu>;
|
|
1276
1318
|
//#endregion
|
|
1277
1319
|
//#region src/lib/api/widgets.d.ts
|
|
1278
1320
|
/**
|
|
@@ -1435,7 +1477,12 @@ declare function deleteSection(slug: string): Promise<void>;
|
|
|
1435
1477
|
//#endregion
|
|
1436
1478
|
//#region src/lib/api/taxonomies.d.ts
|
|
1437
1479
|
/**
|
|
1438
|
-
* Taxonomies API (categories, tags, custom taxonomies)
|
|
1480
|
+
* Taxonomies API (categories, tags, custom taxonomies).
|
|
1481
|
+
*
|
|
1482
|
+
* All endpoints are locale-aware. When no `locale` option is passed we omit
|
|
1483
|
+
* the query param and the server falls back to its usual resolution (no
|
|
1484
|
+
* filter, returning every locale — same as pre-i18n behaviour for clients
|
|
1485
|
+
* that haven't yet been updated).
|
|
1439
1486
|
*/
|
|
1440
1487
|
interface TaxonomyTerm {
|
|
1441
1488
|
id: string;
|
|
@@ -1446,6 +1493,8 @@ interface TaxonomyTerm {
|
|
|
1446
1493
|
description?: string;
|
|
1447
1494
|
children: TaxonomyTerm[];
|
|
1448
1495
|
count?: number;
|
|
1496
|
+
locale: string;
|
|
1497
|
+
translationGroup: string | null;
|
|
1449
1498
|
}
|
|
1450
1499
|
interface TaxonomyDef {
|
|
1451
1500
|
id: string;
|
|
@@ -1454,18 +1503,35 @@ interface TaxonomyDef {
|
|
|
1454
1503
|
labelSingular?: string;
|
|
1455
1504
|
hierarchical: boolean;
|
|
1456
1505
|
collections: string[];
|
|
1506
|
+
locale: string;
|
|
1507
|
+
translationGroup: string | null;
|
|
1508
|
+
}
|
|
1509
|
+
interface TermTranslation {
|
|
1510
|
+
id: string;
|
|
1511
|
+
slug: string;
|
|
1512
|
+
label: string;
|
|
1513
|
+
locale: string;
|
|
1514
|
+
}
|
|
1515
|
+
interface TermTranslationsResponse {
|
|
1516
|
+
translationGroup: string | null;
|
|
1517
|
+
translations: TermTranslation[];
|
|
1457
1518
|
}
|
|
1458
1519
|
interface CreateTaxonomyInput {
|
|
1459
1520
|
name: string;
|
|
1460
1521
|
label: string;
|
|
1522
|
+
labelSingular?: string;
|
|
1461
1523
|
hierarchical?: boolean;
|
|
1462
1524
|
collections?: string[];
|
|
1525
|
+
locale?: string;
|
|
1526
|
+
translationOf?: string;
|
|
1463
1527
|
}
|
|
1464
1528
|
interface CreateTermInput {
|
|
1465
1529
|
slug: string;
|
|
1466
1530
|
label: string;
|
|
1467
1531
|
parentId?: string;
|
|
1468
1532
|
description?: string;
|
|
1533
|
+
locale?: string;
|
|
1534
|
+
translationOf?: string;
|
|
1469
1535
|
}
|
|
1470
1536
|
interface UpdateTermInput {
|
|
1471
1537
|
slug?: string;
|
|
@@ -1473,14 +1539,17 @@ interface UpdateTermInput {
|
|
|
1473
1539
|
parentId?: string;
|
|
1474
1540
|
description?: string;
|
|
1475
1541
|
}
|
|
1542
|
+
interface LocaleOptions$1 {
|
|
1543
|
+
locale?: string;
|
|
1544
|
+
}
|
|
1476
1545
|
/**
|
|
1477
1546
|
* Fetch all taxonomy definitions
|
|
1478
1547
|
*/
|
|
1479
|
-
declare function fetchTaxonomyDefs(): Promise<TaxonomyDef[]>;
|
|
1548
|
+
declare function fetchTaxonomyDefs(options?: LocaleOptions$1): Promise<TaxonomyDef[]>;
|
|
1480
1549
|
/**
|
|
1481
1550
|
* Fetch taxonomy definition by name
|
|
1482
1551
|
*/
|
|
1483
|
-
declare function fetchTaxonomyDef(name: string): Promise<TaxonomyDef | null>;
|
|
1552
|
+
declare function fetchTaxonomyDef(name: string, options?: LocaleOptions$1): Promise<TaxonomyDef | null>;
|
|
1484
1553
|
/**
|
|
1485
1554
|
* Create a custom taxonomy definition
|
|
1486
1555
|
*/
|
|
@@ -1488,7 +1557,7 @@ declare function createTaxonomy(input: CreateTaxonomyInput): Promise<TaxonomyDef
|
|
|
1488
1557
|
/**
|
|
1489
1558
|
* Fetch terms for a taxonomy
|
|
1490
1559
|
*/
|
|
1491
|
-
declare function fetchTerms(taxonomyName: string): Promise<TaxonomyTerm[]>;
|
|
1560
|
+
declare function fetchTerms(taxonomyName: string, options?: LocaleOptions$1): Promise<TaxonomyTerm[]>;
|
|
1492
1561
|
/**
|
|
1493
1562
|
* Create a term
|
|
1494
1563
|
*/
|
|
@@ -1496,11 +1565,22 @@ declare function createTerm(taxonomyName: string, input: CreateTermInput): Promi
|
|
|
1496
1565
|
/**
|
|
1497
1566
|
* Update a term
|
|
1498
1567
|
*/
|
|
1499
|
-
declare function updateTerm(taxonomyName: string, slug: string, input: UpdateTermInput): Promise<TaxonomyTerm>;
|
|
1568
|
+
declare function updateTerm(taxonomyName: string, slug: string, input: UpdateTermInput, options?: LocaleOptions$1): Promise<TaxonomyTerm>;
|
|
1500
1569
|
/**
|
|
1501
1570
|
* Delete a term
|
|
1502
1571
|
*/
|
|
1503
|
-
declare function deleteTerm(taxonomyName: string, slug: string): Promise<void>;
|
|
1572
|
+
declare function deleteTerm(taxonomyName: string, slug: string, options?: LocaleOptions$1): Promise<void>;
|
|
1573
|
+
/** List every translation (locale variant) of a term. */
|
|
1574
|
+
declare function fetchTermTranslations(taxonomyName: string, slug: string, options?: LocaleOptions$1): Promise<TermTranslationsResponse>;
|
|
1575
|
+
/**
|
|
1576
|
+
* Create a new locale translation of a term. The new term inherits slug,
|
|
1577
|
+
* label, parent, and description from the source unless overridden in `input`.
|
|
1578
|
+
*/
|
|
1579
|
+
declare function createTermTranslation(taxonomyName: string, slug: string, input: {
|
|
1580
|
+
locale: string;
|
|
1581
|
+
label?: string;
|
|
1582
|
+
slug?: string;
|
|
1583
|
+
}, options?: LocaleOptions$1): Promise<TaxonomyTerm>;
|
|
1504
1584
|
//#endregion
|
|
1505
1585
|
//#region src/lib/api/import.d.ts
|
|
1506
1586
|
/**
|
|
@@ -2061,16 +2141,15 @@ declare function uninstallMarketplacePlugin(id: string, opts?: UninstallPluginOp
|
|
|
2061
2141
|
* GET /_emdash/api/admin/plugins/updates
|
|
2062
2142
|
*/
|
|
2063
2143
|
declare function checkPluginUpdates(): Promise<PluginUpdateInfo[]>;
|
|
2064
|
-
|
|
2065
|
-
* Human-readable labels for plugin capabilities.
|
|
2066
|
-
*
|
|
2067
|
-
* Canonical names are the keys; legacy names alias to the same labels so
|
|
2068
|
-
* old manifests still render meaningful copy until they're republished.
|
|
2069
|
-
*/
|
|
2070
|
-
declare const CAPABILITY_LABELS: Record<string, string>;
|
|
2144
|
+
declare const CAPABILITY_LABELS: Record<string, MessageDescriptor>;
|
|
2071
2145
|
/**
|
|
2072
2146
|
* Get a human-readable description for a capability.
|
|
2073
2147
|
* For scoped network capabilities, appends the allowed hosts if provided.
|
|
2148
|
+
*
|
|
2149
|
+
* Module-scope so calls outside React components work; uses the global i18n
|
|
2150
|
+
* instance for translation. Components that have access to `useLingui` can
|
|
2151
|
+
* also resolve `CAPABILITY_LABELS[capability]` directly with `t(...)` if they
|
|
2152
|
+
* need the translated string without the host suffix.
|
|
2074
2153
|
*/
|
|
2075
2154
|
declare function describeCapability(capability: string, allowedHosts?: string[]): string;
|
|
2076
2155
|
//#endregion
|
|
@@ -2437,6 +2516,7 @@ declare function PortableTextEditor({
|
|
|
2437
2516
|
//#endregion
|
|
2438
2517
|
//#region src/components/ContentEditor.d.ts
|
|
2439
2518
|
interface FieldDescriptor {
|
|
2519
|
+
id?: string;
|
|
2440
2520
|
kind: string;
|
|
2441
2521
|
label?: string;
|
|
2442
2522
|
required?: boolean;
|
|
@@ -2608,13 +2688,33 @@ interface MediaPickerModalProps {
|
|
|
2608
2688
|
/** Filter by mime type prefix, e.g. "image/" */
|
|
2609
2689
|
mimeTypeFilter?: string;
|
|
2610
2690
|
title?: string;
|
|
2691
|
+
/**
|
|
2692
|
+
* Hide the "Insert from URL" input. Defaults to false.
|
|
2693
|
+
* The URL input probes image dimensions and is only meaningful for image pickers,
|
|
2694
|
+
* so non-image pickers (e.g. generic file pickers) should hide it.
|
|
2695
|
+
*/
|
|
2696
|
+
hideUrlInput?: boolean;
|
|
2697
|
+
/**
|
|
2698
|
+
* What kind of media this picker is for. Drives user-facing copy
|
|
2699
|
+
* (default title, empty-state message, upload button label, empty-state icon).
|
|
2700
|
+
* Defaults to "image" — set to "file" for generic file pickers.
|
|
2701
|
+
*/
|
|
2702
|
+
mediaKind?: "image" | "file";
|
|
2703
|
+
/** MIME allowlist — array of exact MIMEs or `type/` prefixes. */
|
|
2704
|
+
mimeTypeFilters?: string[];
|
|
2705
|
+
/** `_emdash_fields` row id for server-side MIME widening. */
|
|
2706
|
+
fieldId?: string;
|
|
2611
2707
|
}
|
|
2612
2708
|
declare function MediaPickerModal({
|
|
2613
2709
|
open,
|
|
2614
2710
|
onOpenChange,
|
|
2615
2711
|
onSelect,
|
|
2616
2712
|
mimeTypeFilter,
|
|
2617
|
-
|
|
2713
|
+
mimeTypeFilters,
|
|
2714
|
+
fieldId,
|
|
2715
|
+
title: providedTitle,
|
|
2716
|
+
hideUrlInput,
|
|
2717
|
+
mediaKind
|
|
2618
2718
|
}: MediaPickerModalProps): react_jsx_runtime0.JSX.Element;
|
|
2619
2719
|
//#endregion
|
|
2620
2720
|
//#region src/components/Settings.d.ts
|
|
@@ -2644,22 +2744,15 @@ declare function SaveButton({
|
|
|
2644
2744
|
//#region src/components/EditorHeader.d.ts
|
|
2645
2745
|
interface EditorHeaderProps {
|
|
2646
2746
|
/** Optional leading element, typically a back-link or close button. */
|
|
2647
|
-
leading?: React.ReactNode;
|
|
2747
|
+
leading?: React$1.ReactNode;
|
|
2648
2748
|
/** Header title content. Pass a heading element so semantics are correct. */
|
|
2649
|
-
children: React.ReactNode;
|
|
2749
|
+
children: React$1.ReactNode;
|
|
2650
2750
|
/** Right-aligned action area (Save, Publish, etc.). */
|
|
2651
|
-
actions?: React.ReactNode;
|
|
2652
|
-
/**
|
|
2653
|
-
* When `true`, the header sticks to the top of its scroll container.
|
|
2654
|
-
* Defaults to `true`. Set to `false` to render a static header (e.g. when
|
|
2655
|
-
* the parent wants to control positioning, or when the page itself is in
|
|
2656
|
-
* a special mode like distraction-free).
|
|
2657
|
-
*/
|
|
2658
|
-
sticky?: boolean;
|
|
2751
|
+
actions?: React$1.ReactNode;
|
|
2659
2752
|
className?: string;
|
|
2660
2753
|
}
|
|
2661
2754
|
/**
|
|
2662
|
-
*
|
|
2755
|
+
* Editor header with consistent placement of save / primary actions.
|
|
2663
2756
|
*
|
|
2664
2757
|
* Usage:
|
|
2665
2758
|
*
|
|
@@ -2674,7 +2767,6 @@ declare function EditorHeader({
|
|
|
2674
2767
|
leading,
|
|
2675
2768
|
children,
|
|
2676
2769
|
actions,
|
|
2677
|
-
sticky,
|
|
2678
2770
|
className
|
|
2679
2771
|
}: EditorHeaderProps): react_jsx_runtime0.JSX.Element;
|
|
2680
2772
|
//#endregion
|
|
@@ -2803,5 +2895,5 @@ declare function SetupWizard(): react_jsx_runtime0.JSX.Element | null;
|
|
|
2803
2895
|
*/
|
|
2804
2896
|
declare function cn(...inputs: ClassValue[]): string;
|
|
2805
2897
|
//#endregion
|
|
2806
|
-
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 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 };
|
|
2898
|
+
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 };
|
|
2807
2899
|
//# sourceMappingURL=index.d.ts.map
|