lib/gen_lsp/protocol/notifications/workspace_did_delete_files.ex

# codegen: do not edit
defmodule GenLSP.Notifications.WorkspaceDidDeleteFiles do
  @moduledoc """
  The will delete files request is sent from the client to the server before files are actually
  deleted as long as the deletion is triggered from within the client.

  @since 3.16.0

  Message Direction: clientToServer
  """

  import Schematic, warn: false

  use TypedStruct

  @derive Jason.Encoder
  typedstruct do
    field :method, String.t(), default: "workspace/didDeleteFiles"
    field :jsonrpc, String.t(), default: "2.0"
    field :params, GenLSP.Structures.DeleteFilesParams.t()
  end

  @doc false
  @spec schematic() :: Schematic.t()
  def schematic() do
    schema(__MODULE__, %{
      method: "workspace/didDeleteFiles",
      jsonrpc: "2.0",
      params: GenLSP.Structures.DeleteFilesParams.schematic()
    })
  end
end