@betterportal/hello-view 11.0.20 → 11.0.22

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": "11.0.20",
7
+ "version": "11.0.22",
8
8
  "category": "service",
9
9
  "deploymentModes": [
10
10
  "self-hosted"
@@ -5,6 +5,7 @@ declare const Config: import("@bsb/base").BSBPluginConfigClass<av.ObjectSchema<{
5
5
  host: av.StringSchema;
6
6
  port: av.IntSchema;
7
7
  betterportal: av.OptionalSchema<av.ObjectSchema<{
8
+ maxJsonBodyBytes: av.IntSchema;
8
9
  bpConfigPath: av.OptionalSchema<av.StringSchema>;
9
10
  configApiToken: av.OptionalSchema<av.StringSchema>;
10
11
  allowDevConfigToken: av.BoolSchema;
@@ -31,6 +32,7 @@ export declare class Plugin extends BPService<InstanceType<typeof Config>, typeo
31
32
  host: av.StringSchema;
32
33
  port: av.IntSchema;
33
34
  betterportal: av.OptionalSchema<av.ObjectSchema<{
35
+ maxJsonBodyBytes: av.IntSchema;
34
36
  bpConfigPath: av.OptionalSchema<av.StringSchema>;
35
37
  configApiToken: av.OptionalSchema<av.StringSchema>;
36
38
  allowDevConfigToken: av.BoolSchema;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/service-betterportal-hello-view/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,qBAAqB,EAG3B,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,EAA8D,SAAS,EAAE,KAAK,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAS3I,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;GAUX,CAAC;AAEF,QAAA,MAAM,YAAY;;;;;;;CAOhB,CAAC;AAEH,qBAAa,MAAO,SAAQ,SAAS,CAAC,YAAY,CAAC,OAAO,MAAM,CAAC,EAAE,OAAO,YAAY,CAAC;IACrF,MAAM,CAAC,MAAM;;;;;;;;;;;;;;;;QAAU;IACvB,MAAM,CAAC,YAAY;;;;;;;MAAgB;gBAEvB,GAAG,EAAE,qBAAqB,CAAC,YAAY,CAAC,OAAO,MAAM,CAAC,EAAE,OAAO,YAAY,CAAC;IAIxF,SAAS,CAAC,UAAU,IAAI,mBAAmB;CAiC5C;AAED,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/service-betterportal-hello-view/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,qBAAqB,EAG3B,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,EAA8D,SAAS,EAAE,KAAK,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAS3I,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;GAUX,CAAC;AAEF,QAAA,MAAM,YAAY;;;;;;;CAOhB,CAAC;AAEH,qBAAa,MAAO,SAAQ,SAAS,CAAC,YAAY,CAAC,OAAO,MAAM,CAAC,EAAE,OAAO,YAAY,CAAC;IACrF,MAAM,CAAC,MAAM;;;;;;;;;;;;;;;;;QAAU;IACvB,MAAM,CAAC,YAAY;;;;;;;MAAgB;gBAEvB,GAAG,EAAE,qBAAqB,CAAC,YAAY,CAAC,OAAO,MAAM,CAAC,EAAE,OAAO,YAAY,CAAC;IAIxF,SAAS,CAAC,UAAU,IAAI,mBAAmB;CAiC5C;AAED,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC"}
@@ -2,7 +2,7 @@
2
2
  "pluginId": "service-betterportal-hello-view",
3
3
  "pluginName": "service-betterportal-hello-view",
4
4
  "events": {},
5
- "version": "11.0.20",
5
+ "version": "11.0.22",
6
6
  "configSchema": {
7
7
  "anyvaliVersion": "1.0",
8
8
  "schemaVersion": "1.1",
@@ -24,6 +24,12 @@
24
24
  "inner": {
25
25
  "kind": "object",
26
26
  "properties": {
27
+ "maxJsonBodyBytes": {
28
+ "kind": "int",
29
+ "min": 1,
30
+ "max": 9007199254740991,
31
+ "default": 1048576
32
+ },
27
33
  "bpConfigPath": {
28
34
  "kind": "optional",
29
35
  "inner": {
@@ -101,6 +107,7 @@
101
107
  }
102
108
  },
103
109
  "required": [
110
+ "maxJsonBodyBytes",
104
111
  "allowDevConfigToken",
105
112
  "bootstrapStatePath",
106
113
  "scopedConfigCachePath",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "service-betterportal-hello-view",
3
3
  "name": "service-betterportal-hello-view",
4
- "version": "11.0.20",
4
+ "version": "11.0.22",
5
5
  "description": "Hello view example service for BetterPortal v10",
6
6
  "category": "service",
7
7
  "tags": [
@@ -41,6 +41,12 @@
41
41
  "inner": {
42
42
  "kind": "object",
43
43
  "properties": {
44
+ "maxJsonBodyBytes": {
45
+ "kind": "int",
46
+ "min": 1,
47
+ "max": 9007199254740991,
48
+ "default": 1048576
49
+ },
44
50
  "bpConfigPath": {
45
51
  "kind": "optional",
46
52
  "inner": {
@@ -118,6 +124,7 @@
118
124
  }
119
125
  },
120
126
  "required": [
127
+ "maxJsonBodyBytes",
121
128
  "allowDevConfigToken",
122
129
  "bootstrapStatePath",
123
130
  "scopedConfigCachePath",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterportal/hello-view",
3
- "version": "11.0.20",
3
+ "version": "11.0.22",
4
4
  "description": "BetterPortal v10 example service plugin for Node.js",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/index.ts",
@@ -30,13 +30,13 @@
30
30
  "type": "module",
31
31
  "devDependencies": {
32
32
  "@bsb/tests": "^9.7.5",
33
- "@types/node": "^26.6.6",
33
+ "@types/node": "^26.6.11",
34
34
  "tsx": "^4.23.12",
35
35
  "typescript": "^6.0.3"
36
36
  },
37
37
  "dependencies": {
38
- "@betterportal/framework": "11.0.20",
39
- "@betterportal/plugin-bsb": "11.0.20",
38
+ "@betterportal/framework": "11.0.22",
39
+ "@betterportal/plugin-bsb": "11.0.22",
40
40
  "@bsb/base": "^9.7.5",
41
41
  "anyvali": "^1.1.7",
42
42
  "jsx-htmx": "4.0.100"