@betterportal/hello-view 10.2.1 → 10.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@
4
4
  "pluginId": "org.betterportal.hello-view",
5
5
  "title": "BetterPortal Hello View Example",
6
6
  "description": "Example business service showing API-first view negotiation.",
7
- "version": "10.2.1",
7
+ "version": "10.3.0",
8
8
  "category": "service",
9
9
  "deploymentModes": [
10
10
  "self-hosted"
@@ -54,7 +54,7 @@ export declare const registry: {
54
54
  text: string;
55
55
  }[];
56
56
  landingHref: string;
57
- }, unknown, Record<string, unknown>>;
57
+ }, never, Record<string, unknown>>;
58
58
  auth: import("@betterportal/framework").ApiAuthRequirement;
59
59
  cacheHints: {
60
60
  ttlSeconds: number;
@@ -77,7 +77,7 @@ export declare const registry: {
77
77
  text: string;
78
78
  }[];
79
79
  landingHref: string;
80
- }, unknown, Record<string, unknown>>;
80
+ }, never, Record<string, unknown>>;
81
81
  };
82
82
  title: string;
83
83
  description: string;
@@ -209,7 +209,7 @@ export declare const registry: {
209
209
  name: string;
210
210
  }, Record<string, string>, Record<string, unknown>, {
211
211
  greeting: string;
212
- }, unknown, Record<string, unknown>>;
212
+ }, never, Record<string, unknown>>;
213
213
  auth: import("@betterportal/framework").ApiAuthRequirement;
214
214
  cacheHints: {
215
215
  ttlSeconds: number;
@@ -226,7 +226,7 @@ export declare const registry: {
226
226
  name: string;
227
227
  }, Record<string, string>, Record<string, unknown>, {
228
228
  greeting: string;
229
- }, unknown, Record<string, unknown>>;
229
+ }, never, Record<string, unknown>>;
230
230
  };
231
231
  title: string;
232
232
  description: string;
@@ -335,7 +335,7 @@ export declare const registry: {
335
335
  text: string;
336
336
  }[];
337
337
  aboutHref: string;
338
- }, unknown, Record<string, unknown>>;
338
+ }, never, Record<string, unknown>>;
339
339
  auth: import("@betterportal/framework").ApiAuthRequirement;
340
340
  cacheHints: {
341
341
  ttlSeconds: number;
@@ -369,7 +369,7 @@ export declare const registry: {
369
369
  text: string;
370
370
  }[];
371
371
  aboutHref: string;
372
- }, unknown, Record<string, unknown>>;
372
+ }, never, Record<string, unknown>>;
373
373
  };
374
374
  title: string;
375
375
  description: string;
@@ -35,6 +35,6 @@ declare const _default: import("@betterportal/framework").RouteHandler<Record<st
35
35
  text: string;
36
36
  }[];
37
37
  landingHref: string;
38
- }, unknown, Record<string, unknown>>;
38
+ }, never, Record<string, unknown>>;
39
39
  export default _default;
40
40
  //# sourceMappingURL=GET.d.ts.map
@@ -20,6 +20,6 @@ declare const _default: import("@betterportal/framework").RouteHandler<Record<st
20
20
  name: string;
21
21
  }, Record<string, string>, Record<string, unknown>, {
22
22
  greeting: string;
23
- }, unknown, Record<string, unknown>>;
23
+ }, never, Record<string, unknown>>;
24
24
  export default _default;
25
25
  //# sourceMappingURL=GET.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /** @jsxImportSource jsx-htmx */
2
- import type { HtmlRenderable } from "@betterportal/framework";
2
+ import type { HtmlRenderable, ViewRenderContext } from "@betterportal/framework";
3
3
  import type { ResponseData } from "../GET.js";
4
- export declare function render(_data: ResponseData): HtmlRenderable;
4
+ export declare function render(_data: ResponseData, ctx: ViewRenderContext): HtmlRenderable;
5
5
  //# sourceMappingURL=_nav.clock.GET.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"_nav.clock.GET.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_renderer.bootstrap5/_nav.clock.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,KAAK,EAAE,YAAY,GAAG,cAAc,CAW1D"}
1
+ {"version":3,"file":"_nav.clock.GET.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_renderer.bootstrap5/_nav.clock.GET.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,wBAAgB,MAAM,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,iBAAiB,GAAG,cAAc,CAWlF"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "jsx-htmx/jsx-runtime";
2
- export function render(_data) {
3
- return (_jsxs("div", { class: "d-inline-flex align-items-center gap-2 px-3 py-1 rounded-pill bg-body-tertiary border", children: [_jsx("span", { class: "badge bg-success rounded-circle p-1", style: "width:0.55rem;height:0.55rem;" }), _jsx("span", { class: "font-monospace small", "hx-ext": "sse", "hx-sse:connect": "/hello/__sse?_f=nav.clock", children: "--:--:--" })] }));
2
+ export function render(_data, ctx) {
3
+ return (_jsxs("div", { class: "d-inline-flex align-items-center gap-2 px-3 py-1 rounded-pill bg-body-tertiary border", children: [_jsx("span", { class: "badge bg-success rounded-circle p-1", style: "width:0.55rem;height:0.55rem;" }), _jsx("span", { class: "font-monospace small", "hx-ext": "sse", "hx-sse:connect": ctx.url.route("hello.index", { sse: true, fragment: "nav.clock" }) ?? "", children: "--:--:--" })] }));
4
4
  }
5
5
  //# sourceMappingURL=_nav.clock.GET.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"_nav.clock.GET.js","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_renderer.bootstrap5/_nav.clock.GET.tsx"],"names":[],"mappings":";AAIA,MAAM,UAAU,MAAM,CAAC,KAAmB;IACxC,OAAO,CACL,eAAK,KAAK,EAAC,uFAAuF,aAChG,eAAM,KAAK,EAAC,qCAAqC,EAAC,KAAK,EAAC,+BAA+B,GAAQ,EAC/F,eACE,KAAK,EAAC,sBAAsB,YACrB,KAAK,oBACG,2BAA2B,yBAC5B,IACZ,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"_nav.clock.GET.js","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_renderer.bootstrap5/_nav.clock.GET.tsx"],"names":[],"mappings":";AAIA,MAAM,UAAU,MAAM,CAAC,KAAmB,EAAE,GAAsB;IAChE,OAAO,CACL,eAAK,KAAK,EAAC,uFAAuF,aAChG,eAAM,KAAK,EAAC,qCAAqC,EAAC,KAAK,EAAC,+BAA+B,GAAQ,EAC/F,eACE,KAAK,EAAC,sBAAsB,YACrB,KAAK,oBACI,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,aAAa,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC,IAAI,EAAE,yBAC1E,IACZ,CACP,CAAC;AACJ,CAAC"}
@@ -46,6 +46,6 @@ declare const _default: import("@betterportal/framework").RouteHandler<Record<st
46
46
  text: string;
47
47
  }[];
48
48
  aboutHref: string;
49
- }, unknown, Record<string, unknown>>;
49
+ }, never, Record<string, unknown>>;
50
50
  export default _default;
51
51
  //# sourceMappingURL=GET.d.ts.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "pluginName": "service-betterportal-hello-view",
3
3
  "events": {},
4
- "version": "10.2.1",
4
+ "version": "10.3.0",
5
5
  "configSchema": {
6
6
  "anyvaliVersion": "1.0",
7
7
  "schemaVersion": "1.1",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "service-betterportal-hello-view",
3
3
  "name": "service-betterportal-hello-view",
4
- "version": "10.2.1",
4
+ "version": "10.3.0",
5
5
  "description": "Hello view example service for BetterPortal v10",
6
6
  "category": "service",
7
7
  "tags": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterportal/hello-view",
3
- "version": "10.2.1",
3
+ "version": "10.3.0",
4
4
  "description": "BetterPortal v10 example service plugin for Node.js",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/index.ts",
@@ -28,15 +28,15 @@
28
28
  "license": "(AGPL-3.0-only OR Commercial)",
29
29
  "type": "module",
30
30
  "devDependencies": {
31
- "@bsb/tests": "^9.6.72",
31
+ "@bsb/tests": "^9.6.74",
32
32
  "@types/node": "^26.0.0",
33
33
  "tsx": "^4.21.0",
34
34
  "typescript": "^6.0.3"
35
35
  },
36
36
  "dependencies": {
37
- "@betterportal/framework": "10.2.1",
38
- "@betterportal/plugin-bsb": "10.2.1",
39
- "@bsb/base": "^9.6.72",
37
+ "@betterportal/framework": "10.3.0",
38
+ "@betterportal/plugin-bsb": "10.3.0",
39
+ "@bsb/base": "^9.6.74",
40
40
  "anyvali": "^1.0.7",
41
41
  "jsx-htmx": "4.0.0-beta6"
42
42
  },