import type { LayoutNode } from '../../components/Workspace';

export const singleViewerLayout: LayoutNode = {
  type: 'panel',
  id: 'files-viewer',
  appType: null,
};

export const viewerWithEphemeralLayout: LayoutNode = {
  type: 'group',
  id: 'files-viewer-group',
  direction: 'vertical',
  children: [
    { node: { type: 'panel', id: 'files-viewer', appType: null }, size: 50 },
    { node: { type: 'panel', id: 'files-ephemeral', appType: null }, size: 50 },
  ],
};

export const singleChatLayout: LayoutNode = {
  type: 'panel',
  id: 'files-chat',
  appType: null,
};

export const viewerWithEphemeralSplitLayout: LayoutNode = {
  type: 'group',
  id: 'files-viewer-group',
  direction: 'vertical',
  children: [
    { node: { type: 'panel', id: 'files-viewer', appType: null }, size: 50 },
    {
      node: {
        type: 'group',
        id: 'files-ephemeral-group',
        direction: 'horizontal',
        children: [
          { node: { type: 'panel', id: 'files-ephemeral', appType: null }, size: 50 },
          { node: { type: 'panel', id: 'files-ephemeral2', appType: null }, size: 50 },
        ],
      },
      size: 50,
    },
  ],
};
