export default {
  sites: {
    add: () => ({
      name: 'ToolsDashboard'
    }),
    delete: () => ({
      name: 'ToolsDashboard'
    })
  },
  clients: {
    add: () => ({
      name: 'ToolsDashboard'
    }),
    delete: () => ({
      name: 'ToolsDashboard'
    })
  },
  sharedDocuments: {
    add: ({ fields }) => ({
      name: 'SharedDocuments',
      query: { folder: fields.shared_folders[0] }
    })
  },
  sharedFolders: {
    add: () => ({
      name: 'SharedDocuments'
    }),
    delete: () => ({
      name: 'SharedDocuments'
    })
  },
  spaceDocuments: {
    add: ({ fields }) => ({
      name: 'MySpace',
      query: { folder: fields.space_folders[0] }
    })
  },
  spaceFolders: {
    add: () => ({
      name: 'MySpace'
    }),
    delete: () => ({
      name: 'MySpace'
    })
  }
}
