@easyedu/js-lsm-api 1.45.0 → 1.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @easyedu/js-lsm-api@1.
|
|
1
|
+
# @easyedu/js-lsm-api@1.46.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the sbzw93t49b.execute-api.us-east-2.amazonaws.com API.
|
|
4
4
|
|
|
@@ -417,7 +417,7 @@ and is automatically generated by the
|
|
|
417
417
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
418
418
|
|
|
419
419
|
- API version: `1.0.0`
|
|
420
|
-
- Package version: `1.
|
|
420
|
+
- Package version: `1.46.0`
|
|
421
421
|
- Generator version: `7.21.0`
|
|
422
422
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
423
423
|
|
|
@@ -19,8 +19,6 @@ export function instanceOfPostCourse(value) {
|
|
|
19
19
|
return false;
|
|
20
20
|
if (!('description' in value) || value['description'] === undefined)
|
|
21
21
|
return false;
|
|
22
|
-
if (!('instructor' in value) || value['instructor'] === undefined)
|
|
23
|
-
return false;
|
|
24
22
|
return true;
|
|
25
23
|
}
|
|
26
24
|
export function PostCourseFromJSON(json) {
|
|
@@ -33,7 +31,6 @@ export function PostCourseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
31
|
return {
|
|
34
32
|
'name': json['name'],
|
|
35
33
|
'description': json['description'],
|
|
36
|
-
'instructor': json['instructor'],
|
|
37
34
|
};
|
|
38
35
|
}
|
|
39
36
|
export function PostCourseToJSON(json) {
|
|
@@ -46,6 +43,5 @@ export function PostCourseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
46
43
|
return {
|
|
47
44
|
'name': value['name'],
|
|
48
45
|
'description': value['description'],
|
|
49
|
-
'instructor': value['instructor'],
|
|
50
46
|
};
|
|
51
47
|
}
|
|
@@ -26,8 +26,6 @@ function instanceOfPostCourse(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('description' in value) || value['description'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
-
if (!('instructor' in value) || value['instructor'] === undefined)
|
|
30
|
-
return false;
|
|
31
29
|
return true;
|
|
32
30
|
}
|
|
33
31
|
function PostCourseFromJSON(json) {
|
|
@@ -40,7 +38,6 @@ function PostCourseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
38
|
return {
|
|
41
39
|
'name': json['name'],
|
|
42
40
|
'description': json['description'],
|
|
43
|
-
'instructor': json['instructor'],
|
|
44
41
|
};
|
|
45
42
|
}
|
|
46
43
|
function PostCourseToJSON(json) {
|
|
@@ -53,6 +50,5 @@ function PostCourseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
53
50
|
return {
|
|
54
51
|
'name': value['name'],
|
|
55
52
|
'description': value['description'],
|
|
56
|
-
'instructor': value['instructor'],
|
|
57
53
|
};
|
|
58
54
|
}
|
package/docs/PostCourse.md
CHANGED
|
@@ -8,7 +8,6 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`name` | string
|
|
10
10
|
`description` | string
|
|
11
|
-
`instructor` | string
|
|
12
11
|
|
|
13
12
|
## Example
|
|
14
13
|
|
|
@@ -19,7 +18,6 @@ import type { PostCourse } from '@easyedu/js-lsm-api'
|
|
|
19
18
|
const example = {
|
|
20
19
|
"name": null,
|
|
21
20
|
"description": null,
|
|
22
|
-
"instructor": null,
|
|
23
21
|
} satisfies PostCourse
|
|
24
22
|
|
|
25
23
|
console.log(example)
|
package/package.json
CHANGED
package/src/models/PostCourse.ts
CHANGED
|
@@ -31,12 +31,6 @@ export interface PostCourse {
|
|
|
31
31
|
* @memberof PostCourse
|
|
32
32
|
*/
|
|
33
33
|
description: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof PostCourse
|
|
38
|
-
*/
|
|
39
|
-
instructor: string;
|
|
40
34
|
}
|
|
41
35
|
|
|
42
36
|
/**
|
|
@@ -45,7 +39,6 @@ export interface PostCourse {
|
|
|
45
39
|
export function instanceOfPostCourse(value: object): value is PostCourse {
|
|
46
40
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
47
41
|
if (!('description' in value) || value['description'] === undefined) return false;
|
|
48
|
-
if (!('instructor' in value) || value['instructor'] === undefined) return false;
|
|
49
42
|
return true;
|
|
50
43
|
}
|
|
51
44
|
|
|
@@ -61,7 +54,6 @@ export function PostCourseFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
61
54
|
|
|
62
55
|
'name': json['name'],
|
|
63
56
|
'description': json['description'],
|
|
64
|
-
'instructor': json['instructor'],
|
|
65
57
|
};
|
|
66
58
|
}
|
|
67
59
|
|
|
@@ -78,7 +70,6 @@ export function PostCourseToJSONTyped(value?: PostCourse | null, ignoreDiscrimin
|
|
|
78
70
|
|
|
79
71
|
'name': value['name'],
|
|
80
72
|
'description': value['description'],
|
|
81
|
-
'instructor': value['instructor'],
|
|
82
73
|
};
|
|
83
74
|
}
|
|
84
75
|
|