(ref: string)
| 1619 | } |
| 1620 | |
| 1621 | function parseLocalDefinitionRef(ref: string): string | undefined { |
| 1622 | const match = ref.match(/^#\/(?:definitions|\$defs)\/(.+)$/); |
| 1623 | return match?.[1]; |
| 1624 | } |
| 1625 | |
| 1626 | export function withSharedDefinitions<T extends JSONSchema7>( |
| 1627 | schema: T, |
no outgoing calls
no test coverage detected
searching dependent graphs…