"use strict";
/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Message = void 0;
const typebox_1 = require("@sinclair/typebox");
const index_js_1 = require("../core/index.js");
// Return type is intentionally derived.
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
const Message = (tChange) => typebox_1.Type.Object({
    revision: index_js_1.RevisionTagSchema,
    originatorId: index_js_1.SessionIdSchema,
    changeset: tChange,
    version: typebox_1.Type.Optional(typebox_1.Type.Number()),
});
exports.Message = Message;
//# sourceMappingURL=messageFormat.js.map