mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 00:52:55 +00:00
Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
98ab64403f | ||
|
|
3d1bb6ef13 | ||
|
|
d5f39517e8 | ||
|
|
dfe35d71a3 | ||
|
|
cdaa83122f | ||
|
|
937919f1a7 | ||
|
|
3249300dac | ||
|
|
5acf49fd52 | ||
|
|
07b5ad1618 | ||
|
|
d56c3d11a8 | ||
|
|
83f00f40bf | ||
|
|
782ee3758a | ||
|
|
8a28d6fa86 | ||
|
|
ed53c6595e |
35
CHANGELOG.md
35
CHANGELOG.md
@@ -1,3 +1,38 @@
|
|||||||
|
## [0.49.4](https://gitlab.com/openstapps/core/compare/v0.49.3...v0.49.4) (2021-08-27)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* test resources from hds2 ([dfe35d7](https://gitlab.com/openstapps/core/commit/dfe35d71a38c35064726365f99714abff3b30ba6))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [0.49.3](https://gitlab.com/openstapps/core/compare/v0.49.2...v0.49.3) (2021-08-18)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [0.49.2](https://gitlab.com/openstapps/core/compare/v0.49.1...v0.49.2) (2021-08-17)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [0.49.1](https://gitlab.com/openstapps/core/compare/v0.49.0...v0.49.1) (2021-08-13)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* documentation generation ([8a28d6f](https://gitlab.com/openstapps/core/commit/8a28d6fa8657d778d6ae0d38cda7da3531d6478c))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# [0.49.0](https://gitlab.com/openstapps/core/compare/v0.48.0...v0.49.0) (2021-08-12)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* add elasticsearch mappings to build ([21eeecd](https://gitlab.com/openstapps/core/commit/21eeecd5ee0d68a4faa93bb70d2187ce35807b01))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [0.48.0](https://gitlab.com/openstapps/core/compare/v0.47.0...v0.48.0) (2021-07-14)
|
# [0.48.0](https://gitlab.com/openstapps/core/compare/v0.47.0...v0.48.0) (2021-07-14)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@openstapps/core",
|
"name": "@openstapps/core",
|
||||||
"version": "0.49.0",
|
"version": "0.49.5",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@openstapps/core",
|
"name": "@openstapps/core",
|
||||||
"version": "0.49.0",
|
"version": "0.49.5",
|
||||||
"description": "StAppsCore - Generalized model of data",
|
"description": "StAppsCore - Generalized model of data",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Model",
|
"Model",
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'",
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'",
|
||||||
"check-configuration": "openstapps-configuration",
|
"check-configuration": "openstapps-configuration",
|
||||||
"compile": "rimraf lib && tsc",
|
"compile": "rimraf lib && tsc",
|
||||||
"documentation": "typedoc --name \"@openstapps/core\" --includeDeclarations --mode modules --out docs --readme README.md --listInvalidSymbolLinks lib",
|
"documentation": "typedoc --name \"@openstapps/core\" --includeVersion --out docs --readme README.md --listInvalidSymbolLinks src",
|
||||||
"pack": "openstapps-core-tools pack",
|
"pack": "openstapps-core-tools pack",
|
||||||
"postversion": "npm run changelog",
|
"postversion": "npm run changelog",
|
||||||
"prepublishOnly": "npm ci && npm run build",
|
"prepublishOnly": "npm ci && npm run build",
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
"name": "HeBIS HDS",
|
"name": "HeBIS HDS",
|
||||||
"originalId": "HEB198305427",
|
"originalId": "HEB198305427",
|
||||||
"type": "remote",
|
"type": "remote",
|
||||||
"url": "https://hds2test.hebis.de/ubffm/"
|
"url": "https://hds2.hebis.de/ubffm/"
|
||||||
},
|
},
|
||||||
"isPartOf": {
|
"isPartOf": {
|
||||||
"uid": "bc5e5399-a24c-5c01-9c1b-0c8b83272087",
|
"uid": "bc5e5399-a24c-5c01-9c1b-0c8b83272087",
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
"name": "HeBIS HDS",
|
"name": "HeBIS HDS",
|
||||||
"originalId": "HEB107025590",
|
"originalId": "HEB107025590",
|
||||||
"type": "remote",
|
"type": "remote",
|
||||||
"url": "https://hds2test.hebis.de/ubffm/"
|
"url": "https://hds2.hebis.de/ubffm/"
|
||||||
},
|
},
|
||||||
"isPartOf": {
|
"isPartOf": {
|
||||||
"uid": "f84c1851-042e-542f-ba7a-158b32dfb82f",
|
"uid": "f84c1851-042e-542f-ba7a-158b32dfb82f",
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
"name": "HeBIS HDS",
|
"name": "HeBIS HDS",
|
||||||
"originalId": "HEB022992618",
|
"originalId": "HEB022992618",
|
||||||
"type": "remote",
|
"type": "remote",
|
||||||
"url": "https://hds2test.hebis.de/ubffm/"
|
"url": "https://hds2.hebis.de/ubffm/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"schema": "SCBook"
|
"schema": "SCBook"
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
"firstPublished": "2001",
|
"firstPublished": "2001",
|
||||||
"publications": [
|
"publications": [
|
||||||
{
|
{
|
||||||
"uid": "603a6574-8910-588a-9e83-cd26e6988c74",
|
"uid": "6333427c-0725-5398-9a04-11604680dae3",
|
||||||
"type": "publication event",
|
"type": "publication event",
|
||||||
"locations": [
|
"locations": [
|
||||||
"Paris"
|
"Paris"
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
"name": "HeBIS HDS",
|
"name": "HeBIS HDS",
|
||||||
"originalId": "HEB102248788",
|
"originalId": "HEB102248788",
|
||||||
"type": "remote",
|
"type": "remote",
|
||||||
"url": "https://hds2test.hebis.de/ubffm/"
|
"url": "https://hds2.hebis.de/ubffm/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"schema": "SCBook"
|
"schema": "SCBook"
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
"name": "HeBIS HDS",
|
"name": "HeBIS HDS",
|
||||||
"originalId": "HEB046847146",
|
"originalId": "HEB046847146",
|
||||||
"type": "remote",
|
"type": "remote",
|
||||||
"url": "https://hds2test.hebis.de/ubffm/"
|
"url": "https://hds2.hebis.de/ubffm/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"schema": "SCPeriodical"
|
"schema": "SCPeriodical"
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"name": "HeBIS HDS",
|
"name": "HeBIS HDS",
|
||||||
"originalId": "HEB048624853",
|
"originalId": "HEB048624853",
|
||||||
"type": "remote",
|
"type": "remote",
|
||||||
"url": "https://hds2test.hebis.de/ubffm/"
|
"url": "https://hds2.hebis.de/ubffm/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"schema": "SCPeriodical"
|
"schema": "SCPeriodical"
|
||||||
@@ -230,7 +230,7 @@ export class SchemaSpec {
|
|||||||
fail(`'${thingName}'#'${property.name}' union type '${nestedType.type}' is not handled by this test!`);
|
fail(`'${thingName}'#'${property.name}' union type '${nestedType.type}' is not handled by this test!`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
for (const thingName of SchemaSpec.thingNames) {
|
for (const thingName of SchemaSpec.thingNames) {
|
||||||
const thingReflection = SchemaSpec.objects[`${thingName}`];
|
const thingReflection = SchemaSpec.objects[`${thingName}`];
|
||||||
@@ -318,7 +318,10 @@ export class SchemaSpec {
|
|||||||
|
|
||||||
@test
|
@test
|
||||||
async 'validate against test files'() {
|
async 'validate against test files'() {
|
||||||
const errorsPerFile = await validateFiles(resolve('lib', 'schema'), resolve('test', 'resources'));
|
const errorsPerFile = {
|
||||||
|
...await validateFiles(resolve('lib', 'schema'), resolve('test', 'resources')),
|
||||||
|
...await validateFiles(resolve('lib', 'schema'), resolve('test', 'resources', 'indexable')),
|
||||||
|
};
|
||||||
|
|
||||||
let unexpected = false;
|
let unexpected = false;
|
||||||
Object.keys(errorsPerFile).forEach((file) => {
|
Object.keys(errorsPerFile).forEach((file) => {
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"extends": "./node_modules/@openstapps/configuration/tslint.json",
|
"extends": "./node_modules/@openstapps/configuration/tslint.json",
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-empty-interface": false
|
"no-empty-interface": false,
|
||||||
|
"no-redundant-jsdoc": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user