@betterportal/config-manager 10.1.64 → 10.1.66
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/bp-contracts/org.betterportal.config-manager.json +198 -14
- 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 +9 -4
- package/lib/plugins/service-betterportal-config-manager/.bp-generated/registry.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/adminApi.d.ts +13 -4
- package/lib/plugins/service-betterportal-config-manager/adminApi.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/adminApi.js +37 -31
- 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 +140 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/GET.js +103 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/GET.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/_renderer.bootstrap5/GET.d.ts +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/_renderer.bootstrap5/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/_renderer.bootstrap5/GET.js +4 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/_renderer.bootstrap5/GET.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/index.d.ts +1 -1
- 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 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/index.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/GET.d.ts +43 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/GET.js +67 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/GET.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/_renderer.bootstrap5/GET.d.ts +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/_renderer.bootstrap5/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/_renderer.embedded/GET.d.ts +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/_renderer.embedded/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/index.d.ts +1 -1
- 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 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/index.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/GET.d.ts +32 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/GET.js +31 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/GET.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/_renderer.bootstrap5/GET.d.ts +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/_renderer.bootstrap5/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/index.d.ts +1 -1
- 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 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/index.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/GET.d.ts +60 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/GET.js +47 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/GET.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/_renderer.bootstrap5/GET.d.ts +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/_renderer.bootstrap5/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/index.d.ts +1 -1
- 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 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/index.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/GET.d.ts +48 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/GET.js +39 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/GET.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/_renderer.bootstrap5/GET.d.ts +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/_renderer.bootstrap5/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/index.d.ts +1 -1
- 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 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/index.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/GET.d.ts +114 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/GET.js +75 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/GET.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/_renderer.bootstrap5/GET.d.ts +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/_renderer.bootstrap5/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/_renderer.bootstrap5/GET.js +5 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/_renderer.bootstrap5/GET.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/index.d.ts +1 -1
- 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 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/index.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/GET.d.ts +176 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/GET.js +114 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/GET.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/_renderer.bootstrap5/GET.d.ts +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/_renderer.bootstrap5/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/index.d.ts +1 -1
- 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 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/index.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/GET.d.ts +101 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/GET.js +92 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/GET.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/_renderer.bootstrap5/GET.d.ts +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/_renderer.bootstrap5/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/index.d.ts +1 -1
- 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 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/index.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/DELETE.d.ts +3 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/DELETE.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/DELETE.js +3 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/DELETE.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/GET.d.ts +13 -4
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/GET.js +6 -6
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/GET.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/POST.d.ts +3 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/POST.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/POST.js +3 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/POST.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/PUT.d.ts +3 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/PUT.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/PUT.js +3 -3
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/PUT.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/_renderer.bootstrap5/GET.d.ts +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/_renderer.bootstrap5/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/index.d.ts +1 -1
- 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 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/index.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/fragmentsEditor.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/fragmentsEditor.js +1 -0
- package/lib/plugins/service-betterportal-config-manager/fragmentsEditor.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/index.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/index.js +25 -4
- package/lib/plugins/service-betterportal-config-manager/index.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/menuEditor.js +2 -2
- package/lib/plugins/service-betterportal-config-manager/menuEditor.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/storage/core.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/storage/core.js +67 -2
- package/lib/plugins/service-betterportal-config-manager/storage/core.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/syncApi.d.ts +22 -3
- package/lib/plugins/service-betterportal-config-manager/syncApi.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/syncApi.js +164 -22
- package/lib/plugins/service-betterportal-config-manager/syncApi.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/{bp-routes/tenants/route.impl.d.ts → tenantManagement.d.ts} +5 -5
- package/lib/plugins/service-betterportal-config-manager/tenantManagement.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-config-manager/{bp-routes/tenants/route.impl.js → tenantManagement.js} +8 -7
- package/lib/plugins/service-betterportal-config-manager/tenantManagement.js.map +1 -0
- package/lib/schemas/service-betterportal-config-manager.json +1 -1
- package/lib/schemas/service-betterportal-config-manager.plugin.json +1 -1
- package/package.json +5 -5
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/route.impl.d.ts +0 -118
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/route.impl.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/route.impl.js +0 -91
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/route.impl.js.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/route.impl.d.ts +0 -43
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/route.impl.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/route.impl.js +0 -68
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/route.impl.js.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/route.impl.d.ts +0 -32
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/route.impl.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/route.impl.js +0 -32
- package/lib/plugins/service-betterportal-config-manager/bp-routes/fragments/route.impl.js.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/route.impl.d.ts +0 -60
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/route.impl.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/route.impl.js +0 -48
- package/lib/plugins/service-betterportal-config-manager/bp-routes/menu/route.impl.js.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/route.impl.d.ts +0 -48
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/route.impl.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/route.impl.js +0 -40
- package/lib/plugins/service-betterportal-config-manager/bp-routes/preview/route.impl.js.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/route.impl.d.ts +0 -104
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/route.impl.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/route.impl.js +0 -71
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/route.impl.js.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/route.impl.d.ts +0 -176
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/route.impl.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/route.impl.js +0 -115
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/route.impl.js.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/route.impl.d.ts +0 -89
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/route.impl.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/route.impl.js +0 -93
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/route.impl.js.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/route.impl.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/route.impl.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
export declare const operationId = "admin.fragments.view";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import * as av from "anyvali";
|
|
3
|
+
import type { Infer } from "anyvali";
|
|
4
|
+
import { type DemoScenario, type ApiAuthRequirement, type CacheHints } from "@betterportal/framework";
|
|
5
|
+
export declare const ResponseSchema: av.ObjectSchema<{
|
|
6
|
+
title: av.StringSchema;
|
|
7
|
+
apps: av.ArraySchema<av.ObjectSchema<{
|
|
8
|
+
id: av.StringSchema;
|
|
9
|
+
title: av.StringSchema;
|
|
10
|
+
tenantId: av.StringSchema;
|
|
11
|
+
}>>;
|
|
12
|
+
selectedAppId: av.OptionalSchema<av.StringSchema>;
|
|
13
|
+
adminApiBase: av.StringSchema;
|
|
14
|
+
serviceBaseUrl: av.StringSchema;
|
|
15
|
+
}>;
|
|
16
|
+
export type ResponseData = Infer<typeof ResponseSchema>;
|
|
17
|
+
export declare const title = "Fragments";
|
|
18
|
+
export declare const description = "Manage topbar/footer fragments per app.";
|
|
19
|
+
export declare const auth: ApiAuthRequirement;
|
|
20
|
+
export declare const cacheHints: CacheHints;
|
|
21
|
+
export declare const demoScenarios: DemoScenario<ResponseData>[];
|
|
22
|
+
declare const _default: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, Record<string, string>, Record<string, unknown>, {
|
|
23
|
+
title: string;
|
|
24
|
+
apps: {
|
|
25
|
+
id: string;
|
|
26
|
+
title: string;
|
|
27
|
+
tenantId: string;
|
|
28
|
+
}[];
|
|
29
|
+
adminApiBase: string;
|
|
30
|
+
serviceBaseUrl: string;
|
|
31
|
+
selectedAppId?: string | undefined;
|
|
32
|
+
}, unknown, Record<string, unknown>>;
|
|
33
|
+
export default _default;
|
|
5
34
|
//# sourceMappingURL=GET.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GET.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/fragments/GET.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,yBAAyB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"GET.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/fragments/GET.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,yBAAyB,CAAC;AAClD,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;AAQjC,eAAO,MAAM,cAAc;;;;;;;;;;EAMzB,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAExD,eAAO,MAAM,KAAK,cAAc,CAAC;AACjC,eAAO,MAAM,WAAW,4CAA4C,CAAC;AAErE,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,wBAME"}
|
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
export const operationId = "admin.fragments.view";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import * as av from "anyvali";
|
|
3
|
+
import { createHandler } from "@betterportal/framework";
|
|
4
|
+
const AppSummarySchema = av.object({
|
|
5
|
+
id: av.string().minLength(1),
|
|
6
|
+
title: av.string().minLength(1),
|
|
7
|
+
tenantId: av.string().minLength(1)
|
|
8
|
+
});
|
|
9
|
+
export const ResponseSchema = av.object({
|
|
10
|
+
title: av.string().minLength(1),
|
|
11
|
+
apps: av.array(AppSummarySchema),
|
|
12
|
+
selectedAppId: av.optional(av.string()),
|
|
13
|
+
adminApiBase: av.string().minLength(1),
|
|
14
|
+
serviceBaseUrl: av.string().minLength(1)
|
|
15
|
+
});
|
|
16
|
+
export const title = "Fragments";
|
|
17
|
+
export const description = "Manage topbar/footer fragments per app.";
|
|
18
|
+
export const auth = {
|
|
19
|
+
required: true,
|
|
20
|
+
permissions: [
|
|
21
|
+
{ serviceId: "org.betterportal.config-manager", viewId: "fragments.index", permissions: ["read", "create", "update", "delete"] }
|
|
22
|
+
]
|
|
23
|
+
};
|
|
24
|
+
export const cacheHints = { ttlSeconds: 0, varyBy: ["accept", "origin"] };
|
|
25
|
+
export const demoScenarios = [
|
|
26
|
+
{ id: "default", title: "Default", response: { title: "Fragments", apps: [], adminApiBase: "/.well-known/bp/admin", serviceBaseUrl: "" } }
|
|
27
|
+
];
|
|
28
|
+
export default createHandler({ response: ResponseSchema }, (ctx) => {
|
|
29
|
+
if (ctx.responseModel)
|
|
30
|
+
return ctx.responseModel;
|
|
31
|
+
return { title: "Fragments", apps: [], adminApiBase: "/.well-known/bp/admin", serviceBaseUrl: "" };
|
|
32
|
+
});
|
|
5
33
|
//# sourceMappingURL=GET.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GET.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/fragments/GET.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,sBAAsB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"GET.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/fragments/GET.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,sBAAsB,CAAC;AAClD,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAE9B,OAAO,EACL,aAAa,EAId,MAAM,yBAAyB,CAAC;AAEjC,MAAM,gBAAgB,GAAG,EAAE,CAAC,MAAM,CAAC;IACjC,EAAE,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAC5B,KAAK,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC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CAAC;AAEF,eAAe,aAAa,CAC1B,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,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,uBAAuB,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC;AACrG,CAAC,CACF,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 "../GET.js";
|
|
4
4
|
export declare function render(data: ResponseData): HtmlRenderable;
|
|
5
5
|
//# sourceMappingURL=GET.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GET.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-config-manager/bp-routes/fragments/_renderer.bootstrap5/GET.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"GET.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-config-manager/bp-routes/fragments/_renderer.bootstrap5/GET.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,wBAAgB,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,cAAc,CAsCzD"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { title, description } from "./
|
|
1
|
+
export { title, description } from "./GET.js";
|
|
2
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/fragments/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/fragments/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { title, description } from "./
|
|
1
|
+
export { title, description } from "./GET.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/fragments/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/fragments/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1,5 +1,62 @@
|
|
|
1
1
|
export declare const operationId = "admin.menu.view";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import * as av from "anyvali";
|
|
3
|
+
import type { Infer } from "anyvali";
|
|
4
|
+
import { type DemoScenario, type ApiAuthRequirement, type CacheHints } from "@betterportal/framework";
|
|
5
|
+
export declare const ResponseSchema: av.ObjectSchema<{
|
|
6
|
+
title: av.StringSchema;
|
|
7
|
+
apps: av.ArraySchema<av.ObjectSchema<{
|
|
8
|
+
id: av.StringSchema;
|
|
9
|
+
title: av.StringSchema;
|
|
10
|
+
tenantId: av.StringSchema;
|
|
11
|
+
}>>;
|
|
12
|
+
selectedAppId: av.OptionalSchema<av.StringSchema>;
|
|
13
|
+
menu: av.ArraySchema<av.ObjectSchema<{
|
|
14
|
+
id: av.StringSchema;
|
|
15
|
+
type: av.StringSchema;
|
|
16
|
+
title: av.OptionalSchema<av.StringSchema>;
|
|
17
|
+
routeId: av.OptionalSchema<av.StringSchema>;
|
|
18
|
+
href: av.OptionalSchema<av.StringSchema>;
|
|
19
|
+
enabled: av.BoolSchema;
|
|
20
|
+
defaultExpanded: av.OptionalSchema<av.BoolSchema>;
|
|
21
|
+
}>>;
|
|
22
|
+
routes: av.ArraySchema<av.ObjectSchema<{
|
|
23
|
+
id: av.StringSchema;
|
|
24
|
+
path: av.StringSchema;
|
|
25
|
+
title: av.StringSchema;
|
|
26
|
+
}>>;
|
|
27
|
+
adminApiBase: av.StringSchema;
|
|
28
|
+
serviceBaseUrl: av.StringSchema;
|
|
29
|
+
}>;
|
|
30
|
+
export type ResponseData = Infer<typeof ResponseSchema>;
|
|
31
|
+
export declare const title = "Menu Designer";
|
|
32
|
+
export declare const description = "Design app navigation menu.";
|
|
33
|
+
export declare const auth: ApiAuthRequirement;
|
|
34
|
+
export declare const cacheHints: CacheHints;
|
|
35
|
+
export declare const demoScenarios: DemoScenario<ResponseData>[];
|
|
36
|
+
declare const _default: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, Record<string, string>, Record<string, unknown>, {
|
|
37
|
+
title: string;
|
|
38
|
+
apps: {
|
|
39
|
+
id: string;
|
|
40
|
+
title: string;
|
|
41
|
+
tenantId: string;
|
|
42
|
+
}[];
|
|
43
|
+
menu: {
|
|
44
|
+
id: string;
|
|
45
|
+
type: string;
|
|
46
|
+
enabled: boolean;
|
|
47
|
+
title?: string | undefined;
|
|
48
|
+
routeId?: string | undefined;
|
|
49
|
+
href?: string | undefined;
|
|
50
|
+
defaultExpanded?: boolean | undefined;
|
|
51
|
+
}[];
|
|
52
|
+
routes: {
|
|
53
|
+
id: string;
|
|
54
|
+
path: string;
|
|
55
|
+
title: string;
|
|
56
|
+
}[];
|
|
57
|
+
adminApiBase: string;
|
|
58
|
+
serviceBaseUrl: string;
|
|
59
|
+
selectedAppId?: string | undefined;
|
|
60
|
+
}, unknown, Record<string, unknown>>;
|
|
61
|
+
export default _default;
|
|
5
62
|
//# sourceMappingURL=GET.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GET.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/menu/GET.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,oBAAoB,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"GET.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/menu/GET.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,oBAAoB,CAAC;AAC7C,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;AAwBjC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;EAQzB,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAExD,eAAO,MAAM,KAAK,kBAAkB,CAAC;AACrC,eAAO,MAAM,WAAW,gCAAgC,CAAC;AAEzD,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,wBAME"}
|
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
export const operationId = "admin.menu.view";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import * as av from "anyvali";
|
|
3
|
+
import { createHandler } from "@betterportal/framework";
|
|
4
|
+
const RouteOptionSchema = av.object({
|
|
5
|
+
id: av.string().minLength(1),
|
|
6
|
+
path: av.string().minLength(1),
|
|
7
|
+
title: av.string()
|
|
8
|
+
});
|
|
9
|
+
const MenuItemSchema = av.object({
|
|
10
|
+
id: av.string().minLength(1),
|
|
11
|
+
type: av.string().minLength(1),
|
|
12
|
+
title: av.optional(av.string()),
|
|
13
|
+
routeId: av.optional(av.string()),
|
|
14
|
+
href: av.optional(av.string()),
|
|
15
|
+
enabled: av.bool(),
|
|
16
|
+
defaultExpanded: av.optional(av.bool())
|
|
17
|
+
});
|
|
18
|
+
const AppSummarySchema = av.object({
|
|
19
|
+
id: av.string().minLength(1),
|
|
20
|
+
title: av.string().minLength(1),
|
|
21
|
+
tenantId: av.string().minLength(1)
|
|
22
|
+
});
|
|
23
|
+
export const ResponseSchema = av.object({
|
|
24
|
+
title: av.string().minLength(1),
|
|
25
|
+
apps: av.array(AppSummarySchema),
|
|
26
|
+
selectedAppId: av.optional(av.string()),
|
|
27
|
+
menu: av.array(MenuItemSchema).default([]),
|
|
28
|
+
routes: av.array(RouteOptionSchema).default([]),
|
|
29
|
+
adminApiBase: av.string().minLength(1),
|
|
30
|
+
serviceBaseUrl: av.string().minLength(1)
|
|
31
|
+
});
|
|
32
|
+
export const title = "Menu Designer";
|
|
33
|
+
export const description = "Design app navigation menu.";
|
|
34
|
+
export const auth = {
|
|
35
|
+
required: true,
|
|
36
|
+
permissions: [
|
|
37
|
+
{ serviceId: "org.betterportal.config-manager", viewId: "menu.index", permissions: ["read", "create", "update", "delete"] }
|
|
38
|
+
]
|
|
39
|
+
};
|
|
40
|
+
export const cacheHints = { ttlSeconds: 0, varyBy: ["accept", "origin"] };
|
|
41
|
+
export const demoScenarios = [
|
|
42
|
+
{ id: "default", title: "Default", response: { title: "Menu Designer", apps: [], menu: [], routes: [], adminApiBase: "/.well-known/bp/admin", serviceBaseUrl: "" } }
|
|
43
|
+
];
|
|
44
|
+
export default createHandler({ response: ResponseSchema }, (ctx) => {
|
|
45
|
+
if (ctx.responseModel)
|
|
46
|
+
return ctx.responseModel;
|
|
47
|
+
return { title: "Menu Designer", apps: [], menu: [], routes: [], adminApiBase: "/.well-known/bp/admin", serviceBaseUrl: "" };
|
|
48
|
+
});
|
|
5
49
|
//# sourceMappingURL=GET.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GET.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/menu/GET.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,iBAAiB,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"GET.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/menu/GET.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAE9B,OAAO,EACL,aAAa,EAId,MAAM,yBAAyB,CAAC;AAEjC,MAAM,iBAAiB,GAAG,EAAE,CAAC,MAAM,CAAC;IAClC,EAAE,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAC5B,IAAI,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAC9B,KAAK,EAAE,EAAE,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,EAAE,CAAC,MAAM,CAAC;IAC/B,EAAE,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAC5B,IAAI,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAC9B,KAAK,EA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-
import type { ResponseData } from "../
|
|
2
|
+
import type { ResponseData } from "../GET.js";
|
|
3
3
|
export declare function render(data: ResponseData): HtmlRenderable;
|
|
4
4
|
//# sourceMappingURL=GET.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GET.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-config-manager/bp-routes/menu/_renderer.bootstrap5/GET.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"GET.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-config-manager/bp-routes/menu/_renderer.bootstrap5/GET.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAgK9C,wBAAgB,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,cAAc,CAwCzD"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { title, description } from "./
|
|
1
|
+
export { title, description } from "./GET.js";
|
|
2
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/menu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/menu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { title, description } from "./
|
|
1
|
+
export { title, description } from "./GET.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/menu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/menu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
export declare const operationId = "admin.preview.view";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import * as av from "anyvali";
|
|
3
|
+
import type { Infer } from "anyvali";
|
|
4
|
+
import { type DemoScenario, type ApiAuthRequirement, type CacheHints } from "@betterportal/framework";
|
|
5
|
+
export declare const ResponseSchema: av.ObjectSchema<{
|
|
6
|
+
title: av.StringSchema;
|
|
7
|
+
services: av.ArraySchema<av.ObjectSchema<{
|
|
8
|
+
serviceId: av.StringSchema;
|
|
9
|
+
endpointBaseUrl: av.StringSchema;
|
|
10
|
+
views: av.ArraySchema<av.ObjectSchema<{
|
|
11
|
+
viewId: av.StringSchema;
|
|
12
|
+
title: av.StringSchema;
|
|
13
|
+
path: av.StringSchema;
|
|
14
|
+
renderers: av.ArraySchema<av.StringSchema>;
|
|
15
|
+
components: av.ArraySchema<av.StringSchema>;
|
|
16
|
+
hasFragments: av.BoolSchema;
|
|
17
|
+
demoScenarios: av.ArraySchema<av.ObjectSchema<{
|
|
18
|
+
id: av.StringSchema;
|
|
19
|
+
title: av.StringSchema;
|
|
20
|
+
}>>;
|
|
21
|
+
}>>;
|
|
22
|
+
}>>;
|
|
23
|
+
}>;
|
|
24
|
+
export type ResponseData = Infer<typeof ResponseSchema>;
|
|
25
|
+
export declare const title = "Component Preview";
|
|
26
|
+
export declare const description = "Browse and preview service views, components, and fragments.";
|
|
27
|
+
export declare const auth: ApiAuthRequirement;
|
|
28
|
+
export declare const cacheHints: CacheHints;
|
|
29
|
+
export declare const demoScenarios: DemoScenario<ResponseData>[];
|
|
30
|
+
declare const _default: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, Record<string, string>, Record<string, unknown>, {
|
|
31
|
+
title: string;
|
|
32
|
+
services: {
|
|
33
|
+
serviceId: string;
|
|
34
|
+
endpointBaseUrl: string;
|
|
35
|
+
views: {
|
|
36
|
+
viewId: string;
|
|
37
|
+
title: string;
|
|
38
|
+
path: string;
|
|
39
|
+
renderers: string[];
|
|
40
|
+
components: string[];
|
|
41
|
+
hasFragments: boolean;
|
|
42
|
+
demoScenarios: {
|
|
43
|
+
id: string;
|
|
44
|
+
title: string;
|
|
45
|
+
}[];
|
|
46
|
+
}[];
|
|
47
|
+
}[];
|
|
48
|
+
}, unknown, Record<string, unknown>>;
|
|
49
|
+
export default _default;
|
|
5
50
|
//# sourceMappingURL=GET.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GET.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/preview/GET.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,uBAAuB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"GET.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/preview/GET.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,uBAAuB,CAAC;AAChD,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;;;;;;;;;;;;;;;;;;EAGzB,CAAC;AACH,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,wBAME"}
|
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
export const operationId = "admin.preview.view";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import * as av from "anyvali";
|
|
3
|
+
import { createHandler } from "@betterportal/framework";
|
|
4
|
+
const ServiceViewSchema = av.object({
|
|
5
|
+
serviceId: av.string().minLength(1),
|
|
6
|
+
endpointBaseUrl: av.string().format("url"),
|
|
7
|
+
views: av.array(av.object({
|
|
8
|
+
viewId: av.string().minLength(1),
|
|
9
|
+
title: av.string(),
|
|
10
|
+
path: av.string().minLength(1),
|
|
11
|
+
renderers: av.array(av.string()),
|
|
12
|
+
components: av.array(av.string()),
|
|
13
|
+
hasFragments: av.bool(),
|
|
14
|
+
demoScenarios: av.array(av.object({
|
|
15
|
+
id: av.string().minLength(1),
|
|
16
|
+
title: av.string()
|
|
17
|
+
}))
|
|
18
|
+
}))
|
|
19
|
+
});
|
|
20
|
+
export const ResponseSchema = av.object({
|
|
21
|
+
title: av.string().minLength(1),
|
|
22
|
+
services: av.array(ServiceViewSchema)
|
|
23
|
+
});
|
|
24
|
+
export const title = "Component Preview";
|
|
25
|
+
export const description = "Browse and preview service views, components, and fragments.";
|
|
26
|
+
export const auth = {
|
|
27
|
+
required: true,
|
|
28
|
+
permissions: [
|
|
29
|
+
{ serviceId: "org.betterportal.config-manager", viewId: "preview.index", permissions: ["read"] }
|
|
30
|
+
]
|
|
31
|
+
};
|
|
32
|
+
export const cacheHints = { ttlSeconds: 0, varyBy: ["accept", "origin"] };
|
|
33
|
+
export const demoScenarios = [
|
|
34
|
+
{ id: "default", title: "Default", response: { title: "Component Preview", services: [] } }
|
|
35
|
+
];
|
|
36
|
+
export default createHandler({ response: ResponseSchema }, (ctx) => {
|
|
37
|
+
if (ctx.responseModel)
|
|
38
|
+
return ctx.responseModel;
|
|
39
|
+
return { title: "Component Preview", services: [] };
|
|
40
|
+
});
|
|
5
41
|
//# sourceMappingURL=GET.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GET.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/preview/GET.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,oBAAoB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"GET.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/preview/GET.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,oBAAoB,CAAC;AAChD,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAE9B,OAAO,EACL,aAAa,EAId,MAAM,yBAAyB,CAAC;AAEjC,MAAM,iBAAiB,GAAG,EAAE,CAAC,MAAM,CAAC;IAClC,SAAS,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IACnC,eAAe,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC;IAC1C,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,CAAC;QACxB,MAAM,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;QAChC,KAAK,EAAE,EAAE,CAAC,MAAM,EAAE;QAClB,IAAI,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,C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EAAE;CAC5F,CAAC;AAEF,eAAe,aAAa,CAC1B,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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { HtmlRenderable } from "@betterportal/framework";
|
|
2
|
-
import type { ResponseData } from "../
|
|
2
|
+
import type { ResponseData } from "../GET.js";
|
|
3
3
|
export declare function render(data: ResponseData): HtmlRenderable;
|
|
4
4
|
//# sourceMappingURL=GET.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GET.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-config-manager/bp-routes/preview/_renderer.bootstrap5/GET.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"GET.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-config-manager/bp-routes/preview/_renderer.bootstrap5/GET.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAwB9C,wBAAgB,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,cAAc,CAmEzD"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { title, description } from "./
|
|
1
|
+
export { title, description } from "./GET.js";
|
|
2
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,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
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,MAAM,UAAU,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { title, description } from "./
|
|
1
|
+
export { title, description } from "./GET.js";
|
|
2
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,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
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,MAAM,UAAU,CAAC"}
|
|
@@ -1,5 +1,116 @@
|
|
|
1
1
|
export declare const operationId = "admin.routes.view";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import * as av from "anyvali";
|
|
3
|
+
import type { Infer } from "anyvali";
|
|
4
|
+
import { type DemoScenario, type ApiAuthRequirement, type CacheHints } from "@betterportal/framework";
|
|
5
|
+
export declare const ResponseSchema: av.ObjectSchema<{
|
|
6
|
+
title: av.StringSchema;
|
|
7
|
+
apps: av.ArraySchema<av.ObjectSchema<{
|
|
8
|
+
id: av.StringSchema;
|
|
9
|
+
title: av.StringSchema;
|
|
10
|
+
tenantId: av.StringSchema;
|
|
11
|
+
}>>;
|
|
12
|
+
selectedAppId: av.OptionalSchema<av.StringSchema>;
|
|
13
|
+
openApiServiceId: av.OptionalSchema<av.StringSchema>;
|
|
14
|
+
routes: av.ArraySchema<av.ObjectSchema<{
|
|
15
|
+
id: av.StringSchema;
|
|
16
|
+
kind: av.EnumSchema<readonly ["page", "api"]>;
|
|
17
|
+
path: av.StringSchema;
|
|
18
|
+
serviceId: av.StringSchema;
|
|
19
|
+
viewId: av.StringSchema;
|
|
20
|
+
targetPath: av.OptionalSchema<av.StringSchema>;
|
|
21
|
+
servicePathVariant: av.OptionalSchema<av.StringSchema>;
|
|
22
|
+
fixedParams: av.RecordSchema<av.StringSchema>;
|
|
23
|
+
operations: av.ArraySchema<av.StringSchema>;
|
|
24
|
+
methods: av.ArraySchema<av.StringSchema>;
|
|
25
|
+
query: av.OptionalSchema<av.StringSchema>;
|
|
26
|
+
title: av.OptionalSchema<av.StringSchema>;
|
|
27
|
+
renderable: av.BoolSchema;
|
|
28
|
+
enabled: av.BoolSchema;
|
|
29
|
+
}>>;
|
|
30
|
+
availableServices: av.ArraySchema<av.ObjectSchema<{
|
|
31
|
+
id: av.StringSchema;
|
|
32
|
+
title: av.StringSchema;
|
|
33
|
+
hostname: av.StringSchema;
|
|
34
|
+
serviceId: av.OptionalSchema<av.StringSchema>;
|
|
35
|
+
manifestLoaded: av.BoolSchema;
|
|
36
|
+
views: av.ArraySchema<av.ObjectSchema<{
|
|
37
|
+
viewId: av.StringSchema;
|
|
38
|
+
operationId: av.StringSchema;
|
|
39
|
+
title: av.StringSchema;
|
|
40
|
+
description: av.StringSchema;
|
|
41
|
+
path: av.StringSchema;
|
|
42
|
+
pathVariants: av.ArraySchema<av.StringSchema>;
|
|
43
|
+
paramsSchema: av.OptionalSchema<av.BaseSchema<unknown, import("@betterportal/framework").JsonObject>>;
|
|
44
|
+
method: av.StringSchema;
|
|
45
|
+
renderable: av.BoolSchema;
|
|
46
|
+
dependencies: av.ArraySchema<av.ObjectSchema<{
|
|
47
|
+
serviceId: av.OptionalSchema<av.StringSchema>;
|
|
48
|
+
operationId: av.StringSchema;
|
|
49
|
+
method: av.EnumSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"]>;
|
|
50
|
+
}>>;
|
|
51
|
+
}>>;
|
|
52
|
+
}>>;
|
|
53
|
+
dependencyWarnings: av.ArraySchema<av.StringSchema>;
|
|
54
|
+
adminApiBase: av.StringSchema;
|
|
55
|
+
serviceBaseUrl: av.StringSchema;
|
|
56
|
+
}>;
|
|
57
|
+
export type ResponseData = Infer<typeof ResponseSchema>;
|
|
58
|
+
export declare const title = "Route Designer";
|
|
59
|
+
export declare const description = "Design navigation routes for apps.";
|
|
60
|
+
export declare const auth: ApiAuthRequirement;
|
|
61
|
+
export declare const cacheHints: CacheHints;
|
|
62
|
+
export declare const demoScenarios: DemoScenario<ResponseData>[];
|
|
63
|
+
declare const _default: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, Record<string, string>, Record<string, unknown>, {
|
|
64
|
+
title: string;
|
|
65
|
+
apps: {
|
|
66
|
+
id: string;
|
|
67
|
+
title: string;
|
|
68
|
+
tenantId: string;
|
|
69
|
+
}[];
|
|
70
|
+
routes: {
|
|
71
|
+
id: string;
|
|
72
|
+
kind: "page" | "api";
|
|
73
|
+
path: string;
|
|
74
|
+
serviceId: string;
|
|
75
|
+
viewId: string;
|
|
76
|
+
fixedParams: Record<string, string>;
|
|
77
|
+
operations: string[];
|
|
78
|
+
methods: string[];
|
|
79
|
+
renderable: boolean;
|
|
80
|
+
enabled: boolean;
|
|
81
|
+
targetPath?: string | undefined;
|
|
82
|
+
servicePathVariant?: string | undefined;
|
|
83
|
+
query?: string | undefined;
|
|
84
|
+
title?: string | undefined;
|
|
85
|
+
}[];
|
|
86
|
+
availableServices: {
|
|
87
|
+
id: string;
|
|
88
|
+
title: string;
|
|
89
|
+
hostname: string;
|
|
90
|
+
manifestLoaded: boolean;
|
|
91
|
+
views: {
|
|
92
|
+
viewId: string;
|
|
93
|
+
operationId: string;
|
|
94
|
+
title: string;
|
|
95
|
+
description: string;
|
|
96
|
+
path: string;
|
|
97
|
+
pathVariants: string[];
|
|
98
|
+
method: string;
|
|
99
|
+
renderable: boolean;
|
|
100
|
+
dependencies: {
|
|
101
|
+
operationId: string;
|
|
102
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS";
|
|
103
|
+
serviceId?: string | undefined;
|
|
104
|
+
}[];
|
|
105
|
+
paramsSchema?: import("@betterportal/framework").JsonObject | undefined;
|
|
106
|
+
}[];
|
|
107
|
+
serviceId?: string | undefined;
|
|
108
|
+
}[];
|
|
109
|
+
dependencyWarnings: string[];
|
|
110
|
+
adminApiBase: string;
|
|
111
|
+
serviceBaseUrl: string;
|
|
112
|
+
selectedAppId?: string | undefined;
|
|
113
|
+
openApiServiceId?: string | undefined;
|
|
114
|
+
}, unknown, Record<string, unknown>>;
|
|
115
|
+
export default _default;
|
|
5
116
|
//# sourceMappingURL=GET.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GET.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/routes/GET.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,sBAAsB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"GET.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-config-manager/bp-routes/routes/GET.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,sBAAsB,CAAC;AAC/C,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAGL,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,UAAU,EAChB,MAAM,yBAAyB,CAAC;AAmDjC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUzB,CAAC;AACH,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,wBAME"}
|