Skip to content

Commit 595b278

Browse files
Update smoke tests
1 parent 1c37a77 commit 595b278

File tree

27 files changed

+135
-0
lines changed
  • packages/typespec-test/test
    • NetworkAnalytics.Management/generated/typespec-ts/sdk/test/arm-test/src/models
    • ai/generated/typespec-ts/src/models
    • anomalyDetector/generated/typespec-ts/src/models
    • batch_modular/generated/typespec-ts/src/models
    • chatApi_modular/generated/typespec-ts/src/models
    • contentsafety_modular/generated/typespec-ts/src/models
    • eventgrid_modular/generated/typespec-ts/src/models
    • healthInsights_radiologyinsights/generated/typespec-ts/src/models
    • hierarchy_generic/generated/typespec-ts/src/models
    • loadtesting_modular/generated/typespec-ts/src/models
    • openai_generic/generated/typespec-ts/src/models
    • openai_modular/generated/typespec-ts/src/models
    • openai_non_branded/generated/typespec-ts/src/models
    • overloads_modular/generated/typespec-ts/src/models
    • parametrizedHost/generated/typespec-ts/src/models
    • schemaRegistry/generated/typespec-ts/src/models
    • spread/generated/typespec-ts/src/models
    • todo_non_branded/generated/typespec-ts/src/models
    • widget_dpg/generated/typespec-ts/src/models

27 files changed

+135
-0
lines changed

packages/typespec-test/test/NetworkAnalytics.Management/generated/typespec-ts/sdk/test/arm-test/src/models/models.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
33

4+
/**
5+
* This file contains only generated model types and (de)serializers.
6+
* Disable this rule for deserializer functions which require 'any' for raw JSON input.
7+
*/
8+
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
49
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
510
export interface _OperationListResult {
611
/** The Operation items on this page */

packages/typespec-test/test/ai/generated/typespec-ts/src/models/agents/models.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ import {
66
createFilePartDescriptor,
77
} from "../../static-helpers/multipartHelpers.js";
88

9+
/**
10+
* This file contains only generated model types and (de)serializers.
11+
* Disable this rule for deserializer functions which require 'any' for raw JSON input.
12+
*/
13+
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
914
/** An abstract representation of an input tool definition that an agent can use. */
1015
export interface ToolDefinition {
1116
/** The object type. */

packages/typespec-test/test/ai/generated/typespec-ts/src/models/models.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
33

4+
/**
5+
* This file contains only generated model types and (de)serializers.
6+
* Disable this rule for deserializer functions which require 'any' for raw JSON input.
7+
*/
8+
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
49
/** Response from the Workspace - Get operation */
510
export interface GetWorkspaceResponse {
611
/** A unique identifier for the resource */
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
33

4+
/**
5+
* This file contains only generated model types and (de)serializers.
6+
* Disable this rule for deserializer functions which require 'any' for raw JSON input.
7+
*/
8+
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
49
/** Type of APIVersion */
510
export type APIVersion = "v1.1";

packages/typespec-test/test/anomalyDetector/generated/typespec-ts/src/models/multivariate/models.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
33

4+
/**
5+
* This file contains only generated model types and (de)serializers.
6+
* Disable this rule for deserializer functions which require 'any' for raw JSON input.
7+
*/
8+
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
49
/** Detection results for the resultId value. */
510
export interface MultivariateMultivariateDetectionResult {
611
/** Result identifier that's used to fetch the results of an inference call. */

packages/typespec-test/test/anomalyDetector/generated/typespec-ts/src/models/univariate/models.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
33

4+
/**
5+
* This file contains only generated model types and (de)serializers.
6+
* Disable this rule for deserializer functions which require 'any' for raw JSON input.
7+
*/
8+
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
49
/** Request of the entire or last anomaly detection. */
510
export interface UnivariateUnivariateDetectionOptions {
611
/**

packages/typespec-test/test/batch_modular/generated/typespec-ts/src/models/models.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33

44
import { uint8ArrayToString, stringToUint8Array } from "@azure/core-util";
55

6+
/**
7+
* This file contains only generated model types and (de)serializers.
8+
* Disable this rule for deserializer functions which require 'any' for raw JSON input.
9+
*/
10+
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
611
/** The result of listing the applications available in an Account. */
712
export interface _ApplicationListResult {
813
/** The list of applications available in the Account. */

packages/typespec-test/test/chatApi_modular/generated/typespec-ts/src/models/models.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
33

4+
/**
5+
* This file contains only generated model types and (de)serializers.
6+
* Disable this rule for deserializer functions which require 'any' for raw JSON input.
7+
*/
8+
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
49
/** The configuration for a streaming chat completion request. */
510
export interface StreamingChatCompletionOptionsRecord {
611
/** The collection of context messages associated with this completion request. */

packages/typespec-test/test/contentsafety_modular/generated/typespec-ts/src/models/models.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33

44
import { uint8ArrayToString } from "@azure/core-util";
55

6+
/**
7+
* This file contains only generated model types and (de)serializers.
8+
* Disable this rule for deserializer functions which require 'any' for raw JSON input.
9+
*/
10+
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
611
/** The text analysis request. */
712
export interface AnalyzeTextOptions {
813
/** The text to be analyzed. We support a maximum of 10k Unicode characters (Unicode code points) in the text of one request. */

packages/typespec-test/test/eventgrid_modular/generated/typespec-ts/src/models/models.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
import { ErrorModel } from "@azure-rest/core-client";
55
import { uint8ArrayToString, stringToUint8Array } from "@azure/core-util";
66

7+
/**
8+
* This file contains only generated model types and (de)serializers.
9+
* Disable this rule for deserializer functions which require 'any' for raw JSON input.
10+
*/
11+
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
712
/** Properties of an event published to an Azure Messaging EventGrid Namespace topic using the CloudEvent 1.0 Schema. */
813
export interface CloudEvent {
914
/** An identifier for the event. The combination of id and source must be unique for each distinct event. */

0 commit comments

Comments
 (0)