@decantr/verifier 2.3.3 → 2.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decantr/verifier",
3
- "version": "2.3.3",
3
+ "version": "2.5.0",
4
4
  "description": "Shared verification, critique, Project Health, and report-schema engine for Decantr",
5
5
  "keywords": [
6
6
  "decantr",
@@ -42,6 +42,9 @@
42
42
  },
43
43
  "localLaw": {
44
44
  "$ref": "#/$defs/localLaw"
45
+ },
46
+ "styleBridge": {
47
+ "$ref": "#/$defs/styleBridge"
45
48
  }
46
49
  },
47
50
  "additionalProperties": false
@@ -89,6 +92,54 @@
89
92
  "rulesPresent": {
90
93
  "type": "boolean"
91
94
  },
95
+ "warnings": {
96
+ "type": "array",
97
+ "items": {
98
+ "type": "string"
99
+ }
100
+ },
101
+ "findings": {
102
+ "type": "array",
103
+ "items": {
104
+ "type": "object",
105
+ "required": [
106
+ "ruleId",
107
+ "severity",
108
+ "file",
109
+ "line",
110
+ "column",
111
+ "message",
112
+ "suggestedFix"
113
+ ],
114
+ "properties": {
115
+ "ruleId": {
116
+ "type": "string"
117
+ },
118
+ "severity": {
119
+ "type": "string",
120
+ "enum": ["info", "warn", "error"]
121
+ },
122
+ "file": {
123
+ "type": "string"
124
+ },
125
+ "line": {
126
+ "type": "integer",
127
+ "minimum": 1
128
+ },
129
+ "column": {
130
+ "type": "integer",
131
+ "minimum": 1
132
+ },
133
+ "message": {
134
+ "type": "string"
135
+ },
136
+ "suggestedFix": {
137
+ "type": "string"
138
+ }
139
+ },
140
+ "additionalProperties": false
141
+ }
142
+ },
92
143
  "errorCount": {
93
144
  "type": "integer",
94
145
  "minimum": 0
@@ -99,6 +150,49 @@
99
150
  }
100
151
  },
101
152
  "additionalProperties": false
153
+ },
154
+ "styleBridge": {
155
+ "type": "object",
156
+ "required": [
157
+ "checked",
158
+ "present",
159
+ "status",
160
+ "mappingCount",
161
+ "stylingApproach",
162
+ "themeModes",
163
+ "warnings"
164
+ ],
165
+ "properties": {
166
+ "checked": {
167
+ "type": "boolean"
168
+ },
169
+ "present": {
170
+ "type": "boolean"
171
+ },
172
+ "status": {
173
+ "type": ["string", "null"]
174
+ },
175
+ "mappingCount": {
176
+ "type": "integer",
177
+ "minimum": 0
178
+ },
179
+ "stylingApproach": {
180
+ "type": ["string", "null"]
181
+ },
182
+ "themeModes": {
183
+ "type": "array",
184
+ "items": {
185
+ "type": "string"
186
+ }
187
+ },
188
+ "warnings": {
189
+ "type": "array",
190
+ "items": {
191
+ "type": "string"
192
+ }
193
+ }
194
+ },
195
+ "additionalProperties": false
102
196
  }
103
197
  }
104
198
  }