feat(SW-66, SW-348): search functionality and ui
This commit is contained in:
12
types/components/deprecatedjsontohtml.ts
Normal file
12
types/components/deprecatedjsontohtml.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { Embeds } from "@/types/requests/embeds"
|
||||
import type { Node } from "@/types/requests/utils/edges"
|
||||
import type { RTENode } from "../rte/node"
|
||||
import type { RenderOptions } from "../rte/option"
|
||||
|
||||
export type DeprecatedJsonToHtmlProps = {
|
||||
embeds: Node<Embeds>[]
|
||||
nodes: RTENode[]
|
||||
renderOptions?: RenderOptions
|
||||
}
|
||||
|
||||
export type EmbedByUid = Record<string, Node<Embeds>>
|
||||
Reference in New Issue
Block a user