@oslo-flanders/core 0.0.17-alpha.0 → 0.0.18-alpha.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/index.d.ts CHANGED
@@ -10,6 +10,7 @@ export * from './lib/store/QuadStore';
10
10
  export * from './lib/ServiceIdentifier';
11
11
  export * from './lib/enums/Scope';
12
12
  export * from './lib/enums/PropertyTypes';
13
+ export * from './lib/enums/specificationType';
13
14
  export * from './lib/logging/LogLevel';
14
15
  export * from './lib/logging/Logger';
15
16
  export * from './lib/logging/VoidLogger';
package/index.js CHANGED
@@ -26,6 +26,7 @@ __exportStar(require("./lib/store/QuadStore"), exports);
26
26
  __exportStar(require("./lib/ServiceIdentifier"), exports);
27
27
  __exportStar(require("./lib/enums/Scope"), exports);
28
28
  __exportStar(require("./lib/enums/PropertyTypes"), exports);
29
+ __exportStar(require("./lib/enums/specificationType"), exports);
29
30
  __exportStar(require("./lib/logging/LogLevel"), exports);
30
31
  __exportStar(require("./lib/logging/Logger"), exports);
31
32
  __exportStar(require("./lib/logging/VoidLogger"), exports);
@@ -0,0 +1,4 @@
1
+ export declare enum SpecificationType {
2
+ ApplicationProfile = 0,
3
+ Vocabulary = 1
4
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SpecificationType = void 0;
4
+ var SpecificationType;
5
+ (function (SpecificationType) {
6
+ SpecificationType[SpecificationType["ApplicationProfile"] = 0] = "ApplicationProfile";
7
+ SpecificationType[SpecificationType["Vocabulary"] = 1] = "Vocabulary";
8
+ })(SpecificationType || (exports.SpecificationType = SpecificationType = {}));
9
+ //# sourceMappingURL=specificationType.js.map
@@ -311,7 +311,7 @@ let QuadStore = class QuadStore {
311
311
  * @returns An RDF.Term or undefined if not found
312
312
  */
313
313
  getStatus(subject, graph = null) {
314
- return (this.store.getObjects(subject, namespaces_1.ns.oslo('status'), graph).shift());
314
+ return (this.store.getObjects(subject, namespaces_1.ns.adms('status'), graph).shift());
315
315
  }
316
316
  };
317
317
  exports.QuadStore = QuadStore;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslo-flanders/core",
3
- "version": "0.0.17-alpha.0",
3
+ "version": "0.0.18-alpha.0",
4
4
  "description": "Core interfaces and utilities",
5
5
  "author": "Digitaal Vlaanderen <https://data.vlaanderen.be/id/organisatie/OVO002949>",
6
6
  "homepage": "https://github.com/informatievlaanderen/OSLO-UML-Transformer/tree/main/packages/oslo-core#readme",