@easyedu/js-lsm-api 1.146.0 → 1.147.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/.openapi-generator/FILES +0 -10
- package/README.md +2 -11
- package/dist/apis/ContentLibraryApi.d.ts +0 -15
- package/dist/apis/ContentLibraryApi.js +0 -38
- package/dist/apis/PlayerApi.d.ts +0 -52
- package/dist/apis/PlayerApi.js +0 -131
- package/dist/esm/apis/ContentLibraryApi.d.ts +0 -15
- package/dist/esm/apis/ContentLibraryApi.js +0 -38
- package/dist/esm/apis/PlayerApi.d.ts +0 -52
- package/dist/esm/apis/PlayerApi.js +0 -131
- package/dist/esm/models/ResourceType.d.ts +0 -1
- package/dist/esm/models/ResourceType.js +1 -2
- package/dist/esm/models/index.d.ts +0 -5
- package/dist/esm/models/index.js +0 -5
- package/dist/models/ResourceType.d.ts +0 -1
- package/dist/models/ResourceType.js +1 -2
- package/dist/models/index.d.ts +0 -5
- package/dist/models/index.js +0 -5
- package/docs/ContentLibraryApi.md +3 -64
- package/docs/LRSApi.md +4 -4
- package/docs/PlayerApi.md +1 -213
- package/package.json +1 -1
- package/publish.log +2 -2
- package/src/apis/ContentLibraryApi.ts +0 -44
- package/src/apis/PlayerApi.ts +0 -185
- package/src/models/ResourceType.ts +1 -2
- package/src/models/index.ts +0 -5
- package/dist/esm/models/GetResourceTypeList.d.ts +0 -33
- package/dist/esm/models/GetResourceTypeList.js +0 -44
- package/dist/esm/models/H5pState.d.ts +0 -32
- package/dist/esm/models/H5pState.js +0 -43
- package/dist/esm/models/H5pStatementResult.d.ts +0 -44
- package/dist/esm/models/H5pStatementResult.js +0 -49
- package/dist/esm/models/PostH5pStatement.d.ts +0 -40
- package/dist/esm/models/PostH5pStatement.js +0 -47
- package/dist/esm/models/ResourceTypeAvailability.d.ts +0 -39
- package/dist/esm/models/ResourceTypeAvailability.js +0 -48
- package/dist/models/GetResourceTypeList.d.ts +0 -33
- package/dist/models/GetResourceTypeList.js +0 -51
- package/dist/models/H5pState.d.ts +0 -32
- package/dist/models/H5pState.js +0 -50
- package/dist/models/H5pStatementResult.d.ts +0 -44
- package/dist/models/H5pStatementResult.js +0 -56
- package/dist/models/PostH5pStatement.d.ts +0 -40
- package/dist/models/PostH5pStatement.js +0 -54
- package/dist/models/ResourceTypeAvailability.d.ts +0 -39
- package/dist/models/ResourceTypeAvailability.js +0 -55
- package/docs/GetResourceTypeList.md +0 -35
- package/docs/H5pState.md +0 -35
- package/docs/H5pStatementResult.md +0 -39
- package/docs/PostH5pStatement.md +0 -37
- package/docs/ResourceTypeAvailability.md +0 -37
- package/src/models/GetResourceTypeList.ts +0 -74
- package/src/models/H5pState.ts +0 -66
- package/src/models/H5pStatementResult.ts +0 -83
- package/src/models/PostH5pStatement.ts +0 -75
- package/src/models/ResourceTypeAvailability.ts +0 -85
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* LMS API
|
|
5
|
-
* LMS API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ResourceType } from './ResourceType';
|
|
17
|
-
import {
|
|
18
|
-
ResourceTypeFromJSON,
|
|
19
|
-
ResourceTypeFromJSONTyped,
|
|
20
|
-
ResourceTypeToJSON,
|
|
21
|
-
ResourceTypeToJSONTyped,
|
|
22
|
-
} from './ResourceType';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* One kind of resource and whether it can be used on this platform.
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ResourceTypeAvailability
|
|
28
|
-
*/
|
|
29
|
-
export interface ResourceTypeAvailability {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {ResourceType}
|
|
33
|
-
* @memberof ResourceTypeAvailability
|
|
34
|
-
*/
|
|
35
|
-
resourceType: ResourceType;
|
|
36
|
-
/**
|
|
37
|
-
* Whether new resources of this type can be created and played on this platform. A type that is not available stays listed and readable where it already exists, but cannot be created, uploaded to, or played.
|
|
38
|
-
* @type {boolean}
|
|
39
|
-
* @memberof ResourceTypeAvailability
|
|
40
|
-
*/
|
|
41
|
-
available: boolean;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Check if a given object implements the ResourceTypeAvailability interface.
|
|
48
|
-
*/
|
|
49
|
-
export function instanceOfResourceTypeAvailability(value: object): value is ResourceTypeAvailability {
|
|
50
|
-
if (!('resourceType' in value) || value['resourceType'] === undefined) return false;
|
|
51
|
-
if (!('available' in value) || value['available'] === undefined) return false;
|
|
52
|
-
return true;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export function ResourceTypeAvailabilityFromJSON(json: any): ResourceTypeAvailability {
|
|
56
|
-
return ResourceTypeAvailabilityFromJSONTyped(json, false);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function ResourceTypeAvailabilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResourceTypeAvailability {
|
|
60
|
-
if (json == null) {
|
|
61
|
-
return json;
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
64
|
-
|
|
65
|
-
'resourceType': ResourceTypeFromJSON(json['resource_type']),
|
|
66
|
-
'available': json['available'],
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function ResourceTypeAvailabilityToJSON(json: any): ResourceTypeAvailability {
|
|
71
|
-
return ResourceTypeAvailabilityToJSONTyped(json, false);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export function ResourceTypeAvailabilityToJSONTyped(value?: ResourceTypeAvailability | null, ignoreDiscriminator: boolean = false): any {
|
|
75
|
-
if (value == null) {
|
|
76
|
-
return value;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
return {
|
|
80
|
-
|
|
81
|
-
'resource_type': ResourceTypeToJSON(value['resourceType']),
|
|
82
|
-
'available': value['available'],
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
|