refactor: use relative TS path
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import Consola from 'consola';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import { BackendConfigType, ConfigType } from '../../types/config';
|
||||
import { BackendConfigType, ConfigType } from '~/types/config';
|
||||
import { configExists } from './configExists';
|
||||
import { getFallbackConfig } from './getFallbackConfig';
|
||||
import { readConfig } from './readConfig';
|
||||
|
||||
@@ -3,7 +3,7 @@ import fs from 'fs';
|
||||
import { fetchCity } from '~/server/api/routers/weather';
|
||||
import { IntegrationField } from '~/types/app';
|
||||
|
||||
import { BackendConfigType, ConfigType } from '../../types/config';
|
||||
import { BackendConfigType, ConfigType } from '~/types/config';
|
||||
import { getConfig } from './getConfig';
|
||||
|
||||
export const getFrontendConfig = async (name: string): Promise<ConfigType> => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import fs from 'fs';
|
||||
|
||||
import { BackendConfigType } from '../../types/config';
|
||||
import { BackendConfigType } from '~/types/config';
|
||||
import { generateConfigPath } from './generateConfigPath';
|
||||
|
||||
export function writeConfig(config: BackendConfigType) {
|
||||
|
||||
Reference in New Issue
Block a user