Skip to content

Weird formatting in template #11836

Description

#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Job templates are project-standard operations"
@delete
op deleteJobPreview<AreaPreviewLabel extends
  | FoundryFeaturesOptInKeys
  | AgentDefinitionOptInKeys> is FoundryDataPlanePreviewOperation<
  AreaPreviewLabel,
  {
    /** The ID of the job to delete. */
    @path jobId: string;
  },
  NoContentResponse
>;

investigate if this apply to other template constructs too

To compare a similar Typescript formatting is

interface deleteJobPreview<
  AreaPreviewLabel extends FoundryFeaturesOptInKeys | AgentDefinitionOptInKeys,
> extends FoundryDataPlanePreviewOperation<
  AreaPreviewLabel,
  {
    /** The ID of the job to delete. */
    jobId: string;
  },
  NoContentResponse
> {}

or if needing split

interface deleteJobPreview<
  AreaPreviewLabel extends
    | FoundryFeaturesOptInKeysExtraLongNeedSplit
    | FoundryFeaturesOptInKeysExtraLongNeedSplit
    | FoundryFeaturesOptInKeysExtraLongNeedSplit,
> extends FoundryDataPlanePreviewOperation<
  AreaPreviewLabel,
  {
    /** The ID of the job to delete. */
    jobId: string;
  },
  NoContentResponse
> {}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions