@churchapps/content-providers 0.1.2 → 0.1.3
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/index.cjs +375 -369
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +375 -369
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -619,7 +619,8 @@ declare class HighVoltageKidsProvider implements IProvider {
|
|
|
619
619
|
* Path structure:
|
|
620
620
|
* / -> categories (Feature Films, Series, Collections)
|
|
621
621
|
* /{category} -> list items in category
|
|
622
|
-
* /{category}/{
|
|
622
|
+
* /{category}/{id} -> single video (feature film) or container children (series/collection)
|
|
623
|
+
* /{category}/{containerId}/{videoId} -> single video within a container
|
|
623
624
|
*/
|
|
624
625
|
declare class JesusFilmProvider implements IProvider {
|
|
625
626
|
readonly id = "jesusfilm";
|
|
@@ -634,9 +635,13 @@ declare class JesusFilmProvider implements IProvider {
|
|
|
634
635
|
private getCategories;
|
|
635
636
|
private getItemsInCategory;
|
|
636
637
|
private getVideoFile;
|
|
638
|
+
private getContainerChildren;
|
|
637
639
|
private extractMuxPlaybackId;
|
|
638
640
|
getPlaylist(path: string, _auth?: ContentProviderAuthData | null, _resolution?: number): Promise<ContentFile[] | null>;
|
|
639
641
|
private fetchVideoFiles;
|
|
642
|
+
private fetchContainerVideoFiles;
|
|
643
|
+
private buildVideoInstructions;
|
|
644
|
+
private buildContainerInstructions;
|
|
640
645
|
getInstructions(path: string, _auth?: ContentProviderAuthData | null): Promise<Instructions | null>;
|
|
641
646
|
supportsDeviceFlow(): boolean;
|
|
642
647
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -619,7 +619,8 @@ declare class HighVoltageKidsProvider implements IProvider {
|
|
|
619
619
|
* Path structure:
|
|
620
620
|
* / -> categories (Feature Films, Series, Collections)
|
|
621
621
|
* /{category} -> list items in category
|
|
622
|
-
* /{category}/{
|
|
622
|
+
* /{category}/{id} -> single video (feature film) or container children (series/collection)
|
|
623
|
+
* /{category}/{containerId}/{videoId} -> single video within a container
|
|
623
624
|
*/
|
|
624
625
|
declare class JesusFilmProvider implements IProvider {
|
|
625
626
|
readonly id = "jesusfilm";
|
|
@@ -634,9 +635,13 @@ declare class JesusFilmProvider implements IProvider {
|
|
|
634
635
|
private getCategories;
|
|
635
636
|
private getItemsInCategory;
|
|
636
637
|
private getVideoFile;
|
|
638
|
+
private getContainerChildren;
|
|
637
639
|
private extractMuxPlaybackId;
|
|
638
640
|
getPlaylist(path: string, _auth?: ContentProviderAuthData | null, _resolution?: number): Promise<ContentFile[] | null>;
|
|
639
641
|
private fetchVideoFiles;
|
|
642
|
+
private fetchContainerVideoFiles;
|
|
643
|
+
private buildVideoInstructions;
|
|
644
|
+
private buildContainerInstructions;
|
|
640
645
|
getInstructions(path: string, _auth?: ContentProviderAuthData | null): Promise<Instructions | null>;
|
|
641
646
|
supportsDeviceFlow(): boolean;
|
|
642
647
|
}
|