diff options
author | 2023-08-26 02:34:25 -0700 | |
---|---|---|
committer | 2023-08-26 02:34:25 -0700 | |
commit | 2a9e967fd1c766a718808d5a7fa779d74d44e62c (patch) | |
tree | 3bf4c059c03b9b561bc565ecf7cf21eaceae5353 /packages/bun-debug-adapter-protocol/src/protocol/schema.d.ts | |
parent | 910daeff27ead119e15f35f6c1e0aa09d2aa7562 (diff) | |
download | bun-2a9e967fd1c766a718808d5a7fa779d74d44e62c.tar.gz bun-2a9e967fd1c766a718808d5a7fa779d74d44e62c.tar.zst bun-2a9e967fd1c766a718808d5a7fa779d74d44e62c.zip |
More improvements to debugger support (#4345)
* More fixes for dap
* More changes
* More changes 2
* More fixes
* Fix debugger.ts
* Bun Terminal
Diffstat (limited to 'packages/bun-debug-adapter-protocol/src/protocol/schema.d.ts')
-rw-r--r-- | packages/bun-debug-adapter-protocol/src/protocol/schema.d.ts | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/bun-debug-adapter-protocol/src/protocol/schema.d.ts b/packages/bun-debug-adapter-protocol/src/protocol/schema.d.ts new file mode 100644 index 000000000..bf6f2d810 --- /dev/null +++ b/packages/bun-debug-adapter-protocol/src/protocol/schema.d.ts @@ -0,0 +1,37 @@ +export type Protocol = { + $schema: string; + title: string; + description: string; + type: "object"; + definitions: Record<string, Type>; +}; + +export type Type = { + description?: string; +} & ( + | { + type: "number" | "integer" | "boolean"; + } + | { + type: "string"; + enum?: string[]; + enumDescriptions?: string[]; + } + | { + type: "object"; + properties?: Record<string, Type>; + required?: string[]; + } + | { + type: "array"; + items?: Type; + } + | { + type?: undefined; + $ref: string; + } + | { + type?: undefined; + allOf: Type[]; + } +); |