Skip to content

Commit

Permalink
✨ feat: Import modules using relative file paths
Browse files Browse the repository at this point in the history
The code changes involve importing modules from different file paths. The
imports have been modified to use relative file paths instead of absolute paths.

Changes:
- Modified import statements to use relative file paths instead of absolute paths.
  • Loading branch information
canisminor1990 committed Nov 15, 2023
1 parent 134f7f9 commit f487777
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions src/server/createEdgeSpeechComletion.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import qs from 'query-string';
import { v4 as uuidv4 } from 'uuid';

import { EDGE_API_TOKEN, EDGE_SPEECH_URL } from '@/const/api';
import { EdgeSpeechPayload } from '@/server/types';
import { genSSML } from '@/utils/genSSML';
import { genSendContent } from '@/utils/genSendContent';
import { getHeadersAndData } from '@/utils/getHeadersAndData';
import { EDGE_API_TOKEN, EDGE_SPEECH_URL } from '../const/api';
import { EdgeSpeechPayload } from '../server/types';
import { genSSML } from '../utils/genSSML';
import { genSendContent } from '../utils/genSendContent';
import { getHeadersAndData } from '../utils/getHeadersAndData';

const configConent = JSON.stringify({
context: {
Expand Down
6 changes: 3 additions & 3 deletions src/server/createMicrosoftSpeechComletion.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { v4 as uuidv4 } from 'uuid';

import { MICROSOFT_SPEECH_URL } from '@/const/api';
import { MicrosoftSpeechPayload } from '@/server/types';
import { genSSML } from '@/utils/genSSML';
import { MICROSOFT_SPEECH_URL } from '../const/api';
import { MicrosoftSpeechPayload } from '../server/types';
import { genSSML } from '../utils/genSSML';

interface CreateMicrosoftSpeechComletionOptions {
payload: MicrosoftSpeechPayload;
Expand Down

0 comments on commit f487777

Please sign in to comment.