import type { JSONSupport } from "../../../../core/JSONSupport.js";

/**
 * This contains information about the reconcile result.
 *
 * @since 4.28
 */
export default abstract class ReconcileResult extends JSONSupport {
  /**
   * Specifies if the updates from the version were posted.
   *
   * @default false
   */
  accessor didPost: boolean;
  /**
   * Specifies if the reconcile returned with conflicts.
   *
   * @default false
   */
  accessor hasConflicts: boolean;
  /** Returns data moment of the reconcile. */
  get moment(): Date | null | undefined;
  set moment(value: (Date | number | string) | null | undefined);
  /**
   * Specifies if the reconcile rest call was successful.
   *
   * @default false
   */
  accessor success: boolean;
}