@undefineds.co/xpod 0.3.18 → 0.3.23
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/config/bun.json +57 -11
- package/config/cloud.json +14 -12
- package/config/local.json +16 -14
- package/config/xpod.json +47 -9
- package/dist/api/matrix/PodMatrixStore.d.ts +4 -7
- package/dist/api/matrix/PodMatrixStore.js +116 -148
- package/dist/api/matrix/PodMatrixStore.js.map +1 -1
- package/dist/api/matrix/types.d.ts +2 -0
- package/dist/api/matrix/types.js.map +1 -1
- package/dist/api/runs/PiAgentRuntimeDriver.d.ts +1 -0
- package/dist/api/runs/PiAgentRuntimeDriver.js +4 -1
- package/dist/api/runs/PiAgentRuntimeDriver.js.map +1 -1
- package/dist/components/components.jsonld +3 -0
- package/dist/components/context.jsonld +71 -32
- package/dist/http/SubgraphSparqlHttpHandler.d.ts +1 -0
- package/dist/http/SubgraphSparqlHttpHandler.js +27 -4
- package/dist/http/SubgraphSparqlHttpHandler.js.map +1 -1
- package/dist/http/SubgraphSparqlHttpHandler.jsonld +4 -0
- package/dist/http/vector/VectorHttpHandler.d.ts +5 -1
- package/dist/http/vector/VectorHttpHandler.js +5 -5
- package/dist/http/vector/VectorHttpHandler.js.map +1 -1
- package/dist/http/vector/VectorHttpHandler.jsonld +40 -28
- package/dist/index.d.ts +5 -2
- package/dist/index.js +9 -4
- package/dist/index.js.map +1 -1
- package/dist/runtime/Proxy.d.ts +3 -0
- package/dist/runtime/Proxy.js +31 -7
- package/dist/runtime/Proxy.js.map +1 -1
- package/dist/solidfs/LocalSolidFS.js +31 -124
- package/dist/solidfs/LocalSolidFS.js.map +1 -1
- package/dist/solidfs/SolidFsPathUtils.d.ts +13 -0
- package/dist/solidfs/SolidFsPathUtils.js +114 -0
- package/dist/solidfs/SolidFsPathUtils.js.map +1 -0
- package/dist/solidfs/SolidFsSyncJournal.d.ts +117 -0
- package/dist/solidfs/SolidFsSyncJournal.js +553 -0
- package/dist/solidfs/SolidFsSyncJournal.js.map +1 -0
- package/dist/solidfs/index.d.ts +1 -0
- package/dist/solidfs/index.js +1 -0
- package/dist/solidfs/index.js.map +1 -1
- package/dist/solidfs/types.d.ts +1 -0
- package/dist/solidfs/types.js.map +1 -1
- package/dist/storage/SparqlUpdateResourceStore.js +94 -33
- package/dist/storage/SparqlUpdateResourceStore.js.map +1 -1
- package/dist/storage/accessors/MixDataAccessor.d.ts +22 -5
- package/dist/storage/accessors/MixDataAccessor.js +376 -61
- package/dist/storage/accessors/MixDataAccessor.js.map +1 -1
- package/dist/storage/accessors/MixDataAccessor.jsonld +73 -5
- package/dist/storage/accessors/QuadstoreSparqlDataAccessor.js +32 -10
- package/dist/storage/accessors/QuadstoreSparqlDataAccessor.js.map +1 -1
- package/dist/storage/accessors/QuintStoreSparqlDataAccessor.js +28 -6
- package/dist/storage/accessors/QuintStoreSparqlDataAccessor.js.map +1 -1
- package/dist/storage/accessors/SolidRdfDataAccessor.d.ts +45 -0
- package/dist/storage/accessors/SolidRdfDataAccessor.js +277 -0
- package/dist/storage/accessors/SolidRdfDataAccessor.js.map +1 -0
- package/dist/storage/accessors/SolidRdfDataAccessor.jsonld +161 -0
- package/dist/storage/rdf/Rdf3xIndex.d.ts +122 -0
- package/dist/storage/rdf/Rdf3xIndex.js +2695 -0
- package/dist/storage/rdf/Rdf3xIndex.js.map +1 -0
- package/dist/storage/rdf/Rdf3xIndex.jsonld +528 -0
- package/dist/storage/rdf/Rdf3xSchema.d.ts +20 -0
- package/dist/storage/rdf/Rdf3xSchema.js +65 -0
- package/dist/storage/rdf/Rdf3xSchema.js.map +1 -0
- package/dist/storage/rdf/RdfLocalQueryEngine.d.ts +10 -4
- package/dist/storage/rdf/RdfLocalQueryEngine.js +607 -127
- package/dist/storage/rdf/RdfLocalQueryEngine.js.map +1 -1
- package/dist/storage/rdf/RdfQuadIndex.d.ts +12 -1
- package/dist/storage/rdf/RdfQuadIndex.js +152 -22
- package/dist/storage/rdf/RdfQuadIndex.js.map +1 -1
- package/dist/storage/rdf/RdfQuadIndex.jsonld +36 -4
- package/dist/storage/rdf/RdfSparqlAdapter.d.ts +20 -2
- package/dist/storage/rdf/RdfSparqlAdapter.js +364 -40
- package/dist/storage/rdf/RdfSparqlAdapter.js.map +1 -1
- package/dist/storage/rdf/RdfSparqlAdapter.jsonld +60 -0
- package/dist/storage/rdf/RdfTermDictionary.d.ts +8 -0
- package/dist/storage/rdf/RdfTermDictionary.js +141 -70
- package/dist/storage/rdf/RdfTermDictionary.js.map +1 -1
- package/dist/storage/rdf/RdfTermDictionary.jsonld +24 -0
- package/dist/storage/rdf/RdfTextIndex.js +10 -3
- package/dist/storage/rdf/RdfTextIndex.js.map +1 -1
- package/dist/storage/rdf/SolidRdfEngine.d.ts +15 -6
- package/dist/storage/rdf/SolidRdfEngine.js +218 -25
- package/dist/storage/rdf/SolidRdfEngine.js.map +1 -1
- package/dist/storage/rdf/SolidRdfEngine.jsonld +70 -7
- package/dist/storage/rdf/SolidRdfSparqlEngine.d.ts +11 -7
- package/dist/storage/rdf/SolidRdfSparqlEngine.js +60 -47
- package/dist/storage/rdf/SolidRdfSparqlEngine.js.map +1 -1
- package/dist/storage/rdf/SolidRdfSparqlEngine.jsonld +9 -5
- package/dist/storage/rdf/index.d.ts +2 -2
- package/dist/storage/rdf/index.js +3 -3
- package/dist/storage/rdf/index.js.map +1 -1
- package/dist/storage/rdf/models-benchmark.d.ts +12 -1
- package/dist/storage/rdf/models-benchmark.js +549 -32
- package/dist/storage/rdf/models-benchmark.js.map +1 -1
- package/dist/storage/rdf/types.d.ts +81 -7
- package/dist/storage/rdf/types.js.map +1 -1
- package/dist/storage/sparql/CompatibilitySparqlEngine.d.ts +36 -0
- package/dist/storage/sparql/CompatibilitySparqlEngine.js +96 -0
- package/dist/storage/sparql/CompatibilitySparqlEngine.js.map +1 -0
- package/dist/storage/sparql/CompatibilitySparqlEngine.jsonld +123 -0
- package/dist/storage/sparql/CompatibilitySparqlEngineImpl.d.ts +35 -0
- package/dist/storage/sparql/CompatibilitySparqlEngineImpl.js +112 -0
- package/dist/storage/sparql/CompatibilitySparqlEngineImpl.js.map +1 -0
- package/dist/storage/sparql/SubgraphQueryEngine.d.ts +1 -36
- package/dist/storage/sparql/SubgraphQueryEngine.js +2 -115
- package/dist/storage/sparql/SubgraphQueryEngine.js.map +1 -1
- package/dist/storage/sparql/SubgraphQueryEngine.jsonld +1 -124
- package/dist/terminal/AclPermissionService.d.ts +2 -1
- package/dist/terminal/AclPermissionService.js +26 -3
- package/dist/terminal/AclPermissionService.js.map +1 -1
- package/dist/terminal/TerminalSessionManager.js +25 -3
- package/dist/terminal/TerminalSessionManager.js.map +1 -1
- package/package.json +1 -1
- package/dist/storage/rdf/Rdf3xTripleIndex.d.ts +0 -55
- package/dist/storage/rdf/Rdf3xTripleIndex.js +0 -1235
- package/dist/storage/rdf/Rdf3xTripleIndex.js.map +0 -1
package/config/bun.json
CHANGED
|
@@ -12,44 +12,90 @@
|
|
|
12
12
|
],
|
|
13
13
|
"@graph": [
|
|
14
14
|
{
|
|
15
|
-
"comment": "
|
|
16
|
-
"@id": "urn:undefineds:xpod:
|
|
17
|
-
"@type": "
|
|
18
|
-
"
|
|
15
|
+
"comment": "Compatibility QuintStore instance (Bun SQLite via SqliteQuintStore runtime abstraction).",
|
|
16
|
+
"@id": "urn:undefineds:xpod:CompatibilityQuintStore",
|
|
17
|
+
"@type": "SqliteQuintStore",
|
|
18
|
+
"options_path": {
|
|
19
19
|
"@id": "urn:solid-server:default:variable:sparqlEndpoint",
|
|
20
20
|
"@type": "Variable"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
"comment": "
|
|
24
|
+
"comment": "Compatibility write bridge that mirrors legacy quints into the term-id RDF index.",
|
|
25
|
+
"@id": "urn:undefineds:xpod:QuintStore",
|
|
26
|
+
"@type": "ShadowRdfQuintStore",
|
|
27
|
+
"compatibilityStore": {
|
|
28
|
+
"@id": "urn:undefineds:xpod:CompatibilityQuintStore"
|
|
29
|
+
},
|
|
30
|
+
"index_path": {
|
|
31
|
+
"@id": "urn:solid-server:default:variable:rdfIndexPath",
|
|
32
|
+
"@type": "Variable"
|
|
33
|
+
},
|
|
34
|
+
"autoOpen": true,
|
|
35
|
+
"autoBackfill_enabled": true,
|
|
36
|
+
"autoBackfill_clear": true,
|
|
37
|
+
"autoBackfill_batchSize": 1000
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"comment": "VectorStore using SQLite through the shared runtime abstraction.",
|
|
25
41
|
"@id": "urn:undefineds:xpod:VectorStore",
|
|
26
|
-
"@type": "
|
|
42
|
+
"@type": "SqliteVectorStore",
|
|
27
43
|
"options_connectionString": {
|
|
28
44
|
"@id": "urn:solid-server:default:variable:sparqlEndpoint",
|
|
29
45
|
"@type": "Variable"
|
|
30
46
|
}
|
|
31
47
|
},
|
|
32
48
|
{
|
|
33
|
-
"comment": "
|
|
34
|
-
"@id": "urn:undefineds:xpod:
|
|
49
|
+
"comment": "RDF term-id query engine backed by the shared local RDF index.",
|
|
50
|
+
"@id": "urn:undefineds:xpod:SolidRdfEngine",
|
|
51
|
+
"@type": "SolidRdfEngine",
|
|
52
|
+
"index_path": {
|
|
53
|
+
"@id": "urn:solid-server:default:variable:rdfIndexPath",
|
|
54
|
+
"@type": "Variable"
|
|
55
|
+
},
|
|
56
|
+
"autoOpen": true
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"comment": "Compatibility SPARQL engine backed by the shadow store; not wired into DefaultSparqlEngine by default.",
|
|
60
|
+
"@id": "urn:undefineds:xpod:CompatibilitySparqlEngine",
|
|
35
61
|
"@type": "QuintstoreSparqlEngine",
|
|
36
62
|
"store": {
|
|
37
63
|
"@id": "urn:undefineds:xpod:QuintStore"
|
|
38
64
|
}
|
|
39
65
|
},
|
|
40
66
|
{
|
|
41
|
-
"comment": "
|
|
67
|
+
"comment": "Default SPARQL engine: server-owned Pod queries use SolidRdfEngine; compatibility fallback is opt-in.",
|
|
68
|
+
"@id": "urn:undefineds:xpod:DefaultSparqlEngine",
|
|
69
|
+
"@type": "SolidRdfSparqlEngine",
|
|
70
|
+
"rdfEngine": {
|
|
71
|
+
"@id": "urn:undefineds:xpod:SolidRdfEngine"
|
|
72
|
+
},
|
|
73
|
+
"enablePrimary": true
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"comment": "Use SolidRdfEngine for structured RDF data.",
|
|
42
77
|
"@id": "urn:undefineds:xpod:MixDataAccessor",
|
|
43
78
|
"@type": "MixDataAccessor",
|
|
44
79
|
"structuredDataAccessor": {
|
|
45
|
-
"@id": "urn:undefineds:xpod:
|
|
80
|
+
"@id": "urn:undefineds:xpod:SolidRdfDataAccessor"
|
|
46
81
|
},
|
|
47
82
|
"unstructuredDataAccessor": {
|
|
48
83
|
"@id": "urn:solid-server:default:FileDataAccessor"
|
|
49
84
|
}
|
|
50
85
|
},
|
|
51
86
|
{
|
|
52
|
-
"comment": "
|
|
87
|
+
"comment": "Default structured RDF data accessor backed directly by SolidRdfEngine.",
|
|
88
|
+
"@id": "urn:undefineds:xpod:SolidRdfDataAccessor",
|
|
89
|
+
"@type": "SolidRdfDataAccessor",
|
|
90
|
+
"rdfEngine": {
|
|
91
|
+
"@id": "urn:undefineds:xpod:SolidRdfEngine"
|
|
92
|
+
},
|
|
93
|
+
"identifierStrategy": {
|
|
94
|
+
"@id": "urn:solid-server:default:IdentifierStrategy"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"comment": "Compatibility SPARQL data accessor using the legacy QuintStore bridge.",
|
|
53
99
|
"@id": "urn:undefineds:xpod:QuintStoreSparqlDataAccessor",
|
|
54
100
|
"@type": "QuintStoreSparqlDataAccessor",
|
|
55
101
|
"store": {
|
package/config/cloud.json
CHANGED
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"@id": "urn:undefineds:xpod:MixDataAccessor",
|
|
122
122
|
"@type": "MixDataAccessor",
|
|
123
123
|
"structuredDataAccessor": {
|
|
124
|
-
"@id": "urn:undefineds:xpod:
|
|
124
|
+
"@id": "urn:undefineds:xpod:SolidRdfDataAccessor"
|
|
125
125
|
},
|
|
126
126
|
"unstructuredDataAccessor": {
|
|
127
127
|
"@id": "urn:undefineds:xpod:RemoteDataAccessor"
|
|
@@ -131,6 +131,17 @@
|
|
|
131
131
|
"@id": "urn:solid-server:default:FileDataAccessor"
|
|
132
132
|
}
|
|
133
133
|
},
|
|
134
|
+
{
|
|
135
|
+
"comment": "Default structured RDF data accessor backed directly by SolidRdfEngine.",
|
|
136
|
+
"@id": "urn:undefineds:xpod:SolidRdfDataAccessor",
|
|
137
|
+
"@type": "SolidRdfDataAccessor",
|
|
138
|
+
"rdfEngine": {
|
|
139
|
+
"@id": "urn:undefineds:xpod:SolidRdfEngine"
|
|
140
|
+
},
|
|
141
|
+
"identifierStrategy": {
|
|
142
|
+
"@id": "urn:solid-server:default:IdentifierStrategy"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
134
145
|
{
|
|
135
146
|
"comment": "Compatibility QuintStore instance (PostgreSQL TEXT quints for fallback and migration).",
|
|
136
147
|
"@id": "urn:undefineds:xpod:CompatibilityQuintStore",
|
|
@@ -165,9 +176,6 @@
|
|
|
165
176
|
"@id": "urn:solid-server:default:variable:rdfIndexPath",
|
|
166
177
|
"@type": "Variable"
|
|
167
178
|
},
|
|
168
|
-
"compatibilityStore": {
|
|
169
|
-
"@id": "urn:undefineds:xpod:QuintStore"
|
|
170
|
-
},
|
|
171
179
|
"autoOpen": true
|
|
172
180
|
},
|
|
173
181
|
{
|
|
@@ -179,18 +187,12 @@
|
|
|
179
187
|
}
|
|
180
188
|
},
|
|
181
189
|
{
|
|
182
|
-
"comment": "Default SPARQL engine:
|
|
190
|
+
"comment": "Default SPARQL engine: server-owned Pod queries use SolidRdfEngine; compatibility fallback is opt-in.",
|
|
183
191
|
"@id": "urn:undefineds:xpod:DefaultSparqlEngine",
|
|
184
192
|
"@type": "SolidRdfSparqlEngine",
|
|
185
193
|
"rdfEngine": {
|
|
186
194
|
"@id": "urn:undefineds:xpod:SolidRdfEngine"
|
|
187
195
|
},
|
|
188
|
-
"fallback": {
|
|
189
|
-
"@id": "urn:undefineds:xpod:CompatibilitySparqlEngine"
|
|
190
|
-
},
|
|
191
|
-
"shadowStore": {
|
|
192
|
-
"@id": "urn:undefineds:xpod:QuintStore"
|
|
193
|
-
},
|
|
194
196
|
"enablePrimary": true
|
|
195
197
|
},
|
|
196
198
|
{
|
|
@@ -234,7 +236,7 @@
|
|
|
234
236
|
"defaultWorkdir": "/workspace"
|
|
235
237
|
},
|
|
236
238
|
{
|
|
237
|
-
"comment": "
|
|
239
|
+
"comment": "Compatibility SPARQL data accessor for RDF storage.",
|
|
238
240
|
"@id": "urn:undefineds:xpod:QuintStoreSparqlDataAccessor",
|
|
239
241
|
"@type": "QuintStoreSparqlDataAccessor",
|
|
240
242
|
"store": {
|
package/config/local.json
CHANGED
|
@@ -135,9 +135,6 @@
|
|
|
135
135
|
"@id": "urn:solid-server:default:variable:rdfIndexPath",
|
|
136
136
|
"@type": "Variable"
|
|
137
137
|
},
|
|
138
|
-
"compatibilityStore": {
|
|
139
|
-
"@id": "urn:undefineds:xpod:QuintStore"
|
|
140
|
-
},
|
|
141
138
|
"autoOpen": true
|
|
142
139
|
},
|
|
143
140
|
{
|
|
@@ -149,33 +146,38 @@
|
|
|
149
146
|
}
|
|
150
147
|
},
|
|
151
148
|
{
|
|
152
|
-
"comment": "Default SPARQL engine:
|
|
149
|
+
"comment": "Default SPARQL engine: server-owned Pod queries use SolidRdfEngine; compatibility fallback is opt-in.",
|
|
153
150
|
"@id": "urn:undefineds:xpod:DefaultSparqlEngine",
|
|
154
151
|
"@type": "SolidRdfSparqlEngine",
|
|
155
152
|
"rdfEngine": {
|
|
156
153
|
"@id": "urn:undefineds:xpod:SolidRdfEngine"
|
|
157
154
|
},
|
|
158
|
-
"fallback": {
|
|
159
|
-
"@id": "urn:undefineds:xpod:CompatibilitySparqlEngine"
|
|
160
|
-
},
|
|
161
|
-
"shadowStore": {
|
|
162
|
-
"@id": "urn:undefineds:xpod:QuintStore"
|
|
163
|
-
},
|
|
164
155
|
"enablePrimary": true
|
|
165
156
|
},
|
|
166
157
|
{
|
|
167
|
-
"comment": "Use
|
|
158
|
+
"comment": "Use SolidRdfEngine for structured RDF data and local filesystem for other content.",
|
|
168
159
|
"@id": "urn:undefineds:xpod:MixDataAccessor",
|
|
169
160
|
"@type": "MixDataAccessor",
|
|
170
161
|
"structuredDataAccessor": {
|
|
171
|
-
"@id": "urn:undefineds:xpod:
|
|
162
|
+
"@id": "urn:undefineds:xpod:SolidRdfDataAccessor"
|
|
172
163
|
},
|
|
173
164
|
"unstructuredDataAccessor": {
|
|
174
165
|
"@id": "urn:solid-server:default:FileDataAccessor"
|
|
175
166
|
}
|
|
176
167
|
},
|
|
177
168
|
{
|
|
178
|
-
"comment": "
|
|
169
|
+
"comment": "Default structured RDF data accessor backed directly by SolidRdfEngine.",
|
|
170
|
+
"@id": "urn:undefineds:xpod:SolidRdfDataAccessor",
|
|
171
|
+
"@type": "SolidRdfDataAccessor",
|
|
172
|
+
"rdfEngine": {
|
|
173
|
+
"@id": "urn:undefineds:xpod:SolidRdfEngine"
|
|
174
|
+
},
|
|
175
|
+
"identifierStrategy": {
|
|
176
|
+
"@id": "urn:solid-server:default:IdentifierStrategy"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"comment": "Compatibility SPARQL data accessor using shared QuintStore.",
|
|
179
181
|
"@id": "urn:undefineds:xpod:QuintStoreSparqlDataAccessor",
|
|
180
182
|
"@type": "QuintStoreSparqlDataAccessor",
|
|
181
183
|
"store": {
|
|
@@ -267,7 +269,7 @@
|
|
|
267
269
|
"@type": "MemoryMapStorage"
|
|
268
270
|
}
|
|
269
271
|
},
|
|
270
|
-
"expiration":
|
|
272
|
+
"expiration": 30000
|
|
271
273
|
}
|
|
272
274
|
},
|
|
273
275
|
{
|
package/config/xpod.json
CHANGED
|
@@ -111,14 +111,28 @@
|
|
|
111
111
|
"@value": "./data"
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
|
-
"comment": "
|
|
115
|
-
"@id": "urn:undefineds:xpod:
|
|
114
|
+
"comment": "Compatibility QuintStore instance (SQLite TEXT quints for migration/oracle paths).",
|
|
115
|
+
"@id": "urn:undefineds:xpod:CompatibilityQuintStore",
|
|
116
116
|
"@type": "SqliteQuintStore",
|
|
117
|
-
"
|
|
117
|
+
"options_path": {
|
|
118
118
|
"@id": "urn:solid-server:default:variable:sparqlEndpoint",
|
|
119
119
|
"@type": "Variable"
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
|
+
{
|
|
123
|
+
"comment": "Compatibility write bridge that mirrors legacy quints into the term-id RDF index.",
|
|
124
|
+
"@id": "urn:undefineds:xpod:QuintStore",
|
|
125
|
+
"@type": "ShadowRdfQuintStore",
|
|
126
|
+
"compatibilityStore": { "@id": "urn:undefineds:xpod:CompatibilityQuintStore" },
|
|
127
|
+
"index_path": {
|
|
128
|
+
"@id": "urn:solid-server:default:variable:rdfIndexPath",
|
|
129
|
+
"@type": "Variable"
|
|
130
|
+
},
|
|
131
|
+
"autoOpen": true,
|
|
132
|
+
"autoBackfill_enabled": true,
|
|
133
|
+
"autoBackfill_clear": true,
|
|
134
|
+
"autoBackfill_batchSize": 1000
|
|
135
|
+
},
|
|
122
136
|
{
|
|
123
137
|
"comment": "VectorStore using SQLite",
|
|
124
138
|
"@id": "urn:undefineds:xpod:VectorStore",
|
|
@@ -137,20 +151,44 @@
|
|
|
137
151
|
"authorizer": { "@id": "urn:solid-server:default:Authorizer" }
|
|
138
152
|
},
|
|
139
153
|
{
|
|
140
|
-
"comment": "
|
|
141
|
-
"@id": "urn:undefineds:xpod:
|
|
154
|
+
"comment": "RDF term-id query engine backed by the shared local RDF index.",
|
|
155
|
+
"@id": "urn:undefineds:xpod:SolidRdfEngine",
|
|
156
|
+
"@type": "SolidRdfEngine",
|
|
157
|
+
"index_path": {
|
|
158
|
+
"@id": "urn:solid-server:default:variable:rdfIndexPath",
|
|
159
|
+
"@type": "Variable"
|
|
160
|
+
},
|
|
161
|
+
"autoOpen": true
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"comment": "Compatibility SPARQL engine backed by the shadow store; not wired into DefaultSparqlEngine by default.",
|
|
165
|
+
"@id": "urn:undefineds:xpod:CompatibilitySparqlEngine",
|
|
142
166
|
"@type": "QuintstoreSparqlEngine",
|
|
143
167
|
"store": { "@id": "urn:undefineds:xpod:QuintStore" }
|
|
144
168
|
},
|
|
145
169
|
{
|
|
146
|
-
"comment": "
|
|
170
|
+
"comment": "Default SPARQL engine: server-owned Pod queries use SolidRdfEngine; compatibility fallback is opt-in.",
|
|
171
|
+
"@id": "urn:undefineds:xpod:DefaultSparqlEngine",
|
|
172
|
+
"@type": "SolidRdfSparqlEngine",
|
|
173
|
+
"rdfEngine": { "@id": "urn:undefineds:xpod:SolidRdfEngine" },
|
|
174
|
+
"enablePrimary": true
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"comment": "MixDataAccessor for RDF and binary data.",
|
|
147
178
|
"@id": "urn:undefineds:xpod:MixDataAccessor",
|
|
148
179
|
"@type": "MixDataAccessor",
|
|
149
|
-
"structuredDataAccessor": { "@id": "urn:undefineds:xpod:
|
|
180
|
+
"structuredDataAccessor": { "@id": "urn:undefineds:xpod:SolidRdfDataAccessor" },
|
|
150
181
|
"unstructuredDataAccessor": { "@id": "urn:solid-server:default:FileDataAccessor" }
|
|
151
182
|
},
|
|
152
183
|
{
|
|
153
|
-
"comment": "
|
|
184
|
+
"comment": "Default structured RDF data accessor backed directly by SolidRdfEngine.",
|
|
185
|
+
"@id": "urn:undefineds:xpod:SolidRdfDataAccessor",
|
|
186
|
+
"@type": "SolidRdfDataAccessor",
|
|
187
|
+
"rdfEngine": { "@id": "urn:undefineds:xpod:SolidRdfEngine" },
|
|
188
|
+
"identifierStrategy": { "@id": "urn:solid-server:default:IdentifierStrategy" }
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"comment": "Compatibility SPARQL data accessor using the legacy QuintStore bridge.",
|
|
154
192
|
"@id": "urn:undefineds:xpod:QuintStoreSparqlDataAccessor",
|
|
155
193
|
"@type": "QuintStoreSparqlDataAccessor",
|
|
156
194
|
"store": { "@id": "urn:undefineds:xpod:QuintStore" },
|
|
@@ -204,7 +242,7 @@
|
|
|
204
242
|
"locker": { "@type": "MemoryResourceLocker" },
|
|
205
243
|
"storage": { "@type": "MemoryMapStorage" }
|
|
206
244
|
},
|
|
207
|
-
"expiration":
|
|
245
|
+
"expiration": 30000
|
|
208
246
|
}
|
|
209
247
|
},
|
|
210
248
|
{
|
|
@@ -24,7 +24,6 @@ export declare class PodMatrixStore {
|
|
|
24
24
|
getState(roomId: string, eventType: string, stateKey: string, context: MatrixStoreContext): Promise<Record<string, unknown>>;
|
|
25
25
|
private getDb;
|
|
26
26
|
private createAccessTokenFetch;
|
|
27
|
-
private ensureMatrixAccount;
|
|
28
27
|
private ensureRoomExists;
|
|
29
28
|
private appendEvent;
|
|
30
29
|
private listRooms;
|
|
@@ -34,8 +33,12 @@ export declare class PodMatrixStore {
|
|
|
34
33
|
private nextEventDepth;
|
|
35
34
|
private findLatestStateEvent;
|
|
36
35
|
private eventSourceToRecord;
|
|
36
|
+
private chatSourceToRoomRecord;
|
|
37
37
|
private toClientEvent;
|
|
38
38
|
private parseJsonObject;
|
|
39
|
+
private stringValue;
|
|
40
|
+
private numberValue;
|
|
41
|
+
private messageContentFromMatrixEvent;
|
|
39
42
|
private getMatrixUserId;
|
|
40
43
|
private getServerName;
|
|
41
44
|
private localpartFromUserId;
|
|
@@ -44,16 +47,10 @@ export declare class PodMatrixStore {
|
|
|
44
47
|
private generateEventId;
|
|
45
48
|
private randomId;
|
|
46
49
|
private slug;
|
|
47
|
-
private resourceSlot;
|
|
48
50
|
private surfaceIdFromRoomId;
|
|
49
|
-
private roomResourceId;
|
|
50
51
|
private chatResourceIdFromRoomId;
|
|
51
52
|
private threadResourceIdFromRoomId;
|
|
52
53
|
private messageResourceIdFromEvent;
|
|
53
|
-
private accountResourceId;
|
|
54
|
-
private eventResourceId;
|
|
55
|
-
private roomIdFromResourceId;
|
|
56
|
-
private eventIdFromResourceId;
|
|
57
54
|
private resolveDataResourceUriFromId;
|
|
58
55
|
private derivePodBaseUrl;
|
|
59
56
|
private dateParts;
|