@maroonedog/luq 2.3.1 → 2.4.0

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.
@@ -0,0 +1,7 @@
1
+ export { flattenSchema } from "../json-schema";
2
+ export type { ReadChildSchemas, SchemaFieldDeclaration } from "../json-schema";
3
+ export { readChildSchemas } from "../json-schema";
4
+ export { isDraft07Schema, isSchemaObject } from "../json-schema";
5
+ /** The vocabulary itself: what a tool must have a decision for. */
6
+ export { listDraft07Keywords } from "../json-schema";
7
+ export type { ChildSchema, Draft07Schema, Draft07SchemaObject, } from "../json-schema";
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.listDraft07Keywords = exports.isSchemaObject = exports.isDraft07Schema = exports.readChildSchemas = exports.flattenSchema = void 0;
4
+ // ===========================================================================
5
+ // src/schema-tooling/index.ts — re-exports only. Nothing is defined here.
6
+ //
7
+ // The surface published as `@maroonedog/luq/schema-tooling`, for a tool that
8
+ // reads a JSON Schema document at build time instead of validating one at run
9
+ // time — a code generator, above all.
10
+ //
11
+ // It is listed by hand and kept short on purpose. Everything named here is
12
+ // public API from the moment it ships, so the file answers one question only:
13
+ // what does a generator need in order to decide the same field paths the
14
+ // run-time conversion decides? Anything a generator does not need stays
15
+ // internal, and re-exporting the whole layer would have frozen all of it.
16
+ // ===========================================================================
17
+ var json_schema_1 = require("../json-schema");
18
+ Object.defineProperty(exports, "flattenSchema", { enumerable: true, get: function () { return json_schema_1.flattenSchema; } });
19
+ var json_schema_2 = require("../json-schema");
20
+ Object.defineProperty(exports, "readChildSchemas", { enumerable: true, get: function () { return json_schema_2.readChildSchemas; } });
21
+ var json_schema_3 = require("../json-schema");
22
+ Object.defineProperty(exports, "isDraft07Schema", { enumerable: true, get: function () { return json_schema_3.isDraft07Schema; } });
23
+ Object.defineProperty(exports, "isSchemaObject", { enumerable: true, get: function () { return json_schema_3.isSchemaObject; } });
24
+ /** The vocabulary itself: what a tool must have a decision for. */
25
+ var json_schema_4 = require("../json-schema");
26
+ Object.defineProperty(exports, "listDraft07Keywords", { enumerable: true, get: function () { return json_schema_4.listDraft07Keywords; } });
@@ -0,0 +1,18 @@
1
+ // ===========================================================================
2
+ // src/schema-tooling/index.ts — re-exports only. Nothing is defined here.
3
+ //
4
+ // The surface published as `@maroonedog/luq/schema-tooling`, for a tool that
5
+ // reads a JSON Schema document at build time instead of validating one at run
6
+ // time — a code generator, above all.
7
+ //
8
+ // It is listed by hand and kept short on purpose. Everything named here is
9
+ // public API from the moment it ships, so the file answers one question only:
10
+ // what does a generator need in order to decide the same field paths the
11
+ // run-time conversion decides? Anything a generator does not need stays
12
+ // internal, and re-exporting the whole layer would have frozen all of it.
13
+ // ===========================================================================
14
+ export { flattenSchema } from "../json-schema/index.mjs";
15
+ export { readChildSchemas } from "../json-schema/index.mjs";
16
+ export { isDraft07Schema, isSchemaObject } from "../json-schema/index.mjs";
17
+ /** The vocabulary itself: what a tool must have a decision for. */
18
+ export { listDraft07Keywords } from "../json-schema/index.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maroonedog/luq",
3
- "version": "2.3.1",
3
+ "version": "2.4.0",
4
4
  "description": "Universal Model & API Definition Platform - TypeScript validation library evolving into cross-language code generation",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -47,6 +47,11 @@
47
47
  "import": "./dist/plugins/index.mjs",
48
48
  "require": "./dist/plugins/index.js"
49
49
  },
50
+ "./schema-tooling": {
51
+ "types": "./dist/schema-tooling/index.d.ts",
52
+ "import": "./dist/schema-tooling/index.mjs",
53
+ "require": "./dist/schema-tooling/index.js"
54
+ },
50
55
  "./plugins/arrayContains": {
51
56
  "types": "./dist/plugins/arrayContains.d.ts",
52
57
  "import": "./dist/plugins/arrayContains.mjs",