@alpamayo-solutions/colca-client 0.0.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/README.md +143 -3
- package/dist/door.d.ts +155 -0
- package/dist/door.d.ts.map +1 -0
- package/dist/door.js +212 -0
- package/dist/door.js.map +1 -0
- package/dist/generated/contracts.d.ts +627 -0
- package/dist/generated/contracts.d.ts.map +1 -0
- package/dist/generated/contracts.js +39 -0
- package/dist/generated/contracts.js.map +1 -0
- package/dist/ids.d.ts +36 -0
- package/dist/ids.d.ts.map +1 -0
- package/dist/ids.js +64 -0
- package/dist/ids.js.map +1 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/live.d.ts +148 -0
- package/dist/live.d.ts.map +1 -0
- package/dist/live.js +500 -0
- package/dist/live.js.map +1 -0
- package/dist/stream.d.ts +54 -0
- package/dist/stream.d.ts.map +1 -0
- package/dist/stream.js +85 -0
- package/dist/stream.js.map +1 -0
- package/dist/topics.d.ts +45 -0
- package/dist/topics.d.ts.map +1 -0
- package/dist/topics.js +70 -0
- package/dist/topics.js.map +1 -0
- package/package.json +66 -3
- package/LICENSE.md +0 -105
|
@@ -0,0 +1,627 @@
|
|
|
1
|
+
/** `_Ack` — stream class `ack`. */
|
|
2
|
+
export type Ack = {
|
|
3
|
+
correlation_id: string;
|
|
4
|
+
message?: string;
|
|
5
|
+
performed_at?: null | number;
|
|
6
|
+
result_code: number;
|
|
7
|
+
[key: string]: unknown;
|
|
8
|
+
};
|
|
9
|
+
/** `_AlarmNotificationConfig` — stream class `entity`. */
|
|
10
|
+
export type AlarmNotificationConfig = {
|
|
11
|
+
active_silences: Record<string, unknown>[];
|
|
12
|
+
alarms: Record<string, unknown>[];
|
|
13
|
+
channels: {
|
|
14
|
+
enabled?: boolean;
|
|
15
|
+
id: string;
|
|
16
|
+
kind: string;
|
|
17
|
+
name: string;
|
|
18
|
+
public_config: Record<string, unknown>;
|
|
19
|
+
rate_limit_per_minute?: number;
|
|
20
|
+
sealed_secret: null | {
|
|
21
|
+
algorithm: string;
|
|
22
|
+
ciphertext: string;
|
|
23
|
+
key_id: string;
|
|
24
|
+
version: number;
|
|
25
|
+
};
|
|
26
|
+
}[];
|
|
27
|
+
id: string;
|
|
28
|
+
issued_at: number;
|
|
29
|
+
policies: Record<string, unknown>[];
|
|
30
|
+
policy_targets: Record<string, unknown>[];
|
|
31
|
+
recipients: Record<string, unknown>[];
|
|
32
|
+
revision_id: string;
|
|
33
|
+
schema_version: number;
|
|
34
|
+
target_node_id: string;
|
|
35
|
+
[key: string]: unknown;
|
|
36
|
+
};
|
|
37
|
+
/** `_AlarmStateChange` — stream class `alarm`. */
|
|
38
|
+
export type AlarmStateChange = {
|
|
39
|
+
alarm_id: string;
|
|
40
|
+
at: number;
|
|
41
|
+
event_id: string;
|
|
42
|
+
from_status: null | string;
|
|
43
|
+
metadata_json?: Record<string, unknown>;
|
|
44
|
+
notification: {
|
|
45
|
+
channels?: {
|
|
46
|
+
attempt?: number;
|
|
47
|
+
channel_id: string;
|
|
48
|
+
channel_kind: string;
|
|
49
|
+
error_code?: null | string;
|
|
50
|
+
policy_id?: null | string;
|
|
51
|
+
provider_message_id?: null | string;
|
|
52
|
+
recipient_id?: null | string;
|
|
53
|
+
sent: boolean;
|
|
54
|
+
status: string;
|
|
55
|
+
target_id?: null | string;
|
|
56
|
+
}[];
|
|
57
|
+
requested: boolean;
|
|
58
|
+
status: string;
|
|
59
|
+
};
|
|
60
|
+
notification_settings?: null | Record<string, unknown>;
|
|
61
|
+
revision: number;
|
|
62
|
+
signal_value: unknown;
|
|
63
|
+
to_status: string;
|
|
64
|
+
[key: string]: unknown;
|
|
65
|
+
};
|
|
66
|
+
/** `_Annotation` — stream class `annotation`. */
|
|
67
|
+
export type Annotation = {
|
|
68
|
+
annotation_id: string;
|
|
69
|
+
annotation_type_id: string;
|
|
70
|
+
deleted?: boolean;
|
|
71
|
+
revision?: number;
|
|
72
|
+
signal_ids?: string[];
|
|
73
|
+
source?: string;
|
|
74
|
+
time_end?: null | number;
|
|
75
|
+
time_start: number;
|
|
76
|
+
value?: unknown;
|
|
77
|
+
[key: string]: unknown;
|
|
78
|
+
};
|
|
79
|
+
/** `_AnnotationType` — stream class `definition`. */
|
|
80
|
+
export type AnnotationType = {
|
|
81
|
+
create_option_on_input_new?: boolean;
|
|
82
|
+
data_type: string;
|
|
83
|
+
description?: string;
|
|
84
|
+
i18n_name?: string;
|
|
85
|
+
id: string;
|
|
86
|
+
max_value?: null | number;
|
|
87
|
+
metadata?: Record<string, unknown>;
|
|
88
|
+
min_value?: null | number;
|
|
89
|
+
name: string;
|
|
90
|
+
options?: Record<string, unknown>[];
|
|
91
|
+
unit?: null | string;
|
|
92
|
+
[key: string]: unknown;
|
|
93
|
+
};
|
|
94
|
+
/** `_AuditEvent` — stream class `audit`. */
|
|
95
|
+
export type AuditEvent = {
|
|
96
|
+
action: "sign_in" | "sign_out" | "authorize" | "identity_admin" | "credential_admin" | "execute" | "rebuild" | "restore" | "security_config";
|
|
97
|
+
actor_id?: null | string;
|
|
98
|
+
actor_kind: "human" | "service" | "node" | "system" | "anonymous";
|
|
99
|
+
actor_label?: null | string;
|
|
100
|
+
changed_fields?: string[];
|
|
101
|
+
correlation_id?: null | string;
|
|
102
|
+
entity_id?: null | string;
|
|
103
|
+
entity_type?: null | string;
|
|
104
|
+
event_id: string;
|
|
105
|
+
metadata?: Record<string, unknown>;
|
|
106
|
+
occurred_at: number;
|
|
107
|
+
operation?: null | string;
|
|
108
|
+
outcome: "success" | "failure" | "denied";
|
|
109
|
+
reason_code?: null | string;
|
|
110
|
+
source: "colca" | "api" | "keycloak" | "projector" | "node_manager";
|
|
111
|
+
[key: string]: unknown;
|
|
112
|
+
};
|
|
113
|
+
/** `_Cmd` — stream class `cmd`. */
|
|
114
|
+
export type Cmd = {
|
|
115
|
+
command?: Record<string, unknown>;
|
|
116
|
+
correlation_id: string;
|
|
117
|
+
created_at?: number;
|
|
118
|
+
expires_at: number;
|
|
119
|
+
[key: string]: unknown;
|
|
120
|
+
};
|
|
121
|
+
/** `_CmdAdmin` — stream class `cmd`. */
|
|
122
|
+
export type CmdAdmin = {
|
|
123
|
+
command?: Record<string, unknown>;
|
|
124
|
+
correlation_id: string;
|
|
125
|
+
created_at?: number;
|
|
126
|
+
expires_at: number;
|
|
127
|
+
[key: string]: unknown;
|
|
128
|
+
};
|
|
129
|
+
/** `_CmdConfigure` — stream class `cmd`. */
|
|
130
|
+
export type CmdConfigure = {
|
|
131
|
+
command?: Record<string, unknown>;
|
|
132
|
+
correlation_id: string;
|
|
133
|
+
created_at?: number;
|
|
134
|
+
expires_at: number;
|
|
135
|
+
[key: string]: unknown;
|
|
136
|
+
};
|
|
137
|
+
/** `_CmdEdit` — stream class `cmd`. */
|
|
138
|
+
export type CmdEdit = {
|
|
139
|
+
command?: Record<string, unknown>;
|
|
140
|
+
correlation_id: string;
|
|
141
|
+
created_at?: number;
|
|
142
|
+
expected_versions: Record<string, unknown>;
|
|
143
|
+
expires_at: number;
|
|
144
|
+
intent: Record<string, unknown>;
|
|
145
|
+
operation_id: string;
|
|
146
|
+
[key: string]: unknown;
|
|
147
|
+
};
|
|
148
|
+
/** `_CmdMaintain` — stream class `cmd`. */
|
|
149
|
+
export type CmdMaintain = {
|
|
150
|
+
command?: Record<string, unknown>;
|
|
151
|
+
correlation_id: string;
|
|
152
|
+
created_at?: number;
|
|
153
|
+
expires_at: number;
|
|
154
|
+
[key: string]: unknown;
|
|
155
|
+
};
|
|
156
|
+
/** `_CmdOperate` — stream class `cmd`. */
|
|
157
|
+
export type CmdOperate = {
|
|
158
|
+
command?: Record<string, unknown>;
|
|
159
|
+
correlation_id: string;
|
|
160
|
+
created_at?: number;
|
|
161
|
+
expires_at: number;
|
|
162
|
+
[key: string]: unknown;
|
|
163
|
+
};
|
|
164
|
+
/** `_CmdParam` — stream class `cmd`. */
|
|
165
|
+
export type CmdParam = {
|
|
166
|
+
command?: Record<string, unknown>;
|
|
167
|
+
correlation_id: string;
|
|
168
|
+
created_at?: number;
|
|
169
|
+
expires_at: number;
|
|
170
|
+
[key: string]: unknown;
|
|
171
|
+
};
|
|
172
|
+
/** `_Constant` — stream class `entity`. */
|
|
173
|
+
export type Constant = {
|
|
174
|
+
created_at?: null | string;
|
|
175
|
+
data_type: "float64" | "int64" | "boolean" | "string" | "datetime" | "json";
|
|
176
|
+
description?: string;
|
|
177
|
+
id: string;
|
|
178
|
+
metadata?: Record<string, unknown>;
|
|
179
|
+
name: string;
|
|
180
|
+
precision?: null | number;
|
|
181
|
+
semantic_type_id?: null | string;
|
|
182
|
+
system_element_id?: null | string;
|
|
183
|
+
unit?: null | string;
|
|
184
|
+
updated_at?: null | string;
|
|
185
|
+
value?: unknown;
|
|
186
|
+
[key: string]: unknown;
|
|
187
|
+
};
|
|
188
|
+
/** `_DataModel` — stream class `definition`. */
|
|
189
|
+
export type DataModel = {
|
|
190
|
+
description?: string;
|
|
191
|
+
extends?: string[];
|
|
192
|
+
id: string;
|
|
193
|
+
name: string;
|
|
194
|
+
slots?: Record<string, unknown>[];
|
|
195
|
+
version?: string;
|
|
196
|
+
[key: string]: unknown;
|
|
197
|
+
};
|
|
198
|
+
/** `_DataTags` — stream class `entity`. */
|
|
199
|
+
export type DataTags = {
|
|
200
|
+
connector: string;
|
|
201
|
+
data_tags: {
|
|
202
|
+
data_type?: null | string;
|
|
203
|
+
id: string;
|
|
204
|
+
is_readable: boolean;
|
|
205
|
+
is_stale?: boolean;
|
|
206
|
+
is_writable: boolean;
|
|
207
|
+
meta?: Record<string, unknown>;
|
|
208
|
+
name: string;
|
|
209
|
+
source: string;
|
|
210
|
+
[key: string]: unknown;
|
|
211
|
+
}[];
|
|
212
|
+
[key: string]: unknown;
|
|
213
|
+
};
|
|
214
|
+
/** `_EditOperation` — stream class `entity`. */
|
|
215
|
+
export type EditOperation = {
|
|
216
|
+
digest: string;
|
|
217
|
+
id: string;
|
|
218
|
+
message: string;
|
|
219
|
+
result: string;
|
|
220
|
+
topics: string[];
|
|
221
|
+
[key: string]: unknown;
|
|
222
|
+
};
|
|
223
|
+
/** `_ExternalReference` — stream class `entity`. */
|
|
224
|
+
export type ExternalReference = {
|
|
225
|
+
description?: string;
|
|
226
|
+
external_column?: string;
|
|
227
|
+
external_row_id: string;
|
|
228
|
+
external_system_id: string;
|
|
229
|
+
external_table: string;
|
|
230
|
+
id: string;
|
|
231
|
+
relationship_type: string;
|
|
232
|
+
source_entity: string;
|
|
233
|
+
source_object_id: string;
|
|
234
|
+
[key: string]: unknown;
|
|
235
|
+
};
|
|
236
|
+
/** `_ExternalSystem` — stream class `definition`. */
|
|
237
|
+
export type ExternalSystem = {
|
|
238
|
+
description?: string;
|
|
239
|
+
id: string;
|
|
240
|
+
key: string;
|
|
241
|
+
name: string;
|
|
242
|
+
properties?: Record<string, unknown>;
|
|
243
|
+
system_type: string;
|
|
244
|
+
[key: string]: unknown;
|
|
245
|
+
};
|
|
246
|
+
/** `_Group` — stream class `definition`. */
|
|
247
|
+
export type Group = {
|
|
248
|
+
description?: string;
|
|
249
|
+
grants?: string[];
|
|
250
|
+
id: string;
|
|
251
|
+
name: string;
|
|
252
|
+
[key: string]: unknown;
|
|
253
|
+
};
|
|
254
|
+
/** `_Log` — stream class `log`. */
|
|
255
|
+
export type Log = {
|
|
256
|
+
exc_info?: null | string;
|
|
257
|
+
extra?: null | Record<string, unknown>;
|
|
258
|
+
function: string;
|
|
259
|
+
level: string;
|
|
260
|
+
line_no: number;
|
|
261
|
+
logger_name: string;
|
|
262
|
+
message: string;
|
|
263
|
+
module: string;
|
|
264
|
+
timestamp: string;
|
|
265
|
+
[key: string]: unknown;
|
|
266
|
+
};
|
|
267
|
+
/** `_MetadataType` — stream class `definition`. */
|
|
268
|
+
export type MetadataType = {
|
|
269
|
+
allowed_content_type_keys?: string[];
|
|
270
|
+
data_type: string;
|
|
271
|
+
description?: string;
|
|
272
|
+
i18n_name?: string;
|
|
273
|
+
id: string;
|
|
274
|
+
is_mandatory?: boolean;
|
|
275
|
+
name: string;
|
|
276
|
+
[key: string]: unknown;
|
|
277
|
+
};
|
|
278
|
+
/** `_Metric` — stream class `data`. */
|
|
279
|
+
export type Metric = {
|
|
280
|
+
colca_node_id?: null | string;
|
|
281
|
+
error?: null | string;
|
|
282
|
+
signal_id: string;
|
|
283
|
+
timestamp: number;
|
|
284
|
+
value: unknown;
|
|
285
|
+
[key: string]: unknown;
|
|
286
|
+
};
|
|
287
|
+
/** `_Node` — stream class `entity`. */
|
|
288
|
+
export type Node = {
|
|
289
|
+
description?: string;
|
|
290
|
+
display_name?: string;
|
|
291
|
+
health_metrics?: {
|
|
292
|
+
description?: string;
|
|
293
|
+
key: string;
|
|
294
|
+
max_value?: null | number;
|
|
295
|
+
metric: string;
|
|
296
|
+
min_value?: null | number;
|
|
297
|
+
name: string;
|
|
298
|
+
precision?: null | number;
|
|
299
|
+
query?: string;
|
|
300
|
+
thresholds?: Record<string, unknown>;
|
|
301
|
+
unit?: string;
|
|
302
|
+
visualization?: "gauge" | "timeline" | "value";
|
|
303
|
+
}[];
|
|
304
|
+
id: string;
|
|
305
|
+
metadata?: Record<string, unknown>;
|
|
306
|
+
name: string;
|
|
307
|
+
network_interfaces?: {
|
|
308
|
+
addresses?: string[];
|
|
309
|
+
interface_type: "ethernet" | "wifi" | "cellular" | "loopback" | "bridge" | "vpn" | "overlay" | "virtual" | "other";
|
|
310
|
+
mac_address?: string;
|
|
311
|
+
name: string;
|
|
312
|
+
observed_at?: number;
|
|
313
|
+
}[];
|
|
314
|
+
root_system_element_id?: null | string;
|
|
315
|
+
[key: string]: unknown;
|
|
316
|
+
};
|
|
317
|
+
/** `_NotificationConfigStatus` — stream class `entity`. */
|
|
318
|
+
export type NotificationConfigStatus = {
|
|
319
|
+
applied_at: number;
|
|
320
|
+
config_id: string;
|
|
321
|
+
id: string;
|
|
322
|
+
message?: null | string;
|
|
323
|
+
reason_code?: null | string;
|
|
324
|
+
revision_id: string;
|
|
325
|
+
status: string;
|
|
326
|
+
target_node_id: string;
|
|
327
|
+
[key: string]: unknown;
|
|
328
|
+
};
|
|
329
|
+
/** `_NotificationDispatched` — stream class `alarm`. */
|
|
330
|
+
export type NotificationDispatched = {
|
|
331
|
+
alarm_event_id: null | string;
|
|
332
|
+
at: number;
|
|
333
|
+
attempt: number;
|
|
334
|
+
channel_id: string;
|
|
335
|
+
channel_kind?: null | string;
|
|
336
|
+
error?: null | string;
|
|
337
|
+
idempotency_key: string;
|
|
338
|
+
latency_ms: null | number;
|
|
339
|
+
metadata_json?: Record<string, unknown>;
|
|
340
|
+
policy_id: null | string;
|
|
341
|
+
provider?: null | string;
|
|
342
|
+
provider_message_id?: null | string;
|
|
343
|
+
recipient_id: string;
|
|
344
|
+
retryable?: boolean;
|
|
345
|
+
status: string;
|
|
346
|
+
terminal?: boolean;
|
|
347
|
+
[key: string]: unknown;
|
|
348
|
+
};
|
|
349
|
+
/** `_PersonalAccessToken` — stream class `definition`. */
|
|
350
|
+
export type PersonalAccessToken = {
|
|
351
|
+
expires_at?: null | string;
|
|
352
|
+
grants?: string[];
|
|
353
|
+
hashed_secret: string;
|
|
354
|
+
id: string;
|
|
355
|
+
namespace_read_permissions?: string[];
|
|
356
|
+
namespace_write_permissions?: string[];
|
|
357
|
+
owner_email: string;
|
|
358
|
+
owner_sub: string;
|
|
359
|
+
roles?: string[];
|
|
360
|
+
scopes?: string[];
|
|
361
|
+
[key: string]: unknown;
|
|
362
|
+
};
|
|
363
|
+
/** `_Resource` — stream class `entity`. */
|
|
364
|
+
export type Resource = {
|
|
365
|
+
content_type?: string;
|
|
366
|
+
created_at?: null | string;
|
|
367
|
+
description?: string;
|
|
368
|
+
display_name?: string;
|
|
369
|
+
filename: string;
|
|
370
|
+
id: string;
|
|
371
|
+
metadata?: Record<string, unknown>;
|
|
372
|
+
resource_type?: string;
|
|
373
|
+
sha256?: string;
|
|
374
|
+
size_bytes?: number;
|
|
375
|
+
system_element_id: string;
|
|
376
|
+
updated_at?: null | string;
|
|
377
|
+
[key: string]: unknown;
|
|
378
|
+
};
|
|
379
|
+
/** `_SemanticTag` — stream class `definition`. */
|
|
380
|
+
export type SemanticTag = {
|
|
381
|
+
applies_to?: string[];
|
|
382
|
+
data_type?: null | string;
|
|
383
|
+
description?: string;
|
|
384
|
+
i18n_name?: string;
|
|
385
|
+
icon?: string;
|
|
386
|
+
id: string;
|
|
387
|
+
name: string;
|
|
388
|
+
quantity_kind?: null | string;
|
|
389
|
+
[key: string]: unknown;
|
|
390
|
+
};
|
|
391
|
+
/** `_ServiceDetails` — stream class `entity`. */
|
|
392
|
+
export type ServiceDetails = {
|
|
393
|
+
architecture_metadata?: Record<string, unknown>;
|
|
394
|
+
colca_node_id: string;
|
|
395
|
+
description?: string;
|
|
396
|
+
display_name?: string;
|
|
397
|
+
health_metrics?: {
|
|
398
|
+
description?: string;
|
|
399
|
+
key: string;
|
|
400
|
+
max_value?: null | number;
|
|
401
|
+
metric: string;
|
|
402
|
+
min_value?: null | number;
|
|
403
|
+
name: string;
|
|
404
|
+
precision?: null | number;
|
|
405
|
+
query?: string;
|
|
406
|
+
thresholds?: Record<string, unknown>;
|
|
407
|
+
unit?: string;
|
|
408
|
+
visualization?: "gauge" | "timeline" | "value";
|
|
409
|
+
}[];
|
|
410
|
+
hierarchy?: string[];
|
|
411
|
+
id: string;
|
|
412
|
+
is_active?: boolean;
|
|
413
|
+
metadata?: Record<string, unknown>;
|
|
414
|
+
name: string;
|
|
415
|
+
service_type: "connector" | "notifications" | "platform-health" | "ui" | "database" | "api" | "grafana" | "broker" | "agent" | "dataops" | "reverse-proxy" | "auth-service" | "mcp-server" | "docs" | "database-viewer" | "ca" | "advertiser" | "other" | "unknown";
|
|
416
|
+
system_element_id?: null | string;
|
|
417
|
+
[key: string]: unknown;
|
|
418
|
+
};
|
|
419
|
+
/** `_Signal` — stream class `entity`. */
|
|
420
|
+
export type Signal = {
|
|
421
|
+
config?: Record<string, unknown>;
|
|
422
|
+
created_at?: null | string;
|
|
423
|
+
data_tag?: null | string;
|
|
424
|
+
data_type?: "int" | "float" | "string" | "boolean" | "datetime" | "int_array" | "float_array" | "string_array" | "boolean_array" | "datetime_array" | null;
|
|
425
|
+
description?: string;
|
|
426
|
+
has_contract?: boolean;
|
|
427
|
+
id: string;
|
|
428
|
+
index_type?: "time" | "numerical" | "none" | null;
|
|
429
|
+
is_logged?: boolean;
|
|
430
|
+
is_published?: boolean;
|
|
431
|
+
max_value?: null | number;
|
|
432
|
+
metadata?: Record<string, unknown>;
|
|
433
|
+
min_value?: null | number;
|
|
434
|
+
name: string;
|
|
435
|
+
precision?: null | number;
|
|
436
|
+
replication_policy?: "replicate_to_parents" | "source_local_only";
|
|
437
|
+
semantic_type_id?: null | string;
|
|
438
|
+
system_element_id?: null | string;
|
|
439
|
+
unit?: null | string;
|
|
440
|
+
updated_at?: null | string;
|
|
441
|
+
[key: string]: unknown;
|
|
442
|
+
};
|
|
443
|
+
/** `_SystemElement` — stream class `entity`. */
|
|
444
|
+
export type SystemElement = {
|
|
445
|
+
created_at?: null | string;
|
|
446
|
+
description?: string;
|
|
447
|
+
external_asset_id?: null | string;
|
|
448
|
+
external_asset_id_type?: null | string;
|
|
449
|
+
id: string;
|
|
450
|
+
implements?: string[];
|
|
451
|
+
metadata?: Record<string, unknown>;
|
|
452
|
+
name: string;
|
|
453
|
+
parent_id?: null | string;
|
|
454
|
+
semantic_type_id?: null | string;
|
|
455
|
+
updated_at?: null | string;
|
|
456
|
+
[key: string]: unknown;
|
|
457
|
+
};
|
|
458
|
+
/** Every contract the node knows, with the stream it lands on. */
|
|
459
|
+
export declare const CONTRACTS: {
|
|
460
|
+
readonly _Ack: {
|
|
461
|
+
readonly class: "ack";
|
|
462
|
+
readonly tombstone: false;
|
|
463
|
+
};
|
|
464
|
+
readonly _AlarmNotificationConfig: {
|
|
465
|
+
readonly class: "entity";
|
|
466
|
+
readonly tombstone: true;
|
|
467
|
+
};
|
|
468
|
+
readonly _AlarmStateChange: {
|
|
469
|
+
readonly class: "alarm";
|
|
470
|
+
readonly tombstone: false;
|
|
471
|
+
};
|
|
472
|
+
readonly _Annotation: {
|
|
473
|
+
readonly class: "annotation";
|
|
474
|
+
readonly tombstone: false;
|
|
475
|
+
};
|
|
476
|
+
readonly _AnnotationType: {
|
|
477
|
+
readonly class: "definition";
|
|
478
|
+
readonly tombstone: true;
|
|
479
|
+
};
|
|
480
|
+
readonly _AuditEvent: {
|
|
481
|
+
readonly class: "audit";
|
|
482
|
+
readonly tombstone: false;
|
|
483
|
+
};
|
|
484
|
+
readonly _Cmd: {
|
|
485
|
+
readonly class: "cmd";
|
|
486
|
+
readonly tombstone: false;
|
|
487
|
+
};
|
|
488
|
+
readonly _CmdAdmin: {
|
|
489
|
+
readonly class: "cmd";
|
|
490
|
+
readonly tombstone: false;
|
|
491
|
+
};
|
|
492
|
+
readonly _CmdConfigure: {
|
|
493
|
+
readonly class: "cmd";
|
|
494
|
+
readonly tombstone: false;
|
|
495
|
+
};
|
|
496
|
+
readonly _CmdEdit: {
|
|
497
|
+
readonly class: "cmd";
|
|
498
|
+
readonly tombstone: false;
|
|
499
|
+
};
|
|
500
|
+
readonly _CmdMaintain: {
|
|
501
|
+
readonly class: "cmd";
|
|
502
|
+
readonly tombstone: false;
|
|
503
|
+
};
|
|
504
|
+
readonly _CmdOperate: {
|
|
505
|
+
readonly class: "cmd";
|
|
506
|
+
readonly tombstone: false;
|
|
507
|
+
};
|
|
508
|
+
readonly _CmdParam: {
|
|
509
|
+
readonly class: "cmd";
|
|
510
|
+
readonly tombstone: false;
|
|
511
|
+
};
|
|
512
|
+
readonly _Constant: {
|
|
513
|
+
readonly class: "entity";
|
|
514
|
+
readonly tombstone: true;
|
|
515
|
+
};
|
|
516
|
+
readonly _DataModel: {
|
|
517
|
+
readonly class: "definition";
|
|
518
|
+
readonly tombstone: true;
|
|
519
|
+
};
|
|
520
|
+
readonly _DataTags: {
|
|
521
|
+
readonly class: "entity";
|
|
522
|
+
readonly tombstone: true;
|
|
523
|
+
};
|
|
524
|
+
readonly _EditOperation: {
|
|
525
|
+
readonly class: "entity";
|
|
526
|
+
readonly tombstone: true;
|
|
527
|
+
};
|
|
528
|
+
readonly _ExternalReference: {
|
|
529
|
+
readonly class: "entity";
|
|
530
|
+
readonly tombstone: true;
|
|
531
|
+
};
|
|
532
|
+
readonly _ExternalSystem: {
|
|
533
|
+
readonly class: "definition";
|
|
534
|
+
readonly tombstone: true;
|
|
535
|
+
};
|
|
536
|
+
readonly _Group: {
|
|
537
|
+
readonly class: "definition";
|
|
538
|
+
readonly tombstone: true;
|
|
539
|
+
};
|
|
540
|
+
readonly _Log: {
|
|
541
|
+
readonly class: "log";
|
|
542
|
+
readonly tombstone: false;
|
|
543
|
+
};
|
|
544
|
+
readonly _MetadataType: {
|
|
545
|
+
readonly class: "definition";
|
|
546
|
+
readonly tombstone: true;
|
|
547
|
+
};
|
|
548
|
+
readonly _Metric: {
|
|
549
|
+
readonly class: "data";
|
|
550
|
+
readonly tombstone: true;
|
|
551
|
+
};
|
|
552
|
+
readonly _Node: {
|
|
553
|
+
readonly class: "entity";
|
|
554
|
+
readonly tombstone: true;
|
|
555
|
+
};
|
|
556
|
+
readonly _NotificationConfigStatus: {
|
|
557
|
+
readonly class: "entity";
|
|
558
|
+
readonly tombstone: true;
|
|
559
|
+
};
|
|
560
|
+
readonly _NotificationDispatched: {
|
|
561
|
+
readonly class: "alarm";
|
|
562
|
+
readonly tombstone: false;
|
|
563
|
+
};
|
|
564
|
+
readonly _PersonalAccessToken: {
|
|
565
|
+
readonly class: "definition";
|
|
566
|
+
readonly tombstone: true;
|
|
567
|
+
};
|
|
568
|
+
readonly _Resource: {
|
|
569
|
+
readonly class: "entity";
|
|
570
|
+
readonly tombstone: true;
|
|
571
|
+
};
|
|
572
|
+
readonly _SemanticTag: {
|
|
573
|
+
readonly class: "definition";
|
|
574
|
+
readonly tombstone: true;
|
|
575
|
+
};
|
|
576
|
+
readonly _ServiceDetails: {
|
|
577
|
+
readonly class: "entity";
|
|
578
|
+
readonly tombstone: true;
|
|
579
|
+
};
|
|
580
|
+
readonly _Signal: {
|
|
581
|
+
readonly class: "entity";
|
|
582
|
+
readonly tombstone: true;
|
|
583
|
+
};
|
|
584
|
+
readonly _SystemElement: {
|
|
585
|
+
readonly class: "entity";
|
|
586
|
+
readonly tombstone: true;
|
|
587
|
+
};
|
|
588
|
+
};
|
|
589
|
+
/** The wire names, `_Metric` and friends. */
|
|
590
|
+
export type ContractName = keyof typeof CONTRACTS;
|
|
591
|
+
/** The payload type behind a contract name: `PayloadOf<"_Metric">`. */
|
|
592
|
+
export interface PayloadByContract {
|
|
593
|
+
"_Ack": Ack;
|
|
594
|
+
"_AlarmNotificationConfig": AlarmNotificationConfig;
|
|
595
|
+
"_AlarmStateChange": AlarmStateChange;
|
|
596
|
+
"_Annotation": Annotation;
|
|
597
|
+
"_AnnotationType": AnnotationType;
|
|
598
|
+
"_AuditEvent": AuditEvent;
|
|
599
|
+
"_Cmd": Cmd;
|
|
600
|
+
"_CmdAdmin": CmdAdmin;
|
|
601
|
+
"_CmdConfigure": CmdConfigure;
|
|
602
|
+
"_CmdEdit": CmdEdit;
|
|
603
|
+
"_CmdMaintain": CmdMaintain;
|
|
604
|
+
"_CmdOperate": CmdOperate;
|
|
605
|
+
"_CmdParam": CmdParam;
|
|
606
|
+
"_Constant": Constant;
|
|
607
|
+
"_DataModel": DataModel;
|
|
608
|
+
"_DataTags": DataTags;
|
|
609
|
+
"_EditOperation": EditOperation;
|
|
610
|
+
"_ExternalReference": ExternalReference;
|
|
611
|
+
"_ExternalSystem": ExternalSystem;
|
|
612
|
+
"_Group": Group;
|
|
613
|
+
"_Log": Log;
|
|
614
|
+
"_MetadataType": MetadataType;
|
|
615
|
+
"_Metric": Metric;
|
|
616
|
+
"_Node": Node;
|
|
617
|
+
"_NotificationConfigStatus": NotificationConfigStatus;
|
|
618
|
+
"_NotificationDispatched": NotificationDispatched;
|
|
619
|
+
"_PersonalAccessToken": PersonalAccessToken;
|
|
620
|
+
"_Resource": Resource;
|
|
621
|
+
"_SemanticTag": SemanticTag;
|
|
622
|
+
"_ServiceDetails": ServiceDetails;
|
|
623
|
+
"_Signal": Signal;
|
|
624
|
+
"_SystemElement": SystemElement;
|
|
625
|
+
}
|
|
626
|
+
export type PayloadOf<T extends ContractName> = PayloadByContract[T];
|
|
627
|
+
//# sourceMappingURL=contracts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../src/generated/contracts.ts"],"names":[],"mappings":"AAIA,mCAAmC;AACnC,MAAM,MAAM,GAAG,GAAG;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAEF,0DAA0D;AAC1D,MAAM,MAAM,uBAAuB,GAAG;IACpC,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;IAC3C,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;IAClC,QAAQ,EAAE;QACR,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QACvC,qBAAqB,CAAC,EAAE,MAAM,CAAC;QAC/B,aAAa,EAAE,IAAI,GAAG;YACpB,SAAS,EAAE,MAAM,CAAC;YAClB,UAAU,EAAE,MAAM,CAAC;YACnB,MAAM,EAAE,MAAM,CAAC;YACf,OAAO,EAA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C;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,IAAI,CAAC;IACd,2BAA2B,EAAE,wBAAwB,CAAC;IACtD,yBAAyB,EAAE,sBAAsB,CAAC;IAClD,sBAAsB,EAAE,mBAAmB,CAAC;IAC5C,WAAW,EAAE,QAAQ,CAAC;IACtB,cAAc,EAAE,WAAW,CAAC;IAC5B,iBAAiB,EAAE,cAAc,CAAC;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,aAAa,CAAC;CACjC;AAED,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,YAAY,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// Generated from the contracts bundle — do not edit.
|
|
2
|
+
//
|
|
3
|
+
// make bundle && npm run generate:types
|
|
4
|
+
/** Every contract the node knows, with the stream it lands on. */
|
|
5
|
+
export const CONTRACTS = {
|
|
6
|
+
"_Ack": { class: "ack", tombstone: false },
|
|
7
|
+
"_AlarmNotificationConfig": { class: "entity", tombstone: true },
|
|
8
|
+
"_AlarmStateChange": { class: "alarm", tombstone: false },
|
|
9
|
+
"_Annotation": { class: "annotation", tombstone: false },
|
|
10
|
+
"_AnnotationType": { class: "definition", tombstone: true },
|
|
11
|
+
"_AuditEvent": { class: "audit", tombstone: false },
|
|
12
|
+
"_Cmd": { class: "cmd", tombstone: false },
|
|
13
|
+
"_CmdAdmin": { class: "cmd", tombstone: false },
|
|
14
|
+
"_CmdConfigure": { class: "cmd", tombstone: false },
|
|
15
|
+
"_CmdEdit": { class: "cmd", tombstone: false },
|
|
16
|
+
"_CmdMaintain": { class: "cmd", tombstone: false },
|
|
17
|
+
"_CmdOperate": { class: "cmd", tombstone: false },
|
|
18
|
+
"_CmdParam": { class: "cmd", tombstone: false },
|
|
19
|
+
"_Constant": { class: "entity", tombstone: true },
|
|
20
|
+
"_DataModel": { class: "definition", tombstone: true },
|
|
21
|
+
"_DataTags": { class: "entity", tombstone: true },
|
|
22
|
+
"_EditOperation": { class: "entity", tombstone: true },
|
|
23
|
+
"_ExternalReference": { class: "entity", tombstone: true },
|
|
24
|
+
"_ExternalSystem": { class: "definition", tombstone: true },
|
|
25
|
+
"_Group": { class: "definition", tombstone: true },
|
|
26
|
+
"_Log": { class: "log", tombstone: false },
|
|
27
|
+
"_MetadataType": { class: "definition", tombstone: true },
|
|
28
|
+
"_Metric": { class: "data", tombstone: true },
|
|
29
|
+
"_Node": { class: "entity", tombstone: true },
|
|
30
|
+
"_NotificationConfigStatus": { class: "entity", tombstone: true },
|
|
31
|
+
"_NotificationDispatched": { class: "alarm", tombstone: false },
|
|
32
|
+
"_PersonalAccessToken": { class: "definition", tombstone: true },
|
|
33
|
+
"_Resource": { class: "entity", tombstone: true },
|
|
34
|
+
"_SemanticTag": { class: "definition", tombstone: true },
|
|
35
|
+
"_ServiceDetails": { class: "entity", tombstone: true },
|
|
36
|
+
"_Signal": { class: "entity", tombstone: true },
|
|
37
|
+
"_SystemElement": { class: "entity", tombstone: true },
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=contracts.js.map
|