@open-resource-discovery/specification 1.12.3 → 1.14.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.
- package/README.md +4 -10
- package/dist/generated/spec/v1/schemas/{configuration.schema.json → Configuration.schema.json} +20 -24
- package/dist/generated/spec/v1/schemas/{document.schema.json → Document.schema.json} +1134 -355
- package/dist/generated/spec/v1/types/{configuration.d.ts → Configuration.d.ts} +13 -21
- package/dist/generated/spec/v1/types/Configuration.js +4 -0
- package/dist/generated/spec/v1/types/{document.d.ts → Document.d.ts} +566 -130
- package/dist/generated/spec/v1/types/Document.js +4 -0
- package/dist/generated/spec/v1/types/index.d.ts +2 -2
- package/dist/generated/spec/v1/types/index.js +3 -2
- package/dist/index.js +3 -2
- package/package.json +29 -18
- package/dist/generated/spec/v1/types/configuration.js +0 -3
- package/dist/generated/spec/v1/types/document.js +0 -3
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// AUTO-GENERATED definition files. Do not modify directly.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRG9jdW1lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL3NwZWMvdjEvdHlwZXMvRG9jdW1lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLDJEQUEyRCJ9
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./
|
|
1
|
+
export * from "./Configuration";
|
|
2
|
+
export * from "./Document";
|
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
18
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./Configuration"), exports);
|
|
18
|
+
__exportStar(require("./Document"), exports);
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL3NwZWMvdjEvdHlwZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLGtEQUFnQztBQUNoQyw2Q0FBMkIifQ==
|
package/dist/index.js
CHANGED
|
@@ -37,8 +37,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ordConfigurationSchema = exports.ordDocumentSchema = void 0;
|
|
40
|
-
const staticDocumentSchema = __importStar(require("./generated/spec/v1/schemas/
|
|
41
|
-
const staticConfigurationSchema = __importStar(require("./generated/spec/v1/schemas/
|
|
40
|
+
const staticDocumentSchema = __importStar(require("./generated/spec/v1/schemas/Document.schema.json"));
|
|
41
|
+
const staticConfigurationSchema = __importStar(require("./generated/spec/v1/schemas/Configuration.schema.json"));
|
|
42
42
|
__exportStar(require("./generated/spec/v1/types"), exports);
|
|
43
43
|
/**
|
|
44
44
|
* The JSON Schema (draft-07) describing the ORD Document interface
|
|
@@ -48,3 +48,4 @@ exports.ordDocumentSchema = staticDocumentSchema;
|
|
|
48
48
|
* The JSON Schema (draft-07) describing the ORD Configuration interface
|
|
49
49
|
*/
|
|
50
50
|
exports.ordConfigurationSchema = staticConfigurationSchema;
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsdUdBQXlGO0FBQ3pGLGlIQUFtRztBQUduRyw0REFBMEM7QUFFMUM7O0dBRUc7QUFDVSxRQUFBLGlCQUFpQixHQUFHLG9CQUFxRCxDQUFDO0FBRXZGOztHQUVHO0FBQ1UsUUFBQSxzQkFBc0IsR0FBRyx5QkFBMEQsQ0FBQyJ9
|
package/package.json
CHANGED
|
@@ -1,43 +1,54 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json.schemastore.org/package",
|
|
3
3
|
"name": "@open-resource-discovery/specification",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.14.0",
|
|
5
5
|
"description": "Open Resource Discovery (ORD) Specification",
|
|
6
6
|
"author": "SAP SE",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
|
+
"main": "dist/index.js",
|
|
9
|
+
"types": "dist/index.d.ts",
|
|
10
|
+
"engines": {
|
|
11
|
+
"node": ">=22.0.0",
|
|
12
|
+
"npm": ">=10.0.0"
|
|
13
|
+
},
|
|
8
14
|
"repository": {
|
|
9
15
|
"type": "git",
|
|
10
16
|
"url": "git+https://github.com/open-resource-discovery/specification.git"
|
|
11
17
|
},
|
|
12
18
|
"files": [
|
|
13
|
-
"
|
|
14
|
-
"dist/
|
|
19
|
+
"README.md",
|
|
20
|
+
"dist/index.js",
|
|
21
|
+
"dist/index.d.ts",
|
|
15
22
|
"dist/generated/spec/v1"
|
|
16
23
|
],
|
|
17
|
-
"types": "dist/index.d.ts",
|
|
18
|
-
"main": "dist/index.js",
|
|
19
24
|
"scripts": {
|
|
20
25
|
"docusaurus": "docusaurus",
|
|
21
|
-
"build": "npm run build-
|
|
22
|
-
"clean": "
|
|
26
|
+
"build": "npm run generate && npm run build-ts && npm run build-docusaurus",
|
|
27
|
+
"clean": "node src/helper/clean.mjs",
|
|
28
|
+
"build-ts": "tsc -p ./tsconfig.json",
|
|
23
29
|
"build-docusaurus": "docusaurus build",
|
|
24
30
|
"serve": "docusaurus serve",
|
|
25
31
|
"start": "docusaurus start",
|
|
26
|
-
"deploy": "npm run build && gh-pages -d ./build"
|
|
32
|
+
"deploy": "npm run build && gh-pages -d ./build",
|
|
33
|
+
"pregenerate": "npm run clean",
|
|
34
|
+
"generate": "npx @open-resource-discovery/spec-toolkit -c ./spec-toolkit.config.json",
|
|
35
|
+
"postgenerate": "ts-node ./src/helper/copyGeneratedToDestination.ts"
|
|
27
36
|
},
|
|
28
37
|
"devDependencies": {
|
|
29
|
-
"@docusaurus/core": "3.
|
|
30
|
-
"@docusaurus/
|
|
31
|
-
"@docusaurus/
|
|
32
|
-
"@
|
|
38
|
+
"@docusaurus/core": "3.9.2",
|
|
39
|
+
"@docusaurus/plugin-client-redirects": "3.9.2",
|
|
40
|
+
"@docusaurus/preset-classic": "3.9.2",
|
|
41
|
+
"@docusaurus/theme-mermaid": "3.9.2",
|
|
42
|
+
"@easyops-cn/docusaurus-search-local": "0.52.2",
|
|
33
43
|
"@mdx-js/react": "3.1.1",
|
|
44
|
+
"@open-resource-discovery/spec-toolkit": "0.7.0",
|
|
45
|
+
"@types/fs-extra": "11.0.4",
|
|
34
46
|
"clsx": "2.1.1",
|
|
47
|
+
"fs-extra": "11.3.3",
|
|
48
|
+
"lefthook": "2.0.15",
|
|
35
49
|
"prism-react-renderer": "2.4.1",
|
|
36
50
|
"react": "18.3.1",
|
|
37
|
-
"react-dom": "18.3.1"
|
|
38
|
-
|
|
39
|
-
"engines": {
|
|
40
|
-
"node": ">=20.0.0",
|
|
41
|
-
"npm": ">=10.0.0"
|
|
51
|
+
"react-dom": "18.3.1",
|
|
52
|
+
"ts-node": "10.9.2"
|
|
42
53
|
}
|
|
43
|
-
}
|
|
54
|
+
}
|