"use strict";
/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.FormatV2 = exports.StableOrFinalRevisionTag = void 0;
const typebox_1 = require("@sinclair/typebox");
const index_js_1 = require("../../util/index.js");
const index_js_2 = require("../rebase/index.js");
const detachedFieldIndexFormatCommon_js_1 = require("./detachedFieldIndexFormatCommon.js");
exports.StableOrFinalRevisionTag = typebox_1.Type.Union([index_js_2.RevisionTagSchema, index_js_2.StableIdSchema]);
exports.FormatV2 = (0, detachedFieldIndexFormatCommon_js_1.Format)((0, index_js_1.brand)(detachedFieldIndexFormatCommon_js_1.DetachedFieldIndexFormatVersion.v2), exports.StableOrFinalRevisionTag);
//# sourceMappingURL=detachedFieldIndexFormatV2.js.map