jsonldjs 0.3.0 → 0.3.2
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.
- package/README.md +1 -2
- package/builder.js +1 -1
- package/esm/builder.js +1 -1
- package/esm/index.js +2 -2
- package/index.d.ts +3 -3
- package/index.js +7 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -418,8 +418,7 @@ pnpm test:watch
|
|
|
418
418
|
|
|
419
419
|
## Credits
|
|
420
420
|
|
|
421
|
-
Built for
|
|
422
|
-
👉 https://launchql.com | https://hyperweb.io
|
|
421
|
+
**🛠 Built by the [Constructive](https://constructive.io) team — creators of modular Postgres tooling for secure, composable backends. If you like our work, contribute on [GitHub](https://github.com/constructive-io).**
|
|
423
422
|
|
|
424
423
|
## Disclaimer
|
|
425
424
|
|
package/builder.js
CHANGED
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.JsonLdBuilder = void 0;
|
|
11
11
|
exports.createJsonLdBuilder = createJsonLdBuilder;
|
|
12
|
+
const builder_utils_1 = require("./builder-utils");
|
|
12
13
|
const config_1 = require("./config");
|
|
13
14
|
const jsonld_utils_1 = require("./jsonld-utils");
|
|
14
|
-
const builder_utils_1 = require("./builder-utils");
|
|
15
15
|
/**
|
|
16
16
|
* Mutable builder class that extends config builder with automatic method delegation
|
|
17
17
|
*/
|
package/esm/builder.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* Supports runtime overrides and maintains the complex filtering logic from
|
|
6
6
|
* the current head-manager system.
|
|
7
7
|
*/
|
|
8
|
+
import { applyPopulateConfig, buildPropertyFilterConfig, filterJsonLdGraph, validateRuntimeConfig, } from './builder-utils';
|
|
8
9
|
import { JsonLdConfigBuilder } from './config';
|
|
9
10
|
import { extractSubgraphs, filterGraphProperties } from './jsonld-utils';
|
|
10
|
-
import { applyPopulateConfig, buildPropertyFilterConfig, filterJsonLdGraph, validateRuntimeConfig, } from './builder-utils';
|
|
11
11
|
/**
|
|
12
12
|
* Mutable builder class that extends config builder with automatic method delegation
|
|
13
13
|
*/
|
package/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { createJsonLdConfig, JsonLdConfigBuilder } from './config';
|
|
2
1
|
export { createJsonLdBuilder, JsonLdBuilder } from './builder';
|
|
3
|
-
export { extractReferences, extractSubgraph, extractSubgraphWithDepth, extractSubgraphs, filterEntityProperties, filterGraphProperties, findEntities, findEntitiesByType, findEntity, findMissingReferences, findNestedEntities, findOrphans, findReferencingEntities, inlineReferences, } from './jsonld-utils';
|
|
4
2
|
export { filterJsonLdGraph } from './builder-utils';
|
|
3
|
+
export { createJsonLdConfig, JsonLdConfigBuilder } from './config';
|
|
4
|
+
export { extractReferences, extractSubgraph, extractSubgraphs, extractSubgraphWithDepth, filterEntityProperties, filterGraphProperties, findEntities, findEntitiesByType, findEntity, findMissingReferences, findNestedEntities, findOrphans, findReferencingEntities, inlineReferences, } from './jsonld-utils';
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { createJsonLdConfig, JsonLdConfigBuilder } from './config';
|
|
2
1
|
export { createJsonLdBuilder, JsonLdBuilder } from './builder';
|
|
3
|
-
export type { JsonLdConfig, JsonLdFilterOptions, BuildOptions, PopulateConfig } from './types';
|
|
4
|
-
export { type JsonLdEntity, type JsonLdGraph, extractReferences, extractSubgraph, extractSubgraphWithDepth, extractSubgraphs, filterEntityProperties, filterGraphProperties, findEntities, findEntitiesByType, findEntity, findMissingReferences, findNestedEntities, findOrphans, findReferencingEntities, inlineReferences, } from './jsonld-utils';
|
|
5
2
|
export { filterJsonLdGraph } from './builder-utils';
|
|
3
|
+
export { createJsonLdConfig, JsonLdConfigBuilder } from './config';
|
|
4
|
+
export { extractReferences, extractSubgraph, extractSubgraphs, extractSubgraphWithDepth, filterEntityProperties, filterGraphProperties, findEntities, findEntitiesByType, findEntity, findMissingReferences, findNestedEntities, findOrphans, findReferencingEntities, inlineReferences, type JsonLdEntity, type JsonLdGraph, } from './jsonld-utils';
|
|
5
|
+
export type { BuildOptions, JsonLdConfig, JsonLdFilterOptions, PopulateConfig } from './types';
|
package/index.js
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var config_1 = require("./config");
|
|
5
|
-
Object.defineProperty(exports, "createJsonLdConfig", { enumerable: true, get: function () { return config_1.createJsonLdConfig; } });
|
|
6
|
-
Object.defineProperty(exports, "JsonLdConfigBuilder", { enumerable: true, get: function () { return config_1.JsonLdConfigBuilder; } });
|
|
3
|
+
exports.inlineReferences = exports.findReferencingEntities = exports.findOrphans = exports.findNestedEntities = exports.findMissingReferences = exports.findEntity = exports.findEntitiesByType = exports.findEntities = exports.filterGraphProperties = exports.filterEntityProperties = exports.extractSubgraphWithDepth = exports.extractSubgraphs = exports.extractSubgraph = exports.extractReferences = exports.JsonLdConfigBuilder = exports.createJsonLdConfig = exports.filterJsonLdGraph = exports.JsonLdBuilder = exports.createJsonLdBuilder = void 0;
|
|
7
4
|
var builder_1 = require("./builder");
|
|
8
5
|
Object.defineProperty(exports, "createJsonLdBuilder", { enumerable: true, get: function () { return builder_1.createJsonLdBuilder; } });
|
|
9
6
|
Object.defineProperty(exports, "JsonLdBuilder", { enumerable: true, get: function () { return builder_1.JsonLdBuilder; } });
|
|
7
|
+
var builder_utils_1 = require("./builder-utils");
|
|
8
|
+
Object.defineProperty(exports, "filterJsonLdGraph", { enumerable: true, get: function () { return builder_utils_1.filterJsonLdGraph; } });
|
|
9
|
+
var config_1 = require("./config");
|
|
10
|
+
Object.defineProperty(exports, "createJsonLdConfig", { enumerable: true, get: function () { return config_1.createJsonLdConfig; } });
|
|
11
|
+
Object.defineProperty(exports, "JsonLdConfigBuilder", { enumerable: true, get: function () { return config_1.JsonLdConfigBuilder; } });
|
|
10
12
|
var jsonld_utils_1 = require("./jsonld-utils");
|
|
11
13
|
Object.defineProperty(exports, "extractReferences", { enumerable: true, get: function () { return jsonld_utils_1.extractReferences; } });
|
|
12
14
|
Object.defineProperty(exports, "extractSubgraph", { enumerable: true, get: function () { return jsonld_utils_1.extractSubgraph; } });
|
|
13
|
-
Object.defineProperty(exports, "extractSubgraphWithDepth", { enumerable: true, get: function () { return jsonld_utils_1.extractSubgraphWithDepth; } });
|
|
14
15
|
Object.defineProperty(exports, "extractSubgraphs", { enumerable: true, get: function () { return jsonld_utils_1.extractSubgraphs; } });
|
|
16
|
+
Object.defineProperty(exports, "extractSubgraphWithDepth", { enumerable: true, get: function () { return jsonld_utils_1.extractSubgraphWithDepth; } });
|
|
15
17
|
Object.defineProperty(exports, "filterEntityProperties", { enumerable: true, get: function () { return jsonld_utils_1.filterEntityProperties; } });
|
|
16
18
|
Object.defineProperty(exports, "filterGraphProperties", { enumerable: true, get: function () { return jsonld_utils_1.filterGraphProperties; } });
|
|
17
19
|
Object.defineProperty(exports, "findEntities", { enumerable: true, get: function () { return jsonld_utils_1.findEntities; } });
|
|
@@ -22,5 +24,3 @@ Object.defineProperty(exports, "findNestedEntities", { enumerable: true, get: fu
|
|
|
22
24
|
Object.defineProperty(exports, "findOrphans", { enumerable: true, get: function () { return jsonld_utils_1.findOrphans; } });
|
|
23
25
|
Object.defineProperty(exports, "findReferencingEntities", { enumerable: true, get: function () { return jsonld_utils_1.findReferencingEntities; } });
|
|
24
26
|
Object.defineProperty(exports, "inlineReferences", { enumerable: true, get: function () { return jsonld_utils_1.inlineReferences; } });
|
|
25
|
-
var builder_utils_1 = require("./builder-utils");
|
|
26
|
-
Object.defineProperty(exports, "filterJsonLdGraph", { enumerable: true, get: function () { return builder_utils_1.filterJsonLdGraph; } });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jsonldjs",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Powerful JSON-LD builder with comprehensive filtering and subgraph extraction",
|
|
5
5
|
"author": "Constructive <developers@constructive.io>",
|
|
6
6
|
"homepage": "https://github.com/constructive-io/dev-utils",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"bugs": {
|
|
35
35
|
"url": "https://github.com/constructive-io/dev-utils/issues"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "2985d68020ec7d1eeae9a839bdb7ebb68727dd55"
|
|
38
38
|
}
|