apps 0.0.1-beta.94 → 0.0.1-beta.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -124,6 +124,16 @@ export declare const withLazyJsonSchemaDocument: <S extends EffectSchema.Decoder
124
124
  * patched validator applies it like `"#"` was: the recursive anchor in scope, else that target.
125
125
  */
126
126
  export declare const nestJsonSchema: (input: JsonObject, pointer: string) => JsonObject;
127
+ /**
128
+ * Self-contained schemas placed side by side in one document, such as the branches of a union.
129
+ * A schema whose references all name its root `$defs` gives those entries to the document's root
130
+ * `$defs` when no entry of the same name differs, so definitions stay where listings share them
131
+ * among tools. Any other schema is relocated with `nestJsonSchema` under `pointer(index)`.
132
+ */
133
+ export declare const combineJsonSchemas: (schemas: readonly JsonObject[], pointer: (index: number) => string) => {
134
+ readonly $defs?: JsonObject;
135
+ readonly schemas: readonly JsonObject[];
136
+ };
127
137
  /**
128
138
  * Whether an input key may be named in a validation problem. Other keys can carry supplied data,
129
139
  * so problems locate them without echoing them.