💄 Prettier repository
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import fs from 'fs';
|
||||
|
||||
import { BackendConfigType } from '../../types/config';
|
||||
import { Config } from '../types';
|
||||
import { migrateConfig } from './migrateConfig';
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import fs from 'fs';
|
||||
|
||||
import { generateConfigPath } from './generateConfigPath';
|
||||
|
||||
export const configExists = (name: string) => {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import Consola from 'consola';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import { BackendConfigType, ConfigType } from '../../types/config';
|
||||
import { backendMigrateConfig } from './backendMigrateConfig';
|
||||
import { configExists } from './configExists';
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import Consola from 'consola';
|
||||
import fs from 'fs';
|
||||
import { fetchCity } from '~/server/api/routers/weather';
|
||||
import { IntegrationField } from '~/types/app';
|
||||
|
||||
import { BackendConfigType, ConfigType } from '../../types/config';
|
||||
import { getConfig } from './getConfig';
|
||||
import { fetchCity } from '~/server/api/routers/weather';
|
||||
|
||||
export const getFrontendConfig = async (name: string): Promise<ConfigType> => {
|
||||
let config = getConfig(name);
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import Consola from 'consola';
|
||||
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import { ConfigAppIntegrationType, ConfigAppType, IntegrationType } from '../../types/app';
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import fs from 'fs';
|
||||
|
||||
import { generateConfigPath } from './generateConfigPath';
|
||||
|
||||
export function readConfig(name: string) {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import fs from 'fs';
|
||||
|
||||
import { BackendConfigType } from '../../types/config';
|
||||
import { generateConfigPath } from './generateConfigPath';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user