@irohalab/mira-sdk-angular 0.1.0 → 0.2.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/api/default.service.d.ts +32 -12
- package/api/default.serviceInterface.d.ts +12 -7
- package/esm2022/api/default.service.mjs +57 -11
- package/esm2022/api/default.serviceInterface.mjs +1 -1
- package/esm2022/model/{getMainItemListResponse.mjs → getMainItemByIdResponse.mjs} +1 -1
- package/esm2022/model/getOnAirItemListResponse.mjs +2 -0
- package/esm2022/model/imageInfo.mjs +1 -1
- package/esm2022/model/itemSubType.mjs +56 -0
- package/esm2022/model/itemType.mjs +25 -0
- package/esm2022/model/mainItem.mjs +1 -60
- package/esm2022/model/models.mjs +6 -2
- package/esm2022/model/onAirItem.mjs +2 -0
- package/fesm2022/irohalab-mira-sdk-angular.mjs +138 -70
- package/fesm2022/irohalab-mira-sdk-angular.mjs.map +1 -1
- package/model/{getMainItemListResponse.d.ts → getMainItemByIdResponse.d.ts} +2 -6
- package/model/getOnAirItemListResponse.d.ts +25 -0
- package/model/imageInfo.d.ts +0 -2
- package/model/itemSubType.d.ts +56 -0
- package/model/itemType.d.ts +25 -0
- package/model/mainItem.d.ts +4 -63
- package/model/models.d.ts +5 -1
- package/model/onAirItem.d.ts +28 -0
- package/package.json +1 -1
package/model/mainItem.d.ts
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
* https://openapi-generator.tech
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
|
+
import { ItemSubType } from './itemSubType';
|
|
12
|
+
import { ItemType } from './itemType';
|
|
11
13
|
import { SubItem } from './subItem';
|
|
12
14
|
import { PropertyValue } from './propertyValue';
|
|
13
15
|
import { ImageInfo } from './imageInfo';
|
|
@@ -39,8 +41,8 @@ export interface MainItem {
|
|
|
39
41
|
};
|
|
40
42
|
isCoverImageLocked: boolean;
|
|
41
43
|
mainType: MainItem.MainTypeEnum;
|
|
42
|
-
type:
|
|
43
|
-
subType?:
|
|
44
|
+
type: ItemType;
|
|
45
|
+
subType?: ItemSubType;
|
|
44
46
|
/**
|
|
45
47
|
* determine if the MainItem is collection item
|
|
46
48
|
*/
|
|
@@ -55,65 +57,4 @@ export declare namespace MainItem {
|
|
|
55
57
|
Person: MainTypeEnum;
|
|
56
58
|
Character: MainTypeEnum;
|
|
57
59
|
};
|
|
58
|
-
type TypeEnum = 'anime' | 'game' | 'music' | 'book' | 'individual' | 'character' | 'real' | 'association' | 'corporation' | 'organization' | 'ship' | 'mechanic';
|
|
59
|
-
const TypeEnum: {
|
|
60
|
-
Anime: TypeEnum;
|
|
61
|
-
Game: TypeEnum;
|
|
62
|
-
Music: TypeEnum;
|
|
63
|
-
Book: TypeEnum;
|
|
64
|
-
Individual: TypeEnum;
|
|
65
|
-
Character: TypeEnum;
|
|
66
|
-
RealWorld: TypeEnum;
|
|
67
|
-
Association: TypeEnum;
|
|
68
|
-
Corporation: TypeEnum;
|
|
69
|
-
Organization: TypeEnum;
|
|
70
|
-
Ship: TypeEnum;
|
|
71
|
-
Mechanic: TypeEnum;
|
|
72
|
-
};
|
|
73
|
-
type SubTypeEnum = 'other' | 'TV' | 'web' | 'OVA' | 'movie' | 'Novel' | 'Comic' | 'Illustration' | 'jp' | 'en' | 'cn' | 'PC' | 'NDS' | 'PSP' | 'PS2' | 'PS3' | 'Xbox360' | 'Mac OS' | 'PS5' | 'Xbox Series X/S' | 'PS4' | 'Xbox One' | 'Nintendo Switch' | 'Wii U' | 'Wii' | 'PS Vita' | '3DS' | 'iOS' | 'Android' | 'ARC' | 'XBOX' | 'GameCube' | 'Dreamcast' | 'Nitendo 64' | 'PlayStation' | 'SFC' | 'FC' | 'NEOGEO Pocket Color' | 'GBA' | 'GB' | 'Virtual Boy' | 'WonderSwan Color' | 'WonderSwan';
|
|
74
|
-
const SubTypeEnum: {
|
|
75
|
-
Other: SubTypeEnum;
|
|
76
|
-
TV: SubTypeEnum;
|
|
77
|
-
Web: SubTypeEnum;
|
|
78
|
-
OVA: SubTypeEnum;
|
|
79
|
-
Movie: SubTypeEnum;
|
|
80
|
-
Novel: SubTypeEnum;
|
|
81
|
-
Comic: SubTypeEnum;
|
|
82
|
-
Illustration: SubTypeEnum;
|
|
83
|
-
DramaJp: SubTypeEnum;
|
|
84
|
-
DramaEn: SubTypeEnum;
|
|
85
|
-
DramaCn: SubTypeEnum;
|
|
86
|
-
PC: SubTypeEnum;
|
|
87
|
-
NDS: SubTypeEnum;
|
|
88
|
-
PSP: SubTypeEnum;
|
|
89
|
-
PS2: SubTypeEnum;
|
|
90
|
-
PS3: SubTypeEnum;
|
|
91
|
-
Xbox360: SubTypeEnum;
|
|
92
|
-
Mac: SubTypeEnum;
|
|
93
|
-
PS5: SubTypeEnum;
|
|
94
|
-
XboxSeriesXS: SubTypeEnum;
|
|
95
|
-
PS4: SubTypeEnum;
|
|
96
|
-
XboxOne: SubTypeEnum;
|
|
97
|
-
NintendoSwitch: SubTypeEnum;
|
|
98
|
-
WiiU: SubTypeEnum;
|
|
99
|
-
Wii: SubTypeEnum;
|
|
100
|
-
PSVita: SubTypeEnum;
|
|
101
|
-
N3DS: SubTypeEnum;
|
|
102
|
-
IOS: SubTypeEnum;
|
|
103
|
-
Android: SubTypeEnum;
|
|
104
|
-
ARC: SubTypeEnum;
|
|
105
|
-
XBOX: SubTypeEnum;
|
|
106
|
-
GameCube: SubTypeEnum;
|
|
107
|
-
Dreamcast: SubTypeEnum;
|
|
108
|
-
Nintendo64: SubTypeEnum;
|
|
109
|
-
PlayStation: SubTypeEnum;
|
|
110
|
-
SFC: SubTypeEnum;
|
|
111
|
-
FC: SubTypeEnum;
|
|
112
|
-
NEOGEOPocketColor: SubTypeEnum;
|
|
113
|
-
GBA: SubTypeEnum;
|
|
114
|
-
GB: SubTypeEnum;
|
|
115
|
-
VirtualBoy: SubTypeEnum;
|
|
116
|
-
WonderSwanColor: SubTypeEnum;
|
|
117
|
-
WonderSwan: SubTypeEnum;
|
|
118
|
-
};
|
|
119
60
|
}
|
package/model/models.d.ts
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
export * from './entityBase';
|
|
2
|
-
export * from './
|
|
2
|
+
export * from './getMainItemByIdResponse';
|
|
3
|
+
export * from './getOnAirItemListResponse';
|
|
3
4
|
export * from './imageInfo';
|
|
4
5
|
export * from './itemEntity';
|
|
6
|
+
export * from './itemSubType';
|
|
7
|
+
export * from './itemType';
|
|
5
8
|
export * from './mainItem';
|
|
9
|
+
export * from './onAirItem';
|
|
6
10
|
export * from './propertyValue';
|
|
7
11
|
export * from './propertyValueValue';
|
|
8
12
|
export * from './subItem';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mira Item API
|
|
3
|
+
* Item API for Project-Mira
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
import { ItemSubType } from './itemSubType';
|
|
12
|
+
import { ItemType } from './itemType';
|
|
13
|
+
import { ImageInfo } from './imageInfo';
|
|
14
|
+
export interface OnAirItem {
|
|
15
|
+
id: number;
|
|
16
|
+
bgmId: number;
|
|
17
|
+
/**
|
|
18
|
+
* RFC3339 Datetime
|
|
19
|
+
*/
|
|
20
|
+
publicTime?: string;
|
|
21
|
+
type: ItemType;
|
|
22
|
+
subType?: ItemSubType;
|
|
23
|
+
name?: string;
|
|
24
|
+
name_cn?: string;
|
|
25
|
+
coverImage?: ImageInfo;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace OnAirItem {
|
|
28
|
+
}
|