@lde/sparql-importer 0.6.13 → 0.8.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/dist/index.d.ts CHANGED
@@ -30,7 +30,23 @@ export declare class ImportSuccessful {
30
30
  readonly identifier?: string | undefined;
31
31
  readonly tripleCount?: number | undefined;
32
32
  readonly warnings: string[];
33
- constructor(distribution: Distribution, identifier?: string | undefined, tripleCount?: number | undefined, warnings?: string[]);
33
+ /** The engine that built the imported data, when the importer can tell.
34
+ * For a cached index this is the engine that built it, which may differ
35
+ * from the one that serves it. */
36
+ readonly engine?: Engine | undefined;
37
+ constructor(distribution: Distribution, identifier?: string | undefined, tripleCount?: number | undefined, warnings?: string[],
38
+ /** The engine that built the imported data, when the importer can tell.
39
+ * For a cached index this is the engine that built it, which may differ
40
+ * from the one that serves it. */
41
+ engine?: Engine | undefined);
42
+ }
43
+ /** A store engine, identified as precisely as it identifies itself. */
44
+ export interface Engine {
45
+ /** Human-readable name, e.g. `QLever`. */
46
+ readonly name: string;
47
+ /** The engine’s own version identifier, such as a release number or a
48
+ * commit hash. */
49
+ readonly version: string;
34
50
  }
35
51
  export declare class ImportFailed {
36
52
  readonly distribution: Distribution;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,6EAA6E;AAC7E,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAChC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,sFAAsF;IACtF,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,QAAQ;IACvB;;;;;;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AAU,CAAC,EAAE,MAAM;aACnB,WAAW,CAAC,EAAE,MAAM;aACpB,QAAQ,EAAE,MAAM,EAAE;IAClC;;uCAEmC;aACnB,MAAM,CAAC,EAAE,MAAM;gBAPf,YAAY,EAAE,YAAY,EAC1B,UAAU,CAAC,EAAE,MAAM,YAAA,EACnB,WAAW,CAAC,EAAE,MAAM,YAAA,EACpB,QAAQ,GAAE,MAAM,EAAO;IACvC;;uCAEmC;IACnB,MAAM,CAAC,EAAE,MAAM,YAAA;CAElC;AAED,uEAAuE;AACvE,MAAM,WAAW,MAAM;IACrB,0CAA0C;IAC1C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;uBACmB;IACnB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,YAAY;aAEL,YAAY,EAAE,YAAY;aAC1B,KAAK,EAAE,MAAM;gBADb,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,MAAM;CAEhC;AAED,qBAAa,YAAY;aACK,YAAY,CAAC,EAAE,YAAY;gBAA3B,YAAY,CAAC,EAAE,YAAY,YAAA;CACxD"}
package/dist/index.js CHANGED
@@ -3,11 +3,17 @@ export class ImportSuccessful {
3
3
  identifier;
4
4
  tripleCount;
5
5
  warnings;
6
- constructor(distribution, identifier, tripleCount, warnings = []) {
6
+ engine;
7
+ constructor(distribution, identifier, tripleCount, warnings = [],
8
+ /** The engine that built the imported data, when the importer can tell.
9
+ * For a cached index this is the engine that built it, which may differ
10
+ * from the one that serves it. */
11
+ engine) {
7
12
  this.distribution = distribution;
8
13
  this.identifier = identifier;
9
14
  this.tripleCount = tripleCount;
10
15
  this.warnings = warnings;
16
+ this.engine = engine;
11
17
  }
12
18
  }
13
19
  export class ImportFailed {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lde/sparql-importer",
3
- "version": "0.6.13",
3
+ "version": "0.8.0",
4
4
  "repository": {
5
5
  "url": "git+https://github.com/ldelements/lde.git",
6
6
  "directory": "packages/sparql-importer"
@@ -24,9 +24,9 @@
24
24
  "!**/*.tsbuildinfo"
25
25
  ],
26
26
  "dependencies": {
27
- "@lde/dataset": "^0.7.10",
28
- "@lde/distribution-downloader": "^0.6.10",
29
- "@lde/task-runner": "^0.2.16",
27
+ "@lde/dataset": "^0.8.0",
28
+ "@lde/distribution-downloader": "^0.7.0",
29
+ "@lde/task-runner": "^0.3.0",
30
30
  "tslib": "^2.3.0"
31
31
  }
32
32
  }