@lde/dataset-registry-client 0.6.16 → 0.7.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/client.d.ts CHANGED
@@ -59,6 +59,10 @@ export declare class Client {
59
59
  readonly '@type': "xsd:nonNegativeInteger";
60
60
  readonly '@optional': true;
61
61
  };
62
+ readonly compressFormat: {
63
+ readonly '@id': "dcat:compressFormat";
64
+ readonly '@optional': true;
65
+ };
62
66
  readonly conformsTo: {
63
67
  readonly '@id': "dcterms:conformsTo";
64
68
  readonly '@optional': true;
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAgB,MAAM,cAAc,CAAC;AAIrD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,qBAAa,MAAM;IAEf,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,MAAM;gBADN,cAAc,EAAE,GAAG,EACnB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAgB;IAGlC,KAAK,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IACpD,KAAK,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;CAoElE"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAgB,MAAM,cAAc,CAAC;AAIrD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,qBAAa,MAAM;IAEf,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,MAAM;gBADN,cAAc,EAAE,GAAG,EACnB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAgB;IAGlC,KAAK,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IACpD,KAAK,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;CAqElE"}
package/dist/client.js CHANGED
@@ -48,6 +48,7 @@ export class Client {
48
48
  distributions: dataset.distribution.map((d) => {
49
49
  const distribution = new Distribution(new URL(d.accessURL), d.mediaType ?? undefined, d.conformsTo ? new URL(d.conformsTo) : undefined);
50
50
  distribution.byteSize = d.byteSize ?? undefined;
51
+ distribution.compressFormat = d.compressFormat ?? undefined;
51
52
  distribution.lastModified = d.modified ?? undefined;
52
53
  return distribution;
53
54
  }),
package/dist/dcat.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export declare const dcat: import("ldkit/namespaces").NamespaceInterface<{
2
2
  readonly iri: "http://www.w3.org/ns/dcat#";
3
3
  readonly prefix: "dcat:";
4
- readonly terms: readonly ["Dataset", "Distribution", "accessURL", "keyword", "mediaType", "byteSize", "distribution", "modified", "downloadURL"];
4
+ readonly terms: readonly ["Dataset", "Distribution", "accessURL", "compressFormat", "keyword", "mediaType", "byteSize", "distribution", "modified", "downloadURL"];
5
5
  }>;
6
6
  //# sourceMappingURL=dcat.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dcat.d.ts","sourceRoot":"","sources":["../src/dcat.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;;;EAcN,CAAC"}
1
+ {"version":3,"file":"dcat.d.ts","sourceRoot":"","sources":["../src/dcat.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;;;EAeN,CAAC"}
package/dist/dcat.js CHANGED
@@ -6,6 +6,7 @@ export const dcat = createNamespace({
6
6
  'Dataset',
7
7
  'Distribution',
8
8
  'accessURL',
9
+ 'compressFormat',
9
10
  'keyword',
10
11
  'mediaType',
11
12
  'byteSize',
package/dist/schema.d.ts CHANGED
@@ -54,6 +54,10 @@ export declare const DatasetSchema: {
54
54
  readonly '@type': "xsd:nonNegativeInteger";
55
55
  readonly '@optional': true;
56
56
  };
57
+ readonly compressFormat: {
58
+ readonly '@id': "dcat:compressFormat";
59
+ readonly '@optional': true;
60
+ };
57
61
  readonly conformsTo: {
58
62
  readonly '@id': "dcterms:conformsTo";
59
63
  readonly '@optional': true;
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmEhB,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuEhB,CAAC"}
package/dist/schema.js CHANGED
@@ -56,6 +56,10 @@ export const DatasetSchema = {
56
56
  '@type': xsd.nonNegativeInteger,
57
57
  '@optional': true,
58
58
  },
59
+ compressFormat: {
60
+ '@id': dcat.compressFormat,
61
+ '@optional': true,
62
+ },
59
63
  conformsTo: {
60
64
  '@id': dcterms.conformsTo,
61
65
  '@optional': true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lde/dataset-registry-client",
3
- "version": "0.6.16",
3
+ "version": "0.7.0",
4
4
  "repository": {
5
5
  "url": "https://github.com/ldengine/lde",
6
6
  "directory": "packages/dataset-registry-client"
@@ -23,10 +23,10 @@
23
23
  "!**/*.tsbuildinfo"
24
24
  ],
25
25
  "dependencies": {
26
- "@lde/dataset": "0.6.9",
27
- "ldkit": "^2.5.2",
28
- "n3": "^1.26.0",
29
- "sparqljs": "^3.7.3",
26
+ "@lde/dataset": "0.7.0",
27
+ "ldkit": "^2.6.0",
28
+ "n3": "^2.0.1",
29
+ "sparqljs": "^3.7.4",
30
30
  "tslib": "^2.3.0"
31
31
  },
32
32
  "devDependencies": {