@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.
Files changed (46) hide show
  1. package/cli.js +3 -3
  2. package/lsp.js +2 -2
  3. package/package.json +1 -1
  4. package/schemas/.coverage.json +3176 -1101
  5. package/schemas/activityAttribute.schema.json +116 -55
  6. package/schemas/activityRight.schema.json +65 -45
  7. package/schemas/agentTool.schema.json +3 -1
  8. package/schemas/attribute.schema.json +32 -0
  9. package/schemas/catchBlock.schema.json +82 -56
  10. package/schemas/conditionList.schema.json +69 -50
  11. package/schemas/customThrow.schema.json +82 -54
  12. package/schemas/dataRetentionProfile.schema.json +70 -65
  13. package/schemas/datasetColumn.schema.json +11 -0
  14. package/schemas/datasetRight.schema.json +0 -1
  15. package/schemas/datasource.schema.json +64 -54
  16. package/schemas/fileUploadProfile.schema.json +60 -55
  17. package/schemas/forEach.schema.json +33 -0
  18. package/schemas/formRight.schema.json +0 -1
  19. package/schemas/formfield.schema.json +44 -0
  20. package/schemas/ifthenelse.schema.json +73 -57
  21. package/schemas/jobStep.schema.json +47 -52
  22. package/schemas/llmModel.schema.json +98 -58
  23. package/schemas/metadata.schema.json +3 -1
  24. package/schemas/navigation.schema.json +31 -3
  25. package/schemas/picklistItem.schema.json +49 -54
  26. package/schemas/platformAttribute.schema.json +66 -0
  27. package/schemas/requestContext.schema.json +10 -0
  28. package/schemas/securityProfile.schema.json +53 -47
  29. package/schemas/securityRequirement.schema.json +52 -47
  30. package/schemas/simpleCondition.schema.json +15 -0
  31. package/schemas/tag.schema.json +43 -48
  32. package/schemas/taskQueue.schema.json +56 -51
  33. package/schemas/template/date-function.schema.json +1 -0
  34. package/schemas/template/html.schema.json +1 -0
  35. package/schemas/template/if.schema.json +1 -0
  36. package/schemas/template/iterator.schema.json +1 -0
  37. package/schemas/template/multivalue.schema.json +1 -0
  38. package/schemas/template/picklist.schema.json +1 -0
  39. package/schemas/template/util.schema.json +4 -0
  40. package/schemas/trigger.schema.json +33 -0
  41. package/schemas/tryBlock.schema.json +2 -2
  42. package/schemas/view.schema.json +1 -2
  43. package/schemas/webhook.schema.json +46 -58
  44. package/schemas/while.schema.json +33 -0
  45. package/schemas/widget.schema.json +197 -2
  46. 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 = null;
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": "error",
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.1" : "0.0.0-dev";
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 = null;
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": "error",
23659
+ "unknown-field": "warning",
23660
23660
  "invalid-value": "error",
23661
23661
  "value-case": "warning",
23662
23662
  "invalid-type": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grexx/grexxlinter",
3
- "version": "0.2.1",
3
+ "version": "0.2.343",
4
4
  "description": "Lint Grexx Studio casetype YAML against the studio JSON Schemas.",
5
5
  "type": "module",
6
6
  "bin": {