@_linked/core 2.18.1 → 2.20.1
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/CHANGELOG.md +63 -0
- package/README.md +104 -3
- package/lib/esm/index.d.ts +3 -0
- package/lib/esm/index.js +1 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/interfaces/IDataset.d.ts +23 -0
- package/lib/esm/interfaces/IFileStore.d.ts +64 -1
- package/lib/esm/interfaces/IFileStore.js +21 -1
- package/lib/esm/interfaces/IFileStore.js.map +1 -1
- package/lib/esm/queries/CountBuilder.d.ts +69 -0
- package/lib/esm/queries/CountBuilder.js +162 -0
- package/lib/esm/queries/CountBuilder.js.map +1 -0
- package/lib/esm/queries/CountQuery.d.ts +80 -0
- package/lib/esm/queries/CountQuery.js +7 -0
- package/lib/esm/queries/CountQuery.js.map +1 -0
- package/lib/esm/queries/IntermediateRepresentation.d.ts +31 -1
- package/lib/esm/queries/QueryBuilder.d.ts +80 -0
- package/lib/esm/queries/QueryBuilder.js +98 -13
- package/lib/esm/queries/QueryBuilder.js.map +1 -1
- package/lib/esm/queries/fromJSON.d.ts +5 -3
- package/lib/esm/queries/fromJSON.js +4 -1
- package/lib/esm/queries/fromJSON.js.map +1 -1
- package/lib/esm/queries/lower.d.ts +17 -2
- package/lib/esm/queries/lower.js +61 -0
- package/lib/esm/queries/lower.js.map +1 -1
- package/lib/esm/queries/queryDispatch.d.ts +35 -0
- package/lib/esm/queries/queryDispatch.js +36 -0
- package/lib/esm/queries/queryDispatch.js.map +1 -1
- package/lib/esm/shapes/Shape.d.ts +32 -0
- package/lib/esm/shapes/Shape.js +47 -0
- package/lib/esm/shapes/Shape.js.map +1 -1
- package/lib/esm/sparql/SparqlDataset.d.ts +11 -0
- package/lib/esm/sparql/SparqlDataset.js +19 -2
- package/lib/esm/sparql/SparqlDataset.js.map +1 -1
- package/lib/esm/sparql/index.d.ts +3 -3
- package/lib/esm/sparql/index.js +3 -3
- package/lib/esm/sparql/index.js.map +1 -1
- package/lib/esm/sparql/irToAlgebra.d.ts +32 -1
- package/lib/esm/sparql/irToAlgebra.js +74 -0
- package/lib/esm/sparql/irToAlgebra.js.map +1 -1
- package/lib/esm/sparql/resultMapping.d.ts +14 -1
- package/lib/esm/sparql/resultMapping.js +40 -0
- package/lib/esm/sparql/resultMapping.js.map +1 -1
- package/lib/esm/utils/LinkedFileStorage.d.ts +96 -3
- package/lib/esm/utils/LinkedFileStorage.js +164 -12
- package/lib/esm/utils/LinkedFileStorage.js.map +1 -1
- package/package.json +3 -2
|
@@ -1,39 +1,191 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Well-known file store purposes shipped with core.
|
|
3
|
+
*
|
|
4
|
+
* Core itself never writes to `appAssets`; it lives here as the documented
|
|
5
|
+
* convention (plan 011 D4) so the CLI and apps agree on the same key without a
|
|
6
|
+
* shared runtime dependency. Any *new* purpose's constant belongs in the
|
|
7
|
+
* runtime package that owns the concept, not here and not in the CLI.
|
|
8
|
+
*/
|
|
9
|
+
export const FileStorePurposes = {
|
|
10
|
+
/** User-generated files. Resolves to the default store unless split out. */
|
|
11
|
+
uploads: 'uploads',
|
|
12
|
+
/** Built app bundles published by `linked build-app`. */
|
|
13
|
+
appAssets: 'appAssets',
|
|
14
|
+
};
|
|
1
15
|
export class LinkedFileStorage {
|
|
2
16
|
static get accessURL() {
|
|
3
17
|
// check if default store is not set, return default accessURL
|
|
4
|
-
if (!this.
|
|
18
|
+
if (!this.defaultStore) {
|
|
5
19
|
return this.url;
|
|
6
20
|
}
|
|
7
|
-
return this.
|
|
21
|
+
return this.defaultStore.accessURL;
|
|
8
22
|
}
|
|
9
23
|
static setDefaultAccessURL(accessURL) {
|
|
10
24
|
return (this.url = accessURL);
|
|
11
25
|
}
|
|
26
|
+
static getDefaultStore() {
|
|
27
|
+
return this.defaultStore;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Configure the default store: the fallback for *every* purpose, `uploads`
|
|
31
|
+
* included.
|
|
32
|
+
*
|
|
33
|
+
* It deliberately writes no entry into the purpose → store map, so `uploads`
|
|
34
|
+
* behaves exactly like `appAssets`: an explicit `setStore('uploads', other)`
|
|
35
|
+
* wins whenever it is called, before or after this, and `hasStore('uploads')`
|
|
36
|
+
* stays false until such a call is made.
|
|
37
|
+
*/
|
|
38
|
+
static setDefaultStore(store) {
|
|
39
|
+
this.defaultStore = store;
|
|
40
|
+
if (this.defaultStore.init) {
|
|
41
|
+
this.defaultStore.init();
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
/** @deprecated use {@link LinkedFileStorage.getDefaultStore} */
|
|
12
45
|
static getDefaultDataset() {
|
|
13
|
-
return this.
|
|
46
|
+
return this.getDefaultStore();
|
|
14
47
|
}
|
|
48
|
+
/** @deprecated use {@link LinkedFileStorage.setDefaultStore} */
|
|
15
49
|
static setDefaultDataset(dataset) {
|
|
16
|
-
this.
|
|
17
|
-
|
|
18
|
-
|
|
50
|
+
this.setDefaultStore(dataset);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Declare a purpose without configuring a store for it.
|
|
54
|
+
*
|
|
55
|
+
* A package that *reads* a purpose the app may leave unconfigured registers
|
|
56
|
+
* it in the same module that exports its constant, so importing the constant
|
|
57
|
+
* is the registration and ordering resolves itself.
|
|
58
|
+
*/
|
|
59
|
+
static registerPurpose(purpose, info = {}) {
|
|
60
|
+
var _a;
|
|
61
|
+
const existing = this.purposes.get(purpose);
|
|
62
|
+
// Keep an existing description rather than blanking it on a re-register.
|
|
63
|
+
this.purposes.set(purpose, {
|
|
64
|
+
description: (_a = info.description) !== null && _a !== void 0 ? _a : existing === null || existing === void 0 ? void 0 : existing.description,
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
/** Configure the store for a purpose. Also registers the purpose. */
|
|
68
|
+
static setStore(purpose, store) {
|
|
69
|
+
this.registerPurpose(purpose);
|
|
70
|
+
this.stores.set(purpose, store);
|
|
71
|
+
if (store.init) {
|
|
72
|
+
store.init();
|
|
19
73
|
}
|
|
20
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* Resolve the store for a purpose (plan 011 D2):
|
|
77
|
+
* - configured → that store;
|
|
78
|
+
* - registered, not configured → the default store, logged once;
|
|
79
|
+
* - not registered → throws.
|
|
80
|
+
*
|
|
81
|
+
* Unregistered throws on purpose: only a registry can tell "the app did not
|
|
82
|
+
* split this purpose out" apart from a typo. Without it, `'appAsset'` would
|
|
83
|
+
* silently write release bundles into the uploads store.
|
|
84
|
+
*
|
|
85
|
+
* The returned store is a **live reference**, resolved once at call time. A
|
|
86
|
+
* caller that holds on to a store returned through the default-store fallback
|
|
87
|
+
* keeps that object even after a later `setStore(purpose, other)`; call
|
|
88
|
+
* `getStore` again per operation if the configuration can change at runtime.
|
|
89
|
+
*/
|
|
90
|
+
static getStore(purpose) {
|
|
91
|
+
const configured = this.stores.get(purpose);
|
|
92
|
+
if (configured) {
|
|
93
|
+
return configured;
|
|
94
|
+
}
|
|
95
|
+
if (!this.purposes.has(purpose)) {
|
|
96
|
+
throw new Error(`Unknown file store purpose '${purpose}'. Register it with LinkedFileStorage.setStore(), ` +
|
|
97
|
+
`or import the package that defines it. Known purposes: ${this.listPurposes()
|
|
98
|
+
.map((entry) => entry.purpose)
|
|
99
|
+
.join(', ') || '(none)'}`);
|
|
100
|
+
}
|
|
101
|
+
if (!this.defaultStore) {
|
|
102
|
+
throw new Error(`No file store is configured for purpose '${purpose}', and no default store is configured. ` +
|
|
103
|
+
`Call LinkedFileStorage.setStore('${purpose}', store) or LinkedFileStorage.setDefaultStore(store).`);
|
|
104
|
+
}
|
|
105
|
+
if (!this.loggedFallbacks.has(purpose)) {
|
|
106
|
+
this.loggedFallbacks.add(purpose);
|
|
107
|
+
// `debug`, not `info`: falling back is the normal configuration for an
|
|
108
|
+
// app that runs one store, so this must not read as a problem or show up
|
|
109
|
+
// in default-level logs. It stays available when diagnosing which store a
|
|
110
|
+
// purpose actually resolved to.
|
|
111
|
+
console.debug(`[LinkedFileStorage] Purpose '${purpose}' has no dedicated store; using the default store.`);
|
|
112
|
+
}
|
|
113
|
+
return this.defaultStore;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Whether a store was *explicitly configured* for this purpose.
|
|
117
|
+
*
|
|
118
|
+
* The default-store fallback is deliberately ignored: `hasStore(p)` is false
|
|
119
|
+
* while `getStore(p)` still returns a usable store via the default. Use this
|
|
120
|
+
* to ask "did the app split this purpose out?", never as a guard before
|
|
121
|
+
* `getStore` — that would skip a perfectly working fallback.
|
|
122
|
+
*/
|
|
123
|
+
static hasStore(purpose) {
|
|
124
|
+
return this.stores.has(purpose);
|
|
125
|
+
}
|
|
126
|
+
/** Every declared purpose, with whether it has its own store. */
|
|
127
|
+
static listPurposes() {
|
|
128
|
+
return Array.from(this.purposes.entries()).map(([purpose, info]) => ({
|
|
129
|
+
purpose,
|
|
130
|
+
description: info.description,
|
|
131
|
+
configured: this.stores.has(purpose),
|
|
132
|
+
}));
|
|
133
|
+
}
|
|
134
|
+
/** The access URL of the store resolved for this purpose. */
|
|
135
|
+
static accessURLFor(purpose) {
|
|
136
|
+
return this.getStore(purpose).accessURL;
|
|
137
|
+
}
|
|
21
138
|
static deleteFile(filePath) {
|
|
22
|
-
return this.
|
|
139
|
+
return this.defaultStore.deleteFile(filePath);
|
|
23
140
|
}
|
|
24
141
|
static fileExists(filePath) {
|
|
25
|
-
return this.
|
|
142
|
+
return this.defaultStore.fileExists(filePath);
|
|
26
143
|
}
|
|
27
144
|
static getFile(filePath) {
|
|
28
|
-
return this.
|
|
145
|
+
return this.defaultStore.getFile(filePath);
|
|
29
146
|
}
|
|
30
147
|
static listFiles(prefix) {
|
|
31
|
-
return this.
|
|
148
|
+
return this.defaultStore.listFiles(prefix);
|
|
32
149
|
}
|
|
33
|
-
static saveFile(filePath, fileContent,
|
|
34
|
-
|
|
150
|
+
static saveFile(filePath, fileContent, options,
|
|
151
|
+
/**
|
|
152
|
+
* Forwarded exactly as given. No default here on purpose: "unspecified"
|
|
153
|
+
* must reach the store so it can apply its own default.
|
|
154
|
+
*/
|
|
155
|
+
preventDuplicates) {
|
|
156
|
+
return this.defaultStore.saveFile(filePath, fileContent, options, preventDuplicates);
|
|
35
157
|
}
|
|
158
|
+
/**
|
|
159
|
+
* Clears the module-global registry and default store.
|
|
160
|
+
* For tests only — the registry is process-wide state.
|
|
161
|
+
*
|
|
162
|
+
* @internal
|
|
163
|
+
*/
|
|
164
|
+
static resetForTests() {
|
|
165
|
+
this.stores.clear();
|
|
166
|
+
this.purposes.clear();
|
|
167
|
+
this.loggedFallbacks.clear();
|
|
168
|
+
this.defaultStore = undefined;
|
|
169
|
+
this.url = undefined;
|
|
170
|
+
registerWellKnownPurposes();
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
/** Purpose → the store configured for it. */
|
|
174
|
+
LinkedFileStorage.stores = new Map();
|
|
175
|
+
/** Every declared purpose, configured or not. */
|
|
176
|
+
LinkedFileStorage.purposes = new Map();
|
|
177
|
+
/** Purposes already reported as falling back, so the log fires once each. */
|
|
178
|
+
LinkedFileStorage.loggedFallbacks = new Set();
|
|
179
|
+
/** The purposes core ships with are declared at module load. */
|
|
180
|
+
function registerWellKnownPurposes() {
|
|
181
|
+
LinkedFileStorage.registerPurpose(FileStorePurposes.uploads, {
|
|
182
|
+
description: 'User-generated files. Falls back to the default store.',
|
|
183
|
+
});
|
|
184
|
+
LinkedFileStorage.registerPurpose(FileStorePurposes.appAssets, {
|
|
185
|
+
description: 'Built app bundles published by `linked build-app`.',
|
|
186
|
+
});
|
|
36
187
|
}
|
|
188
|
+
registerWellKnownPurposes();
|
|
37
189
|
/**
|
|
38
190
|
* Get the full path of an asset based on the way LinkedFileStorage is configured
|
|
39
191
|
* Returns accessURL + directory (/public by default) + path
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkedFileStorage.js","sourceRoot":"","sources":["../../../src/utils/LinkedFileStorage.ts"],"names":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wE;IACxE,0EAA0E;IAC1E,6CAA6C;IAC7C,IAAI,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC;QAC5F,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,SAAS,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC9C,MAAM,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,IAAI,CAAC;IAC9C,OAAO,QAAQ,CAAC;AAClB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@_linked/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.20.1",
|
|
4
|
+
"packageManager": "npm@11.19.1",
|
|
4
5
|
"license": "MIT",
|
|
5
6
|
"linkedPackage": true,
|
|
6
7
|
"type": "module",
|
|
7
8
|
"description": "Linked.js core query and SHACL shape DSL (copy-then-prune baseline)",
|
|
8
9
|
"repository": {
|
|
9
10
|
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/linked-
|
|
11
|
+
"url": "git+https://github.com/linked-fw/core.git"
|
|
11
12
|
},
|
|
12
13
|
"main": "lib/esm/index.js",
|
|
13
14
|
"module": "lib/esm/index.js",
|