Skip to content

Commit

Permalink
chore: remove unwanted linkedom type imports
Browse files Browse the repository at this point in the history
  • Loading branch information
bigint committed Jun 24, 2024
1 parent 748f576 commit d816ee2
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions apps/api/src/helpers/oembed/meta/getDescription.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import type { Document } from 'linkedom';

const getDescription = (document: Document): null | string => {
const og =
document.querySelector('meta[name="og:description"]') ||
Expand Down
2 changes: 0 additions & 2 deletions apps/api/src/helpers/oembed/meta/getEmbedUrl.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import type { Document } from 'linkedom';

const getEmbedUrl = (document: Document): null | string => {
const og =
document.querySelector('meta[name="og:video:url"]') ||
Expand Down
2 changes: 0 additions & 2 deletions apps/api/src/helpers/oembed/meta/getImage.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import type { Document } from 'linkedom';

const getImage = (document: Document): null | string => {
const og =
document.querySelector('meta[name="og:image"]') ||
Expand Down
1 change: 0 additions & 1 deletion apps/api/src/helpers/oembed/meta/getNft.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { Nft } from '@hey/types/misc';
import type { Document } from 'linkedom';
import type { Address } from 'viem';

import { IGNORED_NFT_HOSTS } from '@hey/data/og';
Expand Down
2 changes: 0 additions & 2 deletions apps/api/src/helpers/oembed/meta/getSite.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import type { Document } from 'linkedom';

const getSite = (document: Document): null | string => {
const og =
document.querySelector('meta[name="og:site_name"]') ||
Expand Down
2 changes: 0 additions & 2 deletions apps/api/src/helpers/oembed/meta/getTitle.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import type { Document } from 'linkedom';

const getTitle = (document: Document): null | string => {
const og =
document.querySelector('meta[name="og:title"]') ||
Expand Down

0 comments on commit d816ee2

Please sign in to comment.