summaryrefslogtreecommitdiff
path: root/extension/schema/FileEditWithFullContents.d.ts
blob: b96cdd3cf8dfe344cb6b08162d6aab011cd9cd08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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;
}