@grexx/grexxlinter 0.2.2397 → 0.2.2447
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/cli.js +1 -1
- package/package.json +1 -1
- package/schemas/loginMethods.schema.json +33 -0
package/cli.js
CHANGED
|
@@ -15248,7 +15248,7 @@ function toJSOrError(doc) {
|
|
|
15248
15248
|
// src/cli.ts
|
|
15249
15249
|
var PARALLEL_THRESHOLD = 200;
|
|
15250
15250
|
var MAX_WORKERS = 8;
|
|
15251
|
-
var VERSION = "0.2.
|
|
15251
|
+
var VERSION = "0.2.2447";
|
|
15252
15252
|
function isNewer(latest, current) {
|
|
15253
15253
|
const a = latest.split(".").map(Number);
|
|
15254
15254
|
const b = current.split(".").map(Number);
|
package/package.json
CHANGED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://grexx.net/studio-next/schemas/loginMethods.schema.json",
|
|
4
|
+
"title": "loginMethods",
|
|
5
|
+
"$comment": "Hand-maintained — L2 does not define loginMethods. Written by the legacy-studio migration (MigrateToYaml): one root file listing the platform's custom login methods; each method's `id` is what a securityRequirement stores in its `value`. Permissive on purpose (no additionalProperties:false yet); tighten as the shape is nailed down.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"_type": { "const": "loginMethods" },
|
|
9
|
+
"_id": { "type": "string" },
|
|
10
|
+
"_uid": { "type": "string" },
|
|
11
|
+
"methods": {
|
|
12
|
+
"type": "array",
|
|
13
|
+
"items": { "$ref": "#/$defs/method" }
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": ["_type"],
|
|
17
|
+
"$defs": {
|
|
18
|
+
"method": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"id": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "The method's stored identity — what a securityRequirement's `value` carries and what the runtime matches a login provider on."
|
|
24
|
+
},
|
|
25
|
+
"name": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "Display label shown wherever the method is offered."
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"required": ["id"]
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|