Skip to content

Commit

Permalink
fix: import files
Browse files Browse the repository at this point in the history
  • Loading branch information
legends-killer committed Jan 16, 2024
1 parent 99c20cd commit 610a38d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yaje",
"version": "1.0.5",
"version": "1.0.6",
"author": "legends-killer <yyy@legends-killer.cq.cn>",
"description": "yet another json editor",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/JsonEditor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { refItemProvider } from './provider/refItemProvider'
import { ISuggestionItem, JsonSchemaProcessor } from './helper/jsonSchemaProcessor'
import { languages as Languages, IDisposable } from 'monaco-editor'
import { IProviderParam } from './provider/types'
import { filterRepeateSuggestions } from '../utils'
import { filterRepeateSuggestions } from './utils'

export interface IJsonEditor extends Partial<EditorProps> {
/**
Expand Down
4 changes: 2 additions & 2 deletions src/utils.ts → src/JsonEditor/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
* @Author: legends-killer
* @Date: 2024-01-15 21:02:24
* @LastEditors: legends-killer
* @LastEditTime: 2024-01-15 21:02:56
* @LastEditTime: 2024-01-16 20:44:58
* @Description:
*/
import { ISuggestionItem } from "./JsonEditor/helper/jsonSchemaProcessor";
import { ISuggestionItem } from "./helper/jsonSchemaProcessor";
export const filterRepeateSuggestions = (suggestions: ISuggestionItem[]) => {
const suggestionsMap = new Map<string, ISuggestionItem>()
suggestions.forEach((suggestion) => {
Expand Down

0 comments on commit 610a38d

Please sign in to comment.