@use-tusk/drift-schemas 0.1.10

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 (139) hide show
  1. package/README.md +22 -0
  2. package/dist/backend/onboarding_service.cjs +6 -0
  3. package/dist/backend/onboarding_service.client.cjs +30 -0
  4. package/dist/backend/onboarding_service.client.cjs.map +1 -0
  5. package/dist/backend/onboarding_service.client.d.cts +39 -0
  6. package/dist/backend/onboarding_service.client.d.cts.map +1 -0
  7. package/dist/backend/onboarding_service.client.d.ts +39 -0
  8. package/dist/backend/onboarding_service.client.d.ts.map +1 -0
  9. package/dist/backend/onboarding_service.client.js +28 -0
  10. package/dist/backend/onboarding_service.client.js.map +1 -0
  11. package/dist/backend/onboarding_service.d.cts +2 -0
  12. package/dist/backend/onboarding_service.d.ts +2 -0
  13. package/dist/backend/onboarding_service.js +3 -0
  14. package/dist/backend/span_export_service.cjs +9 -0
  15. package/dist/backend/span_export_service.client.cjs +32 -0
  16. package/dist/backend/span_export_service.client.cjs.map +1 -0
  17. package/dist/backend/span_export_service.client.d.cts +38 -0
  18. package/dist/backend/span_export_service.client.d.cts.map +1 -0
  19. package/dist/backend/span_export_service.client.d.ts +38 -0
  20. package/dist/backend/span_export_service.client.d.ts.map +1 -0
  21. package/dist/backend/span_export_service.client.js +30 -0
  22. package/dist/backend/span_export_service.client.js.map +1 -0
  23. package/dist/backend/span_export_service.d.cts +6 -0
  24. package/dist/backend/span_export_service.d.ts +6 -0
  25. package/dist/backend/span_export_service.js +7 -0
  26. package/dist/backend/test_run_service.cjs +49 -0
  27. package/dist/backend/test_run_service.client.cjs +100 -0
  28. package/dist/backend/test_run_service.client.cjs.map +1 -0
  29. package/dist/backend/test_run_service.client.d.cts +133 -0
  30. package/dist/backend/test_run_service.client.d.cts.map +1 -0
  31. package/dist/backend/test_run_service.client.d.ts +133 -0
  32. package/dist/backend/test_run_service.client.d.ts.map +1 -0
  33. package/dist/backend/test_run_service.client.js +98 -0
  34. package/dist/backend/test_run_service.client.js.map +1 -0
  35. package/dist/backend/test_run_service.d.cts +6 -0
  36. package/dist/backend/test_run_service.d.ts +6 -0
  37. package/dist/backend/test_run_service.js +7 -0
  38. package/dist/chunk-CUT6urMc.cjs +30 -0
  39. package/dist/communication-CJHE2gJz.cjs +787 -0
  40. package/dist/communication-CJHE2gJz.cjs.map +1 -0
  41. package/dist/communication-D_MVOCQQ.d.cts +325 -0
  42. package/dist/communication-D_MVOCQQ.d.cts.map +1 -0
  43. package/dist/communication-Np8Uorqu.js +725 -0
  44. package/dist/communication-Np8Uorqu.js.map +1 -0
  45. package/dist/communication-bKx0B3ai.d.ts +325 -0
  46. package/dist/communication-bKx0B3ai.d.ts.map +1 -0
  47. package/dist/core/communication.cjs +16 -0
  48. package/dist/core/communication.client.cjs +48 -0
  49. package/dist/core/communication.client.cjs.map +1 -0
  50. package/dist/core/communication.client.d.cts +59 -0
  51. package/dist/core/communication.client.d.cts.map +1 -0
  52. package/dist/core/communication.client.d.ts +59 -0
  53. package/dist/core/communication.client.d.ts.map +1 -0
  54. package/dist/core/communication.client.js +46 -0
  55. package/dist/core/communication.client.js.map +1 -0
  56. package/dist/core/communication.d.cts +6 -0
  57. package/dist/core/communication.d.ts +6 -0
  58. package/dist/core/communication.js +7 -0
  59. package/dist/core/span.cjs +13 -0
  60. package/dist/core/span.d.cts +5 -0
  61. package/dist/core/span.d.ts +5 -0
  62. package/dist/core/span.js +6 -0
  63. package/dist/duration-2zPogS5a.d.ts +109 -0
  64. package/dist/duration-2zPogS5a.d.ts.map +1 -0
  65. package/dist/duration-B3fwb4jB.js +96 -0
  66. package/dist/duration-B3fwb4jB.js.map +1 -0
  67. package/dist/duration-C9RVKjpO.d.cts +109 -0
  68. package/dist/duration-C9RVKjpO.d.cts.map +1 -0
  69. package/dist/duration-DXK3bnoh.cjs +103 -0
  70. package/dist/duration-DXK3bnoh.cjs.map +1 -0
  71. package/dist/google/protobuf/duration.cjs +3 -0
  72. package/dist/google/protobuf/duration.d.cts +2 -0
  73. package/dist/google/protobuf/duration.d.ts +2 -0
  74. package/dist/google/protobuf/duration.js +3 -0
  75. package/dist/google/protobuf/struct.cjs +6 -0
  76. package/dist/google/protobuf/struct.d.cts +2 -0
  77. package/dist/google/protobuf/struct.d.ts +2 -0
  78. package/dist/google/protobuf/struct.js +3 -0
  79. package/dist/google/protobuf/timestamp.cjs +3 -0
  80. package/dist/google/protobuf/timestamp.d.cts +2 -0
  81. package/dist/google/protobuf/timestamp.d.ts +2 -0
  82. package/dist/google/protobuf/timestamp.js +3 -0
  83. package/dist/onboarding_service-AomDhJCy.js +145 -0
  84. package/dist/onboarding_service-AomDhJCy.js.map +1 -0
  85. package/dist/onboarding_service-C0YdBJhl.d.cts +71 -0
  86. package/dist/onboarding_service-C0YdBJhl.d.cts.map +1 -0
  87. package/dist/onboarding_service-Ccl8QTd4.cjs +171 -0
  88. package/dist/onboarding_service-Ccl8QTd4.cjs.map +1 -0
  89. package/dist/onboarding_service-kegV5UqG.d.ts +71 -0
  90. package/dist/onboarding_service-kegV5UqG.d.ts.map +1 -0
  91. package/dist/postgresql/postgresql.cjs +1476 -0
  92. package/dist/postgresql/postgresql.cjs.map +1 -0
  93. package/dist/postgresql/postgresql.d.cts +639 -0
  94. package/dist/postgresql/postgresql.d.cts.map +1 -0
  95. package/dist/postgresql/postgresql.d.ts +639 -0
  96. package/dist/postgresql/postgresql.d.ts.map +1 -0
  97. package/dist/postgresql/postgresql.js +1461 -0
  98. package/dist/postgresql/postgresql.js.map +1 -0
  99. package/dist/span-BOpbAPMC.d.ts +396 -0
  100. package/dist/span-BOpbAPMC.d.ts.map +1 -0
  101. package/dist/span-DdxaadRr.cjs +827 -0
  102. package/dist/span-DdxaadRr.cjs.map +1 -0
  103. package/dist/span-DwoKrEhp.js +778 -0
  104. package/dist/span-DwoKrEhp.js.map +1 -0
  105. package/dist/span-EQEkCEbn.d.cts +396 -0
  106. package/dist/span-EQEkCEbn.d.cts.map +1 -0
  107. package/dist/span_export_service-CbSVaHwu.d.cts +73 -0
  108. package/dist/span_export_service-CbSVaHwu.d.cts.map +1 -0
  109. package/dist/span_export_service-DzOsX7Of.d.ts +73 -0
  110. package/dist/span_export_service-DzOsX7Of.d.ts.map +1 -0
  111. package/dist/span_export_service-ZbWxkZSp.js +161 -0
  112. package/dist/span_export_service-ZbWxkZSp.js.map +1 -0
  113. package/dist/span_export_service-rOsqG9c6.cjs +181 -0
  114. package/dist/span_export_service-rOsqG9c6.cjs.map +1 -0
  115. package/dist/struct-BArXEwH6.d.ts +183 -0
  116. package/dist/struct-BArXEwH6.d.ts.map +1 -0
  117. package/dist/struct-B_Dk4HR1.cjs +379 -0
  118. package/dist/struct-B_Dk4HR1.cjs.map +1 -0
  119. package/dist/struct-ByyMh9ro.d.cts +183 -0
  120. package/dist/struct-ByyMh9ro.d.cts.map +1 -0
  121. package/dist/struct-LJz5_MGH.js +354 -0
  122. package/dist/struct-LJz5_MGH.js.map +1 -0
  123. package/dist/test_run_service-5Yml6s_N.d.ts +1179 -0
  124. package/dist/test_run_service-5Yml6s_N.d.ts.map +1 -0
  125. package/dist/test_run_service-BVhrRxO_.js +2559 -0
  126. package/dist/test_run_service-BVhrRxO_.js.map +1 -0
  127. package/dist/test_run_service-DAflWX54.d.cts +1179 -0
  128. package/dist/test_run_service-DAflWX54.d.cts.map +1 -0
  129. package/dist/test_run_service-Dkjv1XDs.cjs +2819 -0
  130. package/dist/test_run_service-Dkjv1XDs.cjs.map +1 -0
  131. package/dist/timestamp-2doLREh_.d.ts +152 -0
  132. package/dist/timestamp-2doLREh_.d.ts.map +1 -0
  133. package/dist/timestamp-C1kA6yb7.d.cts +152 -0
  134. package/dist/timestamp-C1kA6yb7.d.cts.map +1 -0
  135. package/dist/timestamp-CN7C70ih.js +121 -0
  136. package/dist/timestamp-CN7C70ih.js.map +1 -0
  137. package/dist/timestamp-Dfs_RIb3.cjs +128 -0
  138. package/dist/timestamp-Dfs_RIb3.cjs.map +1 -0
  139. package/package.json +98 -0
@@ -0,0 +1,639 @@
1
+ import { Struct } from "../struct-ByyMh9ro.cjs";
2
+ import { Timestamp } from "../timestamp-C1kA6yb7.cjs";
3
+ import { BinaryReadOptions, BinaryWriteOptions, IBinaryReader, IBinaryWriter, MessageType, PartialMessage } from "@protobuf-ts/runtime";
4
+
5
+ //#region generated/ts/postgresql/postgresql.d.ts
6
+
7
+ /**
8
+ * PostgreSQL query request - used internally by PostgreSQL instrumentation SDK
9
+ *
10
+ * @generated from protobuf message tusk.drift.instrumentation.postgresql.v1.PostgreSQLQuery
11
+ */
12
+ interface PostgreSQLQuery {
13
+ /**
14
+ * Core query information
15
+ *
16
+ * @generated from protobuf field: string text = 1
17
+ */
18
+ text: string;
19
+ /**
20
+ * @generated from protobuf field: repeated string values = 2
21
+ */
22
+ values: string[];
23
+ /**
24
+ * @generated from protobuf field: string client_type = 3
25
+ */
26
+ clientType: string;
27
+ /**
28
+ * Connection context
29
+ *
30
+ * @generated from protobuf field: tusk.drift.instrumentation.postgresql.v1.PostgreSQLConnection connection = 4
31
+ */
32
+ connection?: PostgreSQLConnection;
33
+ /**
34
+ * @generated from protobuf field: tusk.drift.instrumentation.postgresql.v1.QueryOptions options = 5
35
+ */
36
+ options?: QueryOptions;
37
+ /**
38
+ * Query metadata
39
+ *
40
+ * @generated from protobuf field: string query_id = 6
41
+ */
42
+ queryId: string;
43
+ /**
44
+ * @generated from protobuf field: map<string, string> tags = 7
45
+ */
46
+ tags: {
47
+ [key: string]: string;
48
+ };
49
+ }
50
+ /**
51
+ * PostgreSQL connection information
52
+ *
53
+ * @generated from protobuf message tusk.drift.instrumentation.postgresql.v1.PostgreSQLConnection
54
+ */
55
+ interface PostgreSQLConnection {
56
+ /**
57
+ * @generated from protobuf field: string database_name = 1
58
+ */
59
+ databaseName: string;
60
+ /**
61
+ * @generated from protobuf field: string username = 2
62
+ */
63
+ username: string;
64
+ /**
65
+ * @generated from protobuf field: string host = 3
66
+ */
67
+ host: string;
68
+ /**
69
+ * @generated from protobuf field: int32 port = 4
70
+ */
71
+ port: number;
72
+ /**
73
+ * @generated from protobuf field: string application_name = 5
74
+ */
75
+ applicationName: string;
76
+ /**
77
+ * @generated from protobuf field: string connection_id = 6
78
+ */
79
+ connectionId: string;
80
+ /**
81
+ * @generated from protobuf field: bool ssl_enabled = 7
82
+ */
83
+ sslEnabled: boolean;
84
+ /**
85
+ * @generated from protobuf field: string server_version = 8
86
+ */
87
+ serverVersion: string;
88
+ }
89
+ /**
90
+ * Query execution options
91
+ *
92
+ * @generated from protobuf message tusk.drift.instrumentation.postgresql.v1.QueryOptions
93
+ */
94
+ interface QueryOptions {
95
+ /**
96
+ * @generated from protobuf field: int32 statement_timeout = 1
97
+ */
98
+ statementTimeout: number;
99
+ /**
100
+ * @generated from protobuf field: int32 query_timeout = 2
101
+ */
102
+ queryTimeout: number;
103
+ /**
104
+ * @generated from protobuf field: bool binary_mode = 3
105
+ */
106
+ binaryMode: boolean;
107
+ /**
108
+ * @generated from protobuf field: string cursor_name = 4
109
+ */
110
+ cursorName: string;
111
+ /**
112
+ * @generated from protobuf field: int32 fetch_size = 5
113
+ */
114
+ fetchSize: number;
115
+ /**
116
+ * @generated from protobuf field: bool read_only = 6
117
+ */
118
+ readOnly: boolean;
119
+ /**
120
+ * @generated from protobuf field: map<string, string> custom_options = 7
121
+ */
122
+ customOptions: {
123
+ [key: string]: string;
124
+ };
125
+ }
126
+ /**
127
+ * PostgreSQL query result - matches your trace data structure
128
+ *
129
+ * @generated from protobuf message tusk.drift.instrumentation.postgresql.v1.PostgreSQLResult
130
+ */
131
+ interface PostgreSQLResult {
132
+ /**
133
+ * Core result information (from your trace data)
134
+ *
135
+ * @generated from protobuf field: string command = 1
136
+ */
137
+ command: string;
138
+ /**
139
+ * @generated from protobuf field: int32 row_count = 2
140
+ */
141
+ rowCount: number;
142
+ /**
143
+ * @generated from protobuf field: optional int32 oid = 3
144
+ */
145
+ oid?: number;
146
+ /**
147
+ * Result data
148
+ *
149
+ * @generated from protobuf field: repeated google.protobuf.Struct rows = 4
150
+ */
151
+ rows: Struct[];
152
+ /**
153
+ * @generated from protobuf field: repeated tusk.drift.instrumentation.postgresql.v1.PostgreSQLField fields = 5
154
+ */
155
+ fields: PostgreSQLField[];
156
+ /**
157
+ * Query execution metadata
158
+ *
159
+ * @generated from protobuf field: tusk.drift.instrumentation.postgresql.v1.QueryExecutionInfo execution_info = 6
160
+ */
161
+ executionInfo?: QueryExecutionInfo;
162
+ /**
163
+ * Error information (if query failed)
164
+ *
165
+ * @generated from protobuf field: optional tusk.drift.instrumentation.postgresql.v1.PostgreSQLError error = 7
166
+ */
167
+ error?: PostgreSQLError;
168
+ }
169
+ /**
170
+ * PostgreSQL field definition (matches your trace data)
171
+ *
172
+ * @generated from protobuf message tusk.drift.instrumentation.postgresql.v1.PostgreSQLField
173
+ */
174
+ interface PostgreSQLField {
175
+ /**
176
+ * @generated from protobuf field: string name = 1
177
+ */
178
+ name: string;
179
+ /**
180
+ * @generated from protobuf field: int32 table_id = 2
181
+ */
182
+ tableId: number;
183
+ /**
184
+ * @generated from protobuf field: int32 column_id = 3
185
+ */
186
+ columnId: number;
187
+ /**
188
+ * @generated from protobuf field: int32 data_type_id = 4
189
+ */
190
+ dataTypeId: number;
191
+ /**
192
+ * @generated from protobuf field: int32 data_type_size = 5
193
+ */
194
+ dataTypeSize: number;
195
+ /**
196
+ * @generated from protobuf field: int32 data_type_modifier = 6
197
+ */
198
+ dataTypeModifier: number;
199
+ /**
200
+ * @generated from protobuf field: string format = 7
201
+ */
202
+ format: string;
203
+ /**
204
+ * Additional field metadata
205
+ *
206
+ * @generated from protobuf field: string data_type_name = 8
207
+ */
208
+ dataTypeName: string;
209
+ /**
210
+ * @generated from protobuf field: bool nullable = 9
211
+ */
212
+ nullable: boolean;
213
+ /**
214
+ * @generated from protobuf field: bool primary_key = 10
215
+ */
216
+ primaryKey: boolean;
217
+ }
218
+ /**
219
+ * Query execution information
220
+ *
221
+ * @generated from protobuf message tusk.drift.instrumentation.postgresql.v1.QueryExecutionInfo
222
+ */
223
+ interface QueryExecutionInfo {
224
+ /**
225
+ * Timing breakdown
226
+ *
227
+ * @generated from protobuf field: int64 parse_time_ms = 1
228
+ */
229
+ parseTimeMs: bigint;
230
+ /**
231
+ * @generated from protobuf field: int64 plan_time_ms = 2
232
+ */
233
+ planTimeMs: bigint;
234
+ /**
235
+ * @generated from protobuf field: int64 execute_time_ms = 3
236
+ */
237
+ executeTimeMs: bigint;
238
+ /**
239
+ * @generated from protobuf field: int64 total_time_ms = 4
240
+ */
241
+ totalTimeMs: bigint;
242
+ /**
243
+ * Execution statistics
244
+ *
245
+ * @generated from protobuf field: int64 rows_examined = 5
246
+ */
247
+ rowsExamined: bigint;
248
+ /**
249
+ * @generated from protobuf field: int64 rows_returned = 6
250
+ */
251
+ rowsReturned: bigint;
252
+ /**
253
+ * @generated from protobuf field: int64 bytes_sent = 7
254
+ */
255
+ bytesSent: bigint;
256
+ /**
257
+ * @generated from protobuf field: int64 bytes_received = 8
258
+ */
259
+ bytesReceived: bigint;
260
+ /**
261
+ * Query plan information (optional)
262
+ *
263
+ * @generated from protobuf field: string execution_plan = 9
264
+ */
265
+ executionPlan: string;
266
+ /**
267
+ * @generated from protobuf field: repeated string notices = 10
268
+ */
269
+ notices: string[];
270
+ }
271
+ /**
272
+ * PostgreSQL-specific error information
273
+ *
274
+ * @generated from protobuf message tusk.drift.instrumentation.postgresql.v1.PostgreSQLError
275
+ */
276
+ interface PostgreSQLError {
277
+ /**
278
+ * @generated from protobuf field: string sql_state = 1
279
+ */
280
+ sqlState: string;
281
+ /**
282
+ * @generated from protobuf field: string message = 2
283
+ */
284
+ message: string;
285
+ /**
286
+ * @generated from protobuf field: string detail = 3
287
+ */
288
+ detail: string;
289
+ /**
290
+ * @generated from protobuf field: string hint = 4
291
+ */
292
+ hint: string;
293
+ /**
294
+ * @generated from protobuf field: string position = 5
295
+ */
296
+ position: string;
297
+ /**
298
+ * @generated from protobuf field: string where = 6
299
+ */
300
+ where: string;
301
+ /**
302
+ * @generated from protobuf field: string schema_name = 7
303
+ */
304
+ schemaName: string;
305
+ /**
306
+ * @generated from protobuf field: string table_name = 8
307
+ */
308
+ tableName: string;
309
+ /**
310
+ * @generated from protobuf field: string column_name = 9
311
+ */
312
+ columnName: string;
313
+ /**
314
+ * @generated from protobuf field: string constraint_name = 10
315
+ */
316
+ constraintName: string;
317
+ /**
318
+ * @generated from protobuf field: string data_type_name = 11
319
+ */
320
+ dataTypeName: string;
321
+ /**
322
+ * @generated from protobuf field: string file = 12
323
+ */
324
+ file: string;
325
+ /**
326
+ * @generated from protobuf field: string line = 13
327
+ */
328
+ line: string;
329
+ /**
330
+ * @generated from protobuf field: string routine = 14
331
+ */
332
+ routine: string;
333
+ }
334
+ /**
335
+ * Prepared statement information
336
+ *
337
+ * @generated from protobuf message tusk.drift.instrumentation.postgresql.v1.PostgreSQLPreparedStatement
338
+ */
339
+ interface PostgreSQLPreparedStatement {
340
+ /**
341
+ * @generated from protobuf field: string statement_name = 1
342
+ */
343
+ statementName: string;
344
+ /**
345
+ * @generated from protobuf field: string query_text = 2
346
+ */
347
+ queryText: string;
348
+ /**
349
+ * @generated from protobuf field: repeated tusk.drift.instrumentation.postgresql.v1.PostgreSQLParameterType parameter_types = 3
350
+ */
351
+ parameterTypes: PostgreSQLParameterType[];
352
+ /**
353
+ * @generated from protobuf field: google.protobuf.Timestamp prepared_at = 4
354
+ */
355
+ preparedAt?: Timestamp;
356
+ /**
357
+ * @generated from protobuf field: int32 execution_count = 5
358
+ */
359
+ executionCount: number;
360
+ }
361
+ /**
362
+ * Parameter type information for prepared statements
363
+ *
364
+ * @generated from protobuf message tusk.drift.instrumentation.postgresql.v1.PostgreSQLParameterType
365
+ */
366
+ interface PostgreSQLParameterType {
367
+ /**
368
+ * @generated from protobuf field: int32 position = 1
369
+ */
370
+ position: number;
371
+ /**
372
+ * @generated from protobuf field: int32 data_type_id = 2
373
+ */
374
+ dataTypeId: number;
375
+ /**
376
+ * @generated from protobuf field: string data_type_name = 3
377
+ */
378
+ dataTypeName: string;
379
+ /**
380
+ * @generated from protobuf field: bool nullable = 4
381
+ */
382
+ nullable: boolean;
383
+ }
384
+ /**
385
+ * Transaction context
386
+ *
387
+ * @generated from protobuf message tusk.drift.instrumentation.postgresql.v1.PostgreSQLTransaction
388
+ */
389
+ interface PostgreSQLTransaction {
390
+ /**
391
+ * @generated from protobuf field: string transaction_id = 1
392
+ */
393
+ transactionId: string;
394
+ /**
395
+ * @generated from protobuf field: tusk.drift.instrumentation.postgresql.v1.TransactionState state = 2
396
+ */
397
+ state: TransactionState;
398
+ /**
399
+ * @generated from protobuf field: tusk.drift.instrumentation.postgresql.v1.IsolationLevel isolation_level = 3
400
+ */
401
+ isolationLevel: IsolationLevel;
402
+ /**
403
+ * @generated from protobuf field: bool read_only = 4
404
+ */
405
+ readOnly: boolean;
406
+ /**
407
+ * @generated from protobuf field: google.protobuf.Timestamp started_at = 5
408
+ */
409
+ startedAt?: Timestamp;
410
+ }
411
+ /**
412
+ * Batch query support
413
+ *
414
+ * @generated from protobuf message tusk.drift.instrumentation.postgresql.v1.PostgreSQLBatch
415
+ */
416
+ interface PostgreSQLBatch {
417
+ /**
418
+ * @generated from protobuf field: repeated tusk.drift.instrumentation.postgresql.v1.PostgreSQLQuery queries = 1
419
+ */
420
+ queries: PostgreSQLQuery[];
421
+ /**
422
+ * @generated from protobuf field: bool stop_on_error = 2
423
+ */
424
+ stopOnError: boolean;
425
+ /**
426
+ * @generated from protobuf field: bool return_results = 3
427
+ */
428
+ returnResults: boolean;
429
+ }
430
+ /**
431
+ * Batch result
432
+ *
433
+ * @generated from protobuf message tusk.drift.instrumentation.postgresql.v1.PostgreSQLBatchResult
434
+ */
435
+ interface PostgreSQLBatchResult {
436
+ /**
437
+ * @generated from protobuf field: repeated tusk.drift.instrumentation.postgresql.v1.PostgreSQLResult results = 1
438
+ */
439
+ results: PostgreSQLResult[];
440
+ /**
441
+ * @generated from protobuf field: int32 successful_queries = 2
442
+ */
443
+ successfulQueries: number;
444
+ /**
445
+ * @generated from protobuf field: int32 failed_queries = 3
446
+ */
447
+ failedQueries: number;
448
+ /**
449
+ * @generated from protobuf field: optional tusk.drift.instrumentation.postgresql.v1.PostgreSQLError first_error = 4
450
+ */
451
+ firstError?: PostgreSQLError;
452
+ }
453
+ /**
454
+ * Transaction state enumeration
455
+ *
456
+ * @generated from protobuf enum tusk.drift.instrumentation.postgresql.v1.TransactionState
457
+ */
458
+ declare enum TransactionState {
459
+ /**
460
+ * @generated from protobuf enum value: TRANSACTION_STATE_UNSPECIFIED = 0;
461
+ */
462
+ UNSPECIFIED = 0,
463
+ /**
464
+ * Not in a transaction
465
+ *
466
+ * @generated from protobuf enum value: TRANSACTION_STATE_IDLE = 1;
467
+ */
468
+ IDLE = 1,
469
+ /**
470
+ * Transaction active
471
+ *
472
+ * @generated from protobuf enum value: TRANSACTION_STATE_ACTIVE = 2;
473
+ */
474
+ ACTIVE = 2,
475
+ /**
476
+ * Idle in transaction
477
+ *
478
+ * @generated from protobuf enum value: TRANSACTION_STATE_IDLE_IN_TRANSACTION = 3;
479
+ */
480
+ IDLE_IN_TRANSACTION = 3,
481
+ /**
482
+ * Idle in failed transaction
483
+ *
484
+ * @generated from protobuf enum value: TRANSACTION_STATE_IDLE_IN_FAILED_TRANSACTION = 4;
485
+ */
486
+ IDLE_IN_FAILED_TRANSACTION = 4,
487
+ }
488
+ /**
489
+ * PostgreSQL isolation levels
490
+ *
491
+ * @generated from protobuf enum tusk.drift.instrumentation.postgresql.v1.IsolationLevel
492
+ */
493
+ declare enum IsolationLevel {
494
+ /**
495
+ * @generated from protobuf enum value: ISOLATION_LEVEL_UNSPECIFIED = 0;
496
+ */
497
+ UNSPECIFIED = 0,
498
+ /**
499
+ * @generated from protobuf enum value: ISOLATION_LEVEL_READ_UNCOMMITTED = 1;
500
+ */
501
+ READ_UNCOMMITTED = 1,
502
+ /**
503
+ * @generated from protobuf enum value: ISOLATION_LEVEL_READ_COMMITTED = 2;
504
+ */
505
+ READ_COMMITTED = 2,
506
+ /**
507
+ * @generated from protobuf enum value: ISOLATION_LEVEL_REPEATABLE_READ = 3;
508
+ */
509
+ REPEATABLE_READ = 3,
510
+ /**
511
+ * @generated from protobuf enum value: ISOLATION_LEVEL_SERIALIZABLE = 4;
512
+ */
513
+ SERIALIZABLE = 4,
514
+ }
515
+ declare class PostgreSQLQuery$Type extends MessageType<PostgreSQLQuery> {
516
+ constructor();
517
+ create(value?: PartialMessage<PostgreSQLQuery>): PostgreSQLQuery;
518
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PostgreSQLQuery): PostgreSQLQuery;
519
+ private binaryReadMap7;
520
+ internalBinaryWrite(message: PostgreSQLQuery, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
521
+ }
522
+ /**
523
+ * @generated MessageType for protobuf message tusk.drift.instrumentation.postgresql.v1.PostgreSQLQuery
524
+ */
525
+ declare const PostgreSQLQuery: PostgreSQLQuery$Type;
526
+ declare class PostgreSQLConnection$Type extends MessageType<PostgreSQLConnection> {
527
+ constructor();
528
+ create(value?: PartialMessage<PostgreSQLConnection>): PostgreSQLConnection;
529
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PostgreSQLConnection): PostgreSQLConnection;
530
+ internalBinaryWrite(message: PostgreSQLConnection, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
531
+ }
532
+ /**
533
+ * @generated MessageType for protobuf message tusk.drift.instrumentation.postgresql.v1.PostgreSQLConnection
534
+ */
535
+ declare const PostgreSQLConnection: PostgreSQLConnection$Type;
536
+ declare class QueryOptions$Type extends MessageType<QueryOptions> {
537
+ constructor();
538
+ create(value?: PartialMessage<QueryOptions>): QueryOptions;
539
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: QueryOptions): QueryOptions;
540
+ private binaryReadMap7;
541
+ internalBinaryWrite(message: QueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
542
+ }
543
+ /**
544
+ * @generated MessageType for protobuf message tusk.drift.instrumentation.postgresql.v1.QueryOptions
545
+ */
546
+ declare const QueryOptions: QueryOptions$Type;
547
+ declare class PostgreSQLResult$Type extends MessageType<PostgreSQLResult> {
548
+ constructor();
549
+ create(value?: PartialMessage<PostgreSQLResult>): PostgreSQLResult;
550
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PostgreSQLResult): PostgreSQLResult;
551
+ internalBinaryWrite(message: PostgreSQLResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
552
+ }
553
+ /**
554
+ * @generated MessageType for protobuf message tusk.drift.instrumentation.postgresql.v1.PostgreSQLResult
555
+ */
556
+ declare const PostgreSQLResult: PostgreSQLResult$Type;
557
+ declare class PostgreSQLField$Type extends MessageType<PostgreSQLField> {
558
+ constructor();
559
+ create(value?: PartialMessage<PostgreSQLField>): PostgreSQLField;
560
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PostgreSQLField): PostgreSQLField;
561
+ internalBinaryWrite(message: PostgreSQLField, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
562
+ }
563
+ /**
564
+ * @generated MessageType for protobuf message tusk.drift.instrumentation.postgresql.v1.PostgreSQLField
565
+ */
566
+ declare const PostgreSQLField: PostgreSQLField$Type;
567
+ declare class QueryExecutionInfo$Type extends MessageType<QueryExecutionInfo> {
568
+ constructor();
569
+ create(value?: PartialMessage<QueryExecutionInfo>): QueryExecutionInfo;
570
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: QueryExecutionInfo): QueryExecutionInfo;
571
+ internalBinaryWrite(message: QueryExecutionInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
572
+ }
573
+ /**
574
+ * @generated MessageType for protobuf message tusk.drift.instrumentation.postgresql.v1.QueryExecutionInfo
575
+ */
576
+ declare const QueryExecutionInfo: QueryExecutionInfo$Type;
577
+ declare class PostgreSQLError$Type extends MessageType<PostgreSQLError> {
578
+ constructor();
579
+ create(value?: PartialMessage<PostgreSQLError>): PostgreSQLError;
580
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PostgreSQLError): PostgreSQLError;
581
+ internalBinaryWrite(message: PostgreSQLError, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
582
+ }
583
+ /**
584
+ * @generated MessageType for protobuf message tusk.drift.instrumentation.postgresql.v1.PostgreSQLError
585
+ */
586
+ declare const PostgreSQLError: PostgreSQLError$Type;
587
+ declare class PostgreSQLPreparedStatement$Type extends MessageType<PostgreSQLPreparedStatement> {
588
+ constructor();
589
+ create(value?: PartialMessage<PostgreSQLPreparedStatement>): PostgreSQLPreparedStatement;
590
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PostgreSQLPreparedStatement): PostgreSQLPreparedStatement;
591
+ internalBinaryWrite(message: PostgreSQLPreparedStatement, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
592
+ }
593
+ /**
594
+ * @generated MessageType for protobuf message tusk.drift.instrumentation.postgresql.v1.PostgreSQLPreparedStatement
595
+ */
596
+ declare const PostgreSQLPreparedStatement: PostgreSQLPreparedStatement$Type;
597
+ declare class PostgreSQLParameterType$Type extends MessageType<PostgreSQLParameterType> {
598
+ constructor();
599
+ create(value?: PartialMessage<PostgreSQLParameterType>): PostgreSQLParameterType;
600
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PostgreSQLParameterType): PostgreSQLParameterType;
601
+ internalBinaryWrite(message: PostgreSQLParameterType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
602
+ }
603
+ /**
604
+ * @generated MessageType for protobuf message tusk.drift.instrumentation.postgresql.v1.PostgreSQLParameterType
605
+ */
606
+ declare const PostgreSQLParameterType: PostgreSQLParameterType$Type;
607
+ declare class PostgreSQLTransaction$Type extends MessageType<PostgreSQLTransaction> {
608
+ constructor();
609
+ create(value?: PartialMessage<PostgreSQLTransaction>): PostgreSQLTransaction;
610
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PostgreSQLTransaction): PostgreSQLTransaction;
611
+ internalBinaryWrite(message: PostgreSQLTransaction, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
612
+ }
613
+ /**
614
+ * @generated MessageType for protobuf message tusk.drift.instrumentation.postgresql.v1.PostgreSQLTransaction
615
+ */
616
+ declare const PostgreSQLTransaction: PostgreSQLTransaction$Type;
617
+ declare class PostgreSQLBatch$Type extends MessageType<PostgreSQLBatch> {
618
+ constructor();
619
+ create(value?: PartialMessage<PostgreSQLBatch>): PostgreSQLBatch;
620
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PostgreSQLBatch): PostgreSQLBatch;
621
+ internalBinaryWrite(message: PostgreSQLBatch, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
622
+ }
623
+ /**
624
+ * @generated MessageType for protobuf message tusk.drift.instrumentation.postgresql.v1.PostgreSQLBatch
625
+ */
626
+ declare const PostgreSQLBatch: PostgreSQLBatch$Type;
627
+ declare class PostgreSQLBatchResult$Type extends MessageType<PostgreSQLBatchResult> {
628
+ constructor();
629
+ create(value?: PartialMessage<PostgreSQLBatchResult>): PostgreSQLBatchResult;
630
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PostgreSQLBatchResult): PostgreSQLBatchResult;
631
+ internalBinaryWrite(message: PostgreSQLBatchResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
632
+ }
633
+ /**
634
+ * @generated MessageType for protobuf message tusk.drift.instrumentation.postgresql.v1.PostgreSQLBatchResult
635
+ */
636
+ declare const PostgreSQLBatchResult: PostgreSQLBatchResult$Type;
637
+ //#endregion
638
+ export { IsolationLevel, PostgreSQLBatch, PostgreSQLBatchResult, PostgreSQLConnection, PostgreSQLError, PostgreSQLField, PostgreSQLParameterType, PostgreSQLPreparedStatement, PostgreSQLQuery, PostgreSQLResult, PostgreSQLTransaction, QueryExecutionInfo, QueryOptions, TransactionState };
639
+ //# sourceMappingURL=postgresql.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql.d.cts","names":[],"sources":["../../generated/ts/postgresql/postgresql.ts"],"sourcesContent":[],"mappings":";;;;;;;;AA8DA;AAuCA;AAqCA;AAAiC,UAvHhB,eAAA,CAuHgB;;;;;;EA2ChB,IAAA,EAAA,MAAA;EAiDA;AAqDjB;AA+DA;EAA4C,MAAA,EAAA,MAAA,EAAA;;;;EA2B3B,UAAA,EAAA,MAAA;EAuBA;;;;;EAoBQ,UAAA,CAAA,EAzXR,oBAyXQ;EAOR;AAmBjB;;SAIa,CAAA,EAnZC,YAmZD;;;AAmBb;AAmCA;AAqBC;EAE0B,OAAA,EAAA,MAAA;;;;MAY0B,EAAA;IAWtB,CAAA,GAAA,EAAA,MAAA,CAAA,EAAA,MAAA;;;;;;;;AAvBI,UA7clB,oBAAA,CA6ckB;EAAW;AA2G9C;AAA0D;EAE1B,YAAA,EAAA,MAAA;;;;UAa0B,EAAA,MAAA;;;;MAcgE,EAAA,MAAA;;;;MAwCd,EAAA,MAAA;;;AAkC5G;EAEM,eAAA,EAAA,MAAkB;EAAA;;;cAYL,EAAA,MAAA;;;;YAagF,EAAA,OAAA;;;;eAqDpB,EAAA,MAAA;;;;AA+B/E;AAAoD;;AAEJ,UAzuB/B,YAAA,CAyuB+B;;;;kBAsBjB,EAAA,MAAA;;;;cAqCE,EAAA,MAAA;;;;YA3DG,EAAA,OAAA;EAAW;AA0F/C;AAA4D;EAEjC,UAAA,EAAA,MAAA;;;;WAe0B,EAAA,MAAA;;;;UAgBgE,EAAA,OAAA;;;;eA8Cd,EAAA;IA7EpE,CAAA,GAAA,EAAA,MAAA,CAAA,EAAA,MAAA;EAAW,CAAA;AAqH9C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