/**
 * @module observable types (and some enums/constants)
 */
import { DEFAULT_DESCRIPTION_OBSERVABLE, DEFAULT_NAME_OBSERVABLE, DEFAULT_UUID_OBSERVABLE } from './observable-constants.mjs';
/** Cmds for interacting with ibgib spaces. */
export const ObservableCmd = {
    /**
     * subscribe to the observable
     */
    subscribe: 'subscribe',
};
export const OBSERVABLE_CMD_VALUES = Object.values(ObservableCmd);
/**
 * Flags to affect the command's interpretation.
 *
 * atow 11/2023 not used
 */
export const ObservableCmdModifier = {
    /**
     * hmm...
     */
    ib: 'ib',
    /**
     * hmm...
     */
    gib: 'gib',
    /**
     * hmm...
     */
    ibgib: 'ibgib',
};
/**
 * Default data values for a Observable.
 *
 * If you change this, please bump the version
 *
 * (but of course won't be the end of the world when this doesn't happen).
 */
export const DEFAULT_OBSERVABLE_DATA_V1 = {
    version: '1',
    uuid: DEFAULT_UUID_OBSERVABLE,
    name: DEFAULT_NAME_OBSERVABLE,
    description: DEFAULT_DESCRIPTION_OBSERVABLE,
    classname: `Observable_V1`,
    /**
     * if true, then the witness will attempt to persist ALL calls to
     * `witness.witness(...)`.
     */
    persistOptsAndResultIbGibs: false,
    /**
     * allow ibgibs like 42^gib ({ib: 42, gib: 'gib'} with `data` and `rel8ns` undefined)
     */
    allowPrimitiveArgs: true,
    /**
     * witnesses should be guaranteed not to throw uncaught exceptions.
     */
    catchAllErrors: false,
    /**
     * if true, would enable logging of all calls to `witness.witness(...)`
     */
    trace: false,
    // put in your custom defaults here
};
export const DEFAULT_OBSERVABLE_REL8NS_V1 = undefined;
//# sourceMappingURL=observable-types.mjs.map