Skip to content

Commit 803e456

Browse files
committed
chores: fix indentation in types generator unit test
1 parent 533619b commit 803e456

File tree

2 files changed

+52
-52
lines changed

2 files changed

+52
-52
lines changed

packages/service-types-generator/src/Components/Type/Input.spec.ts

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ import * as __aws_sdk_types from '@aws-sdk/types';
7171
* ${inputShape.documentation}
7272
*/
7373
export interface ${name}<StreamType = Uint8Array> {
74-
/**
75-
* ${StreamingBlob.documentation}
76-
*/
77-
data?: ${getInterfaceType(StreamingBlob)};
74+
/**
75+
* ${StreamingBlob.documentation}
76+
*/
77+
data?: ${getInterfaceType(StreamingBlob)};
7878
7979
${new IndentedSection(INPUT_CONTROL_PROPERTIES.join("\n\n"))}
8080
}`
@@ -108,10 +108,10 @@ import * as __aws_sdk_types from '@aws-sdk/types';
108108
* ${inputShape.documentation}
109109
*/
110110
export interface ${name}<StreamType = Uint8Array> {
111-
/**
112-
* ${dataMember.documentation}
113-
*/
114-
data?: ${getInterfaceType(dataMember.shape, dataMember)};
111+
/**
112+
* ${dataMember.documentation}
113+
*/
114+
data?: ${getInterfaceType(dataMember.shape, dataMember)};
115115
116116
${new IndentedSection(INPUT_CONTROL_PROPERTIES.join("\n\n"))}
117117
}`
@@ -141,10 +141,10 @@ import * as __aws_sdk_types from '@aws-sdk/types';
141141
* ${inputShape.documentation}
142142
*/
143143
export interface ${name}<StreamType = _stream.Readable> {
144-
/**
145-
* ${StreamingBlob.documentation}
146-
*/
147-
data?: ${getInterfaceType(StreamingBlob)};
144+
/**
145+
* ${StreamingBlob.documentation}
146+
*/
147+
data?: ${getInterfaceType(StreamingBlob)};
148148
149149
${new IndentedSection(INPUT_CONTROL_PROPERTIES.join("\n\n"))}
150150
}`
@@ -173,10 +173,10 @@ import * as __aws_sdk_types from '@aws-sdk/types';
173173
* ${inputShape.documentation}
174174
*/
175175
export interface ${name}<StreamType = Blob> {
176-
/**
177-
* ${StreamingBlob.documentation}
178-
*/
179-
data?: ${getInterfaceType(StreamingBlob)};
176+
/**
177+
* ${StreamingBlob.documentation}
178+
*/
179+
data?: ${getInterfaceType(StreamingBlob)};
180180
181181
${new IndentedSection(INPUT_CONTROL_PROPERTIES.join("\n\n"))}
182182
}`
@@ -213,10 +213,10 @@ import * as __aws_sdk_types from '@aws-sdk/types';
213213
* ${inputShape.documentation}
214214
*/
215215
export interface ${name} {
216-
/**
217-
* ${structure.documentation}
218-
*/
219-
data?: ${getInterfaceType(structure)};
216+
/**
217+
* ${structure.documentation}
218+
*/
219+
data?: ${getInterfaceType(structure)};
220220
221221
${new IndentedSection(INPUT_CONTROL_PROPERTIES.join("\n\n"))}
222222
}`
@@ -261,10 +261,10 @@ import * as __aws_sdk_types from '@aws-sdk/types';
261261
* ${inputShape.documentation}
262262
*/
263263
export interface ${name} {
264-
/**
265-
* ${structureList.documentation}
266-
*/
267-
data?: ${getInterfaceType(structureList)};
264+
/**
265+
* ${structureList.documentation}
266+
*/
267+
data?: ${getInterfaceType(structureList)};
268268
269269
${new IndentedSection(INPUT_CONTROL_PROPERTIES.join("\n\n"))}
270270
}`
@@ -316,10 +316,10 @@ import * as __aws_sdk_types from '@aws-sdk/types';
316316
* ${inputShape.documentation}
317317
*/
318318
export interface ${name} {
319-
/**
320-
* ${structureMap.documentation}
321-
*/
322-
data?: ${getInterfaceType(structureMap)};
319+
/**
320+
* ${structureMap.documentation}
321+
*/
322+
data?: ${getInterfaceType(structureMap)};
323323
324324
${new IndentedSection(INPUT_CONTROL_PROPERTIES.join("\n\n"))}
325325
}`

packages/service-types-generator/src/Components/Type/Output.spec.ts

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ ${new IndentedSection(metadataProp)}
6666
* Operation output
6767
*/
6868
export interface ${name}<StreamType = Uint8Array> {
69-
/**
70-
* ${StreamingBlob.documentation}
71-
*/
72-
data?: ${getMemberType(StreamingBlob)};
69+
/**
70+
* ${StreamingBlob.documentation}
71+
*/
72+
data?: ${getMemberType(StreamingBlob)};
7373
7474
${new IndentedSection(metadataProp)}
7575
}
@@ -103,10 +103,10 @@ ${new IndentedSection(metadataProp)}
103103
* ${output.documentation}
104104
*/
105105
export interface ${name}<StreamType = Uint8Array> {
106-
/**
107-
* ${dataMember.documentation}
108-
*/
109-
data?: ${getMemberType(dataMember.shape, dataMember)};
106+
/**
107+
* ${dataMember.documentation}
108+
*/
109+
data?: ${getMemberType(dataMember.shape, dataMember)};
110110
111111
${new IndentedSection(metadataProp)}
112112
}
@@ -139,10 +139,10 @@ import * as __aws_sdk_types from '@aws-sdk/types';
139139
* Operation output
140140
*/
141141
export interface ${name}<StreamType = _stream.Readable> {
142-
/**
143-
* ${StreamingBlob.documentation}
144-
*/
145-
data?: ${getMemberType(StreamingBlob)};
142+
/**
143+
* ${StreamingBlob.documentation}
144+
*/
145+
data?: ${getMemberType(StreamingBlob)};
146146
147147
${new IndentedSection(metadataProp)}
148148
}
@@ -181,10 +181,10 @@ import * as __aws_sdk_types from '@aws-sdk/types';
181181
* ${outputShape.documentation}
182182
*/
183183
export interface ${name} {
184-
/**
185-
* ${structure.documentation}
186-
*/
187-
data?: ${getMemberType(structure)};
184+
/**
185+
* ${structure.documentation}
186+
*/
187+
data?: ${getMemberType(structure)};
188188
189189
${new IndentedSection(metadataProp)}
190190
}
@@ -231,10 +231,10 @@ import * as __aws_sdk_types from '@aws-sdk/types';
231231
* ${inputShape.documentation}
232232
*/
233233
export interface ${name} {
234-
/**
235-
* ${structureList.documentation}
236-
*/
237-
data?: ${getMemberType(structureList)};
234+
/**
235+
* ${structureList.documentation}
236+
*/
237+
data?: ${getMemberType(structureList)};
238238
239239
${new IndentedSection(metadataProp)}
240240
}
@@ -289,10 +289,10 @@ import * as __aws_sdk_types from '@aws-sdk/types';
289289
* ${inputShape.documentation}
290290
*/
291291
export interface ${name} {
292-
/**
293-
* ${structureMap.documentation}
294-
*/
295-
data?: ${getMemberType(structureMap)};
292+
/**
293+
* ${structureMap.documentation}
294+
*/
295+
data?: ${getMemberType(structureMap)};
296296
297297
${new IndentedSection(metadataProp)}
298298
}

0 commit comments

Comments
 (0)