
export type AttachmentsDisplay = "auto" | "preview" | "list";

export interface Operations {
  /** Indicates whether to allow adding attachments. Default value is `true`. */
  add?: boolean;
  /** Indicates whether to allow deleting an existing attachment. Default value is `true`. */
  delete?: boolean;
  /** Indicates whether to allow updating an existing attachment. Default value is `true`. */
  update?: boolean;
}

/** An object that specifies the available attachments capabilities. */
export interface AttachmentsCapabilities {
  /** Indicates whether to allow attachment editing. The feature layer must be enabled to support editing. Default value is `false`. */
  editing?: boolean;
  /** Describes the configurable attachments operations. See the object specification below. */
  operations?: Operations;
}