4
4
5
5
## Table of contents
6
6
7
+ ### Bundled Codemirror Extensions
8
+
9
+ - [ jsonSchema] ( index.md#jsonschema )
10
+
7
11
### Codemirror Extensions
8
12
9
13
- [ jsonCompletion] ( index.md#jsoncompletion )
32
36
- [ JSONPointersMap] ( index.md#jsonpointersmap )
33
37
- [ JSONValidationOptions] ( index.md#jsonvalidationoptions )
34
38
39
+ ## Bundled Codemirror Extensions
40
+
41
+ ### jsonSchema
42
+
43
+ ▸ ** jsonSchema** (` schema ` ): ` Extension ` [ ]
44
+
45
+ Full featured cm6 extension for json, including ` @codemirror/lang-json `
46
+
47
+ #### Parameters
48
+
49
+ | Name | Type |
50
+ | :------- | :------------ |
51
+ | ` schema ` | ` JSONSchema7 ` |
52
+
53
+ #### Returns
54
+
55
+ ` Extension ` [ ]
56
+
57
+ #### Defined in
58
+
59
+ [ bundled.ts:14] ( https://github.com/acao/codemirror-json-schema/blob/a08101a/src/bundled.ts#L14 )
60
+
35
61
## Codemirror Extensions
36
62
37
63
### jsonCompletion
@@ -64,7 +90,7 @@ provides a JSON schema enabled autocomplete extension for codemirror
64
90
65
91
#### Defined in
66
92
67
- [ json-completion.ts:747] ( https://github.com/acao/codemirror-json-schema/blob/23e5721 /src/json-completion.ts#L747 )
93
+ [ json-completion.ts:747] ( https://github.com/acao/codemirror-json-schema/blob/a08101a /src/json-completion.ts#L747 )
68
94
69
95
---
70
96
@@ -101,7 +127,7 @@ provides a JSON schema enabled tooltip extension for codemirror
101
127
102
128
#### Defined in
103
129
104
- [ json-hover.ts:38] ( https://github.com/acao/codemirror-json-schema/blob/23e5721 /src/json-hover.ts#L38 )
130
+ [ json-hover.ts:38] ( https://github.com/acao/codemirror-json-schema/blob/a08101a /src/json-hover.ts#L38 )
105
131
106
132
---
107
133
@@ -136,7 +162,7 @@ Helper for simpler class instantiaton
136
162
137
163
#### Defined in
138
164
139
- [ json-validation.ts:35] ( https://github.com/acao/codemirror-json-schema/blob/23e5721 /src/json-validation.ts#L35 )
165
+ [ json-validation.ts:35] ( https://github.com/acao/codemirror-json-schema/blob/a08101a /src/json-validation.ts#L35 )
140
166
141
167
## Utilities
142
168
@@ -159,7 +185,7 @@ retrieve a Map of all the json pointers in a document
159
185
160
186
#### Defined in
161
187
162
- [ utils/jsonPointers.ts:56] ( https://github.com/acao/codemirror-json-schema/blob/23e5721 /src/utils/jsonPointers.ts#L56 )
188
+ [ utils/jsonPointers.ts:56] ( https://github.com/acao/codemirror-json-schema/blob/a08101a /src/utils/jsonPointers.ts#L56 )
163
189
164
190
---
165
191
@@ -183,7 +209,7 @@ retrieve a JSON pointer for a given position in the editor
183
209
184
210
#### Defined in
185
211
186
- [ utils/jsonPointers.ts:44] ( https://github.com/acao/codemirror-json-schema/blob/23e5721 /src/utils/jsonPointers.ts#L44 )
212
+ [ utils/jsonPointers.ts:44] ( https://github.com/acao/codemirror-json-schema/blob/a08101a /src/utils/jsonPointers.ts#L44 )
187
213
188
214
---
189
215
@@ -210,7 +236,7 @@ Mimics the behavior of `json-source-map`'s `parseJSONDocument` function using co
210
236
211
237
#### Defined in
212
238
213
- [ utils/parseJSONDocument.ts:23] ( https://github.com/acao/codemirror-json-schema/blob/23e5721 /src/utils/parseJSONDocument.ts#L23 )
239
+ [ utils/parseJSONDocument.ts:23] ( https://github.com/acao/codemirror-json-schema/blob/a08101a /src/utils/parseJSONDocument.ts#L23 )
214
240
215
241
---
216
242
@@ -237,7 +263,7 @@ Return parsed data and json pointers for a given codemirror EditorState
237
263
238
264
#### Defined in
239
265
240
- [ utils/parseJSONDocument.ts:9] ( https://github.com/acao/codemirror-json-schema/blob/23e5721 /src/utils/parseJSONDocument.ts#L9 )
266
+ [ utils/parseJSONDocument.ts:9] ( https://github.com/acao/codemirror-json-schema/blob/a08101a /src/utils/parseJSONDocument.ts#L9 )
241
267
242
268
## Functions
243
269
@@ -258,7 +284,7 @@ Return parsed data and json pointers for a given codemirror EditorState
258
284
259
285
#### Defined in
260
286
261
- [ utils/jsonPointers.ts:12] ( https://github.com/acao/codemirror-json-schema/blob/23e5721 /src/utils/jsonPointers.ts#L12 )
287
+ [ utils/jsonPointers.ts:12] ( https://github.com/acao/codemirror-json-schema/blob/a08101a /src/utils/jsonPointers.ts#L12 )
262
288
263
289
## Type Aliases
264
290
@@ -275,7 +301,7 @@ Return parsed data and json pointers for a given codemirror EditorState
275
301
276
302
#### Defined in
277
303
278
- [ json-hover.ts:12] ( https://github.com/acao/codemirror-json-schema/blob/23e5721 /src/json-hover.ts#L12 )
304
+ [ json-hover.ts:12] ( https://github.com/acao/codemirror-json-schema/blob/a08101a /src/json-hover.ts#L12 )
279
305
280
306
---
281
307
@@ -285,7 +311,7 @@ Return parsed data and json pointers for a given codemirror EditorState
285
311
286
312
#### Defined in
287
313
288
- [ json-hover.ts:14] ( https://github.com/acao/codemirror-json-schema/blob/23e5721 /src/json-hover.ts#L14 )
314
+ [ json-hover.ts:14] ( https://github.com/acao/codemirror-json-schema/blob/a08101a /src/json-hover.ts#L14 )
289
315
290
316
---
291
317
@@ -303,7 +329,7 @@ Return parsed data and json pointers for a given codemirror EditorState
303
329
304
330
#### Defined in
305
331
306
- [ json-hover.ts:18] ( https://github.com/acao/codemirror-json-schema/blob/23e5721 /src/json-hover.ts#L18 )
332
+ [ json-hover.ts:18] ( https://github.com/acao/codemirror-json-schema/blob/a08101a /src/json-hover.ts#L18 )
307
333
308
334
---
309
335
@@ -313,7 +339,7 @@ Return parsed data and json pointers for a given codemirror EditorState
313
339
314
340
#### Defined in
315
341
316
- [ utils/jsonPointers.ts:8] ( https://github.com/acao/codemirror-json-schema/blob/23e5721 /src/utils/jsonPointers.ts#L8 )
342
+ [ utils/jsonPointers.ts:8] ( https://github.com/acao/codemirror-json-schema/blob/a08101a /src/utils/jsonPointers.ts#L8 )
317
343
318
344
---
319
345
@@ -330,7 +356,7 @@ Return parsed data and json pointers for a given codemirror EditorState
330
356
331
357
#### Defined in
332
358
333
- [ types.ts:4] ( https://github.com/acao/codemirror-json-schema/blob/23e5721 /src/types.ts#L4 )
359
+ [ types.ts:4] ( https://github.com/acao/codemirror-json-schema/blob/a08101a /src/types.ts#L4 )
334
360
335
361
---
336
362
@@ -349,7 +375,7 @@ Return parsed data and json pointers for a given codemirror EditorState
349
375
350
376
#### Defined in
351
377
352
- [ types.ts:9] ( https://github.com/acao/codemirror-json-schema/blob/23e5721 /src/types.ts#L9 )
378
+ [ types.ts:9] ( https://github.com/acao/codemirror-json-schema/blob/a08101a /src/types.ts#L9 )
353
379
354
380
---
355
381
@@ -359,7 +385,7 @@ Return parsed data and json pointers for a given codemirror EditorState
359
385
360
386
#### Defined in
361
387
362
- [ types.ts:18] ( https://github.com/acao/codemirror-json-schema/blob/23e5721 /src/types.ts#L18 )
388
+ [ types.ts:18] ( https://github.com/acao/codemirror-json-schema/blob/a08101a /src/types.ts#L18 )
363
389
364
390
---
365
391
@@ -376,4 +402,4 @@ Return parsed data and json pointers for a given codemirror EditorState
376
402
377
403
#### Defined in
378
404
379
- [ json-validation.ts:24] ( https://github.com/acao/codemirror-json-schema/blob/23e5721 /src/json-validation.ts#L24 )
405
+ [ json-validation.ts:24] ( https://github.com/acao/codemirror-json-schema/blob/a08101a /src/json-validation.ts#L24 )
0 commit comments