// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
// @generated from file common/v1/delete.proto (package common.v1, syntax proto3)
/* eslint-disable */

import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
import type { Message } from "@bufbuild/protobuf";

/**
 * Describes the file common/v1/delete.proto.
 */
export const file_common_v1_delete: GenFile = /*@__PURE__*/
  fileDesc("ChZjb21tb24vdjEvZGVsZXRlLnByb3RvEgljb21tb24udjEiLAoNRGVsZXRlTWVzc2FnZRIKCgJpZBgBIAEoCRIPCgdtZXNzYWdlGAIgASgJQqMBCg1jb20uY29tbW9uLnYxQgtEZWxldGVQcm90b1ABWjdnaXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvY29tbW9uL3YxO2NvbW1vbnYxogIDQ1hYqgISTWVzc2FnZXMuQ29tbW9uLlYxygIJQ29tbW9uXFYx4gIVQ29tbW9uXFYxXEdQQk1ldGFkYXRh6gIKQ29tbW9uOjpWMWIGcHJvdG8z");

/**
 * @generated from message common.v1.DeleteMessage
 */
export type DeleteMessage = Message<"common.v1.DeleteMessage"> & {
  /**
   * Id of the entity to be deleted
   *
   * @generated from field: string id = 1;
   */
  id: string;

  /**
   * Optional message
   *
   * @generated from field: string message = 2;
   */
  message: string;
};

/**
 * Describes the message common.v1.DeleteMessage.
 * Use `create(DeleteMessageSchema)` to create a new message.
 */
export const DeleteMessageSchema: GenMessage<DeleteMessage> = /*@__PURE__*/
  messageDesc(file_common_v1_delete, 0);

