@protobase/config 0.109.0 → 0.109.2
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/package.json +2 -2
- package/schema.json +98 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/config",
|
|
3
|
-
"version": "0.109.
|
|
3
|
+
"version": "0.109.2",
|
|
4
4
|
"description": "defineConfig and the types of a Protobase project's protobase.config.ts, and the JSON Schema of protobase.config.json.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -31,6 +31,6 @@
|
|
|
31
31
|
"access": "public"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@protobase/server": "0.109.
|
|
34
|
+
"@protobase/server": "0.109.2"
|
|
35
35
|
}
|
|
36
36
|
}
|
package/schema.json
CHANGED
|
@@ -3171,8 +3171,106 @@
|
|
|
3171
3171
|
"$ref": "#/definitions/EnvValue"
|
|
3172
3172
|
}
|
|
3173
3173
|
]
|
|
3174
|
+
},
|
|
3175
|
+
"clients": {
|
|
3176
|
+
"description": "The app's own public clients, such as its phone app (`DeclaredClient`): served under the ids written here from the\nfirst request on, with no admin registering them, and refused once they are gone from the config. Default none.",
|
|
3177
|
+
"anyOf": [
|
|
3178
|
+
{
|
|
3179
|
+
"type": "array",
|
|
3180
|
+
"items": {
|
|
3181
|
+
"anyOf": [
|
|
3182
|
+
{
|
|
3183
|
+
"$ref": "#/definitions/DeclaredClient"
|
|
3184
|
+
},
|
|
3185
|
+
{
|
|
3186
|
+
"$ref": "#/definitions/EnvValue"
|
|
3187
|
+
}
|
|
3188
|
+
]
|
|
3189
|
+
}
|
|
3190
|
+
},
|
|
3191
|
+
{
|
|
3192
|
+
"$ref": "#/definitions/EnvValue"
|
|
3193
|
+
}
|
|
3194
|
+
]
|
|
3195
|
+
}
|
|
3196
|
+
},
|
|
3197
|
+
"additionalProperties": false
|
|
3198
|
+
},
|
|
3199
|
+
"DeclaredClient": {
|
|
3200
|
+
"type": "object",
|
|
3201
|
+
"properties": {
|
|
3202
|
+
"clientId": {
|
|
3203
|
+
"description": "The client's id, as the client sends it.",
|
|
3204
|
+
"anyOf": [
|
|
3205
|
+
{
|
|
3206
|
+
"type": "string"
|
|
3207
|
+
},
|
|
3208
|
+
{
|
|
3209
|
+
"$ref": "#/definitions/EnvValue"
|
|
3210
|
+
}
|
|
3211
|
+
]
|
|
3212
|
+
},
|
|
3213
|
+
"name": {
|
|
3214
|
+
"description": "Shown to nobody but the developer: no consent page asks for the client.",
|
|
3215
|
+
"anyOf": [
|
|
3216
|
+
{
|
|
3217
|
+
"type": "string"
|
|
3218
|
+
},
|
|
3219
|
+
{
|
|
3220
|
+
"$ref": "#/definitions/EnvValue"
|
|
3221
|
+
}
|
|
3222
|
+
]
|
|
3223
|
+
},
|
|
3224
|
+
"redirectUris": {
|
|
3225
|
+
"description": "Every address the client may be sent back to, matched exactly.",
|
|
3226
|
+
"anyOf": [
|
|
3227
|
+
{
|
|
3228
|
+
"type": "array",
|
|
3229
|
+
"items": {
|
|
3230
|
+
"anyOf": [
|
|
3231
|
+
{
|
|
3232
|
+
"type": "string"
|
|
3233
|
+
},
|
|
3234
|
+
{
|
|
3235
|
+
"$ref": "#/definitions/EnvValue"
|
|
3236
|
+
}
|
|
3237
|
+
]
|
|
3238
|
+
}
|
|
3239
|
+
},
|
|
3240
|
+
{
|
|
3241
|
+
"$ref": "#/definitions/EnvValue"
|
|
3242
|
+
}
|
|
3243
|
+
]
|
|
3244
|
+
},
|
|
3245
|
+
"type": {
|
|
3246
|
+
"description": "Only `public`: a declared client has no secret.",
|
|
3247
|
+
"anyOf": [
|
|
3248
|
+
{
|
|
3249
|
+
"const": "public"
|
|
3250
|
+
},
|
|
3251
|
+
{
|
|
3252
|
+
"$ref": "#/definitions/EnvValue"
|
|
3253
|
+
}
|
|
3254
|
+
]
|
|
3255
|
+
},
|
|
3256
|
+
"exchange": {
|
|
3257
|
+
"description": "May exchange its access token for an ID token of another client or an origin of `audiences`. Default false.",
|
|
3258
|
+
"anyOf": [
|
|
3259
|
+
{
|
|
3260
|
+
"type": "boolean"
|
|
3261
|
+
},
|
|
3262
|
+
{
|
|
3263
|
+
"$ref": "#/definitions/EnvValue"
|
|
3264
|
+
}
|
|
3265
|
+
]
|
|
3174
3266
|
}
|
|
3175
3267
|
},
|
|
3268
|
+
"required": [
|
|
3269
|
+
"clientId",
|
|
3270
|
+
"name",
|
|
3271
|
+
"redirectUris",
|
|
3272
|
+
"type"
|
|
3273
|
+
],
|
|
3176
3274
|
"additionalProperties": false
|
|
3177
3275
|
},
|
|
3178
3276
|
"PersonalAccessTokensOptions": {
|