mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 19:59:37 +00:00
fix: types
This commit is contained in:
parent
572a574d00
commit
ea72bb0afe
4 changed files with 5 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "classcharts-api",
|
"name": "classcharts-api",
|
||||||
"version": "0.0.5",
|
"version": "0.0.6",
|
||||||
"description": "",
|
"description": "",
|
||||||
"repository": {
|
"repository": {
|
||||||
"url": "https://github.com/jamesatjaminit/classcharts-api"
|
"url": "https://github.com/jamesatjaminit/classcharts-api"
|
||||||
|
|
@ -17,7 +17,8 @@
|
||||||
"undici": "^4.9.2"
|
"undici": "^4.9.2"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist/**"
|
"dist/**",
|
||||||
|
"types.d.ts"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^16.11.6",
|
"@types/node": "^16.11.6",
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ import {
|
||||||
HomeworksResponse,
|
HomeworksResponse,
|
||||||
LessonsResponse,
|
LessonsResponse,
|
||||||
Student,
|
Student,
|
||||||
} from './types'
|
} from '../types'
|
||||||
export async function getStudentInfo(
|
export async function getStudentInfo(
|
||||||
studentCode: string,
|
studentCode: string,
|
||||||
dateOfBirth?: string
|
dateOfBirth?: string
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ import {
|
||||||
HomeworksResponse,
|
HomeworksResponse,
|
||||||
LessonsResponse,
|
LessonsResponse,
|
||||||
Student,
|
Student,
|
||||||
} from './types'
|
} from '../types'
|
||||||
import { API_BASE, BASE_URL } from './consts'
|
import { API_BASE, BASE_URL } from './consts'
|
||||||
/**
|
/**
|
||||||
* The base client
|
* The base client
|
||||||
|
|
|
||||||
0
src/types.d.ts → types.d.ts
vendored
0
src/types.d.ts → types.d.ts
vendored
Loading…
Add table
Add a link
Reference in a new issue