Skip to content

Releases: OneLiL05/nurekit

v0.5.3

10 Oct 19:22
Compare
Choose a tag to compare

Description:

  • Change api base url to the new one.

v0.5.0

22 Jul 17:17
Compare
Choose a tag to compare
feat: 0.5.0 release

0.4.3

28 Nov 09:44
Compare
Choose a tag to compare
release: 0.4.3

0.4.2

26 Nov 18:28
Compare
Choose a tag to compare
release: 0.4.2

0.2.3

02 Oct 15:40
6dbdaab
Compare
Choose a tag to compare

Added little fixes

0.2.2

13 Sep 20:17
ec01f64
Compare
Choose a tag to compare

Fixes:

  • Fix bug in findOne method at TeacherModule class;
  • Corrected mistakes in README.md file.

0.2.1

13 Sep 16:10
20173b8
Compare
Choose a tag to compare

Features:

  • Added functionality for getting schedule for teacher and auditorium;
// Get teacher's schedule
const teacherSchedule = await nurekit.teachers.getSchedule({
  auditoriumName: "Боцюра О. А.",
  startTime: "2023-09-11",
  endTime: "2023-09-15",
});

// Get auditorium's schedule
const schedule = await nurekit.auditoriums.getSchedule({
  auditoriumName: "287",
  startTime: "2023-09-11",
  endTime: "2023-09-15",
});

0.2.0

05 Sep 12:43
129641d
Compare
Choose a tag to compare

New features

Simplified work with dates in getSchedule method

From now, instead of providing timestamp to startTime and endTime parameters, you can use string. For example:

/// Before
const schedule = await nurekit.groups.getSchedule({
  groupName: "пзпі-23-5",
  startTime: 1693170000,
  endTime: 1694811599,
});

// After
const schedule = await nurekit.groups.getSchedule({
  groupName: "пзпі-23-5",
  startTime: "2023-09-11",
  endTime: "2023-09-15",
});

Added JSDoc

From now, you don't more need to always check documentation to know how one or another method works, thanks to JSDoc you will get tips and short doc about every method right from your code editor

Fixes

Simplified findOne method

Thanks to the @bluin4308's suggestion, you don't more need to provide object with name or shortName fields to findOne method parameters, just use string. For example:

// Before
const auditorium = await nurekit.auditoriums.findOne({ name: "285" })


// After
const auditorium = await nurekit.auditoriums.findOne("285")

0.1.10

04 Sep 20:48
7ad4fce
Compare
Choose a tag to compare
0.1.10 Pre-release
Pre-release
Merge pull request #4 from OneLiL05/feature

0.1.10 version release

0.1.9

04 Sep 14:49
Compare
Choose a tag to compare
0.1.9 Pre-release
Pre-release
0.1.9