@lde/dataset-registry-client 0.9.0 → 0.9.2

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 CHANGED
@@ -1,3 +1,13 @@
1
- # Dataset registry Client
1
+ # @lde/dataset-registry-client
2
2
 
3
3
  A client for registries that contain [DCAT-AP 3.0](https://semiceu.github.io/DCAT-AP/releases/3.0.0/) dataset descriptions.
4
+
5
+ ## Installation
6
+
7
+ ```sh
8
+ npm install @lde/dataset-registry-client
9
+ ```
10
+
11
+ ## Documentation
12
+
13
+ See the [full documentation](https://ldelements.org/reference/dataset-registry-client).
package/dist/client.d.ts CHANGED
@@ -24,6 +24,7 @@ export declare class Client {
24
24
  };
25
25
  readonly license: {
26
26
  readonly '@id': "dcterms:license";
27
+ readonly '@type': "ldkit:IRI";
27
28
  readonly '@optional': true;
28
29
  };
29
30
  readonly creator: {
@@ -52,9 +53,13 @@ export declare class Client {
52
53
  readonly '@array': true;
53
54
  readonly '@schema': {
54
55
  readonly '@type': "dcat:Distribution";
55
- readonly accessURL: "dcat:accessURL";
56
+ readonly accessURL: {
57
+ readonly '@id': "dcat:accessURL";
58
+ readonly '@type': "ldkit:IRI";
59
+ };
56
60
  readonly mediaType: {
57
61
  readonly '@id': "dcat:mediaType";
62
+ readonly '@type': "ldkit:IRI";
58
63
  readonly '@optional': true;
59
64
  };
60
65
  readonly byteSize: {
@@ -64,10 +69,12 @@ export declare class Client {
64
69
  };
65
70
  readonly compressFormat: {
66
71
  readonly '@id': "dcat:compressFormat";
72
+ readonly '@type': "ldkit:IRI";
67
73
  readonly '@optional': true;
68
74
  };
69
75
  readonly conformsTo: {
70
76
  readonly '@id': "dcterms:conformsTo";
77
+ readonly '@type': "ldkit:IRI";
71
78
  readonly '@optional': true;
72
79
  };
73
80
  readonly modified: {
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAA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;;;;KAAgB;IAGlC,KAAK,CAAC,QAAQ,EAAE,cAAc,GAAG,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAC5D,KAAK,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;CAoFlE"}
package/dist/schema.d.ts CHANGED
@@ -16,6 +16,7 @@ export declare const DatasetSchema: {
16
16
  };
17
17
  readonly license: {
18
18
  readonly '@id': "dcterms:license";
19
+ readonly '@type': "ldkit:IRI";
19
20
  readonly '@optional': true;
20
21
  };
21
22
  readonly creator: {
@@ -44,9 +45,13 @@ export declare const DatasetSchema: {
44
45
  readonly '@array': true;
45
46
  readonly '@schema': {
46
47
  readonly '@type': "dcat:Distribution";
47
- readonly accessURL: "dcat:accessURL";
48
+ readonly accessURL: {
49
+ readonly '@id': "dcat:accessURL";
50
+ readonly '@type': "ldkit:IRI";
51
+ };
48
52
  readonly mediaType: {
49
53
  readonly '@id': "dcat:mediaType";
54
+ readonly '@type': "ldkit:IRI";
50
55
  readonly '@optional': true;
51
56
  };
52
57
  readonly byteSize: {
@@ -56,10 +61,12 @@ export declare const DatasetSchema: {
56
61
  };
57
62
  readonly compressFormat: {
58
63
  readonly '@id': "dcat:compressFormat";
64
+ readonly '@type': "ldkit:IRI";
59
65
  readonly '@optional': true;
60
66
  };
61
67
  readonly conformsTo: {
62
68
  readonly '@id': "dcterms:conformsTo";
69
+ readonly '@type': "ldkit:IRI";
63
70
  readonly '@optional': true;
64
71
  };
65
72
  readonly modified: {
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuEhB,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8EhB,CAAC"}
package/dist/schema.js CHANGED
@@ -1,4 +1,4 @@
1
- import { dcterms, foaf, xsd } from 'ldkit/namespaces';
1
+ import { dcterms, foaf, ldkit, xsd } from 'ldkit/namespaces';
2
2
  import { dcat } from './dcat.js';
3
3
  export const DatasetSchema = {
4
4
  '@type': dcat.Dataset,
@@ -18,6 +18,7 @@ export const DatasetSchema = {
18
18
  },
19
19
  license: {
20
20
  '@id': dcterms.license,
21
+ '@type': ldkit.IRI,
21
22
  '@optional': true,
22
23
  },
23
24
  creator: {
@@ -46,9 +47,13 @@ export const DatasetSchema = {
46
47
  '@array': true,
47
48
  '@schema': {
48
49
  '@type': dcat.Distribution,
49
- accessURL: dcat.accessURL,
50
+ accessURL: {
51
+ '@id': dcat.accessURL,
52
+ '@type': ldkit.IRI,
53
+ },
50
54
  mediaType: {
51
55
  '@id': dcat.mediaType,
56
+ '@type': ldkit.IRI,
52
57
  '@optional': true,
53
58
  },
54
59
  byteSize: {
@@ -58,10 +63,12 @@ export const DatasetSchema = {
58
63
  },
59
64
  compressFormat: {
60
65
  '@id': dcat.compressFormat,
66
+ '@type': ldkit.IRI,
61
67
  '@optional': true,
62
68
  },
63
69
  conformsTo: {
64
70
  '@id': dcterms.conformsTo,
71
+ '@type': ldkit.IRI,
65
72
  '@optional': true,
66
73
  },
67
74
  modified: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lde/dataset-registry-client",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "repository": {
5
5
  "url": "git+https://github.com/ldelements/lde.git",
6
6
  "directory": "packages/dataset-registry-client"
@@ -24,10 +24,10 @@
24
24
  "!**/*.tsbuildinfo"
25
25
  ],
26
26
  "dependencies": {
27
- "@lde/dataset": "^0.7.8",
27
+ "@lde/dataset": "^0.7.9",
28
28
  "@traqula/generator-sparql-1-1": "^1.1.8",
29
- "@traqula/parser-sparql-1-1": "^1.1.5",
30
- "@traqula/rules-sparql-1-1": "^1.1.0",
29
+ "@traqula/parser-sparql-1-1": "^1.2.0",
30
+ "@traqula/rules-sparql-1-1": "^1.2.0",
31
31
  "ldkit": "^2.7.1",
32
32
  "tslib": "^2.3.0"
33
33
  },