@iwentsourcing/core 0.1.0 → 0.2.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/aggregation/aggregation-declaration.d.ts +27 -27
- package/dist/authentication/public-auth-providers.js.map +1 -1
- package/dist/event-store/create-file-event-store.d.ts +1 -1
- package/dist/example/todo-example.d.ts +6 -6
- package/dist/management/access/access-events.d.ts +104 -104
- package/dist/management/access/access-state.d.ts +269 -269
- package/dist/management/access/access-stream.d.ts +286 -286
- package/dist/management/authentication/authentication-state.d.ts +21 -21
- package/dist/management/authentication/authentication-stream.d.ts +66 -66
- package/dist/management/permission/permission-aggregation.d.ts +101 -101
- package/dist/management/permission/permission-aggregation.test.js +0 -1
- package/dist/management/permission/permission-aggregation.test.js.map +1 -1
- package/dist/management/permission-error-schema.d.ts +29 -29
- package/dist/management/registry/registry-events.d.ts +186 -186
- package/dist/management/registry/registry-state.d.ts +55 -55
- package/dist/management/registry/registry-stream.d.ts +284 -284
- package/dist/management/state-read-policy.js.map +1 -1
- package/dist/management/system/iwentsourcing-realm.d.ts +106 -106
- package/dist/runtime/host-result-builder.d.ts +13 -13
- package/dist/runtime/permission-grant-schema.d.ts +7 -7
- package/dist/runtime/runtime-result.d.ts +26 -26
- package/dist/sequencer/create-sequencer-storage.d.ts +4 -4
- package/dist/sequencer/create-state-processor.d.ts +4 -4
- package/dist/sequencer/sequence-topic.d.ts +1 -1
- package/dist/stream/stream-declaration.d.ts +34 -34
- package/dist/tsbuild.info +1 -1
- package/dist/utils/combine-abort-signal.js.map +1 -1
- package/dist/worker/create-stream-worker.d.ts +2 -2
- package/package.json +1 -1
- package/dist/lock/exclusive-lock.d.ts +0 -4
- package/dist/lock/exclusive-lock.js +0 -8
- package/dist/lock/exclusive-lock.js.map +0 -1
- package/dist/management/managed-permission-denied-error.d.ts +0 -50
- package/dist/management/managed-permission-denied-error.js +0 -26
- package/dist/management/managed-permission-denied-error.js.map +0 -1
- package/dist/processing/create-event-processor.d.ts +0 -23
- package/dist/processing/create-event-processor.js +0 -133
- package/dist/processing/create-event-processor.js.map +0 -1
- package/dist/processing/create-event-processor.test.d.ts +0 -1
- package/dist/processing/create-event-processor.test.js +0 -218
- package/dist/processing/create-event-processor.test.js.map +0 -1
- package/dist/processing/event-processing-topic.d.ts +0 -5
- package/dist/processing/event-processing-topic.js +0 -13
- package/dist/processing/event-processing-topic.js.map +0 -1
- package/dist/processing/select-event-shard.d.ts +0 -1
- package/dist/processing/select-event-shard.js +0 -14
- package/dist/processing/select-event-shard.js.map +0 -1
- package/dist/processing/sequencer-cache-key.d.ts +0 -2
- package/dist/processing/sequencer-cache-key.js +0 -13
- package/dist/processing/sequencer-cache-key.js.map +0 -1
- package/dist/tmp-typetest.d.ts +0 -1
- package/dist/tmp-typetest.js +0 -3
- package/dist/tmp-typetest.js.map +0 -1
- package/dist/tracer/create-noop-telemetry.d.ts +0 -2
- package/dist/tracer/create-noop-telemetry.js +0 -22
- package/dist/tracer/create-noop-telemetry.js.map +0 -1
- package/dist/tracer/create-tracer.d.ts +0 -2
- package/dist/tracer/create-tracer.js +0 -15
- package/dist/tracer/create-tracer.js.map +0 -1
- package/dist/utils/lru-cache.d.ts +0 -11
- package/dist/utils/lru-cache.js +0 -44
- package/dist/utils/lru-cache.js.map +0 -1
- package/dist/worker/create-stream-wroker.test.d.ts +0 -0
- package/dist/worker/create-stream-wroker.test.js +0 -2
- package/dist/worker/create-stream-wroker.test.js.map +0 -1
- package/dist/worker/process-pending-events.d.ts +0 -20
- package/dist/worker/process-pending-events.js +0 -106
- package/dist/worker/process-pending-events.js.map +0 -1
|
@@ -3,23 +3,23 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
3
3
|
state: {
|
|
4
4
|
[key: string]: {
|
|
5
5
|
key: string[];
|
|
6
|
-
schema: {
|
|
7
|
-
schemas: {
|
|
8
|
-
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
9
|
-
};
|
|
10
|
-
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
11
|
-
};
|
|
12
6
|
indices: {
|
|
13
7
|
[key: string]: {
|
|
14
8
|
fields: string[];
|
|
15
9
|
unique: boolean;
|
|
16
10
|
};
|
|
17
11
|
};
|
|
12
|
+
schema: {
|
|
13
|
+
schemas: {
|
|
14
|
+
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
15
|
+
};
|
|
16
|
+
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
17
|
+
};
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
realm: string;
|
|
21
|
-
version: string;
|
|
22
21
|
pattern: string;
|
|
22
|
+
version: string;
|
|
23
23
|
events: {
|
|
24
24
|
[key: string]: {
|
|
25
25
|
schema: {
|
|
@@ -30,45 +30,45 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
|
-
currentRun: number;
|
|
34
33
|
stateGrant: {
|
|
35
34
|
state: string;
|
|
36
|
-
methods: ("get" | "range" | "observe" | "iterate" | "observeRange")[];
|
|
37
35
|
filters: {
|
|
38
|
-
field: string;
|
|
39
36
|
value: string;
|
|
37
|
+
field: string;
|
|
40
38
|
}[];
|
|
41
39
|
access: "read" | "write";
|
|
40
|
+
methods: ("get" | "range" | "observe" | "iterate" | "observeRange")[];
|
|
42
41
|
}[];
|
|
43
42
|
eventGrant: {
|
|
43
|
+
event: string;
|
|
44
44
|
filters: {
|
|
45
|
-
field: string;
|
|
46
45
|
value: string;
|
|
46
|
+
field: string;
|
|
47
47
|
}[];
|
|
48
48
|
access: "read" | "write";
|
|
49
|
-
event: string;
|
|
50
49
|
}[];
|
|
51
|
-
|
|
50
|
+
currentRun: number;
|
|
51
|
+
}, "realm" | "pattern" | "version", Record<string, never> & Record<"versions", import("../../storage/state-declaration.js").StateIndex<{
|
|
52
52
|
state: {
|
|
53
53
|
[key: string]: {
|
|
54
54
|
key: string[];
|
|
55
|
-
schema: {
|
|
56
|
-
schemas: {
|
|
57
|
-
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
58
|
-
};
|
|
59
|
-
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
60
|
-
};
|
|
61
55
|
indices: {
|
|
62
56
|
[key: string]: {
|
|
63
57
|
fields: string[];
|
|
64
58
|
unique: boolean;
|
|
65
59
|
};
|
|
66
60
|
};
|
|
61
|
+
schema: {
|
|
62
|
+
schemas: {
|
|
63
|
+
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
64
|
+
};
|
|
65
|
+
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
66
|
+
};
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
69
|
realm: string;
|
|
70
|
-
version: string;
|
|
71
70
|
pattern: string;
|
|
71
|
+
version: string;
|
|
72
72
|
events: {
|
|
73
73
|
[key: string]: {
|
|
74
74
|
schema: {
|
|
@@ -79,47 +79,53 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
81
|
};
|
|
82
|
-
currentRun: number;
|
|
83
82
|
stateGrant: {
|
|
84
83
|
state: string;
|
|
85
|
-
methods: ("get" | "range" | "observe" | "iterate" | "observeRange")[];
|
|
86
84
|
filters: {
|
|
87
|
-
field: string;
|
|
88
85
|
value: string;
|
|
86
|
+
field: string;
|
|
89
87
|
}[];
|
|
90
88
|
access: "read" | "write";
|
|
89
|
+
methods: ("get" | "range" | "observe" | "iterate" | "observeRange")[];
|
|
91
90
|
}[];
|
|
92
91
|
eventGrant: {
|
|
92
|
+
event: string;
|
|
93
93
|
filters: {
|
|
94
|
-
field: string;
|
|
95
94
|
value: string;
|
|
95
|
+
field: string;
|
|
96
96
|
}[];
|
|
97
97
|
access: "read" | "write";
|
|
98
|
-
event: string;
|
|
99
98
|
}[];
|
|
99
|
+
currentRun: number;
|
|
100
100
|
}, ["realm", "pattern", "version"]>>>;
|
|
101
101
|
streams: import("../../storage/state-declaration.js").StateDeclaration<"streams", {
|
|
102
102
|
name: string;
|
|
103
103
|
state: {
|
|
104
104
|
[key: string]: {
|
|
105
105
|
key: string[];
|
|
106
|
-
schema: {
|
|
107
|
-
schemas: {
|
|
108
|
-
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
109
|
-
};
|
|
110
|
-
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
111
|
-
};
|
|
112
106
|
indices: {
|
|
113
107
|
[key: string]: {
|
|
114
108
|
fields: string[];
|
|
115
109
|
unique: boolean;
|
|
116
110
|
};
|
|
117
111
|
};
|
|
112
|
+
schema: {
|
|
113
|
+
schemas: {
|
|
114
|
+
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
115
|
+
};
|
|
116
|
+
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
117
|
+
};
|
|
118
118
|
};
|
|
119
119
|
};
|
|
120
|
+
auth: {
|
|
121
|
+
sub: string;
|
|
122
|
+
aud: string;
|
|
123
|
+
iss: string;
|
|
124
|
+
};
|
|
120
125
|
realm: string;
|
|
121
|
-
|
|
126
|
+
authId: string;
|
|
122
127
|
pattern: string;
|
|
128
|
+
version: string;
|
|
123
129
|
events: {
|
|
124
130
|
[key: string]: {
|
|
125
131
|
schema: {
|
|
@@ -130,38 +136,38 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
130
136
|
};
|
|
131
137
|
};
|
|
132
138
|
};
|
|
133
|
-
currentRun: number;
|
|
134
|
-
authId: string;
|
|
135
|
-
auth: {
|
|
136
|
-
sub: string;
|
|
137
|
-
aud: string;
|
|
138
|
-
iss: string;
|
|
139
|
-
};
|
|
140
139
|
args: {
|
|
141
140
|
[key: string]: string;
|
|
142
141
|
};
|
|
143
|
-
|
|
142
|
+
currentRun: number;
|
|
143
|
+
}, "name" | "realm" | "pattern" | "version", Record<string, never> & Record<"authId", import("../../storage/state-declaration.js").StateIndex<{
|
|
144
144
|
name: string;
|
|
145
145
|
state: {
|
|
146
146
|
[key: string]: {
|
|
147
147
|
key: string[];
|
|
148
|
-
schema: {
|
|
149
|
-
schemas: {
|
|
150
|
-
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
151
|
-
};
|
|
152
|
-
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
153
|
-
};
|
|
154
148
|
indices: {
|
|
155
149
|
[key: string]: {
|
|
156
150
|
fields: string[];
|
|
157
151
|
unique: boolean;
|
|
158
152
|
};
|
|
159
153
|
};
|
|
154
|
+
schema: {
|
|
155
|
+
schemas: {
|
|
156
|
+
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
157
|
+
};
|
|
158
|
+
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
159
|
+
};
|
|
160
160
|
};
|
|
161
161
|
};
|
|
162
|
+
auth: {
|
|
163
|
+
sub: string;
|
|
164
|
+
aud: string;
|
|
165
|
+
iss: string;
|
|
166
|
+
};
|
|
162
167
|
realm: string;
|
|
163
|
-
|
|
168
|
+
authId: string;
|
|
164
169
|
pattern: string;
|
|
170
|
+
version: string;
|
|
165
171
|
events: {
|
|
166
172
|
[key: string]: {
|
|
167
173
|
schema: {
|
|
@@ -172,38 +178,38 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
172
178
|
};
|
|
173
179
|
};
|
|
174
180
|
};
|
|
175
|
-
currentRun: number;
|
|
176
|
-
authId: string;
|
|
177
|
-
auth: {
|
|
178
|
-
sub: string;
|
|
179
|
-
aud: string;
|
|
180
|
-
iss: string;
|
|
181
|
-
};
|
|
182
181
|
args: {
|
|
183
182
|
[key: string]: string;
|
|
184
183
|
};
|
|
184
|
+
currentRun: number;
|
|
185
185
|
}, ["version", "authId"]>> & Record<"versions", import("../../storage/state-declaration.js").StateIndex<{
|
|
186
186
|
name: string;
|
|
187
187
|
state: {
|
|
188
188
|
[key: string]: {
|
|
189
189
|
key: string[];
|
|
190
|
-
schema: {
|
|
191
|
-
schemas: {
|
|
192
|
-
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
193
|
-
};
|
|
194
|
-
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
195
|
-
};
|
|
196
190
|
indices: {
|
|
197
191
|
[key: string]: {
|
|
198
192
|
fields: string[];
|
|
199
193
|
unique: boolean;
|
|
200
194
|
};
|
|
201
195
|
};
|
|
196
|
+
schema: {
|
|
197
|
+
schemas: {
|
|
198
|
+
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
199
|
+
};
|
|
200
|
+
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
201
|
+
};
|
|
202
202
|
};
|
|
203
203
|
};
|
|
204
|
+
auth: {
|
|
205
|
+
sub: string;
|
|
206
|
+
aud: string;
|
|
207
|
+
iss: string;
|
|
208
|
+
};
|
|
204
209
|
realm: string;
|
|
205
|
-
|
|
210
|
+
authId: string;
|
|
206
211
|
pattern: string;
|
|
212
|
+
version: string;
|
|
207
213
|
events: {
|
|
208
214
|
[key: string]: {
|
|
209
215
|
schema: {
|
|
@@ -214,38 +220,38 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
214
220
|
};
|
|
215
221
|
};
|
|
216
222
|
};
|
|
217
|
-
currentRun: number;
|
|
218
|
-
authId: string;
|
|
219
|
-
auth: {
|
|
220
|
-
sub: string;
|
|
221
|
-
aud: string;
|
|
222
|
-
iss: string;
|
|
223
|
-
};
|
|
224
223
|
args: {
|
|
225
224
|
[key: string]: string;
|
|
226
225
|
};
|
|
226
|
+
currentRun: number;
|
|
227
227
|
}, ["realm", "pattern", "version"]>> & Record<"aggregationSource", import("../../storage/state-declaration.js").StateIndex<{
|
|
228
228
|
name: string;
|
|
229
229
|
state: {
|
|
230
230
|
[key: string]: {
|
|
231
231
|
key: string[];
|
|
232
|
-
schema: {
|
|
233
|
-
schemas: {
|
|
234
|
-
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
235
|
-
};
|
|
236
|
-
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
237
|
-
};
|
|
238
232
|
indices: {
|
|
239
233
|
[key: string]: {
|
|
240
234
|
fields: string[];
|
|
241
235
|
unique: boolean;
|
|
242
236
|
};
|
|
243
237
|
};
|
|
238
|
+
schema: {
|
|
239
|
+
schemas: {
|
|
240
|
+
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
241
|
+
};
|
|
242
|
+
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
243
|
+
};
|
|
244
244
|
};
|
|
245
245
|
};
|
|
246
|
+
auth: {
|
|
247
|
+
sub: string;
|
|
248
|
+
aud: string;
|
|
249
|
+
iss: string;
|
|
250
|
+
};
|
|
246
251
|
realm: string;
|
|
247
|
-
|
|
252
|
+
authId: string;
|
|
248
253
|
pattern: string;
|
|
254
|
+
version: string;
|
|
249
255
|
events: {
|
|
250
256
|
[key: string]: {
|
|
251
257
|
schema: {
|
|
@@ -256,22 +262,16 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
256
262
|
};
|
|
257
263
|
};
|
|
258
264
|
};
|
|
259
|
-
currentRun: number;
|
|
260
|
-
authId: string;
|
|
261
|
-
auth: {
|
|
262
|
-
sub: string;
|
|
263
|
-
aud: string;
|
|
264
|
-
iss: string;
|
|
265
|
-
};
|
|
266
265
|
args: {
|
|
267
266
|
[key: string]: string;
|
|
268
267
|
};
|
|
268
|
+
currentRun: number;
|
|
269
269
|
}, ["pattern", "version"]>>>;
|
|
270
270
|
streamRuns: import("../../storage/state-declaration.js").StateDeclaration<"streamRuns", {
|
|
271
271
|
name: string;
|
|
272
272
|
realm: string;
|
|
273
|
-
version: string;
|
|
274
273
|
pattern: string;
|
|
274
|
+
version: string;
|
|
275
275
|
args: {
|
|
276
276
|
[key: string]: string;
|
|
277
277
|
};
|
|
@@ -280,8 +280,8 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
280
280
|
}, "name" | "realm" | "version" | "run", Record<string, never> & Record<"enabled", import("../../storage/state-declaration.js").StateIndex<{
|
|
281
281
|
name: string;
|
|
282
282
|
realm: string;
|
|
283
|
-
version: string;
|
|
284
283
|
pattern: string;
|
|
284
|
+
version: string;
|
|
285
285
|
args: {
|
|
286
286
|
[key: string]: string;
|
|
287
287
|
};
|
|
@@ -289,6 +289,9 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
289
289
|
enabled: boolean;
|
|
290
290
|
}, ["realm", "version", "name", "enabled"]>>>;
|
|
291
291
|
aggregationEventSources: import("../../storage/state-declaration.js").StateDeclaration<"aggregationEventSources", {
|
|
292
|
+
streamArgs: {
|
|
293
|
+
[key: string]: string;
|
|
294
|
+
};
|
|
292
295
|
aggregationVersion: string;
|
|
293
296
|
aggregationPattern: string;
|
|
294
297
|
aggregationName: string;
|
|
@@ -298,12 +301,12 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
298
301
|
streamName: string;
|
|
299
302
|
streamPattern: string;
|
|
300
303
|
streamVersion: string;
|
|
301
|
-
streamArgs: {
|
|
302
|
-
[key: string]: string;
|
|
303
|
-
};
|
|
304
304
|
aggregationEvent: string;
|
|
305
305
|
streamEvent: string;
|
|
306
306
|
}, "aggregationVersion" | "aggregationName" | "streamName" | "streamVersion" | "aggregationEvent", Record<string, never> & Record<"streamSource", import("../../storage/state-declaration.js").StateIndex<{
|
|
307
|
+
streamArgs: {
|
|
308
|
+
[key: string]: string;
|
|
309
|
+
};
|
|
307
310
|
aggregationVersion: string;
|
|
308
311
|
aggregationPattern: string;
|
|
309
312
|
aggregationName: string;
|
|
@@ -313,13 +316,13 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
313
316
|
streamName: string;
|
|
314
317
|
streamPattern: string;
|
|
315
318
|
streamVersion: string;
|
|
316
|
-
streamArgs: {
|
|
317
|
-
[key: string]: string;
|
|
318
|
-
};
|
|
319
319
|
aggregationEvent: string;
|
|
320
320
|
streamEvent: string;
|
|
321
321
|
}, ["streamPattern", "streamEvent"]>>>;
|
|
322
322
|
aggregationOutputSources: import("../../storage/state-declaration.js").StateDeclaration<"aggregationOutputSources", {
|
|
323
|
+
streamArgs: {
|
|
324
|
+
[key: string]: string;
|
|
325
|
+
};
|
|
323
326
|
aggregationVersion: string;
|
|
324
327
|
aggregationPattern: string;
|
|
325
328
|
aggregationName: string;
|
|
@@ -329,12 +332,12 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
329
332
|
streamName: string;
|
|
330
333
|
streamPattern: string;
|
|
331
334
|
streamVersion: string;
|
|
332
|
-
streamArgs: {
|
|
333
|
-
[key: string]: string;
|
|
334
|
-
};
|
|
335
335
|
aggregationEvent: string;
|
|
336
336
|
streamOutput: string;
|
|
337
337
|
}, "aggregationVersion" | "aggregationName" | "streamName" | "streamVersion" | "aggregationEvent", Record<string, never> & Record<"streamSource", import("../../storage/state-declaration.js").StateIndex<{
|
|
338
|
+
streamArgs: {
|
|
339
|
+
[key: string]: string;
|
|
340
|
+
};
|
|
338
341
|
aggregationVersion: string;
|
|
339
342
|
aggregationPattern: string;
|
|
340
343
|
aggregationName: string;
|
|
@@ -344,9 +347,6 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
344
347
|
streamName: string;
|
|
345
348
|
streamPattern: string;
|
|
346
349
|
streamVersion: string;
|
|
347
|
-
streamArgs: {
|
|
348
|
-
[key: string]: string;
|
|
349
|
-
};
|
|
350
350
|
aggregationEvent: string;
|
|
351
351
|
streamOutput: string;
|
|
352
352
|
}, ["streamPattern", "streamOutput"]>>>;
|
|
@@ -354,23 +354,23 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
354
354
|
state: {
|
|
355
355
|
[key: string]: {
|
|
356
356
|
key: string[];
|
|
357
|
-
schema: {
|
|
358
|
-
schemas: {
|
|
359
|
-
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
360
|
-
};
|
|
361
|
-
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
362
|
-
};
|
|
363
357
|
indices: {
|
|
364
358
|
[key: string]: {
|
|
365
359
|
fields: string[];
|
|
366
360
|
unique: boolean;
|
|
367
361
|
};
|
|
368
362
|
};
|
|
363
|
+
schema: {
|
|
364
|
+
schemas: {
|
|
365
|
+
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
366
|
+
};
|
|
367
|
+
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
368
|
+
};
|
|
369
369
|
};
|
|
370
370
|
};
|
|
371
371
|
realm: string;
|
|
372
|
-
version: string;
|
|
373
372
|
pattern: string;
|
|
373
|
+
version: string;
|
|
374
374
|
events: {
|
|
375
375
|
[key: string]: {
|
|
376
376
|
schema: {
|
|
@@ -379,13 +379,12 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
379
379
|
};
|
|
380
380
|
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
381
381
|
};
|
|
382
|
-
|
|
382
|
+
event: string;
|
|
383
383
|
stream: {
|
|
384
|
-
version: string;
|
|
385
384
|
pattern: string;
|
|
385
|
+
version: string;
|
|
386
386
|
};
|
|
387
387
|
} | {
|
|
388
|
-
event: string;
|
|
389
388
|
schema: {
|
|
390
389
|
schemas: {
|
|
391
390
|
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
@@ -393,50 +392,51 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
393
392
|
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
394
393
|
};
|
|
395
394
|
stream: {
|
|
396
|
-
version: string;
|
|
397
395
|
pattern: string;
|
|
396
|
+
version: string;
|
|
398
397
|
};
|
|
398
|
+
output: string;
|
|
399
399
|
};
|
|
400
400
|
};
|
|
401
|
-
currentRun: number;
|
|
402
401
|
stateGrant: {
|
|
403
402
|
state: string;
|
|
404
|
-
methods: ("get" | "range" | "observe" | "iterate" | "observeRange")[];
|
|
405
403
|
filters: {
|
|
406
|
-
field: string;
|
|
407
404
|
value: string;
|
|
405
|
+
field: string;
|
|
408
406
|
}[];
|
|
409
407
|
access: "read" | "write";
|
|
408
|
+
methods: ("get" | "range" | "observe" | "iterate" | "observeRange")[];
|
|
410
409
|
}[];
|
|
411
410
|
eventGrant: {
|
|
411
|
+
event: string;
|
|
412
412
|
filters: {
|
|
413
|
-
field: string;
|
|
414
413
|
value: string;
|
|
414
|
+
field: string;
|
|
415
415
|
}[];
|
|
416
416
|
access: "read" | "write";
|
|
417
|
-
event: string;
|
|
418
417
|
}[];
|
|
419
|
-
|
|
418
|
+
currentRun: number;
|
|
419
|
+
}, "realm" | "pattern" | "version", Record<string, never> & Record<"versions", import("../../storage/state-declaration.js").StateIndex<{
|
|
420
420
|
state: {
|
|
421
421
|
[key: string]: {
|
|
422
422
|
key: string[];
|
|
423
|
-
schema: {
|
|
424
|
-
schemas: {
|
|
425
|
-
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
426
|
-
};
|
|
427
|
-
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
428
|
-
};
|
|
429
423
|
indices: {
|
|
430
424
|
[key: string]: {
|
|
431
425
|
fields: string[];
|
|
432
426
|
unique: boolean;
|
|
433
427
|
};
|
|
434
428
|
};
|
|
429
|
+
schema: {
|
|
430
|
+
schemas: {
|
|
431
|
+
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
432
|
+
};
|
|
433
|
+
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
434
|
+
};
|
|
435
435
|
};
|
|
436
436
|
};
|
|
437
437
|
realm: string;
|
|
438
|
-
version: string;
|
|
439
438
|
pattern: string;
|
|
439
|
+
version: string;
|
|
440
440
|
events: {
|
|
441
441
|
[key: string]: {
|
|
442
442
|
schema: {
|
|
@@ -445,13 +445,12 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
445
445
|
};
|
|
446
446
|
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
447
447
|
};
|
|
448
|
-
|
|
448
|
+
event: string;
|
|
449
449
|
stream: {
|
|
450
|
-
version: string;
|
|
451
450
|
pattern: string;
|
|
451
|
+
version: string;
|
|
452
452
|
};
|
|
453
453
|
} | {
|
|
454
|
-
event: string;
|
|
455
454
|
schema: {
|
|
456
455
|
schemas: {
|
|
457
456
|
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
@@ -459,52 +458,59 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
459
458
|
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
460
459
|
};
|
|
461
460
|
stream: {
|
|
462
|
-
version: string;
|
|
463
461
|
pattern: string;
|
|
462
|
+
version: string;
|
|
464
463
|
};
|
|
464
|
+
output: string;
|
|
465
465
|
};
|
|
466
466
|
};
|
|
467
|
-
currentRun: number;
|
|
468
467
|
stateGrant: {
|
|
469
468
|
state: string;
|
|
470
|
-
methods: ("get" | "range" | "observe" | "iterate" | "observeRange")[];
|
|
471
469
|
filters: {
|
|
472
|
-
field: string;
|
|
473
470
|
value: string;
|
|
471
|
+
field: string;
|
|
474
472
|
}[];
|
|
475
473
|
access: "read" | "write";
|
|
474
|
+
methods: ("get" | "range" | "observe" | "iterate" | "observeRange")[];
|
|
476
475
|
}[];
|
|
477
476
|
eventGrant: {
|
|
477
|
+
event: string;
|
|
478
478
|
filters: {
|
|
479
|
-
field: string;
|
|
480
479
|
value: string;
|
|
480
|
+
field: string;
|
|
481
481
|
}[];
|
|
482
482
|
access: "read" | "write";
|
|
483
|
-
event: string;
|
|
484
483
|
}[];
|
|
484
|
+
currentRun: number;
|
|
485
485
|
}, ["realm", "pattern", "version"]>>>;
|
|
486
486
|
aggregations: import("../../storage/state-declaration.js").StateDeclaration<"aggregations", {
|
|
487
487
|
name: string;
|
|
488
488
|
state: {
|
|
489
489
|
[key: string]: {
|
|
490
490
|
key: string[];
|
|
491
|
-
schema: {
|
|
492
|
-
schemas: {
|
|
493
|
-
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
494
|
-
};
|
|
495
|
-
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
496
|
-
};
|
|
497
491
|
indices: {
|
|
498
492
|
[key: string]: {
|
|
499
493
|
fields: string[];
|
|
500
494
|
unique: boolean;
|
|
501
495
|
};
|
|
502
496
|
};
|
|
497
|
+
schema: {
|
|
498
|
+
schemas: {
|
|
499
|
+
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
500
|
+
};
|
|
501
|
+
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
502
|
+
};
|
|
503
503
|
};
|
|
504
504
|
};
|
|
505
|
+
auth: {
|
|
506
|
+
sub: string;
|
|
507
|
+
aud: string;
|
|
508
|
+
iss: string;
|
|
509
|
+
};
|
|
505
510
|
realm: string;
|
|
506
|
-
|
|
511
|
+
authId: string;
|
|
507
512
|
pattern: string;
|
|
513
|
+
version: string;
|
|
508
514
|
events: {
|
|
509
515
|
[key: string]: {
|
|
510
516
|
schema: {
|
|
@@ -513,13 +519,12 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
513
519
|
};
|
|
514
520
|
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
515
521
|
};
|
|
516
|
-
|
|
522
|
+
event: string;
|
|
517
523
|
stream: {
|
|
518
|
-
version: string;
|
|
519
524
|
pattern: string;
|
|
525
|
+
version: string;
|
|
520
526
|
};
|
|
521
527
|
} | {
|
|
522
|
-
event: string;
|
|
523
528
|
schema: {
|
|
524
529
|
schemas: {
|
|
525
530
|
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
@@ -527,43 +532,44 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
527
532
|
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
528
533
|
};
|
|
529
534
|
stream: {
|
|
530
|
-
version: string;
|
|
531
535
|
pattern: string;
|
|
536
|
+
version: string;
|
|
532
537
|
};
|
|
538
|
+
output: string;
|
|
533
539
|
};
|
|
534
540
|
};
|
|
535
|
-
currentRun: number;
|
|
536
|
-
authId: string;
|
|
537
|
-
auth: {
|
|
538
|
-
sub: string;
|
|
539
|
-
aud: string;
|
|
540
|
-
iss: string;
|
|
541
|
-
};
|
|
542
541
|
args: {
|
|
543
542
|
[key: string]: string;
|
|
544
543
|
};
|
|
544
|
+
currentRun: number;
|
|
545
545
|
}, "name" | "version", Record<string, never> & Record<"authId", import("../../storage/state-declaration.js").StateIndex<{
|
|
546
546
|
name: string;
|
|
547
547
|
state: {
|
|
548
548
|
[key: string]: {
|
|
549
549
|
key: string[];
|
|
550
|
-
schema: {
|
|
551
|
-
schemas: {
|
|
552
|
-
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
553
|
-
};
|
|
554
|
-
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
555
|
-
};
|
|
556
550
|
indices: {
|
|
557
551
|
[key: string]: {
|
|
558
552
|
fields: string[];
|
|
559
553
|
unique: boolean;
|
|
560
554
|
};
|
|
561
555
|
};
|
|
556
|
+
schema: {
|
|
557
|
+
schemas: {
|
|
558
|
+
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
559
|
+
};
|
|
560
|
+
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
561
|
+
};
|
|
562
562
|
};
|
|
563
563
|
};
|
|
564
|
+
auth: {
|
|
565
|
+
sub: string;
|
|
566
|
+
aud: string;
|
|
567
|
+
iss: string;
|
|
568
|
+
};
|
|
564
569
|
realm: string;
|
|
565
|
-
|
|
570
|
+
authId: string;
|
|
566
571
|
pattern: string;
|
|
572
|
+
version: string;
|
|
567
573
|
events: {
|
|
568
574
|
[key: string]: {
|
|
569
575
|
schema: {
|
|
@@ -572,13 +578,12 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
572
578
|
};
|
|
573
579
|
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
574
580
|
};
|
|
575
|
-
|
|
581
|
+
event: string;
|
|
576
582
|
stream: {
|
|
577
|
-
version: string;
|
|
578
583
|
pattern: string;
|
|
584
|
+
version: string;
|
|
579
585
|
};
|
|
580
586
|
} | {
|
|
581
|
-
event: string;
|
|
582
587
|
schema: {
|
|
583
588
|
schemas: {
|
|
584
589
|
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
@@ -586,43 +591,44 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
586
591
|
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
587
592
|
};
|
|
588
593
|
stream: {
|
|
589
|
-
version: string;
|
|
590
594
|
pattern: string;
|
|
595
|
+
version: string;
|
|
591
596
|
};
|
|
597
|
+
output: string;
|
|
592
598
|
};
|
|
593
599
|
};
|
|
594
|
-
currentRun: number;
|
|
595
|
-
authId: string;
|
|
596
|
-
auth: {
|
|
597
|
-
sub: string;
|
|
598
|
-
aud: string;
|
|
599
|
-
iss: string;
|
|
600
|
-
};
|
|
601
600
|
args: {
|
|
602
601
|
[key: string]: string;
|
|
603
602
|
};
|
|
603
|
+
currentRun: number;
|
|
604
604
|
}, ["version", "authId"]>> & Record<"versions", import("../../storage/state-declaration.js").StateIndex<{
|
|
605
605
|
name: string;
|
|
606
606
|
state: {
|
|
607
607
|
[key: string]: {
|
|
608
608
|
key: string[];
|
|
609
|
-
schema: {
|
|
610
|
-
schemas: {
|
|
611
|
-
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
612
|
-
};
|
|
613
|
-
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
614
|
-
};
|
|
615
609
|
indices: {
|
|
616
610
|
[key: string]: {
|
|
617
611
|
fields: string[];
|
|
618
612
|
unique: boolean;
|
|
619
613
|
};
|
|
620
614
|
};
|
|
615
|
+
schema: {
|
|
616
|
+
schemas: {
|
|
617
|
+
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
618
|
+
};
|
|
619
|
+
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
620
|
+
};
|
|
621
621
|
};
|
|
622
622
|
};
|
|
623
|
+
auth: {
|
|
624
|
+
sub: string;
|
|
625
|
+
aud: string;
|
|
626
|
+
iss: string;
|
|
627
|
+
};
|
|
623
628
|
realm: string;
|
|
624
|
-
|
|
629
|
+
authId: string;
|
|
625
630
|
pattern: string;
|
|
631
|
+
version: string;
|
|
626
632
|
events: {
|
|
627
633
|
[key: string]: {
|
|
628
634
|
schema: {
|
|
@@ -631,13 +637,12 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
631
637
|
};
|
|
632
638
|
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
633
639
|
};
|
|
634
|
-
|
|
640
|
+
event: string;
|
|
635
641
|
stream: {
|
|
636
|
-
version: string;
|
|
637
642
|
pattern: string;
|
|
643
|
+
version: string;
|
|
638
644
|
};
|
|
639
645
|
} | {
|
|
640
|
-
event: string;
|
|
641
646
|
schema: {
|
|
642
647
|
schemas: {
|
|
643
648
|
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
@@ -645,27 +650,22 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
645
650
|
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
646
651
|
};
|
|
647
652
|
stream: {
|
|
648
|
-
version: string;
|
|
649
653
|
pattern: string;
|
|
654
|
+
version: string;
|
|
650
655
|
};
|
|
656
|
+
output: string;
|
|
651
657
|
};
|
|
652
658
|
};
|
|
653
|
-
currentRun: number;
|
|
654
|
-
authId: string;
|
|
655
|
-
auth: {
|
|
656
|
-
sub: string;
|
|
657
|
-
aud: string;
|
|
658
|
-
iss: string;
|
|
659
|
-
};
|
|
660
659
|
args: {
|
|
661
660
|
[key: string]: string;
|
|
662
661
|
};
|
|
662
|
+
currentRun: number;
|
|
663
663
|
}, ["realm", "pattern", "version"]>>>;
|
|
664
664
|
aggregationRuns: import("../../storage/state-declaration.js").StateDeclaration<"aggregationRuns", {
|
|
665
665
|
name: string;
|
|
666
666
|
realm: string;
|
|
667
|
-
version: string;
|
|
668
667
|
pattern: string;
|
|
668
|
+
version: string;
|
|
669
669
|
args: {
|
|
670
670
|
[key: string]: string;
|
|
671
671
|
};
|
|
@@ -674,8 +674,8 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
674
674
|
}, "name" | "realm" | "version" | "run", Record<string, never> & Record<"enabled", import("../../storage/state-declaration.js").StateIndex<{
|
|
675
675
|
name: string;
|
|
676
676
|
realm: string;
|
|
677
|
-
version: string;
|
|
678
677
|
pattern: string;
|
|
678
|
+
version: string;
|
|
679
679
|
args: {
|
|
680
680
|
[key: string]: string;
|
|
681
681
|
};
|
|
@@ -709,36 +709,36 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
709
709
|
state: import("../../typing/record-type-description.js").RecordTypeDescription<{
|
|
710
710
|
[key: string]: {
|
|
711
711
|
key: string[];
|
|
712
|
-
schema: {
|
|
713
|
-
schemas: {
|
|
714
|
-
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
715
|
-
};
|
|
716
|
-
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
717
|
-
};
|
|
718
712
|
indices: {
|
|
719
713
|
[key: string]: {
|
|
720
714
|
fields: string[];
|
|
721
715
|
unique: boolean;
|
|
722
716
|
};
|
|
723
717
|
};
|
|
718
|
+
schema: {
|
|
719
|
+
schemas: {
|
|
720
|
+
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
721
|
+
};
|
|
722
|
+
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
723
|
+
};
|
|
724
724
|
};
|
|
725
725
|
}>;
|
|
726
726
|
stateGrant: import("../../typing/array-type-description.js").ArrayTypeDescription<{
|
|
727
727
|
state: string;
|
|
728
|
-
methods: ("get" | "range" | "observe" | "iterate" | "observeRange")[];
|
|
729
728
|
filters: {
|
|
730
|
-
field: string;
|
|
731
729
|
value: string;
|
|
730
|
+
field: string;
|
|
732
731
|
}[];
|
|
733
732
|
access: "read" | "write";
|
|
733
|
+
methods: ("get" | "range" | "observe" | "iterate" | "observeRange")[];
|
|
734
734
|
}>;
|
|
735
735
|
eventGrant: import("../../typing/array-type-description.js").ArrayTypeDescription<{
|
|
736
|
+
event: string;
|
|
736
737
|
filters: {
|
|
737
|
-
field: string;
|
|
738
738
|
value: string;
|
|
739
|
+
field: string;
|
|
739
740
|
}[];
|
|
740
741
|
access: "read" | "write";
|
|
741
|
-
event: string;
|
|
742
742
|
}>;
|
|
743
743
|
}>> & {
|
|
744
744
|
key: "access-stream";
|
|
@@ -764,13 +764,12 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
764
764
|
};
|
|
765
765
|
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
766
766
|
};
|
|
767
|
-
|
|
767
|
+
event: string;
|
|
768
768
|
stream: {
|
|
769
|
-
version: string;
|
|
770
769
|
pattern: string;
|
|
770
|
+
version: string;
|
|
771
771
|
};
|
|
772
772
|
} | {
|
|
773
|
-
event: string;
|
|
774
773
|
schema: {
|
|
775
774
|
schemas: {
|
|
776
775
|
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
@@ -778,44 +777,45 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
778
777
|
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
779
778
|
};
|
|
780
779
|
stream: {
|
|
781
|
-
version: string;
|
|
782
780
|
pattern: string;
|
|
781
|
+
version: string;
|
|
783
782
|
};
|
|
783
|
+
output: string;
|
|
784
784
|
};
|
|
785
785
|
}>;
|
|
786
786
|
state: import("../../typing/record-type-description.js").RecordTypeDescription<{
|
|
787
787
|
[key: string]: {
|
|
788
788
|
key: string[];
|
|
789
|
-
schema: {
|
|
790
|
-
schemas: {
|
|
791
|
-
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
792
|
-
};
|
|
793
|
-
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
794
|
-
};
|
|
795
789
|
indices: {
|
|
796
790
|
[key: string]: {
|
|
797
791
|
fields: string[];
|
|
798
792
|
unique: boolean;
|
|
799
793
|
};
|
|
800
794
|
};
|
|
795
|
+
schema: {
|
|
796
|
+
schemas: {
|
|
797
|
+
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
798
|
+
};
|
|
799
|
+
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
800
|
+
};
|
|
801
801
|
};
|
|
802
802
|
}>;
|
|
803
803
|
stateGrant: import("../../typing/array-type-description.js").ArrayTypeDescription<{
|
|
804
804
|
state: string;
|
|
805
|
-
methods: ("get" | "range" | "observe" | "iterate" | "observeRange")[];
|
|
806
805
|
filters: {
|
|
807
|
-
field: string;
|
|
808
806
|
value: string;
|
|
807
|
+
field: string;
|
|
809
808
|
}[];
|
|
810
809
|
access: "read" | "write";
|
|
810
|
+
methods: ("get" | "range" | "observe" | "iterate" | "observeRange")[];
|
|
811
811
|
}>;
|
|
812
812
|
eventGrant: import("../../typing/array-type-description.js").ArrayTypeDescription<{
|
|
813
|
+
event: string;
|
|
813
814
|
filters: {
|
|
814
|
-
field: string;
|
|
815
815
|
value: string;
|
|
816
|
+
field: string;
|
|
816
817
|
}[];
|
|
817
818
|
access: "read" | "write";
|
|
818
|
-
event: string;
|
|
819
819
|
}>;
|
|
820
820
|
}>> & {
|
|
821
821
|
key: "access-aggregation";
|
|
@@ -851,36 +851,36 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
851
851
|
state: import("../../typing/record-type-description.js").RecordTypeDescription<{
|
|
852
852
|
[key: string]: {
|
|
853
853
|
key: string[];
|
|
854
|
-
schema: {
|
|
855
|
-
schemas: {
|
|
856
|
-
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
857
|
-
};
|
|
858
|
-
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
859
|
-
};
|
|
860
854
|
indices: {
|
|
861
855
|
[key: string]: {
|
|
862
856
|
fields: string[];
|
|
863
857
|
unique: boolean;
|
|
864
858
|
};
|
|
865
859
|
};
|
|
860
|
+
schema: {
|
|
861
|
+
schemas: {
|
|
862
|
+
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
863
|
+
};
|
|
864
|
+
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
865
|
+
};
|
|
866
866
|
};
|
|
867
867
|
}>;
|
|
868
868
|
stateGrant: import("../../typing/array-type-description.js").ArrayTypeDescription<{
|
|
869
869
|
state: string;
|
|
870
|
-
methods: ("get" | "range" | "observe" | "iterate" | "observeRange")[];
|
|
871
870
|
filters: {
|
|
872
|
-
field: string;
|
|
873
871
|
value: string;
|
|
872
|
+
field: string;
|
|
874
873
|
}[];
|
|
875
874
|
access: "read" | "write";
|
|
875
|
+
methods: ("get" | "range" | "observe" | "iterate" | "observeRange")[];
|
|
876
876
|
}>;
|
|
877
877
|
eventGrant: import("../../typing/array-type-description.js").ArrayTypeDescription<{
|
|
878
|
+
event: string;
|
|
878
879
|
filters: {
|
|
879
|
-
field: string;
|
|
880
880
|
value: string;
|
|
881
|
+
field: string;
|
|
881
882
|
}[];
|
|
882
883
|
access: "read" | "write";
|
|
883
|
-
event: string;
|
|
884
884
|
}>;
|
|
885
885
|
}>> & {
|
|
886
886
|
key: "stream-def-created";
|
|
@@ -924,13 +924,12 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
924
924
|
};
|
|
925
925
|
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
926
926
|
};
|
|
927
|
-
|
|
927
|
+
event: string;
|
|
928
928
|
stream: {
|
|
929
|
-
version: string;
|
|
930
929
|
pattern: string;
|
|
930
|
+
version: string;
|
|
931
931
|
};
|
|
932
932
|
} | {
|
|
933
|
-
event: string;
|
|
934
933
|
schema: {
|
|
935
934
|
schemas: {
|
|
936
935
|
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
@@ -938,44 +937,45 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
938
937
|
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
939
938
|
};
|
|
940
939
|
stream: {
|
|
941
|
-
version: string;
|
|
942
940
|
pattern: string;
|
|
941
|
+
version: string;
|
|
943
942
|
};
|
|
943
|
+
output: string;
|
|
944
944
|
};
|
|
945
945
|
}>;
|
|
946
946
|
state: import("../../typing/record-type-description.js").RecordTypeDescription<{
|
|
947
947
|
[key: string]: {
|
|
948
948
|
key: string[];
|
|
949
|
-
schema: {
|
|
950
|
-
schemas: {
|
|
951
|
-
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
952
|
-
};
|
|
953
|
-
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
954
|
-
};
|
|
955
949
|
indices: {
|
|
956
950
|
[key: string]: {
|
|
957
951
|
fields: string[];
|
|
958
952
|
unique: boolean;
|
|
959
953
|
};
|
|
960
954
|
};
|
|
955
|
+
schema: {
|
|
956
|
+
schemas: {
|
|
957
|
+
[key: string]: import("../../json-schema/json-schema.js").JsonSchema;
|
|
958
|
+
};
|
|
959
|
+
mainSchema: import("../../json-schema/json-schema.js").JsonSchema;
|
|
960
|
+
};
|
|
961
961
|
};
|
|
962
962
|
}>;
|
|
963
963
|
stateGrant: import("../../typing/array-type-description.js").ArrayTypeDescription<{
|
|
964
964
|
state: string;
|
|
965
|
-
methods: ("get" | "range" | "observe" | "iterate" | "observeRange")[];
|
|
966
965
|
filters: {
|
|
967
|
-
field: string;
|
|
968
966
|
value: string;
|
|
967
|
+
field: string;
|
|
969
968
|
}[];
|
|
970
969
|
access: "read" | "write";
|
|
970
|
+
methods: ("get" | "range" | "observe" | "iterate" | "observeRange")[];
|
|
971
971
|
}>;
|
|
972
972
|
eventGrant: import("../../typing/array-type-description.js").ArrayTypeDescription<{
|
|
973
|
+
event: string;
|
|
973
974
|
filters: {
|
|
974
|
-
field: string;
|
|
975
975
|
value: string;
|
|
976
|
+
field: string;
|
|
976
977
|
}[];
|
|
977
978
|
access: "read" | "write";
|
|
978
|
-
event: string;
|
|
979
979
|
}>;
|
|
980
980
|
}>> & {
|
|
981
981
|
key: "aggregation-def-created";
|
|
@@ -1010,19 +1010,30 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
1010
1010
|
}, Readonly<import("../../realm/realm-definition.js").RealmDefinition<{
|
|
1011
1011
|
readonly github: Readonly<{
|
|
1012
1012
|
type: "token";
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1013
|
+
jwt: {
|
|
1014
|
+
type: "jwt";
|
|
1015
|
+
secret: string | {
|
|
1016
|
+
type: "secret";
|
|
1017
|
+
name: string;
|
|
1017
1018
|
};
|
|
1018
|
-
|
|
1019
|
+
algorithm: "HS256";
|
|
1020
|
+
issuer: string;
|
|
1021
|
+
audience: string;
|
|
1022
|
+
expirationTime: string;
|
|
1019
1023
|
};
|
|
1020
|
-
clientId: string;
|
|
1021
1024
|
issuer: string;
|
|
1025
|
+
clientId: string;
|
|
1022
1026
|
clientSecret: string | {
|
|
1023
1027
|
type: "secret";
|
|
1024
1028
|
name: string;
|
|
1025
1029
|
};
|
|
1030
|
+
token: {
|
|
1031
|
+
url: string;
|
|
1032
|
+
formData: {
|
|
1033
|
+
[key: string]: string;
|
|
1034
|
+
};
|
|
1035
|
+
tokenAttributes: string[] | undefined;
|
|
1036
|
+
};
|
|
1026
1037
|
authorize: {
|
|
1027
1038
|
url: string;
|
|
1028
1039
|
queryParams: {
|
|
@@ -1040,20 +1051,31 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
1040
1051
|
url: string;
|
|
1041
1052
|
tokenAttributes: string[] | undefined;
|
|
1042
1053
|
};
|
|
1054
|
+
}>;
|
|
1055
|
+
readonly microsoft: Readonly<{
|
|
1056
|
+
type: "openid";
|
|
1043
1057
|
jwt: {
|
|
1044
1058
|
type: "jwt";
|
|
1045
1059
|
secret: string | {
|
|
1046
1060
|
type: "secret";
|
|
1047
1061
|
name: string;
|
|
1048
1062
|
};
|
|
1049
|
-
issuer: string;
|
|
1050
1063
|
algorithm: "HS256";
|
|
1064
|
+
issuer: string;
|
|
1051
1065
|
audience: string;
|
|
1052
1066
|
expirationTime: string;
|
|
1053
1067
|
};
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1068
|
+
issuer: string | string[];
|
|
1069
|
+
audience: string | string[] | undefined;
|
|
1070
|
+
clientId: string | undefined;
|
|
1071
|
+
clientSecret: string | {
|
|
1072
|
+
type: "secret";
|
|
1073
|
+
name: string;
|
|
1074
|
+
} | undefined;
|
|
1075
|
+
jwks: {
|
|
1076
|
+
url: string;
|
|
1077
|
+
subKey: string;
|
|
1078
|
+
};
|
|
1057
1079
|
token: {
|
|
1058
1080
|
url: string;
|
|
1059
1081
|
formData: {
|
|
@@ -1061,12 +1083,6 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
1061
1083
|
};
|
|
1062
1084
|
tokenAttributes: string[] | undefined;
|
|
1063
1085
|
} | undefined;
|
|
1064
|
-
clientId: string | undefined;
|
|
1065
|
-
issuer: string | string[];
|
|
1066
|
-
clientSecret: string | {
|
|
1067
|
-
type: "secret";
|
|
1068
|
-
name: string;
|
|
1069
|
-
} | undefined;
|
|
1070
1086
|
authorize: {
|
|
1071
1087
|
url: string;
|
|
1072
1088
|
queryParams: {
|
|
@@ -1080,25 +1096,31 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
1080
1096
|
grantType: string;
|
|
1081
1097
|
scope: string | undefined;
|
|
1082
1098
|
} | undefined;
|
|
1099
|
+
}>;
|
|
1100
|
+
readonly google: Readonly<{
|
|
1101
|
+
type: "openid";
|
|
1083
1102
|
jwt: {
|
|
1084
1103
|
type: "jwt";
|
|
1085
1104
|
secret: string | {
|
|
1086
1105
|
type: "secret";
|
|
1087
1106
|
name: string;
|
|
1088
1107
|
};
|
|
1089
|
-
issuer: string;
|
|
1090
1108
|
algorithm: "HS256";
|
|
1109
|
+
issuer: string;
|
|
1091
1110
|
audience: string;
|
|
1092
1111
|
expirationTime: string;
|
|
1093
1112
|
};
|
|
1113
|
+
issuer: string | string[];
|
|
1094
1114
|
audience: string | string[] | undefined;
|
|
1115
|
+
clientId: string | undefined;
|
|
1116
|
+
clientSecret: string | {
|
|
1117
|
+
type: "secret";
|
|
1118
|
+
name: string;
|
|
1119
|
+
} | undefined;
|
|
1095
1120
|
jwks: {
|
|
1096
1121
|
url: string;
|
|
1097
1122
|
subKey: string;
|
|
1098
1123
|
};
|
|
1099
|
-
}>;
|
|
1100
|
-
readonly google: Readonly<{
|
|
1101
|
-
type: "openid";
|
|
1102
1124
|
token: {
|
|
1103
1125
|
url: string;
|
|
1104
1126
|
formData: {
|
|
@@ -1106,12 +1128,6 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
1106
1128
|
};
|
|
1107
1129
|
tokenAttributes: string[] | undefined;
|
|
1108
1130
|
} | undefined;
|
|
1109
|
-
clientId: string | undefined;
|
|
1110
|
-
issuer: string | string[];
|
|
1111
|
-
clientSecret: string | {
|
|
1112
|
-
type: "secret";
|
|
1113
|
-
name: string;
|
|
1114
|
-
} | undefined;
|
|
1115
1131
|
authorize: {
|
|
1116
1132
|
url: string;
|
|
1117
1133
|
queryParams: {
|
|
@@ -1125,25 +1141,31 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
1125
1141
|
grantType: string;
|
|
1126
1142
|
scope: string | undefined;
|
|
1127
1143
|
} | undefined;
|
|
1144
|
+
}>;
|
|
1145
|
+
readonly github_actions: Readonly<{
|
|
1146
|
+
type: "openid";
|
|
1128
1147
|
jwt: {
|
|
1129
1148
|
type: "jwt";
|
|
1130
1149
|
secret: string | {
|
|
1131
1150
|
type: "secret";
|
|
1132
1151
|
name: string;
|
|
1133
1152
|
};
|
|
1134
|
-
issuer: string;
|
|
1135
1153
|
algorithm: "HS256";
|
|
1154
|
+
issuer: string;
|
|
1136
1155
|
audience: string;
|
|
1137
1156
|
expirationTime: string;
|
|
1138
1157
|
};
|
|
1158
|
+
issuer: string | string[];
|
|
1139
1159
|
audience: string | string[] | undefined;
|
|
1160
|
+
clientId: string | undefined;
|
|
1161
|
+
clientSecret: string | {
|
|
1162
|
+
type: "secret";
|
|
1163
|
+
name: string;
|
|
1164
|
+
} | undefined;
|
|
1140
1165
|
jwks: {
|
|
1141
1166
|
url: string;
|
|
1142
1167
|
subKey: string;
|
|
1143
1168
|
};
|
|
1144
|
-
}>;
|
|
1145
|
-
readonly github_actions: Readonly<{
|
|
1146
|
-
type: "openid";
|
|
1147
1169
|
token: {
|
|
1148
1170
|
url: string;
|
|
1149
1171
|
formData: {
|
|
@@ -1151,12 +1173,6 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
1151
1173
|
};
|
|
1152
1174
|
tokenAttributes: string[] | undefined;
|
|
1153
1175
|
} | undefined;
|
|
1154
|
-
clientId: string | undefined;
|
|
1155
|
-
issuer: string | string[];
|
|
1156
|
-
clientSecret: string | {
|
|
1157
|
-
type: "secret";
|
|
1158
|
-
name: string;
|
|
1159
|
-
} | undefined;
|
|
1160
1176
|
authorize: {
|
|
1161
1177
|
url: string;
|
|
1162
1178
|
queryParams: {
|
|
@@ -1170,22 +1186,6 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
1170
1186
|
grantType: string;
|
|
1171
1187
|
scope: string | undefined;
|
|
1172
1188
|
} | undefined;
|
|
1173
|
-
jwt: {
|
|
1174
|
-
type: "jwt";
|
|
1175
|
-
secret: string | {
|
|
1176
|
-
type: "secret";
|
|
1177
|
-
name: string;
|
|
1178
|
-
};
|
|
1179
|
-
issuer: string;
|
|
1180
|
-
algorithm: "HS256";
|
|
1181
|
-
audience: string;
|
|
1182
|
-
expirationTime: string;
|
|
1183
|
-
};
|
|
1184
|
-
audience: string | string[] | undefined;
|
|
1185
|
-
jwks: {
|
|
1186
|
-
url: string;
|
|
1187
|
-
subKey: string;
|
|
1188
|
-
};
|
|
1189
1189
|
}>;
|
|
1190
1190
|
readonly iwentsourcing: {
|
|
1191
1191
|
type: "jwt";
|
|
@@ -1193,8 +1193,8 @@ export declare const accessStream: import("../../runtime/host-runtime.js").Strea
|
|
|
1193
1193
|
type: "secret";
|
|
1194
1194
|
name: string;
|
|
1195
1195
|
};
|
|
1196
|
-
issuer: string;
|
|
1197
1196
|
algorithm: "HS256";
|
|
1197
|
+
issuer: string;
|
|
1198
1198
|
audience: string;
|
|
1199
1199
|
expirationTime: string;
|
|
1200
1200
|
};
|