chore: prettier-plugin-sort-imports

This commit is contained in:
Travis Fischer
2022-10-15 17:58:27 -04:00
parent c2024b78e9
commit 44026d9766
35 changed files with 487 additions and 274 deletions

View File

@@ -1,18 +1,18 @@
import { NextApiRequest, NextApiResponse } from 'next'
import { PageBlock } from 'notion-types'
import {
getBlockTitle,
getBlockIcon,
getBlockTitle,
getPageProperty,
isUrl,
parsePageId
} from 'notion-utils'
import { PageBlock } from 'notion-types'
import { notion } from 'lib/notion-api'
import { mapImageUrl } from 'lib/map-image-url'
import { NotionPageInfo } from 'lib/types'
import * as libConfig from 'lib/config'
import { mapImageUrl } from 'lib/map-image-url'
import { notion } from 'lib/notion-api'
import { NotionPageInfo } from 'lib/types'
export default async (req: NextApiRequest, res: NextApiResponse) => {
if (req.method !== 'POST') {

View File

@@ -1,9 +1,10 @@
import * as React from 'react'
import { ImageResponse } from '@vercel/og'
import { NextRequest } from 'next/server'
import { ImageResponse } from '@vercel/og'
import { api, apiHost } from 'lib/config'
import { NotionPageInfo } from 'lib/types'
import { apiHost, api } from 'lib/config'
const interRegularFontP = fetch(
new URL('../../public/fonts/Inter-Regular.ttf', import.meta.url)