@comunica/actor-query-result-serialize-json 2.8.2 → 3.0.1-alpha.43.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/README.md
CHANGED
|
@@ -22,7 +22,7 @@ After installing, this package can be added to your engine's configuration as fo
|
|
|
22
22
|
{
|
|
23
23
|
"@context": [
|
|
24
24
|
...
|
|
25
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-result-serialize-json/^
|
|
25
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-result-serialize-json/^3.0.0/components/context.jsonld"
|
|
26
26
|
],
|
|
27
27
|
"actors": [
|
|
28
28
|
...
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"@context": [
|
|
3
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-result-serialize-json/^
|
|
4
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/core/^
|
|
5
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-query-result-serialize/^
|
|
3
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-result-serialize-json/^3.0.0/components/context.jsonld",
|
|
4
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/core/^3.0.0/components/context.jsonld",
|
|
5
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-query-result-serialize/^3.0.0/components/context.jsonld"
|
|
6
6
|
],
|
|
7
7
|
"@id": "npmd:@comunica/actor-query-result-serialize-json",
|
|
8
8
|
"components": [
|
|
@@ -70,29 +70,29 @@
|
|
|
70
70
|
"genericTypeInstances": [
|
|
71
71
|
{
|
|
72
72
|
"@type": "ParameterRangeGenericTypeReference",
|
|
73
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
73
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^3.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
"@type": "ParameterRangeGenericTypeReference",
|
|
77
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
77
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^3.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
"@type": "ParameterRangeGenericTypeReference",
|
|
81
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
81
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^3.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
82
82
|
}
|
|
83
83
|
]
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
"@type": "ParameterRangeGenericTypeReference",
|
|
87
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
87
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^3.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
"@type": "ParameterRangeGenericTypeReference",
|
|
91
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
91
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^3.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
"@type": "ParameterRangeGenericTypeReference",
|
|
95
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
95
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^3.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
96
96
|
}
|
|
97
97
|
]
|
|
98
98
|
},
|
|
@@ -115,15 +115,15 @@
|
|
|
115
115
|
"genericTypeInstances": [
|
|
116
116
|
{
|
|
117
117
|
"@type": "ParameterRangeGenericTypeReference",
|
|
118
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
118
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^3.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
121
|
"@type": "ParameterRangeGenericTypeReference",
|
|
122
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
122
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^3.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
"@type": "ParameterRangeGenericTypeReference",
|
|
126
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
126
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^3.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
127
127
|
}
|
|
128
128
|
]
|
|
129
129
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"@context": [
|
|
3
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-result-serialize-json/^
|
|
3
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-result-serialize-json/^3.0.0/components/context.jsonld"
|
|
4
4
|
],
|
|
5
5
|
"@id": "npmd:@comunica/actor-query-result-serialize-json",
|
|
6
6
|
"@type": "Module",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"https://linkedsoftwaredependencies.org/bundles/npm/componentsjs/^5.0.0/components/context.jsonld",
|
|
4
4
|
{
|
|
5
5
|
"npmd": "https://linkedsoftwaredependencies.org/bundles/npm/",
|
|
6
|
-
"caqrsj": "npmd:@comunica/actor-query-result-serialize-json/^
|
|
6
|
+
"caqrsj": "npmd:@comunica/actor-query-result-serialize-json/^3.0.0/",
|
|
7
7
|
"ActorQueryResultSerializeJson": {
|
|
8
8
|
"@id": "caqrsj:components/ActorQueryResultSerializeJson.jsonld#ActorQueryResultSerializeJson",
|
|
9
9
|
"@prefix": true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comunica/actor-query-result-serialize-json",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1-alpha.43.0",
|
|
4
4
|
"description": "A json query-result-serialize actor",
|
|
5
5
|
"lsd:module": true,
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
"lib/**/*.js.map"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@comunica/bus-query-result-serialize": "
|
|
36
|
-
"@comunica/types": "
|
|
35
|
+
"@comunica/bus-query-result-serialize": "3.0.1-alpha.43.0",
|
|
36
|
+
"@comunica/types": "3.0.1-alpha.43.0",
|
|
37
37
|
"rdf-string": "^1.6.1",
|
|
38
|
-
"readable-stream": "^4.2
|
|
38
|
+
"readable-stream": "^4.4.2"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "npm run build:ts && npm run build:components",
|
|
42
42
|
"build:ts": "node \"../../node_modules/typescript/bin/tsc\"",
|
|
43
43
|
"build:components": "componentsjs-generator"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "d11e44cf07d4699f9d2c51d5851b5ed443de1997"
|
|
46
46
|
}
|
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"@context": [
|
|
3
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-result-serialize-json/^2.0.0/components/context.jsonld",
|
|
4
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/core/^2.0.0/components/context.jsonld",
|
|
5
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-query-result-serialize/^2.0.0/components/context.jsonld"
|
|
6
|
-
],
|
|
7
|
-
"@id": "npmd:@comunica/actor-query-result-serialize-json",
|
|
8
|
-
"components": [
|
|
9
|
-
{
|
|
10
|
-
"@id": "cassj:components/ActorQueryResultSerializeJson.jsonld#ActorQueryResultSerializeJson",
|
|
11
|
-
"@type": "Class",
|
|
12
|
-
"requireElement": "ActorQueryResultSerializeJson",
|
|
13
|
-
"extends": [
|
|
14
|
-
"cbss:components/ActorQueryResultSerializeFixedMediaTypes.jsonld#ActorQueryResultSerializeFixedMediaTypes"
|
|
15
|
-
],
|
|
16
|
-
"comment": "A comunica JSON Query Result Serialize Actor.",
|
|
17
|
-
"parameters": [
|
|
18
|
-
{
|
|
19
|
-
"@id": "cassj:components/ActorQueryResultSerializeJson.jsonld#ActorQueryResultSerializeJson_args_mediaTypePriorities",
|
|
20
|
-
"range": "rdf:JSON",
|
|
21
|
-
"default": {
|
|
22
|
-
"@type": "@json",
|
|
23
|
-
"@value": {
|
|
24
|
-
"application/json": 1
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"comment": "A record of media types, with media type name as key, and its priority as value. Priorities are numbers between [0, 1]."
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"@id": "cassj:components/ActorQueryResultSerializeJson.jsonld#ActorQueryResultSerializeJson_args_mediaTypeFormats",
|
|
31
|
-
"range": "rdf:JSON",
|
|
32
|
-
"default": {
|
|
33
|
-
"@type": "@json",
|
|
34
|
-
"@value": {
|
|
35
|
-
"application/json": "https://comunica.linkeddatafragments.org/#results_JSON"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"comment": "A record of media types, with media type name as key, and its format IRI as value."
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"@id": "cassj:components/ActorQueryResultSerializeJson.jsonld#ActorQueryResultSerializeJson_args_priorityScale",
|
|
42
|
-
"range": {
|
|
43
|
-
"@type": "ParameterRangeUnion",
|
|
44
|
-
"parameterRangeElements": [
|
|
45
|
-
"xsd:double",
|
|
46
|
-
{
|
|
47
|
-
"@type": "ParameterRangeUndefined"
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
},
|
|
51
|
-
"comment": "A multiplier for media type priorities. This can be used for keeping the original media types in place, but scaling all of their scores with a certain value."
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"@id": "cassj:components/ActorQueryResultSerializeJson.jsonld#ActorQueryResultSerializeJson_args_name",
|
|
55
|
-
"range": "xsd:string",
|
|
56
|
-
"default": {
|
|
57
|
-
"@id": "rdf:subject"
|
|
58
|
-
},
|
|
59
|
-
"comment": "The name for this actor."
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"@id": "cassj:components/ActorQueryResultSerializeJson.jsonld#ActorQueryResultSerializeJson_args_bus",
|
|
63
|
-
"range": {
|
|
64
|
-
"@type": "ParameterRangeGenericComponent",
|
|
65
|
-
"component": "cc:components/Bus.jsonld#Bus",
|
|
66
|
-
"genericTypeInstances": [
|
|
67
|
-
{
|
|
68
|
-
"@type": "ParameterRangeGenericComponent",
|
|
69
|
-
"component": "cc:components/Actor.jsonld#Actor",
|
|
70
|
-
"genericTypeInstances": [
|
|
71
|
-
{
|
|
72
|
-
"@type": "ParameterRangeGenericTypeReference",
|
|
73
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"@type": "ParameterRangeGenericTypeReference",
|
|
77
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"@type": "ParameterRangeGenericTypeReference",
|
|
81
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
82
|
-
}
|
|
83
|
-
]
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"@type": "ParameterRangeGenericTypeReference",
|
|
87
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"@type": "ParameterRangeGenericTypeReference",
|
|
91
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"@type": "ParameterRangeGenericTypeReference",
|
|
95
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
96
|
-
}
|
|
97
|
-
]
|
|
98
|
-
},
|
|
99
|
-
"default": {
|
|
100
|
-
"@id": "cbss:components/ActorQueryResultSerialize.jsonld#ActorQueryResultSerialize_default_bus",
|
|
101
|
-
"@type": "cc:components/Bus.jsonld#Bus"
|
|
102
|
-
},
|
|
103
|
-
"comment": "The bus this actor subscribes to."
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"@id": "cassj:components/ActorQueryResultSerializeJson.jsonld#ActorQueryResultSerializeJson_args_beforeActors",
|
|
107
|
-
"range": {
|
|
108
|
-
"@type": "ParameterRangeUnion",
|
|
109
|
-
"parameterRangeElements": [
|
|
110
|
-
{
|
|
111
|
-
"@type": "ParameterRangeArray",
|
|
112
|
-
"parameterRangeValue": {
|
|
113
|
-
"@type": "ParameterRangeGenericComponent",
|
|
114
|
-
"component": "cc:components/Actor.jsonld#Actor",
|
|
115
|
-
"genericTypeInstances": [
|
|
116
|
-
{
|
|
117
|
-
"@type": "ParameterRangeGenericTypeReference",
|
|
118
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"@type": "ParameterRangeGenericTypeReference",
|
|
122
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"@type": "ParameterRangeGenericTypeReference",
|
|
126
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
127
|
-
}
|
|
128
|
-
]
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"@type": "ParameterRangeUndefined"
|
|
133
|
-
}
|
|
134
|
-
]
|
|
135
|
-
},
|
|
136
|
-
"comment": "Actor that must be registered in the bus before this actor."
|
|
137
|
-
}
|
|
138
|
-
],
|
|
139
|
-
"memberKeys": [
|
|
140
|
-
"constructor",
|
|
141
|
-
"testHandleChecked",
|
|
142
|
-
"runHandle"
|
|
143
|
-
],
|
|
144
|
-
"constructorArguments": [
|
|
145
|
-
{
|
|
146
|
-
"@id": "cassj:components/ActorQueryResultSerializeJson.jsonld#ActorQueryResultSerializeJson_args__constructorArgument",
|
|
147
|
-
"fields": [
|
|
148
|
-
{
|
|
149
|
-
"keyRaw": "mediaTypePriorities",
|
|
150
|
-
"value": {
|
|
151
|
-
"@id": "cassj:components/ActorQueryResultSerializeJson.jsonld#ActorQueryResultSerializeJson_args_mediaTypePriorities"
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"keyRaw": "mediaTypeFormats",
|
|
156
|
-
"value": {
|
|
157
|
-
"@id": "cassj:components/ActorQueryResultSerializeJson.jsonld#ActorQueryResultSerializeJson_args_mediaTypeFormats"
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
"keyRaw": "priorityScale",
|
|
162
|
-
"value": {
|
|
163
|
-
"@id": "cassj:components/ActorQueryResultSerializeJson.jsonld#ActorQueryResultSerializeJson_args_priorityScale"
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"keyRaw": "name",
|
|
168
|
-
"value": {
|
|
169
|
-
"@id": "cassj:components/ActorQueryResultSerializeJson.jsonld#ActorQueryResultSerializeJson_args_name"
|
|
170
|
-
}
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
"keyRaw": "bus",
|
|
174
|
-
"value": {
|
|
175
|
-
"@id": "cassj:components/ActorQueryResultSerializeJson.jsonld#ActorQueryResultSerializeJson_args_bus"
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"keyRaw": "beforeActors",
|
|
180
|
-
"value": {
|
|
181
|
-
"@id": "cassj:components/ActorQueryResultSerializeJson.jsonld#ActorQueryResultSerializeJson_args_beforeActors"
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
]
|
|
185
|
-
}
|
|
186
|
-
]
|
|
187
|
-
}
|
|
188
|
-
]
|
|
189
|
-
}
|