Skip to content

Commit 76bc362

Browse files
authored
[EngSys] fix formatting (#36773)
There are some improvements in prettier v3.7 but it brings differences comparing to v3.6. This PR fixes formatting checks by applying the result of `turbo run format` for the whole repo, after our weekly automation upgrades prettier to v3.7. ***NO_CI***
1 parent df729c0 commit 76bc362

File tree

242 files changed

+1031
-1919
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

242 files changed

+1031
-1919
lines changed

sdk/agrifood/agrifood-farming-rest/src/responses.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,8 +1217,7 @@ export interface InsightAttachmentsListByPartyIdModelIdAndResourceDefaultHeaders
12171217
}
12181218

12191219
/** Returns a paginated list of insight resources. */
1220-
export interface InsightAttachmentsListByPartyIdModelIdAndResourceDefaultResponse
1221-
extends HttpResponse {
1220+
export interface InsightAttachmentsListByPartyIdModelIdAndResourceDefaultResponse extends HttpResponse {
12221221
status: string;
12231222
body: ErrorResponseOutput;
12241223
headers: RawHttpHeaders & InsightAttachmentsListByPartyIdModelIdAndResourceDefaultHeaders;

sdk/ai/ai-agents/src/api/vectorStoreFileBatches/options.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ import type { OperationOptions } from "@azure-rest/core-client";
1111
import type { PollingOptionsParams } from "../options.js";
1212

1313
/** Optional parameters. */
14-
export interface VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams
15-
extends OperationOptions {
14+
export interface VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams extends OperationOptions {
1615
/** Filter by file status. */
1716
filter?: VectorStoreFileStatusFilter;
1817
/** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */
@@ -26,17 +25,14 @@ export interface VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalPara
2625
}
2726

2827
/** Optional parameters. */
29-
export interface VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams
30-
extends OperationOptions {}
28+
export interface VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams extends OperationOptions {}
3129

3230
/** Optional parameters. */
33-
export interface VectorStoreFileBatchesGetVectorStoreFileBatchOptionalParams
34-
extends OperationOptions {}
31+
export interface VectorStoreFileBatchesGetVectorStoreFileBatchOptionalParams extends OperationOptions {}
3532

3633
/** Optional parameters. */
3734
export interface VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams
38-
extends OperationOptions,
39-
PollingOptionsParams {
35+
extends OperationOptions, PollingOptionsParams {
4036
/** List of file identifiers. */
4137
fileIds?: string[];
4238
/** List of Azure assets. */

sdk/ai/ai-agents/src/api/vectorStoreFiles/options.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ export interface VectorStoreFilesGetVectorStoreFileOptionalParams extends Operat
1818

1919
/** Optional parameters. */
2020
export interface VectorStoreFilesCreateVectorStoreFileOptionalParams
21-
extends OperationOptions,
22-
PollingOptionsParams {
21+
extends OperationOptions, PollingOptionsParams {
2322
/** Identifier of the file. */
2423
fileId?: string;
2524
/** Azure asset ID. */

sdk/ai/ai-agents/src/api/vectorStores/options.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ export interface VectorStoresGetVectorStoreOptionalParams extends OperationOptio
2828

2929
/** Optional parameters. */
3030
export interface VectorStoresCreateVectorStoreOptionalParams
31-
extends OperationOptions,
32-
PollingOptionsParams {
31+
extends OperationOptions, PollingOptionsParams {
3332
/** A list of file IDs that the vector store should use. Useful for tools like `file_search` that can access files. */
3433
fileIds?: string[];
3534
/** The name of the vector store. */

sdk/ai/ai-agents/src/models/models.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4413,8 +4413,7 @@ export function vectorStoreAutoChunkingStrategyRequestSerializer(
44134413
}
44144414

44154415
/** A statically configured chunking strategy. */
4416-
export interface VectorStoreStaticChunkingStrategyRequest
4417-
extends VectorStoreChunkingStrategyRequest {
4416+
export interface VectorStoreStaticChunkingStrategyRequest extends VectorStoreChunkingStrategyRequest {
44184417
/** The object type, which is always 'static'. */
44194418
type: "static";
44204419
/** The options for the static chunking strategy. */
@@ -4613,8 +4612,7 @@ export function vectorStoreChunkingStrategyResponseUnionDeserializer(
46134612
export type VectorStoreChunkingStrategyResponseType = "other" | "static";
46144613

46154614
/** This is returned when the chunking strategy is unknown. Typically, this is because the file was indexed before the chunking_strategy concept was introduced in the API. */
4616-
export interface VectorStoreAutoChunkingStrategyResponse
4617-
extends VectorStoreChunkingStrategyResponse {
4615+
export interface VectorStoreAutoChunkingStrategyResponse extends VectorStoreChunkingStrategyResponse {
46184616
/** The object type, which is always 'other'. */
46194617
type: "other";
46204618
}
@@ -4628,8 +4626,7 @@ export function vectorStoreAutoChunkingStrategyResponseDeserializer(
46284626
}
46294627

46304628
/** A statically configured chunking strategy. */
4631-
export interface VectorStoreStaticChunkingStrategyResponse
4632-
extends VectorStoreChunkingStrategyResponse {
4629+
export interface VectorStoreStaticChunkingStrategyResponse extends VectorStoreChunkingStrategyResponse {
46334630
/** The object type, which is always 'static'. */
46344631
type: "static";
46354632
/** The options for the static chunking strategy. */

sdk/ai/ai-agents/src/models/streamingModels.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ export type AgentEventStreamData =
4949

5050
/** Represents a stream of agent event message. */
5151
export interface AgentEventMessageStream
52-
extends AsyncDisposable,
53-
AsyncIterable<AgentEventMessage> {}
52+
extends AsyncDisposable, AsyncIterable<AgentEventMessage> {}
5453

5554
/**
5655
* Agent run response with support to stream.

sdk/ai/ai-inference-rest/src/models.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@ export interface ChatCompletionsResponseFormatText extends ChatCompletionsRespon
177177
* Note that to enable JSON mode, some AI models may also require you to instruct the model to produce JSON
178178
* via a system or user message.
179179
*/
180-
export interface ChatCompletionsResponseFormatJsonObject
181-
extends ChatCompletionsResponseFormatParent {
180+
export interface ChatCompletionsResponseFormatJsonObject extends ChatCompletionsResponseFormatParent {
182181
/** Response format type: always 'json_object' for this object. */
183182
type: "json_object";
184183
}
@@ -187,8 +186,7 @@ export interface ChatCompletionsResponseFormatJsonObject
187186
* A response format for Chat Completions that restricts responses to emitting valid JSON objects, with a
188187
* JSON schema specified by the caller.
189188
*/
190-
export interface ChatCompletionsResponseFormatJsonSchema
191-
extends ChatCompletionsResponseFormatParent {
189+
export interface ChatCompletionsResponseFormatJsonSchema extends ChatCompletionsResponseFormatParent {
192190
/** The type of response format being defined: `json_schema` */
193191
type: "json_schema";
194192
/** The definition of the required JSON schema in the response, and associated metadata. */

sdk/ai/ai-projects/src/models/models.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4325,8 +4325,7 @@ export function computerToolCallOutputItemOutputUnionSerializer(
43254325
export type ComputerToolCallOutputItemOutputType = "computer_screenshot";
43264326

43274327
/** model interface ComputerToolCallOutputItemOutputComputerScreenshot */
4328-
export interface ComputerToolCallOutputItemOutputComputerScreenshot
4329-
extends ComputerToolCallOutputItemOutput {
4328+
export interface ComputerToolCallOutputItemOutputComputerScreenshot extends ComputerToolCallOutputItemOutput {
43304329
type: "computer_screenshot";
43314330
/** The URL of the screenshot image. */
43324331
image_url?: string;

sdk/appconfiguration/app-configuration/src/internal/helpers.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ import type { OperationOptions } from "@azure/core-client";
3939
* result.
4040
*/
4141
export interface SendConfigurationSettingsOptions
42-
extends OperationOptions,
43-
ListSettingsOptions,
44-
EtagEntity {
42+
extends OperationOptions, ListSettingsOptions, EtagEntity {
4543
/**
4644
* A filter used get configuration setting for a snapshot. Not valid when used with 'key' and 'label' filters
4745
*/

sdk/appconfiguration/app-configuration/src/models.ts

Lines changed: 13 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -238,39 +238,31 @@ export interface AddConfigurationSettingOptions extends OperationOptions {}
238238
* Response from adding a ConfigurationSetting.
239239
*/
240240
export interface AddConfigurationSettingResponse
241-
extends ConfigurationSetting,
242-
SyncTokenHeaderField,
243-
HttpResponseField<SyncTokenHeaderField> {}
241+
extends ConfigurationSetting, SyncTokenHeaderField, HttpResponseField<SyncTokenHeaderField> {}
244242

245243
/**
246244
* Response from deleting a ConfigurationSetting.
247245
*/
248246
export interface DeleteConfigurationSettingResponse
249-
extends SyncTokenHeaderField,
250-
HttpResponseFields,
251-
HttpResponseField<SyncTokenHeaderField> {}
247+
extends SyncTokenHeaderField, HttpResponseFields, HttpResponseField<SyncTokenHeaderField> {}
252248

253249
/**
254250
* Options for deleting a ConfigurationSetting.
255251
*/
256252
export interface DeleteConfigurationSettingOptions
257-
extends HttpOnlyIfUnchangedField,
258-
OperationOptions {}
253+
extends HttpOnlyIfUnchangedField, OperationOptions {}
259254

260255
/**
261256
* Options used when saving a ConfigurationSetting.
262257
*/
263258
export interface SetConfigurationSettingOptions
264-
extends HttpOnlyIfUnchangedField,
265-
OperationOptions {}
259+
extends HttpOnlyIfUnchangedField, OperationOptions {}
266260

267261
/**
268262
* Response from setting a ConfigurationSetting.
269263
*/
270264
export interface SetConfigurationSettingResponse
271-
extends ConfigurationSetting,
272-
SyncTokenHeaderField,
273-
HttpResponseField<SyncTokenHeaderField> {}
265+
extends ConfigurationSetting, SyncTokenHeaderField, HttpResponseField<SyncTokenHeaderField> {}
274266

275267
/**
276268
* Headers from getting a ConfigurationSetting.
@@ -281,7 +273,8 @@ export interface GetConfigurationHeaders extends SyncTokenHeaderField {}
281273
* Response from retrieving a ConfigurationSetting.
282274
*/
283275
export interface GetConfigurationSettingResponse
284-
extends ConfigurationSetting,
276+
extends
277+
ConfigurationSetting,
285278
GetConfigurationHeaders,
286279
HttpResponseFields,
287280
HttpResponseField<GetConfigurationHeaders> {}
@@ -290,9 +283,7 @@ export interface GetConfigurationSettingResponse
290283
* Options for getting a ConfigurationSetting.
291284
*/
292285
export interface GetConfigurationSettingOptions
293-
extends OperationOptions,
294-
HttpOnlyIfChangedField,
295-
OptionalFields {
286+
extends OperationOptions, HttpOnlyIfChangedField, OptionalFields {
296287
/**
297288
* Requests the server to respond with the state of the resource at the specified time.
298289
*/
@@ -355,8 +346,7 @@ export interface ListSettingsOptions extends OptionalFields {
355346
* the accept date time header.
356347
*/
357348
export interface ListConfigurationSettingsForSnapshotOptions
358-
extends OperationOptions,
359-
OptionalFields {}
349+
extends OperationOptions, OptionalFields {}
360350

361351
/**
362352
* Options for listConfigurationSettings that allow for filtering based on keys, labels and other fields.
@@ -401,9 +391,7 @@ export interface ListSnapshots extends OptionalSnapshotFields {
401391
* result.
402392
*/
403393
export interface ListSnapshotsOptions
404-
extends OperationOptions,
405-
ListSnapshots,
406-
OptionalSnapshotFields {}
394+
extends OperationOptions, ListSnapshots, OptionalSnapshotFields {}
407395

408396
/**
409397
* An interface that tracks the settings for paged iteration
@@ -431,9 +419,7 @@ export interface EtagEntity {
431419
* A page of configuration settings and the corresponding HTTP response
432420
*/
433421
export interface ListConfigurationSettingPage
434-
extends HttpResponseField<SyncTokenHeaderField>,
435-
PageSettings,
436-
EtagEntity {
422+
extends HttpResponseField<SyncTokenHeaderField>, PageSettings, EtagEntity {
437423
/**
438424
* The configuration settings for this page of results.
439425
*/
@@ -444,9 +430,7 @@ export interface ListConfigurationSettingPage
444430
* A page of configuration settings and the corresponding HTTP response
445431
*/
446432
export interface ListLabelsPage
447-
extends HttpResponseField<SyncTokenHeaderField>,
448-
PageSettings,
449-
EtagEntity {
433+
extends HttpResponseField<SyncTokenHeaderField>, PageSettings, EtagEntity {
450434
/**
451435
* The collection of labels
452436
*/
@@ -489,9 +473,7 @@ export interface SetReadOnlyOptions extends HttpOnlyIfUnchangedField, OperationO
489473
* Response when setting a value to read-only.
490474
*/
491475
export interface SetReadOnlyResponse
492-
extends ConfigurationSetting,
493-
SyncTokenHeaderField,
494-
HttpResponseField<SyncTokenHeaderField> {}
476+
extends ConfigurationSetting, SyncTokenHeaderField, HttpResponseField<SyncTokenHeaderField> {}
495477

496478
/**
497479
* Options that control how to retry failed requests.

0 commit comments

Comments
 (0)