mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-05 15:49:30 +08:00
10 lines
253 B
Text
10 lines
253 B
Text
import type {CodeKeywordDefinition} from "../../types"
|
|
import {dynamicRef} from "./dynamicRef"
|
|
|
|
const def: CodeKeywordDefinition = {
|
|
keyword: "$recursiveRef",
|
|
schemaType: "string",
|
|
code: (cxt) => dynamicRef(cxt, cxt.schema),
|
|
}
|
|
|
|
export default def
|