💄 Prettier repository

This commit is contained in:
ajnart
2023-07-21 18:08:40 +09:00
parent b40cafc65a
commit 739b95888b
197 changed files with 507 additions and 335 deletions

View File

@@ -1,4 +1,5 @@
import fs from 'fs';
import { BackendConfigType } from '../../types/config';
import { Config } from '../types';
import { migrateConfig } from './migrateConfig';

View File

@@ -1,4 +1,5 @@
import fs from 'fs';
import { generateConfigPath } from './generateConfigPath';
export const configExists = (name: string) => {

View File

@@ -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';

View File

@@ -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);

View File

@@ -1,5 +1,4 @@
import Consola from 'consola';
import { v4 as uuidv4 } from 'uuid';
import { ConfigAppIntegrationType, ConfigAppType, IntegrationType } from '../../types/app';

View File

@@ -1,4 +1,5 @@
import fs from 'fs';
import { generateConfigPath } from './generateConfigPath';
export function readConfig(name: string) {

View File

@@ -1,4 +1,5 @@
import fs from 'fs';
import { BackendConfigType } from '../../types/config';
import { generateConfigPath } from './generateConfigPath';