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