@emdash-cms/admin 0.33.0 → 0.34.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-C41G0UML.js → LocaleDirectionProvider-B56zZskH.js} +29 -29
- package/dist/{LocaleDirectionProvider-C41G0UML.js.map → LocaleDirectionProvider-B56zZskH.js.map} +1 -1
- package/dist/{config-fchhTOsm.d.ts → config-DAMBKrx2.d.ts} +1 -1
- package/dist/{config-fchhTOsm.d.ts.map → config-DAMBKrx2.d.ts.map} +1 -1
- package/dist/index.d.ts +367 -209
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3603 -2259
- package/dist/index.js.map +1 -1
- package/dist/locales/ar/messages.mjs +1 -1
- package/dist/locales/ca/messages.mjs +1 -1
- package/dist/locales/cs/messages.mjs +1 -1
- package/dist/locales/de/messages.mjs +1 -1
- package/dist/locales/en/messages.mjs +1 -1
- package/dist/locales/en-GB/messages.mjs +1 -1
- package/dist/locales/es-419/messages.mjs +1 -1
- package/dist/locales/es-ES/messages.mjs +1 -1
- package/dist/locales/eu/messages.mjs +1 -1
- package/dist/locales/fa/messages.mjs +1 -1
- package/dist/locales/fr/messages.mjs +1 -1
- package/dist/locales/hi/messages.mjs +1 -1
- package/dist/locales/hu/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/nb/messages.mjs +1 -1
- package/dist/locales/nl/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/sr-Latn/messages.mjs +1 -1
- package/dist/locales/sv/messages.mjs +1 -1
- package/dist/locales/th/messages.mjs +1 -1
- package/dist/locales/tr/messages.mjs +1 -1
- package/dist/locales/uk/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-4l4q4Avf.js +6 -0
- package/dist/messages-4l4q4Avf.js.map +1 -0
- package/dist/messages-8Ng0p6M4.js +6 -0
- package/dist/messages-8Ng0p6M4.js.map +1 -0
- package/dist/messages-BGJ61mbR.js +6 -0
- package/dist/messages-BGJ61mbR.js.map +1 -0
- package/dist/messages-BJjz3hov.js +6 -0
- package/dist/messages-BJjz3hov.js.map +1 -0
- package/dist/messages-BV7vld-9.js +6 -0
- package/dist/messages-BV7vld-9.js.map +1 -0
- package/dist/messages-BVaZauc8.js +6 -0
- package/dist/messages-BVaZauc8.js.map +1 -0
- package/dist/messages-BZ7favjd.js +6 -0
- package/dist/messages-BZ7favjd.js.map +1 -0
- package/dist/messages-BdxqPqXL.js +6 -0
- package/dist/messages-BdxqPqXL.js.map +1 -0
- package/dist/messages-BfSXfW7E.js +6 -0
- package/dist/messages-BfSXfW7E.js.map +1 -0
- package/dist/messages-CPTfUKBv.js +6 -0
- package/dist/messages-CPTfUKBv.js.map +1 -0
- package/dist/messages-CQS1a4au.js +6 -0
- package/dist/messages-CQS1a4au.js.map +1 -0
- package/dist/messages-CXtDjstE.js +6 -0
- package/dist/messages-CXtDjstE.js.map +1 -0
- package/dist/messages-Chlpzhy7.js +6 -0
- package/dist/messages-Chlpzhy7.js.map +1 -0
- package/dist/messages-D4t7iekH.js +6 -0
- package/dist/messages-D4t7iekH.js.map +1 -0
- package/dist/messages-D546HP55.js +6 -0
- package/dist/messages-D546HP55.js.map +1 -0
- package/dist/messages-DJ24Nb04.js +6 -0
- package/dist/messages-DJ24Nb04.js.map +1 -0
- package/dist/messages-DR6ynPV7.js +6 -0
- package/dist/messages-DR6ynPV7.js.map +1 -0
- package/dist/messages-Ddk7AuUS.js +6 -0
- package/dist/messages-Ddk7AuUS.js.map +1 -0
- package/dist/messages-DizwSrvr.js +6 -0
- package/dist/messages-DizwSrvr.js.map +1 -0
- package/dist/messages-Dn1fHt89.js +6 -0
- package/dist/messages-Dn1fHt89.js.map +1 -0
- package/dist/messages-DynzD2co.js +6 -0
- package/dist/messages-DynzD2co.js.map +1 -0
- package/dist/messages-DzCOsjCj.js +6 -0
- package/dist/messages-DzCOsjCj.js.map +1 -0
- package/dist/messages-JIi-gAO0.js +6 -0
- package/dist/messages-JIi-gAO0.js.map +1 -0
- package/dist/messages-Ve8shT7p.js +6 -0
- package/dist/messages-Ve8shT7p.js.map +1 -0
- package/dist/messages-f3phxB2R.js +6 -0
- package/dist/messages-f3phxB2R.js.map +1 -0
- package/dist/messages-rngIIrhI.js +6 -0
- package/dist/messages-rngIIrhI.js.map +1 -0
- package/dist/messages-sKfxXmTC.js +6 -0
- package/dist/messages-sKfxXmTC.js.map +1 -0
- package/dist/messages-tGLAc0ra.js +6 -0
- package/dist/messages-tGLAc0ra.js.map +1 -0
- package/dist/plugins-CQAV8Ap0.js.map +1 -1
- package/dist/slugify.d.ts +13 -0
- package/dist/slugify.d.ts.map +1 -0
- package/dist/slugify.js +45 -0
- package/dist/slugify.js.map +1 -0
- package/dist/styles.css +1 -1
- package/package.json +9 -5
- package/dist/messages-2nITy6cb.js +0 -6
- package/dist/messages-2nITy6cb.js.map +0 -1
- package/dist/messages-B-s-GKf5.js +0 -6
- package/dist/messages-B-s-GKf5.js.map +0 -1
- package/dist/messages-BAIA7DfO.js +0 -6
- package/dist/messages-BAIA7DfO.js.map +0 -1
- package/dist/messages-BIe0Ym8X.js +0 -6
- package/dist/messages-BIe0Ym8X.js.map +0 -1
- package/dist/messages-BYdRq2w6.js +0 -6
- package/dist/messages-BYdRq2w6.js.map +0 -1
- package/dist/messages-BbP6qRzA.js +0 -6
- package/dist/messages-BbP6qRzA.js.map +0 -1
- package/dist/messages-BbypDsgO.js +0 -6
- package/dist/messages-BbypDsgO.js.map +0 -1
- package/dist/messages-BiQssJrA.js +0 -6
- package/dist/messages-BiQssJrA.js.map +0 -1
- package/dist/messages-BmjGFwEW.js +0 -6
- package/dist/messages-BmjGFwEW.js.map +0 -1
- package/dist/messages-BoMzEid6.js +0 -6
- package/dist/messages-BoMzEid6.js.map +0 -1
- package/dist/messages-Bq54RVtg.js +0 -6
- package/dist/messages-Bq54RVtg.js.map +0 -1
- package/dist/messages-Bqz9_4l0.js +0 -6
- package/dist/messages-Bqz9_4l0.js.map +0 -1
- package/dist/messages-BzV83X48.js +0 -6
- package/dist/messages-BzV83X48.js.map +0 -1
- package/dist/messages-CBfedvAL.js +0 -6
- package/dist/messages-CBfedvAL.js.map +0 -1
- package/dist/messages-CPe95E0E.js +0 -6
- package/dist/messages-CPe95E0E.js.map +0 -1
- package/dist/messages-CSnpmRJn.js +0 -6
- package/dist/messages-CSnpmRJn.js.map +0 -1
- package/dist/messages-CToObMDq.js +0 -6
- package/dist/messages-CToObMDq.js.map +0 -1
- package/dist/messages-C_VLhjAp.js +0 -6
- package/dist/messages-C_VLhjAp.js.map +0 -1
- package/dist/messages-C_zI4Kow.js +0 -6
- package/dist/messages-C_zI4Kow.js.map +0 -1
- package/dist/messages-Ci8G1wyr.js +0 -6
- package/dist/messages-Ci8G1wyr.js.map +0 -1
- package/dist/messages-CkcmC2uj.js +0 -6
- package/dist/messages-CkcmC2uj.js.map +0 -1
- package/dist/messages-ClIrJnnx.js +0 -6
- package/dist/messages-ClIrJnnx.js.map +0 -1
- package/dist/messages-D1BPX5RB.js +0 -6
- package/dist/messages-D1BPX5RB.js.map +0 -1
- package/dist/messages-D2Px_N2E.js +0 -6
- package/dist/messages-D2Px_N2E.js.map +0 -1
- package/dist/messages-D3et4y9E.js +0 -6
- package/dist/messages-D3et4y9E.js.map +0 -1
- package/dist/messages-DBQIDoWi.js +0 -6
- package/dist/messages-DBQIDoWi.js.map +0 -1
- package/dist/messages-EB4nBbR-.js +0 -6
- package/dist/messages-EB4nBbR-.js.map +0 -1
- package/dist/messages-wzeERbqn.js +0 -6
- package/dist/messages-wzeERbqn.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as SUPPORTED_LOCALES, o as resolveLocale, r as SUPPORTED_LOCALE_CODES, s as LocaleDefinition, t as DEFAULT_LOCALE, u as useLocale } from "./config-
|
|
1
|
+
import { n as SUPPORTED_LOCALES, o as resolveLocale, r as SUPPORTED_LOCALE_CODES, s as LocaleDefinition, t as DEFAULT_LOCALE, u as useLocale } from "./config-DAMBKrx2.js";
|
|
2
2
|
import "./locales/index.js";
|
|
3
3
|
import { Button, Sidebar as KumoSidebar } from "@cloudflare/kumo";
|
|
4
4
|
import { MessageDescriptor, Messages } from "@lingui/core";
|
|
@@ -69,206 +69,6 @@ declare function useAuthProviders(): AuthProviders;
|
|
|
69
69
|
*/
|
|
70
70
|
declare function useAuthProviderList(): AuthProviderModule[];
|
|
71
71
|
//#endregion
|
|
72
|
-
//#region src/lib/plugin-context.d.ts
|
|
73
|
-
/** Shape of a plugin's admin exports */
|
|
74
|
-
interface PluginAdminModule {
|
|
75
|
-
widgets?: Record<string, React$1.ComponentType>;
|
|
76
|
-
pages?: Record<string, React$1.ComponentType>;
|
|
77
|
-
fields?: Record<string, React$1.ComponentType>;
|
|
78
|
-
}
|
|
79
|
-
/** All plugin admin modules keyed by plugin ID */
|
|
80
|
-
type PluginAdmins = Record<string, PluginAdminModule>;
|
|
81
|
-
interface PluginAdminProviderProps {
|
|
82
|
-
children: React$1.ReactNode;
|
|
83
|
-
pluginAdmins: PluginAdmins;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Provider that makes plugin admin modules available to all descendants
|
|
87
|
-
*/
|
|
88
|
-
declare function PluginAdminProvider({
|
|
89
|
-
children,
|
|
90
|
-
pluginAdmins
|
|
91
|
-
}: PluginAdminProviderProps): react_jsx_runtime0.JSX.Element;
|
|
92
|
-
/**
|
|
93
|
-
* Get all plugin admin modules
|
|
94
|
-
*/
|
|
95
|
-
declare function usePluginAdmins(): PluginAdmins;
|
|
96
|
-
/**
|
|
97
|
-
* Get a dashboard widget component by plugin ID and widget ID
|
|
98
|
-
*/
|
|
99
|
-
declare function usePluginWidget(pluginId: string, widgetId: string): React$1.ComponentType | null;
|
|
100
|
-
/**
|
|
101
|
-
* Get a plugin page component by plugin ID and path, with trailing-slash and root-fallback resolution
|
|
102
|
-
*/
|
|
103
|
-
declare function usePluginPage(pluginId: string, path: string): React$1.ComponentType | null;
|
|
104
|
-
/**
|
|
105
|
-
* Get a field widget component by plugin ID and field type
|
|
106
|
-
*/
|
|
107
|
-
declare function usePluginField(pluginId: string, fieldType: string): React$1.ComponentType | null;
|
|
108
|
-
/**
|
|
109
|
-
* Check if a plugin has any registered admin pages
|
|
110
|
-
*/
|
|
111
|
-
declare function usePluginHasPages(pluginId: string): boolean;
|
|
112
|
-
/**
|
|
113
|
-
* Check if a plugin has any registered dashboard widgets
|
|
114
|
-
*/
|
|
115
|
-
declare function usePluginHasWidgets(pluginId: string): boolean;
|
|
116
|
-
//#endregion
|
|
117
|
-
//#region src/App.d.ts
|
|
118
|
-
interface AdminAppProps {
|
|
119
|
-
/** Plugin admin modules keyed by plugin ID */
|
|
120
|
-
pluginAdmins?: PluginAdmins;
|
|
121
|
-
/** Auth provider UI modules keyed by provider ID */
|
|
122
|
-
authProviders?: AuthProviders;
|
|
123
|
-
/** Configured admin white-label branding (logo, site name) */
|
|
124
|
-
adminBranding?: AdminBranding;
|
|
125
|
-
/** Active locale code */
|
|
126
|
-
locale?: string;
|
|
127
|
-
/** Compiled Lingui messages for the active locale */
|
|
128
|
-
messages?: Messages;
|
|
129
|
-
}
|
|
130
|
-
declare function AdminApp({
|
|
131
|
-
pluginAdmins,
|
|
132
|
-
authProviders,
|
|
133
|
-
adminBranding,
|
|
134
|
-
locale,
|
|
135
|
-
messages
|
|
136
|
-
}: AdminAppProps): react_jsx_runtime0.JSX.Element;
|
|
137
|
-
//#endregion
|
|
138
|
-
//#region src/router.d.ts
|
|
139
|
-
interface RouterContext {
|
|
140
|
-
queryClient: QueryClient;
|
|
141
|
-
}
|
|
142
|
-
declare function parseBylinesLocaleSearch(search: Record<string, unknown>): {
|
|
143
|
-
locale: string | undefined;
|
|
144
|
-
};
|
|
145
|
-
declare function createAdminRouter(queryClient: QueryClient): _tanstack_router_core0.RouterCore<_tanstack_router_core0.Route<_tanstack_react_router0.Register, any, "/", "/", string, "__root__", undefined, {}, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, readonly [_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>, "/setup", "/setup", string, "/setup", undefined, _tanstack_router_core0.ResolveParams<"/setup">, _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.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/login", "/login", string, "/login", undefined, _tanstack_router_core0.ResolveParams<"/login">, _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.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/signup", "/signup", string, "/signup", undefined, _tanstack_router_core0.ResolveParams<"/signup">, _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.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/invite/accept", "/invite/accept", string, "/invite/accept", (search: Record<string, unknown>) => {
|
|
146
|
-
token: string | undefined;
|
|
147
|
-
}, _tanstack_router_core0.ResolveParams<"/invite/accept">, _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.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/device", "/device", string, "/device", undefined, _tanstack_router_core0.ResolveParams<"/device">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_router_core0.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, readonly [_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>, _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", "/content/$collection", string, "/_admin/content/$collection", (search: Record<string, unknown>) => {
|
|
148
|
-
locale: string | undefined;
|
|
149
|
-
}, _tanstack_router_core0.ResolveParams<"/content/$collection">, _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/new", "/content/$collection/new", string, "/_admin/content/$collection/new", (search: Record<string, unknown>) => {
|
|
150
|
-
locale: string | undefined;
|
|
151
|
-
}, _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>) => {
|
|
152
|
-
locale?: string | undefined;
|
|
153
|
-
field?: string | undefined;
|
|
154
|
-
}, _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>) => {
|
|
155
|
-
locale: string | undefined;
|
|
156
|
-
}, _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-manager/$pluginId/settings", "/plugins-manager/$pluginId/settings", string, "/_admin/plugins-manager/$pluginId/settings", undefined, _tanstack_router_core0.ResolveParams<"/plugins-manager/$pluginId/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>, "/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", typeof parseBylinesLocaleSearch, _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>, "/byline-schema", "/byline-schema", string, "/_admin/byline-schema", undefined, _tanstack_router_core0.ResolveParams<"/byline-schema">, _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>, "/settings/backups", "/settings/backups", string, "/_admin/settings/backups", undefined, _tanstack_router_core0.ResolveParams<"/settings/backups">, _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>>;
|
|
157
|
-
declare module "@tanstack/react-router" {
|
|
158
|
-
interface Register {
|
|
159
|
-
router: ReturnType<typeof createAdminRouter>;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
//#endregion
|
|
163
|
-
//#region src/components/Shell.d.ts
|
|
164
|
-
declare module "@tanstack/react-router" {
|
|
165
|
-
interface StaticDataRouteOption {
|
|
166
|
-
/**
|
|
167
|
-
* Route renders edge-to-edge: the Shell's <main> drops its padding and
|
|
168
|
-
* page scroll, and the route's component manages its own scroll regions.
|
|
169
|
-
*/
|
|
170
|
-
fullBleed?: boolean;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
interface ShellProps {
|
|
174
|
-
children: React$1.ReactNode;
|
|
175
|
-
manifest: {
|
|
176
|
-
collections: Record<string, {
|
|
177
|
-
label: string;
|
|
178
|
-
}>;
|
|
179
|
-
plugins: Record<string, {
|
|
180
|
-
package?: string;
|
|
181
|
-
adminPages?: Array<{
|
|
182
|
-
path: string;
|
|
183
|
-
label?: string;
|
|
184
|
-
icon?: string;
|
|
185
|
-
}>;
|
|
186
|
-
}>;
|
|
187
|
-
taxonomies: Array<{
|
|
188
|
-
name: string;
|
|
189
|
-
label: string;
|
|
190
|
-
}>;
|
|
191
|
-
version?: string;
|
|
192
|
-
};
|
|
193
|
-
}
|
|
194
|
-
/**
|
|
195
|
-
* Admin shell layout with kumo Sidebar component.
|
|
196
|
-
*
|
|
197
|
-
* Sidebar.Provider wraps both the sidebar and main content area,
|
|
198
|
-
* handling collapse state, mobile detection, and layout transitions.
|
|
199
|
-
*/
|
|
200
|
-
declare function Shell({
|
|
201
|
-
children,
|
|
202
|
-
manifest
|
|
203
|
-
}: ShellProps): react_jsx_runtime0.JSX.Element;
|
|
204
|
-
//#endregion
|
|
205
|
-
//#region src/components/Sidebar.d.ts
|
|
206
|
-
interface SidebarNavProps {
|
|
207
|
-
manifest: {
|
|
208
|
-
collections: Record<string, {
|
|
209
|
-
label: string;
|
|
210
|
-
hidden?: boolean;
|
|
211
|
-
}>;
|
|
212
|
-
plugins: Record<string, {
|
|
213
|
-
package?: string;
|
|
214
|
-
enabled?: boolean;
|
|
215
|
-
adminMode?: "react" | "blocks" | "none";
|
|
216
|
-
adminPages?: Array<{
|
|
217
|
-
path: string;
|
|
218
|
-
label?: string;
|
|
219
|
-
icon?: string;
|
|
220
|
-
}>;
|
|
221
|
-
dashboardWidgets?: Array<{
|
|
222
|
-
id: string;
|
|
223
|
-
title?: string;
|
|
224
|
-
}>;
|
|
225
|
-
version?: string;
|
|
226
|
-
}>;
|
|
227
|
-
taxonomies: Array<{
|
|
228
|
-
name: string;
|
|
229
|
-
label: string;
|
|
230
|
-
}>;
|
|
231
|
-
version?: string;
|
|
232
|
-
commit?: string;
|
|
233
|
-
marketplace?: string;
|
|
234
|
-
registry?: {
|
|
235
|
-
aggregatorUrl: string;
|
|
236
|
-
};
|
|
237
|
-
admin?: {
|
|
238
|
-
logo?: string;
|
|
239
|
-
siteName?: string;
|
|
240
|
-
favicon?: string;
|
|
241
|
-
};
|
|
242
|
-
};
|
|
243
|
-
}
|
|
244
|
-
/**
|
|
245
|
-
* Admin sidebar navigation using kumo's Sidebar compound component.
|
|
246
|
-
*/
|
|
247
|
-
declare function SidebarNav({
|
|
248
|
-
manifest
|
|
249
|
-
}: SidebarNavProps): react_jsx_runtime0.JSX.Element;
|
|
250
|
-
//#endregion
|
|
251
|
-
//#region src/lib/api/current-user.d.ts
|
|
252
|
-
/**
|
|
253
|
-
* Current user query — shared across Shell, Header, Sidebar, and CommandPalette.
|
|
254
|
-
*/
|
|
255
|
-
interface CurrentUser {
|
|
256
|
-
id: string;
|
|
257
|
-
email: string;
|
|
258
|
-
name?: string;
|
|
259
|
-
role: number;
|
|
260
|
-
avatarUrl?: string;
|
|
261
|
-
isFirstLogin?: boolean;
|
|
262
|
-
}
|
|
263
|
-
declare function useCurrentUser(): _tanstack_react_query0.UseQueryResult<CurrentUser, Error>;
|
|
264
|
-
//#endregion
|
|
265
|
-
//#region src/components/Header.d.ts
|
|
266
|
-
/**
|
|
267
|
-
* Admin header with mobile menu toggle and user actions.
|
|
268
|
-
* Uses useSidebar() hook from kumo Sidebar.Provider context.
|
|
269
|
-
*/
|
|
270
|
-
declare function Header(): react_jsx_runtime0.JSX.Element;
|
|
271
|
-
//#endregion
|
|
272
72
|
//#region src/lib/api/client.d.ts
|
|
273
73
|
declare const API_BASE = "/_emdash/api";
|
|
274
74
|
/**
|
|
@@ -310,7 +110,11 @@ interface AdminManifest {
|
|
|
310
110
|
supports: string[];
|
|
311
111
|
hasSeo: boolean;
|
|
312
112
|
urlPattern?: string;
|
|
113
|
+
routable?: boolean;
|
|
114
|
+
titleField?: string;
|
|
115
|
+
dateField?: string;
|
|
313
116
|
hidden?: boolean;
|
|
117
|
+
listColumns?: string[];
|
|
314
118
|
fields: Record<string, {
|
|
315
119
|
/** Database row ID (ULID) for the field. Used to widen MIME allowlists on upload/media-list calls. */id?: string;
|
|
316
120
|
kind: string;
|
|
@@ -385,15 +189,23 @@ interface AdminManifest {
|
|
|
385
189
|
defaultLocale: string;
|
|
386
190
|
locales: string[];
|
|
387
191
|
};
|
|
192
|
+
/** Stored-content locale policy, independent from the admin UI language. */
|
|
193
|
+
contentLocale?: {
|
|
194
|
+
defaultLocale: string;
|
|
195
|
+
implicit: boolean;
|
|
196
|
+
};
|
|
388
197
|
/**
|
|
389
198
|
* Taxonomy definitions for the admin sidebar.
|
|
390
199
|
*/
|
|
391
200
|
taxonomies: Array<{
|
|
201
|
+
id?: string;
|
|
392
202
|
name: string;
|
|
393
203
|
label: string;
|
|
394
204
|
labelSingular?: string;
|
|
395
205
|
hierarchical: boolean;
|
|
396
206
|
collections: string[];
|
|
207
|
+
locale?: string;
|
|
208
|
+
translationGroup?: string | null;
|
|
397
209
|
}>;
|
|
398
210
|
/**
|
|
399
211
|
* Marketplace registry URL. Present when `marketplace` is configured
|
|
@@ -590,7 +402,7 @@ interface ContentItem {
|
|
|
590
402
|
}
|
|
591
403
|
interface CreateContentInput {
|
|
592
404
|
type: string;
|
|
593
|
-
slug?: string;
|
|
405
|
+
slug?: string | null;
|
|
594
406
|
data: Record<string, unknown>;
|
|
595
407
|
status?: string;
|
|
596
408
|
bylines?: BylineCreditInput[];
|
|
@@ -622,7 +434,7 @@ interface ContentSeoInput {
|
|
|
622
434
|
}
|
|
623
435
|
interface UpdateContentInput {
|
|
624
436
|
data?: Record<string, unknown>;
|
|
625
|
-
slug?: string;
|
|
437
|
+
slug?: string | null;
|
|
626
438
|
status?: string;
|
|
627
439
|
publishedAt?: string | null;
|
|
628
440
|
authorId?: string | null;
|
|
@@ -655,12 +467,23 @@ declare function fetchContentList(collection: string, options?: {
|
|
|
655
467
|
status?: string;
|
|
656
468
|
locale?: string; /** Field name to order by, matching the server's whitelist. */
|
|
657
469
|
orderBy?: string; /** Sort direction; defaults to "desc" on the server. */
|
|
658
|
-
order?: "asc" | "desc"; /**
|
|
470
|
+
order?: "asc" | "desc"; /** Search across display fields, slug, and searchable custom fields. */
|
|
659
471
|
search?: string; /** Filter to entries authored by this user (the `author_id` column). */
|
|
660
472
|
authorId?: string; /** Which timestamp column the `dateFrom`/`dateTo` range applies to. */
|
|
661
473
|
dateField?: ContentDateField; /** Inclusive lower bound (ISO date or datetime). Requires `dateField`. */
|
|
662
474
|
dateFrom?: string; /** Inclusive upper bound (ISO date or datetime). Requires `dateField`. */
|
|
663
475
|
dateTo?: string;
|
|
476
|
+
/**
|
|
477
|
+
* Byline ids (translation groups) to match; an entry matches if it is
|
|
478
|
+
* credited to any of them. Ignored when `bylinesNone` is set.
|
|
479
|
+
*/
|
|
480
|
+
bylines?: string[]; /** Match entries with no byline instead of a specific one. */
|
|
481
|
+
bylinesNone?: boolean;
|
|
482
|
+
/**
|
|
483
|
+
* Count the byline inferred from an entry's author when it has no
|
|
484
|
+
* explicit credit. Off by default: the filter matches real credits.
|
|
485
|
+
*/
|
|
486
|
+
includeInferredBylines?: boolean;
|
|
664
487
|
}): Promise<FindManyResult<ContentItem>>;
|
|
665
488
|
/** A distinct content author, for the admin author filter. */
|
|
666
489
|
interface ContentAuthor {
|
|
@@ -919,9 +742,12 @@ interface SchemaCollection {
|
|
|
919
742
|
labelSingular?: string;
|
|
920
743
|
description?: string;
|
|
921
744
|
icon?: string;
|
|
745
|
+
admin?: CollectionAdminConfig;
|
|
922
746
|
supports: string[];
|
|
923
747
|
source?: string;
|
|
924
748
|
urlPattern?: string;
|
|
749
|
+
/** Published entries require a slug unless this is false. */
|
|
750
|
+
routable?: boolean;
|
|
925
751
|
hasSeo: boolean;
|
|
926
752
|
/** Sidebar entry omitted in the admin; the collection stays reachable by URL */
|
|
927
753
|
hidden: boolean;
|
|
@@ -934,6 +760,9 @@ interface SchemaCollection {
|
|
|
934
760
|
createdAt: string;
|
|
935
761
|
updatedAt: string;
|
|
936
762
|
}
|
|
763
|
+
interface CollectionAdminConfig {
|
|
764
|
+
listColumns?: string[];
|
|
765
|
+
}
|
|
937
766
|
interface SchemaField {
|
|
938
767
|
id: string;
|
|
939
768
|
collectionId: string;
|
|
@@ -944,6 +773,7 @@ interface SchemaField {
|
|
|
944
773
|
required: boolean;
|
|
945
774
|
unique: boolean;
|
|
946
775
|
searchable: boolean;
|
|
776
|
+
indexed: boolean;
|
|
947
777
|
defaultValue?: unknown;
|
|
948
778
|
validation?: {
|
|
949
779
|
min?: number;
|
|
@@ -968,8 +798,10 @@ interface CreateCollectionInput {
|
|
|
968
798
|
labelSingular?: string;
|
|
969
799
|
description?: string;
|
|
970
800
|
icon?: string;
|
|
801
|
+
admin?: CollectionAdminConfig;
|
|
971
802
|
supports?: string[];
|
|
972
803
|
urlPattern?: string;
|
|
804
|
+
routable?: boolean;
|
|
973
805
|
hasSeo?: boolean;
|
|
974
806
|
hidden?: boolean;
|
|
975
807
|
sortOrder?: number | null;
|
|
@@ -979,8 +811,10 @@ interface UpdateCollectionInput {
|
|
|
979
811
|
labelSingular?: string;
|
|
980
812
|
description?: string;
|
|
981
813
|
icon?: string;
|
|
814
|
+
admin?: CollectionAdminConfig;
|
|
982
815
|
supports?: string[];
|
|
983
816
|
urlPattern?: string;
|
|
817
|
+
routable?: boolean;
|
|
984
818
|
hasSeo?: boolean;
|
|
985
819
|
hidden?: boolean;
|
|
986
820
|
sortOrder?: number | null;
|
|
@@ -996,6 +830,7 @@ interface CreateFieldInput {
|
|
|
996
830
|
required?: boolean;
|
|
997
831
|
unique?: boolean;
|
|
998
832
|
searchable?: boolean;
|
|
833
|
+
indexed?: boolean;
|
|
999
834
|
defaultValue?: unknown;
|
|
1000
835
|
validation?: {
|
|
1001
836
|
min?: number;
|
|
@@ -1014,6 +849,7 @@ interface UpdateFieldInput {
|
|
|
1014
849
|
required?: boolean;
|
|
1015
850
|
unique?: boolean;
|
|
1016
851
|
searchable?: boolean;
|
|
852
|
+
indexed?: boolean;
|
|
1017
853
|
defaultValue?: unknown;
|
|
1018
854
|
validation?: {
|
|
1019
855
|
min?: number;
|
|
@@ -1870,7 +1706,7 @@ interface CreateTaxonomyInput {
|
|
|
1870
1706
|
translationOf?: string;
|
|
1871
1707
|
}
|
|
1872
1708
|
interface CreateTermInput {
|
|
1873
|
-
slug
|
|
1709
|
+
slug?: string;
|
|
1874
1710
|
label: string;
|
|
1875
1711
|
parentId?: string;
|
|
1876
1712
|
description?: string;
|
|
@@ -2379,6 +2215,7 @@ interface CollectionStats {
|
|
|
2379
2215
|
published: number;
|
|
2380
2216
|
draft: number;
|
|
2381
2217
|
scheduled: number;
|
|
2218
|
+
overdueScheduled?: number;
|
|
2382
2219
|
}
|
|
2383
2220
|
interface RecentItem {
|
|
2384
2221
|
id: string;
|
|
@@ -2395,6 +2232,10 @@ interface DashboardStats {
|
|
|
2395
2232
|
mediaCount: number;
|
|
2396
2233
|
userCount: number;
|
|
2397
2234
|
recentItems: RecentItem[];
|
|
2235
|
+
schedulerHealth?: {
|
|
2236
|
+
status: "healthy" | "stale" | "unknown";
|
|
2237
|
+
lastCompletedAt: string | null;
|
|
2238
|
+
};
|
|
2398
2239
|
}
|
|
2399
2240
|
/**
|
|
2400
2241
|
* Fetch dashboard statistics
|
|
@@ -2707,6 +2548,276 @@ declare function deleteRedirect(id: string): Promise<void>;
|
|
|
2707
2548
|
*/
|
|
2708
2549
|
declare function fetch404Summary(limit?: number): Promise<NotFoundSummary[]>;
|
|
2709
2550
|
//#endregion
|
|
2551
|
+
//#region src/lib/api/current-user.d.ts
|
|
2552
|
+
/**
|
|
2553
|
+
* Current user query — shared across Shell, Header, Sidebar, and CommandPalette.
|
|
2554
|
+
*/
|
|
2555
|
+
interface CurrentUser {
|
|
2556
|
+
id: string;
|
|
2557
|
+
email: string;
|
|
2558
|
+
name?: string;
|
|
2559
|
+
role: number;
|
|
2560
|
+
avatarUrl?: string;
|
|
2561
|
+
isFirstLogin?: boolean;
|
|
2562
|
+
}
|
|
2563
|
+
declare function useCurrentUser(): _tanstack_react_query0.UseQueryResult<CurrentUser, Error>;
|
|
2564
|
+
//#endregion
|
|
2565
|
+
//#region src/lib/content-editor-panels.d.ts
|
|
2566
|
+
interface ContentEditorPanelContext {
|
|
2567
|
+
collection: string;
|
|
2568
|
+
entry: ContentItem;
|
|
2569
|
+
locale?: string;
|
|
2570
|
+
}
|
|
2571
|
+
interface ContentEditorPanelExtension {
|
|
2572
|
+
/** Stable identifier, unique within this plugin's editor panels. */
|
|
2573
|
+
id: string;
|
|
2574
|
+
/** Host-rendered section heading. */
|
|
2575
|
+
title: string;
|
|
2576
|
+
component: React$1.ComponentType<ContentEditorPanelContext>;
|
|
2577
|
+
/** Restrict this panel to selected collections. Omit to support every collection. */
|
|
2578
|
+
collections?: readonly string[] | ((collection: string) => boolean);
|
|
2579
|
+
/** Minimum numeric admin role required to see this panel. */
|
|
2580
|
+
minRole?: number;
|
|
2581
|
+
/** Lower values render first among contributed panels. */
|
|
2582
|
+
order?: number;
|
|
2583
|
+
}
|
|
2584
|
+
//#endregion
|
|
2585
|
+
//#region src/lib/content-list-columns.d.ts
|
|
2586
|
+
/** Context passed to a trusted plugin's content-list column header. */
|
|
2587
|
+
interface ContentListColumnHeaderContext {
|
|
2588
|
+
collection: string;
|
|
2589
|
+
locale?: string;
|
|
2590
|
+
}
|
|
2591
|
+
/** Context passed to a trusted plugin's content-list column cell. */
|
|
2592
|
+
interface ContentListColumnCellContext extends ContentListColumnHeaderContext {
|
|
2593
|
+
item: ContentItem;
|
|
2594
|
+
/**
|
|
2595
|
+
* Items rendered on the current page after host filtering and pagination.
|
|
2596
|
+
* Batch remote data for these items under one shared query key; cells mount once per row.
|
|
2597
|
+
*/
|
|
2598
|
+
visibleItems: readonly ContentItem[];
|
|
2599
|
+
}
|
|
2600
|
+
/** A content-list column contributed by a trusted React plugin. */
|
|
2601
|
+
interface ContentListColumnExtension {
|
|
2602
|
+
/** Stable identifier, unique within this plugin's list columns. */
|
|
2603
|
+
id: string;
|
|
2604
|
+
/** Host-rendered fallback label and shared Lingui message id for the column header. */
|
|
2605
|
+
label: string;
|
|
2606
|
+
cell: React$1.ComponentType<ContentListColumnCellContext>;
|
|
2607
|
+
/** Optional custom header content. The host still owns the table header. */
|
|
2608
|
+
header?: React$1.ComponentType<ContentListColumnHeaderContext>;
|
|
2609
|
+
/** Restrict this column to selected collections. Omit to support every collection. */
|
|
2610
|
+
collections?: readonly string[] | ((collection: string) => boolean);
|
|
2611
|
+
/** Minimum numeric admin role required to see this column. */
|
|
2612
|
+
minRole?: number;
|
|
2613
|
+
/** Lower values render first among contributed columns. */
|
|
2614
|
+
order?: number;
|
|
2615
|
+
align?: "start" | "end";
|
|
2616
|
+
}
|
|
2617
|
+
//#endregion
|
|
2618
|
+
//#region src/lib/plugin-context.d.ts
|
|
2619
|
+
/** Shape of a plugin's admin exports */
|
|
2620
|
+
interface PluginAdminModule {
|
|
2621
|
+
widgets?: Record<string, React$1.ComponentType>;
|
|
2622
|
+
pages?: Record<string, React$1.ComponentType>;
|
|
2623
|
+
fields?: Record<string, React$1.ComponentType>;
|
|
2624
|
+
contentEditorPanels?: readonly ContentEditorPanelExtension[];
|
|
2625
|
+
/** Columns contributed to active content collection lists by a trusted plugin. */
|
|
2626
|
+
contentListColumns?: readonly ContentListColumnExtension[];
|
|
2627
|
+
}
|
|
2628
|
+
/** All plugin admin modules keyed by plugin ID */
|
|
2629
|
+
type PluginAdmins = Record<string, PluginAdminModule>;
|
|
2630
|
+
interface PluginAdminProviderProps {
|
|
2631
|
+
children: React$1.ReactNode;
|
|
2632
|
+
pluginAdmins: PluginAdmins;
|
|
2633
|
+
}
|
|
2634
|
+
/**
|
|
2635
|
+
* Provider that makes plugin admin modules available to all descendants
|
|
2636
|
+
*/
|
|
2637
|
+
declare function PluginAdminProvider({
|
|
2638
|
+
children,
|
|
2639
|
+
pluginAdmins
|
|
2640
|
+
}: PluginAdminProviderProps): react_jsx_runtime0.JSX.Element;
|
|
2641
|
+
/**
|
|
2642
|
+
* Get all plugin admin modules
|
|
2643
|
+
*/
|
|
2644
|
+
declare function usePluginAdmins(): PluginAdmins;
|
|
2645
|
+
/**
|
|
2646
|
+
* Get a dashboard widget component by plugin ID and widget ID
|
|
2647
|
+
*/
|
|
2648
|
+
declare function usePluginWidget(pluginId: string, widgetId: string): React$1.ComponentType | null;
|
|
2649
|
+
/**
|
|
2650
|
+
* Get a plugin page component by plugin ID and path, with trailing-slash and root-fallback resolution
|
|
2651
|
+
*/
|
|
2652
|
+
declare function usePluginPage(pluginId: string, path: string): React$1.ComponentType | null;
|
|
2653
|
+
/**
|
|
2654
|
+
* Get a field widget component by plugin ID and field type
|
|
2655
|
+
*/
|
|
2656
|
+
declare function usePluginField(pluginId: string, fieldType: string): React$1.ComponentType | null;
|
|
2657
|
+
/**
|
|
2658
|
+
* Check if a plugin has any registered admin pages
|
|
2659
|
+
*/
|
|
2660
|
+
declare function usePluginHasPages(pluginId: string): boolean;
|
|
2661
|
+
/**
|
|
2662
|
+
* Check if a plugin has any registered dashboard widgets
|
|
2663
|
+
*/
|
|
2664
|
+
declare function usePluginHasWidgets(pluginId: string): boolean;
|
|
2665
|
+
//#endregion
|
|
2666
|
+
//#region src/App.d.ts
|
|
2667
|
+
interface AdminAppProps {
|
|
2668
|
+
/** Plugin admin modules keyed by plugin ID */
|
|
2669
|
+
pluginAdmins?: PluginAdmins;
|
|
2670
|
+
/** Auth provider UI modules keyed by provider ID */
|
|
2671
|
+
authProviders?: AuthProviders;
|
|
2672
|
+
/** Configured admin white-label branding (logo, site name) */
|
|
2673
|
+
adminBranding?: AdminBranding;
|
|
2674
|
+
/** Active locale code */
|
|
2675
|
+
locale?: string;
|
|
2676
|
+
/** Compiled Lingui messages for the active locale */
|
|
2677
|
+
messages?: Messages;
|
|
2678
|
+
}
|
|
2679
|
+
declare function AdminApp({
|
|
2680
|
+
pluginAdmins,
|
|
2681
|
+
authProviders,
|
|
2682
|
+
adminBranding,
|
|
2683
|
+
locale,
|
|
2684
|
+
messages
|
|
2685
|
+
}: AdminAppProps): react_jsx_runtime0.JSX.Element;
|
|
2686
|
+
//#endregion
|
|
2687
|
+
//#region src/router.d.ts
|
|
2688
|
+
interface RouterContext {
|
|
2689
|
+
queryClient: QueryClient;
|
|
2690
|
+
}
|
|
2691
|
+
declare function parseBylinesLocaleSearch(search: Record<string, unknown>): {
|
|
2692
|
+
locale: string | undefined;
|
|
2693
|
+
};
|
|
2694
|
+
declare function createAdminRouter(queryClient: QueryClient): _tanstack_router_core0.RouterCore<_tanstack_router_core0.Route<_tanstack_react_router0.Register, any, "/", "/", string, "__root__", undefined, {}, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, readonly [_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>, "/setup", "/setup", string, "/setup", undefined, _tanstack_router_core0.ResolveParams<"/setup">, _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.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/login", "/login", string, "/login", undefined, _tanstack_router_core0.ResolveParams<"/login">, _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.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/signup", "/signup", string, "/signup", undefined, _tanstack_router_core0.ResolveParams<"/signup">, _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.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/invite/accept", "/invite/accept", string, "/invite/accept", (search: Record<string, unknown>) => {
|
|
2695
|
+
token: string | undefined;
|
|
2696
|
+
}, _tanstack_router_core0.ResolveParams<"/invite/accept">, _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.RootRoute<_tanstack_react_router0.Register, undefined, RouterContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/device", "/device", string, "/device", undefined, _tanstack_router_core0.ResolveParams<"/device">, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, _tanstack_router_core0.AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, _tanstack_router_core0.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, readonly [_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>, _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", "/content/$collection", string, "/_admin/content/$collection", (search: Record<string, unknown>) => {
|
|
2697
|
+
locale: string | undefined;
|
|
2698
|
+
}, _tanstack_router_core0.ResolveParams<"/content/$collection">, _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/new", "/content/$collection/new", string, "/_admin/content/$collection/new", (search: Record<string, unknown>) => {
|
|
2699
|
+
locale: string | undefined;
|
|
2700
|
+
}, _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>) => {
|
|
2701
|
+
locale?: string | undefined;
|
|
2702
|
+
field?: string | undefined;
|
|
2703
|
+
}, _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>) => {
|
|
2704
|
+
locale: string | undefined;
|
|
2705
|
+
}, _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-manager/$pluginId/settings", "/plugins-manager/$pluginId/settings", string, "/_admin/plugins-manager/$pluginId/settings", undefined, _tanstack_router_core0.ResolveParams<"/plugins-manager/$pluginId/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>, "/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", typeof parseBylinesLocaleSearch, _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>, "/byline-schema", "/byline-schema", string, "/_admin/byline-schema", undefined, _tanstack_router_core0.ResolveParams<"/byline-schema">, _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>, "/settings/backups", "/settings/backups", string, "/_admin/settings/backups", undefined, _tanstack_router_core0.ResolveParams<"/settings/backups">, _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>>;
|
|
2706
|
+
declare module "@tanstack/react-router" {
|
|
2707
|
+
interface Register {
|
|
2708
|
+
router: ReturnType<typeof createAdminRouter>;
|
|
2709
|
+
}
|
|
2710
|
+
}
|
|
2711
|
+
//#endregion
|
|
2712
|
+
//#region src/components/Shell.d.ts
|
|
2713
|
+
declare module "@tanstack/react-router" {
|
|
2714
|
+
interface StaticDataRouteOption {
|
|
2715
|
+
/**
|
|
2716
|
+
* Route renders edge-to-edge: the Shell's <main> drops its padding and
|
|
2717
|
+
* page scroll, and the route's component manages its own scroll regions.
|
|
2718
|
+
*/
|
|
2719
|
+
fullBleed?: boolean;
|
|
2720
|
+
}
|
|
2721
|
+
}
|
|
2722
|
+
interface ShellProps {
|
|
2723
|
+
children: React$1.ReactNode;
|
|
2724
|
+
manifest: {
|
|
2725
|
+
collections: Record<string, {
|
|
2726
|
+
label: string;
|
|
2727
|
+
}>;
|
|
2728
|
+
plugins: Record<string, {
|
|
2729
|
+
package?: string;
|
|
2730
|
+
adminPages?: Array<{
|
|
2731
|
+
path: string;
|
|
2732
|
+
label?: string;
|
|
2733
|
+
icon?: string;
|
|
2734
|
+
}>;
|
|
2735
|
+
}>;
|
|
2736
|
+
taxonomies: Array<{
|
|
2737
|
+
id?: string;
|
|
2738
|
+
name: string;
|
|
2739
|
+
label: string;
|
|
2740
|
+
locale?: string;
|
|
2741
|
+
translationGroup?: string | null;
|
|
2742
|
+
}>;
|
|
2743
|
+
i18n?: {
|
|
2744
|
+
defaultLocale: string;
|
|
2745
|
+
locales: string[];
|
|
2746
|
+
};
|
|
2747
|
+
version?: string;
|
|
2748
|
+
};
|
|
2749
|
+
}
|
|
2750
|
+
/**
|
|
2751
|
+
* Admin shell layout with kumo Sidebar component.
|
|
2752
|
+
*
|
|
2753
|
+
* Sidebar.Provider wraps both the sidebar and main content area,
|
|
2754
|
+
* handling collapse state, mobile detection, and layout transitions.
|
|
2755
|
+
*/
|
|
2756
|
+
declare function Shell({
|
|
2757
|
+
children,
|
|
2758
|
+
manifest
|
|
2759
|
+
}: ShellProps): react_jsx_runtime0.JSX.Element;
|
|
2760
|
+
//#endregion
|
|
2761
|
+
//#region src/components/Sidebar.d.ts
|
|
2762
|
+
interface SidebarNavProps {
|
|
2763
|
+
manifest: {
|
|
2764
|
+
collections: Record<string, {
|
|
2765
|
+
label: string;
|
|
2766
|
+
hidden?: boolean;
|
|
2767
|
+
}>;
|
|
2768
|
+
plugins: Record<string, {
|
|
2769
|
+
package?: string;
|
|
2770
|
+
enabled?: boolean;
|
|
2771
|
+
adminMode?: "react" | "blocks" | "none";
|
|
2772
|
+
adminPages?: Array<{
|
|
2773
|
+
path: string;
|
|
2774
|
+
label?: string;
|
|
2775
|
+
icon?: string;
|
|
2776
|
+
}>;
|
|
2777
|
+
dashboardWidgets?: Array<{
|
|
2778
|
+
id: string;
|
|
2779
|
+
title?: string;
|
|
2780
|
+
}>;
|
|
2781
|
+
version?: string;
|
|
2782
|
+
}>;
|
|
2783
|
+
taxonomies: Array<{
|
|
2784
|
+
id?: string;
|
|
2785
|
+
name: string;
|
|
2786
|
+
label: string;
|
|
2787
|
+
locale?: string;
|
|
2788
|
+
translationGroup?: string | null;
|
|
2789
|
+
}>;
|
|
2790
|
+
i18n?: {
|
|
2791
|
+
defaultLocale: string;
|
|
2792
|
+
locales: string[];
|
|
2793
|
+
};
|
|
2794
|
+
version?: string;
|
|
2795
|
+
commit?: string;
|
|
2796
|
+
marketplace?: string;
|
|
2797
|
+
registry?: {
|
|
2798
|
+
aggregatorUrl: string;
|
|
2799
|
+
};
|
|
2800
|
+
admin?: {
|
|
2801
|
+
logo?: string;
|
|
2802
|
+
siteName?: string;
|
|
2803
|
+
favicon?: string;
|
|
2804
|
+
};
|
|
2805
|
+
};
|
|
2806
|
+
}
|
|
2807
|
+
/**
|
|
2808
|
+
* Admin sidebar navigation using kumo's Sidebar compound component.
|
|
2809
|
+
*/
|
|
2810
|
+
declare function SidebarNav({
|
|
2811
|
+
manifest
|
|
2812
|
+
}: SidebarNavProps): react_jsx_runtime0.JSX.Element;
|
|
2813
|
+
//#endregion
|
|
2814
|
+
//#region src/components/Header.d.ts
|
|
2815
|
+
/**
|
|
2816
|
+
* Admin header with mobile menu toggle and user actions.
|
|
2817
|
+
* Uses useSidebar() hook from kumo Sidebar.Provider context.
|
|
2818
|
+
*/
|
|
2819
|
+
declare function Header(): react_jsx_runtime0.JSX.Element;
|
|
2820
|
+
//#endregion
|
|
2710
2821
|
//#region src/components/Dashboard.d.ts
|
|
2711
2822
|
interface DashboardProps {
|
|
2712
2823
|
manifest: AdminManifest;
|
|
@@ -2718,13 +2829,40 @@ declare function Dashboard({
|
|
|
2718
2829
|
manifest
|
|
2719
2830
|
}: DashboardProps): react_jsx_runtime0.JSX.Element;
|
|
2720
2831
|
//#endregion
|
|
2832
|
+
//#region src/components/BylineFilter.d.ts
|
|
2833
|
+
/**
|
|
2834
|
+
* Byline filter state for the content list.
|
|
2835
|
+
*
|
|
2836
|
+
* `bylineIds` are translation groups, so a selection matches a byline across
|
|
2837
|
+
* every locale it exists in. `none` is exclusive: it matches entries with no
|
|
2838
|
+
* byline rather than a particular one.
|
|
2839
|
+
*/
|
|
2840
|
+
interface BylineFilterState {
|
|
2841
|
+
bylineIds: string[];
|
|
2842
|
+
none: boolean;
|
|
2843
|
+
includeInferred: boolean;
|
|
2844
|
+
}
|
|
2845
|
+
//#endregion
|
|
2721
2846
|
//#region src/components/ContentList.d.ts
|
|
2722
|
-
/**
|
|
2723
|
-
|
|
2847
|
+
/**
|
|
2848
|
+
* Sortable content list columns. The named values map to the server's system
|
|
2849
|
+
* order fields; a collection's configured titleField/dateField slug is also
|
|
2850
|
+
* accepted, which the server validates against the collection.
|
|
2851
|
+
*/
|
|
2852
|
+
type ContentListSortField = "title" | "status" | "locale" | "updatedAt" | (string & {});
|
|
2724
2853
|
interface ContentListSort {
|
|
2725
2854
|
field: ContentListSortField;
|
|
2726
2855
|
direction: "asc" | "desc";
|
|
2727
2856
|
}
|
|
2857
|
+
interface ContentListColumn {
|
|
2858
|
+
slug: string;
|
|
2859
|
+
label: string;
|
|
2860
|
+
kind: string;
|
|
2861
|
+
options?: Array<{
|
|
2862
|
+
value: string;
|
|
2863
|
+
label: string;
|
|
2864
|
+
}>;
|
|
2865
|
+
}
|
|
2728
2866
|
/** Status filter values. `"all"` clears the status filter. */
|
|
2729
2867
|
type ContentStatusFilter = "all" | "published" | "draft" | "scheduled" | "archived";
|
|
2730
2868
|
/**
|
|
@@ -2741,6 +2879,8 @@ interface ContentListProps {
|
|
|
2741
2879
|
collection: string;
|
|
2742
2880
|
collectionLabel: string;
|
|
2743
2881
|
items: ContentItem[];
|
|
2882
|
+
/** Validated custom-field columns from the collection manifest. */
|
|
2883
|
+
listColumns?: ContentListColumn[];
|
|
2744
2884
|
trashedItems?: TrashedContentItem[];
|
|
2745
2885
|
isLoading?: boolean;
|
|
2746
2886
|
isTrashedLoading?: boolean;
|
|
@@ -2764,6 +2904,10 @@ interface ContentListProps {
|
|
|
2764
2904
|
onLocaleChange?: (locale: string) => void;
|
|
2765
2905
|
/** URL pattern for published content links (e.g. `/blog/{slug}`) */
|
|
2766
2906
|
urlPattern?: string;
|
|
2907
|
+
/** Collection field slug powering the Title column (falls back to the title chain). */
|
|
2908
|
+
titleField?: string;
|
|
2909
|
+
/** Collection field slug (datetime) powering the Date column (falls back to updated date). */
|
|
2910
|
+
dateField?: string;
|
|
2767
2911
|
/**
|
|
2768
2912
|
* Controlled sort state. When `onSortChange` is also provided, the column
|
|
2769
2913
|
* headers become sort controls that invoke it. Uncontrolled sort keeps
|
|
@@ -2802,6 +2946,9 @@ interface ContentListProps {
|
|
|
2802
2946
|
/** Controlled date-range filter state. */
|
|
2803
2947
|
dateFilter?: ContentDateFilter;
|
|
2804
2948
|
onDateFilterChange?: (filter: ContentDateFilter) => void;
|
|
2949
|
+
/** Controlled byline filter state. */
|
|
2950
|
+
bylineFilter?: BylineFilterState;
|
|
2951
|
+
onBylineFilterChange?: (filter: BylineFilterState) => void;
|
|
2805
2952
|
/**
|
|
2806
2953
|
* Bulk actions. Each is opt-in: the selection checkboxes only appear when at
|
|
2807
2954
|
* least one bulk handler is provided, and each toolbar button renders only
|
|
@@ -2812,6 +2959,10 @@ interface ContentListProps {
|
|
|
2812
2959
|
onBulkPublish?: BulkActionHandler;
|
|
2813
2960
|
onBulkUnpublish?: BulkActionHandler;
|
|
2814
2961
|
onBulkDelete?: BulkActionHandler;
|
|
2962
|
+
/** Current role used only for contributed-column visibility, not authorization. */
|
|
2963
|
+
userRole?: number;
|
|
2964
|
+
/** Manifest state used to omit disabled or stale trusted-plugin contributions. */
|
|
2965
|
+
pluginStates?: AdminManifest["plugins"];
|
|
2815
2966
|
}
|
|
2816
2967
|
type BulkActionHandler = (ids: string[]) => Promise<string[]>;
|
|
2817
2968
|
/**
|
|
@@ -2821,6 +2972,7 @@ declare function ContentList({
|
|
|
2821
2972
|
collection,
|
|
2822
2973
|
collectionLabel,
|
|
2823
2974
|
items,
|
|
2975
|
+
listColumns,
|
|
2824
2976
|
trashedItems,
|
|
2825
2977
|
isLoading,
|
|
2826
2978
|
isTrashedLoading,
|
|
@@ -2837,6 +2989,8 @@ declare function ContentList({
|
|
|
2837
2989
|
activeLocale,
|
|
2838
2990
|
onLocaleChange,
|
|
2839
2991
|
urlPattern,
|
|
2992
|
+
titleField,
|
|
2993
|
+
dateField,
|
|
2840
2994
|
sort,
|
|
2841
2995
|
onSortChange,
|
|
2842
2996
|
total,
|
|
@@ -2848,9 +3002,13 @@ declare function ContentList({
|
|
|
2848
3002
|
onAuthorFilterChange,
|
|
2849
3003
|
dateFilter,
|
|
2850
3004
|
onDateFilterChange,
|
|
3005
|
+
bylineFilter,
|
|
3006
|
+
onBylineFilterChange,
|
|
2851
3007
|
onBulkPublish,
|
|
2852
3008
|
onBulkUnpublish,
|
|
2853
|
-
onBulkDelete
|
|
3009
|
+
onBulkDelete,
|
|
3010
|
+
userRole,
|
|
3011
|
+
pluginStates
|
|
2854
3012
|
}: ContentListProps): react_jsx_runtime0.JSX.Element;
|
|
2855
3013
|
//#endregion
|
|
2856
3014
|
//#region src/components/editor/PluginBlockNode.d.ts
|
|
@@ -3422,5 +3580,5 @@ declare function SetupWizard(): react_jsx_runtime0.JSX.Element | null;
|
|
|
3422
3580
|
*/
|
|
3423
3581
|
declare function cn(...inputs: ClassValue[]): string;
|
|
3424
3582
|
//#endregion
|
|
3425
|
-
export { API_BASE, API_TOKEN_SCOPES, AdminApp, AdminApp as App, type AdminBranding, 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 BylineCustomFieldValue, type BylineFieldDefinition, type BylineFieldType, type BylineFieldUsage, type BylineFieldValidation, type BylineInput, type BylineSummary, type BylineTranslationInput, CAPABILITY_LABELS, type CollectionSchemaStatus, type CollectionStats, type CommentCounts, type CommentStatus, type ContentAuthor, type ContentDateField, ContentEditor, type ContentEditorProps, type ContentItem, ContentList, type ContentListProps, type ContentSeo, type ContentSeoInput, type CreateAllowedDomainInput, type CreateApiTokenInput, type CreateBylineFieldInput, 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, MEDIA_SEARCH_MAX_LENGTH, 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, type SettingField, 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 UpdateBylineFieldInput, 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 WpImportProgress, type WpPluginAnalysis, type WxrAnalysis, analyzeWpPluginSite, analyzeWxr, apiFetch, bulkCommentAction, checkPluginUpdates, cn, compareRevisions, completeSignup, createAdminRouter, createAllowedDomain, createApiToken, createByline, createBylineField, createBylineTranslation, createCollection, createContent, createField, createMenu, createMenuItem, createMenuTranslation, createRedirect, createSection, createTaxonomy, createTerm, createTermTranslation, createWidget, createWidgetArea, deleteAllowedDomain, deleteByline, deleteBylineField, 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, fetchBylineTranslations, fetchBylines, fetchCollection, fetchCollections, fetchComment, fetchCommentCounts, fetchComments, fetchContent, fetchContentAuthors, fetchContentList, fetchDashboardStats, fetchEmailSettings, fetchFields, fetchManifest, fetchMarketplacePlugin, fetchMediaItem, fetchMediaList, fetchMediaProviders, fetchMenu, fetchMenuTranslations, fetchMenus, fetchOrphanedTables, fetchPasskeys, fetchPlugin, fetchPluginSettings, fetchPlugins, fetchProviderMedia, fetchRedirects, fetchRevision, fetchRevisions, fetchSection, fetchSections, fetchSettings, fetchTaxonomyDef, fetchTaxonomyDefs, fetchTermTranslations, fetchTerms, fetchTheme, fetchTranslations, fetchTrashedContent, fetchUser, fetchUsers, fetchWidgetArea, fetchWidgetAreas, fetchWidgetComponents, generatePreviewUrl, getBylineFieldUsage, getDraftStatus, getPreviewUrl, hasAllowedDomains, importWxrMedia, importWxrMediaBatched, installMarketplacePlugin, inviteUser, listBylineFields, parseApiResponse, permanentDeleteContent, prepareWxrImport, probeImportUrl, publishContent, registerOrphanedTable, renamePasskey, reorderBylineFields, reorderCollections, reorderFields, reorderMenuItems, reorderWidgets, requestSignup, resolveLocale, restoreContent, restoreRevision, revokeApiToken, rewriteContentUrls, scheduleContent, searchMarketplace, searchThemes, sendRecoveryLink, sendTestEmail, setPluginMcpEnabled, setSearchEnabled, throwResponseError, uninstallMarketplacePlugin, unpublishContent, unscheduleContent, updateAllowedDomain, updateByline, updateBylineField, updateCollection, updateCommentStatus, updateContent, updateField, updateMarketplacePlugin, updateMedia, updateMenu, updateMenuItem, updatePluginSettings, updateRedirect, updateSection, updateSettings, updateTerm, updateUser, updateWidget, uploadMedia, uploadToProvider, useAuthProviderList, useAuthProviders, useCurrentUser, useLocale, useNavigate, useParams, usePluginAdmins, usePluginField, usePluginHasPages, usePluginHasWidgets, usePluginPage, usePluginWidget, validateInviteToken, verifySignupToken };
|
|
3583
|
+
export { API_BASE, API_TOKEN_SCOPES, AdminApp, AdminApp as App, type AdminBranding, 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 BylineCustomFieldValue, type BylineFieldDefinition, type BylineFieldType, type BylineFieldUsage, type BylineFieldValidation, type BylineInput, type BylineSummary, type BylineTranslationInput, CAPABILITY_LABELS, type CollectionSchemaStatus, type CollectionStats, type CommentCounts, type CommentStatus, type ContentAuthor, type ContentDateField, ContentEditor, type ContentEditorPanelContext, type ContentEditorPanelExtension, type ContentEditorProps, type ContentItem, ContentList, type ContentListColumn, type ContentListColumnCellContext, type ContentListColumnExtension, type ContentListColumnHeaderContext, type ContentListProps, type ContentSeo, type ContentSeoInput, type CreateAllowedDomainInput, type CreateApiTokenInput, type CreateBylineFieldInput, 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, MEDIA_SEARCH_MAX_LENGTH, 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, type SettingField, 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 UpdateBylineFieldInput, 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 WpImportProgress, type WpPluginAnalysis, type WxrAnalysis, analyzeWpPluginSite, analyzeWxr, apiFetch, bulkCommentAction, checkPluginUpdates, cn, compareRevisions, completeSignup, createAdminRouter, createAllowedDomain, createApiToken, createByline, createBylineField, createBylineTranslation, createCollection, createContent, createField, createMenu, createMenuItem, createMenuTranslation, createRedirect, createSection, createTaxonomy, createTerm, createTermTranslation, createWidget, createWidgetArea, deleteAllowedDomain, deleteByline, deleteBylineField, 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, fetchBylineTranslations, fetchBylines, fetchCollection, fetchCollections, fetchComment, fetchCommentCounts, fetchComments, fetchContent, fetchContentAuthors, fetchContentList, fetchDashboardStats, fetchEmailSettings, fetchFields, fetchManifest, fetchMarketplacePlugin, fetchMediaItem, fetchMediaList, fetchMediaProviders, fetchMenu, fetchMenuTranslations, fetchMenus, fetchOrphanedTables, fetchPasskeys, fetchPlugin, fetchPluginSettings, fetchPlugins, fetchProviderMedia, fetchRedirects, fetchRevision, fetchRevisions, fetchSection, fetchSections, fetchSettings, fetchTaxonomyDef, fetchTaxonomyDefs, fetchTermTranslations, fetchTerms, fetchTheme, fetchTranslations, fetchTrashedContent, fetchUser, fetchUsers, fetchWidgetArea, fetchWidgetAreas, fetchWidgetComponents, generatePreviewUrl, getBylineFieldUsage, getDraftStatus, getPreviewUrl, hasAllowedDomains, importWxrMedia, importWxrMediaBatched, installMarketplacePlugin, inviteUser, listBylineFields, parseApiResponse, permanentDeleteContent, prepareWxrImport, probeImportUrl, publishContent, registerOrphanedTable, renamePasskey, reorderBylineFields, reorderCollections, reorderFields, reorderMenuItems, reorderWidgets, requestSignup, resolveLocale, restoreContent, restoreRevision, revokeApiToken, rewriteContentUrls, scheduleContent, searchMarketplace, searchThemes, sendRecoveryLink, sendTestEmail, setPluginMcpEnabled, setSearchEnabled, throwResponseError, uninstallMarketplacePlugin, unpublishContent, unscheduleContent, updateAllowedDomain, updateByline, updateBylineField, updateCollection, updateCommentStatus, updateContent, updateField, updateMarketplacePlugin, updateMedia, updateMenu, updateMenuItem, updatePluginSettings, updateRedirect, updateSection, updateSettings, updateTerm, updateUser, updateWidget, uploadMedia, uploadToProvider, useAuthProviderList, useAuthProviders, useCurrentUser, useLocale, useNavigate, useParams, usePluginAdmins, usePluginField, usePluginHasPages, usePluginHasWidgets, usePluginPage, usePluginWidget, validateInviteToken, verifySignupToken };
|
|
3426
3584
|
//# sourceMappingURL=index.d.ts.map
|