@webda/core 4.0.0-beta.5 → 4.0.0-beta.7
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/README.md +6 -5
- package/lib/application/application.d.ts.map +1 -1
- package/lib/application/application.js +18 -6
- package/lib/application/application.js.map +1 -1
- package/lib/application/iconfiguration.d.ts +31 -0
- package/lib/application/iconfiguration.d.ts.map +1 -1
- package/lib/application/iconfiguration.js.map +1 -1
- package/lib/application/unpackedapplication.d.ts.map +1 -1
- package/lib/application/unpackedapplication.js +2 -1
- package/lib/application/unpackedapplication.js.map +1 -1
- package/lib/bin/cli-phase.d.ts +18 -2
- package/lib/bin/cli-phase.d.ts.map +1 -1
- package/lib/bin/cli-phase.js +25 -0
- package/lib/bin/cli-phase.js.map +1 -1
- package/lib/bin/cli.d.ts +19 -0
- package/lib/bin/cli.d.ts.map +1 -1
- package/lib/bin/cli.js +120 -41
- package/lib/bin/cli.js.map +1 -1
- package/lib/configurations/configuration.service.d.ts +7 -0
- package/lib/configurations/configuration.service.d.ts.map +1 -1
- package/lib/configurations/configuration.service.js +18 -5
- package/lib/configurations/configuration.service.js.map +1 -1
- package/lib/configurations/kubernetesconfiguration.service.d.ts.map +1 -1
- package/lib/configurations/kubernetesconfiguration.service.js +1 -4
- package/lib/configurations/kubernetesconfiguration.service.js.map +1 -1
- package/lib/contexts/httpcontext.d.ts +15 -1
- package/lib/contexts/httpcontext.d.ts.map +1 -1
- package/lib/contexts/httpcontext.js +61 -19
- package/lib/contexts/httpcontext.js.map +1 -1
- package/lib/contexts/operationcontext.d.ts +6 -0
- package/lib/contexts/operationcontext.d.ts.map +1 -1
- package/lib/contexts/operationcontext.js +16 -2
- package/lib/contexts/operationcontext.js.map +1 -1
- package/lib/contexts/restcontext.d.ts +110 -0
- package/lib/contexts/restcontext.d.ts.map +1 -0
- package/lib/contexts/restcontext.js +247 -0
- package/lib/contexts/restcontext.js.map +1 -0
- package/lib/contexts/streamingcontext.d.ts +71 -0
- package/lib/contexts/streamingcontext.d.ts.map +1 -0
- package/lib/contexts/streamingcontext.js +93 -0
- package/lib/contexts/streamingcontext.js.map +1 -0
- package/lib/contexts/webcontext.d.ts +20 -0
- package/lib/contexts/webcontext.d.ts.map +1 -1
- package/lib/contexts/webcontext.js +43 -10
- package/lib/contexts/webcontext.js.map +1 -1
- package/lib/contexts/websocketcontext.d.ts +39 -0
- package/lib/contexts/websocketcontext.d.ts.map +1 -0
- package/lib/contexts/websocketcontext.js +67 -0
- package/lib/contexts/websocketcontext.js.map +1 -0
- package/lib/core/asyncqueue.d.ts +50 -0
- package/lib/core/asyncqueue.d.ts.map +1 -0
- package/lib/core/asyncqueue.js +96 -0
- package/lib/core/asyncqueue.js.map +1 -0
- package/lib/core/core.d.ts +21 -2
- package/lib/core/core.d.ts.map +1 -1
- package/lib/core/core.js +87 -24
- package/lib/core/core.js.map +1 -1
- package/lib/core/icore.d.ts +14 -1
- package/lib/core/icore.d.ts.map +1 -1
- package/lib/core/icore.js.map +1 -1
- package/lib/core/instancestorage.d.ts +1 -0
- package/lib/core/instancestorage.d.ts.map +1 -1
- package/lib/core/instancestorage.js +1 -0
- package/lib/core/instancestorage.js.map +1 -1
- package/lib/core/operations.d.ts +49 -6
- package/lib/core/operations.d.ts.map +1 -1
- package/lib/core/operations.js +187 -24
- package/lib/core/operations.js.map +1 -1
- package/lib/deployers/git.d.ts +4 -2
- package/lib/deployers/git.d.ts.map +1 -1
- package/lib/deployers/git.js +44 -5
- package/lib/deployers/git.js.map +1 -1
- package/lib/deployers/packager.d.ts +38 -0
- package/lib/deployers/packager.d.ts.map +1 -1
- package/lib/deployers/packager.js +70 -18
- package/lib/deployers/packager.js.map +1 -1
- package/lib/deployers/packager.service.d.ts +33 -0
- package/lib/deployers/packager.service.d.ts.map +1 -0
- package/lib/deployers/packager.service.js +112 -0
- package/lib/deployers/packager.service.js.map +1 -0
- package/lib/errors/errors.d.ts +15 -0
- package/lib/errors/errors.d.ts.map +1 -1
- package/lib/errors/errors.js +20 -0
- package/lib/errors/errors.js.map +1 -1
- package/lib/index.d.ts +7 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +6 -0
- package/lib/index.js.map +1 -1
- package/lib/models/permissions.d.ts +12 -1
- package/lib/models/permissions.d.ts.map +1 -1
- package/lib/models/permissions.js +29 -2
- package/lib/models/permissions.js.map +1 -1
- package/lib/rest/restoperationstransport.service.d.ts +108 -0
- package/lib/rest/restoperationstransport.service.d.ts.map +1 -1
- package/lib/rest/restoperationstransport.service.js +348 -9
- package/lib/rest/restoperationstransport.service.js.map +1 -1
- package/lib/rest/router.service.d.ts +1 -1
- package/lib/rest/router.service.d.ts.map +1 -1
- package/lib/rest/router.service.js.map +1 -1
- package/lib/services/audit.model.d.ts.map +1 -1
- package/lib/services/audit.model.js +7 -3
- package/lib/services/audit.model.js.map +1 -1
- package/lib/services/authenticatedencryption.d.ts +25 -0
- package/lib/services/authenticatedencryption.d.ts.map +1 -0
- package/lib/services/authenticatedencryption.js +56 -0
- package/lib/services/authenticatedencryption.js.map +1 -0
- package/lib/services/cloudbinary.d.ts.map +1 -1
- package/lib/services/cloudbinary.js +3 -2
- package/lib/services/cloudbinary.js.map +1 -1
- package/lib/services/command.d.ts +7 -1
- package/lib/services/command.d.ts.map +1 -1
- package/lib/services/command.js +4 -0
- package/lib/services/command.js.map +1 -1
- package/lib/services/cryptoservice.service.d.ts +405 -25
- package/lib/services/cryptoservice.service.d.ts.map +1 -1
- package/lib/services/cryptoservice.service.js +779 -72
- package/lib/services/cryptoservice.service.js.map +1 -1
- package/lib/services/httpserver.service.d.ts.map +1 -1
- package/lib/services/httpserver.service.js +15 -9
- package/lib/services/httpserver.service.js.map +1 -1
- package/lib/services/icryptoservice.d.ts +11 -0
- package/lib/services/icryptoservice.d.ts.map +1 -1
- package/lib/services/icryptoservice.js +2 -0
- package/lib/services/icryptoservice.js.map +1 -1
- package/lib/services/mailer.service.d.ts +4 -0
- package/lib/services/mailer.service.d.ts.map +1 -1
- package/lib/services/mailer.service.js +8 -1
- package/lib/services/mailer.service.js.map +1 -1
- package/lib/services/operationstransport.d.ts +13 -0
- package/lib/services/operationstransport.d.ts.map +1 -1
- package/lib/services/operationstransport.js +28 -6
- package/lib/services/operationstransport.js.map +1 -1
- package/lib/services/pki.encrypter.d.ts +214 -0
- package/lib/services/pki.encrypter.d.ts.map +1 -0
- package/lib/services/pki.encrypter.js +350 -0
- package/lib/services/pki.encrypter.js.map +1 -0
- package/lib/services/secretscheck.d.ts +120 -0
- package/lib/services/secretscheck.d.ts.map +1 -0
- package/lib/services/secretscheck.js +322 -0
- package/lib/services/secretscheck.js.map +1 -0
- package/lib/services/servicecommands.d.ts +8 -4
- package/lib/services/servicecommands.d.ts.map +1 -1
- package/lib/services/servicecommands.js +14 -5
- package/lib/services/servicecommands.js.map +1 -1
- package/lib/session/manager.model.d.ts +3 -1
- package/lib/session/manager.model.d.ts.map +1 -1
- package/lib/session/manager.model.js +6 -3
- package/lib/session/manager.model.js.map +1 -1
- package/lib/stores/store.d.ts +20 -1
- package/lib/stores/store.d.ts.map +1 -1
- package/lib/stores/store.js +29 -1
- package/lib/stores/store.js.map +1 -1
- package/lib/test/objects.d.ts.map +1 -1
- package/lib/test/objects.js +3 -1
- package/lib/test/objects.js.map +1 -1
- package/package.json +15 -15
- package/webda.module.json +224 -50
package/webda.module.json
CHANGED
|
@@ -3,6 +3,48 @@
|
|
|
3
3
|
"beans": {},
|
|
4
4
|
"deployers": {},
|
|
5
5
|
"moddas": {
|
|
6
|
+
"Webda/ApplicationPackager": {
|
|
7
|
+
"Import": "lib/deployers/packager.service:ApplicationPackager",
|
|
8
|
+
"Schema": {
|
|
9
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
10
|
+
"additionalProperties": false,
|
|
11
|
+
"description": "Interface to specify the Service parameters",
|
|
12
|
+
"properties": {
|
|
13
|
+
"type": {
|
|
14
|
+
"description": "Type of the service",
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"openapi": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"additionalProperties": true
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": [
|
|
23
|
+
"type"
|
|
24
|
+
],
|
|
25
|
+
"type": "object",
|
|
26
|
+
"title": "ApplicationPackager"
|
|
27
|
+
},
|
|
28
|
+
"Configuration": "lib/services/serviceparameters:ServiceParameters",
|
|
29
|
+
"commands": {
|
|
30
|
+
"package": {
|
|
31
|
+
"description": "Package the application with its deployment applied",
|
|
32
|
+
"method": "package",
|
|
33
|
+
"args": {
|
|
34
|
+
"output": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"alias": "o",
|
|
37
|
+
"description": "Package folder, or JSON file with --config-only (stdout if omitted)"
|
|
38
|
+
},
|
|
39
|
+
"configOnly": {
|
|
40
|
+
"type": "boolean",
|
|
41
|
+
"description": "Only output the deployed configuration"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"phase": "resolved"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
6
48
|
"Webda/AuditService": {
|
|
7
49
|
"Import": "lib/services/audit.model:AuditService",
|
|
8
50
|
"Schema": {
|
|
@@ -109,19 +151,15 @@
|
|
|
109
151
|
"Schema": {
|
|
110
152
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
111
153
|
"additionalProperties": false,
|
|
112
|
-
"definitions": {
|
|
113
|
-
"Duration": {
|
|
114
|
-
"additionalProperties": false,
|
|
115
|
-
"description": "Represents a time duration that defaults to seconds but supports composite strings.",
|
|
116
|
-
"type": "number | string * Supported units:\n- seconds: `s`, `sec`, `secs`, `second`, `seconds`\n- minutes: `m`, `min`, `mins`, `minute`, `minutes`\n- hours: `h`, `hr`, `hour`, `hours`\n- days: `d`, `day`, `days`\n- months: `mo`, `mon`, `month`, `months` (assumed 30 days)\n- years: `y`, `yr`, `year`, `years` (assumed 365 days)\n\nExamples:\n- `10` → 10 seconds\n- `15s` → 15 seconds\n- `2m` → 120 seconds\n- `1d2h30m` → 1 day + 2 hours + 30 minutes\n- `1 d 2 h` → same as above (spaces allowed)"
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
154
|
"description": "Parameters for the ConfigurationService, defining how configuration sources are loaded and refreshed",
|
|
120
155
|
"properties": {
|
|
121
156
|
"checkInterval": {
|
|
122
|
-
"$ref": "#/definitions/Duration",
|
|
123
157
|
"default": "1h",
|
|
124
|
-
"description": "Check configuration every {checkInterval} seconds"
|
|
158
|
+
"description": "Check configuration every {checkInterval} seconds",
|
|
159
|
+
"type": [
|
|
160
|
+
"number",
|
|
161
|
+
"string"
|
|
162
|
+
]
|
|
125
163
|
},
|
|
126
164
|
"default": {
|
|
127
165
|
"default": "{ services: {}, parameters: {} }",
|
|
@@ -213,8 +251,11 @@
|
|
|
213
251
|
"description": "Cookie Options",
|
|
214
252
|
"properties": {
|
|
215
253
|
"_maxAge": {
|
|
216
|
-
"
|
|
217
|
-
"
|
|
254
|
+
"description": "Duration storage",
|
|
255
|
+
"type": [
|
|
256
|
+
"number",
|
|
257
|
+
"string"
|
|
258
|
+
]
|
|
218
259
|
},
|
|
219
260
|
"domain": {
|
|
220
261
|
"anyOf": [
|
|
@@ -267,11 +308,6 @@
|
|
|
267
308
|
},
|
|
268
309
|
"type": "object"
|
|
269
310
|
},
|
|
270
|
-
"Duration": {
|
|
271
|
-
"additionalProperties": false,
|
|
272
|
-
"description": "Represents a time duration that defaults to seconds but supports composite strings.",
|
|
273
|
-
"type": "number | string * Supported units:\n- seconds: `s`, `sec`, `secs`, `second`, `seconds`\n- minutes: `m`, `min`, `mins`, `minute`, `minutes`\n- hours: `h`, `hr`, `hour`, `hours`\n- days: `d`, `day`, `days`\n- months: `mo`, `mon`, `month`, `months` (assumed 30 days)\n- years: `y`, `yr`, `year`, `years` (assumed 365 days)\n\nExamples:\n- `10` → 10 seconds\n- `15s` → 15 seconds\n- `2m` → 120 seconds\n- `1d2h30m` → 1 day + 2 hours + 30 minutes\n- `1 d 2 h` → same as above (spaces allowed)"
|
|
274
|
-
},
|
|
275
311
|
"JWTOptions": {
|
|
276
312
|
"additionalProperties": false,
|
|
277
313
|
"description": "JWT Options",
|
|
@@ -326,7 +362,8 @@
|
|
|
326
362
|
"$ref": "#/definitions/jwt%24secretOrPublicKey%233"
|
|
327
363
|
}
|
|
328
364
|
],
|
|
329
|
-
"description": "Secret to use with JWT"
|
|
365
|
+
"description": "Secret to use with JWT\n\nCan be encrypted with `webda config encrypt`",
|
|
366
|
+
"x-webda-secret": true
|
|
330
367
|
},
|
|
331
368
|
"subject": {
|
|
332
369
|
"description": "Subject for JWT",
|
|
@@ -360,7 +397,7 @@
|
|
|
360
397
|
},
|
|
361
398
|
"jwt": {
|
|
362
399
|
"$ref": "#/definitions/JWTOptions",
|
|
363
|
-
"description": "Options for issue JWT token"
|
|
400
|
+
"description": "Options for issue JWT token\n\n`secretOrPublicKey` can be encrypted with `webda config encrypt`"
|
|
364
401
|
},
|
|
365
402
|
"type": {
|
|
366
403
|
"description": "Type of the service",
|
|
@@ -475,7 +512,8 @@
|
|
|
475
512
|
"$ref": "#/definitions/jwt%24secretOrPublicKey%233"
|
|
476
513
|
}
|
|
477
514
|
],
|
|
478
|
-
"description": "Secret to use with JWT"
|
|
515
|
+
"description": "Secret to use with JWT\n\nCan be encrypted with `webda config encrypt`",
|
|
516
|
+
"x-webda-secret": true
|
|
479
517
|
},
|
|
480
518
|
"subject": {
|
|
481
519
|
"description": "Subject for JWT",
|
|
@@ -516,7 +554,9 @@
|
|
|
516
554
|
"type": "string"
|
|
517
555
|
},
|
|
518
556
|
"passphrase": {
|
|
519
|
-
"
|
|
557
|
+
"description": "Passphrase used to encrypt the private key\n\nCan be encrypted with `webda config encrypt`",
|
|
558
|
+
"type": "string",
|
|
559
|
+
"x-webda-secret": true
|
|
520
560
|
},
|
|
521
561
|
"type": {
|
|
522
562
|
"default": "pkcs8",
|
|
@@ -597,7 +637,7 @@
|
|
|
597
637
|
},
|
|
598
638
|
"jwt": {
|
|
599
639
|
"$ref": "#/definitions/JWTOptions",
|
|
600
|
-
"description": "Default JWT options"
|
|
640
|
+
"description": "Default JWT options\n\n`secretOrPublicKey` can be encrypted with `webda config encrypt`"
|
|
601
641
|
},
|
|
602
642
|
"keyActiveLifespan": {
|
|
603
643
|
"description": "Number of hours a key should be used for encryption\n\nif auto-rotate is not set this",
|
|
@@ -638,7 +678,87 @@
|
|
|
638
678
|
"type": "object",
|
|
639
679
|
"title": "CryptoService"
|
|
640
680
|
},
|
|
641
|
-
"Configuration": "lib/services/icryptoservice:CryptoServiceParameters"
|
|
681
|
+
"Configuration": "lib/services/icryptoservice:CryptoServiceParameters",
|
|
682
|
+
"commands": {
|
|
683
|
+
"config encrypt": {
|
|
684
|
+
"description": "Encrypt the secrets of the configuration files, or check them with --check",
|
|
685
|
+
"method": "encryptConfigurationFile",
|
|
686
|
+
"args": {
|
|
687
|
+
"file": {
|
|
688
|
+
"type": "string",
|
|
689
|
+
"alias": "f",
|
|
690
|
+
"description": "Configuration file to update (json, jsonc or yaml), the application and deployment files by default"
|
|
691
|
+
},
|
|
692
|
+
"migrate": {
|
|
693
|
+
"type": "string",
|
|
694
|
+
"description": "Re-encrypt the already encrypted values with this encrypter, the default one when empty"
|
|
695
|
+
},
|
|
696
|
+
"upgrade": {
|
|
697
|
+
"type": "boolean",
|
|
698
|
+
"description": "Re-encrypt the already encrypted values with their own encrypter, to its current format or key"
|
|
699
|
+
},
|
|
700
|
+
"check": {
|
|
701
|
+
"type": "boolean",
|
|
702
|
+
"default": false,
|
|
703
|
+
"description": "Only check that the secrets are encrypted, write nothing and fail if one is not"
|
|
704
|
+
},
|
|
705
|
+
"strict": {
|
|
706
|
+
"type": "boolean",
|
|
707
|
+
"default": true,
|
|
708
|
+
"description": "With --check, report the values marked encrypt: as failures"
|
|
709
|
+
},
|
|
710
|
+
"format": {
|
|
711
|
+
"type": "string",
|
|
712
|
+
"default": "text",
|
|
713
|
+
"description": "With --check, output format: text or json"
|
|
714
|
+
},
|
|
715
|
+
"none": {
|
|
716
|
+
"type": "boolean",
|
|
717
|
+
"default": true,
|
|
718
|
+
"description": "With --check, accept the values kept in clear text with crypt:none: (--no-none to fail on them)"
|
|
719
|
+
},
|
|
720
|
+
"exclude": {
|
|
721
|
+
"type": "string",
|
|
722
|
+
"description": "Secret paths to leave alone, comma-separated (services.demo.password, units[ ].token, $.parameters. )"
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
"phase": "application"
|
|
726
|
+
},
|
|
727
|
+
"config pki generate": {
|
|
728
|
+
"description": "Generate a key pair for the pki configuration encrypter",
|
|
729
|
+
"method": "pkiGenerate",
|
|
730
|
+
"args": {
|
|
731
|
+
"kid": {
|
|
732
|
+
"type": "string",
|
|
733
|
+
"required": true,
|
|
734
|
+
"description": "Key id, for example 2026-10"
|
|
735
|
+
},
|
|
736
|
+
"bits": {
|
|
737
|
+
"type": "number",
|
|
738
|
+
"default": 4096,
|
|
739
|
+
"description": "RSA modulus length"
|
|
740
|
+
},
|
|
741
|
+
"out": {
|
|
742
|
+
"type": "string",
|
|
743
|
+
"description": "Private key file, ./<kid>.pem by default"
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
"phase": "application"
|
|
747
|
+
},
|
|
748
|
+
"config pki list": {
|
|
749
|
+
"description": "List the pki keys and the values encrypted with each of them",
|
|
750
|
+
"method": "pkiList",
|
|
751
|
+
"args": {
|
|
752
|
+
"file": {
|
|
753
|
+
"type": "string",
|
|
754
|
+
"required": true,
|
|
755
|
+
"alias": "f",
|
|
756
|
+
"description": "Configuration file to inspect (json, jsonc or yaml)"
|
|
757
|
+
}
|
|
758
|
+
},
|
|
759
|
+
"phase": "application"
|
|
760
|
+
}
|
|
761
|
+
}
|
|
642
762
|
},
|
|
643
763
|
"Webda/DebugMailer": {
|
|
644
764
|
"Import": "lib/services/debugmailer.service:DebugMailer",
|
|
@@ -736,19 +856,15 @@
|
|
|
736
856
|
"Schema": {
|
|
737
857
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
738
858
|
"additionalProperties": false,
|
|
739
|
-
"definitions": {
|
|
740
|
-
"Duration": {
|
|
741
|
-
"additionalProperties": false,
|
|
742
|
-
"description": "Represents a time duration that defaults to seconds but supports composite strings.",
|
|
743
|
-
"type": "number | string * Supported units:\n- seconds: `s`, `sec`, `secs`, `second`, `seconds`\n- minutes: `m`, `min`, `mins`, `minute`, `minutes`\n- hours: `h`, `hr`, `hour`, `hours`\n- days: `d`, `day`, `days`\n- months: `mo`, `mon`, `month`, `months` (assumed 30 days)\n- years: `y`, `yr`, `year`, `years` (assumed 365 days)\n\nExamples:\n- `10` → 10 seconds\n- `15s` → 15 seconds\n- `2m` → 120 seconds\n- `1d2h30m` → 1 day + 2 hours + 30 minutes\n- `1 d 2 h` → same as above (spaces allowed)"
|
|
744
|
-
}
|
|
745
|
-
},
|
|
746
859
|
"description": "Parameters for the ConfigurationService, defining how configuration sources are loaded and refreshed",
|
|
747
860
|
"properties": {
|
|
748
861
|
"checkInterval": {
|
|
749
|
-
"$ref": "#/definitions/Duration",
|
|
750
862
|
"default": "1h",
|
|
751
|
-
"description": "Check configuration every {checkInterval} seconds"
|
|
863
|
+
"description": "Check configuration every {checkInterval} seconds",
|
|
864
|
+
"type": [
|
|
865
|
+
"number",
|
|
866
|
+
"string"
|
|
867
|
+
]
|
|
752
868
|
},
|
|
753
869
|
"default": {
|
|
754
870
|
"default": "{ services: {}, parameters: {} }",
|
|
@@ -951,19 +1067,15 @@
|
|
|
951
1067
|
"Schema": {
|
|
952
1068
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
953
1069
|
"additionalProperties": false,
|
|
954
|
-
"definitions": {
|
|
955
|
-
"Duration": {
|
|
956
|
-
"additionalProperties": false,
|
|
957
|
-
"description": "Represents a time duration that defaults to seconds but supports composite strings.",
|
|
958
|
-
"type": "number | string * Supported units:\n- seconds: `s`, `sec`, `secs`, `second`, `seconds`\n- minutes: `m`, `min`, `mins`, `minute`, `minutes`\n- hours: `h`, `hr`, `hour`, `hours`\n- days: `d`, `day`, `days`\n- months: `mo`, `mon`, `month`, `months` (assumed 30 days)\n- years: `y`, `yr`, `year`, `years` (assumed 365 days)\n\nExamples:\n- `10` → 10 seconds\n- `15s` → 15 seconds\n- `2m` → 120 seconds\n- `1d2h30m` → 1 day + 2 hours + 30 minutes\n- `1 d 2 h` → same as above (spaces allowed)"
|
|
959
|
-
}
|
|
960
|
-
},
|
|
961
1070
|
"description": "Parameters for KubernetesConfigurationService\nThrow error if default is set",
|
|
962
1071
|
"properties": {
|
|
963
1072
|
"checkInterval": {
|
|
964
|
-
"$ref": "#/definitions/Duration",
|
|
965
1073
|
"default": "1h",
|
|
966
|
-
"description": "Check configuration every {checkInterval} seconds"
|
|
1074
|
+
"description": "Check configuration every {checkInterval} seconds",
|
|
1075
|
+
"type": [
|
|
1076
|
+
"number",
|
|
1077
|
+
"string"
|
|
1078
|
+
]
|
|
967
1079
|
},
|
|
968
1080
|
"default": {
|
|
969
1081
|
"default": "{ services: {}, parameters: {} }",
|
|
@@ -1007,7 +1119,7 @@
|
|
|
1007
1119
|
"description": "Parameters for the Mailer service configuration\n\nConfigures the email transport, templates directory and template engine",
|
|
1008
1120
|
"properties": {
|
|
1009
1121
|
"SES": {
|
|
1010
|
-
"description": "SES AWS Bean if transport === \"ses\""
|
|
1122
|
+
"description": "SES AWS Bean if transport === \"ses\"\n\nCredentials inside can be encrypted with `webda config encrypt`"
|
|
1011
1123
|
},
|
|
1012
1124
|
"emailTemplateOptions": {
|
|
1013
1125
|
"see": "https://www.npmjs.com/package/email-templates"
|
|
@@ -1044,6 +1156,10 @@
|
|
|
1044
1156
|
"type"
|
|
1045
1157
|
],
|
|
1046
1158
|
"type": "object",
|
|
1159
|
+
"x-webda-secret": [
|
|
1160
|
+
"auth.pass",
|
|
1161
|
+
"SES.credentials"
|
|
1162
|
+
],
|
|
1047
1163
|
"title": "Mailer"
|
|
1048
1164
|
},
|
|
1049
1165
|
"Configuration": "lib/services/mailer.service:MailerParameters"
|
|
@@ -1211,6 +1327,16 @@
|
|
|
1211
1327
|
},
|
|
1212
1328
|
"description": "Memory store",
|
|
1213
1329
|
"properties": {
|
|
1330
|
+
"aggregationFallback": {
|
|
1331
|
+
"default": "warn",
|
|
1332
|
+
"description": "What to do when an aggregation on this store cannot run natively and must\nstream every matching object through memory",
|
|
1333
|
+
"enum": [
|
|
1334
|
+
"allow",
|
|
1335
|
+
"warn",
|
|
1336
|
+
"deny"
|
|
1337
|
+
],
|
|
1338
|
+
"type": "string"
|
|
1339
|
+
},
|
|
1214
1340
|
"defaultModel": {
|
|
1215
1341
|
"default": true,
|
|
1216
1342
|
"description": "When __type model not found, use the model\nIf strict is setup this parameter is not used",
|
|
@@ -1221,6 +1347,12 @@
|
|
|
1221
1347
|
"description": "If set, Store will ignore the __type",
|
|
1222
1348
|
"type": "boolean"
|
|
1223
1349
|
},
|
|
1350
|
+
"maxGroups": {
|
|
1351
|
+
"default": 10000,
|
|
1352
|
+
"description": "Maximum number of groups an aggregation may produce without LIMIT (or in memory)",
|
|
1353
|
+
"minimum": 1,
|
|
1354
|
+
"type": "number"
|
|
1355
|
+
},
|
|
1224
1356
|
"modelAliases": {
|
|
1225
1357
|
"$ref": "#/definitions/modelAliases",
|
|
1226
1358
|
"description": "Model Aliases to allow easier rename of Model"
|
|
@@ -1432,6 +1564,11 @@
|
|
|
1432
1564
|
],
|
|
1433
1565
|
"type": "string"
|
|
1434
1566
|
},
|
|
1567
|
+
"streamKeepAliveInterval": {
|
|
1568
|
+
"default": 20000,
|
|
1569
|
+
"description": "Milliseconds between two keep-alive comments on an open `text/event-stream` response of a server-streaming\noperation (0 disables them)",
|
|
1570
|
+
"type": "number"
|
|
1571
|
+
},
|
|
1435
1572
|
"swaggerVersion": {
|
|
1436
1573
|
"default": "5.31.0",
|
|
1437
1574
|
"description": "Swagger version to use\n\nhttps://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.19.5/swagger-ui.css\nhttps://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.19.5/swagger-ui-bundle.js\nhttps://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.19.5/swagger-ui-standalone-preset.js\n\nTODO Add renovatebot regex",
|
|
@@ -1446,6 +1583,21 @@
|
|
|
1446
1583
|
"description": "Base URL for the REST API",
|
|
1447
1584
|
"type": "string"
|
|
1448
1585
|
},
|
|
1586
|
+
"webSocketMaxPayload": {
|
|
1587
|
+
"default": 1048576,
|
|
1588
|
+
"description": "Largest message (bytes) a client may send on a bidirectional WebSocket operation; a bigger one closes the socket",
|
|
1589
|
+
"type": "number"
|
|
1590
|
+
},
|
|
1591
|
+
"webSocketMaxQueuedBytes": {
|
|
1592
|
+
"default": 16777216,
|
|
1593
|
+
"description": "Most bytes of unconsumed messages a bidirectional operation may have queued; above it the socket closes with 4413",
|
|
1594
|
+
"type": "number"
|
|
1595
|
+
},
|
|
1596
|
+
"webSocketMaxQueuedMessages": {
|
|
1597
|
+
"default": 1000,
|
|
1598
|
+
"description": "Most unconsumed messages a bidirectional operation may have queued; above it the socket closes with 4413",
|
|
1599
|
+
"type": "number"
|
|
1600
|
+
},
|
|
1449
1601
|
"openapi": {
|
|
1450
1602
|
"type": "object",
|
|
1451
1603
|
"additionalProperties": true
|
|
@@ -1756,12 +1908,14 @@
|
|
|
1756
1908
|
"Update",
|
|
1757
1909
|
"Patch",
|
|
1758
1910
|
"Query",
|
|
1911
|
+
"Aggregate",
|
|
1759
1912
|
"Created",
|
|
1760
1913
|
"PartialUpdated",
|
|
1761
1914
|
"Deleted",
|
|
1762
1915
|
"Patched",
|
|
1763
1916
|
"Updated",
|
|
1764
|
-
"Queried"
|
|
1917
|
+
"Queried",
|
|
1918
|
+
"Aggregated"
|
|
1765
1919
|
],
|
|
1766
1920
|
"PrimaryKey": [
|
|
1767
1921
|
"uuid"
|
|
@@ -1942,12 +2096,14 @@
|
|
|
1942
2096
|
"Update",
|
|
1943
2097
|
"Patch",
|
|
1944
2098
|
"Query",
|
|
2099
|
+
"Aggregate",
|
|
1945
2100
|
"Created",
|
|
1946
2101
|
"PartialUpdated",
|
|
1947
2102
|
"Deleted",
|
|
1948
2103
|
"Patched",
|
|
1949
2104
|
"Updated",
|
|
1950
|
-
"Queried"
|
|
2105
|
+
"Queried",
|
|
2106
|
+
"Aggregated"
|
|
1951
2107
|
],
|
|
1952
2108
|
"PrimaryKey": [
|
|
1953
2109
|
"uuid"
|
|
@@ -2026,12 +2182,14 @@
|
|
|
2026
2182
|
"Update",
|
|
2027
2183
|
"Patch",
|
|
2028
2184
|
"Query",
|
|
2185
|
+
"Aggregate",
|
|
2029
2186
|
"Created",
|
|
2030
2187
|
"PartialUpdated",
|
|
2031
2188
|
"Deleted",
|
|
2032
2189
|
"Patched",
|
|
2033
2190
|
"Updated",
|
|
2034
|
-
"Queried"
|
|
2191
|
+
"Queried",
|
|
2192
|
+
"Aggregated"
|
|
2035
2193
|
],
|
|
2036
2194
|
"PrimaryKey": [
|
|
2037
2195
|
"uuid"
|
|
@@ -2367,12 +2525,14 @@
|
|
|
2367
2525
|
"Update",
|
|
2368
2526
|
"Patch",
|
|
2369
2527
|
"Query",
|
|
2528
|
+
"Aggregate",
|
|
2370
2529
|
"Created",
|
|
2371
2530
|
"PartialUpdated",
|
|
2372
2531
|
"Deleted",
|
|
2373
2532
|
"Patched",
|
|
2374
2533
|
"Updated",
|
|
2375
|
-
"Queried"
|
|
2534
|
+
"Queried",
|
|
2535
|
+
"Aggregated"
|
|
2376
2536
|
],
|
|
2377
2537
|
"PrimaryKey": [
|
|
2378
2538
|
"providerUid",
|
|
@@ -2501,12 +2661,14 @@
|
|
|
2501
2661
|
"Update",
|
|
2502
2662
|
"Patch",
|
|
2503
2663
|
"Query",
|
|
2664
|
+
"Aggregate",
|
|
2504
2665
|
"Created",
|
|
2505
2666
|
"PartialUpdated",
|
|
2506
2667
|
"Deleted",
|
|
2507
2668
|
"Patched",
|
|
2508
2669
|
"Updated",
|
|
2509
|
-
"Queried"
|
|
2670
|
+
"Queried",
|
|
2671
|
+
"Aggregated"
|
|
2510
2672
|
],
|
|
2511
2673
|
"PrimaryKey": [
|
|
2512
2674
|
"uuid"
|
|
@@ -2762,12 +2924,14 @@
|
|
|
2762
2924
|
"Update",
|
|
2763
2925
|
"Patch",
|
|
2764
2926
|
"Query",
|
|
2927
|
+
"Aggregate",
|
|
2765
2928
|
"Created",
|
|
2766
2929
|
"PartialUpdated",
|
|
2767
2930
|
"Deleted",
|
|
2768
2931
|
"Patched",
|
|
2769
2932
|
"Updated",
|
|
2770
|
-
"Queried"
|
|
2933
|
+
"Queried",
|
|
2934
|
+
"Aggregated"
|
|
2771
2935
|
],
|
|
2772
2936
|
"PrimaryKey": [
|
|
2773
2937
|
"hash"
|
|
@@ -2846,12 +3010,14 @@
|
|
|
2846
3010
|
"Update",
|
|
2847
3011
|
"Patch",
|
|
2848
3012
|
"Query",
|
|
3013
|
+
"Aggregate",
|
|
2849
3014
|
"Created",
|
|
2850
3015
|
"PartialUpdated",
|
|
2851
3016
|
"Deleted",
|
|
2852
3017
|
"Patched",
|
|
2853
3018
|
"Updated",
|
|
2854
|
-
"Queried"
|
|
3019
|
+
"Queried",
|
|
3020
|
+
"Aggregated"
|
|
2855
3021
|
],
|
|
2856
3022
|
"PrimaryKey": [
|
|
2857
3023
|
"uuid"
|
|
@@ -2896,12 +3062,14 @@
|
|
|
2896
3062
|
"Update",
|
|
2897
3063
|
"Patch",
|
|
2898
3064
|
"Query",
|
|
3065
|
+
"Aggregate",
|
|
2899
3066
|
"Created",
|
|
2900
3067
|
"PartialUpdated",
|
|
2901
3068
|
"Deleted",
|
|
2902
3069
|
"Patched",
|
|
2903
3070
|
"Updated",
|
|
2904
|
-
"Queried"
|
|
3071
|
+
"Queried",
|
|
3072
|
+
"Aggregated"
|
|
2905
3073
|
],
|
|
2906
3074
|
"PrimaryKey": [],
|
|
2907
3075
|
"Identifier": "Webda/RoleModel"
|
|
@@ -3002,12 +3170,14 @@
|
|
|
3002
3170
|
"Update",
|
|
3003
3171
|
"Patch",
|
|
3004
3172
|
"Query",
|
|
3173
|
+
"Aggregate",
|
|
3005
3174
|
"Created",
|
|
3006
3175
|
"PartialUpdated",
|
|
3007
3176
|
"Deleted",
|
|
3008
3177
|
"Patched",
|
|
3009
3178
|
"Updated",
|
|
3010
|
-
"Queried"
|
|
3179
|
+
"Queried",
|
|
3180
|
+
"Aggregated"
|
|
3011
3181
|
],
|
|
3012
3182
|
"PrimaryKey": [
|
|
3013
3183
|
"uuid"
|
|
@@ -3302,12 +3472,14 @@
|
|
|
3302
3472
|
"Update",
|
|
3303
3473
|
"Patch",
|
|
3304
3474
|
"Query",
|
|
3475
|
+
"Aggregate",
|
|
3305
3476
|
"Created",
|
|
3306
3477
|
"PartialUpdated",
|
|
3307
3478
|
"Deleted",
|
|
3308
3479
|
"Patched",
|
|
3309
3480
|
"Updated",
|
|
3310
3481
|
"Queried",
|
|
3482
|
+
"Aggregated",
|
|
3311
3483
|
"Login",
|
|
3312
3484
|
"Logout"
|
|
3313
3485
|
],
|
|
@@ -3541,12 +3713,14 @@
|
|
|
3541
3713
|
"Update",
|
|
3542
3714
|
"Patch",
|
|
3543
3715
|
"Query",
|
|
3716
|
+
"Aggregate",
|
|
3544
3717
|
"Created",
|
|
3545
3718
|
"PartialUpdated",
|
|
3546
3719
|
"Deleted",
|
|
3547
3720
|
"Patched",
|
|
3548
3721
|
"Updated",
|
|
3549
3722
|
"Queried",
|
|
3723
|
+
"Aggregated",
|
|
3550
3724
|
"Login",
|
|
3551
3725
|
"Logout"
|
|
3552
3726
|
],
|