modality-kit 0.2.3 → 0.3.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.
@@ -61,12 +61,14 @@ interface SymbolBase {
61
61
  uri?: string;
62
62
  detail?: string;
63
63
  content?: string;
64
+ containerName?: string;
64
65
  }
65
66
  export interface Symbol extends SymbolBase {
66
67
  range: Range;
67
- children?: Symbol[];
68
68
  selectionRange?: Range;
69
69
  originSelectionRange?: Range;
70
+ children?: Symbol[];
71
+ location?: Symbol;
70
72
  }
71
73
  export interface VSCodePosition {
72
74
  line: number;
@@ -78,9 +80,10 @@ export interface VSCodeRange {
78
80
  }
79
81
  export interface VSCodeSymbol extends SymbolBase {
80
82
  range: VSCodeRange;
81
- children?: VSCodeSymbol[];
82
83
  selectionRange?: VSCodeRange;
83
84
  originSelectionRange?: VSCodeRange;
85
+ children?: VSCodeSymbol[];
86
+ location?: VSCodeSymbol;
84
87
  }
85
88
  declare const fileEntrySchema: z.ZodObject<{
86
89
  path: z.ZodString;
@@ -4,7 +4,7 @@
4
4
  export declare abstract class ErrorCode extends Error {
5
5
  abstract readonly code: string;
6
6
  cause?: Error;
7
- constructor(message: string, originalError?: Error);
7
+ constructor(message: string, originalError?: unknown);
8
8
  }
9
9
  /**
10
10
  * Wrapper for any functions that adds consistent error handling
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.3",
2
+ "version": "0.3.0",
3
3
  "name": "modality-kit",
4
4
  "repository": {
5
5
  "type": "git",