@pydantic/logfire-sqlls 0.3.0 → 0.5.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.
@@ -21,12 +21,16 @@ export enum CompletionKind {
21
21
  Field = 1,
22
22
  Function = 2,
23
23
  Keyword = 3,
24
+ Value = 4,
24
25
  }
25
26
 
26
27
  export class Diagnostic {
27
28
  private constructor();
28
29
  free(): void;
29
30
  [Symbol.dispose](): void;
31
+ get actions(): any | undefined;
32
+ set actions(value: any | null | undefined);
33
+ code: DiagnosticCode;
30
34
  message: string;
31
35
  get related_information(): RelatedInformation[] | undefined;
32
36
  set related_information(value: RelatedInformation[] | null | undefined);
@@ -34,6 +38,19 @@ export class Diagnostic {
34
38
  span: Span;
35
39
  }
36
40
 
41
+ export enum DiagnosticCode {
42
+ InvalidSyntax = 0,
43
+ UnknownTable = 1,
44
+ UnknownColumn = 2,
45
+ UnusedCte = 3,
46
+ AmbiguousColumn = 4,
47
+ DuplicateQualifiedFieldName = 5,
48
+ DuplicateUnqualifiedFieldName = 6,
49
+ MissingArgument = 7,
50
+ TooManyArguments = 8,
51
+ NoMatchingSignature = 9,
52
+ }
53
+
37
54
  export class Hover {
38
55
  private constructor();
39
56
  free(): void;
@@ -75,6 +92,13 @@ export class Location {
75
92
  line: number;
76
93
  }
77
94
 
95
+ export class ParameterInformation {
96
+ private constructor();
97
+ free(): void;
98
+ [Symbol.dispose](): void;
99
+ label: string;
100
+ }
101
+
78
102
  export class RelatedInformation {
79
103
  private constructor();
80
104
  free(): void;
@@ -90,6 +114,25 @@ export enum Severity {
90
114
  Fatal = 3,
91
115
  }
92
116
 
117
+ export class SignatureHelp {
118
+ private constructor();
119
+ free(): void;
120
+ [Symbol.dispose](): void;
121
+ active_parameter: number;
122
+ active_signature: number;
123
+ signatures: SignatureInformation[];
124
+ }
125
+
126
+ export class SignatureInformation {
127
+ private constructor();
128
+ free(): void;
129
+ [Symbol.dispose](): void;
130
+ get documentation(): string | undefined;
131
+ set documentation(value: string | null | undefined);
132
+ label: string;
133
+ parameters: ParameterInformation[];
134
+ }
135
+
93
136
  export class Span {
94
137
  private constructor();
95
138
  free(): void;
@@ -105,6 +148,7 @@ export class Workspace {
105
148
  getCompletions(query: string, location: Location): Completion[];
106
149
  getDefinitions(query: string, location: Location): Span[];
107
150
  getHover(query: string, location: Location): Hover | undefined;
151
+ getSignatureHelp(query: string, location: Location): SignatureHelp | undefined;
108
152
  constructor(options: any);
109
153
  }
110
154
 
@@ -120,6 +164,9 @@ export interface InitOutput {
120
164
  readonly __wbg_get_completion_kind: (a: number) => number;
121
165
  readonly __wbg_get_completion_name: (a: number) => [number, number];
122
166
  readonly __wbg_get_completion_span: (a: number) => number;
167
+ readonly __wbg_get_diagnostic_actions: (a: number) => any;
168
+ readonly __wbg_get_diagnostic_code: (a: number) => number;
169
+ readonly __wbg_get_diagnostic_message: (a: number) => [number, number];
123
170
  readonly __wbg_get_diagnostic_related_information: (a: number) => [number, number];
124
171
  readonly __wbg_get_diagnostic_severity: (a: number) => number;
125
172
  readonly __wbg_get_diagnostic_span: (a: number) => number;
@@ -127,11 +174,17 @@ export interface InitOutput {
127
174
  readonly __wbg_get_hover_span: (a: number) => number;
128
175
  readonly __wbg_get_location_column: (a: number) => number;
129
176
  readonly __wbg_get_location_line: (a: number) => number;
177
+ readonly __wbg_get_parameterinformation_label: (a: number) => [number, number];
130
178
  readonly __wbg_get_relatedinformation_span: (a: number) => number;
179
+ readonly __wbg_get_signaturehelp_active_parameter: (a: number) => number;
180
+ readonly __wbg_get_signaturehelp_active_signature: (a: number) => number;
181
+ readonly __wbg_get_signaturehelp_signatures: (a: number) => [number, number];
182
+ readonly __wbg_get_signatureinformation_parameters: (a: number) => [number, number];
131
183
  readonly __wbg_get_span_end: (a: number) => number;
132
184
  readonly __wbg_get_span_start: (a: number) => number;
133
185
  readonly __wbg_hover_free: (a: number, b: number) => void;
134
186
  readonly __wbg_location_free: (a: number, b: number) => void;
187
+ readonly __wbg_parameterinformation_free: (a: number, b: number) => void;
135
188
  readonly __wbg_relatedinformation_free: (a: number, b: number) => void;
136
189
  readonly __wbg_set_completion_detail: (a: number, b: number, c: number) => void;
137
190
  readonly __wbg_set_completion_documentation: (a: number, b: number, c: number) => void;
@@ -139,6 +192,9 @@ export interface InitOutput {
139
192
  readonly __wbg_set_completion_kind: (a: number, b: number) => void;
140
193
  readonly __wbg_set_completion_name: (a: number, b: number, c: number) => void;
141
194
  readonly __wbg_set_completion_span: (a: number, b: number) => void;
195
+ readonly __wbg_set_diagnostic_actions: (a: number, b: number) => void;
196
+ readonly __wbg_set_diagnostic_code: (a: number, b: number) => void;
197
+ readonly __wbg_set_diagnostic_message: (a: number, b: number, c: number) => void;
142
198
  readonly __wbg_set_diagnostic_related_information: (a: number, b: number, c: number) => void;
143
199
  readonly __wbg_set_diagnostic_severity: (a: number, b: number) => void;
144
200
  readonly __wbg_set_diagnostic_span: (a: number, b: number) => void;
@@ -146,21 +202,31 @@ export interface InitOutput {
146
202
  readonly __wbg_set_hover_span: (a: number, b: number) => void;
147
203
  readonly __wbg_set_location_column: (a: number, b: number) => void;
148
204
  readonly __wbg_set_location_line: (a: number, b: number) => void;
205
+ readonly __wbg_set_parameterinformation_label: (a: number, b: number, c: number) => void;
149
206
  readonly __wbg_set_relatedinformation_span: (a: number, b: number) => void;
207
+ readonly __wbg_set_signaturehelp_active_parameter: (a: number, b: number) => void;
208
+ readonly __wbg_set_signaturehelp_active_signature: (a: number, b: number) => void;
209
+ readonly __wbg_set_signaturehelp_signatures: (a: number, b: number, c: number) => void;
210
+ readonly __wbg_set_signatureinformation_parameters: (a: number, b: number, c: number) => void;
150
211
  readonly __wbg_set_span_end: (a: number, b: number) => void;
151
212
  readonly __wbg_set_span_start: (a: number, b: number) => void;
213
+ readonly __wbg_signaturehelp_free: (a: number, b: number) => void;
214
+ readonly __wbg_signatureinformation_free: (a: number, b: number) => void;
152
215
  readonly __wbg_span_free: (a: number, b: number) => void;
153
- readonly location_new: (a: number, b: number) => number;
154
- readonly __wbg_get_diagnostic_message: (a: number) => [number, number];
155
- readonly __wbg_get_relatedinformation_message: (a: number) => [number, number];
156
- readonly __wbg_set_diagnostic_message: (a: number, b: number, c: number) => void;
157
- readonly __wbg_set_relatedinformation_message: (a: number, b: number, c: number) => void;
158
216
  readonly __wbg_workspace_free: (a: number, b: number) => void;
217
+ readonly location_new: (a: number, b: number) => number;
159
218
  readonly workspace_checkQuery: (a: number, b: number, c: number) => [number, number];
160
219
  readonly workspace_getCompletions: (a: number, b: number, c: number, d: number) => [number, number];
161
220
  readonly workspace_getDefinitions: (a: number, b: number, c: number, d: number) => [number, number];
162
221
  readonly workspace_getHover: (a: number, b: number, c: number, d: number) => number;
222
+ readonly workspace_getSignatureHelp: (a: number, b: number, c: number, d: number) => number;
163
223
  readonly workspace_new: (a: any) => [number, number, number];
224
+ readonly __wbg_set_signatureinformation_documentation: (a: number, b: number, c: number) => void;
225
+ readonly __wbg_get_signatureinformation_label: (a: number) => [number, number];
226
+ readonly __wbg_get_relatedinformation_message: (a: number) => [number, number];
227
+ readonly __wbg_get_signatureinformation_documentation: (a: number) => [number, number];
228
+ readonly __wbg_set_relatedinformation_message: (a: number, b: number, c: number) => void;
229
+ readonly __wbg_set_signatureinformation_label: (a: number, b: number, c: number) => void;
164
230
  readonly __wbindgen_malloc: (a: number, b: number) => number;
165
231
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
166
232
  readonly __wbindgen_exn_store: (a: number) => void;
@@ -133,13 +133,14 @@ export class Completion {
133
133
  if (Symbol.dispose) Completion.prototype[Symbol.dispose] = Completion.prototype.free;
134
134
 
135
135
  /**
136
- * @enum {0 | 1 | 2 | 3}
136
+ * @enum {0 | 1 | 2 | 3 | 4}
137
137
  */
138
138
  export const CompletionKind = Object.freeze({
139
139
  Class: 0, "0": "Class",
140
140
  Field: 1, "1": "Field",
141
141
  Function: 2, "2": "Function",
142
142
  Keyword: 3, "3": "Keyword",
143
+ Value: 4, "4": "Value",
143
144
  });
144
145
 
145
146
  export class Diagnostic {
@@ -160,6 +161,20 @@ export class Diagnostic {
160
161
  const ptr = this.__destroy_into_raw();
161
162
  wasm.__wbg_diagnostic_free(ptr, 0);
162
163
  }
164
+ /**
165
+ * @returns {any | undefined}
166
+ */
167
+ get actions() {
168
+ const ret = wasm.__wbg_get_diagnostic_actions(this.__wbg_ptr);
169
+ return ret;
170
+ }
171
+ /**
172
+ * @returns {DiagnosticCode}
173
+ */
174
+ get code() {
175
+ const ret = wasm.__wbg_get_diagnostic_code(this.__wbg_ptr);
176
+ return ret;
177
+ }
163
178
  /**
164
179
  * @returns {string}
165
180
  */
@@ -201,6 +216,18 @@ export class Diagnostic {
201
216
  const ret = wasm.__wbg_get_diagnostic_span(this.__wbg_ptr);
202
217
  return Span.__wrap(ret);
203
218
  }
219
+ /**
220
+ * @param {any | null} [arg0]
221
+ */
222
+ set actions(arg0) {
223
+ wasm.__wbg_set_diagnostic_actions(this.__wbg_ptr, isLikeNone(arg0) ? 0 : addToExternrefTable0(arg0));
224
+ }
225
+ /**
226
+ * @param {DiagnosticCode} arg0
227
+ */
228
+ set code(arg0) {
229
+ wasm.__wbg_set_diagnostic_code(this.__wbg_ptr, arg0);
230
+ }
204
231
  /**
205
232
  * @param {string} arg0
206
233
  */
@@ -234,6 +261,22 @@ export class Diagnostic {
234
261
  }
235
262
  if (Symbol.dispose) Diagnostic.prototype[Symbol.dispose] = Diagnostic.prototype.free;
236
263
 
264
+ /**
265
+ * @enum {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9}
266
+ */
267
+ export const DiagnosticCode = Object.freeze({
268
+ InvalidSyntax: 0, "0": "InvalidSyntax",
269
+ UnknownTable: 1, "1": "UnknownTable",
270
+ UnknownColumn: 2, "2": "UnknownColumn",
271
+ UnusedCte: 3, "3": "UnusedCte",
272
+ AmbiguousColumn: 4, "4": "AmbiguousColumn",
273
+ DuplicateQualifiedFieldName: 5, "5": "DuplicateQualifiedFieldName",
274
+ DuplicateUnqualifiedFieldName: 6, "6": "DuplicateUnqualifiedFieldName",
275
+ MissingArgument: 7, "7": "MissingArgument",
276
+ TooManyArguments: 8, "8": "TooManyArguments",
277
+ NoMatchingSignature: 9, "9": "NoMatchingSignature",
278
+ });
279
+
237
280
  export class Hover {
238
281
  static __wrap(ptr) {
239
282
  ptr = ptr >>> 0;
@@ -369,6 +412,56 @@ export class Location {
369
412
  }
370
413
  if (Symbol.dispose) Location.prototype[Symbol.dispose] = Location.prototype.free;
371
414
 
415
+ export class ParameterInformation {
416
+ static __wrap(ptr) {
417
+ ptr = ptr >>> 0;
418
+ const obj = Object.create(ParameterInformation.prototype);
419
+ obj.__wbg_ptr = ptr;
420
+ ParameterInformationFinalization.register(obj, obj.__wbg_ptr, obj);
421
+ return obj;
422
+ }
423
+ static __unwrap(jsValue) {
424
+ if (!(jsValue instanceof ParameterInformation)) {
425
+ return 0;
426
+ }
427
+ return jsValue.__destroy_into_raw();
428
+ }
429
+ __destroy_into_raw() {
430
+ const ptr = this.__wbg_ptr;
431
+ this.__wbg_ptr = 0;
432
+ ParameterInformationFinalization.unregister(this);
433
+ return ptr;
434
+ }
435
+ free() {
436
+ const ptr = this.__destroy_into_raw();
437
+ wasm.__wbg_parameterinformation_free(ptr, 0);
438
+ }
439
+ /**
440
+ * @returns {string}
441
+ */
442
+ get label() {
443
+ let deferred1_0;
444
+ let deferred1_1;
445
+ try {
446
+ const ret = wasm.__wbg_get_parameterinformation_label(this.__wbg_ptr);
447
+ deferred1_0 = ret[0];
448
+ deferred1_1 = ret[1];
449
+ return getStringFromWasm0(ret[0], ret[1]);
450
+ } finally {
451
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
452
+ }
453
+ }
454
+ /**
455
+ * @param {string} arg0
456
+ */
457
+ set label(arg0) {
458
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
459
+ const len0 = WASM_VECTOR_LEN;
460
+ wasm.__wbg_set_parameterinformation_label(this.__wbg_ptr, ptr0, len0);
461
+ }
462
+ }
463
+ if (Symbol.dispose) ParameterInformation.prototype[Symbol.dispose] = ParameterInformation.prototype.free;
464
+
372
465
  export class RelatedInformation {
373
466
  static __wrap(ptr) {
374
467
  ptr = ptr >>> 0;
@@ -444,6 +537,157 @@ export const Severity = Object.freeze({
444
537
  Fatal: 3, "3": "Fatal",
445
538
  });
446
539
 
540
+ export class SignatureHelp {
541
+ static __wrap(ptr) {
542
+ ptr = ptr >>> 0;
543
+ const obj = Object.create(SignatureHelp.prototype);
544
+ obj.__wbg_ptr = ptr;
545
+ SignatureHelpFinalization.register(obj, obj.__wbg_ptr, obj);
546
+ return obj;
547
+ }
548
+ __destroy_into_raw() {
549
+ const ptr = this.__wbg_ptr;
550
+ this.__wbg_ptr = 0;
551
+ SignatureHelpFinalization.unregister(this);
552
+ return ptr;
553
+ }
554
+ free() {
555
+ const ptr = this.__destroy_into_raw();
556
+ wasm.__wbg_signaturehelp_free(ptr, 0);
557
+ }
558
+ /**
559
+ * @returns {number}
560
+ */
561
+ get active_parameter() {
562
+ const ret = wasm.__wbg_get_signaturehelp_active_parameter(this.__wbg_ptr);
563
+ return ret >>> 0;
564
+ }
565
+ /**
566
+ * @returns {number}
567
+ */
568
+ get active_signature() {
569
+ const ret = wasm.__wbg_get_signaturehelp_active_signature(this.__wbg_ptr);
570
+ return ret >>> 0;
571
+ }
572
+ /**
573
+ * @returns {SignatureInformation[]}
574
+ */
575
+ get signatures() {
576
+ const ret = wasm.__wbg_get_signaturehelp_signatures(this.__wbg_ptr);
577
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
578
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
579
+ return v1;
580
+ }
581
+ /**
582
+ * @param {number} arg0
583
+ */
584
+ set active_parameter(arg0) {
585
+ wasm.__wbg_set_signaturehelp_active_parameter(this.__wbg_ptr, arg0);
586
+ }
587
+ /**
588
+ * @param {number} arg0
589
+ */
590
+ set active_signature(arg0) {
591
+ wasm.__wbg_set_signaturehelp_active_signature(this.__wbg_ptr, arg0);
592
+ }
593
+ /**
594
+ * @param {SignatureInformation[]} arg0
595
+ */
596
+ set signatures(arg0) {
597
+ const ptr0 = passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
598
+ const len0 = WASM_VECTOR_LEN;
599
+ wasm.__wbg_set_signaturehelp_signatures(this.__wbg_ptr, ptr0, len0);
600
+ }
601
+ }
602
+ if (Symbol.dispose) SignatureHelp.prototype[Symbol.dispose] = SignatureHelp.prototype.free;
603
+
604
+ export class SignatureInformation {
605
+ static __wrap(ptr) {
606
+ ptr = ptr >>> 0;
607
+ const obj = Object.create(SignatureInformation.prototype);
608
+ obj.__wbg_ptr = ptr;
609
+ SignatureInformationFinalization.register(obj, obj.__wbg_ptr, obj);
610
+ return obj;
611
+ }
612
+ static __unwrap(jsValue) {
613
+ if (!(jsValue instanceof SignatureInformation)) {
614
+ return 0;
615
+ }
616
+ return jsValue.__destroy_into_raw();
617
+ }
618
+ __destroy_into_raw() {
619
+ const ptr = this.__wbg_ptr;
620
+ this.__wbg_ptr = 0;
621
+ SignatureInformationFinalization.unregister(this);
622
+ return ptr;
623
+ }
624
+ free() {
625
+ const ptr = this.__destroy_into_raw();
626
+ wasm.__wbg_signatureinformation_free(ptr, 0);
627
+ }
628
+ /**
629
+ * @returns {string | undefined}
630
+ */
631
+ get documentation() {
632
+ const ret = wasm.__wbg_get_signatureinformation_documentation(this.__wbg_ptr);
633
+ let v1;
634
+ if (ret[0] !== 0) {
635
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
636
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
637
+ }
638
+ return v1;
639
+ }
640
+ /**
641
+ * @returns {string}
642
+ */
643
+ get label() {
644
+ let deferred1_0;
645
+ let deferred1_1;
646
+ try {
647
+ const ret = wasm.__wbg_get_signatureinformation_label(this.__wbg_ptr);
648
+ deferred1_0 = ret[0];
649
+ deferred1_1 = ret[1];
650
+ return getStringFromWasm0(ret[0], ret[1]);
651
+ } finally {
652
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
653
+ }
654
+ }
655
+ /**
656
+ * @returns {ParameterInformation[]}
657
+ */
658
+ get parameters() {
659
+ const ret = wasm.__wbg_get_signatureinformation_parameters(this.__wbg_ptr);
660
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
661
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
662
+ return v1;
663
+ }
664
+ /**
665
+ * @param {string | null} [arg0]
666
+ */
667
+ set documentation(arg0) {
668
+ var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
669
+ var len0 = WASM_VECTOR_LEN;
670
+ wasm.__wbg_set_signatureinformation_documentation(this.__wbg_ptr, ptr0, len0);
671
+ }
672
+ /**
673
+ * @param {string} arg0
674
+ */
675
+ set label(arg0) {
676
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
677
+ const len0 = WASM_VECTOR_LEN;
678
+ wasm.__wbg_set_signatureinformation_label(this.__wbg_ptr, ptr0, len0);
679
+ }
680
+ /**
681
+ * @param {ParameterInformation[]} arg0
682
+ */
683
+ set parameters(arg0) {
684
+ const ptr0 = passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
685
+ const len0 = WASM_VECTOR_LEN;
686
+ wasm.__wbg_set_signatureinformation_parameters(this.__wbg_ptr, ptr0, len0);
687
+ }
688
+ }
689
+ if (Symbol.dispose) SignatureInformation.prototype[Symbol.dispose] = SignatureInformation.prototype.free;
690
+
447
691
  export class Span {
448
692
  static __wrap(ptr) {
449
693
  ptr = ptr >>> 0;
@@ -561,6 +805,19 @@ export class Workspace {
561
805
  const ret = wasm.workspace_getHover(this.__wbg_ptr, ptr0, len0, ptr1);
562
806
  return ret === 0 ? undefined : Hover.__wrap(ret);
563
807
  }
808
+ /**
809
+ * @param {string} query
810
+ * @param {Location} location
811
+ * @returns {SignatureHelp | undefined}
812
+ */
813
+ getSignatureHelp(query, location) {
814
+ const ptr0 = passStringToWasm0(query, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
815
+ const len0 = WASM_VECTOR_LEN;
816
+ _assertClass(location, Location);
817
+ var ptr1 = location.__destroy_into_raw();
818
+ const ret = wasm.workspace_getSignatureHelp(this.__wbg_ptr, ptr0, len0, ptr1);
819
+ return ret === 0 ? undefined : SignatureHelp.__wrap(ret);
820
+ }
564
821
  /**
565
822
  * @param {any} options
566
823
  */
@@ -575,11 +832,10 @@ export class Workspace {
575
832
  }
576
833
  }
577
834
  if (Symbol.dispose) Workspace.prototype[Symbol.dispose] = Workspace.prototype.free;
578
-
579
835
  function __wbg_get_imports() {
580
836
  const import0 = {
581
837
  __proto__: null,
582
- __wbg_Error_4577686b3a6d9b3a: function(arg0, arg1) {
838
+ __wbg_Error_960c155d3d49e4c2: function(arg0, arg1) {
583
839
  const ret = Error(getStringFromWasm0(arg0, arg1));
584
840
  return ret;
585
841
  },
@@ -590,50 +846,64 @@ function __wbg_get_imports() {
590
846
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
591
847
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
592
848
  },
593
- __wbg___wbindgen_boolean_get_18c4ed9422296fff: function(arg0) {
849
+ __wbg___wbindgen_bigint_get_as_i64_3d3aba5d616c6a51: function(arg0, arg1) {
850
+ const v = arg1;
851
+ const ret = typeof(v) === 'bigint' ? v : undefined;
852
+ getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
853
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
854
+ },
855
+ __wbg___wbindgen_boolean_get_6ea149f0a8dcc5ff: function(arg0) {
594
856
  const v = arg0;
595
857
  const ret = typeof(v) === 'boolean' ? v : undefined;
596
858
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
597
859
  },
598
- __wbg___wbindgen_debug_string_ddde1867f49c2442: function(arg0, arg1) {
860
+ __wbg___wbindgen_debug_string_ab4b34d23d6778bd: function(arg0, arg1) {
599
861
  const ret = debugString(arg1);
600
862
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
601
863
  const len1 = WASM_VECTOR_LEN;
602
864
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
603
865
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
604
866
  },
605
- __wbg___wbindgen_in_1064a108f4d18b9e: function(arg0, arg1) {
867
+ __wbg___wbindgen_in_a5d8b22e52b24dd1: function(arg0, arg1) {
606
868
  const ret = arg0 in arg1;
607
869
  return ret;
608
870
  },
609
- __wbg___wbindgen_is_function_d633e708baf0d146: function(arg0) {
871
+ __wbg___wbindgen_is_bigint_ec25c7f91b4d9e93: function(arg0) {
872
+ const ret = typeof(arg0) === 'bigint';
873
+ return ret;
874
+ },
875
+ __wbg___wbindgen_is_function_3baa9db1a987f47d: function(arg0) {
610
876
  const ret = typeof(arg0) === 'function';
611
877
  return ret;
612
878
  },
613
- __wbg___wbindgen_is_object_4b3de556756ee8a8: function(arg0) {
879
+ __wbg___wbindgen_is_object_63322ec0cd6ea4ef: function(arg0) {
614
880
  const val = arg0;
615
881
  const ret = typeof(val) === 'object' && val !== null;
616
882
  return ret;
617
883
  },
618
- __wbg___wbindgen_is_string_7debe47dc1e045c2: function(arg0) {
884
+ __wbg___wbindgen_is_string_6df3bf7ef1164ed3: function(arg0) {
619
885
  const ret = typeof(arg0) === 'string';
620
886
  return ret;
621
887
  },
622
- __wbg___wbindgen_is_undefined_c18285b9fc34cb7d: function(arg0) {
888
+ __wbg___wbindgen_is_undefined_29a43b4d42920abd: function(arg0) {
623
889
  const ret = arg0 === undefined;
624
890
  return ret;
625
891
  },
626
- __wbg___wbindgen_jsval_loose_eq_1562ceb9af84e990: function(arg0, arg1) {
892
+ __wbg___wbindgen_jsval_eq_d3465d8a07697228: function(arg0, arg1) {
893
+ const ret = arg0 === arg1;
894
+ return ret;
895
+ },
896
+ __wbg___wbindgen_jsval_loose_eq_cac3565e89b4134c: function(arg0, arg1) {
627
897
  const ret = arg0 == arg1;
628
898
  return ret;
629
899
  },
630
- __wbg___wbindgen_number_get_5854912275df1894: function(arg0, arg1) {
900
+ __wbg___wbindgen_number_get_c7f42aed0525c451: function(arg0, arg1) {
631
901
  const obj = arg1;
632
902
  const ret = typeof(obj) === 'number' ? obj : undefined;
633
903
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
634
904
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
635
905
  },
636
- __wbg___wbindgen_string_get_3e5751597f39a112: function(arg0, arg1) {
906
+ __wbg___wbindgen_string_get_7ed5322991caaec5: function(arg0, arg1) {
637
907
  const obj = arg1;
638
908
  const ret = typeof(obj) === 'string' ? obj : undefined;
639
909
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -641,10 +911,10 @@ function __wbg_get_imports() {
641
911
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
642
912
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
643
913
  },
644
- __wbg___wbindgen_throw_39bc967c0e5a9b58: function(arg0, arg1) {
914
+ __wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
645
915
  throw new Error(getStringFromWasm0(arg0, arg1));
646
916
  },
647
- __wbg_call_73af281463ec8b58: function() { return handleError(function (arg0, arg1) {
917
+ __wbg_call_14b169f759b26747: function() { return handleError(function (arg0, arg1) {
648
918
  const ret = arg0.call(arg1);
649
919
  return ret;
650
920
  }, arguments); },
@@ -656,11 +926,11 @@ function __wbg_get_imports() {
656
926
  const ret = Diagnostic.__wrap(arg0);
657
927
  return ret;
658
928
  },
659
- __wbg_done_5aad55ec6b1954b1: function(arg0) {
929
+ __wbg_done_9158f7cc8751ba32: function(arg0) {
660
930
  const ret = arg0.done;
661
931
  return ret;
662
932
  },
663
- __wbg_entries_28d32ba4cd93f5fc: function(arg0) {
933
+ __wbg_entries_e0b73aa8571ddb56: function(arg0) {
664
934
  const ret = Object.entries(arg0);
665
935
  return ret;
666
936
  },
@@ -675,15 +945,15 @@ function __wbg_get_imports() {
675
945
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
676
946
  }
677
947
  },
678
- __wbg_get_4920fefd3451364b: function() { return handleError(function (arg0, arg1) {
948
+ __wbg_get_1affdbdd5573b16a: function() { return handleError(function (arg0, arg1) {
679
949
  const ret = Reflect.get(arg0, arg1);
680
950
  return ret;
681
951
  }, arguments); },
682
- __wbg_get_f09c3a16f8848381: function(arg0, arg1) {
952
+ __wbg_get_8360291721e2339f: function(arg0, arg1) {
683
953
  const ret = arg0[arg1 >>> 0];
684
954
  return ret;
685
955
  },
686
- __wbg_get_unchecked_3d0f4b91c8eca4f0: function(arg0, arg1) {
956
+ __wbg_get_unchecked_17f53dad852b9588: function(arg0, arg1) {
687
957
  const ret = arg0[arg1 >>> 0];
688
958
  return ret;
689
959
  },
@@ -691,7 +961,7 @@ function __wbg_get_imports() {
691
961
  const ret = arg0[arg1];
692
962
  return ret;
693
963
  },
694
- __wbg_instanceof_ArrayBuffer_15859862b80b732d: function(arg0) {
964
+ __wbg_instanceof_ArrayBuffer_7c8433c6ed14ffe3: function(arg0) {
695
965
  let result;
696
966
  try {
697
967
  result = arg0 instanceof ArrayBuffer;
@@ -701,7 +971,17 @@ function __wbg_get_imports() {
701
971
  const ret = result;
702
972
  return ret;
703
973
  },
704
- __wbg_instanceof_Uint8Array_2240b7046ac16f05: function(arg0) {
974
+ __wbg_instanceof_Map_1b76fd4635be43eb: function(arg0) {
975
+ let result;
976
+ try {
977
+ result = arg0 instanceof Map;
978
+ } catch (_) {
979
+ result = false;
980
+ }
981
+ const ret = result;
982
+ return ret;
983
+ },
984
+ __wbg_instanceof_Uint8Array_152ba1f289edcf3f: function(arg0) {
705
985
  let result;
706
986
  try {
707
987
  result = arg0 instanceof Uint8Array;
@@ -711,43 +991,63 @@ function __wbg_get_imports() {
711
991
  const ret = result;
712
992
  return ret;
713
993
  },
714
- __wbg_isArray_fad08a0d12828686: function(arg0) {
994
+ __wbg_isArray_c3109d14ffc06469: function(arg0) {
715
995
  const ret = Array.isArray(arg0);
716
996
  return ret;
717
997
  },
718
- __wbg_iterator_fc7ad8d33bab9e26: function() {
998
+ __wbg_isSafeInteger_4fc213d1989d6d2a: function(arg0) {
999
+ const ret = Number.isSafeInteger(arg0);
1000
+ return ret;
1001
+ },
1002
+ __wbg_iterator_013bc09ec998c2a7: function() {
719
1003
  const ret = Symbol.iterator;
720
1004
  return ret;
721
1005
  },
722
- __wbg_length_5855c1f289dfffc1: function(arg0) {
1006
+ __wbg_length_3d4ecd04bd8d22f1: function(arg0) {
723
1007
  const ret = arg0.length;
724
1008
  return ret;
725
1009
  },
726
- __wbg_length_a31e05262e09b7f8: function(arg0) {
1010
+ __wbg_length_9f1775224cf1d815: function(arg0) {
727
1011
  const ret = arg0.length;
728
1012
  return ret;
729
1013
  },
730
- __wbg_new_09959f7b4c92c246: function(arg0) {
1014
+ __wbg_new_0c7403db6e782f19: function(arg0) {
731
1015
  const ret = new Uint8Array(arg0);
732
1016
  return ret;
733
1017
  },
734
- __wbg_new_1213b57bccbdbb66: function(arg0, arg1) {
1018
+ __wbg_new_227d7c05414eb861: function() {
1019
+ const ret = new Error();
1020
+ return ret;
1021
+ },
1022
+ __wbg_new_5e360d2ff7b9e1c3: function(arg0, arg1) {
735
1023
  const ret = new Error(getStringFromWasm0(arg0, arg1));
736
1024
  return ret;
737
1025
  },
738
- __wbg_new_227d7c05414eb861: function() {
739
- const ret = new Error();
1026
+ __wbg_new_682678e2f47e32bc: function() {
1027
+ const ret = new Array();
740
1028
  return ret;
741
1029
  },
742
- __wbg_next_a5fe6f328f7affc2: function(arg0) {
743
- const ret = arg0.next;
1030
+ __wbg_new_aa8d0fa9762c29bd: function() {
1031
+ const ret = new Object();
744
1032
  return ret;
745
1033
  },
746
- __wbg_next_e592122bb4ed4c67: function() { return handleError(function (arg0) {
1034
+ __wbg_next_0340c4ae324393c3: function() { return handleError(function (arg0) {
747
1035
  const ret = arg0.next();
748
1036
  return ret;
749
1037
  }, arguments); },
750
- __wbg_prototypesetcall_f034d444741426c3: function(arg0, arg1, arg2) {
1038
+ __wbg_next_7646edaa39458ef7: function(arg0) {
1039
+ const ret = arg0.next;
1040
+ return ret;
1041
+ },
1042
+ __wbg_parameterinformation_new: function(arg0) {
1043
+ const ret = ParameterInformation.__wrap(arg0);
1044
+ return ret;
1045
+ },
1046
+ __wbg_parameterinformation_unwrap: function(arg0) {
1047
+ const ret = ParameterInformation.__unwrap(arg0);
1048
+ return ret;
1049
+ },
1050
+ __wbg_prototypesetcall_a6b02eb00b0f4ce2: function(arg0, arg1, arg2) {
751
1051
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
752
1052
  },
753
1053
  __wbg_relatedinformation_new: function(arg0) {
@@ -758,6 +1058,20 @@ function __wbg_get_imports() {
758
1058
  const ret = RelatedInformation.__unwrap(arg0);
759
1059
  return ret;
760
1060
  },
1061
+ __wbg_set_3bf1de9fab0cd644: function(arg0, arg1, arg2) {
1062
+ arg0[arg1 >>> 0] = arg2;
1063
+ },
1064
+ __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
1065
+ arg0[arg1] = arg2;
1066
+ },
1067
+ __wbg_signatureinformation_new: function(arg0) {
1068
+ const ret = SignatureInformation.__wrap(arg0);
1069
+ return ret;
1070
+ },
1071
+ __wbg_signatureinformation_unwrap: function(arg0) {
1072
+ const ret = SignatureInformation.__unwrap(arg0);
1073
+ return ret;
1074
+ },
761
1075
  __wbg_span_new: function(arg0) {
762
1076
  const ret = Span.__wrap(arg0);
763
1077
  return ret;
@@ -769,15 +1083,25 @@ function __wbg_get_imports() {
769
1083
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
770
1084
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
771
1085
  },
772
- __wbg_value_667dcb90597486a6: function(arg0) {
1086
+ __wbg_value_ee3a06f4579184fa: function(arg0) {
773
1087
  const ret = arg0.value;
774
1088
  return ret;
775
1089
  },
776
- __wbindgen_cast_0000000000000001: function(arg0, arg1) {
1090
+ __wbindgen_cast_0000000000000001: function(arg0) {
1091
+ // Cast intrinsic for `I64 -> Externref`.
1092
+ const ret = arg0;
1093
+ return ret;
1094
+ },
1095
+ __wbindgen_cast_0000000000000002: function(arg0, arg1) {
777
1096
  // Cast intrinsic for `Ref(String) -> Externref`.
778
1097
  const ret = getStringFromWasm0(arg0, arg1);
779
1098
  return ret;
780
1099
  },
1100
+ __wbindgen_cast_0000000000000003: function(arg0) {
1101
+ // Cast intrinsic for `U64 -> Externref`.
1102
+ const ret = BigInt.asUintN(64, arg0);
1103
+ return ret;
1104
+ },
781
1105
  __wbindgen_init_externref_table: function() {
782
1106
  const table = wasm.__wbindgen_externrefs;
783
1107
  const offset = table.grow(4);
@@ -806,9 +1130,18 @@ const HoverFinalization = (typeof FinalizationRegistry === 'undefined')
806
1130
  const LocationFinalization = (typeof FinalizationRegistry === 'undefined')
807
1131
  ? { register: () => {}, unregister: () => {} }
808
1132
  : new FinalizationRegistry(ptr => wasm.__wbg_location_free(ptr >>> 0, 1));
1133
+ const ParameterInformationFinalization = (typeof FinalizationRegistry === 'undefined')
1134
+ ? { register: () => {}, unregister: () => {} }
1135
+ : new FinalizationRegistry(ptr => wasm.__wbg_parameterinformation_free(ptr >>> 0, 1));
809
1136
  const RelatedInformationFinalization = (typeof FinalizationRegistry === 'undefined')
810
1137
  ? { register: () => {}, unregister: () => {} }
811
1138
  : new FinalizationRegistry(ptr => wasm.__wbg_relatedinformation_free(ptr >>> 0, 1));
1139
+ const SignatureHelpFinalization = (typeof FinalizationRegistry === 'undefined')
1140
+ ? { register: () => {}, unregister: () => {} }
1141
+ : new FinalizationRegistry(ptr => wasm.__wbg_signaturehelp_free(ptr >>> 0, 1));
1142
+ const SignatureInformationFinalization = (typeof FinalizationRegistry === 'undefined')
1143
+ ? { register: () => {}, unregister: () => {} }
1144
+ : new FinalizationRegistry(ptr => wasm.__wbg_signatureinformation_free(ptr >>> 0, 1));
812
1145
  const SpanFinalization = (typeof FinalizationRegistry === 'undefined')
813
1146
  ? { register: () => {}, unregister: () => {} }
814
1147
  : new FinalizationRegistry(ptr => wasm.__wbg_span_free(ptr >>> 0, 1));
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pydantic/logfire-sqlls",
3
3
  "type": "module",
4
- "version": "0.3.0",
4
+ "version": "0.5.0",
5
5
  "files": [
6
6
  "logfire_sqlls_wasm_bg.wasm",
7
7
  "logfire_sqlls_wasm.js",