@30nama/sdk 1.0.6 → 1.0.7
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/dist/entities/BaseEntity.d.ts +3 -0
- package/dist/entities/BaseEntity.js +9 -0
- package/dist/entities/BaseEntity.js.map +1 -0
- package/dist/entities/IBoxOffice.d.ts +2 -1
- package/dist/entities/IBoxOffice.js +3 -1
- package/dist/entities/IBoxOffice.js.map +1 -1
- package/dist/entities/ICollection.d.ts +2 -1
- package/dist/entities/ICollection.js +3 -1
- package/dist/entities/ICollection.js.map +1 -1
- package/dist/entities/ITitle.d.ts +3 -2
- package/dist/entities/ITitle.js +5 -2
- package/dist/entities/ITitle.js.map +1 -1
- package/dist/entities/IVideoContent.d.ts +2 -1
- package/dist/entities/IVideoContent.js +3 -1
- package/dist/entities/IVideoContent.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseEntity.js","sourceRoot":"","sources":["../../src/entities/BaseEntity.ts"],"names":[],"mappings":";;AAAA,MAAqB,UAAU;IAC3B,MAAM;QACF,yBAAY,IAAI,EAAE;IACtB,CAAC;CACJ;AAJD,6BAIC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import BaseEntity from './BaseEntity';
|
|
1
2
|
import { IAttachment } from './IAttachment';
|
|
2
3
|
import { IGenre } from './ICollector';
|
|
3
4
|
import { IRating } from './IRating';
|
|
@@ -17,7 +18,7 @@ type SeriesMeta = {
|
|
|
17
18
|
last_episode: string;
|
|
18
19
|
next_episode_date?: string;
|
|
19
20
|
};
|
|
20
|
-
export declare class IBoxOffice {
|
|
21
|
+
export declare class IBoxOffice extends BaseEntity {
|
|
21
22
|
id: string;
|
|
22
23
|
content_id: string;
|
|
23
24
|
info: VideoContentInfo;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IBoxOffice = void 0;
|
|
4
|
-
|
|
4
|
+
const BaseEntity_1 = require("./BaseEntity");
|
|
5
|
+
class IBoxOffice extends BaseEntity_1.default {
|
|
5
6
|
constructor(partial) {
|
|
7
|
+
super();
|
|
6
8
|
Object.assign(this, partial);
|
|
7
9
|
}
|
|
8
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IBoxOffice.js","sourceRoot":"","sources":["../../src/entities/IBoxOffice.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"IBoxOffice.js","sourceRoot":"","sources":["../../src/entities/IBoxOffice.ts"],"names":[],"mappings":";;;AAAA,6CAAqC;AAkBrC,MAAa,UAAW,SAAQ,oBAAU;IAmBtC,YAAY,OAA4B;QACpC,KAAK,EAAE,CAAA;QACP,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IAChC,CAAC;CACJ;AAvBD,gCAuBC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ICollection = void 0;
|
|
4
|
-
|
|
4
|
+
const BaseEntity_1 = require("./BaseEntity");
|
|
5
|
+
class ICollection extends BaseEntity_1.default {
|
|
5
6
|
constructor(partial) {
|
|
7
|
+
super();
|
|
6
8
|
Object.assign(this, partial);
|
|
7
9
|
}
|
|
8
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ICollection.js","sourceRoot":"","sources":["../../src/entities/ICollection.ts"],"names":[],"mappings":";;;AAAA,MAAa,
|
|
1
|
+
{"version":3,"file":"ICollection.js","sourceRoot":"","sources":["../../src/entities/ICollection.ts"],"names":[],"mappings":";;;AAAA,6CAAqC;AAErC,MAAa,WAAY,SAAQ,oBAAU;IAiBvC,YAAY,OAA6B;QACrC,KAAK,EAAE,CAAA;QACP,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IAChC,CAAC;CACJ;AArBD,kCAqBC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import BaseEntity from './BaseEntity';
|
|
1
2
|
import { IAttachment } from './IAttachment';
|
|
2
3
|
import { IGenre } from './ICollector';
|
|
3
4
|
import { IRating } from './IRating';
|
|
@@ -17,7 +18,7 @@ type SeriesMeta = {
|
|
|
17
18
|
last_episode: string;
|
|
18
19
|
next_episode_date?: string;
|
|
19
20
|
};
|
|
20
|
-
export declare class ITitle {
|
|
21
|
+
export declare class ITitle extends BaseEntity {
|
|
21
22
|
id: string;
|
|
22
23
|
info: VideoContentInfo;
|
|
23
24
|
ratings: IRating;
|
|
@@ -33,7 +34,7 @@ export declare class ITitle {
|
|
|
33
34
|
download_id?: string;
|
|
34
35
|
constructor(partial: Partial<ITitle>);
|
|
35
36
|
}
|
|
36
|
-
export declare class IHeroTitle {
|
|
37
|
+
export declare class IHeroTitle extends BaseEntity {
|
|
37
38
|
id: string;
|
|
38
39
|
info: VideoContentInfo;
|
|
39
40
|
ratings: IRating;
|
package/dist/entities/ITitle.js
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IHeroTitle = exports.ITitle = void 0;
|
|
4
|
-
|
|
4
|
+
const BaseEntity_1 = require("./BaseEntity");
|
|
5
|
+
class ITitle extends BaseEntity_1.default {
|
|
5
6
|
constructor(partial) {
|
|
7
|
+
super();
|
|
6
8
|
Object.assign(this, partial);
|
|
7
9
|
}
|
|
8
10
|
}
|
|
9
11
|
exports.ITitle = ITitle;
|
|
10
|
-
class IHeroTitle {
|
|
12
|
+
class IHeroTitle extends BaseEntity_1.default {
|
|
11
13
|
constructor(partial) {
|
|
14
|
+
super();
|
|
12
15
|
Object.assign(this, partial);
|
|
13
16
|
}
|
|
14
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ITitle.js","sourceRoot":"","sources":["../../src/entities/ITitle.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ITitle.js","sourceRoot":"","sources":["../../src/entities/ITitle.ts"],"names":[],"mappings":";;;AAAA,6CAAqC;AAkBrC,MAAa,MAAO,SAAQ,oBAAU;IAclC,YAAY,OAAwB;QAChC,KAAK,EAAE,CAAA;QACP,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IAChC,CAAC;CACJ;AAlBD,wBAkBC;AAED,MAAa,UAAW,SAAQ,oBAAU;IActC,YAAY,OAAwB;QAChC,KAAK,EAAE,CAAA;QACP,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IAChC,CAAC;CACJ;AAlBD,gCAkBC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import BaseEntity from './BaseEntity';
|
|
1
2
|
import { IAttachment } from './IAttachment';
|
|
2
3
|
import { ICollection } from './ICollection';
|
|
3
4
|
import { ICollector, IGenre } from './ICollector';
|
|
@@ -19,7 +20,7 @@ type SeriesMeta = {
|
|
|
19
20
|
last_episode: string;
|
|
20
21
|
next_episode_date?: string;
|
|
21
22
|
};
|
|
22
|
-
export declare class IVideoContent {
|
|
23
|
+
export declare class IVideoContent extends BaseEntity {
|
|
23
24
|
id: string;
|
|
24
25
|
info: VideoContentInfo;
|
|
25
26
|
ratings: IRating;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IVideoContent = void 0;
|
|
4
|
-
|
|
4
|
+
const BaseEntity_1 = require("./BaseEntity");
|
|
5
|
+
class IVideoContent extends BaseEntity_1.default {
|
|
5
6
|
constructor(partial) {
|
|
7
|
+
super();
|
|
6
8
|
Object.assign(this, partial);
|
|
7
9
|
}
|
|
8
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IVideoContent.js","sourceRoot":"","sources":["../../src/entities/IVideoContent.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"IVideoContent.js","sourceRoot":"","sources":["../../src/entities/IVideoContent.ts"],"names":[],"mappings":";;;AAAA,6CAAqC;AAoBrC,MAAa,aAAc,SAAQ,oBAAU;IA4BzC,YAAY,OAA+B;QACvC,KAAK,EAAE,CAAA;QACP,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IAChC,CAAC;CACJ;AAhCD,sCAgCC"}
|