export var DRAFT_PREFIX = 'DRAFT';
export var DRAFT_QUERY_PARAM = 'draft';
var Draft = /** @class */ (function () {
    function Draft() {
    }
    Draft.stripDraftId = function (draftId) {
        return draftId.slice(DRAFT_PREFIX.length);
    };
    Draft.isDraft = function (id) {
        return String(id).startsWith(DRAFT_PREFIX);
    };
    return Draft;
}());
export { Draft };
//# sourceMappingURL=draft.model.js.map