import type { LayoutNode } from 'officerdev';

export const defaultLayout: LayoutNode = {
  type: 'group',
  id: 'email-root',
  direction: 'horizontal',
  children: [
    { node: { type: 'panel', id: 'email-list', appType: null }, size: 25 },
    {
      node: {
        type: 'group',
        id: 'email-right',
        direction: 'vertical',
        children: [
          { node: { type: 'panel', id: 'email-reader', appType: null }, size: 60 },
          { node: { type: 'panel', id: 'email-chat', appType: 'officerdev/chat' }, size: 40 },
        ],
      },
      size: 75,
    },
  ],
};
