import { Meta, StoryObj } from '@storybook/nextjs-vite'
import { MassTable } from './MassTable'

const meta: Meta<typeof MassTable> = {
  component: MassTable,
}

export default meta
type Story = StoryObj<typeof meta>

export const Default: Story = {
  args: {
    location: 'St. Clara',
    masses: [
      {
        id: '1',
        date: '2024-08-21T15:00:00.000Z',
        location: 'St. Christopherus',
        type: 'MASS',
        cancelled: false,
        updatedAt: '',
        createdAt: '',
      },
      {
        id: '1',
        date: '2024-08-23T18:00:00.000Z',
        location: 'St. Christopherus',
        type: 'MASS',
        cancelled: false,
        updatedAt: '',
        createdAt: '',
      },
      {
        id: '1',
        date: '2024-08-24T09:00:00.000Z',
        location: 'St. Christopherus',
        type: 'WORD',
        cancelled: false,
        updatedAt: '',
        createdAt: '',
      },
      {
        id: '1',
        date: '2024-08-25T11:00:00.000Z',
        location: 'St. Christopherus',
        type: 'LANGUAGE',
        cancelled: false,
        updatedAt: '',
        createdAt: '',
      },
      {
        id: '1',
        date: '2024-08-25T19:00:00.000Z',
        location: 'St. Christopherus',
        type: 'OTHER',
        cancelled: false,
        updatedAt: '',
        createdAt: '',
      },
      {
        id: '1',
        date: '2024-08-26T15:00:00.000Z',
        location: 'St. Christopherus',
        type: 'MASS',
        cancelled: true,
        updatedAt: '',
        createdAt: '',
      },
    ],
  },
}
