1
1
// Code generated by 'guts'. DO NOT EDIT.
2
2
3
- // From terraform/block.go
4
- export interface Block {
5
- }
6
-
7
3
// From types/diagnostics.go
8
4
export interface DiagnosticExtra {
9
5
code : string ;
@@ -42,12 +38,10 @@ export interface NullHCLString {
42
38
// From apitypes/apitypes.go
43
39
export type OptionType = "bool" | "list(string)" | "number" | "string" ;
44
40
45
- // From preview/preview .go
41
+ // From apitypes/apitypes .go
46
42
export interface Output {
47
- ModuleOutput : Value ;
48
- Parameters : Parameter [ ] ;
49
- WorkspaceTags : TagBlocks ;
50
- Files : Record < string , File | null > | null ;
43
+ parameters : ParameterWithSource [ ] ;
44
+ files : Record < string , File | null > | null ;
51
45
}
52
46
53
47
// From types/parameter.go
@@ -104,6 +98,11 @@ export interface ParameterValidation {
104
98
validation_monotonic : string | null ;
105
99
}
106
100
101
+ // From apitypes/apitypes.go
102
+ export interface ParameterWithSource extends Parameter {
103
+ type_range : Range ;
104
+ }
105
+
107
106
// From apitypes/apitypes.go
108
107
export interface ParserLog {
109
108
time : string ;
@@ -114,33 +113,25 @@ export interface ParserLog {
114
113
err : string ;
115
114
}
116
115
116
+ // From hcl/pos.go
117
+ export interface Pos {
118
+ Line : number ;
119
+ Column : number ;
120
+ Byte : number ;
121
+ }
122
+
117
123
// From apitypes/apitypes.go
118
124
export interface PreviewOutput {
119
125
output : Output | null ;
120
126
diags : Diagnostics ;
121
127
parser_logs ?: ParserLog [ ] ;
122
128
}
123
129
124
- // From types/tags.go
125
- export interface Tag {
126
- Key : NullHCLString ;
127
- Value : NullHCLString ;
128
- }
129
-
130
- // From types/tags.go
131
- export interface TagBlock {
132
- Tags : Tags ;
133
- Block : Block | null ;
134
- }
135
-
136
- // From types/tags.go
137
- export type TagBlocks = TagBlock [ ] ;
138
-
139
- // From types/tags.go
140
- export type Tags = Tag [ ] ;
141
-
142
- // From cty/value.go
143
- export interface Value {
130
+ // From hcl/pos.go
131
+ export interface Range {
132
+ Filename : string ;
133
+ Start : Pos ;
134
+ End : Pos ;
144
135
}
145
136
146
137
0 commit comments