/**
 * @since Last modified: 2024/03/14 06:06:20
 * @constant optObserve
 * @description  The attrs and props comparison table of Observe module.
 */

'use strict';
import optBase from './optBase';
import { T_obj } from '../../../types/ax';
import unique from '../utils/unique';
const optObserve: T_obj[] = unique([
    {
        attr: 'deep',
        prop: 'deep',
        value: false,
    },
    {
        attr: 'accept',
        prop: 'accept',
        value: true,
    },
    {
        attr: 'once',
        prop: 'once',
        value: false,
    },
    {
        attr: 'methods',
        prop: 'methods',
        value: ['set', 'delete'],
    },
    {
        attr: 'on-add',
        prop: 'onAdd',
        value: null,
    },
    {
        attr: 'on-edit',
        prop: 'onEdit',
        value: null,
    },
    {
        attr: 'on-set',
        prop: 'onSet',
        value: null,
    },
    {
        attr: 'on-delete',
        prop: 'onDelete',
        
        value: null,
    },
    {
        attr: 'on-crud',
        prop: 'onCrud',
        value: null,
    },
    {
        attr: 'on-new',
        prop: 'onNew',
        value: null,
    },
    {
        attr: 'on-apply',
        prop: 'onApply',
        value: null,
    },
    {
        attr: 'on-trigger',
        prop: 'onTrigger',
        value: null,
    },
    {
        attr: 'on-complete',
        prop: 'onComplete',
        value: null,
    },

    
    ...optBase
], 'attr');
export default optObserve;
