snoop-ui 0.0.1

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.
@@ -0,0 +1,231 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "version": {
6
+ "type": "number",
7
+ "const": 1
8
+ },
9
+ "tokens": {
10
+ "default": {},
11
+ "type": "object",
12
+ "propertyNames": {
13
+ "type": "string"
14
+ },
15
+ "additionalProperties": {
16
+ "type": "string"
17
+ }
18
+ },
19
+ "rules": {
20
+ "default": [],
21
+ "type": "array",
22
+ "items": {
23
+ "type": "object",
24
+ "properties": {
25
+ "file": {
26
+ "type": "string",
27
+ "minLength": 1
28
+ },
29
+ "selector": {
30
+ "type": "string",
31
+ "minLength": 1
32
+ },
33
+ "runtimeSelector": {
34
+ "type": "string",
35
+ "minLength": 1
36
+ },
37
+ "declarations": {
38
+ "default": [],
39
+ "type": "array",
40
+ "items": {
41
+ "type": "object",
42
+ "properties": {
43
+ "property": {
44
+ "type": "string",
45
+ "minLength": 1
46
+ },
47
+ "value": {
48
+ "type": "string"
49
+ },
50
+ "important": {
51
+ "default": false,
52
+ "type": "boolean"
53
+ },
54
+ "line": {
55
+ "type": "integer",
56
+ "exclusiveMinimum": 0,
57
+ "maximum": 9007199254740991
58
+ },
59
+ "col": {
60
+ "type": "integer",
61
+ "exclusiveMinimum": 0,
62
+ "maximum": 9007199254740991
63
+ }
64
+ },
65
+ "required": [
66
+ "property",
67
+ "value",
68
+ "important",
69
+ "line",
70
+ "col"
71
+ ],
72
+ "additionalProperties": false
73
+ }
74
+ },
75
+ "atRules": {
76
+ "default": [],
77
+ "type": "array",
78
+ "items": {
79
+ "type": "string"
80
+ }
81
+ },
82
+ "module": {
83
+ "default": false,
84
+ "type": "boolean"
85
+ },
86
+ "line": {
87
+ "type": "integer",
88
+ "exclusiveMinimum": 0,
89
+ "maximum": 9007199254740991
90
+ },
91
+ "col": {
92
+ "type": "integer",
93
+ "exclusiveMinimum": 0,
94
+ "maximum": 9007199254740991
95
+ }
96
+ },
97
+ "required": [
98
+ "file",
99
+ "selector",
100
+ "declarations",
101
+ "atRules",
102
+ "module",
103
+ "line",
104
+ "col"
105
+ ],
106
+ "additionalProperties": false
107
+ }
108
+ },
109
+ "inlineStyles": {
110
+ "default": [],
111
+ "type": "array",
112
+ "items": {
113
+ "type": "object",
114
+ "properties": {
115
+ "src": {
116
+ "type": "string",
117
+ "minLength": 1
118
+ },
119
+ "file": {
120
+ "type": "string",
121
+ "minLength": 1
122
+ },
123
+ "range": {
124
+ "type": "object",
125
+ "properties": {
126
+ "start": {
127
+ "type": "object",
128
+ "properties": {
129
+ "line": {
130
+ "type": "integer",
131
+ "exclusiveMinimum": 0,
132
+ "maximum": 9007199254740991
133
+ },
134
+ "col": {
135
+ "type": "integer",
136
+ "exclusiveMinimum": 0,
137
+ "maximum": 9007199254740991
138
+ }
139
+ },
140
+ "required": [
141
+ "line",
142
+ "col"
143
+ ],
144
+ "additionalProperties": false
145
+ },
146
+ "end": {
147
+ "type": "object",
148
+ "properties": {
149
+ "line": {
150
+ "type": "integer",
151
+ "exclusiveMinimum": 0,
152
+ "maximum": 9007199254740991
153
+ },
154
+ "col": {
155
+ "type": "integer",
156
+ "exclusiveMinimum": 0,
157
+ "maximum": 9007199254740991
158
+ }
159
+ },
160
+ "required": [
161
+ "line",
162
+ "col"
163
+ ],
164
+ "additionalProperties": false
165
+ }
166
+ },
167
+ "required": [
168
+ "start",
169
+ "end"
170
+ ],
171
+ "additionalProperties": false
172
+ },
173
+ "confidence": {
174
+ "type": "string",
175
+ "enum": [
176
+ "EXTRACTED",
177
+ "INFERRED"
178
+ ]
179
+ }
180
+ },
181
+ "required": [
182
+ "src",
183
+ "file",
184
+ "range",
185
+ "confidence"
186
+ ],
187
+ "additionalProperties": false
188
+ }
189
+ },
190
+ "tailwind": {
191
+ "default": false,
192
+ "type": "boolean"
193
+ },
194
+ "errors": {
195
+ "default": [],
196
+ "type": "array",
197
+ "items": {
198
+ "type": "object",
199
+ "properties": {
200
+ "code": {
201
+ "type": "string",
202
+ "minLength": 1
203
+ },
204
+ "file": {
205
+ "type": "string",
206
+ "minLength": 1
207
+ },
208
+ "message": {
209
+ "type": "string",
210
+ "minLength": 1
211
+ }
212
+ },
213
+ "required": [
214
+ "code",
215
+ "file",
216
+ "message"
217
+ ],
218
+ "additionalProperties": false
219
+ }
220
+ }
221
+ },
222
+ "required": [
223
+ "version",
224
+ "tokens",
225
+ "rules",
226
+ "inlineStyles",
227
+ "tailwind",
228
+ "errors"
229
+ ],
230
+ "additionalProperties": false
231
+ }