"use strict";
/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.EncodedEditManager = void 0;
const typebox_1 = require("@sinclair/typebox");
const index_js_1 = require("../core/index.js");
const editManagerFormatCommons_js_1 = require("./editManagerFormatCommons.js");
const noAdditionalProps = { additionalProperties: false };
const EncodedEditManager = (tChange) => typebox_1.Type.Object({
    version: typebox_1.Type.Literal(editManagerFormatCommons_js_1.EditManagerFormatVersion.vSharedBranches),
    originator: index_js_1.SessionIdSchema,
    main: (0, editManagerFormatCommons_js_1.EncodedSharedBranch)(tChange),
    branches: typebox_1.Type.Optional(typebox_1.Type.Array((0, editManagerFormatCommons_js_1.EncodedSharedBranch)(tChange))),
}, noAdditionalProps);
exports.EncodedEditManager = EncodedEditManager;
/* eslint-enable @typescript-eslint/explicit-function-return-type */
//# sourceMappingURL=editManagerFormatVSharedBranches.js.map