Skip to content

Commit

Permalink
resolve build errrors
Browse files Browse the repository at this point in the history
  • Loading branch information
KhudaDad414 committed Apr 3, 2024
1 parent b22ac19 commit 47a6e20
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 2 additions & 0 deletions apps/studio-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"@headlessui/react": "^1.7.4",
"@hookstate/core": "^4.0.0-rc21",
"@monaco-editor/react": "^4.4.6",
"@stoplight/yaml": "^4.3.0",
"@tippyjs/react": "^4.2.6",
"codemirror": "^6.0.1",
"js-base64": "^3.7.3",
Expand Down Expand Up @@ -67,6 +68,7 @@
"autoprefixer": "^10.4.13",
"browserify-zlib": "^0.2.0",
"buffer": "^6.0.3",
"eslint-config-next": "14.1.4",
"eslint-plugin-security": "^1.5.0",
"eslint-plugin-sonarjs": "^0.16.0",
"https-browserify": "^1.0.0",
Expand Down
6 changes: 3 additions & 3 deletions apps/studio-next/src/components/Modals/ConvertModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import { create } from '@ebay/nice-modal-react';

import { ConfirmModal } from './index';

import { useServices } from '../../services';
import { useDocumentsState } from '../../state';
import { useServices } from '@/services';
import { useDocumentsState } from '@/state';

import type { SpecVersions } from '../../types';
import type { SpecVersions } from '@/types';

export const ConvertModal = create(() => {
const { editorSvc, specificationSvc } = useServices();
Expand Down
4 changes: 3 additions & 1 deletion apps/studio-next/src/components/Visualiser/Visualiser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import { FlowDiagram } from './FlowDiagram';

import { useDocumentsState, useSettingsState, useOtherState, otherState } from '@/state';

import type { OldAsyncAPIDocument as AsyncAPIDocument, convertToOldAPI } from '@asyncapi/parser';
import type { OldAsyncAPIDocument as AsyncAPIDocument } from '@asyncapi/parser';
import { convertToOldAPI } from '@asyncapi/parser';

import { FunctionComponent } from 'react';

interface VisualiserProps {}
Expand Down
3 changes: 3 additions & 0 deletions apps/studio-next/src/types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import type specs from '@asyncapi/specs';

export type SpecVersions = keyof typeof specs.schemas;

0 comments on commit 47a6e20

Please sign in to comment.