mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-19 08:22:53 +00:00
11 lines
253 B
TypeScript
11 lines
253 B
TypeScript
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
|