/*!
 * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
 */
import { Camera } from "@vertexvis/scene-tree-protos/core/protos/camera_pb";
import { ModelView } from "@vertexvis/scene-view-protos/core/protos/model_views_pb";
import { ListItemModelViewsResponse } from "@vertexvis/scene-view-protos/sceneview/protos/scene_view_api_pb";
import { UUID } from "@vertexvis/utils";
import { random } from "./random";
import { makeUuid2l } from "./uuid";
export function makeListItemModelViewsResponse(modelViews = [makeModelView(), makeModelView()]) {
    const res = new ListItemModelViewsResponse();
    res.setModelViewsList(modelViews);
    return res;
}
export function makeModelView(id = UUID.create(), partRevisionId = UUID.create(), displayName = random.string()) {
    const modelView = new ModelView();
    modelView.setId(makeUuid2l(id));
    modelView.setPartRevisionId(makeUuid2l(partRevisionId));
    modelView.setDisplayName(displayName);
    modelView.setCamera(new Camera());
    return modelView;
}
//# sourceMappingURL=modelViews.js.map
