@emdash-cms/admin 0.32.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-5U1vW9Op.js → LocaleDirectionProvider-B56zZskH.js} +39 -27
- package/dist/LocaleDirectionProvider-B56zZskH.js.map +1 -0
- package/dist/{config-BAgt8Ary.d.ts → config-DAMBKrx2.d.ts} +1 -1
- package/dist/{config-BAgt8Ary.d.ts.map → config-DAMBKrx2.d.ts.map} +1 -1
- package/dist/index.d.ts +386 -208
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5531 -3298
- 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 -0
- 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 -0
- 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 +10 -5
- package/dist/LocaleDirectionProvider-5U1vW9Op.js.map +0 -1
- package/dist/messages-4Xvqxc1Y.js +0 -6
- package/dist/messages-4Xvqxc1Y.js.map +0 -1
- package/dist/messages-BEM_otIY.js +0 -6
- package/dist/messages-BEM_otIY.js.map +0 -1
- package/dist/messages-BGMVnYg4.js +0 -6
- package/dist/messages-BGMVnYg4.js.map +0 -1
- package/dist/messages-BclRCIJA.js +0 -6
- package/dist/messages-BclRCIJA.js.map +0 -1
- package/dist/messages-C1ze9eQE.js +0 -6
- package/dist/messages-C1ze9eQE.js.map +0 -1
- package/dist/messages-C4H363zG.js +0 -6
- package/dist/messages-C4H363zG.js.map +0 -1
- package/dist/messages-C6OGaloG.js +0 -6
- package/dist/messages-C6OGaloG.js.map +0 -1
- package/dist/messages-C8wqmrr8.js +0 -6
- package/dist/messages-C8wqmrr8.js.map +0 -1
- package/dist/messages-CA8wH0UZ.js +0 -6
- package/dist/messages-CA8wH0UZ.js.map +0 -1
- package/dist/messages-CIJnESHn.js +0 -6
- package/dist/messages-CIJnESHn.js.map +0 -1
- package/dist/messages-CM58Ca_k.js +0 -6
- package/dist/messages-CM58Ca_k.js.map +0 -1
- package/dist/messages-C_GxB5z5.js +0 -6
- package/dist/messages-C_GxB5z5.js.map +0 -1
- package/dist/messages-CyfnTXoj.js +0 -6
- package/dist/messages-CyfnTXoj.js.map +0 -1
- package/dist/messages-D0s7hcHS.js +0 -6
- package/dist/messages-D0s7hcHS.js.map +0 -1
- package/dist/messages-D1x_ybt3.js +0 -6
- package/dist/messages-D1x_ybt3.js.map +0 -1
- package/dist/messages-DGwx2Tk0.js +0 -6
- package/dist/messages-DGwx2Tk0.js.map +0 -1
- package/dist/messages-DK0nSPWb.js +0 -6
- package/dist/messages-DK0nSPWb.js.map +0 -1
- package/dist/messages-DN4lsll0.js +0 -6
- package/dist/messages-DN4lsll0.js.map +0 -1
- package/dist/messages-DTFf1KbO.js +0 -6
- package/dist/messages-DTFf1KbO.js.map +0 -1
- package/dist/messages-DbGMdPqR.js +0 -6
- package/dist/messages-DbGMdPqR.js.map +0 -1
- package/dist/messages-DhWQ6ntN.js +0 -6
- package/dist/messages-DhWQ6ntN.js.map +0 -1
- package/dist/messages-TIxLB_zK.js +0 -6
- package/dist/messages-TIxLB_zK.js.map +0 -1
- package/dist/messages-jmWwv5I9.js +0 -6
- package/dist/messages-jmWwv5I9.js.map +0 -1
- package/dist/messages-n5KSdGIR.js +0 -6
- package/dist/messages-n5KSdGIR.js.map +0 -1
- package/dist/messages-qZU4N886.js +0 -6
- package/dist/messages-qZU4N886.js.map +0 -1
- package/dist/messages-z8DCjl2v.js +0 -6
- package/dist/messages-z8DCjl2v.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,205 +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
|
-
}>;
|
|
211
|
-
plugins: Record<string, {
|
|
212
|
-
package?: string;
|
|
213
|
-
enabled?: boolean;
|
|
214
|
-
adminMode?: "react" | "blocks" | "none";
|
|
215
|
-
adminPages?: Array<{
|
|
216
|
-
path: string;
|
|
217
|
-
label?: string;
|
|
218
|
-
icon?: string;
|
|
219
|
-
}>;
|
|
220
|
-
dashboardWidgets?: Array<{
|
|
221
|
-
id: string;
|
|
222
|
-
title?: string;
|
|
223
|
-
}>;
|
|
224
|
-
version?: string;
|
|
225
|
-
}>;
|
|
226
|
-
taxonomies: Array<{
|
|
227
|
-
name: string;
|
|
228
|
-
label: string;
|
|
229
|
-
}>;
|
|
230
|
-
version?: string;
|
|
231
|
-
commit?: string;
|
|
232
|
-
marketplace?: string;
|
|
233
|
-
registry?: {
|
|
234
|
-
aggregatorUrl: string;
|
|
235
|
-
};
|
|
236
|
-
admin?: {
|
|
237
|
-
logo?: string;
|
|
238
|
-
siteName?: string;
|
|
239
|
-
favicon?: string;
|
|
240
|
-
};
|
|
241
|
-
};
|
|
242
|
-
}
|
|
243
|
-
/**
|
|
244
|
-
* Admin sidebar navigation using kumo's Sidebar compound component.
|
|
245
|
-
*/
|
|
246
|
-
declare function SidebarNav({
|
|
247
|
-
manifest
|
|
248
|
-
}: SidebarNavProps): react_jsx_runtime0.JSX.Element;
|
|
249
|
-
//#endregion
|
|
250
|
-
//#region src/lib/api/current-user.d.ts
|
|
251
|
-
/**
|
|
252
|
-
* Current user query — shared across Shell, Header, Sidebar, and CommandPalette.
|
|
253
|
-
*/
|
|
254
|
-
interface CurrentUser {
|
|
255
|
-
id: string;
|
|
256
|
-
email: string;
|
|
257
|
-
name?: string;
|
|
258
|
-
role: number;
|
|
259
|
-
avatarUrl?: string;
|
|
260
|
-
isFirstLogin?: boolean;
|
|
261
|
-
}
|
|
262
|
-
declare function useCurrentUser(): _tanstack_react_query0.UseQueryResult<CurrentUser, Error>;
|
|
263
|
-
//#endregion
|
|
264
|
-
//#region src/components/Header.d.ts
|
|
265
|
-
/**
|
|
266
|
-
* Admin header with mobile menu toggle and user actions.
|
|
267
|
-
* Uses useSidebar() hook from kumo Sidebar.Provider context.
|
|
268
|
-
*/
|
|
269
|
-
declare function Header(): react_jsx_runtime0.JSX.Element;
|
|
270
|
-
//#endregion
|
|
271
72
|
//#region src/lib/api/client.d.ts
|
|
272
73
|
declare const API_BASE = "/_emdash/api";
|
|
273
74
|
/**
|
|
@@ -309,6 +110,11 @@ interface AdminManifest {
|
|
|
309
110
|
supports: string[];
|
|
310
111
|
hasSeo: boolean;
|
|
311
112
|
urlPattern?: string;
|
|
113
|
+
routable?: boolean;
|
|
114
|
+
titleField?: string;
|
|
115
|
+
dateField?: string;
|
|
116
|
+
hidden?: boolean;
|
|
117
|
+
listColumns?: string[];
|
|
312
118
|
fields: Record<string, {
|
|
313
119
|
/** Database row ID (ULID) for the field. Used to widen MIME allowlists on upload/media-list calls. */id?: string;
|
|
314
120
|
kind: string;
|
|
@@ -383,15 +189,23 @@ interface AdminManifest {
|
|
|
383
189
|
defaultLocale: string;
|
|
384
190
|
locales: string[];
|
|
385
191
|
};
|
|
192
|
+
/** Stored-content locale policy, independent from the admin UI language. */
|
|
193
|
+
contentLocale?: {
|
|
194
|
+
defaultLocale: string;
|
|
195
|
+
implicit: boolean;
|
|
196
|
+
};
|
|
386
197
|
/**
|
|
387
198
|
* Taxonomy definitions for the admin sidebar.
|
|
388
199
|
*/
|
|
389
200
|
taxonomies: Array<{
|
|
201
|
+
id?: string;
|
|
390
202
|
name: string;
|
|
391
203
|
label: string;
|
|
392
204
|
labelSingular?: string;
|
|
393
205
|
hierarchical: boolean;
|
|
394
206
|
collections: string[];
|
|
207
|
+
locale?: string;
|
|
208
|
+
translationGroup?: string | null;
|
|
395
209
|
}>;
|
|
396
210
|
/**
|
|
397
211
|
* Marketplace registry URL. Present when `marketplace` is configured
|
|
@@ -588,7 +402,7 @@ interface ContentItem {
|
|
|
588
402
|
}
|
|
589
403
|
interface CreateContentInput {
|
|
590
404
|
type: string;
|
|
591
|
-
slug?: string;
|
|
405
|
+
slug?: string | null;
|
|
592
406
|
data: Record<string, unknown>;
|
|
593
407
|
status?: string;
|
|
594
408
|
bylines?: BylineCreditInput[];
|
|
@@ -620,7 +434,7 @@ interface ContentSeoInput {
|
|
|
620
434
|
}
|
|
621
435
|
interface UpdateContentInput {
|
|
622
436
|
data?: Record<string, unknown>;
|
|
623
|
-
slug?: string;
|
|
437
|
+
slug?: string | null;
|
|
624
438
|
status?: string;
|
|
625
439
|
publishedAt?: string | null;
|
|
626
440
|
authorId?: string | null;
|
|
@@ -653,12 +467,23 @@ declare function fetchContentList(collection: string, options?: {
|
|
|
653
467
|
status?: string;
|
|
654
468
|
locale?: string; /** Field name to order by, matching the server's whitelist. */
|
|
655
469
|
orderBy?: string; /** Sort direction; defaults to "desc" on the server. */
|
|
656
|
-
order?: "asc" | "desc"; /**
|
|
470
|
+
order?: "asc" | "desc"; /** Search across display fields, slug, and searchable custom fields. */
|
|
657
471
|
search?: string; /** Filter to entries authored by this user (the `author_id` column). */
|
|
658
472
|
authorId?: string; /** Which timestamp column the `dateFrom`/`dateTo` range applies to. */
|
|
659
473
|
dateField?: ContentDateField; /** Inclusive lower bound (ISO date or datetime). Requires `dateField`. */
|
|
660
474
|
dateFrom?: string; /** Inclusive upper bound (ISO date or datetime). Requires `dateField`. */
|
|
661
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;
|
|
662
487
|
}): Promise<FindManyResult<ContentItem>>;
|
|
663
488
|
/** A distinct content author, for the admin author filter. */
|
|
664
489
|
interface ContentAuthor {
|
|
@@ -917,10 +742,17 @@ interface SchemaCollection {
|
|
|
917
742
|
labelSingular?: string;
|
|
918
743
|
description?: string;
|
|
919
744
|
icon?: string;
|
|
745
|
+
admin?: CollectionAdminConfig;
|
|
920
746
|
supports: string[];
|
|
921
747
|
source?: string;
|
|
922
748
|
urlPattern?: string;
|
|
749
|
+
/** Published entries require a slug unless this is false. */
|
|
750
|
+
routable?: boolean;
|
|
923
751
|
hasSeo: boolean;
|
|
752
|
+
/** Sidebar entry omitted in the admin; the collection stays reachable by URL */
|
|
753
|
+
hidden: boolean;
|
|
754
|
+
/** Explicit sidebar position; absent means the alphabetical fallback */
|
|
755
|
+
sortOrder?: number;
|
|
924
756
|
commentsEnabled: boolean;
|
|
925
757
|
commentsModeration: "all" | "first_time" | "none";
|
|
926
758
|
commentsClosedAfterDays: number;
|
|
@@ -928,6 +760,9 @@ interface SchemaCollection {
|
|
|
928
760
|
createdAt: string;
|
|
929
761
|
updatedAt: string;
|
|
930
762
|
}
|
|
763
|
+
interface CollectionAdminConfig {
|
|
764
|
+
listColumns?: string[];
|
|
765
|
+
}
|
|
931
766
|
interface SchemaField {
|
|
932
767
|
id: string;
|
|
933
768
|
collectionId: string;
|
|
@@ -938,6 +773,7 @@ interface SchemaField {
|
|
|
938
773
|
required: boolean;
|
|
939
774
|
unique: boolean;
|
|
940
775
|
searchable: boolean;
|
|
776
|
+
indexed: boolean;
|
|
941
777
|
defaultValue?: unknown;
|
|
942
778
|
validation?: {
|
|
943
779
|
min?: number;
|
|
@@ -962,18 +798,26 @@ interface CreateCollectionInput {
|
|
|
962
798
|
labelSingular?: string;
|
|
963
799
|
description?: string;
|
|
964
800
|
icon?: string;
|
|
801
|
+
admin?: CollectionAdminConfig;
|
|
965
802
|
supports?: string[];
|
|
966
803
|
urlPattern?: string;
|
|
804
|
+
routable?: boolean;
|
|
967
805
|
hasSeo?: boolean;
|
|
806
|
+
hidden?: boolean;
|
|
807
|
+
sortOrder?: number | null;
|
|
968
808
|
}
|
|
969
809
|
interface UpdateCollectionInput {
|
|
970
810
|
label?: string;
|
|
971
811
|
labelSingular?: string;
|
|
972
812
|
description?: string;
|
|
973
813
|
icon?: string;
|
|
814
|
+
admin?: CollectionAdminConfig;
|
|
974
815
|
supports?: string[];
|
|
975
816
|
urlPattern?: string;
|
|
817
|
+
routable?: boolean;
|
|
976
818
|
hasSeo?: boolean;
|
|
819
|
+
hidden?: boolean;
|
|
820
|
+
sortOrder?: number | null;
|
|
977
821
|
commentsEnabled?: boolean;
|
|
978
822
|
commentsModeration?: "all" | "first_time" | "none";
|
|
979
823
|
commentsClosedAfterDays?: number;
|
|
@@ -986,6 +830,7 @@ interface CreateFieldInput {
|
|
|
986
830
|
required?: boolean;
|
|
987
831
|
unique?: boolean;
|
|
988
832
|
searchable?: boolean;
|
|
833
|
+
indexed?: boolean;
|
|
989
834
|
defaultValue?: unknown;
|
|
990
835
|
validation?: {
|
|
991
836
|
min?: number;
|
|
@@ -1004,6 +849,7 @@ interface UpdateFieldInput {
|
|
|
1004
849
|
required?: boolean;
|
|
1005
850
|
unique?: boolean;
|
|
1006
851
|
searchable?: boolean;
|
|
852
|
+
indexed?: boolean;
|
|
1007
853
|
defaultValue?: unknown;
|
|
1008
854
|
validation?: {
|
|
1009
855
|
min?: number;
|
|
@@ -1058,6 +904,14 @@ declare function deleteField(collectionSlug: string, fieldSlug: string): Promise
|
|
|
1058
904
|
* Reorder fields
|
|
1059
905
|
*/
|
|
1060
906
|
declare function reorderFields(collectionSlug: string, fieldSlugs: string[]): Promise<void>;
|
|
907
|
+
/**
|
|
908
|
+
* Reorder collections in the admin sidebar.
|
|
909
|
+
*
|
|
910
|
+
* `slugs` is the full desired order — collections left out lose their
|
|
911
|
+
* explicit position and fall back to alphabetical order after the ordered
|
|
912
|
+
* ones.
|
|
913
|
+
*/
|
|
914
|
+
declare function reorderCollections(slugs: string[]): Promise<void>;
|
|
1061
915
|
interface OrphanedTable {
|
|
1062
916
|
slug: string;
|
|
1063
917
|
tableName: string;
|
|
@@ -1852,7 +1706,7 @@ interface CreateTaxonomyInput {
|
|
|
1852
1706
|
translationOf?: string;
|
|
1853
1707
|
}
|
|
1854
1708
|
interface CreateTermInput {
|
|
1855
|
-
slug
|
|
1709
|
+
slug?: string;
|
|
1856
1710
|
label: string;
|
|
1857
1711
|
parentId?: string;
|
|
1858
1712
|
description?: string;
|
|
@@ -2361,6 +2215,7 @@ interface CollectionStats {
|
|
|
2361
2215
|
published: number;
|
|
2362
2216
|
draft: number;
|
|
2363
2217
|
scheduled: number;
|
|
2218
|
+
overdueScheduled?: number;
|
|
2364
2219
|
}
|
|
2365
2220
|
interface RecentItem {
|
|
2366
2221
|
id: string;
|
|
@@ -2377,6 +2232,10 @@ interface DashboardStats {
|
|
|
2377
2232
|
mediaCount: number;
|
|
2378
2233
|
userCount: number;
|
|
2379
2234
|
recentItems: RecentItem[];
|
|
2235
|
+
schedulerHealth?: {
|
|
2236
|
+
status: "healthy" | "stale" | "unknown";
|
|
2237
|
+
lastCompletedAt: string | null;
|
|
2238
|
+
};
|
|
2380
2239
|
}
|
|
2381
2240
|
/**
|
|
2382
2241
|
* Fetch dashboard statistics
|
|
@@ -2689,6 +2548,276 @@ declare function deleteRedirect(id: string): Promise<void>;
|
|
|
2689
2548
|
*/
|
|
2690
2549
|
declare function fetch404Summary(limit?: number): Promise<NotFoundSummary[]>;
|
|
2691
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
|
|
2692
2821
|
//#region src/components/Dashboard.d.ts
|
|
2693
2822
|
interface DashboardProps {
|
|
2694
2823
|
manifest: AdminManifest;
|
|
@@ -2700,13 +2829,40 @@ declare function Dashboard({
|
|
|
2700
2829
|
manifest
|
|
2701
2830
|
}: DashboardProps): react_jsx_runtime0.JSX.Element;
|
|
2702
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
|
|
2703
2846
|
//#region src/components/ContentList.d.ts
|
|
2704
|
-
/**
|
|
2705
|
-
|
|
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 & {});
|
|
2706
2853
|
interface ContentListSort {
|
|
2707
2854
|
field: ContentListSortField;
|
|
2708
2855
|
direction: "asc" | "desc";
|
|
2709
2856
|
}
|
|
2857
|
+
interface ContentListColumn {
|
|
2858
|
+
slug: string;
|
|
2859
|
+
label: string;
|
|
2860
|
+
kind: string;
|
|
2861
|
+
options?: Array<{
|
|
2862
|
+
value: string;
|
|
2863
|
+
label: string;
|
|
2864
|
+
}>;
|
|
2865
|
+
}
|
|
2710
2866
|
/** Status filter values. `"all"` clears the status filter. */
|
|
2711
2867
|
type ContentStatusFilter = "all" | "published" | "draft" | "scheduled" | "archived";
|
|
2712
2868
|
/**
|
|
@@ -2723,6 +2879,8 @@ interface ContentListProps {
|
|
|
2723
2879
|
collection: string;
|
|
2724
2880
|
collectionLabel: string;
|
|
2725
2881
|
items: ContentItem[];
|
|
2882
|
+
/** Validated custom-field columns from the collection manifest. */
|
|
2883
|
+
listColumns?: ContentListColumn[];
|
|
2726
2884
|
trashedItems?: TrashedContentItem[];
|
|
2727
2885
|
isLoading?: boolean;
|
|
2728
2886
|
isTrashedLoading?: boolean;
|
|
@@ -2746,6 +2904,10 @@ interface ContentListProps {
|
|
|
2746
2904
|
onLocaleChange?: (locale: string) => void;
|
|
2747
2905
|
/** URL pattern for published content links (e.g. `/blog/{slug}`) */
|
|
2748
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;
|
|
2749
2911
|
/**
|
|
2750
2912
|
* Controlled sort state. When `onSortChange` is also provided, the column
|
|
2751
2913
|
* headers become sort controls that invoke it. Uncontrolled sort keeps
|
|
@@ -2784,6 +2946,9 @@ interface ContentListProps {
|
|
|
2784
2946
|
/** Controlled date-range filter state. */
|
|
2785
2947
|
dateFilter?: ContentDateFilter;
|
|
2786
2948
|
onDateFilterChange?: (filter: ContentDateFilter) => void;
|
|
2949
|
+
/** Controlled byline filter state. */
|
|
2950
|
+
bylineFilter?: BylineFilterState;
|
|
2951
|
+
onBylineFilterChange?: (filter: BylineFilterState) => void;
|
|
2787
2952
|
/**
|
|
2788
2953
|
* Bulk actions. Each is opt-in: the selection checkboxes only appear when at
|
|
2789
2954
|
* least one bulk handler is provided, and each toolbar button renders only
|
|
@@ -2794,6 +2959,10 @@ interface ContentListProps {
|
|
|
2794
2959
|
onBulkPublish?: BulkActionHandler;
|
|
2795
2960
|
onBulkUnpublish?: BulkActionHandler;
|
|
2796
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"];
|
|
2797
2966
|
}
|
|
2798
2967
|
type BulkActionHandler = (ids: string[]) => Promise<string[]>;
|
|
2799
2968
|
/**
|
|
@@ -2803,6 +2972,7 @@ declare function ContentList({
|
|
|
2803
2972
|
collection,
|
|
2804
2973
|
collectionLabel,
|
|
2805
2974
|
items,
|
|
2975
|
+
listColumns,
|
|
2806
2976
|
trashedItems,
|
|
2807
2977
|
isLoading,
|
|
2808
2978
|
isTrashedLoading,
|
|
@@ -2819,6 +2989,8 @@ declare function ContentList({
|
|
|
2819
2989
|
activeLocale,
|
|
2820
2990
|
onLocaleChange,
|
|
2821
2991
|
urlPattern,
|
|
2992
|
+
titleField,
|
|
2993
|
+
dateField,
|
|
2822
2994
|
sort,
|
|
2823
2995
|
onSortChange,
|
|
2824
2996
|
total,
|
|
@@ -2830,9 +3002,13 @@ declare function ContentList({
|
|
|
2830
3002
|
onAuthorFilterChange,
|
|
2831
3003
|
dateFilter,
|
|
2832
3004
|
onDateFilterChange,
|
|
3005
|
+
bylineFilter,
|
|
3006
|
+
onBylineFilterChange,
|
|
2833
3007
|
onBulkPublish,
|
|
2834
3008
|
onBulkUnpublish,
|
|
2835
|
-
onBulkDelete
|
|
3009
|
+
onBulkDelete,
|
|
3010
|
+
userRole,
|
|
3011
|
+
pluginStates
|
|
2836
3012
|
}: ContentListProps): react_jsx_runtime0.JSX.Element;
|
|
2837
3013
|
//#endregion
|
|
2838
3014
|
//#region src/components/editor/PluginBlockNode.d.ts
|
|
@@ -2872,6 +3048,8 @@ interface PortableTextTextBlock {
|
|
|
2872
3048
|
style?: "normal" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "blockquote";
|
|
2873
3049
|
listItem?: "bullet" | "number";
|
|
2874
3050
|
level?: number;
|
|
3051
|
+
listId?: string;
|
|
3052
|
+
listStart?: number;
|
|
2875
3053
|
children: PortableTextSpan[];
|
|
2876
3054
|
markDefs?: PortableTextMarkDef[];
|
|
2877
3055
|
textAlign?: "left" | "center" | "right" | "justify";
|
|
@@ -3402,5 +3580,5 @@ declare function SetupWizard(): react_jsx_runtime0.JSX.Element | null;
|
|
|
3402
3580
|
*/
|
|
3403
3581
|
declare function cn(...inputs: ClassValue[]): string;
|
|
3404
3582
|
//#endregion
|
|
3405
|
-
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, 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 };
|
|
3406
3584
|
//# sourceMappingURL=index.d.ts.map
|