@mastra/pg 1.22.2 → 1.22.3-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/docs/SKILL.md +21 -21
  2. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  3. package/dist/docs/references/docs-deployment-workers.md +2 -2
  4. package/dist/docs/references/docs-memory-semantic-recall.md +0 -2
  5. package/dist/docs/references/docs-memory-working-memory.md +1 -1
  6. package/dist/docs/references/reference-processors-working-memory-processor.md +1 -1
  7. package/dist/docs/references/reference-rag-vector-databases.md +33 -33
  8. package/dist/docs/references/reference-storage-composite.md +1 -1
  9. package/dist/docs/references/reference-storage-retention.md +4 -4
  10. package/dist/index.cjs +9 -0
  11. package/dist/index.cjs.map +1 -1
  12. package/dist/index.js +9 -0
  13. package/dist/index.js.map +1 -1
  14. package/dist/shared/config.d.ts.map +1 -1
  15. package/dist/storage/client.d.ts.map +1 -1
  16. package/dist/storage/db/index.d.ts.map +1 -1
  17. package/dist/storage/domains/agents/index.d.ts.map +1 -1
  18. package/dist/storage/domains/background-tasks/index.d.ts.map +1 -1
  19. package/dist/storage/domains/blobs/index.d.ts.map +1 -1
  20. package/dist/storage/domains/channels/index.d.ts.map +1 -1
  21. package/dist/storage/domains/datasets/index.d.ts.map +1 -1
  22. package/dist/storage/domains/experiments/index.d.ts.map +1 -1
  23. package/dist/storage/domains/favorites/index.d.ts.map +1 -1
  24. package/dist/storage/domains/knowledge/index.d.ts.map +1 -1
  25. package/dist/storage/domains/mcp-clients/index.d.ts.map +1 -1
  26. package/dist/storage/domains/mcp-servers/index.d.ts.map +1 -1
  27. package/dist/storage/domains/memory/index.d.ts.map +1 -1
  28. package/dist/storage/domains/memory/test-utils.d.ts +1 -1
  29. package/dist/storage/domains/memory/test-utils.d.ts.map +1 -1
  30. package/dist/storage/domains/notifications/index.d.ts.map +1 -1
  31. package/dist/storage/domains/observability/index.d.ts.map +1 -1
  32. package/dist/storage/domains/observability/v-next/index.d.ts.map +1 -1
  33. package/dist/storage/domains/observability/v-next/signal-schema.d.ts +400 -400
  34. package/dist/storage/domains/observability/v-next/signal-schema.d.ts.map +1 -1
  35. package/dist/storage/domains/prompt-blocks/index.d.ts.map +1 -1
  36. package/dist/storage/domains/schedules/index.d.ts.map +1 -1
  37. package/dist/storage/domains/scorer-definitions/index.d.ts.map +1 -1
  38. package/dist/storage/domains/scores/index.d.ts.map +1 -1
  39. package/dist/storage/domains/skills/index.d.ts.map +1 -1
  40. package/dist/storage/domains/thread-state/index.d.ts.map +1 -1
  41. package/dist/storage/domains/tool-provider-connections/index.d.ts.map +1 -1
  42. package/dist/storage/domains/workflow-definitions/index.d.ts.map +1 -1
  43. package/dist/storage/domains/workflows/index.d.ts.map +1 -1
  44. package/dist/storage/domains/workspaces/index.d.ts.map +1 -1
  45. package/dist/storage/factory-storage.d.ts.map +1 -1
  46. package/dist/storage/index.d.ts.map +1 -1
  47. package/dist/storage/performance-indexes/performance-test.d.ts.map +1 -1
  48. package/dist/vector/filter.d.ts.map +1 -1
  49. package/dist/vector/index.d.ts.map +1 -1
  50. package/dist/vector/performance.helpers.d.ts.map +1 -1
  51. package/package.json +5 -6
  52. package/CHANGELOG.md +0 -9004
@@ -6,768 +6,768 @@ interface SignalColumn {
6
6
  defaultSql?: string;
7
7
  }
8
8
  export declare const SPAN_EVENT_COLUMNS: readonly [{
9
- readonly name: "cursorId";
10
- readonly type: "bigserial";
9
+ readonly name: 'cursorId';
10
+ readonly type: 'bigserial';
11
11
  }, {
12
- readonly name: "xactId";
13
- readonly type: "xid8";
14
- readonly defaultSql: "pg_current_xact_id()";
12
+ readonly name: 'xactId';
13
+ readonly type: 'xid8';
14
+ readonly defaultSql: 'pg_current_xact_id()';
15
15
  }, {
16
- readonly name: "traceId";
17
- readonly type: "text";
16
+ readonly name: 'traceId';
17
+ readonly type: 'text';
18
18
  }, {
19
- readonly name: "spanId";
20
- readonly type: "text";
19
+ readonly name: 'spanId';
20
+ readonly type: 'text';
21
21
  }, {
22
- readonly name: "parentSpanId";
23
- readonly type: "text";
22
+ readonly name: 'parentSpanId';
23
+ readonly type: 'text';
24
24
  readonly nullable: true;
25
25
  }, {
26
- readonly name: "experimentId";
27
- readonly type: "text";
26
+ readonly name: 'experimentId';
27
+ readonly type: 'text';
28
28
  readonly nullable: true;
29
29
  }, {
30
- readonly name: "entityType";
31
- readonly type: "text";
30
+ readonly name: 'entityType';
31
+ readonly type: 'text';
32
32
  readonly nullable: true;
33
33
  }, {
34
- readonly name: "entityId";
35
- readonly type: "text";
34
+ readonly name: 'entityId';
35
+ readonly type: 'text';
36
36
  readonly nullable: true;
37
37
  }, {
38
- readonly name: "entityName";
39
- readonly type: "text";
38
+ readonly name: 'entityName';
39
+ readonly type: 'text';
40
40
  readonly nullable: true;
41
41
  }, {
42
- readonly name: "entityVersionId";
43
- readonly type: "text";
42
+ readonly name: 'entityVersionId';
43
+ readonly type: 'text';
44
44
  readonly nullable: true;
45
45
  }, {
46
- readonly name: "parentEntityType";
47
- readonly type: "text";
46
+ readonly name: 'parentEntityType';
47
+ readonly type: 'text';
48
48
  readonly nullable: true;
49
49
  }, {
50
- readonly name: "parentEntityId";
51
- readonly type: "text";
50
+ readonly name: 'parentEntityId';
51
+ readonly type: 'text';
52
52
  readonly nullable: true;
53
53
  }, {
54
- readonly name: "parentEntityName";
55
- readonly type: "text";
54
+ readonly name: 'parentEntityName';
55
+ readonly type: 'text';
56
56
  readonly nullable: true;
57
57
  }, {
58
- readonly name: "parentEntityVersionId";
59
- readonly type: "text";
58
+ readonly name: 'parentEntityVersionId';
59
+ readonly type: 'text';
60
60
  readonly nullable: true;
61
61
  }, {
62
- readonly name: "rootEntityType";
63
- readonly type: "text";
62
+ readonly name: 'rootEntityType';
63
+ readonly type: 'text';
64
64
  readonly nullable: true;
65
65
  }, {
66
- readonly name: "rootEntityId";
67
- readonly type: "text";
66
+ readonly name: 'rootEntityId';
67
+ readonly type: 'text';
68
68
  readonly nullable: true;
69
69
  }, {
70
- readonly name: "rootEntityName";
71
- readonly type: "text";
70
+ readonly name: 'rootEntityName';
71
+ readonly type: 'text';
72
72
  readonly nullable: true;
73
73
  }, {
74
- readonly name: "rootEntityVersionId";
75
- readonly type: "text";
74
+ readonly name: 'rootEntityVersionId';
75
+ readonly type: 'text';
76
76
  readonly nullable: true;
77
77
  }, {
78
- readonly name: "userId";
79
- readonly type: "text";
78
+ readonly name: 'userId';
79
+ readonly type: 'text';
80
80
  readonly nullable: true;
81
81
  }, {
82
- readonly name: "organizationId";
83
- readonly type: "text";
82
+ readonly name: 'organizationId';
83
+ readonly type: 'text';
84
84
  readonly nullable: true;
85
85
  }, {
86
- readonly name: "resourceId";
87
- readonly type: "text";
86
+ readonly name: 'resourceId';
87
+ readonly type: 'text';
88
88
  readonly nullable: true;
89
89
  }, {
90
- readonly name: "runId";
91
- readonly type: "text";
90
+ readonly name: 'runId';
91
+ readonly type: 'text';
92
92
  readonly nullable: true;
93
93
  }, {
94
- readonly name: "sessionId";
95
- readonly type: "text";
94
+ readonly name: 'sessionId';
95
+ readonly type: 'text';
96
96
  readonly nullable: true;
97
97
  }, {
98
- readonly name: "threadId";
99
- readonly type: "text";
98
+ readonly name: 'threadId';
99
+ readonly type: 'text';
100
100
  readonly nullable: true;
101
101
  }, {
102
- readonly name: "requestId";
103
- readonly type: "text";
102
+ readonly name: 'requestId';
103
+ readonly type: 'text';
104
104
  readonly nullable: true;
105
105
  }, {
106
- readonly name: "environment";
107
- readonly type: "text";
106
+ readonly name: 'environment';
107
+ readonly type: 'text';
108
108
  readonly nullable: true;
109
109
  }, {
110
- readonly name: "executionSource";
111
- readonly type: "text";
110
+ readonly name: 'executionSource';
111
+ readonly type: 'text';
112
112
  readonly nullable: true;
113
113
  }, {
114
- readonly name: "serviceName";
115
- readonly type: "text";
114
+ readonly name: 'serviceName';
115
+ readonly type: 'text';
116
116
  readonly nullable: true;
117
117
  }, {
118
- readonly name: "name";
119
- readonly type: "text";
118
+ readonly name: 'name';
119
+ readonly type: 'text';
120
120
  }, {
121
- readonly name: "spanType";
122
- readonly type: "text";
121
+ readonly name: 'spanType';
122
+ readonly type: 'text';
123
123
  }, {
124
- readonly name: "isEvent";
125
- readonly type: "boolean";
126
- readonly defaultSql: "false";
124
+ readonly name: 'isEvent';
125
+ readonly type: 'boolean';
126
+ readonly defaultSql: 'false';
127
127
  }, {
128
- readonly name: "isPending";
129
- readonly type: "boolean";
130
- readonly defaultSql: "false";
128
+ readonly name: 'isPending';
129
+ readonly type: 'boolean';
130
+ readonly defaultSql: 'false';
131
131
  }, {
132
- readonly name: "startedAt";
133
- readonly type: "timestamptz";
132
+ readonly name: 'startedAt';
133
+ readonly type: 'timestamptz';
134
134
  }, {
135
- readonly name: "endedAt";
136
- readonly type: "timestamptz";
135
+ readonly name: 'endedAt';
136
+ readonly type: 'timestamptz';
137
137
  }, {
138
- readonly name: "tags";
139
- readonly type: "text[]";
138
+ readonly name: 'tags';
139
+ readonly type: 'text[]';
140
140
  readonly defaultSql: "'{}'";
141
141
  }, {
142
- readonly name: "metadataSearch";
143
- readonly type: "jsonb";
142
+ readonly name: 'metadataSearch';
143
+ readonly type: 'jsonb';
144
144
  readonly defaultSql: "'{}'::jsonb";
145
145
  }, {
146
- readonly name: "attributes";
147
- readonly type: "jsonb";
146
+ readonly name: 'attributes';
147
+ readonly type: 'jsonb';
148
148
  readonly nullable: true;
149
149
  }, {
150
- readonly name: "scope";
151
- readonly type: "jsonb";
150
+ readonly name: 'scope';
151
+ readonly type: 'jsonb';
152
152
  readonly nullable: true;
153
153
  }, {
154
- readonly name: "links";
155
- readonly type: "jsonb";
154
+ readonly name: 'links';
155
+ readonly type: 'jsonb';
156
156
  readonly nullable: true;
157
157
  }, {
158
- readonly name: "input";
159
- readonly type: "jsonb";
158
+ readonly name: 'input';
159
+ readonly type: 'jsonb';
160
160
  readonly nullable: true;
161
161
  }, {
162
- readonly name: "output";
163
- readonly type: "jsonb";
162
+ readonly name: 'output';
163
+ readonly type: 'jsonb';
164
164
  readonly nullable: true;
165
165
  }, {
166
- readonly name: "error";
167
- readonly type: "jsonb";
166
+ readonly name: 'error';
167
+ readonly type: 'jsonb';
168
168
  readonly nullable: true;
169
169
  }, {
170
- readonly name: "metadataRaw";
171
- readonly type: "jsonb";
170
+ readonly name: 'metadataRaw';
171
+ readonly type: 'jsonb';
172
172
  readonly nullable: true;
173
173
  }, {
174
- readonly name: "requestContext";
175
- readonly type: "jsonb";
174
+ readonly name: 'requestContext';
175
+ readonly type: 'jsonb';
176
176
  readonly nullable: true;
177
177
  }];
178
178
  export declare const METRIC_EVENT_COLUMNS: readonly [{
179
- readonly name: "cursorId";
180
- readonly type: "bigserial";
179
+ readonly name: 'cursorId';
180
+ readonly type: 'bigserial';
181
181
  }, {
182
- readonly name: "xactId";
183
- readonly type: "xid8";
184
- readonly defaultSql: "pg_current_xact_id()";
182
+ readonly name: 'xactId';
183
+ readonly type: 'xid8';
184
+ readonly defaultSql: 'pg_current_xact_id()';
185
185
  }, {
186
- readonly name: "metricId";
187
- readonly type: "text";
186
+ readonly name: 'metricId';
187
+ readonly type: 'text';
188
188
  }, {
189
- readonly name: "timestamp";
190
- readonly type: "timestamptz";
189
+ readonly name: 'timestamp';
190
+ readonly type: 'timestamptz';
191
191
  }, {
192
- readonly name: "name";
193
- readonly type: "text";
192
+ readonly name: 'name';
193
+ readonly type: 'text';
194
194
  }, {
195
- readonly name: "value";
196
- readonly type: "double precision";
195
+ readonly name: 'value';
196
+ readonly type: 'double precision';
197
197
  }, {
198
- readonly name: "traceId";
199
- readonly type: "text";
198
+ readonly name: 'traceId';
199
+ readonly type: 'text';
200
200
  readonly nullable: true;
201
201
  }, {
202
- readonly name: "spanId";
203
- readonly type: "text";
202
+ readonly name: 'spanId';
203
+ readonly type: 'text';
204
204
  readonly nullable: true;
205
205
  }, {
206
- readonly name: "experimentId";
207
- readonly type: "text";
206
+ readonly name: 'experimentId';
207
+ readonly type: 'text';
208
208
  readonly nullable: true;
209
209
  }, {
210
- readonly name: "entityType";
211
- readonly type: "text";
210
+ readonly name: 'entityType';
211
+ readonly type: 'text';
212
212
  readonly nullable: true;
213
213
  }, {
214
- readonly name: "entityId";
215
- readonly type: "text";
214
+ readonly name: 'entityId';
215
+ readonly type: 'text';
216
216
  readonly nullable: true;
217
217
  }, {
218
- readonly name: "entityName";
219
- readonly type: "text";
218
+ readonly name: 'entityName';
219
+ readonly type: 'text';
220
220
  readonly nullable: true;
221
221
  }, {
222
- readonly name: "entityVersionId";
223
- readonly type: "text";
222
+ readonly name: 'entityVersionId';
223
+ readonly type: 'text';
224
224
  readonly nullable: true;
225
225
  }, {
226
- readonly name: "parentEntityType";
227
- readonly type: "text";
226
+ readonly name: 'parentEntityType';
227
+ readonly type: 'text';
228
228
  readonly nullable: true;
229
229
  }, {
230
- readonly name: "parentEntityId";
231
- readonly type: "text";
230
+ readonly name: 'parentEntityId';
231
+ readonly type: 'text';
232
232
  readonly nullable: true;
233
233
  }, {
234
- readonly name: "parentEntityName";
235
- readonly type: "text";
234
+ readonly name: 'parentEntityName';
235
+ readonly type: 'text';
236
236
  readonly nullable: true;
237
237
  }, {
238
- readonly name: "parentEntityVersionId";
239
- readonly type: "text";
238
+ readonly name: 'parentEntityVersionId';
239
+ readonly type: 'text';
240
240
  readonly nullable: true;
241
241
  }, {
242
- readonly name: "rootEntityType";
243
- readonly type: "text";
242
+ readonly name: 'rootEntityType';
243
+ readonly type: 'text';
244
244
  readonly nullable: true;
245
245
  }, {
246
- readonly name: "rootEntityId";
247
- readonly type: "text";
246
+ readonly name: 'rootEntityId';
247
+ readonly type: 'text';
248
248
  readonly nullable: true;
249
249
  }, {
250
- readonly name: "rootEntityName";
251
- readonly type: "text";
250
+ readonly name: 'rootEntityName';
251
+ readonly type: 'text';
252
252
  readonly nullable: true;
253
253
  }, {
254
- readonly name: "rootEntityVersionId";
255
- readonly type: "text";
254
+ readonly name: 'rootEntityVersionId';
255
+ readonly type: 'text';
256
256
  readonly nullable: true;
257
257
  }, {
258
- readonly name: "userId";
259
- readonly type: "text";
258
+ readonly name: 'userId';
259
+ readonly type: 'text';
260
260
  readonly nullable: true;
261
261
  }, {
262
- readonly name: "organizationId";
263
- readonly type: "text";
262
+ readonly name: 'organizationId';
263
+ readonly type: 'text';
264
264
  readonly nullable: true;
265
265
  }, {
266
- readonly name: "resourceId";
267
- readonly type: "text";
266
+ readonly name: 'resourceId';
267
+ readonly type: 'text';
268
268
  readonly nullable: true;
269
269
  }, {
270
- readonly name: "runId";
271
- readonly type: "text";
270
+ readonly name: 'runId';
271
+ readonly type: 'text';
272
272
  readonly nullable: true;
273
273
  }, {
274
- readonly name: "sessionId";
275
- readonly type: "text";
274
+ readonly name: 'sessionId';
275
+ readonly type: 'text';
276
276
  readonly nullable: true;
277
277
  }, {
278
- readonly name: "threadId";
279
- readonly type: "text";
278
+ readonly name: 'threadId';
279
+ readonly type: 'text';
280
280
  readonly nullable: true;
281
281
  }, {
282
- readonly name: "requestId";
283
- readonly type: "text";
282
+ readonly name: 'requestId';
283
+ readonly type: 'text';
284
284
  readonly nullable: true;
285
285
  }, {
286
- readonly name: "environment";
287
- readonly type: "text";
286
+ readonly name: 'environment';
287
+ readonly type: 'text';
288
288
  readonly nullable: true;
289
289
  }, {
290
- readonly name: "executionSource";
291
- readonly type: "text";
290
+ readonly name: 'executionSource';
291
+ readonly type: 'text';
292
292
  readonly nullable: true;
293
293
  }, {
294
- readonly name: "serviceName";
295
- readonly type: "text";
294
+ readonly name: 'serviceName';
295
+ readonly type: 'text';
296
296
  readonly nullable: true;
297
297
  }, {
298
- readonly name: "provider";
299
- readonly type: "text";
298
+ readonly name: 'provider';
299
+ readonly type: 'text';
300
300
  readonly nullable: true;
301
301
  }, {
302
- readonly name: "model";
303
- readonly type: "text";
302
+ readonly name: 'model';
303
+ readonly type: 'text';
304
304
  readonly nullable: true;
305
305
  }, {
306
- readonly name: "estimatedCost";
307
- readonly type: "double precision";
306
+ readonly name: 'estimatedCost';
307
+ readonly type: 'double precision';
308
308
  readonly nullable: true;
309
309
  }, {
310
- readonly name: "costUnit";
311
- readonly type: "text";
310
+ readonly name: 'costUnit';
311
+ readonly type: 'text';
312
312
  readonly nullable: true;
313
313
  }, {
314
- readonly name: "tags";
315
- readonly type: "text[]";
314
+ readonly name: 'tags';
315
+ readonly type: 'text[]';
316
316
  readonly defaultSql: "'{}'";
317
317
  }, {
318
- readonly name: "labels";
319
- readonly type: "jsonb";
318
+ readonly name: 'labels';
319
+ readonly type: 'jsonb';
320
320
  readonly defaultSql: "'{}'::jsonb";
321
321
  }, {
322
- readonly name: "costMetadata";
323
- readonly type: "jsonb";
322
+ readonly name: 'costMetadata';
323
+ readonly type: 'jsonb';
324
324
  readonly nullable: true;
325
325
  }, {
326
- readonly name: "metadata";
327
- readonly type: "jsonb";
326
+ readonly name: 'metadata';
327
+ readonly type: 'jsonb';
328
328
  readonly nullable: true;
329
329
  }, {
330
- readonly name: "scope";
331
- readonly type: "jsonb";
330
+ readonly name: 'scope';
331
+ readonly type: 'jsonb';
332
332
  readonly nullable: true;
333
333
  }];
334
334
  export declare const LOG_EVENT_COLUMNS: readonly [{
335
- readonly name: "cursorId";
336
- readonly type: "bigserial";
335
+ readonly name: 'cursorId';
336
+ readonly type: 'bigserial';
337
337
  }, {
338
- readonly name: "xactId";
339
- readonly type: "xid8";
340
- readonly defaultSql: "pg_current_xact_id()";
338
+ readonly name: 'xactId';
339
+ readonly type: 'xid8';
340
+ readonly defaultSql: 'pg_current_xact_id()';
341
341
  }, {
342
- readonly name: "logId";
343
- readonly type: "text";
342
+ readonly name: 'logId';
343
+ readonly type: 'text';
344
344
  }, {
345
- readonly name: "timestamp";
346
- readonly type: "timestamptz";
345
+ readonly name: 'timestamp';
346
+ readonly type: 'timestamptz';
347
347
  }, {
348
- readonly name: "level";
349
- readonly type: "text";
348
+ readonly name: 'level';
349
+ readonly type: 'text';
350
350
  }, {
351
- readonly name: "message";
352
- readonly type: "text";
351
+ readonly name: 'message';
352
+ readonly type: 'text';
353
353
  }, {
354
- readonly name: "traceId";
355
- readonly type: "text";
354
+ readonly name: 'traceId';
355
+ readonly type: 'text';
356
356
  readonly nullable: true;
357
357
  }, {
358
- readonly name: "spanId";
359
- readonly type: "text";
358
+ readonly name: 'spanId';
359
+ readonly type: 'text';
360
360
  readonly nullable: true;
361
361
  }, {
362
- readonly name: "experimentId";
363
- readonly type: "text";
362
+ readonly name: 'experimentId';
363
+ readonly type: 'text';
364
364
  readonly nullable: true;
365
365
  }, {
366
- readonly name: "entityType";
367
- readonly type: "text";
366
+ readonly name: 'entityType';
367
+ readonly type: 'text';
368
368
  readonly nullable: true;
369
369
  }, {
370
- readonly name: "entityId";
371
- readonly type: "text";
370
+ readonly name: 'entityId';
371
+ readonly type: 'text';
372
372
  readonly nullable: true;
373
373
  }, {
374
- readonly name: "entityName";
375
- readonly type: "text";
374
+ readonly name: 'entityName';
375
+ readonly type: 'text';
376
376
  readonly nullable: true;
377
377
  }, {
378
- readonly name: "entityVersionId";
379
- readonly type: "text";
378
+ readonly name: 'entityVersionId';
379
+ readonly type: 'text';
380
380
  readonly nullable: true;
381
381
  }, {
382
- readonly name: "parentEntityType";
383
- readonly type: "text";
382
+ readonly name: 'parentEntityType';
383
+ readonly type: 'text';
384
384
  readonly nullable: true;
385
385
  }, {
386
- readonly name: "parentEntityId";
387
- readonly type: "text";
386
+ readonly name: 'parentEntityId';
387
+ readonly type: 'text';
388
388
  readonly nullable: true;
389
389
  }, {
390
- readonly name: "parentEntityName";
391
- readonly type: "text";
390
+ readonly name: 'parentEntityName';
391
+ readonly type: 'text';
392
392
  readonly nullable: true;
393
393
  }, {
394
- readonly name: "parentEntityVersionId";
395
- readonly type: "text";
394
+ readonly name: 'parentEntityVersionId';
395
+ readonly type: 'text';
396
396
  readonly nullable: true;
397
397
  }, {
398
- readonly name: "rootEntityType";
399
- readonly type: "text";
398
+ readonly name: 'rootEntityType';
399
+ readonly type: 'text';
400
400
  readonly nullable: true;
401
401
  }, {
402
- readonly name: "rootEntityId";
403
- readonly type: "text";
402
+ readonly name: 'rootEntityId';
403
+ readonly type: 'text';
404
404
  readonly nullable: true;
405
405
  }, {
406
- readonly name: "rootEntityName";
407
- readonly type: "text";
406
+ readonly name: 'rootEntityName';
407
+ readonly type: 'text';
408
408
  readonly nullable: true;
409
409
  }, {
410
- readonly name: "rootEntityVersionId";
411
- readonly type: "text";
410
+ readonly name: 'rootEntityVersionId';
411
+ readonly type: 'text';
412
412
  readonly nullable: true;
413
413
  }, {
414
- readonly name: "userId";
415
- readonly type: "text";
414
+ readonly name: 'userId';
415
+ readonly type: 'text';
416
416
  readonly nullable: true;
417
417
  }, {
418
- readonly name: "organizationId";
419
- readonly type: "text";
418
+ readonly name: 'organizationId';
419
+ readonly type: 'text';
420
420
  readonly nullable: true;
421
421
  }, {
422
- readonly name: "resourceId";
423
- readonly type: "text";
422
+ readonly name: 'resourceId';
423
+ readonly type: 'text';
424
424
  readonly nullable: true;
425
425
  }, {
426
- readonly name: "runId";
427
- readonly type: "text";
426
+ readonly name: 'runId';
427
+ readonly type: 'text';
428
428
  readonly nullable: true;
429
429
  }, {
430
- readonly name: "sessionId";
431
- readonly type: "text";
430
+ readonly name: 'sessionId';
431
+ readonly type: 'text';
432
432
  readonly nullable: true;
433
433
  }, {
434
- readonly name: "threadId";
435
- readonly type: "text";
434
+ readonly name: 'threadId';
435
+ readonly type: 'text';
436
436
  readonly nullable: true;
437
437
  }, {
438
- readonly name: "requestId";
439
- readonly type: "text";
438
+ readonly name: 'requestId';
439
+ readonly type: 'text';
440
440
  readonly nullable: true;
441
441
  }, {
442
- readonly name: "environment";
443
- readonly type: "text";
442
+ readonly name: 'environment';
443
+ readonly type: 'text';
444
444
  readonly nullable: true;
445
445
  }, {
446
- readonly name: "executionSource";
447
- readonly type: "text";
446
+ readonly name: 'executionSource';
447
+ readonly type: 'text';
448
448
  readonly nullable: true;
449
449
  }, {
450
- readonly name: "serviceName";
451
- readonly type: "text";
450
+ readonly name: 'serviceName';
451
+ readonly type: 'text';
452
452
  readonly nullable: true;
453
453
  }, {
454
- readonly name: "tags";
455
- readonly type: "text[]";
454
+ readonly name: 'tags';
455
+ readonly type: 'text[]';
456
456
  readonly defaultSql: "'{}'";
457
457
  }, {
458
- readonly name: "data";
459
- readonly type: "jsonb";
458
+ readonly name: 'data';
459
+ readonly type: 'jsonb';
460
460
  readonly nullable: true;
461
461
  }, {
462
- readonly name: "metadata";
463
- readonly type: "jsonb";
462
+ readonly name: 'metadata';
463
+ readonly type: 'jsonb';
464
464
  readonly nullable: true;
465
465
  }, {
466
- readonly name: "scope";
467
- readonly type: "jsonb";
466
+ readonly name: 'scope';
467
+ readonly type: 'jsonb';
468
468
  readonly nullable: true;
469
469
  }];
470
470
  export declare const SCORE_EVENT_COLUMNS: readonly [{
471
- readonly name: "cursorId";
472
- readonly type: "bigserial";
471
+ readonly name: 'cursorId';
472
+ readonly type: 'bigserial';
473
473
  }, {
474
- readonly name: "xactId";
475
- readonly type: "xid8";
476
- readonly defaultSql: "pg_current_xact_id()";
474
+ readonly name: 'xactId';
475
+ readonly type: 'xid8';
476
+ readonly defaultSql: 'pg_current_xact_id()';
477
477
  }, {
478
- readonly name: "scoreId";
479
- readonly type: "text";
478
+ readonly name: 'scoreId';
479
+ readonly type: 'text';
480
480
  }, {
481
- readonly name: "timestamp";
482
- readonly type: "timestamptz";
481
+ readonly name: 'timestamp';
482
+ readonly type: 'timestamptz';
483
483
  }, {
484
- readonly name: "scorerId";
485
- readonly type: "text";
484
+ readonly name: 'scorerId';
485
+ readonly type: 'text';
486
486
  }, {
487
- readonly name: "scorerVersion";
488
- readonly type: "text";
487
+ readonly name: 'scorerVersion';
488
+ readonly type: 'text';
489
489
  readonly nullable: true;
490
490
  }, {
491
- readonly name: "scoreSource";
492
- readonly type: "text";
491
+ readonly name: 'scoreSource';
492
+ readonly type: 'text';
493
493
  readonly nullable: true;
494
494
  }, {
495
- readonly name: "score";
496
- readonly type: "double precision";
495
+ readonly name: 'score';
496
+ readonly type: 'double precision';
497
497
  }, {
498
- readonly name: "reason";
499
- readonly type: "text";
498
+ readonly name: 'reason';
499
+ readonly type: 'text';
500
500
  readonly nullable: true;
501
501
  }, {
502
- readonly name: "traceId";
503
- readonly type: "text";
502
+ readonly name: 'traceId';
503
+ readonly type: 'text';
504
504
  readonly nullable: true;
505
505
  }, {
506
- readonly name: "spanId";
507
- readonly type: "text";
506
+ readonly name: 'spanId';
507
+ readonly type: 'text';
508
508
  readonly nullable: true;
509
509
  }, {
510
- readonly name: "experimentId";
511
- readonly type: "text";
510
+ readonly name: 'experimentId';
511
+ readonly type: 'text';
512
512
  readonly nullable: true;
513
513
  }, {
514
- readonly name: "entityType";
515
- readonly type: "text";
514
+ readonly name: 'entityType';
515
+ readonly type: 'text';
516
516
  readonly nullable: true;
517
517
  }, {
518
- readonly name: "entityId";
519
- readonly type: "text";
518
+ readonly name: 'entityId';
519
+ readonly type: 'text';
520
520
  readonly nullable: true;
521
521
  }, {
522
- readonly name: "entityName";
523
- readonly type: "text";
522
+ readonly name: 'entityName';
523
+ readonly type: 'text';
524
524
  readonly nullable: true;
525
525
  }, {
526
- readonly name: "entityVersionId";
527
- readonly type: "text";
526
+ readonly name: 'entityVersionId';
527
+ readonly type: 'text';
528
528
  readonly nullable: true;
529
529
  }, {
530
- readonly name: "parentEntityType";
531
- readonly type: "text";
530
+ readonly name: 'parentEntityType';
531
+ readonly type: 'text';
532
532
  readonly nullable: true;
533
533
  }, {
534
- readonly name: "parentEntityId";
535
- readonly type: "text";
534
+ readonly name: 'parentEntityId';
535
+ readonly type: 'text';
536
536
  readonly nullable: true;
537
537
  }, {
538
- readonly name: "parentEntityName";
539
- readonly type: "text";
538
+ readonly name: 'parentEntityName';
539
+ readonly type: 'text';
540
540
  readonly nullable: true;
541
541
  }, {
542
- readonly name: "parentEntityVersionId";
543
- readonly type: "text";
542
+ readonly name: 'parentEntityVersionId';
543
+ readonly type: 'text';
544
544
  readonly nullable: true;
545
545
  }, {
546
- readonly name: "rootEntityType";
547
- readonly type: "text";
546
+ readonly name: 'rootEntityType';
547
+ readonly type: 'text';
548
548
  readonly nullable: true;
549
549
  }, {
550
- readonly name: "rootEntityId";
551
- readonly type: "text";
550
+ readonly name: 'rootEntityId';
551
+ readonly type: 'text';
552
552
  readonly nullable: true;
553
553
  }, {
554
- readonly name: "rootEntityName";
555
- readonly type: "text";
554
+ readonly name: 'rootEntityName';
555
+ readonly type: 'text';
556
556
  readonly nullable: true;
557
557
  }, {
558
- readonly name: "rootEntityVersionId";
559
- readonly type: "text";
558
+ readonly name: 'rootEntityVersionId';
559
+ readonly type: 'text';
560
560
  readonly nullable: true;
561
561
  }, {
562
- readonly name: "userId";
563
- readonly type: "text";
562
+ readonly name: 'userId';
563
+ readonly type: 'text';
564
564
  readonly nullable: true;
565
565
  }, {
566
- readonly name: "organizationId";
567
- readonly type: "text";
566
+ readonly name: 'organizationId';
567
+ readonly type: 'text';
568
568
  readonly nullable: true;
569
569
  }, {
570
- readonly name: "resourceId";
571
- readonly type: "text";
570
+ readonly name: 'resourceId';
571
+ readonly type: 'text';
572
572
  readonly nullable: true;
573
573
  }, {
574
- readonly name: "runId";
575
- readonly type: "text";
574
+ readonly name: 'runId';
575
+ readonly type: 'text';
576
576
  readonly nullable: true;
577
577
  }, {
578
- readonly name: "sessionId";
579
- readonly type: "text";
578
+ readonly name: 'sessionId';
579
+ readonly type: 'text';
580
580
  readonly nullable: true;
581
581
  }, {
582
- readonly name: "threadId";
583
- readonly type: "text";
582
+ readonly name: 'threadId';
583
+ readonly type: 'text';
584
584
  readonly nullable: true;
585
585
  }, {
586
- readonly name: "requestId";
587
- readonly type: "text";
586
+ readonly name: 'requestId';
587
+ readonly type: 'text';
588
588
  readonly nullable: true;
589
589
  }, {
590
- readonly name: "environment";
591
- readonly type: "text";
590
+ readonly name: 'environment';
591
+ readonly type: 'text';
592
592
  readonly nullable: true;
593
593
  }, {
594
- readonly name: "executionSource";
595
- readonly type: "text";
594
+ readonly name: 'executionSource';
595
+ readonly type: 'text';
596
596
  readonly nullable: true;
597
597
  }, {
598
- readonly name: "serviceName";
599
- readonly type: "text";
598
+ readonly name: 'serviceName';
599
+ readonly type: 'text';
600
600
  readonly nullable: true;
601
601
  }, {
602
- readonly name: "scoreTraceId";
603
- readonly type: "text";
602
+ readonly name: 'scoreTraceId';
603
+ readonly type: 'text';
604
604
  readonly nullable: true;
605
605
  }, {
606
- readonly name: "tags";
607
- readonly type: "text[]";
606
+ readonly name: 'tags';
607
+ readonly type: 'text[]';
608
608
  readonly defaultSql: "'{}'";
609
609
  }, {
610
- readonly name: "metadata";
611
- readonly type: "jsonb";
610
+ readonly name: 'metadata';
611
+ readonly type: 'jsonb';
612
612
  readonly nullable: true;
613
613
  }, {
614
- readonly name: "scope";
615
- readonly type: "jsonb";
614
+ readonly name: 'scope';
615
+ readonly type: 'jsonb';
616
616
  readonly nullable: true;
617
617
  }];
618
618
  export declare const FEEDBACK_EVENT_COLUMNS: readonly [{
619
- readonly name: "cursorId";
620
- readonly type: "bigserial";
619
+ readonly name: 'cursorId';
620
+ readonly type: 'bigserial';
621
621
  }, {
622
- readonly name: "xactId";
623
- readonly type: "xid8";
624
- readonly defaultSql: "pg_current_xact_id()";
622
+ readonly name: 'xactId';
623
+ readonly type: 'xid8';
624
+ readonly defaultSql: 'pg_current_xact_id()';
625
625
  }, {
626
- readonly name: "feedbackId";
627
- readonly type: "text";
626
+ readonly name: 'feedbackId';
627
+ readonly type: 'text';
628
628
  }, {
629
- readonly name: "timestamp";
630
- readonly type: "timestamptz";
629
+ readonly name: 'timestamp';
630
+ readonly type: 'timestamptz';
631
631
  }, {
632
- readonly name: "feedbackSource";
633
- readonly type: "text";
632
+ readonly name: 'feedbackSource';
633
+ readonly type: 'text';
634
634
  }, {
635
- readonly name: "feedbackType";
636
- readonly type: "text";
635
+ readonly name: 'feedbackType';
636
+ readonly type: 'text';
637
637
  }, {
638
- readonly name: "valueString";
639
- readonly type: "text";
638
+ readonly name: 'valueString';
639
+ readonly type: 'text';
640
640
  readonly nullable: true;
641
641
  }, {
642
- readonly name: "valueNumber";
643
- readonly type: "double precision";
642
+ readonly name: 'valueNumber';
643
+ readonly type: 'double precision';
644
644
  readonly nullable: true;
645
645
  }, {
646
- readonly name: "comment";
647
- readonly type: "text";
646
+ readonly name: 'comment';
647
+ readonly type: 'text';
648
648
  readonly nullable: true;
649
649
  }, {
650
- readonly name: "feedbackUserId";
651
- readonly type: "text";
650
+ readonly name: 'feedbackUserId';
651
+ readonly type: 'text';
652
652
  readonly nullable: true;
653
653
  }, {
654
- readonly name: "sourceId";
655
- readonly type: "text";
654
+ readonly name: 'sourceId';
655
+ readonly type: 'text';
656
656
  readonly nullable: true;
657
657
  }, {
658
- readonly name: "traceId";
659
- readonly type: "text";
658
+ readonly name: 'traceId';
659
+ readonly type: 'text';
660
660
  readonly nullable: true;
661
661
  }, {
662
- readonly name: "spanId";
663
- readonly type: "text";
662
+ readonly name: 'spanId';
663
+ readonly type: 'text';
664
664
  readonly nullable: true;
665
665
  }, {
666
- readonly name: "experimentId";
667
- readonly type: "text";
666
+ readonly name: 'experimentId';
667
+ readonly type: 'text';
668
668
  readonly nullable: true;
669
669
  }, {
670
- readonly name: "entityType";
671
- readonly type: "text";
670
+ readonly name: 'entityType';
671
+ readonly type: 'text';
672
672
  readonly nullable: true;
673
673
  }, {
674
- readonly name: "entityId";
675
- readonly type: "text";
674
+ readonly name: 'entityId';
675
+ readonly type: 'text';
676
676
  readonly nullable: true;
677
677
  }, {
678
- readonly name: "entityName";
679
- readonly type: "text";
678
+ readonly name: 'entityName';
679
+ readonly type: 'text';
680
680
  readonly nullable: true;
681
681
  }, {
682
- readonly name: "entityVersionId";
683
- readonly type: "text";
682
+ readonly name: 'entityVersionId';
683
+ readonly type: 'text';
684
684
  readonly nullable: true;
685
685
  }, {
686
- readonly name: "parentEntityType";
687
- readonly type: "text";
686
+ readonly name: 'parentEntityType';
687
+ readonly type: 'text';
688
688
  readonly nullable: true;
689
689
  }, {
690
- readonly name: "parentEntityId";
691
- readonly type: "text";
690
+ readonly name: 'parentEntityId';
691
+ readonly type: 'text';
692
692
  readonly nullable: true;
693
693
  }, {
694
- readonly name: "parentEntityName";
695
- readonly type: "text";
694
+ readonly name: 'parentEntityName';
695
+ readonly type: 'text';
696
696
  readonly nullable: true;
697
697
  }, {
698
- readonly name: "parentEntityVersionId";
699
- readonly type: "text";
698
+ readonly name: 'parentEntityVersionId';
699
+ readonly type: 'text';
700
700
  readonly nullable: true;
701
701
  }, {
702
- readonly name: "rootEntityType";
703
- readonly type: "text";
702
+ readonly name: 'rootEntityType';
703
+ readonly type: 'text';
704
704
  readonly nullable: true;
705
705
  }, {
706
- readonly name: "rootEntityId";
707
- readonly type: "text";
706
+ readonly name: 'rootEntityId';
707
+ readonly type: 'text';
708
708
  readonly nullable: true;
709
709
  }, {
710
- readonly name: "rootEntityName";
711
- readonly type: "text";
710
+ readonly name: 'rootEntityName';
711
+ readonly type: 'text';
712
712
  readonly nullable: true;
713
713
  }, {
714
- readonly name: "rootEntityVersionId";
715
- readonly type: "text";
714
+ readonly name: 'rootEntityVersionId';
715
+ readonly type: 'text';
716
716
  readonly nullable: true;
717
717
  }, {
718
- readonly name: "userId";
719
- readonly type: "text";
718
+ readonly name: 'userId';
719
+ readonly type: 'text';
720
720
  readonly nullable: true;
721
721
  }, {
722
- readonly name: "organizationId";
723
- readonly type: "text";
722
+ readonly name: 'organizationId';
723
+ readonly type: 'text';
724
724
  readonly nullable: true;
725
725
  }, {
726
- readonly name: "resourceId";
727
- readonly type: "text";
726
+ readonly name: 'resourceId';
727
+ readonly type: 'text';
728
728
  readonly nullable: true;
729
729
  }, {
730
- readonly name: "runId";
731
- readonly type: "text";
730
+ readonly name: 'runId';
731
+ readonly type: 'text';
732
732
  readonly nullable: true;
733
733
  }, {
734
- readonly name: "sessionId";
735
- readonly type: "text";
734
+ readonly name: 'sessionId';
735
+ readonly type: 'text';
736
736
  readonly nullable: true;
737
737
  }, {
738
- readonly name: "threadId";
739
- readonly type: "text";
738
+ readonly name: 'threadId';
739
+ readonly type: 'text';
740
740
  readonly nullable: true;
741
741
  }, {
742
- readonly name: "requestId";
743
- readonly type: "text";
742
+ readonly name: 'requestId';
743
+ readonly type: 'text';
744
744
  readonly nullable: true;
745
745
  }, {
746
- readonly name: "environment";
747
- readonly type: "text";
746
+ readonly name: 'environment';
747
+ readonly type: 'text';
748
748
  readonly nullable: true;
749
749
  }, {
750
- readonly name: "executionSource";
751
- readonly type: "text";
750
+ readonly name: 'executionSource';
751
+ readonly type: 'text';
752
752
  readonly nullable: true;
753
753
  }, {
754
- readonly name: "serviceName";
755
- readonly type: "text";
754
+ readonly name: 'serviceName';
755
+ readonly type: 'text';
756
756
  readonly nullable: true;
757
757
  }, {
758
- readonly name: "tags";
759
- readonly type: "text[]";
758
+ readonly name: 'tags';
759
+ readonly type: 'text[]';
760
760
  readonly defaultSql: "'{}'";
761
761
  }, {
762
- readonly name: "metadata";
763
- readonly type: "jsonb";
762
+ readonly name: 'metadata';
763
+ readonly type: 'jsonb';
764
764
  readonly nullable: true;
765
765
  }, {
766
- readonly name: "scope";
767
- readonly type: "jsonb";
766
+ readonly name: 'scope';
767
+ readonly type: 'jsonb';
768
768
  readonly nullable: true;
769
769
  }];
770
- export declare const SPAN_LIGHT_SELECT_COLUMN_NAMES: readonly ["cursorId", "xactId", "traceId", "spanId", "parentSpanId", "name", "entityType", "entityId", "entityName", "spanType", "error", "isEvent", "isPending", "startedAt", "endedAt"];
770
+ export declare const SPAN_LIGHT_SELECT_COLUMN_NAMES: readonly ['cursorId', 'xactId', 'traceId', 'spanId', 'parentSpanId', 'name', 'entityType', 'entityId', 'entityName', 'spanType', 'error', 'isEvent', 'isPending', 'startedAt', 'endedAt'];
771
771
  export declare function buildColumnDefinitions(columns: readonly SignalColumn[]): string;
772
772
  export declare function buildSelectColumns(columns: readonly SignalColumn[]): string;
773
773
  export declare function buildNamedSelectColumns(columnNames: readonly string[]): string;