@irohalab/mira-sdk-angular 0.4.0 → 0.6.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 +22 -0
- package/api/default.serviceInterface.d.ts +7 -0
- package/esm2022/api/default.service.mjs +48 -1
- package/esm2022/api/default.serviceInterface.mjs +1 -1
- package/esm2022/model/createSubItemFavoriteRequestBody.mjs +1 -1
- package/esm2022/model/favorite.mjs +1 -1
- package/esm2022/model/getFavoriteByMainItemIdResponse.mjs +2 -0
- package/esm2022/model/itemEntity.mjs +1 -1
- package/esm2022/model/itemEntityPropertiesValue.mjs +12 -0
- package/esm2022/model/mainItem.mjs +1 -1
- package/esm2022/model/models.mjs +3 -4
- package/esm2022/model/subItem.mjs +1 -1
- package/esm2022/model/subItemFavorite.mjs +1 -1
- package/fesm2022/irohalab-mira-sdk-angular.mjs +55 -30
- package/fesm2022/irohalab-mira-sdk-angular.mjs.map +1 -1
- package/model/createSubItemFavoriteRequestBody.d.ts +1 -1
- package/model/favorite.d.ts +0 -10
- package/model/{entityBase.d.ts → getFavoriteByMainItemIdResponse.d.ts} +5 -10
- package/model/itemEntity.d.ts +4 -19
- package/model/{propertyValueValue.d.ts → itemEntityPropertiesValue.d.ts} +2 -2
- package/model/mainItem.d.ts +6 -19
- package/model/models.d.ts +2 -3
- package/model/subItem.d.ts +8 -19
- package/model/subItemFavorite.d.ts +0 -10
- package/package.json +1 -1
- package/esm2022/model/entityBase.mjs +0 -12
- package/esm2022/model/propertyValue.mjs +0 -11
- package/esm2022/model/propertyValueValue.mjs +0 -12
- package/model/propertyValue.d.ts +0 -26
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
/**
|
|
12
|
-
* @type
|
|
12
|
+
* @type ItemEntityPropertiesValue
|
|
13
13
|
* @export
|
|
14
14
|
*/
|
|
15
|
-
export type
|
|
15
|
+
export type ItemEntityPropertiesValue = Array<string> | Array<{
|
|
16
16
|
[key: string]: string;
|
|
17
17
|
}> | string;
|
package/model/mainItem.d.ts
CHANGED
|
@@ -9,37 +9,22 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import { ItemSubType } from './itemSubType';
|
|
12
|
+
import { ItemEntityPropertiesValue } from './itemEntityPropertiesValue';
|
|
12
13
|
import { ItemType } from './itemType';
|
|
13
14
|
import { SubItem } from './subItem';
|
|
14
|
-
import { PropertyValue } from './propertyValue';
|
|
15
15
|
import { ImageInfo } from './imageInfo';
|
|
16
16
|
export interface MainItem {
|
|
17
17
|
id: string;
|
|
18
|
-
/**
|
|
19
|
-
* RFC3339 Datetime
|
|
20
|
-
*/
|
|
21
|
-
createdTime: string;
|
|
22
|
-
/**
|
|
23
|
-
* RFC3339 Datetime to set the updateTime
|
|
24
|
-
*/
|
|
25
|
-
updateTime?: string;
|
|
26
|
-
version: number;
|
|
27
|
-
deleted: boolean;
|
|
28
18
|
bgmId: number;
|
|
29
|
-
isBgmHide: boolean;
|
|
30
|
-
lockedInBgm: boolean;
|
|
31
19
|
/**
|
|
32
20
|
* Not used for ItemType.Individual and ItemType.Character
|
|
33
21
|
*/
|
|
34
22
|
publicTime?: string;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
*/
|
|
38
|
-
isPublicTimeLocked: boolean;
|
|
23
|
+
name?: string;
|
|
24
|
+
name_cn?: string;
|
|
39
25
|
properties: {
|
|
40
|
-
[key: string]:
|
|
26
|
+
[key: string]: ItemEntityPropertiesValue;
|
|
41
27
|
};
|
|
42
|
-
isCoverImageLocked: boolean;
|
|
43
28
|
mainType: MainItem.MainTypeEnum;
|
|
44
29
|
type: ItemType;
|
|
45
30
|
subType?: ItemSubType;
|
|
@@ -48,7 +33,9 @@ export interface MainItem {
|
|
|
48
33
|
*/
|
|
49
34
|
isCollection: boolean;
|
|
50
35
|
coverImage?: ImageInfo;
|
|
36
|
+
squareImage?: ImageInfo;
|
|
51
37
|
subItem?: Array<SubItem>;
|
|
38
|
+
summary?: string;
|
|
52
39
|
}
|
|
53
40
|
export declare namespace MainItem {
|
|
54
41
|
type MainTypeEnum = 0 | 1 | 2;
|
package/model/models.d.ts
CHANGED
|
@@ -2,14 +2,15 @@ export * from './createFavoriteRequestBody';
|
|
|
2
2
|
export * from './createFavoriteResponse';
|
|
3
3
|
export * from './createSubItemFavoriteRequestBody';
|
|
4
4
|
export * from './createSubItemFavoriteResponse';
|
|
5
|
-
export * from './entityBase';
|
|
6
5
|
export * from './favorite';
|
|
7
6
|
export * from './favoriteStatus';
|
|
7
|
+
export * from './getFavoriteByMainItemIdResponse';
|
|
8
8
|
export * from './getMainItemByIdResponse';
|
|
9
9
|
export * from './getOnAirItemListResponse';
|
|
10
10
|
export * from './getSubItemResponse';
|
|
11
11
|
export * from './imageInfo';
|
|
12
12
|
export * from './itemEntity';
|
|
13
|
+
export * from './itemEntityPropertiesValue';
|
|
13
14
|
export * from './itemSubType';
|
|
14
15
|
export * from './itemType';
|
|
15
16
|
export * from './listFavoritesResponse';
|
|
@@ -18,7 +19,5 @@ export * from './listSubItemFavoriteResponse';
|
|
|
18
19
|
export * from './mainItem';
|
|
19
20
|
export * from './onAirItem';
|
|
20
21
|
export * from './patchFavoriteBody';
|
|
21
|
-
export * from './propertyValue';
|
|
22
|
-
export * from './propertyValueValue';
|
|
23
22
|
export * from './subItem';
|
|
24
23
|
export * from './subItemFavorite';
|
package/model/subItem.d.ts
CHANGED
|
@@ -8,39 +8,28 @@
|
|
|
8
8
|
* https://openapi-generator.tech
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
|
-
import {
|
|
11
|
+
import { ItemEntityPropertiesValue } from './itemEntityPropertiesValue';
|
|
12
|
+
import { MainItem } from './mainItem';
|
|
12
13
|
export interface SubItem {
|
|
13
14
|
id: string;
|
|
14
|
-
/**
|
|
15
|
-
* RFC3339 Datetime
|
|
16
|
-
*/
|
|
17
|
-
createdTime: string;
|
|
18
|
-
/**
|
|
19
|
-
* RFC3339 Datetime to set the updateTime
|
|
20
|
-
*/
|
|
21
|
-
updateTime?: string;
|
|
22
|
-
version: number;
|
|
23
|
-
deleted: boolean;
|
|
24
15
|
bgmId: number;
|
|
25
|
-
isBgmHide: boolean;
|
|
26
|
-
lockedInBgm: boolean;
|
|
27
16
|
/**
|
|
28
17
|
* Not used for ItemType.Individual and ItemType.Character
|
|
29
18
|
*/
|
|
30
19
|
publicTime?: string;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
*/
|
|
34
|
-
isPublicTimeLocked: boolean;
|
|
20
|
+
name?: string;
|
|
21
|
+
name_cn?: string;
|
|
35
22
|
properties: {
|
|
36
|
-
[key: string]:
|
|
23
|
+
[key: string]: ItemEntityPropertiesValue;
|
|
37
24
|
};
|
|
38
|
-
isCoverImageLocked: boolean;
|
|
39
25
|
type: SubItem.TypeEnum;
|
|
40
26
|
episodeType: SubItem.EpisodeTypeEnum | null;
|
|
41
27
|
ep?: number | null;
|
|
42
28
|
disc?: number | null;
|
|
29
|
+
desc?: string;
|
|
43
30
|
sort: number;
|
|
31
|
+
mainItemId: string;
|
|
32
|
+
mainItem?: MainItem;
|
|
44
33
|
}
|
|
45
34
|
export declare namespace SubItem {
|
|
46
35
|
type TypeEnum = 0 | 1;
|
|
@@ -11,16 +11,6 @@
|
|
|
11
11
|
import { SubItem } from './subItem';
|
|
12
12
|
export interface SubItemFavorite {
|
|
13
13
|
id: string;
|
|
14
|
-
/**
|
|
15
|
-
* RFC3339 Datetime
|
|
16
|
-
*/
|
|
17
|
-
createdTime: string;
|
|
18
|
-
/**
|
|
19
|
-
* RFC3339 Datetime to set the updateTime
|
|
20
|
-
*/
|
|
21
|
-
updateTime?: string;
|
|
22
|
-
version: number;
|
|
23
|
-
deleted: boolean;
|
|
24
14
|
subItem: SubItem;
|
|
25
15
|
userId: string;
|
|
26
16
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mira API
|
|
3
|
-
* 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
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50aXR5QmFzZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL21pcmEtc2RrLWFuZ3VsYXIvc3JjL21vZGVsL2VudGl0eUJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7OztHQVNHIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBtaXJhIEFQSVxuICogQVBJIGZvciBQcm9qZWN0LU1pcmFcbiAqXG4gKiBcbiAqXG4gKiBOT1RFOiBUaGlzIGNsYXNzIGlzIGF1dG8gZ2VuZXJhdGVkIGJ5IE9wZW5BUEkgR2VuZXJhdG9yIChodHRwczovL29wZW5hcGktZ2VuZXJhdG9yLnRlY2gpLlxuICogaHR0cHM6Ly9vcGVuYXBpLWdlbmVyYXRvci50ZWNoXG4gKiBEbyBub3QgZWRpdCB0aGUgY2xhc3MgbWFudWFsbHkuXG4gKi9cblxuXG5leHBvcnQgaW50ZXJmYWNlIEVudGl0eUJhc2UgeyBcbiAgICBpZDogc3RyaW5nO1xuICAgIC8qKlxuICAgICAqIFJGQzMzMzkgRGF0ZXRpbWVcbiAgICAgKi9cbiAgICBjcmVhdGVkVGltZTogc3RyaW5nO1xuICAgIC8qKlxuICAgICAqIFJGQzMzMzkgRGF0ZXRpbWUgdG8gc2V0IHRoZSB1cGRhdGVUaW1lXG4gICAgICovXG4gICAgdXBkYXRlVGltZT86IHN0cmluZztcbiAgICB2ZXJzaW9uOiBudW1iZXI7XG4gICAgZGVsZXRlZDogYm9vbGVhbjtcbn1cblxuIl19
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export var PropertyValue;
|
|
2
|
-
(function (PropertyValue) {
|
|
3
|
-
PropertyValue.PropertyTypeEnum = {
|
|
4
|
-
Staff: 'Staff',
|
|
5
|
-
Item: 'Item',
|
|
6
|
-
Character: 'Character',
|
|
7
|
-
Info: 'Info',
|
|
8
|
-
Cast: 'Cast'
|
|
9
|
-
};
|
|
10
|
-
})(PropertyValue || (PropertyValue = {}));
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHlWYWx1ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL21pcmEtc2RrLWFuZ3VsYXIvc3JjL21vZGVsL3Byb3BlcnR5VmFsdWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0JBLE1BQU0sS0FBVyxhQUFhLENBUzdCO0FBVEQsV0FBaUIsYUFBYTtJQUViLDhCQUFnQixHQUFHO1FBQzVCLEtBQUssRUFBRSxPQUEyQjtRQUNsQyxJQUFJLEVBQUUsTUFBMEI7UUFDaEMsU0FBUyxFQUFFLFdBQStCO1FBQzFDLElBQUksRUFBRSxNQUEwQjtRQUNoQyxJQUFJLEVBQUUsTUFBMEI7S0FDbkMsQ0FBQztBQUNOLENBQUMsRUFUZ0IsYUFBYSxLQUFiLGFBQWEsUUFTN0IiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIG1pcmEgQVBJXG4gKiBBUEkgZm9yIFByb2plY3QtTWlyYVxuICpcbiAqIFxuICpcbiAqIE5PVEU6IFRoaXMgY2xhc3MgaXMgYXV0byBnZW5lcmF0ZWQgYnkgT3BlbkFQSSBHZW5lcmF0b3IgKGh0dHBzOi8vb3BlbmFwaS1nZW5lcmF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ated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
-
* https://openapi-generator.tech
|
|
9
|
-
* Do not edit the class manually.
|
|
10
|
-
*/
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHlWYWx1ZVZhbHVlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbWlyYS1zZGstYW5ndWxhci9zcmMvbW9kZWwvcHJvcGVydHlWYWx1ZVZhbHVlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7R0FTRyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogbWlyYSBBUElcbiAqIEFQSSBmb3IgUHJvamVjdC1NaXJhXG4gKlxuICogXG4gKlxuICogTk9URTogVGhpcyBjbGFzcyBpcyBhdXRvIGdlbmVyYXRlZCBieSBPcGVuQVBJIEdlbmVyYXRvciAoaHR0cHM6Ly9vcGVuYXBpLWdlbmVyYXRvci50ZWNoKS5cbiAqIGh0dHBzOi8vb3BlbmFwaS1nZW5lcmF0b3IudGVjaFxuICogRG8gbm90IGVkaXQgdGhlIGNsYXNzIG1hbnVhbGx5LlxuICovXG5cblxuLyoqXG4gKiBAdHlwZSBQcm9wZXJ0eVZhbHVlVmFsdWVcbiAqIEBleHBvcnRcbiAqL1xuZXhwb3J0IHR5cGUgUHJvcGVydHlWYWx1ZVZhbHVlID0gQXJyYXk8c3RyaW5nPiB8IEFycmF5PHsgW2tleTogc3RyaW5nXTogc3RyaW5nOyB9PiB8IHN0cmluZztcblxuIl19
|
package/model/propertyValue.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mira API
|
|
3
|
-
* 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 { PropertyValueValue } from './propertyValueValue';
|
|
12
|
-
export interface PropertyValue {
|
|
13
|
-
propertyType?: PropertyValue.PropertyTypeEnum | null;
|
|
14
|
-
locked: boolean;
|
|
15
|
-
value: PropertyValueValue;
|
|
16
|
-
}
|
|
17
|
-
export declare namespace PropertyValue {
|
|
18
|
-
type PropertyTypeEnum = 'Staff' | 'Item' | 'Character' | 'Info' | 'Cast';
|
|
19
|
-
const PropertyTypeEnum: {
|
|
20
|
-
Staff: PropertyTypeEnum;
|
|
21
|
-
Item: PropertyTypeEnum;
|
|
22
|
-
Character: PropertyTypeEnum;
|
|
23
|
-
Info: PropertyTypeEnum;
|
|
24
|
-
Cast: PropertyTypeEnum;
|
|
25
|
-
};
|
|
26
|
-
}
|