@player-tools/json-language-service 0.4.2--canary.63.1250 → 0.4.2-next.0

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/dist/index.cjs.js CHANGED
@@ -1029,7 +1029,7 @@ function createValidationVisitor$3(ctx, sdk) {
1029
1029
  ctx.addViolation({
1030
1030
  node: assetNode,
1031
1031
  message: `Warning - Asset Type ${(_d = (_c = assetNode.assetType) == null ? void 0 : _c.valueNode) == null ? void 0 : _d.value} was not loaded into Validator definitions`,
1032
- severity: vscodeLanguageserverTypes.DiagnosticSeverity.Warning
1032
+ severity: vscodeLanguageserverTypes.DiagnosticSeverity.Error
1033
1033
  });
1034
1034
  expectedType = "Asset";
1035
1035
  }
@@ -1052,7 +1052,7 @@ function createValidationVisitor$3(ctx, sdk) {
1052
1052
  ctx.addViolation({
1053
1053
  node: viewNode,
1054
1054
  message: `Warning - View Type ${(_d = (_c = viewNode.viewType) == null ? void 0 : _c.valueNode) == null ? void 0 : _d.value} was not loaded into Validator definitions`,
1055
- severity: vscodeLanguageserverTypes.DiagnosticSeverity.Warning
1055
+ severity: vscodeLanguageserverTypes.DiagnosticSeverity.Error
1056
1056
  });
1057
1057
  expectedType = "View";
1058
1058
  }
package/dist/index.esm.js CHANGED
@@ -1021,7 +1021,7 @@ function createValidationVisitor$3(ctx, sdk) {
1021
1021
  ctx.addViolation({
1022
1022
  node: assetNode,
1023
1023
  message: `Warning - Asset Type ${(_d = (_c = assetNode.assetType) == null ? void 0 : _c.valueNode) == null ? void 0 : _d.value} was not loaded into Validator definitions`,
1024
- severity: DiagnosticSeverity.Warning
1024
+ severity: DiagnosticSeverity.Error
1025
1025
  });
1026
1026
  expectedType = "Asset";
1027
1027
  }
@@ -1044,7 +1044,7 @@ function createValidationVisitor$3(ctx, sdk) {
1044
1044
  ctx.addViolation({
1045
1045
  node: viewNode,
1046
1046
  message: `Warning - View Type ${(_d = (_c = viewNode.viewType) == null ? void 0 : _c.valueNode) == null ? void 0 : _d.value} was not loaded into Validator definitions`,
1047
- severity: DiagnosticSeverity.Warning
1047
+ severity: DiagnosticSeverity.Error
1048
1048
  });
1049
1049
  expectedType = "View";
1050
1050
  }
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@player-tools/json-language-service",
3
- "version": "0.4.2--canary.63.1250",
3
+ "version": "0.4.2-next.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org"
7
7
  },
8
8
  "peerDependencies": {},
9
9
  "dependencies": {
10
- "@player-tools/xlr": "0.4.2--canary.63.1250",
11
- "@player-tools/xlr-sdk": "0.4.2--canary.63.1250",
12
- "@player-tools/xlr-utils": "0.4.2--canary.63.1250",
10
+ "@player-tools/xlr": "0.4.2-next.0",
11
+ "@player-tools/xlr-sdk": "0.4.2-next.0",
12
+ "@player-tools/xlr-utils": "0.4.2-next.0",
13
13
  "change-case": "^4.1.1",
14
14
  "cross-fetch": "^3.0.5",
15
15
  "detect-indent": "^6.0.0",
@@ -55,7 +55,7 @@ function createValidationVisitor(
55
55
  ctx.addViolation({
56
56
  node: assetNode,
57
57
  message: `Warning - Asset Type ${assetNode.assetType?.valueNode?.value} was not loaded into Validator definitions`,
58
- severity: DiagnosticSeverity.Warning,
58
+ severity: DiagnosticSeverity.Error,
59
59
  });
60
60
  expectedType = 'Asset';
61
61
  }
@@ -82,7 +82,7 @@ function createValidationVisitor(
82
82
  ctx.addViolation({
83
83
  node: viewNode,
84
84
  message: `Warning - View Type ${viewNode.viewType?.valueNode?.value} was not loaded into Validator definitions`,
85
- severity: DiagnosticSeverity.Warning,
85
+ severity: DiagnosticSeverity.Error,
86
86
  });
87
87
  expectedType = 'View';
88
88
  }