diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-05-23 23:45:12 -0400 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-05-23 23:45:12 -0400 |
commit | 27ecedb02ef79ce53bf533e016b00462c44541be (patch) | |
tree | 402305113b6f04c3e3b3563b68d32de5ff1c69c8 /extension/schema/FileEditWithFullContents.d.ts | |
download | sncontinue-27ecedb02ef79ce53bf533e016b00462c44541be.tar.gz sncontinue-27ecedb02ef79ce53bf533e016b00462c44541be.tar.bz2 sncontinue-27ecedb02ef79ce53bf533e016b00462c44541be.zip |
copying from old repo
Diffstat (limited to 'extension/schema/FileEditWithFullContents.d.ts')
-rw-r--r-- | extension/schema/FileEditWithFullContents.d.ts | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/extension/schema/FileEditWithFullContents.d.ts b/extension/schema/FileEditWithFullContents.d.ts new file mode 100644 index 00000000..b96cdd3c --- /dev/null +++ b/extension/schema/FileEditWithFullContents.d.ts @@ -0,0 +1,38 @@ +/* eslint-disable */ +/** + * This file was automatically generated by json-schema-to-typescript. + * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, + * and run json-schema-to-typescript to regenerate this file. + */ + +export type FileEditWithFullContents = FileEditWithFullContents1; +export type Filepath = string; +export type Line = number; +export type Character = number; +export type Replacement = string; +export type Filecontents = string; + +export interface FileEditWithFullContents1 { + fileEdit: FileEdit; + fileContents: Filecontents; + [k: string]: unknown; +} +export interface FileEdit { + filepath: Filepath; + range: Range; + replacement: Replacement; + [k: string]: unknown; +} +/** + * A range in a file. 0-indexed. + */ +export interface Range { + start: Position; + end: Position; + [k: string]: unknown; +} +export interface Position { + line: Line; + character: Character; + [k: string]: unknown; +} |