@jini-ai/admin 0.7.3-next.1 → 0.7.3-next.2
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/CHANGELOG.md +2 -0
- package/dist/redirects/messages.en.d.ts +1 -0
- package/dist/redirects/messages.en.js +1 -0
- package/dist/redirects/react/index.d.ts +3 -0
- package/dist/redirects/react/pages/RedirectsPage.js +1 -1
- package/dist/redirects/redirects.module.d.ts +1 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -20,6 +20,7 @@ export declare const redirectsMessagesEn: {
|
|
|
20
20
|
readonly "308 (permanent, method-preserving)": "308 (permanent, method-preserving)";
|
|
21
21
|
readonly "Add redirect": "Add redirect";
|
|
22
22
|
readonly "No redirect rules yet.": "No redirect rules yet.";
|
|
23
|
+
readonly "Only the first 500 active wildcard redirects are used. Turn off or merge some.": "Only the first 500 active wildcard redirects are used. Turn off or merge some.";
|
|
23
24
|
readonly From: "From";
|
|
24
25
|
readonly To: "To";
|
|
25
26
|
readonly Type: "Type";
|
|
@@ -19,6 +19,7 @@ export const redirectsMessagesEn = {
|
|
|
19
19
|
"308 (permanent, method-preserving)": "308 (permanent, method-preserving)",
|
|
20
20
|
"Add redirect": "Add redirect",
|
|
21
21
|
"No redirect rules yet.": "No redirect rules yet.",
|
|
22
|
+
"Only the first 500 active wildcard redirects are used. Turn off or merge some.": "Only the first 500 active wildcard redirects are used. Turn off or merge some.",
|
|
22
23
|
"From": "From",
|
|
23
24
|
"To": "To",
|
|
24
25
|
"Type": "Type",
|
|
@@ -44,6 +44,7 @@ export declare function redirects<Page, Tab>({ ui }: {
|
|
|
44
44
|
readonly "308 (permanent, method-preserving)": "308 (permanent, method-preserving)";
|
|
45
45
|
readonly "Add redirect": "Add redirect";
|
|
46
46
|
readonly "No redirect rules yet.": "No redirect rules yet.";
|
|
47
|
+
readonly "Only the first 500 active wildcard redirects are used. Turn off or merge some.": "Only the first 500 active wildcard redirects are used. Turn off or merge some.";
|
|
47
48
|
readonly From: "From";
|
|
48
49
|
readonly To: "To";
|
|
49
50
|
readonly Type: "Type";
|
|
@@ -126,6 +127,7 @@ export declare function redirects<Page, Tab>({ ui }: {
|
|
|
126
127
|
readonly "308 (permanent, method-preserving)": "308 (permanent, method-preserving)";
|
|
127
128
|
readonly "Add redirect": "Add redirect";
|
|
128
129
|
readonly "No redirect rules yet.": "No redirect rules yet.";
|
|
130
|
+
readonly "Only the first 500 active wildcard redirects are used. Turn off or merge some.": "Only the first 500 active wildcard redirects are used. Turn off or merge some.";
|
|
129
131
|
readonly From: "From";
|
|
130
132
|
readonly To: "To";
|
|
131
133
|
readonly Type: "Type";
|
|
@@ -207,6 +209,7 @@ export declare function redirects<Page, Tab>({ ui }: {
|
|
|
207
209
|
readonly "308 (permanent, method-preserving)": "308 (permanent, method-preserving)";
|
|
208
210
|
readonly "Add redirect": "Add redirect";
|
|
209
211
|
readonly "No redirect rules yet.": "No redirect rules yet.";
|
|
212
|
+
readonly "Only the first 500 active wildcard redirects are used. Turn off or merge some.": "Only the first 500 active wildcard redirects are used. Turn off or merge some.";
|
|
210
213
|
readonly From: "From";
|
|
211
214
|
readonly To: "To";
|
|
212
215
|
readonly Type: "Type";
|
|
@@ -16,6 +16,6 @@ export function RedirectsPage({ useRedirectsHook = useWiredRedirects, useRedirec
|
|
|
16
16
|
}
|
|
17
17
|
if (!redirects)
|
|
18
18
|
return _jsx("div", { className: "notice", children: t("Loading redirects…") });
|
|
19
|
-
return (_jsxs("div", { className: "page", children: [_jsx(RedirectsHeader, { headerActions: headerActions, t: t }), error ? _jsx("div", { className: "notice error", children: describeApiError({ e: error, fallback: "request failed" }) }) : null, _jsx(CreateRedirectForm, { t: t, saving: saving, submitCreate: submitCreate }), _jsx(ImportRedirectsForm, { t: t, locale: locale }), _jsx(DataTable, { rows: redirects, rowKey: (rule) => rule.id, empty: _jsx("div", { className: "card", children: _jsx("div", { className: "empty-state", children: _jsx("p", { children: t("No redirect rules yet.") }) }) }), columns: columns }), _jsx(ConfirmDialog, { open: pendingDelete !== null, agentHandle: "redirects-delete", title: t("Delete redirect rule?"), body: deleteBody, confirmLabel: t("Delete"), destructive: true, pending: deletePending, onConfirm: confirmDelete, onCancel: cancelDelete })] }));
|
|
19
|
+
return (_jsxs("div", { className: "page", children: [_jsx(RedirectsHeader, { headerActions: headerActions, t: t }), error ? _jsx("div", { className: "notice error", children: describeApiError({ e: error, fallback: "request failed" }) }) : null, _jsx(CreateRedirectForm, { t: t, saving: saving, submitCreate: submitCreate }), _jsx(ImportRedirectsForm, { t: t, locale: locale }), redirects.filter((rule) => rule.status === "active" && rule.matchType === "wildcard").length > 500 ? _jsx("div", { className: "notice", children: t("Only the first 500 active wildcard redirects are used. Turn off or merge some.") }) : null, _jsx(DataTable, { rows: redirects, rowKey: (rule) => rule.id, empty: _jsx("div", { className: "card", children: _jsx("div", { className: "empty-state", children: _jsx("p", { children: t("No redirect rules yet.") }) }) }), columns: columns }), _jsx(ConfirmDialog, { open: pendingDelete !== null, agentHandle: "redirects-delete", title: t("Delete redirect rule?"), body: deleteBody, confirmLabel: t("Delete"), destructive: true, pending: deletePending, onConfirm: confirmDelete, onCancel: cancelDelete })] }));
|
|
20
20
|
}
|
|
21
21
|
//# sourceMappingURL=RedirectsPage.js.map
|
|
@@ -27,6 +27,7 @@ export declare const redirectsModule: {
|
|
|
27
27
|
readonly "308 (permanent, method-preserving)": "308 (permanent, method-preserving)";
|
|
28
28
|
readonly "Add redirect": "Add redirect";
|
|
29
29
|
readonly "No redirect rules yet.": "No redirect rules yet.";
|
|
30
|
+
readonly "Only the first 500 active wildcard redirects are used. Turn off or merge some.": "Only the first 500 active wildcard redirects are used. Turn off or merge some.";
|
|
30
31
|
readonly From: "From";
|
|
31
32
|
readonly To: "To";
|
|
32
33
|
readonly Type: "Type";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jini-ai/admin",
|
|
3
|
-
"version": "0.7.3-next.
|
|
3
|
+
"version": "0.7.3-next.2",
|
|
4
4
|
"description": "Composable admin surface for Jini-hosted products: framework-free contracts, panel registry, and route model in `/core`; React shell and panels in `/react`. Import only the layers you need.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -447,24 +447,24 @@
|
|
|
447
447
|
"peerDependencies": {
|
|
448
448
|
"react": "^18.3.0 || ^19.0.0",
|
|
449
449
|
"react-dom": "^18.3.0 || ^19.0.0",
|
|
450
|
-
"@jini-ai/core": "^0.7.3-next.
|
|
450
|
+
"@jini-ai/core": "^0.7.3-next.2"
|
|
451
451
|
},
|
|
452
452
|
"devDependencies": {
|
|
453
453
|
"@testing-library/jest-dom": "^6.6.3",
|
|
454
454
|
"@testing-library/react": "^16.3.0",
|
|
455
455
|
"@types/react": "^19.2.0",
|
|
456
456
|
"@types/react-dom": "^19.2.0",
|
|
457
|
-
"@vitest/coverage-v8": "^2.
|
|
458
|
-
"jsdom": "^
|
|
457
|
+
"@vitest/coverage-v8": "^3.2.6",
|
|
458
|
+
"jsdom": "^26.1.0",
|
|
459
459
|
"react": "^19.2.0",
|
|
460
460
|
"react-dom": "^19.2.0",
|
|
461
461
|
"@testing-library/user-event": "^14.6.1",
|
|
462
|
-
"@jini-ai/agentic": "^0.7.3-next.
|
|
463
|
-
"@jini-ai/ui": "^0.7.3-next.
|
|
464
|
-
"@jini-ai/
|
|
465
|
-
"@jini-ai/
|
|
466
|
-
"@jini-ai/cms": "^0.7.3-next.
|
|
467
|
-
"@jini-ai/core": "^0.7.3-next.
|
|
462
|
+
"@jini-ai/agentic": "^0.7.3-next.2",
|
|
463
|
+
"@jini-ai/ui": "^0.7.3-next.2",
|
|
464
|
+
"@jini-ai/ui-kit": "^0.7.3-next.2",
|
|
465
|
+
"@jini-ai/agent-plugins": "^0.7.3-next.2",
|
|
466
|
+
"@jini-ai/cms": "^0.7.3-next.2",
|
|
467
|
+
"@jini-ai/core": "^0.7.3-next.2"
|
|
468
468
|
},
|
|
469
469
|
"typesVersions": {
|
|
470
470
|
"*": {
|