/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
import { brand, makeArray } from "../util";
import { singleTextCursor } from "./treeTextCursor";
const DUMMY_REVIVED_NODE_TYPE = brand("DummyRevivedNode");
const DUMMY_REVIVED_VALUE = brand("DummyRevivedValue");
/**
 * A `RepairDataStore` implementation that returns dummy content.
 */
export const dummyRepairDataStore = {
    capture: () => { },
    getNodes: (revision, path, field, index, count) => makeArray(count, () => singleTextCursor({ type: DUMMY_REVIVED_NODE_TYPE })),
    getValue: (revision, path) => {
        return DUMMY_REVIVED_VALUE;
    },
};
//# sourceMappingURL=fakeRepairDataStore.js.map