Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/masreplay/pure-timetable
https://github.com/masreplay/pure-timetable
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/masreplay/pure-timetable
- Owner: masreplay
- License: mit
- Created: 2022-04-22T19:11:14.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-04-26T12:09:26.000Z (over 2 years ago)
- Last Synced: 2023-11-24T05:41:18.647Z (12 months ago)
- Language: Vue
- Size: 368 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Security: SECURITY.md
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)