Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/masreplay/pure-timetable


https://github.com/masreplay/pure-timetable

Last synced: 21 days ago
JSON representation

Awesome Lists containing this project

README

        

# Vue and nuxt pure and simple timetable

## Perfect structure for timetable with ts types

## TODO

- [x] bidirectional
- [x] i18n by item
- [x] dark theme support

### Github

### [https://github.com/masreplay/pure-timetable](https://github.com/masreplay/pure-timetable)

### npm

### [https://www.npmjs.com/package/pure-timetable](https://www.npmjs.com/package/pure-timetable)

### USE

[type: ScheduleDetails](https://github.com/masreplay/pure-timetable/blob/master/src/types/ScheduleDetails.ts)

```ts

import Timetable from "pure-timetable";

// https://github.com/masreplay/pure-timetable/blob/master/src/types/ScheduleDetails.ts
const timetable: ScheduleDetails = {
item: {
id: "",
name: "",
type: ScheduleType.STAGES
},
cards: [
{
period_id: "",
day_id: "",
lesson_id: "",
}
],
days: [
{
name: "sunday",
id: "",
}
],
periods: [
{
start_time: "",
end_time: "",
id: "",
name: "",
}
]
};

```

## images

**DARK**
![DARK](readme/pure-timetable-dark.png)

**LIGHT**
![LIGHT](readme/pure-timetable-light.png)