import { DcValidation } from '../models/dc-validation.model'

/**
 * `_____DELETE__THIS__RECORD_____` is a client-side UI concept (the delete
 * checkbox column) that getdata.sas synthesizes into vars3/vars4 for display
 * purposes only — it's never a real column of the underlying dataset, so
 * `%mp_getcols` (which builds `cols1`, the left side of the join into
 * `cols`) never has a row for it, and its rule can no longer travel via
 * `cols[].COLTYPE` (see issue #253's vertical-array fix). The rule is fixed
 * and data-independent, so it's injected directly here instead.
 */
export const DELETE_RECORD_COLUMN_RULE: DcValidation = {
  data: '_____DELETE__THIS__RECORD_____',
  type: 'dropdown',
  source: ['No', 'Yes']
}
