"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 = exports.version2 = void 0;
const typebox_1 = require("@sinclair/typebox");
const detachedFieldIndexFormatCommon_js_1 = require("./detachedFieldIndexFormatCommon.js");
const index_js_1 = require("../rebase/index.js");
exports.version2 = 2.0;
exports.StableOrFinalRevisionTag = typebox_1.Type.Union([index_js_1.RevisionTagSchema, index_js_1.StableIdSchema]);
exports.FormatV2 = (0, detachedFieldIndexFormatCommon_js_1.Format)(exports.version2, exports.StableOrFinalRevisionTag);
//# sourceMappingURL=detachedFieldIndexFormatV2.js.map