import type { Layer } from '../App.types.ts'; import { getLayers } from '../state.ts'; export function getNewLayer(): Layer { return { id: crypto.randomUUID(), isLocked: false, isVisible: true, name: `새 도면층 ${getLayers().length}${1}`, }; }