@grexx/grexxlinter 0.2.1 → 0.2.343
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 +3 -3
- package/lsp.js +2 -2
- package/package.json +1 -1
- package/schemas/.coverage.json +3176 -1101
- package/schemas/activityAttribute.schema.json +116 -55
- package/schemas/activityRight.schema.json +65 -45
- package/schemas/agentTool.schema.json +3 -1
- package/schemas/attribute.schema.json +32 -0
- package/schemas/catchBlock.schema.json +82 -56
- package/schemas/conditionList.schema.json +69 -50
- package/schemas/customThrow.schema.json +82 -54
- package/schemas/dataRetentionProfile.schema.json +70 -65
- package/schemas/datasetColumn.schema.json +11 -0
- package/schemas/datasetRight.schema.json +0 -1
- package/schemas/datasource.schema.json +64 -54
- package/schemas/fileUploadProfile.schema.json +60 -55
- package/schemas/forEach.schema.json +33 -0
- package/schemas/formRight.schema.json +0 -1
- package/schemas/formfield.schema.json +44 -0
- package/schemas/ifthenelse.schema.json +73 -57
- package/schemas/jobStep.schema.json +47 -52
- package/schemas/llmModel.schema.json +98 -58
- package/schemas/metadata.schema.json +3 -1
- package/schemas/navigation.schema.json +31 -3
- package/schemas/picklistItem.schema.json +49 -54
- package/schemas/platformAttribute.schema.json +66 -0
- package/schemas/requestContext.schema.json +10 -0
- package/schemas/securityProfile.schema.json +53 -47
- package/schemas/securityRequirement.schema.json +52 -47
- package/schemas/simpleCondition.schema.json +15 -0
- package/schemas/tag.schema.json +43 -48
- package/schemas/taskQueue.schema.json +56 -51
- package/schemas/template/date-function.schema.json +1 -0
- package/schemas/template/html.schema.json +1 -0
- package/schemas/template/if.schema.json +1 -0
- package/schemas/template/iterator.schema.json +1 -0
- package/schemas/template/multivalue.schema.json +1 -0
- package/schemas/template/picklist.schema.json +1 -0
- package/schemas/template/util.schema.json +4 -0
- package/schemas/trigger.schema.json +33 -0
- package/schemas/tryBlock.schema.json +2 -2
- package/schemas/view.schema.json +1 -2
- package/schemas/webhook.schema.json +46 -58
- package/schemas/while.schema.json +33 -0
- package/schemas/widget.schema.json +197 -2
- package/schemas/widgetRight.schema.json +0 -1
package/cli.js
CHANGED
|
@@ -14529,7 +14529,7 @@ function createSchemaRegistry(schemas) {
|
|
|
14529
14529
|
const cache = /* @__PURE__ */ new Map();
|
|
14530
14530
|
function validatorFor(casetype) {
|
|
14531
14531
|
if (cache.has(casetype)) return cache.get(casetype) ?? null;
|
|
14532
|
-
let fn
|
|
14532
|
+
let fn;
|
|
14533
14533
|
try {
|
|
14534
14534
|
fn = ajv.getSchema(schemaIdFor(casetype)) ?? null;
|
|
14535
14535
|
} catch {
|
|
@@ -14590,7 +14590,7 @@ var import_yaml = __toESM(require_dist(), 1);
|
|
|
14590
14590
|
var DEFAULT_RULE_SEVERITY = {
|
|
14591
14591
|
"required-field": "error",
|
|
14592
14592
|
"forbidden-field": "error",
|
|
14593
|
-
"unknown-field": "
|
|
14593
|
+
"unknown-field": "warning",
|
|
14594
14594
|
"invalid-value": "error",
|
|
14595
14595
|
"value-case": "warning",
|
|
14596
14596
|
"invalid-type": "error",
|
|
@@ -14793,7 +14793,7 @@ function isLintableYaml(text) {
|
|
|
14793
14793
|
// src/cli.ts
|
|
14794
14794
|
var PARALLEL_THRESHOLD = 200;
|
|
14795
14795
|
var MAX_WORKERS = 8;
|
|
14796
|
-
var VERSION = true ? "0.2.
|
|
14796
|
+
var VERSION = true ? "0.2.343" : "0.0.0-dev";
|
|
14797
14797
|
function isNewer(latest, current) {
|
|
14798
14798
|
const a = latest.split(".").map(Number);
|
|
14799
14799
|
const b = current.split(".").map(Number);
|
package/lsp.js
CHANGED
|
@@ -23598,7 +23598,7 @@ function createSchemaRegistry(schemas) {
|
|
|
23598
23598
|
const cache = /* @__PURE__ */ new Map();
|
|
23599
23599
|
function validatorFor(casetype) {
|
|
23600
23600
|
if (cache.has(casetype)) return cache.get(casetype) ?? null;
|
|
23601
|
-
let fn
|
|
23601
|
+
let fn;
|
|
23602
23602
|
try {
|
|
23603
23603
|
fn = ajv.getSchema(schemaIdFor(casetype)) ?? null;
|
|
23604
23604
|
} catch {
|
|
@@ -23656,7 +23656,7 @@ function createNodeContext(opts = {}) {
|
|
|
23656
23656
|
var DEFAULT_RULE_SEVERITY = {
|
|
23657
23657
|
"required-field": "error",
|
|
23658
23658
|
"forbidden-field": "error",
|
|
23659
|
-
"unknown-field": "
|
|
23659
|
+
"unknown-field": "warning",
|
|
23660
23660
|
"invalid-value": "error",
|
|
23661
23661
|
"value-case": "warning",
|
|
23662
23662
|
"invalid-type": "error",
|