@@ -61,13 +61,13 @@ provides a JSON schema enabled autocomplete extension for codemirror
6161
6262#### Defined in
6363
64- [ json-completion.ts:820] ( https://github.com/acao/codemirror-json-schema/blob/fea8ea7 /src/json-completion.ts#L820 )
64+ [ json-completion.ts:820] ( https://github.com/acao/codemirror-json-schema/blob/31d3cd5 /src/json-completion.ts#L820 )
6565
6666---
6767
6868### jsonSchemaHover
6969
70- ▸ ** jsonSchemaHover** (` schema ` , ` options? ` ): (` view ` : ` EditorView ` , ` pos ` : ` number ` , ` side ` : ` 1 ` \| ` -1 ` ) => ` Promise ` <` null ` \| ` Tooltip ` \>
70+ ▸ ** jsonSchemaHover** (` schema ` , ` options? ` ): (` view ` : ` EditorView ` , ` pos ` : ` number ` , ` side ` : ` Side ` ) => ` Promise ` <` null ` \| ` Tooltip ` \>
7171
7272provides a JSON schema enabled tooltip extension for codemirror
7373
@@ -90,15 +90,15 @@ provides a JSON schema enabled tooltip extension for codemirror
9090| :----- | :----------- |
9191| ` view ` | ` EditorView ` |
9292| ` pos ` | ` number ` |
93- | ` side ` | ` 1 ` \| ` -1 ` |
93+ | ` side ` | ` Side ` |
9494
9595##### Returns
9696
9797` Promise ` <` null ` \| ` Tooltip ` \>
9898
9999#### Defined in
100100
101- [ json-hover.ts:24 ] ( https://github.com/acao/codemirror-json-schema/blob/fea8ea7 /src/json-hover.ts#L24 )
101+ [ json-hover.ts:39 ] ( https://github.com/acao/codemirror-json-schema/blob/31d3cd5 /src/json-hover.ts#L39 )
102102
103103---
104104
@@ -133,7 +133,7 @@ Helper for simpler class instantiaton
133133
134134#### Defined in
135135
136- [ json-validation.ts:35] ( https://github.com/acao/codemirror-json-schema/blob/fea8ea7 /src/json-validation.ts#L35 )
136+ [ json-validation.ts:35] ( https://github.com/acao/codemirror-json-schema/blob/31d3cd5 /src/json-validation.ts#L35 )
137137
138138## Utilities
139139
@@ -160,7 +160,7 @@ this could be useful for other things later!
160160
161161#### Defined in
162162
163- [ utils/jsonPointers.ts:37] ( https://github.com/acao/codemirror-json-schema/blob/fea8ea7 /src/utils/jsonPointers.ts#L37 )
163+ [ utils/jsonPointers.ts:37] ( https://github.com/acao/codemirror-json-schema/blob/31d3cd5 /src/utils/jsonPointers.ts#L37 )
164164
165165---
166166
@@ -183,7 +183,7 @@ retrieve a Map of all the json pointers in a document
183183
184184#### Defined in
185185
186- [ utils/jsonPointers.ts:98] ( https://github.com/acao/codemirror-json-schema/blob/fea8ea7 /src/utils/jsonPointers.ts#L98 )
186+ [ utils/jsonPointers.ts:98] ( https://github.com/acao/codemirror-json-schema/blob/31d3cd5 /src/utils/jsonPointers.ts#L98 )
187187
188188---
189189
@@ -199,7 +199,7 @@ retrieve a JSON pointer for a given position in the editor
199199| :------ | :------------------------------ | :------------ |
200200| ` state ` | ` EditorState ` | ` undefined ` |
201201| ` pos ` | ` number ` | ` undefined ` |
202- | ` side ` | ` 1 ` \| ` -1 ` | ` undefined ` |
202+ | ` side ` | ` Side ` | ` undefined ` |
203203| ` mode ` | [ ` JSONMode ` ] ( index.md#jsonmode ) | ` "json4" ` |
204204
205205#### Returns
@@ -208,7 +208,7 @@ retrieve a JSON pointer for a given position in the editor
208208
209209#### Defined in
210210
211- [ utils/jsonPointers.ts:81] ( https://github.com/acao/codemirror-json-schema/blob/fea8ea7 /src/utils/jsonPointers.ts#L81 )
211+ [ utils/jsonPointers.ts:81] ( https://github.com/acao/codemirror-json-schema/blob/31d3cd5 /src/utils/jsonPointers.ts#L81 )
212212
213213---
214214
@@ -235,7 +235,7 @@ Mimics the behavior of `json-source-map`'s `parseJSONDocument` function using co
235235
236236#### Defined in
237237
238- [ utils/parseJSONDocument.ts:23] ( https://github.com/acao/codemirror-json-schema/blob/fea8ea7 /src/utils/parseJSONDocument.ts#L23 )
238+ [ utils/parseJSONDocument.ts:23] ( https://github.com/acao/codemirror-json-schema/blob/31d3cd5 /src/utils/parseJSONDocument.ts#L23 )
239239
240240---
241241
@@ -262,7 +262,7 @@ Return parsed data and json pointers for a given codemirror EditorState
262262
263263#### Defined in
264264
265- [ utils/parseJSONDocument.ts:9] ( https://github.com/acao/codemirror-json-schema/blob/fea8ea7 /src/utils/parseJSONDocument.ts#L9 )
265+ [ utils/parseJSONDocument.ts:9] ( https://github.com/acao/codemirror-json-schema/blob/31d3cd5 /src/utils/parseJSONDocument.ts#L9 )
266266
267267## Type Aliases
268268
@@ -279,7 +279,7 @@ Return parsed data and json pointers for a given codemirror EditorState
279279
280280#### Defined in
281281
282- [ json-hover.ts:9 ] ( https://github.com/acao/codemirror-json-schema/blob/fea8ea7 /src/json-hover.ts#L9 )
282+ [ json-hover.ts:12 ] ( https://github.com/acao/codemirror-json-schema/blob/31d3cd5 /src/json-hover.ts#L12 )
283283
284284---
285285
@@ -289,7 +289,7 @@ Return parsed data and json pointers for a given codemirror EditorState
289289
290290#### Defined in
291291
292- [ json-hover.ts:11 ] ( https://github.com/acao/codemirror-json-schema/blob/fea8ea7 /src/json-hover.ts#L11 )
292+ [ json-hover.ts:14 ] ( https://github.com/acao/codemirror-json-schema/blob/31d3cd5 /src/json-hover.ts#L14 )
293293
294294---
295295
@@ -299,14 +299,16 @@ Return parsed data and json pointers for a given codemirror EditorState
299299
300300#### Type declaration
301301
302- | Name | Type |
303- | :------------- | :----------------------------------------------------------------------- |
304- | ` formatHover? ` | (` data ` : [ ` FoundCursorData ` ] ( index.md#foundcursordata ) ) => ` HTMLElement ` |
305- | ` mode? ` | [ ` JSONMode ` ] ( index.md#jsonmode ) |
302+ | Name | Type |
303+ | :--------------- | :---------------------------------------------------------------------- |
304+ | ` formatHover? ` | (` data ` : ` HoverTexts ` ) => ` HTMLElement ` |
305+ | ` getHoverTexts? ` | (` data ` : [ ` FoundCursorData ` ] ( index.md#foundcursordata ) ) => ` HoverTexts ` |
306+ | ` mode? ` | [ ` JSONMode ` ] ( index.md#jsonmode ) |
307+ | ` parser? ` | (` text ` : ` string ` ) => ` any ` |
306308
307309#### Defined in
308310
309- [ json-hover.ts:13 ] ( https://github.com/acao/codemirror-json-schema/blob/fea8ea7 /src/json-hover.ts#L13 )
311+ [ json-hover.ts:18 ] ( https://github.com/acao/codemirror-json-schema/blob/31d3cd5 /src/json-hover.ts#L18 )
310312
311313---
312314
@@ -316,7 +318,7 @@ Return parsed data and json pointers for a given codemirror EditorState
316318
317319#### Defined in
318320
319- [ utils/jsonPointers.ts:8] ( https://github.com/acao/codemirror-json-schema/blob/fea8ea7 /src/utils/jsonPointers.ts#L8 )
321+ [ utils/jsonPointers.ts:8] ( https://github.com/acao/codemirror-json-schema/blob/31d3cd5 /src/utils/jsonPointers.ts#L8 )
320322
321323---
322324
@@ -333,7 +335,7 @@ Return parsed data and json pointers for a given codemirror EditorState
333335
334336#### Defined in
335337
336- [ types.ts:4] ( https://github.com/acao/codemirror-json-schema/blob/fea8ea7 /src/types.ts#L4 )
338+ [ types.ts:4] ( https://github.com/acao/codemirror-json-schema/blob/31d3cd5 /src/types.ts#L4 )
337339
338340---
339341
@@ -352,7 +354,7 @@ Return parsed data and json pointers for a given codemirror EditorState
352354
353355#### Defined in
354356
355- [ types.ts:9] ( https://github.com/acao/codemirror-json-schema/blob/fea8ea7 /src/types.ts#L9 )
357+ [ types.ts:9] ( https://github.com/acao/codemirror-json-schema/blob/31d3cd5 /src/types.ts#L9 )
356358
357359---
358360
@@ -362,7 +364,7 @@ Return parsed data and json pointers for a given codemirror EditorState
362364
363365#### Defined in
364366
365- [ types.ts:16 ] ( https://github.com/acao/codemirror-json-schema/blob/fea8ea7 /src/types.ts#L16 )
367+ [ types.ts:18 ] ( https://github.com/acao/codemirror-json-schema/blob/31d3cd5 /src/types.ts#L18 )
366368
367369---
368370
@@ -379,4 +381,4 @@ Return parsed data and json pointers for a given codemirror EditorState
379381
380382#### Defined in
381383
382- [ json-validation.ts:24] ( https://github.com/acao/codemirror-json-schema/blob/fea8ea7 /src/json-validation.ts#L24 )
384+ [ json-validation.ts:24] ( https://github.com/acao/codemirror-json-schema/blob/31d3cd5 /src/json-validation.ts#L24 )
0 commit comments