export var ProtocolActor;
(function (ProtocolActor) {
    ProtocolActor["Anyone"] = "anyone";
    ProtocolActor["Author"] = "author";
    ProtocolActor["Recipient"] = "recipient";
})(ProtocolActor || (ProtocolActor = {}));
export var ProtocolAction;
(function (ProtocolAction) {
    ProtocolAction["CoDelete"] = "co-delete";
    ProtocolAction["CoPrune"] = "co-prune";
    ProtocolAction["CoUpdate"] = "co-update";
    ProtocolAction["Create"] = "create";
    ProtocolAction["Delete"] = "delete";
    ProtocolAction["Prune"] = "prune";
    ProtocolAction["Read"] = "read";
    ProtocolAction["Squash"] = "squash";
    ProtocolAction["Update"] = "update";
})(ProtocolAction || (ProtocolAction = {}));
/**
 * Supported strategies for handling writes that would exceed a `$recordLimit`.
 */
export var ProtocolRecordLimitStrategy;
(function (ProtocolRecordLimitStrategy) {
    /** Reject the incoming write with an error. The author must delete old records first. */
    ProtocolRecordLimitStrategy["Reject"] = "reject";
    /** Automatically delete the oldest record(s) (by `dateCreated`) to make room for the new one. */
    ProtocolRecordLimitStrategy["PurgeOldest"] = "purgeOldest";
})(ProtocolRecordLimitStrategy || (ProtocolRecordLimitStrategy = {}));
//# sourceMappingURL=protocols-types.js.map