UNPKG

@rjsf/utils

Version:
12 lines (11 loc) 634 B
/** Shared `@x0k/json-schema-merge` shallow-allOf merge function used by `retrieveSchema` and * `omitExtraData`. Constructed once from a single comparator/merger/intersector/deduplicator * pipeline so both consumers share the same configuration without duplicating setup code. * * Usage: pass a schema that contains an `allOf` keyword and receive the merged result. * * @example * const merged = shallowAllOfMerge(schema); // schema.allOf is merged into the parent schema */ declare const _default: (schema: import("json-schema").JSONSchema7Definition) => import("json-schema").JSONSchema7Definition; export default _default;