@betterportal/config-manager 10.1.61 → 10.1.62
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 +4111 -2721
- 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 +32 -89
- package/lib/plugins/service-betterportal-config-manager/.bp-generated/registry.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/adminApi.d.ts +4 -2
- package/lib/plugins/service-betterportal-config-manager/adminApi.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/adminApi.js +85 -64
- package/lib/plugins/service-betterportal-config-manager/adminApi.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bootstrapEndpoint.js +12 -12
- package/lib/plugins/service-betterportal-config-manager/bootstrapEndpoint.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/GET.d.ts +3 -1
- 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 +3 -1
- 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.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/_renderer.bootstrap5/GET.js +1 -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/auth/route.impl.d.ts +18 -12
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/route.impl.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/route.impl.js +9 -6
- package/lib/plugins/service-betterportal-config-manager/bp-routes/auth/route.impl.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/config/GET.d.ts +3 -1
- 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 +3 -1
- 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/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 +2 -0
- 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 +2 -0
- 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/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 +2 -0
- 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 +2 -0
- 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/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 +2 -0
- 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 +2 -0
- 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/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 +2 -0
- 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 +2 -0
- 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.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/_renderer.bootstrap5/GET.js +45 -33
- 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/routes/route.impl.d.ts +8 -2
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/route.impl.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/route.impl.js +4 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/routes/route.impl.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/services/GET.d.ts +2 -0
- 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 +2 -0
- 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/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 +2 -0
- 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 +2 -0
- 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/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/settings/route.impl.js +4 -4
- package/lib/plugins/service-betterportal-config-manager/bp-routes/settings/route.impl.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/DELETE.d.ts +6 -0
- 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 +8 -0
- 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 +6 -0
- 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 +8 -0
- 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 +6 -0
- 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 +8 -0
- 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 +6 -0
- 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 +8 -0
- 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/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/bp-routes/tenants/route.impl.d.ts +1 -2
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/route.impl.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/route.impl.js +19 -28
- package/lib/plugins/service-betterportal-config-manager/bp-routes/tenants/route.impl.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 +28 -20
- package/lib/plugins/service-betterportal-config-manager/index.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/menuEditor.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/menuEditor.js +3 -2
- package/lib/plugins/service-betterportal-config-manager/menuEditor.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/storage/core.d.ts +8 -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 +81 -0
- package/lib/plugins/service-betterportal-config-manager/storage/core.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/storage/file.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/storage/file.js +2 -2
- package/lib/plugins/service-betterportal-config-manager/storage/file.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/storage/postgres.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/storage/postgres.js +2 -2
- package/lib/plugins/service-betterportal-config-manager/storage/postgres.js.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/syncApi.d.ts +15 -7
- package/lib/plugins/service-betterportal-config-manager/syncApi.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-config-manager/syncApi.js +152 -88
- 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 +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../src/plugins/service-betterportal-config-manager/.bp-generated/registry.ts"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE,eAAO,MAAM,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../src/plugins/service-betterportal-config-manager/.bp-generated/registry.ts"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE,eAAO,MAAM,QAAQ,EAAE,oBAqMtB,CAAC"}
|
|
@@ -40,24 +40,14 @@ export const registry = {
|
|
|
40
40
|
path: "/auth",
|
|
41
41
|
methods: ["GET"],
|
|
42
42
|
paramNames: [],
|
|
43
|
-
schemas: {
|
|
44
|
-
|
|
45
|
-
query: authGETRoute.QuerySchema,
|
|
46
|
-
headers: authGETRoute.HeadersSchema,
|
|
47
|
-
request: authGETRoute.RequestSchema
|
|
48
|
-
},
|
|
49
|
-
methodRoutes: { GET: { method: "GET", schemas: {
|
|
43
|
+
schemas: {},
|
|
44
|
+
methodRoutes: { GET: { method: "GET", operationId: authGETRoute.operationId, title: authGETRoute.title, description: authGETRoute.description, schemas: {
|
|
50
45
|
response: authGETRoute.ResponseSchema,
|
|
51
|
-
query: authGETRoute.QuerySchema
|
|
52
|
-
|
|
53
|
-
request: authGETRoute.RequestSchema
|
|
54
|
-
}, handler: authGETRoute.default } },
|
|
46
|
+
query: authGETRoute.QuerySchema
|
|
47
|
+
}, handler: authGETRoute.default, auth: authGETRoute.auth, cacheHints: authGETRoute.cacheHints, demoScenarios: [] } },
|
|
55
48
|
handlers: { GET: authGETRoute.default },
|
|
56
49
|
title: authRoute.title,
|
|
57
50
|
description: authRoute.description,
|
|
58
|
-
auth: authRoute.auth,
|
|
59
|
-
cacheHints: authRoute.cacheHints,
|
|
60
|
-
demoScenarios: [],
|
|
61
51
|
renderers: {
|
|
62
52
|
"bootstrap5": {
|
|
63
53
|
pages: [{ rendererId: "default", type: "page", method: "GET", render: authBootstrap5PageGET.render }],
|
|
@@ -71,24 +61,13 @@ export const registry = {
|
|
|
71
61
|
path: "/config",
|
|
72
62
|
methods: ["GET"],
|
|
73
63
|
paramNames: [],
|
|
74
|
-
schemas: {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
request: configGETRoute.RequestSchema
|
|
79
|
-
},
|
|
80
|
-
methodRoutes: { GET: { method: "GET", schemas: {
|
|
81
|
-
response: configGETRoute.ResponseSchema,
|
|
82
|
-
query: configGETRoute.QuerySchema,
|
|
83
|
-
headers: configGETRoute.HeadersSchema,
|
|
84
|
-
request: configGETRoute.RequestSchema
|
|
85
|
-
}, handler: configGETRoute.default } },
|
|
64
|
+
schemas: {},
|
|
65
|
+
methodRoutes: { GET: { method: "GET", operationId: configGETRoute.operationId, title: configGETRoute.title, description: configGETRoute.description, schemas: {
|
|
66
|
+
response: configGETRoute.ResponseSchema
|
|
67
|
+
}, handler: configGETRoute.default, auth: configGETRoute.auth, cacheHints: configGETRoute.cacheHints, demoScenarios: configGETRoute.demoScenarios } },
|
|
86
68
|
handlers: { GET: configGETRoute.default },
|
|
87
69
|
title: configRoute.title,
|
|
88
70
|
description: configRoute.description,
|
|
89
|
-
auth: configRoute.auth,
|
|
90
|
-
cacheHints: configRoute.cacheHints,
|
|
91
|
-
demoScenarios: configRoute.demoScenarios,
|
|
92
71
|
renderers: {
|
|
93
72
|
"bootstrap5": {
|
|
94
73
|
pages: [{ rendererId: "default", type: "page", method: "GET", render: configBootstrap5PageGET.render }],
|
|
@@ -107,18 +86,13 @@ export const registry = {
|
|
|
107
86
|
path: "/fragments",
|
|
108
87
|
methods: ["GET"],
|
|
109
88
|
paramNames: [],
|
|
110
|
-
schemas: {
|
|
111
|
-
|
|
112
|
-
},
|
|
113
|
-
methodRoutes: { GET: { method: "GET", schemas: {
|
|
89
|
+
schemas: {},
|
|
90
|
+
methodRoutes: { GET: { method: "GET", operationId: fragmentsGETRoute.operationId, title: fragmentsGETRoute.title, description: fragmentsGETRoute.description, schemas: {
|
|
114
91
|
response: fragmentsGETRoute.ResponseSchema
|
|
115
|
-
}, handler: fragmentsGETRoute.default } },
|
|
92
|
+
}, handler: fragmentsGETRoute.default, auth: fragmentsGETRoute.auth, cacheHints: fragmentsGETRoute.cacheHints, demoScenarios: fragmentsGETRoute.demoScenarios } },
|
|
116
93
|
handlers: { GET: fragmentsGETRoute.default },
|
|
117
94
|
title: fragmentsRoute.title,
|
|
118
95
|
description: fragmentsRoute.description,
|
|
119
|
-
auth: fragmentsRoute.auth,
|
|
120
|
-
cacheHints: fragmentsRoute.cacheHints,
|
|
121
|
-
demoScenarios: fragmentsRoute.demoScenarios,
|
|
122
96
|
renderers: {
|
|
123
97
|
"bootstrap5": {
|
|
124
98
|
pages: [{ rendererId: "default", type: "page", method: "GET", render: fragmentsBootstrap5PageGET.render }],
|
|
@@ -132,18 +106,13 @@ export const registry = {
|
|
|
132
106
|
path: "/menu",
|
|
133
107
|
methods: ["GET"],
|
|
134
108
|
paramNames: [],
|
|
135
|
-
schemas: {
|
|
136
|
-
|
|
137
|
-
},
|
|
138
|
-
methodRoutes: { GET: { method: "GET", schemas: {
|
|
109
|
+
schemas: {},
|
|
110
|
+
methodRoutes: { GET: { method: "GET", operationId: menuGETRoute.operationId, title: menuGETRoute.title, description: menuGETRoute.description, schemas: {
|
|
139
111
|
response: menuGETRoute.ResponseSchema
|
|
140
|
-
}, handler: menuGETRoute.default } },
|
|
112
|
+
}, handler: menuGETRoute.default, auth: menuGETRoute.auth, cacheHints: menuGETRoute.cacheHints, demoScenarios: menuGETRoute.demoScenarios } },
|
|
141
113
|
handlers: { GET: menuGETRoute.default },
|
|
142
114
|
title: menuRoute.title,
|
|
143
115
|
description: menuRoute.description,
|
|
144
|
-
auth: menuRoute.auth,
|
|
145
|
-
cacheHints: menuRoute.cacheHints,
|
|
146
|
-
demoScenarios: menuRoute.demoScenarios,
|
|
147
116
|
renderers: {
|
|
148
117
|
"bootstrap5": {
|
|
149
118
|
pages: [{ rendererId: "default", type: "page", method: "GET", render: menuBootstrap5PageGET.render }],
|
|
@@ -157,18 +126,13 @@ export const registry = {
|
|
|
157
126
|
path: "/preview",
|
|
158
127
|
methods: ["GET"],
|
|
159
128
|
paramNames: [],
|
|
160
|
-
schemas: {
|
|
161
|
-
|
|
162
|
-
},
|
|
163
|
-
methodRoutes: { GET: { method: "GET", schemas: {
|
|
129
|
+
schemas: {},
|
|
130
|
+
methodRoutes: { GET: { method: "GET", operationId: previewGETRoute.operationId, title: previewGETRoute.title, description: previewGETRoute.description, schemas: {
|
|
164
131
|
response: previewGETRoute.ResponseSchema
|
|
165
|
-
}, handler: previewGETRoute.default } },
|
|
132
|
+
}, handler: previewGETRoute.default, auth: previewGETRoute.auth, cacheHints: previewGETRoute.cacheHints, demoScenarios: previewGETRoute.demoScenarios } },
|
|
166
133
|
handlers: { GET: previewGETRoute.default },
|
|
167
134
|
title: previewRoute.title,
|
|
168
135
|
description: previewRoute.description,
|
|
169
|
-
auth: previewRoute.auth,
|
|
170
|
-
cacheHints: previewRoute.cacheHints,
|
|
171
|
-
demoScenarios: previewRoute.demoScenarios,
|
|
172
136
|
renderers: {
|
|
173
137
|
"bootstrap5": {
|
|
174
138
|
pages: [{ rendererId: "default", type: "page", method: "GET", render: previewBootstrap5PageGET.render }],
|
|
@@ -182,18 +146,13 @@ export const registry = {
|
|
|
182
146
|
path: "/routes",
|
|
183
147
|
methods: ["GET"],
|
|
184
148
|
paramNames: [],
|
|
185
|
-
schemas: {
|
|
186
|
-
|
|
187
|
-
},
|
|
188
|
-
methodRoutes: { GET: { method: "GET", schemas: {
|
|
149
|
+
schemas: {},
|
|
150
|
+
methodRoutes: { GET: { method: "GET", operationId: routesGETRoute.operationId, title: routesGETRoute.title, description: routesGETRoute.description, schemas: {
|
|
189
151
|
response: routesGETRoute.ResponseSchema
|
|
190
|
-
}, handler: routesGETRoute.default } },
|
|
152
|
+
}, handler: routesGETRoute.default, auth: routesGETRoute.auth, cacheHints: routesGETRoute.cacheHints, demoScenarios: routesGETRoute.demoScenarios } },
|
|
191
153
|
handlers: { GET: routesGETRoute.default },
|
|
192
154
|
title: routesRoute.title,
|
|
193
155
|
description: routesRoute.description,
|
|
194
|
-
auth: routesRoute.auth,
|
|
195
|
-
cacheHints: routesRoute.cacheHints,
|
|
196
|
-
demoScenarios: routesRoute.demoScenarios,
|
|
197
156
|
renderers: {
|
|
198
157
|
"bootstrap5": {
|
|
199
158
|
pages: [{ rendererId: "default", type: "page", method: "GET", render: routesBootstrap5PageGET.render }],
|
|
@@ -207,18 +166,13 @@ export const registry = {
|
|
|
207
166
|
path: "/services",
|
|
208
167
|
methods: ["GET"],
|
|
209
168
|
paramNames: [],
|
|
210
|
-
schemas: {
|
|
211
|
-
|
|
212
|
-
},
|
|
213
|
-
methodRoutes: { GET: { method: "GET", schemas: {
|
|
169
|
+
schemas: {},
|
|
170
|
+
methodRoutes: { GET: { method: "GET", operationId: servicesGETRoute.operationId, title: servicesGETRoute.title, description: servicesGETRoute.description, schemas: {
|
|
214
171
|
response: servicesGETRoute.ResponseSchema
|
|
215
|
-
}, handler: servicesGETRoute.default } },
|
|
172
|
+
}, handler: servicesGETRoute.default, auth: servicesGETRoute.auth, cacheHints: servicesGETRoute.cacheHints, demoScenarios: servicesGETRoute.demoScenarios } },
|
|
216
173
|
handlers: { GET: servicesGETRoute.default },
|
|
217
174
|
title: servicesRoute.title,
|
|
218
175
|
description: servicesRoute.description,
|
|
219
|
-
auth: servicesRoute.auth,
|
|
220
|
-
cacheHints: servicesRoute.cacheHints,
|
|
221
|
-
demoScenarios: servicesRoute.demoScenarios,
|
|
222
176
|
renderers: {
|
|
223
177
|
"bootstrap5": {
|
|
224
178
|
pages: [{ rendererId: "default", type: "page", method: "GET", render: servicesBootstrap5PageGET.render }],
|
|
@@ -232,19 +186,13 @@ export const registry = {
|
|
|
232
186
|
path: "/settings",
|
|
233
187
|
methods: ["GET"],
|
|
234
188
|
paramNames: [],
|
|
235
|
-
schemas: {
|
|
236
|
-
|
|
237
|
-
},
|
|
238
|
-
methodRoutes: { GET: { method: "GET", schemas: {
|
|
189
|
+
schemas: {},
|
|
190
|
+
methodRoutes: { GET: { method: "GET", operationId: settingsGETRoute.operationId, title: settingsGETRoute.title, description: settingsGETRoute.description, schemas: {
|
|
239
191
|
response: settingsGETRoute.ResponseSchema
|
|
240
|
-
}, handler: settingsGETRoute.default } },
|
|
192
|
+
}, handler: settingsGETRoute.default, auth: settingsGETRoute.auth, cacheHints: settingsGETRoute.cacheHints, demoScenarios: settingsGETRoute.demoScenarios, dependencies: [...new Set([...settingsGETRoute.dependencies, ...[]])] } },
|
|
241
193
|
handlers: { GET: settingsGETRoute.default },
|
|
242
194
|
title: settingsRoute.title,
|
|
243
195
|
description: settingsRoute.description,
|
|
244
|
-
auth: settingsRoute.auth,
|
|
245
|
-
dependencies: settingsRoute.dependencies,
|
|
246
|
-
cacheHints: settingsRoute.cacheHints,
|
|
247
|
-
demoScenarios: settingsRoute.demoScenarios,
|
|
248
196
|
renderers: {
|
|
249
197
|
"bootstrap5": {
|
|
250
198
|
pages: [{ rendererId: "default", type: "page", method: "GET", render: settingsBootstrap5PageGET.render }],
|
|
@@ -258,24 +206,19 @@ export const registry = {
|
|
|
258
206
|
path: "/tenants",
|
|
259
207
|
methods: ["DELETE", "GET", "POST", "PUT"],
|
|
260
208
|
paramNames: [],
|
|
261
|
-
schemas: {
|
|
262
|
-
|
|
263
|
-
},
|
|
264
|
-
methodRoutes: { DELETE: { method: "DELETE", schemas: {
|
|
209
|
+
schemas: {},
|
|
210
|
+
methodRoutes: { DELETE: { method: "DELETE", operationId: tenantsDELETERoute.operationId, title: tenantsDELETERoute.title, description: tenantsDELETERoute.description, schemas: {
|
|
265
211
|
response: tenantsDELETERoute.ResponseSchema
|
|
266
|
-
}, handler: tenantsDELETERoute.default }, GET: { method: "GET", schemas: {
|
|
212
|
+
}, handler: tenantsDELETERoute.default, auth: tenantsDELETERoute.auth, cacheHints: tenantsDELETERoute.cacheHints, demoScenarios: tenantsDELETERoute.demoScenarios }, GET: { method: "GET", operationId: tenantsGETRoute.operationId, title: tenantsGETRoute.title, description: tenantsGETRoute.description, schemas: {
|
|
267
213
|
response: tenantsGETRoute.ResponseSchema
|
|
268
|
-
}, handler: tenantsGETRoute.default }, POST: { method: "POST", schemas: {
|
|
214
|
+
}, handler: tenantsGETRoute.default, auth: tenantsGETRoute.auth, cacheHints: tenantsGETRoute.cacheHints, demoScenarios: tenantsGETRoute.demoScenarios }, POST: { method: "POST", operationId: tenantsPOSTRoute.operationId, title: tenantsPOSTRoute.title, description: tenantsPOSTRoute.description, schemas: {
|
|
269
215
|
response: tenantsPOSTRoute.ResponseSchema
|
|
270
|
-
}, handler: tenantsPOSTRoute.default }, PUT: { method: "PUT", schemas: {
|
|
216
|
+
}, handler: tenantsPOSTRoute.default, auth: tenantsPOSTRoute.auth, cacheHints: tenantsPOSTRoute.cacheHints, demoScenarios: tenantsPOSTRoute.demoScenarios }, PUT: { method: "PUT", operationId: tenantsPUTRoute.operationId, title: tenantsPUTRoute.title, description: tenantsPUTRoute.description, schemas: {
|
|
271
217
|
response: tenantsPUTRoute.ResponseSchema
|
|
272
|
-
}, handler: tenantsPUTRoute.default } },
|
|
218
|
+
}, handler: tenantsPUTRoute.default, auth: tenantsPUTRoute.auth, cacheHints: tenantsPUTRoute.cacheHints, demoScenarios: tenantsPUTRoute.demoScenarios } },
|
|
273
219
|
handlers: { DELETE: tenantsDELETERoute.default, GET: tenantsGETRoute.default, POST: tenantsPOSTRoute.default, PUT: tenantsPUTRoute.default },
|
|
274
220
|
title: tenantsRoute.title,
|
|
275
221
|
description: tenantsRoute.description,
|
|
276
|
-
auth: tenantsRoute.auth,
|
|
277
|
-
cacheHints: tenantsRoute.cacheHints,
|
|
278
|
-
demoScenarios: tenantsRoute.demoScenarios,
|
|
279
222
|
renderers: {
|
|
280
223
|
"bootstrap5": {
|
|
281
224
|
pages: [{ rendererId: "default", type: "page", method: "DELETE", render: tenantsBootstrap5PageDELETE.render }, { rendererId: "default", type: "page", method: "GET", render: tenantsBootstrap5PageGET.render }, { rendererId: "default", type: "page", method: "POST", render: tenantsBootstrap5PagePOST.render }, { rendererId: "default", type: "page", method: "PUT", render: tenantsBootstrap5PagePUT.render }],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../../../src/plugins/service-betterportal-config-manager/.bp-generated/registry.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,OAAO,KAAK,SAAS,MAAM,4BAA4B,CAAC;AACxD,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,qBAAqB,MAAM,+CAA+C,CAAC;AACvF,OAAO,KAAK,WAAW,MAAM,8BAA8B,CAAC;AAC5D,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAC;AAC7D,OAAO,KAAK,uBAAuB,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,qBAAqB,MAAM,+CAA+C,CAAC;AACvF,OAAO,KAAK,cAAc,MAAM,iCAAiC,CAAC;AAClE,OAAO,KAAK,iBAAiB,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,0BAA0B,MAAM,oDAAoD,CAAC;AACjG,OAAO,KAAK,SAAS,MAAM,4BAA4B,CAAC;AACxD,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,qBAAqB,MAAM,+CAA+C,CAAC;AACvF,OAAO,KAAK,YAAY,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAC/D,OAAO,KAAK,wBAAwB,MAAM,kDAAkD,CAAC;AAC7F,OAAO,KAAK,WAAW,MAAM,8BAA8B,CAAC;AAC5D,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAC;AAC7D,OAAO,KAAK,uBAAuB,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,aAAa,MAAM,gCAAgC,CAAC;AAChE,OAAO,KAAK,gBAAgB,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,yBAAyB,MAAM,mDAAmD,CAAC;AAC/F,OAAO,KAAK,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Ac,EAAE,EACf;CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../../../src/plugins/service-betterportal-config-manager/.bp-generated/registry.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,OAAO,KAAK,SAAS,MAAM,4BAA4B,CAAC;AACxD,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,qBAAqB,MAAM,+CAA+C,CAAC;AACvF,OAAO,KAAK,WAAW,MAAM,8BAA8B,CAAC;AAC5D,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAC;AAC7D,OAAO,KAAK,uBAAuB,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,qBAAqB,MAAM,+CAA+C,CAAC;AACvF,OAAO,KAAK,cAAc,MAAM,iCAAiC,CAAC;AAClE,OAAO,KAAK,iBAAiB,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,0BAA0B,MAAM,oDAAoD,CAAC;AACjG,OAAO,KAAK,SAAS,MAAM,4BAA4B,CAAC;AACxD,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,qBAAqB,MAAM,+CAA+C,CAAC;AACvF,OAAO,KAAK,YAAY,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAC/D,OAAO,KAAK,wBAAwB,MAAM,kDAAkD,CAAC;AAC7F,OAAO,KAAK,WAAW,MAAM,8BAA8B,CAAC;AAC5D,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAC;AAC7D,OAAO,KAAK,uBAAuB,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,aAAa,MAAM,gCAAgC,CAAC;AAChE,OAAO,KAAK,gBAAgB,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,yBAAyB,MAAM,mDAAmD,CAAC;AAC/F,OAAO,KAAK,aAAa,MAAM,gCAAgC,CAAC;AAChE,OAAO,KAAK,gBAAgB,M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AAE,UAAU,EAAE,eAAe,CAAC,UAAU,EAAE,aAAa,EAAE,eAAe,CAAC,aAAa,EAAE,EAAE;YACzJ,QAAQ,EAAE,EAAE,MAAM,EAAE,kBAAkB,CAAC,OAAO,EAAE,GAAG,EAAE,eAAe,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAC,OAAO,EAAE,GAAG,EAAE,eAAe,CAAC,OAAO,EAAE;YAC5I,KAAK,EAAE,YAAY,CAAC,KAAK;YACzB,WAAW,EAAE,YAAY,CAAC,WAAW;YACrC,SAAS,EAAE;gBACT,YAAY,EAAE;oBACZ,KAAK,EAAE,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,2BAA2B,CAAC,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,wBAAwB,CAAC,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,yBAAyB,CAAC,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,wBAAwB,CAAC,MAAM,EAAE,CAAC;oBACnZ,UAAU,EAAE,EAAE;oBACd,SAAS,EAAE,EAAE;iBACd;aACF;SACF;KACF;IACD,cAAc,EAAE,EACf;CACF,CAAC"}
|
|
@@ -76,8 +76,9 @@ declare function automationServiceCatalog(config: BetterPortalConfig, appDef: Be
|
|
|
76
76
|
}[];
|
|
77
77
|
actions: {
|
|
78
78
|
viewId: string;
|
|
79
|
+
operationId: string;
|
|
79
80
|
path: string;
|
|
80
|
-
|
|
81
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS";
|
|
81
82
|
title: string;
|
|
82
83
|
renderable: boolean;
|
|
83
84
|
permissions: {
|
|
@@ -166,8 +167,9 @@ declare function automationServiceCatalog(config: BetterPortalConfig, appDef: Be
|
|
|
166
167
|
}[];
|
|
167
168
|
actions: {
|
|
168
169
|
viewId: string;
|
|
170
|
+
operationId: string;
|
|
169
171
|
path: string;
|
|
170
|
-
|
|
172
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS";
|
|
171
173
|
title: string;
|
|
172
174
|
renderable: boolean;
|
|
173
175
|
permissions: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adminApi.d.ts","sourceRoot":"","sources":["../../../src/plugins/service-betterportal-config-manager/adminApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EAEjB,mBAAmB,EACnB,SAAS,EACV,MAAM,yBAAyB,CAAC;AAYjC,OAAO,KAAK,EAAuE,kBAAkB,EAAE,eAAe,EAA0C,MAAM,yBAAyB,CAAC;AAChM,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"adminApi.d.ts","sourceRoot":"","sources":["../../../src/plugins/service-betterportal-config-manager/adminApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EAEjB,mBAAmB,EACnB,SAAS,EACV,MAAM,yBAAyB,CAAC;AAYjC,OAAO,KAAK,EAAuE,kBAAkB,EAAE,eAAe,EAA0C,MAAM,yBAAyB,CAAC;AAChM,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAqQzD,iBAAS,wBAAwB,CAAC,MAAM,EAAE,kBAAkB,EAAE,MAAM,EAAE,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
|
return undefined;
|
|
165
165
|
}
|
|
166
|
-
function routeMethodsFromManifest(methods) {
|
|
167
|
-
const normalized = (methods ?? []).filter((method) => method === "GET" || method === "POST" || method === "PUT" || method === "PATCH" || method === "DELETE" || method === "OPTIONS");
|
|
168
|
-
return normalized.length ? normalized : ["GET"];
|
|
169
|
-
}
|
|
170
166
|
function hasPageRenderer(view) {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
167
|
+
return (view.operations ?? []).some((operation) => {
|
|
168
|
+
if (operation.method !== "GET" || operation.renderable === false)
|
|
169
|
+
return false;
|
|
170
|
+
const renderers = operation.html?.renderers;
|
|
171
|
+
return renderers && Object.values(renderers).some((renderer) => Array.isArray(renderer.renderModes) && renderer.renderModes.includes("page"));
|
|
172
|
+
});
|
|
175
173
|
}
|
|
176
174
|
function appMatchesTenantUrl(app, tenantUrl) {
|
|
177
175
|
let host = "";
|
|
@@ -279,21 +277,22 @@ function automationServiceCatalog(config, appDef) {
|
|
|
279
277
|
...resource,
|
|
280
278
|
url: `${service.url.replace(/\/+$/, "")}/.well-known/bp/resources/${encodeURIComponent(resource.id)}`
|
|
281
279
|
})),
|
|
282
|
-
actions: Object.values(manifest?.viewIndex ?? {}).
|
|
280
|
+
actions: Object.values(manifest?.viewIndex ?? {}).flatMap((view) => view.operations.map((operation) => ({
|
|
283
281
|
viewId: view.viewId,
|
|
282
|
+
operationId: operation.operationId,
|
|
284
283
|
path: view.path,
|
|
285
|
-
|
|
286
|
-
title:
|
|
287
|
-
renderable:
|
|
288
|
-
permissions:
|
|
289
|
-
role:
|
|
290
|
-
chrome:
|
|
291
|
-
dependencies:
|
|
292
|
-
schemas:
|
|
293
|
-
raw:
|
|
294
|
-
apiContracts:
|
|
295
|
-
demoScenarios:
|
|
296
|
-
}))
|
|
284
|
+
method: operation.method,
|
|
285
|
+
title: operation.title,
|
|
286
|
+
renderable: operation.renderable,
|
|
287
|
+
permissions: operation.permissions,
|
|
288
|
+
role: operation.role,
|
|
289
|
+
chrome: operation.chrome,
|
|
290
|
+
dependencies: operation.dependencies,
|
|
291
|
+
schemas: operation.schemas,
|
|
292
|
+
raw: operation.raw === true,
|
|
293
|
+
apiContracts: operation.apiContracts,
|
|
294
|
+
demoScenarios: operation.demoScenarios
|
|
295
|
+
})))
|
|
297
296
|
};
|
|
298
297
|
})
|
|
299
298
|
};
|
|
@@ -320,7 +319,7 @@ export function renderAutomationLlmsApi(catalog) {
|
|
|
320
319
|
if (service.actions.length === 0)
|
|
321
320
|
lines.push("No synced actions.", "");
|
|
322
321
|
for (const action of service.actions) {
|
|
323
|
-
lines.push(`#### ${action.title}`, "", `- View ID: \`${action.viewId}\``, `-
|
|
322
|
+
lines.push(`#### ${action.title}`, "", `- View ID: \`${action.viewId}\``, `- Operation ID: \`${action.operationId}\``, `- Method: \`${action.method}\``, `- URL: ${base}${action.path}`, `- Renderable: ${action.renderable ? "yes" : "no"}`, `- Required permissions: \`${JSON.stringify(action.permissions)}\``, "");
|
|
324
323
|
if (action.schemas)
|
|
325
324
|
lines.push("```json", JSON.stringify(action.schemas, null, 2), "```", "");
|
|
326
325
|
if (action.demoScenarios.length)
|
|
@@ -336,8 +335,14 @@ function parseRouteCreateBody(body) {
|
|
|
336
335
|
const viewId = requiredRouteString(body, "viewId", "View");
|
|
337
336
|
if (viewId.error)
|
|
338
337
|
return { error: viewId.error };
|
|
338
|
+
const operationId = requiredRouteString(body, "operationId", "Operation");
|
|
339
|
+
if (operationId.error)
|
|
340
|
+
return { error: operationId.error };
|
|
339
341
|
const manifestView = getManifestCache().get(serviceId.value)?.viewIndex[viewId.value];
|
|
340
|
-
const
|
|
342
|
+
const manifestOperation = manifestView?.operations.find((operation) => operation.operationId === operationId.value);
|
|
343
|
+
if (manifestView && !manifestOperation)
|
|
344
|
+
return { error: "Selected operation is not available for this view." };
|
|
345
|
+
const renderable = manifestOperation?.method === "GET" && manifestOperation.renderable === true;
|
|
341
346
|
const manifest = getManifestCache().get(serviceId.value);
|
|
342
347
|
const servicePathVariant = trimmedString(body, "servicePathVariant") ?? manifestView?.path ?? `/${viewId.value}`;
|
|
343
348
|
if (manifestView && ![manifestView.path, ...manifestView.pathVariants].includes(servicePathVariant)) {
|
|
@@ -357,7 +362,7 @@ function parseRouteCreateBody(body) {
|
|
|
357
362
|
const mappingError = validateRouteParamMapping(path.value, serviceRoutePath, fixedParams, manifestView?.paramsSchema);
|
|
358
363
|
if (mappingError)
|
|
359
364
|
return { error: mappingError };
|
|
360
|
-
const title = renderable ? requiredRouteString(body, "title", "Display title") : { value:
|
|
365
|
+
const title = renderable ? requiredRouteString(body, "title", "Display title") : { value: manifestOperation?.title ?? operationId.value };
|
|
361
366
|
if (title.error)
|
|
362
367
|
return { error: title.error };
|
|
363
368
|
const route = {
|
|
@@ -369,7 +374,7 @@ function parseRouteCreateBody(body) {
|
|
|
369
374
|
...(Object.keys(fixedParams).length > 0 ? { fixedParams } : {}),
|
|
370
375
|
title: title.value,
|
|
371
376
|
enabled: true,
|
|
372
|
-
|
|
377
|
+
operations: [operationId.value]
|
|
373
378
|
};
|
|
374
379
|
if (manifestView?.path)
|
|
375
380
|
route.targetPath = serviceRoutePath;
|
|
@@ -383,7 +388,7 @@ function serviceRouteTargetKey(route) {
|
|
|
383
388
|
?? route.targetPath
|
|
384
389
|
?? getManifestCache().get(route.serviceId)?.viewIndex[route.viewId]?.path;
|
|
385
390
|
return servicePath
|
|
386
|
-
? `${route.serviceId}\u0000${route.viewId}\u0000${appRoutePatternKey(servicePath)}`
|
|
391
|
+
? `${route.serviceId}\u0000${route.viewId}\u0000${[...route.operations].sort().join(",")}\u0000${appRoutePatternKey(servicePath)}`
|
|
387
392
|
: undefined;
|
|
388
393
|
}
|
|
389
394
|
function hasDuplicateServiceRouteTarget(appDef, route, excludeRouteId) {
|
|
@@ -453,22 +458,26 @@ function addRouteDependencies(appDef, route) {
|
|
|
453
458
|
const view = manifest?.viewIndex[route.viewId];
|
|
454
459
|
if (!manifest || !view)
|
|
455
460
|
return;
|
|
456
|
-
|
|
457
|
-
|
|
461
|
+
const operations = new Map(Object.values(manifest.viewIndex).flatMap((candidateView) => candidateView.operations.map((operation) => [operation.operationId, { view: candidateView, operation }])));
|
|
462
|
+
const dependencies = view.operations
|
|
463
|
+
.filter((operation) => route.operations.includes(operation.operationId))
|
|
464
|
+
.flatMap((operation) => operation.dependencies);
|
|
465
|
+
for (const dependencyOperationId of dependencies) {
|
|
466
|
+
const dependency = operations.get(dependencyOperationId);
|
|
458
467
|
if (!dependency)
|
|
459
468
|
continue;
|
|
460
|
-
if (appDef.routes.some((candidate) => candidate.serviceId === route.serviceId && candidate.
|
|
469
|
+
if (appDef.routes.some((candidate) => candidate.serviceId === route.serviceId && candidate.operations.includes(dependencyOperationId)))
|
|
461
470
|
continue;
|
|
462
471
|
appDef.routes.push({
|
|
463
472
|
id: uuidv7(),
|
|
464
473
|
kind: "api",
|
|
465
|
-
path: apiRoutePath(manifest.serviceId, dependency.path),
|
|
474
|
+
path: apiRoutePath(manifest.serviceId, dependency.view.path),
|
|
466
475
|
serviceId: route.serviceId,
|
|
467
|
-
viewId:
|
|
468
|
-
targetPath: dependency.path,
|
|
469
|
-
title: dependency.
|
|
476
|
+
viewId: dependency.view.viewId,
|
|
477
|
+
targetPath: dependency.view.path,
|
|
478
|
+
title: dependency.operation.title,
|
|
470
479
|
enabled: true,
|
|
471
|
-
|
|
480
|
+
operations: [dependencyOperationId]
|
|
472
481
|
});
|
|
473
482
|
}
|
|
474
483
|
}
|
|
@@ -1979,10 +1988,19 @@ export function registerAdminApiRoutes(app, store, cpState) {
|
|
|
1979
1988
|
return validationError(event, "View is required.");
|
|
1980
1989
|
route.viewId = viewId;
|
|
1981
1990
|
}
|
|
1991
|
+
if (body.operationId !== undefined) {
|
|
1992
|
+
const operationId = trimmedString(body, "operationId");
|
|
1993
|
+
if (!operationId)
|
|
1994
|
+
return validationError(event, "Operation is required.");
|
|
1995
|
+
route.operations = [operationId];
|
|
1996
|
+
}
|
|
1982
1997
|
const manifest = getManifestCache().get(route.serviceId);
|
|
1983
1998
|
const manifestView = manifest?.viewIndex[route.viewId];
|
|
1984
1999
|
if (manifestView) {
|
|
1985
|
-
const
|
|
2000
|
+
const manifestOperation = manifestView.operations.find((operation) => route.operations.includes(operation.operationId));
|
|
2001
|
+
if (!manifestOperation)
|
|
2002
|
+
return validationError(event, "Selected operation is not available for this view.");
|
|
2003
|
+
const routeIdentityChanged = body.serviceId !== undefined || body.viewId !== undefined || body.operationId !== undefined;
|
|
1986
2004
|
const requestedServicePath = trimmedString(body, "servicePathVariant")
|
|
1987
2005
|
?? (routeIdentityChanged ? undefined : route.servicePathVariant)
|
|
1988
2006
|
?? manifestView.path;
|
|
@@ -1993,7 +2011,8 @@ export function registerAdminApiRoutes(app, store, cpState) {
|
|
|
1993
2011
|
if (servicePathError)
|
|
1994
2012
|
return validationError(event, servicePathError);
|
|
1995
2013
|
const submittedFixed = fixedParamsFromBody(body);
|
|
1996
|
-
const
|
|
2014
|
+
const pageRenderable = manifestOperation.method === "GET" && manifestOperation.renderable;
|
|
2015
|
+
const mappedAppPath = !pageRenderable
|
|
1997
2016
|
? apiRoutePath(manifest?.serviceId ?? route.serviceId, requestedServicePath)
|
|
1998
2017
|
: route.path;
|
|
1999
2018
|
const appParams = new Set(routeParamNames(mappedAppPath));
|
|
@@ -2009,12 +2028,11 @@ export function registerAdminApiRoutes(app, store, cpState) {
|
|
|
2009
2028
|
route.fixedParams = fixedParams;
|
|
2010
2029
|
else
|
|
2011
2030
|
delete route.fixedParams;
|
|
2012
|
-
route.methods = routeMethodsFromManifest(manifestView.methods);
|
|
2013
2031
|
route.targetPath = requestedServicePath;
|
|
2014
|
-
if (
|
|
2032
|
+
if (!pageRenderable) {
|
|
2015
2033
|
route.kind = "api";
|
|
2016
2034
|
route.path = apiRoutePath(manifest?.serviceId ?? route.serviceId, requestedServicePath);
|
|
2017
|
-
route.title =
|
|
2035
|
+
route.title = manifestOperation.title;
|
|
2018
2036
|
delete route.query;
|
|
2019
2037
|
}
|
|
2020
2038
|
else {
|
|
@@ -2030,7 +2048,8 @@ export function registerAdminApiRoutes(app, store, cpState) {
|
|
|
2030
2048
|
}
|
|
2031
2049
|
if (body.query !== undefined) {
|
|
2032
2050
|
const query = trimmedString(body, "query");
|
|
2033
|
-
|
|
2051
|
+
const renderable = manifestView?.operations.some((operation) => route.operations.includes(operation.operationId) && operation.method === "GET" && operation.renderable);
|
|
2052
|
+
if (isApiRoute(route, renderable))
|
|
2034
2053
|
delete route.query;
|
|
2035
2054
|
else if (query)
|
|
2036
2055
|
route.query = query.replace(/^\?+/, "");
|
|
@@ -2041,7 +2060,8 @@ export function registerAdminApiRoutes(app, store, cpState) {
|
|
|
2041
2060
|
const title = trimmedString(body, "title");
|
|
2042
2061
|
if (!title)
|
|
2043
2062
|
return validationError(event, "Display title is required.");
|
|
2044
|
-
|
|
2063
|
+
const renderable = manifestView?.operations.some((operation) => route.operations.includes(operation.operationId) && operation.method === "GET" && operation.renderable);
|
|
2064
|
+
if (!isApiRoute(route, renderable))
|
|
2045
2065
|
route.title = title;
|
|
2046
2066
|
}
|
|
2047
2067
|
if (body.enabled !== undefined)
|
|
@@ -2196,27 +2216,27 @@ export function registerAdminApiRoutes(app, store, cpState) {
|
|
|
2196
2216
|
let serviceId;
|
|
2197
2217
|
let capabilities = [];
|
|
2198
2218
|
let serviceRoutes = [];
|
|
2199
|
-
let
|
|
2200
|
-
let dependencyViewIds = new Set();
|
|
2219
|
+
let dependencyOperationIds = new Set();
|
|
2201
2220
|
const schemaText = typeof body.schema === "string" ? body.schema : "";
|
|
2202
2221
|
if (schemaText) {
|
|
2203
2222
|
try {
|
|
2204
2223
|
const schema = JSON.parse(schemaText);
|
|
2205
2224
|
serviceId = schema.manifest?.pluginId;
|
|
2206
2225
|
capabilities = Array.isArray(schema.manifest?.capabilities) ? schema.manifest.capabilities.filter((value) => typeof value === "string") : [];
|
|
2207
|
-
serviceRoutes = schema.routes ?? [];
|
|
2208
2226
|
const manifestViews = schema.manifest?.views ?? [];
|
|
2209
|
-
|
|
2210
|
-
?
|
|
2227
|
+
dependencyOperationIds = new Set(manifestViews.flatMap((view) => (view.operations ?? []).flatMap((operation) => Array.isArray(operation.dependencies)
|
|
2228
|
+
? operation.dependencies.filter((value) => typeof value === "string")
|
|
2229
|
+
: [])));
|
|
2230
|
+
serviceRoutes = manifestViews.flatMap((view) => (view.operations ?? []).flatMap((operation) => typeof operation.operationId === "string"
|
|
2231
|
+
? [{
|
|
2232
|
+
viewId: view.viewId,
|
|
2233
|
+
path: view.path ?? `/${view.viewId}`,
|
|
2234
|
+
operationId: operation.operationId,
|
|
2235
|
+
title: typeof operation.title === "string" ? operation.title : view.title,
|
|
2236
|
+
renderable: operation.renderable === true,
|
|
2237
|
+
pageRenderable: operation.method === "GET" && hasPageRenderer({ ...view, operations: [operation] })
|
|
2238
|
+
}]
|
|
2211
2239
|
: []));
|
|
2212
|
-
viewMeta = new Map(manifestViews.map((v) => [v.viewId, {
|
|
2213
|
-
title: v.title,
|
|
2214
|
-
renderable: v.renderable !== false,
|
|
2215
|
-
pageRenderable: hasPageRenderer(v),
|
|
2216
|
-
methods: Array.isArray(v.methods)
|
|
2217
|
-
? v.methods.filter((value) => typeof value === "string")
|
|
2218
|
-
: []
|
|
2219
|
-
}]));
|
|
2220
2240
|
}
|
|
2221
2241
|
catch { /* malformed schema - register without routes */ }
|
|
2222
2242
|
}
|
|
@@ -2246,28 +2266,29 @@ export function registerAdminApiRoutes(app, store, cpState) {
|
|
|
2246
2266
|
const existingPaths = new Set(appDef.routes.map((r) => r.path));
|
|
2247
2267
|
for (const r of serviceRoutes) {
|
|
2248
2268
|
const routeServiceId = serviceId ?? newServiceId;
|
|
2249
|
-
const
|
|
2250
|
-
const renderable = meta?.renderable ?? r.renderable !== false;
|
|
2251
|
-
const mountPath = renderable
|
|
2269
|
+
const mountPath = r.pageRenderable
|
|
2252
2270
|
? pageRoutePath(routeServiceId, r.path)
|
|
2253
2271
|
: apiRoutePath(routeServiceId, r.path);
|
|
2254
|
-
if (existingPaths.has(mountPath))
|
|
2272
|
+
if (r.pageRenderable && existingPaths.has(mountPath))
|
|
2273
|
+
continue;
|
|
2274
|
+
if (appDef.routes.some((route) => route.serviceId === newServiceId && route.operations.includes(r.operationId)))
|
|
2255
2275
|
continue;
|
|
2256
2276
|
const routeId = uuidv7();
|
|
2257
|
-
const routeTitle =
|
|
2277
|
+
const routeTitle = r.title;
|
|
2258
2278
|
appDef.routes.push({
|
|
2259
2279
|
id: routeId,
|
|
2260
|
-
kind:
|
|
2280
|
+
kind: r.pageRenderable ? "page" : "api",
|
|
2261
2281
|
path: mountPath,
|
|
2262
2282
|
serviceId: newServiceId,
|
|
2263
2283
|
viewId: r.viewId,
|
|
2264
2284
|
targetPath: r.path,
|
|
2265
2285
|
title: routeTitle,
|
|
2266
|
-
enabled:
|
|
2267
|
-
|
|
2286
|
+
enabled: r.pageRenderable || dependencyOperationIds.has(r.operationId),
|
|
2287
|
+
operations: [r.operationId]
|
|
2268
2288
|
});
|
|
2269
|
-
|
|
2270
|
-
|
|
2289
|
+
if (r.pageRenderable)
|
|
2290
|
+
existingPaths.add(mountPath);
|
|
2291
|
+
if (r.pageRenderable && !isApiRoute({ kind: "page", path: mountPath }, true)) {
|
|
2271
2292
|
groupChildren.push({
|
|
2272
2293
|
id: uuidv7(),
|
|
2273
2294
|
type: "link",
|