@betterportal/config-manager 0.0.1 → 10.0.1
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/lib/.bsb/clients/service-betterportal-config-manager.d.ts +1 -1
- package/lib/.bsb/clients/service-betterportal-config-manager.js +1 -1
- package/lib/plugins/service-betterportal-config-manager/.bp-generated/registry.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/.bp-generated/registry.js +96 -45
- package/lib/plugins/service-betterportal-config-manager/.bp-generated/registry.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/adminApi.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/adminApi.js +3 -0
- package/lib/plugins/service-betterportal-config-manager/adminApi.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/GET.d.ts +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/GET.js +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/{config/_theme.bootstrap1/index.d.ts → auth/_theme.bootstrap1/GET.d.ts} +2 -2
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/_theme.bootstrap1/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/_theme.bootstrap1/{index.js → GET.js} +19 -19
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/_theme.bootstrap1/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/index.d.ts +1 -95
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/index.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/index.js +1 -77
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/index.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/route.impl.d.ts +96 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/route.impl.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/route.impl.js +78 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/route.impl.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/GET.d.ts +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/GET.js +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/{auth/_theme.bootstrap1/index.d.ts → config/_theme.bootstrap1/GET.d.ts} +2 -2
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/_theme.bootstrap1/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/_theme.bootstrap1/{index.js → GET.js} +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/_theme.bootstrap1/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/{routes/_theme.bootstrap1/index.d.ts → config/_theme.embedded/GET.d.ts} +2 -2
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/_theme.embedded/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/{_theme.embedded.js → _theme.embedded/GET.js} +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/_theme.embedded/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/index.d.ts +1 -42
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/index.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/index.js +1 -67
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/index.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/route.impl.d.ts +43 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/route.impl.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/route.impl.js +68 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/route.impl.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/GET.d.ts +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/GET.js +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/{services/_theme.bootstrap1/index.d.ts → fragments/_theme.bootstrap1/GET.d.ts} +2 -2
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/_theme.bootstrap1/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/_theme.bootstrap1/{index.js → GET.js} +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/_theme.bootstrap1/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/index.d.ts +1 -31
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/index.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/index.js +1 -31
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/index.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/route.impl.d.ts +32 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/route.impl.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/route.impl.js +32 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/route.impl.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/GET.d.ts +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/GET.js +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/_theme.bootstrap1/{index.d.ts → GET.d.ts} +2 -2
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/_theme.bootstrap1/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/_theme.bootstrap1/{index.js → GET.js} +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/_theme.bootstrap1/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/index.d.ts +1 -59
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/index.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/index.js +1 -47
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/index.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/route.impl.d.ts +60 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/route.impl.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/route.impl.js +48 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/route.impl.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/GET.d.ts +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/GET.js +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/_theme.bootstrap1/{index.d.ts → GET.d.ts} +2 -2
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/_theme.bootstrap1/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/_theme.bootstrap1/{index.js → GET.js} +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/_theme.bootstrap1/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/index.d.ts +1 -47
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/index.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/index.js +1 -39
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/index.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/route.impl.d.ts +48 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/route.impl.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/route.impl.js +40 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/route.impl.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/GET.d.ts +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/GET.js +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/{settings/_theme.bootstrap1/index.d.ts → routes/_theme.bootstrap1/GET.d.ts} +2 -2
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/_theme.bootstrap1/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/_theme.bootstrap1/{index.js → GET.js} +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/_theme.bootstrap1/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/index.d.ts +1 -79
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/index.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/index.js +1 -58
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/index.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/route.impl.d.ts +80 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/route.impl.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/route.impl.js +59 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/route.impl.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/GET.d.ts +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/GET.js +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/{fragments/_theme.bootstrap1/index.d.ts → services/_theme.bootstrap1/GET.d.ts} +2 -2
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/_theme.bootstrap1/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/_theme.bootstrap1/{index.js → GET.js} +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/_theme.bootstrap1/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/index.d.ts +1 -127
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/index.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/index.js +1 -88
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/index.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/route.impl.d.ts +128 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/route.impl.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/route.impl.js +89 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/route.impl.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/GET.d.ts +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/GET.js +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/_theme.bootstrap1/GET.d.ts +5 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/_theme.bootstrap1/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/_theme.bootstrap1/{index.js → GET.js} +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/_theme.bootstrap1/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/index.d.ts +1 -88
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/index.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/index.js +1 -92
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/index.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/route.impl.d.ts +89 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/route.impl.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/route.impl.js +93 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/route.impl.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/DELETE.d.ts +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/DELETE.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/DELETE.js +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/DELETE.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/GET.d.ts +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/GET.js +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/POST.d.ts +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/POST.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/POST.js +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/POST.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/PUT.d.ts +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/PUT.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/PUT.js +3 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/PUT.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/_theme.bootstrap1/GET.d.ts +4 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/_theme.bootstrap1/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/_theme.bootstrap1/{index.js → GET.js} +10 -10
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/_theme.bootstrap1/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/index.d.ts +1 -179
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/index.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/index.js +1 -404
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/index.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/route.impl.d.ts +180 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/route.impl.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/route.impl.js +405 -0
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/route.impl.js.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/storage/core.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/storage/core.js +52 -0
- package/lib/plugins/service-betterportal-config-manager/storage/core.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/syncApi.d.ts +4 -0
- package/lib/plugins/service-betterportal-config-manager/syncApi.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/syncApi.js +3 -0
- package/lib/plugins/service-betterportal-config-manager/syncApi.js.map +1 -1
- package/lib/schemas/service-betterportal-config-manager.json +1 -1
- package/lib/schemas/service-betterportal-config-manager.plugin.json +1 -1
- package/package.json +11 -11
- package/bsb-tests.json +0 -14
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/_theme.bootstrap1/index.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/_theme.bootstrap1/index.js.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/_theme.bootstrap1/index.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/_theme.bootstrap1/index.js.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/_theme.embedded.d.ts +0 -5
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/_theme.embedded.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/_theme.embedded.js.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/_theme.bootstrap1/index.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/_theme.bootstrap1/index.js.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/_theme.bootstrap1/index.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/_theme.bootstrap1/index.js.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/_theme.bootstrap1/index.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/_theme.bootstrap1/index.js.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/_theme.bootstrap1/index.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/_theme.bootstrap1/index.js.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/_theme.bootstrap1/index.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/_theme.bootstrap1/index.js.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/_theme.bootstrap1/index.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/_theme.bootstrap1/index.js.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/_theme.bootstrap1/index.d.ts +0 -4
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/_theme.bootstrap1/index.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/_theme.bootstrap1/index.js.map +0 -1
|
@@ -25,4 +25,4 @@ function previewScript() {
|
|
|
25
25
|
export function render(data) {
|
|
26
26
|
return (_jsxs("div", { class: "container-fluid px-0", children: [_jsx("h2", { class: "mb-4", children: data.title }), data.services.length === 0 ? (_jsx("div", { class: "alert alert-secondary", children: "No services with views discovered" })) : (_jsxs("div", { class: "row", children: [_jsx("div", { class: "col-lg-4", children: _jsx("div", { class: "card border-0 shadow-sm mb-3", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "mb-3", children: "Views" }), data.services.map((service) => (_jsxs("div", { class: "mb-3", children: [_jsx("div", { class: "fw-semibold text-secondary small text-uppercase mb-1", children: service.serviceId }), service.views.map((view) => (_jsxs("div", { class: "mb-2", children: [_jsx("div", { class: "fw-semibold", children: view.title || view.viewId }), _jsx("div", { class: "small text-secondary mb-1", children: view.path }), _jsxs("div", { class: "d-flex flex-wrap gap-1 mb-1", children: [_jsx("button", { class: "btn btn-sm btn-outline-primary", "data-bp-preview-btn": "", "data-bp-preview-url": `${service.endpointBaseUrl}${view.path}`, "data-bp-preview-mode": "page", children: "Page" }), view.components.map((comp) => (_jsx("button", { class: "btn btn-sm btn-outline-secondary", "data-bp-preview-btn": "", "data-bp-preview-url": `${service.endpointBaseUrl}${view.path}?_c=${comp}`, "data-bp-preview-mode": "fragment", children: comp }))), view.hasFragments ? (_jsx("span", { class: "badge text-bg-info", children: "has fragments" })) : ""] }), view.demoScenarios.length > 0 ? (_jsxs("div", { class: "small text-secondary", children: ["Demos: ", view.demoScenarios.map((d) => d.title).join(", ")] })) : ""] })))] })))] }) }) }), _jsx("div", { class: "col-lg-8", children: _jsx("div", { class: "card border-0 shadow-sm", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "mb-3", children: "Preview" }), _jsx("div", { id: "bp-preview-frame", class: "border rounded p-3 bg-body-tertiary", style: "min-height:300px", children: _jsx("div", { class: "text-secondary text-center py-5", children: "Select a view or component to preview" }) })] }) }) })] })), _jsx("script", { children: previewScript() })] }));
|
|
27
27
|
}
|
|
28
|
-
//# sourceMappingURL=
|
|
28
|
+
//# sourceMappingURL=GET.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GET.js","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-config-manager/bp-routes/preview/_theme.bootstrap1/GET.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAI9B,SAAS,aAAa;IACpB,OAAO,EAAE,CAAC;;;;;;;;;;;;;;;;;;OAkBL,CAAC,CAAC;AACT,CAAC;AAED,MAAM,UAAU,MAAM,CAAC,IAAkB;IACvC,OAAO,CACL,eAAK,KAAK,EAAC,sBAAsB,aAC/B,aAAI,KAAK,EAAC,MAAM,YAAE,IAAI,CAAC,KAAK,GAAM,EAEjC,IAAI,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,CAC5B,cAAK,KAAK,EAAC,uBAAuB,kDAAwC,CAC3E,CAAC,CAAC,CAAC,CACF,eAAK,KAAK,EAAC,KAAK,aACd,cAAK,KAAK,EAAC,UAAU,YACnB,cAAK,KAAK,EAAC,8BAA8B,YACvC,eAAK,KAAK,EAAC,WAAW,aACpB,aAAI,KAA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ACP,CAAC,IACE,GACF,GACF,EACN,cAAK,KAAK,EAAC,UAAU,YACnB,cAAK,KAAK,EAAC,yBAAyB,YAClC,eAAK,KAAK,EAAC,WAAW,aACpB,aAAI,KAAK,EAAC,MAAM,wBAAa,EAC7B,cAAK,EAAE,EAAC,kBAAkB,EAAC,KAAK,EAAC,qCAAqC,EAAC,KAAK,EAAC,kBAAkB,YAC7F,cAAK,KAAK,EAAC,iCAAiC,sDAA4C,GACpF,IACF,GACF,GACF,IACF,CACP,EAED,2BAAS,aAAa,EAAE,GAAU,IAC9B,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,48 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import type { Infer } from "anyvali";
|
|
3
|
-
import { type DemoScenario, type ApiAuthRequirement, type CacheHints } from "@betterportal/framework";
|
|
4
|
-
export declare const ResponseSchema: av.ObjectSchema<{
|
|
5
|
-
title: av.StringSchema;
|
|
6
|
-
services: av.ArraySchema<av.ObjectSchema<{
|
|
7
|
-
serviceId: av.StringSchema;
|
|
8
|
-
endpointBaseUrl: av.StringSchema;
|
|
9
|
-
views: av.ArraySchema<av.ObjectSchema<{
|
|
10
|
-
viewId: av.StringSchema;
|
|
11
|
-
title: av.StringSchema;
|
|
12
|
-
path: av.StringSchema;
|
|
13
|
-
themes: av.ArraySchema<av.StringSchema>;
|
|
14
|
-
components: av.ArraySchema<av.StringSchema>;
|
|
15
|
-
hasFragments: av.BoolSchema;
|
|
16
|
-
demoScenarios: av.ArraySchema<av.ObjectSchema<{
|
|
17
|
-
id: av.StringSchema;
|
|
18
|
-
title: av.StringSchema;
|
|
19
|
-
}>>;
|
|
20
|
-
}>>;
|
|
21
|
-
}>>;
|
|
22
|
-
}>;
|
|
23
|
-
export type ResponseData = Infer<typeof ResponseSchema>;
|
|
24
|
-
export declare const title = "Component Preview";
|
|
25
|
-
export declare const description = "Browse and preview service views, components, and fragments.";
|
|
26
|
-
export declare const auth: ApiAuthRequirement;
|
|
27
|
-
export declare const cacheHints: CacheHints;
|
|
28
|
-
export declare const demoScenarios: DemoScenario<ResponseData>[];
|
|
29
|
-
export declare const handleGet: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, Record<string, string>, Record<string, unknown>, {
|
|
30
|
-
title: string;
|
|
31
|
-
services: {
|
|
32
|
-
serviceId: string;
|
|
33
|
-
endpointBaseUrl: string;
|
|
34
|
-
views: {
|
|
35
|
-
viewId: string;
|
|
36
|
-
title: string;
|
|
37
|
-
path: string;
|
|
38
|
-
themes: string[];
|
|
39
|
-
components: string[];
|
|
40
|
-
hasFragments: boolean;
|
|
41
|
-
demoScenarios: {
|
|
42
|
-
id: string;
|
|
43
|
-
title: string;
|
|
44
|
-
}[];
|
|
45
|
-
}[];
|
|
46
|
-
}[];
|
|
47
|
-
}, unknown, Record<string, unknown>>;
|
|
1
|
+
export { title, description, auth, cacheHints, demoScenarios } from "./route.impl.js";
|
|
48
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/preview/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/preview/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,40 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { createHandler } from "@betterportal/framework";
|
|
3
|
-
const ServiceViewSchema = av.object({
|
|
4
|
-
serviceId: av.string().minLength(1),
|
|
5
|
-
endpointBaseUrl: av.string().format("url"),
|
|
6
|
-
views: av.array(av.object({
|
|
7
|
-
viewId: av.string().minLength(1),
|
|
8
|
-
title: av.string(),
|
|
9
|
-
path: av.string().minLength(1),
|
|
10
|
-
themes: av.array(av.string()),
|
|
11
|
-
components: av.array(av.string()),
|
|
12
|
-
hasFragments: av.bool(),
|
|
13
|
-
demoScenarios: av.array(av.object({
|
|
14
|
-
id: av.string().minLength(1),
|
|
15
|
-
title: av.string()
|
|
16
|
-
}, { unknownKeys: "strip" }))
|
|
17
|
-
}, { unknownKeys: "strip" }))
|
|
18
|
-
}, { unknownKeys: "strip" });
|
|
19
|
-
export const ResponseSchema = av.object({
|
|
20
|
-
title: av.string().minLength(1),
|
|
21
|
-
services: av.array(ServiceViewSchema)
|
|
22
|
-
}, { unknownKeys: "strip" });
|
|
23
|
-
export const title = "Component Preview";
|
|
24
|
-
export const description = "Browse and preview service views, components, and fragments.";
|
|
25
|
-
export const auth = {
|
|
26
|
-
required: true,
|
|
27
|
-
permissions: [
|
|
28
|
-
{ serviceId: "service.betterportal.config-manager", viewId: "preview.index", permissions: ["read"] }
|
|
29
|
-
]
|
|
30
|
-
};
|
|
31
|
-
export const cacheHints = { ttlSeconds: 0, varyBy: ["accept", "origin"] };
|
|
32
|
-
export const demoScenarios = [
|
|
33
|
-
{ id: "default", title: "Default", response: { title: "Component Preview", services: [] } }
|
|
34
|
-
];
|
|
35
|
-
export const handleGet = createHandler({ response: ResponseSchema }, (ctx) => {
|
|
36
|
-
if (ctx.responseModel)
|
|
37
|
-
return ctx.responseModel;
|
|
38
|
-
return { title: "Component Preview", services: [] };
|
|
39
|
-
});
|
|
1
|
+
export { title, description, auth, cacheHints, demoScenarios } from "./route.impl.js";
|
|
40
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/preview/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/preview/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as av from "anyvali";
|
|
2
|
+
import type { Infer } from "anyvali";
|
|
3
|
+
import { type DemoScenario, type ApiAuthRequirement, type CacheHints } from "@betterportal/framework";
|
|
4
|
+
export declare const ResponseSchema: av.ObjectSchema<{
|
|
5
|
+
title: av.StringSchema;
|
|
6
|
+
services: av.ArraySchema<av.ObjectSchema<{
|
|
7
|
+
serviceId: av.StringSchema;
|
|
8
|
+
endpointBaseUrl: av.StringSchema;
|
|
9
|
+
views: av.ArraySchema<av.ObjectSchema<{
|
|
10
|
+
viewId: av.StringSchema;
|
|
11
|
+
title: av.StringSchema;
|
|
12
|
+
path: av.StringSchema;
|
|
13
|
+
themes: av.ArraySchema<av.StringSchema>;
|
|
14
|
+
components: av.ArraySchema<av.StringSchema>;
|
|
15
|
+
hasFragments: av.BoolSchema;
|
|
16
|
+
demoScenarios: av.ArraySchema<av.ObjectSchema<{
|
|
17
|
+
id: av.StringSchema;
|
|
18
|
+
title: av.StringSchema;
|
|
19
|
+
}>>;
|
|
20
|
+
}>>;
|
|
21
|
+
}>>;
|
|
22
|
+
}>;
|
|
23
|
+
export type ResponseData = Infer<typeof ResponseSchema>;
|
|
24
|
+
export declare const title = "Component Preview";
|
|
25
|
+
export declare const description = "Browse and preview service views, components, and fragments.";
|
|
26
|
+
export declare const auth: ApiAuthRequirement;
|
|
27
|
+
export declare const cacheHints: CacheHints;
|
|
28
|
+
export declare const demoScenarios: DemoScenario<ResponseData>[];
|
|
29
|
+
export declare const handleGet: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, Record<string, string>, Record<string, unknown>, {
|
|
30
|
+
title: string;
|
|
31
|
+
services: {
|
|
32
|
+
serviceId: string;
|
|
33
|
+
endpointBaseUrl: string;
|
|
34
|
+
views: {
|
|
35
|
+
viewId: string;
|
|
36
|
+
title: string;
|
|
37
|
+
path: string;
|
|
38
|
+
themes: string[];
|
|
39
|
+
components: string[];
|
|
40
|
+
hasFragments: boolean;
|
|
41
|
+
demoScenarios: {
|
|
42
|
+
id: string;
|
|
43
|
+
title: string;
|
|
44
|
+
}[];
|
|
45
|
+
}[];
|
|
46
|
+
}[];
|
|
47
|
+
}, unknown, Record<string, unknown>>;
|
|
48
|
+
//# sourceMappingURL=route.impl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"route.impl.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/preview/route.impl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,UAAU,EAChB,MAAM,yBAAyB,CAAC;AAmBjC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;EAGC,CAAC;AAC7B,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAExD,eAAO,MAAM,KAAK,sBAAsB,CAAC;AACzC,eAAO,MAAM,WAAW,iEAAiE,CAAC;AAE1F,eAAO,MAAM,IAAI,EAAE,kBAKlB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAA4D,CAAC;AAEtF,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,YAAY,CAAC,EAErD,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;oCAMrB,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as av from "anyvali";
|
|
2
|
+
import { createHandler } from "@betterportal/framework";
|
|
3
|
+
const ServiceViewSchema = av.object({
|
|
4
|
+
serviceId: av.string().minLength(1),
|
|
5
|
+
endpointBaseUrl: av.string().format("url"),
|
|
6
|
+
views: av.array(av.object({
|
|
7
|
+
viewId: av.string().minLength(1),
|
|
8
|
+
title: av.string(),
|
|
9
|
+
path: av.string().minLength(1),
|
|
10
|
+
themes: av.array(av.string()),
|
|
11
|
+
components: av.array(av.string()),
|
|
12
|
+
hasFragments: av.bool(),
|
|
13
|
+
demoScenarios: av.array(av.object({
|
|
14
|
+
id: av.string().minLength(1),
|
|
15
|
+
title: av.string()
|
|
16
|
+
}, { unknownKeys: "strip" }))
|
|
17
|
+
}, { unknownKeys: "strip" }))
|
|
18
|
+
}, { unknownKeys: "strip" });
|
|
19
|
+
export const ResponseSchema = av.object({
|
|
20
|
+
title: av.string().minLength(1),
|
|
21
|
+
services: av.array(ServiceViewSchema)
|
|
22
|
+
}, { unknownKeys: "strip" });
|
|
23
|
+
export const title = "Component Preview";
|
|
24
|
+
export const description = "Browse and preview service views, components, and fragments.";
|
|
25
|
+
export const auth = {
|
|
26
|
+
required: true,
|
|
27
|
+
permissions: [
|
|
28
|
+
{ serviceId: "service.betterportal.config-manager", viewId: "preview.index", permissions: ["read"] }
|
|
29
|
+
]
|
|
30
|
+
};
|
|
31
|
+
export const cacheHints = { ttlSeconds: 0, varyBy: ["accept", "origin"] };
|
|
32
|
+
export const demoScenarios = [
|
|
33
|
+
{ id: "default", title: "Default", response: { title: "Component Preview", services: [] } }
|
|
34
|
+
];
|
|
35
|
+
export const handleGet = createHandler({ response: ResponseSchema }, (ctx) => {
|
|
36
|
+
if (ctx.responseModel)
|
|
37
|
+
return ctx.responseModel;
|
|
38
|
+
return { title: "Component Preview", services: [] };
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=route.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"route.impl.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/preview/route.impl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAE9B,OAAO,EACL,aAAa,EAId,MAAM,yBAAyB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,CAAC;AAG7B,MAAM,CAAC,MAAM,KAAK,GAAG,mBAAmB,CAAC;AACzC,MAAM,CAAC,MAAM,WAAW,GAAG,8DAA8D,CAAC;AAE1F,MAAM,CAAC,MAAM,IAAI,GAAuB;IACtC,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE;QACX,EAAE,SAAS,EAAE,qCAAqC,EAAE,MAAM,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC,MAAM,CAAC,EAAE;KACrG;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAe,EAAE,UAAU,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC;AAEtF,MAAM,CAAC,MAAM,aAAa,GAAiC;IACzD,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE,QAAQ,EAAE,EAAE,EAAE,EAAE;CAC5F,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,CACpC,EAAE,QAAQ,EAAE,cAAc,EAAE,EAC5B,CAAC,GAAG,EAAE,EAAE;IACN,IAAI,GAAG,CAAC,aAAa;QAAE,OAAO,GAAG,CAAC,aAA6B,CAAC;IAChE,OAAO,EAAE,KAAK,EAAE,mBAAmB,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC;AACtD,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GET.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/routes/GET.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,SAAS,IAAI,OAAO,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GET.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/routes/GET.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,SAAS,IAAI,OAAO,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @jsxImportSource jsx-htmx */
|
|
2
2
|
import type { HtmlRenderable } from "@betterportal/framework";
|
|
3
|
-
import type { ResponseData } from "../
|
|
3
|
+
import type { ResponseData } from "../route.impl.js";
|
|
4
4
|
export declare function render(data: ResponseData): HtmlRenderable;
|
|
5
|
-
//# sourceMappingURL=
|
|
5
|
+
//# sourceMappingURL=GET.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GET.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-config-manager/bp-routes/routes/_theme.bootstrap1/GET.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AA+PrD,wBAAgB,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,cAAc,CAmJzD"}
|
|
@@ -191,4 +191,4 @@ export function render(data) {
|
|
|
191
191
|
const canAddRoute = data.selectedAppId && hasServices;
|
|
192
192
|
return (_jsxs("div", { class: "container-fluid px-0", children: [_jsxs("div", { class: "d-flex justify-content-between align-items-center mb-4", children: [_jsx("h2", { class: "mb-0", children: data.title }), _jsx("button", { class: "btn btn-primary", "data-bs-toggle": "offcanvas", "data-bs-target": "#bp-add-route-panel", disabled: !canAddRoute, children: "+ Add Route" })] }), _jsxs("div", { class: "mb-4", children: [_jsx("label", { class: "form-label fw-semibold", children: "App" }), _jsxs("select", { class: "form-select", name: "appId", "data-bp-app-select": "", "hx-get": routesPath, "hx-trigger": "change", "hx-target": "#bp-main", "hx-swap": "innerHTML", "hx-push-url": "true", children: [_jsx("option", { value: "", children: "Choose an app..." }), data.apps.map((app) => (_jsxs("option", { value: app.id, selected: app.id === data.selectedAppId, children: [app.title, " (", app.tenantId, ")"] })))] })] }), _jsx("div", { id: "bp-routes-alerts" }), data.selectedAppId && !hasServices ? noServicesBanner(data.serviceBaseUrl) : "", data.routes.length === 0 ? (_jsx("div", { class: "alert alert-secondary", children: data.selectedAppId ? "No routes for this app yet" : "Select an app to view routes" })) : (_jsx("div", { class: "table-responsive", children: _jsxs("table", { class: "table table-sm table-hover align-middle", children: [_jsx("thead", { children: _jsxs("tr", { children: [_jsx("th", { children: "Mount path" }), _jsx("th", { children: "Title" }), _jsx("th", { children: "Service" }), _jsx("th", { children: "View" }), _jsx("th", { children: "Query" }), _jsx("th", { children: "On" }), _jsx("th", {})] }) }), _jsx("tbody", { children: data.routes.map((route) => (_jsxs("tr", { class: route.enabled ? "" : "text-secondary", children: [_jsx("td", { class: "font-monospace small fw-semibold", children: route.path }), _jsxs("td", { children: [route.title ?? "", route.renderable === false ? _jsx("span", { class: "badge text-bg-secondary ms-2", children: "API" }) : ""] }), _jsx("td", { class: "small", "data-bp-route-service-label": route.serviceId, children: serviceLabel(data.availableServices, route.serviceId) }), _jsx("td", { class: "small", "data-bp-route-service-id": route.serviceId, "data-bp-route-view-label": route.viewId, children: viewLabel(data.availableServices, route.serviceId, route.viewId) }), _jsx("td", { class: "small font-monospace", children: route.query ?? "" }), _jsx("td", { children: _jsx("button", { class: `btn btn-sm ${route.enabled ? "btn-success" : "btn-outline-secondary"}`, "hx-put": `${apiBase}/apps/${data.selectedAppId}/routes/${route.id}`, "hx-vals": JSON.stringify({ enabled: !route.enabled }), "hx-target": "#bp-main", "hx-swap": "innerHTML", children: route.enabled ? "on" : "off" }) }), _jsx("td", { children: _jsxs("div", { class: "btn-group btn-group-sm", children: [_jsx("button", { class: "btn btn-outline-primary", "data-bs-toggle": "offcanvas", "data-bs-target": `#bp-edit-route-panel-${route.id}`, children: "Edit" }), _jsx("button", { class: "btn btn-outline-danger", "hx-delete": `${apiBase}/apps/${data.selectedAppId}/routes/${route.id}`, "hx-confirm": "Delete route?", "hx-target": "#bp-routes-alerts", "hx-swap": "innerHTML", children: "x" })] }) })] }))) })] }) })), _jsxs("div", { class: "offcanvas offcanvas-end", tabindex: -1, id: "bp-add-route-panel", children: [_jsxs("div", { class: "offcanvas-header", children: [_jsx("h5", { class: "offcanvas-title", children: "Add Route" }), _jsx("button", { type: "button", class: "btn-close", "data-bs-dismiss": "offcanvas" })] }), _jsx("div", { class: "offcanvas-body", children: hasServices ? (_jsxs("form", { id: "bp-add-route-form", "hx-post": `${apiBase}/apps/${data.selectedAppId}/routes`, "hx-target": "#bp-main", "hx-swap": "innerHTML", children: [_jsx("div", { "data-bp-route-form": "", children: routeFormFields("bp-add-route", data.availableServices) }), _jsx("div", { class: "alert alert-danger d-none", id: "bp-add-route-error" }), _jsx("button", { type: "submit", class: "btn btn-primary w-100", children: "Add Route" })] })) : noServicesBanner(data.serviceBaseUrl) })] }), data.routes.map((route) => (_jsxs("div", { class: "offcanvas offcanvas-end", tabindex: -1, id: `bp-edit-route-panel-${route.id}`, children: [_jsxs("div", { class: "offcanvas-header", children: [_jsx("h5", { class: "offcanvas-title", children: "Edit Route" }), _jsx("button", { type: "button", class: "btn-close", "data-bs-dismiss": "offcanvas" })] }), _jsx("div", { class: "offcanvas-body", children: _jsxs("form", { "hx-put": `${apiBase}/apps/${data.selectedAppId}/routes/${route.id}`, "hx-target": "#bp-main", "hx-swap": "innerHTML", children: [_jsx("div", { "data-bp-route-form": "", children: routeFormFields(`bp-edit-route-${route.id}`, data.availableServices, route) }), _jsx("button", { type: "submit", class: "btn btn-primary w-100", children: "Save Changes" })] }) })] }))), _jsx("script", { children: manifestLoaderScript(data.availableServices) })] }));
|
|
193
193
|
}
|
|
194
|
-
//# sourceMappingURL=
|
|
194
|
+
//# sourceMappingURL=GET.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GET.js","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-config-manager/bp-routes/routes/_theme.bootstrap1/GET.tsx"],"names":[],"mappings":";AAIA,SAAS,UAAU,CAAC,KAAc;IAChC,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;SACzB,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC;SACxB,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC;SACxB,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC;SACxB,OAAO,CAAC,SAAS,EAAE,SAAS,CAAC;SAC7B,OAAO,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;AACnC,CAAC;AAED,SAAS,oBAAoB,CAAC,QAA2C;IACvE,OAAO;;;;;qBAKY,UAAU,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiJxC,CAAC;AACF,CAAC;AAED,SAAS,eAAe,CACtB,MAAc,EACd,QAA2C,EAC3C,KAAsC;IAEtC,MAAM,eAAe,GAAG,KAAK,EAAE,SAAS,IAAI,EAAE,CAAC;IAC/C,MAAM,YAAY,GAAG,KAAK,EAAE,MAAM,IAAI,EAAE,CAAC;IACzC,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CAC3C,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACvB,SAAS,EAAE,GAAG,CAAC,EAAE;QACjB,YAAY,EAAE,GAAG,CAAC,KAAK;QACvB,GAAG,IAAI;KACR,CAAC,CAAC,CACJ,CAAC;IACF,MAAM,YAAY,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,KA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AW,qBAAiB,WAAW,GAAU,IACzE,EACN,cAAK,KAAK,EAAC,gBAAgB,YACzB,0BACU,GAAG,OAAO,SAAS,IAAI,CAAC,aAAa,WAAW,KAAK,CAAC,EAAE,EAAE,eACxD,UAAU,aACZ,WAAW,aAEnB,oCAAwB,EAAE,YACzB,eAAe,CAAC,iBAAiB,KAAK,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,iBAAiB,EAAE,KAAK,CAAC,GACtE,EACN,iBAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,uBAAuB,6BAAsB,IACpE,GACH,IACF,CACP,CAAC,EACF,2BAAS,oBAAoB,CAAC,IAAI,CAAC,iBAAiB,CAAC,GAAU,IAC3D,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,80 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import type { Infer } from "anyvali";
|
|
3
|
-
import { type DemoScenario, type ApiAuthRequirement, type CacheHints } from "@betterportal/framework";
|
|
4
|
-
export declare const ResponseSchema: av.ObjectSchema<{
|
|
5
|
-
title: av.StringSchema;
|
|
6
|
-
apps: av.ArraySchema<av.ObjectSchema<{
|
|
7
|
-
id: av.StringSchema;
|
|
8
|
-
title: av.StringSchema;
|
|
9
|
-
tenantId: av.StringSchema;
|
|
10
|
-
}>>;
|
|
11
|
-
selectedAppId: av.OptionalSchema<av.StringSchema>;
|
|
12
|
-
routes: av.ArraySchema<av.ObjectSchema<{
|
|
13
|
-
id: av.StringSchema;
|
|
14
|
-
path: av.StringSchema;
|
|
15
|
-
serviceId: av.StringSchema;
|
|
16
|
-
viewId: av.StringSchema;
|
|
17
|
-
query: av.OptionalSchema<av.StringSchema>;
|
|
18
|
-
title: av.OptionalSchema<av.StringSchema>;
|
|
19
|
-
renderable: av.BoolSchema;
|
|
20
|
-
enabled: av.BoolSchema;
|
|
21
|
-
}>>;
|
|
22
|
-
availableServices: av.ArraySchema<av.ObjectSchema<{
|
|
23
|
-
id: av.StringSchema;
|
|
24
|
-
title: av.StringSchema;
|
|
25
|
-
hostname: av.StringSchema;
|
|
26
|
-
serviceId: av.OptionalSchema<av.StringSchema>;
|
|
27
|
-
views: av.ArraySchema<av.ObjectSchema<{
|
|
28
|
-
viewId: av.StringSchema;
|
|
29
|
-
title: av.StringSchema;
|
|
30
|
-
path: av.StringSchema;
|
|
31
|
-
methods: av.ArraySchema<av.StringSchema>;
|
|
32
|
-
renderable: av.BoolSchema;
|
|
33
|
-
dependencies: av.ArraySchema<av.StringSchema>;
|
|
34
|
-
}>>;
|
|
35
|
-
}>>;
|
|
36
|
-
adminApiBase: av.StringSchema;
|
|
37
|
-
serviceBaseUrl: av.StringSchema;
|
|
38
|
-
}>;
|
|
39
|
-
export type ResponseData = Infer<typeof ResponseSchema>;
|
|
40
|
-
export declare const title = "Route Designer";
|
|
41
|
-
export declare const description = "Design navigation routes for apps.";
|
|
42
|
-
export declare const auth: ApiAuthRequirement;
|
|
43
|
-
export declare const cacheHints: CacheHints;
|
|
44
|
-
export declare const demoScenarios: DemoScenario<ResponseData>[];
|
|
45
|
-
export declare const handleGet: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, Record<string, string>, Record<string, unknown>, {
|
|
46
|
-
title: string;
|
|
47
|
-
apps: {
|
|
48
|
-
id: string;
|
|
49
|
-
title: string;
|
|
50
|
-
tenantId: string;
|
|
51
|
-
}[];
|
|
52
|
-
routes: {
|
|
53
|
-
id: string;
|
|
54
|
-
path: string;
|
|
55
|
-
serviceId: string;
|
|
56
|
-
viewId: string;
|
|
57
|
-
renderable: boolean;
|
|
58
|
-
enabled: boolean;
|
|
59
|
-
query?: string | undefined;
|
|
60
|
-
title?: string | undefined;
|
|
61
|
-
}[];
|
|
62
|
-
availableServices: {
|
|
63
|
-
id: string;
|
|
64
|
-
title: string;
|
|
65
|
-
hostname: string;
|
|
66
|
-
views: {
|
|
67
|
-
viewId: string;
|
|
68
|
-
title: string;
|
|
69
|
-
path: string;
|
|
70
|
-
methods: string[];
|
|
71
|
-
renderable: boolean;
|
|
72
|
-
dependencies: string[];
|
|
73
|
-
}[];
|
|
74
|
-
serviceId?: string | undefined;
|
|
75
|
-
}[];
|
|
76
|
-
adminApiBase: string;
|
|
77
|
-
serviceBaseUrl: string;
|
|
78
|
-
selectedAppId?: string | undefined;
|
|
79
|
-
}, unknown, Record<string, unknown>>;
|
|
1
|
+
export { title, description, auth, cacheHints, demoScenarios } from "./route.impl.js";
|
|
80
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/routes/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/routes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,59 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { createHandler } from "@betterportal/framework";
|
|
3
|
-
const RouteItemSchema = av.object({
|
|
4
|
-
id: av.string().minLength(1),
|
|
5
|
-
path: av.string().minLength(1),
|
|
6
|
-
serviceId: av.string().minLength(1),
|
|
7
|
-
viewId: av.string().minLength(1),
|
|
8
|
-
query: av.optional(av.string()),
|
|
9
|
-
title: av.optional(av.string()),
|
|
10
|
-
renderable: av.bool().default(true),
|
|
11
|
-
enabled: av.bool()
|
|
12
|
-
}, { unknownKeys: "strip" });
|
|
13
|
-
const AppSummarySchema = av.object({
|
|
14
|
-
id: av.string().minLength(1),
|
|
15
|
-
title: av.string().minLength(1),
|
|
16
|
-
tenantId: av.string().minLength(1)
|
|
17
|
-
}, { unknownKeys: "strip" });
|
|
18
|
-
const AvailableViewSchema = av.object({
|
|
19
|
-
viewId: av.string().minLength(1),
|
|
20
|
-
title: av.string(),
|
|
21
|
-
path: av.string(),
|
|
22
|
-
methods: av.array(av.string()).default([]),
|
|
23
|
-
renderable: av.bool().default(true),
|
|
24
|
-
dependencies: av.array(av.string()).default([])
|
|
25
|
-
}, { unknownKeys: "strip" });
|
|
26
|
-
const AvailableServiceSchema = av.object({
|
|
27
|
-
id: av.string().minLength(1),
|
|
28
|
-
title: av.string(),
|
|
29
|
-
hostname: av.string().format("url"),
|
|
30
|
-
serviceId: av.optional(av.string()),
|
|
31
|
-
views: av.array(AvailableViewSchema).default([])
|
|
32
|
-
}, { unknownKeys: "strip" });
|
|
33
|
-
export const ResponseSchema = av.object({
|
|
34
|
-
title: av.string().minLength(1),
|
|
35
|
-
apps: av.array(AppSummarySchema),
|
|
36
|
-
selectedAppId: av.optional(av.string()),
|
|
37
|
-
routes: av.array(RouteItemSchema),
|
|
38
|
-
availableServices: av.array(AvailableServiceSchema).default([]),
|
|
39
|
-
adminApiBase: av.string().minLength(1),
|
|
40
|
-
serviceBaseUrl: av.string().minLength(1)
|
|
41
|
-
}, { unknownKeys: "strip" });
|
|
42
|
-
export const title = "Route Designer";
|
|
43
|
-
export const description = "Design navigation routes for apps.";
|
|
44
|
-
export const auth = {
|
|
45
|
-
required: true,
|
|
46
|
-
permissions: [
|
|
47
|
-
{ serviceId: "service.betterportal.config-manager", viewId: "routes.index", permissions: ["read", "create", "update", "delete"] }
|
|
48
|
-
]
|
|
49
|
-
};
|
|
50
|
-
export const cacheHints = { ttlSeconds: 0, varyBy: ["accept", "origin"] };
|
|
51
|
-
export const demoScenarios = [
|
|
52
|
-
{ id: "default", title: "Default", response: { title: "Route Designer", apps: [], routes: [], availableServices: [], adminApiBase: "/.well-known/bp/admin", serviceBaseUrl: "" } }
|
|
53
|
-
];
|
|
54
|
-
export const handleGet = createHandler({ response: ResponseSchema }, (ctx) => {
|
|
55
|
-
if (ctx.responseModel)
|
|
56
|
-
return ctx.responseModel;
|
|
57
|
-
return { title: "Route Designer", apps: [], routes: [], availableServices: [], adminApiBase: "/.well-known/bp/admin", serviceBaseUrl: "" };
|
|
58
|
-
});
|
|
1
|
+
export { title, description, auth, cacheHints, demoScenarios } from "./route.impl.js";
|
|
59
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/routes/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/routes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as av from "anyvali";
|
|
2
|
+
import type { Infer } from "anyvali";
|
|
3
|
+
import { type DemoScenario, type ApiAuthRequirement, type CacheHints } from "@betterportal/framework";
|
|
4
|
+
export declare const ResponseSchema: av.ObjectSchema<{
|
|
5
|
+
title: av.StringSchema;
|
|
6
|
+
apps: av.ArraySchema<av.ObjectSchema<{
|
|
7
|
+
id: av.StringSchema;
|
|
8
|
+
title: av.StringSchema;
|
|
9
|
+
tenantId: av.StringSchema;
|
|
10
|
+
}>>;
|
|
11
|
+
selectedAppId: av.OptionalSchema<av.StringSchema>;
|
|
12
|
+
routes: av.ArraySchema<av.ObjectSchema<{
|
|
13
|
+
id: av.StringSchema;
|
|
14
|
+
path: av.StringSchema;
|
|
15
|
+
serviceId: av.StringSchema;
|
|
16
|
+
viewId: av.StringSchema;
|
|
17
|
+
query: av.OptionalSchema<av.StringSchema>;
|
|
18
|
+
title: av.OptionalSchema<av.StringSchema>;
|
|
19
|
+
renderable: av.BoolSchema;
|
|
20
|
+
enabled: av.BoolSchema;
|
|
21
|
+
}>>;
|
|
22
|
+
availableServices: av.ArraySchema<av.ObjectSchema<{
|
|
23
|
+
id: av.StringSchema;
|
|
24
|
+
title: av.StringSchema;
|
|
25
|
+
hostname: av.StringSchema;
|
|
26
|
+
serviceId: av.OptionalSchema<av.StringSchema>;
|
|
27
|
+
views: av.ArraySchema<av.ObjectSchema<{
|
|
28
|
+
viewId: av.StringSchema;
|
|
29
|
+
title: av.StringSchema;
|
|
30
|
+
path: av.StringSchema;
|
|
31
|
+
methods: av.ArraySchema<av.StringSchema>;
|
|
32
|
+
renderable: av.BoolSchema;
|
|
33
|
+
dependencies: av.ArraySchema<av.StringSchema>;
|
|
34
|
+
}>>;
|
|
35
|
+
}>>;
|
|
36
|
+
adminApiBase: av.StringSchema;
|
|
37
|
+
serviceBaseUrl: av.StringSchema;
|
|
38
|
+
}>;
|
|
39
|
+
export type ResponseData = Infer<typeof ResponseSchema>;
|
|
40
|
+
export declare const title = "Route Designer";
|
|
41
|
+
export declare const description = "Design navigation routes for apps.";
|
|
42
|
+
export declare const auth: ApiAuthRequirement;
|
|
43
|
+
export declare const cacheHints: CacheHints;
|
|
44
|
+
export declare const demoScenarios: DemoScenario<ResponseData>[];
|
|
45
|
+
export declare const handleGet: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, Record<string, string>, Record<string, unknown>, {
|
|
46
|
+
title: string;
|
|
47
|
+
apps: {
|
|
48
|
+
id: string;
|
|
49
|
+
title: string;
|
|
50
|
+
tenantId: string;
|
|
51
|
+
}[];
|
|
52
|
+
routes: {
|
|
53
|
+
id: string;
|
|
54
|
+
path: string;
|
|
55
|
+
serviceId: string;
|
|
56
|
+
viewId: string;
|
|
57
|
+
renderable: boolean;
|
|
58
|
+
enabled: boolean;
|
|
59
|
+
query?: string | undefined;
|
|
60
|
+
title?: string | undefined;
|
|
61
|
+
}[];
|
|
62
|
+
availableServices: {
|
|
63
|
+
id: string;
|
|
64
|
+
title: string;
|
|
65
|
+
hostname: string;
|
|
66
|
+
views: {
|
|
67
|
+
viewId: string;
|
|
68
|
+
title: string;
|
|
69
|
+
path: string;
|
|
70
|
+
methods: string[];
|
|
71
|
+
renderable: boolean;
|
|
72
|
+
dependencies: string[];
|
|
73
|
+
}[];
|
|
74
|
+
serviceId?: string | undefined;
|
|
75
|
+
}[];
|
|
76
|
+
adminApiBase: string;
|
|
77
|
+
serviceBaseUrl: string;
|
|
78
|
+
selectedAppId?: string | undefined;
|
|
79
|
+
}, unknown, Record<string, unknown>>;
|
|
80
|
+
//# sourceMappingURL=route.impl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"route.impl.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/routes/route.impl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,UAAU,EAChB,MAAM,yBAAyB,CAAC;AAoCjC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQC,CAAC;AAC7B,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAExD,eAAO,MAAM,KAAK,mBAAmB,CAAC;AACtC,eAAO,MAAM,WAAW,uCAAuC,CAAC;AAEhE,eAAO,MAAM,IAAI,EAAE,kBAKlB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAA4D,CAAC;AAEtF,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,YAAY,CAAC,EAErD,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAMrB,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import * as av from "anyvali";
|
|
2
|
+
import { createHandler } from "@betterportal/framework";
|
|
3
|
+
const RouteItemSchema = av.object({
|
|
4
|
+
id: av.string().minLength(1),
|
|
5
|
+
path: av.string().minLength(1),
|
|
6
|
+
serviceId: av.string().minLength(1),
|
|
7
|
+
viewId: av.string().minLength(1),
|
|
8
|
+
query: av.optional(av.string()),
|
|
9
|
+
title: av.optional(av.string()),
|
|
10
|
+
renderable: av.bool().default(true),
|
|
11
|
+
enabled: av.bool()
|
|
12
|
+
}, { unknownKeys: "strip" });
|
|
13
|
+
const AppSummarySchema = av.object({
|
|
14
|
+
id: av.string().minLength(1),
|
|
15
|
+
title: av.string().minLength(1),
|
|
16
|
+
tenantId: av.string().minLength(1)
|
|
17
|
+
}, { unknownKeys: "strip" });
|
|
18
|
+
const AvailableViewSchema = av.object({
|
|
19
|
+
viewId: av.string().minLength(1),
|
|
20
|
+
title: av.string(),
|
|
21
|
+
path: av.string(),
|
|
22
|
+
methods: av.array(av.string()).default([]),
|
|
23
|
+
renderable: av.bool().default(true),
|
|
24
|
+
dependencies: av.array(av.string()).default([])
|
|
25
|
+
}, { unknownKeys: "strip" });
|
|
26
|
+
const AvailableServiceSchema = av.object({
|
|
27
|
+
id: av.string().minLength(1),
|
|
28
|
+
title: av.string(),
|
|
29
|
+
hostname: av.string().format("url"),
|
|
30
|
+
serviceId: av.optional(av.string()),
|
|
31
|
+
views: av.array(AvailableViewSchema).default([])
|
|
32
|
+
}, { unknownKeys: "strip" });
|
|
33
|
+
export const ResponseSchema = av.object({
|
|
34
|
+
title: av.string().minLength(1),
|
|
35
|
+
apps: av.array(AppSummarySchema),
|
|
36
|
+
selectedAppId: av.optional(av.string()),
|
|
37
|
+
routes: av.array(RouteItemSchema),
|
|
38
|
+
availableServices: av.array(AvailableServiceSchema).default([]),
|
|
39
|
+
adminApiBase: av.string().minLength(1),
|
|
40
|
+
serviceBaseUrl: av.string().minLength(1)
|
|
41
|
+
}, { unknownKeys: "strip" });
|
|
42
|
+
export const title = "Route Designer";
|
|
43
|
+
export const description = "Design navigation routes for apps.";
|
|
44
|
+
export const auth = {
|
|
45
|
+
required: true,
|
|
46
|
+
permissions: [
|
|
47
|
+
{ serviceId: "service.betterportal.config-manager", viewId: "routes.index", permissions: ["read", "create", "update", "delete"] }
|
|
48
|
+
]
|
|
49
|
+
};
|
|
50
|
+
export const cacheHints = { ttlSeconds: 0, varyBy: ["accept", "origin"] };
|
|
51
|
+
export const demoScenarios = [
|
|
52
|
+
{ id: "default", title: "Default", response: { title: "Route Designer", apps: [], routes: [], availableServices: [], adminApiBase: "/.well-known/bp/admin", serviceBaseUrl: "" } }
|
|
53
|
+
];
|
|
54
|
+
export const handleGet = createHandler({ response: ResponseSchema }, (ctx) => {
|
|
55
|
+
if (ctx.responseModel)
|
|
56
|
+
return ctx.responseModel;
|
|
57
|
+
return { title: "Route Designer", apps: [], routes: [], availableServices: [], adminApiBase: "/.well-known/bp/admin", serviceBaseUrl: "" };
|
|
58
|
+
});
|
|
59
|
+
//# sourceMappingURL=route.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"route.impl.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/routes/route.impl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAE9B,OAAO,EACL,aAAa,EAId,MAAM,yBAAyB,CAAC;AAEjC,MAAM,eAAe,GAAG,EAAE,CAAC,MAAM,CAAC;IAChC,EAAE,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAC5B,IAAI,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAC9B,SAAS,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IACnC,MAAM,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAChC,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC;IAC/B,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,EAAE,C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