@aigamo/hydrangean-diva 0.0.1-alpha.7 → 0.0.1-alpha.70
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.js +2 -45
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.es.js +2263 -2462
- package/dist/index.es.js.map +1 -1
- package/dist/src/App.d.ts +9 -0
- package/dist/src/common/components/AppLink.d.ts +6 -0
- package/dist/src/common/components/AppPageTemplateHeader.d.ts +18 -0
- package/dist/src/features/common/helpers/bottomBarHeight.d.ts +1 -0
- package/dist/src/features/common/helpers/commandBarHeight.d.ts +1 -0
- package/dist/src/features/common/helpers/commandBarSpacerHeight.d.ts +1 -0
- package/dist/src/features/common/helpers/featureFlags.d.ts +5 -0
- package/dist/src/features/common/helpers/headerHeight.d.ts +1 -0
- package/dist/src/features/common/helpers/index.d.ts +2 -0
- package/dist/src/features/common/helpers/miniPlayerSize.d.ts +4 -0
- package/dist/src/features/common/helpers/videoServiceIcons.d.ts +2 -0
- package/dist/src/features/common/index.d.ts +1 -0
- package/dist/src/features/common/stores/localStorageStateKeys.d.ts +6 -0
- package/dist/src/features/index.d.ts +11 -0
- package/dist/src/features/media-player/components/HydrangeanDivaProvider.d.ts +7 -0
- package/dist/src/features/media-player/components/index.d.ts +2 -0
- package/dist/src/features/media-player/index.d.ts +1 -0
- package/dist/src/features/media-player.bottom-bar/components/BottomBar.d.ts +8 -0
- package/dist/src/features/media-player.bottom-bar/components/BottomBarCenterControls.d.ts +7 -0
- package/dist/src/features/media-player.bottom-bar/components/BottomBarLeftControls.d.ts +4 -0
- package/dist/src/features/media-player.bottom-bar/components/BottomBarProvider.d.ts +6 -0
- package/dist/src/features/media-player.bottom-bar/components/BottomBarRightControls.d.ts +6 -0
- package/dist/{AppRoutes.d.ts → src/features/media-player.bottom-bar/components/SeekBar.d.ts} +1 -1
- package/dist/src/features/media-player.bottom-bar/components/index.d.ts +1 -0
- package/dist/{features/media-player → src/features/media-player.bottom-bar}/index.d.ts +0 -1
- package/dist/src/features/media-player.bottom-bar/stores/BottomBarStore.d.ts +54 -0
- package/dist/src/features/media-player.bottom-bar.abstractions/contexts/BottomBarContext.d.ts +3 -0
- package/dist/src/features/media-player.bottom-bar.abstractions/index.d.ts +1 -0
- package/dist/src/features/media-player.bottom-bar.abstractions/interfaces/IBottomBarStore.d.ts +32 -0
- package/dist/src/features/media-player.bottom-bar.abstractions/interfaces/index.d.ts +1 -0
- package/dist/src/features/media-player.mini-player/components/CookieConsentPanel.d.ts +8 -0
- package/dist/src/features/media-player.mini-player/components/MiniPlayer.d.ts +4 -0
- package/dist/src/features/media-player.mini-player/components/MiniPlayerProvider.d.ts +6 -0
- package/dist/src/features/media-player.mini-player/components/index.d.ts +1 -0
- package/dist/src/features/media-player.mini-player/index.d.ts +1 -0
- package/dist/src/features/media-player.mini-player/stores/MiniPlayerStore.d.ts +21 -0
- package/dist/src/features/media-player.mini-player.abstractions/contexts/MiniPlayerContext.d.ts +3 -0
- package/dist/src/features/media-player.mini-player.abstractions/index.d.ts +1 -0
- package/dist/src/features/media-player.mini-player.abstractions/interfaces/IMiniPlayerStore.d.ts +12 -0
- package/dist/src/features/media-player.mini-player.abstractions/interfaces/index.d.ts +1 -0
- package/dist/src/features/media-player.play-queue/components/AddVideoButton.d.ts +7 -0
- package/dist/src/features/media-player.play-queue/components/AddVideoModal.d.ts +5 -0
- package/dist/src/features/media-player.play-queue/components/DeveloperToolsButton.d.ts +9 -0
- package/dist/src/features/media-player.play-queue/components/PlayQueueCommandBar.d.ts +9 -0
- package/dist/src/features/media-player.play-queue/components/PlayQueueProvider.d.ts +6 -0
- package/dist/src/features/media-player.play-queue/components/PlayQueueSection.d.ts +9 -0
- package/dist/src/features/media-player.play-queue/components/PlayQueueTable.d.ts +9 -0
- package/dist/src/features/media-player.play-queue/components/index.d.ts +1 -0
- package/dist/src/features/media-player.play-queue/helpers/isNoembedResult.d.ts +5 -0
- package/dist/src/features/media-player.play-queue/index.d.ts +2 -0
- package/dist/src/features/media-player.play-queue/pages/index.d.ts +1 -0
- package/dist/{features/media-player → src/features/media-player.play-queue}/stores/PlayQueueItemStore.d.ts +8 -9
- package/dist/{features/media-player → src/features/media-player.play-queue}/stores/PlayQueueStore.d.ts +25 -19
- package/dist/src/features/media-player.play-queue.abstractions/contexts/PlayQueueContext.d.ts +3 -0
- package/dist/src/features/media-player.play-queue.abstractions/contexts/index.d.ts +1 -0
- package/dist/src/features/media-player.play-queue.abstractions/index.d.ts +2 -0
- package/dist/{features/media-player/stores → src/features/media-player.play-queue.abstractions/interfaces}/IPlayQueueItemStore.d.ts +4 -8
- package/dist/src/features/media-player.play-queue.abstractions/interfaces/IPlayQueueStore.d.ts +46 -0
- package/dist/src/features/media-player.play-queue.abstractions/interfaces/PlayQueueDto.d.ts +11 -0
- package/dist/src/features/media-player.play-queue.abstractions/interfaces/PlayQueueItemDto.d.ts +9 -0
- package/dist/src/features/media-player.play-queue.abstractions/interfaces/index.d.ts +3 -0
- package/dist/src/features/media-player.player/components/PlayerProvider.d.ts +6 -0
- package/dist/src/features/media-player.player/stores/PlayerStore.d.ts +17 -0
- package/dist/src/features/media-player.player.abstractions/contexts/PlayerContext.d.ts +3 -0
- package/dist/src/features/media-player.player.abstractions/index.d.ts +1 -0
- package/dist/src/features/media-player.player.abstractions/interfaces/IPlayerStore.d.ts +13 -0
- package/dist/src/features/media-player.player.abstractions/interfaces/index.d.ts +1 -0
- package/dist/src/features/media-player.playlists/components/CreatePlaylistButton.d.ts +7 -0
- package/dist/src/features/media-player.playlists/components/CreatePlaylistModal.d.ts +4 -0
- package/dist/src/features/media-player.playlists/components/DeletePlaylistConfirmModal.d.ts +7 -0
- package/dist/src/features/media-player.playlists/components/PlaylistCommandBar.d.ts +9 -0
- package/dist/src/features/media-player.playlists/components/PlaylistListProvider.d.ts +6 -0
- package/dist/src/features/media-player.playlists/components/PlaylistListTable.d.ts +9 -0
- package/dist/src/features/media-player.playlists/components/PlaylistSection.d.ts +9 -0
- package/dist/src/features/media-player.playlists/components/PlaylistTable.d.ts +9 -0
- package/dist/src/features/media-player.playlists/components/RenamePlaylistModal.d.ts +7 -0
- package/dist/src/features/media-player.playlists/index.d.ts +1 -0
- package/dist/src/features/media-player.playlists/pages/PlaylistDetailsPage.d.ts +9 -0
- package/dist/src/features/media-player.playlists/pages/PlaylistListPage.d.ts +2 -0
- package/dist/src/features/media-player.playlists/pages/index.d.ts +2 -0
- package/dist/src/features/media-player.playlists/stores/PlaylistItemStore.d.ts +39 -0
- package/dist/src/features/media-player.playlists/stores/PlaylistListItemStore.d.ts +10 -0
- package/dist/src/features/media-player.playlists/stores/PlaylistListStore.d.ts +26 -0
- package/dist/src/features/media-player.playlists/stores/PlaylistStore.d.ts +46 -0
- package/dist/src/features/media-player.playlists.abstractions/contexts/PlaylistListContext.d.ts +3 -0
- package/dist/src/features/media-player.playlists.abstractions/contexts/index.d.ts +1 -0
- package/dist/src/features/media-player.playlists.abstractions/index.d.ts +1 -0
- package/dist/src/features/media-player.playlists.abstractions/interfaces/IPlaylistItemStore.d.ts +28 -0
- package/dist/src/features/media-player.playlists.abstractions/interfaces/IPlaylistListItemStore.d.ts +6 -0
- package/dist/src/features/media-player.playlists.abstractions/interfaces/IPlaylistListStore.d.ts +8 -0
- package/dist/src/features/media-player.playlists.abstractions/interfaces/IPlaylistStore.d.ts +26 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/routeTree.gen.d.ts +91 -0
- package/dist/src/routes/__root.d.ts +1 -0
- package/dist/src/routes/_authenticated/index.d.ts +1 -0
- package/dist/src/routes/_authenticated/play-queue.d.ts +1 -0
- package/dist/src/routes/_authenticated/playlists/$playlistId.index.d.ts +1 -0
- package/dist/src/routes/_authenticated/playlists/index.d.ts +1 -0
- package/dist/src/routes/_authenticated.d.ts +1 -0
- package/dist/test/features/media-player/stores/PlayQueueStore.test.d.ts +1 -0
- package/dist/test/features/media-player/stores/PlayerStore.test.d.ts +1 -0
- package/package.json +59 -47
- package/dist/App.d.ts +0 -3
- package/dist/features/media-player/components/AddVideoButton.d.ts +0 -7
- package/dist/features/media-player/components/BottomBar.d.ts +0 -12
- package/dist/features/media-player/components/HydrangeanDiva.d.ts +0 -11
- package/dist/features/media-player/components/MiniPlayer.d.ts +0 -15
- package/dist/features/media-player/components/PlayQueueStoreContext.d.ts +0 -8
- package/dist/features/media-player/components/PlayQueueTable.d.ts +0 -9
- package/dist/features/media-player/components/PlayerStoreContext.d.ts +0 -8
- package/dist/features/media-player/components/index.d.ts +0 -6
- package/dist/features/media-player/stores/IObservableStateProvider.d.ts +0 -4
- package/dist/features/media-player/stores/IPlayQueueStore.d.ts +0 -15
- package/dist/features/media-player/stores/MobXObservableStateProvider.d.ts +0 -5
- package/dist/features/media-player/stores/ObservableStateProvider.d.ts +0 -5
- package/dist/features/media-player/stores/PlayQueueLocalStorageState.d.ts +0 -10
- package/dist/features/media-player/stores/PlayerStore.d.ts +0 -15
- package/dist/features/media-player/stores/index.d.ts +0 -6
- /package/dist/{common → src/features/common}/components/Compose.d.ts +0 -0
- /package/dist/{features/media-player → src/features/common}/stores/getOrAddSchema.d.ts +0 -0
- /package/dist/{features → src/features}/media-player/components/MediaPlayerLayout.d.ts +0 -0
- /package/dist/{features/media-player → src/features/media-player.header}/components/Header.d.ts +0 -0
- /package/dist/{features/media-player → src/features/media-player.play-queue}/pages/PlayQueuePage.d.ts +0 -0
- /package/dist/{features/media-player/stores → src/features/media-player.play-queue.abstractions/interfaces}/RepeatMode.d.ts +0 -0
- /package/dist/{main.d.ts → src/main.d.ts} +0 -0
- /package/dist/{sw.d.ts → src/sw.d.ts} +0 -0
- /package/dist/{icons.d.ts → test/features/media-player/stores/PlayQueueItemStore.test.d.ts} +0 -0
package/dist/src/features/media-player.play-queue.abstractions/interfaces/IPlayQueueStore.d.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { IPlayQueueItemStore } from './IPlayQueueItemStore';
|
|
2
|
+
import { PlayQueueDto } from './PlayQueueDto';
|
|
3
|
+
import { PlayQueueItemDto } from './PlayQueueItemDto';
|
|
4
|
+
import { IStateStore } from '@aigamo/route-sphere';
|
|
5
|
+
export interface IPlayQueueStore {
|
|
6
|
+
readonly interacted: boolean;
|
|
7
|
+
readonly localStorageState: IStateStore<PlayQueueDto>;
|
|
8
|
+
readonly items: IPlayQueueItemStore[];
|
|
9
|
+
createItemFromDto(dto: PlayQueueItemDto): IPlayQueueItemStore;
|
|
10
|
+
readonly isEmpty: boolean;
|
|
11
|
+
readonly canClear: boolean;
|
|
12
|
+
readonly currentItem: IPlayQueueItemStore | undefined;
|
|
13
|
+
readonly canPlay: boolean;
|
|
14
|
+
readonly canPause: boolean;
|
|
15
|
+
readonly hasMultipleItems: boolean;
|
|
16
|
+
readonly currentIndex: number | undefined;
|
|
17
|
+
readonly hasPreviousItem: boolean;
|
|
18
|
+
readonly hasNextItem: boolean;
|
|
19
|
+
readonly isLastItem: boolean;
|
|
20
|
+
readonly selectedItems: IPlayQueueItemStore[];
|
|
21
|
+
readonly allItemsSelected: boolean;
|
|
22
|
+
readonly selectedItemsOrAllItems: IPlayQueueItemStore[];
|
|
23
|
+
readonly canAddSelectedItems: boolean;
|
|
24
|
+
readonly canPlaySelectedItemsNext: boolean;
|
|
25
|
+
readonly canRemoveSelectedItems: boolean;
|
|
26
|
+
setItems(value: IPlayQueueItemStore[]): void;
|
|
27
|
+
clear(): void;
|
|
28
|
+
unselectAll(): void;
|
|
29
|
+
selectAll(): void;
|
|
30
|
+
setCurrentItem(item: IPlayQueueItemStore | undefined): void;
|
|
31
|
+
clearAndSetItems(items: IPlayQueueItemStore[]): void;
|
|
32
|
+
playNext(items: IPlayQueueItemStore[]): Promise<void>;
|
|
33
|
+
playSelectedItemsNext(): Promise<void>;
|
|
34
|
+
addItems(items: IPlayQueueItemStore[]): Promise<void>;
|
|
35
|
+
addSelectedItems(): Promise<void>;
|
|
36
|
+
playFirst(items: IPlayQueueItemStore[]): Promise<void>;
|
|
37
|
+
moveItem(item: IPlayQueueItemStore, index: number): void;
|
|
38
|
+
goToFirst(): Promise<void>;
|
|
39
|
+
removeItems(items: IPlayQueueItemStore[]): Promise<void>;
|
|
40
|
+
removeSelectedItems(): Promise<void>;
|
|
41
|
+
removeItemsAbove(item: IPlayQueueItemStore): Promise<void>;
|
|
42
|
+
removeOtherItems(item: IPlayQueueItemStore): Promise<void>;
|
|
43
|
+
previous(): Promise<void>;
|
|
44
|
+
next(): Promise<void>;
|
|
45
|
+
addItemFromDto(dto: PlayQueueItemDto): Promise<void>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PlayQueueItemDto } from './PlayQueueItemDto';
|
|
2
|
+
import { RepeatMode } from './RepeatMode';
|
|
3
|
+
import { JSONSchemaType } from 'ajv';
|
|
4
|
+
export interface PlayQueueDto {
|
|
5
|
+
readonly version?: '1.0';
|
|
6
|
+
readonly repeat?: RepeatMode;
|
|
7
|
+
readonly shuffle?: boolean;
|
|
8
|
+
readonly items?: PlayQueueItemDto[];
|
|
9
|
+
readonly currentIndex?: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const PlayQueueDtoSchema: JSONSchemaType<PlayQueueDto>;
|
package/dist/src/features/media-player.play-queue.abstractions/interfaces/PlayQueueItemDto.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PlayerType } from '@aigamo/nostalgic-diva';
|
|
2
|
+
import { JSONSchemaType } from 'ajv';
|
|
3
|
+
export interface PlayQueueItemDto {
|
|
4
|
+
readonly url: string;
|
|
5
|
+
readonly type: PlayerType;
|
|
6
|
+
readonly videoId: string;
|
|
7
|
+
readonly title: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const PlayQueueItemDtoSchema: JSONSchemaType<PlayQueueItemDto>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IPlayerStore } from '../../media-player.player.abstractions/interfaces/IPlayerStore';
|
|
2
|
+
import { IPlayerController, TimeEvent } from '@aigamo/nostalgic-diva';
|
|
3
|
+
export declare class PlayerStore implements IPlayerStore {
|
|
4
|
+
controller: IPlayerController;
|
|
5
|
+
playing: boolean;
|
|
6
|
+
percent: number;
|
|
7
|
+
seeking: boolean;
|
|
8
|
+
constructor();
|
|
9
|
+
setPlaying(value: boolean): void;
|
|
10
|
+
setPercent(value: number): void;
|
|
11
|
+
setSeeking(value: boolean): void;
|
|
12
|
+
onControllerChange(value: IPlayerController): void;
|
|
13
|
+
onPlay(): void;
|
|
14
|
+
onPause(): void;
|
|
15
|
+
onEnded(): void;
|
|
16
|
+
onTimeUpdate({ percent }: TimeEvent): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './interfaces';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IPlayerController, TimeEvent } from '@aigamo/nostalgic-diva';
|
|
2
|
+
export interface IPlayerStore {
|
|
3
|
+
readonly controller: IPlayerController;
|
|
4
|
+
readonly playing: boolean;
|
|
5
|
+
readonly percent: number;
|
|
6
|
+
setPercent(value: number): void;
|
|
7
|
+
setSeeking(value: boolean): void;
|
|
8
|
+
onControllerChange(value: IPlayerController): void;
|
|
9
|
+
onPlay(): void;
|
|
10
|
+
onPause(): void;
|
|
11
|
+
onEnded(): void;
|
|
12
|
+
onTimeUpdate({ percent }: TimeEvent): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './IPlayerStore';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
interface CreatePlaylistButtonProps {
|
|
3
|
+
children?: ReactNode;
|
|
4
|
+
onFulfilled: (value: string) => Promise<void>;
|
|
5
|
+
}
|
|
6
|
+
export declare const CreatePlaylistButton: ({ children, onFulfilled, }: CreatePlaylistButtonProps) => ReactElement;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IPlaylistListItemStore } from '../../media-player.playlists.abstractions/interfaces/IPlaylistListItemStore';
|
|
2
|
+
import { InnerModalProps } from 'ez-modal-react';
|
|
3
|
+
interface DeletePlaylistConfirmModalProps extends InnerModalProps {
|
|
4
|
+
playlistListItem: IPlaylistListItemStore;
|
|
5
|
+
}
|
|
6
|
+
export declare const DeletePlaylistConfirmModal: import('ez-modal-react').EasyModalHOC<DeletePlaylistConfirmModalProps, unknown>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IPlaylistStore } from '../../media-player.playlists.abstractions/interfaces/IPlaylistStore';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
interface PlaylistCommandBarProps {
|
|
4
|
+
playlist: IPlaylistStore;
|
|
5
|
+
}
|
|
6
|
+
export declare const PlaylistCommandBar: (({ playlist }: PlaylistCommandBarProps) => ReactElement) & {
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IPlaylistListStore } from '../../media-player.playlists.abstractions/interfaces/IPlaylistListStore';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
interface PlaylistListTableProps {
|
|
4
|
+
playlistList: IPlaylistListStore;
|
|
5
|
+
}
|
|
6
|
+
export declare const PlaylistListTable: (({ playlistList }: PlaylistListTableProps) => ReactElement) & {
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IPlaylistStore } from '../../media-player.playlists.abstractions/interfaces/IPlaylistStore';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
interface PlaylistSectionProps {
|
|
4
|
+
playlist: IPlaylistStore;
|
|
5
|
+
}
|
|
6
|
+
export declare const PlaylistSection: (({ playlist }: PlaylistSectionProps) => ReactElement) & {
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IPlaylistStore } from '../../media-player.playlists.abstractions/interfaces/IPlaylistStore';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
interface PlaylistTableProps {
|
|
4
|
+
playlist: IPlaylistStore;
|
|
5
|
+
}
|
|
6
|
+
export declare const PlaylistTable: (({ playlist }: PlaylistTableProps) => ReactElement) & {
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IPlaylistListItemStore } from '../../media-player.playlists.abstractions/interfaces/IPlaylistListItemStore';
|
|
2
|
+
import { InnerModalProps } from 'ez-modal-react';
|
|
3
|
+
interface RenamePlaylistModalProps extends InnerModalProps<string> {
|
|
4
|
+
playlistListItem: IPlaylistListItemStore;
|
|
5
|
+
}
|
|
6
|
+
export declare const RenamePlaylistModal: import('ez-modal-react').EasyModalHOC<RenamePlaylistModalProps, string>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './pages';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IPlaylistListItemStore } from '../../media-player.playlists.abstractions/interfaces/IPlaylistListItemStore';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
interface PlaylistDetailsPageProps {
|
|
4
|
+
playlistListItem: IPlaylistListItemStore;
|
|
5
|
+
}
|
|
6
|
+
export declare const PlaylistDetailsPage: (({ playlistListItem }: PlaylistDetailsPageProps) => ReactElement) & {
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { IPlayQueueStore } from '../../media-player.play-queue.abstractions/interfaces/IPlayQueueStore';
|
|
2
|
+
import { PlayQueueItemDto } from '../../media-player.play-queue.abstractions/interfaces/PlayQueueItemDto';
|
|
3
|
+
import { IPlaylistItemStore } from '../../media-player.playlists.abstractions/interfaces/IPlaylistItemStore';
|
|
4
|
+
import { IPlaylistStore } from '../../media-player.playlists.abstractions/interfaces/IPlaylistStore';
|
|
5
|
+
import { PlayerType } from '@aigamo/nostalgic-diva';
|
|
6
|
+
export declare class PlaylistItemStore implements IPlaylistItemStore {
|
|
7
|
+
readonly playQueue: IPlayQueueStore;
|
|
8
|
+
readonly playlist: IPlaylistStore;
|
|
9
|
+
readonly dto: PlayQueueItemDto;
|
|
10
|
+
static nextId: number;
|
|
11
|
+
readonly id: number;
|
|
12
|
+
isSelected: boolean;
|
|
13
|
+
constructor(playQueue: IPlayQueueStore, playlist: IPlaylistStore, dto: PlayQueueItemDto);
|
|
14
|
+
static fromDto(playQueue: IPlayQueueStore, playlist: IPlaylistStore, dto: PlayQueueItemDto): IPlaylistItemStore;
|
|
15
|
+
get url(): string;
|
|
16
|
+
get type(): PlayerType;
|
|
17
|
+
get videoId(): string;
|
|
18
|
+
get title(): string;
|
|
19
|
+
get isCurrent(): boolean;
|
|
20
|
+
get index(): number;
|
|
21
|
+
get isFirst(): boolean;
|
|
22
|
+
get isLast(): boolean;
|
|
23
|
+
get canMoveToTop(): boolean;
|
|
24
|
+
get canMoveToBottom(): boolean;
|
|
25
|
+
get canRemoveToTop(): boolean;
|
|
26
|
+
get canRemoveOthers(): boolean;
|
|
27
|
+
unselect(): void;
|
|
28
|
+
select(): void;
|
|
29
|
+
toggleSelected(): void;
|
|
30
|
+
play(): Promise<void>;
|
|
31
|
+
remove(): Promise<void>;
|
|
32
|
+
playFirst(): Promise<void>;
|
|
33
|
+
playNext(): Promise<void>;
|
|
34
|
+
addToPlayQueue(): Promise<void>;
|
|
35
|
+
moveToTop(): void;
|
|
36
|
+
moveToBottom(): void;
|
|
37
|
+
removeToTop(): Promise<void>;
|
|
38
|
+
removeOthers(): Promise<void>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IPlaylistListItemStore } from '../../media-player.playlists.abstractions/interfaces/IPlaylistListItemStore';
|
|
2
|
+
import { IPlaylistListStore } from '../../media-player.playlists.abstractions/interfaces/IPlaylistListStore';
|
|
3
|
+
export declare class PlaylistListItemStore implements IPlaylistListItemStore {
|
|
4
|
+
private readonly playlistList;
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
constructor(playlistList: IPlaylistListStore, id: string, name: string);
|
|
8
|
+
rename(name: string): Promise<void>;
|
|
9
|
+
remove(): Promise<void>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IPlaylistListItemStore } from '../../media-player.playlists.abstractions/interfaces/IPlaylistListItemStore';
|
|
2
|
+
import { IPlaylistListStore } from '../../media-player.playlists.abstractions/interfaces/IPlaylistListStore';
|
|
3
|
+
import { IStateStore } from '@aigamo/route-sphere';
|
|
4
|
+
interface PlaylistListLocalStorageState {
|
|
5
|
+
items?: {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
}[];
|
|
9
|
+
}
|
|
10
|
+
declare class PlaylistListLocalStorageStateStore implements IStateStore<PlaylistListLocalStorageState> {
|
|
11
|
+
private readonly playlistList;
|
|
12
|
+
constructor(playlistList: PlaylistListStore);
|
|
13
|
+
get state(): PlaylistListLocalStorageState;
|
|
14
|
+
set state(value: PlaylistListLocalStorageState);
|
|
15
|
+
validateState(state: unknown): state is PlaylistListLocalStorageState;
|
|
16
|
+
}
|
|
17
|
+
export declare class PlaylistListStore implements IPlaylistListStore {
|
|
18
|
+
readonly localStorageState: PlaylistListLocalStorageStateStore;
|
|
19
|
+
items: IPlaylistListItemStore[];
|
|
20
|
+
constructor();
|
|
21
|
+
createItem(name: string): IPlaylistListItemStore;
|
|
22
|
+
setItems(value: IPlaylistListItemStore[]): void;
|
|
23
|
+
addItem(item: IPlaylistListItemStore): Promise<void>;
|
|
24
|
+
removeItem(item: IPlaylistListItemStore): Promise<void>;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { IPlayQueueStore } from '../../media-player.play-queue.abstractions/interfaces/IPlayQueueStore';
|
|
2
|
+
import { PlayQueueItemDto } from '../../media-player.play-queue.abstractions/interfaces/PlayQueueItemDto';
|
|
3
|
+
import { IPlaylistItemStore } from '../../media-player.playlists.abstractions/interfaces/IPlaylistItemStore';
|
|
4
|
+
import { IPlaylistStore } from '../../media-player.playlists.abstractions/interfaces/IPlaylistStore';
|
|
5
|
+
import { IStateStore } from '@aigamo/route-sphere';
|
|
6
|
+
interface PlaylistLocalStorageState {
|
|
7
|
+
readonly version?: '1.0';
|
|
8
|
+
readonly items?: PlayQueueItemDto[];
|
|
9
|
+
}
|
|
10
|
+
declare class PlaylistLocalStorageStateStore implements IStateStore<PlaylistLocalStorageState> {
|
|
11
|
+
private readonly playlist;
|
|
12
|
+
constructor(playlist: PlaylistStore);
|
|
13
|
+
get state(): PlaylistLocalStorageState;
|
|
14
|
+
set state(value: PlaylistLocalStorageState);
|
|
15
|
+
validateState(state: unknown): state is PlaylistLocalStorageState;
|
|
16
|
+
}
|
|
17
|
+
export declare class PlaylistStore implements IPlaylistStore {
|
|
18
|
+
private readonly playQueue;
|
|
19
|
+
readonly localStorageState: PlaylistLocalStorageStateStore;
|
|
20
|
+
items: IPlaylistItemStore[];
|
|
21
|
+
constructor(playQueue: IPlayQueueStore);
|
|
22
|
+
createItemFromDto(dto: PlayQueueItemDto): IPlaylistItemStore;
|
|
23
|
+
get isEmpty(): boolean;
|
|
24
|
+
get hasMultipleItems(): boolean;
|
|
25
|
+
get selectedItems(): IPlaylistItemStore[];
|
|
26
|
+
get allItemsSelected(): boolean;
|
|
27
|
+
get hasSelectedItems(): boolean;
|
|
28
|
+
get selectedItemsOrAllItems(): IPlaylistItemStore[];
|
|
29
|
+
get canAddSelectedItems(): boolean;
|
|
30
|
+
get canPlaySelectedItemsNext(): boolean;
|
|
31
|
+
get canRemoveSelectedItems(): boolean;
|
|
32
|
+
setItems(value: IPlaylistItemStore[]): void;
|
|
33
|
+
unselectAll(): void;
|
|
34
|
+
selectAll(): void;
|
|
35
|
+
playSelectedItemsNext(): Promise<void>;
|
|
36
|
+
addSelectedItems(): Promise<void>;
|
|
37
|
+
addItems(items: IPlaylistItemStore[]): Promise<void>;
|
|
38
|
+
moveItem(item: IPlaylistItemStore, index: number): void;
|
|
39
|
+
removeItems(items: IPlaylistItemStore[]): Promise<void>;
|
|
40
|
+
removeSelectedItems(): Promise<void>;
|
|
41
|
+
removeOtherItems(item: IPlaylistItemStore): Promise<void>;
|
|
42
|
+
removeItemsAbove(item: IPlaylistItemStore): Promise<void>;
|
|
43
|
+
addItemFromDto(dto: PlayQueueItemDto): Promise<void>;
|
|
44
|
+
playAll(): Promise<void>;
|
|
45
|
+
}
|
|
46
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PlaylistListContext';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './contexts';
|
package/dist/src/features/media-player.playlists.abstractions/interfaces/IPlaylistItemStore.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { PlayQueueItemDto } from '../../media-player.play-queue.abstractions/interfaces/PlayQueueItemDto';
|
|
2
|
+
import { PlayerType } from '@aigamo/nostalgic-diva';
|
|
3
|
+
export interface IPlaylistItemStore {
|
|
4
|
+
readonly id: number;
|
|
5
|
+
readonly isSelected: boolean;
|
|
6
|
+
readonly dto: PlayQueueItemDto;
|
|
7
|
+
readonly url: string;
|
|
8
|
+
readonly type: PlayerType;
|
|
9
|
+
readonly videoId: string;
|
|
10
|
+
readonly title: string;
|
|
11
|
+
readonly isCurrent: boolean;
|
|
12
|
+
readonly canMoveToTop: boolean;
|
|
13
|
+
readonly canMoveToBottom: boolean;
|
|
14
|
+
readonly canRemoveToTop: boolean;
|
|
15
|
+
readonly canRemoveOthers: boolean;
|
|
16
|
+
unselect(): void;
|
|
17
|
+
select(): void;
|
|
18
|
+
toggleSelected(): void;
|
|
19
|
+
play(): Promise<void>;
|
|
20
|
+
remove(): Promise<void>;
|
|
21
|
+
playFirst(): Promise<void>;
|
|
22
|
+
playNext(): Promise<void>;
|
|
23
|
+
addToPlayQueue(): Promise<void>;
|
|
24
|
+
moveToTop(): void;
|
|
25
|
+
moveToBottom(): void;
|
|
26
|
+
removeToTop(): Promise<void>;
|
|
27
|
+
removeOthers(): Promise<void>;
|
|
28
|
+
}
|
package/dist/src/features/media-player.playlists.abstractions/interfaces/IPlaylistListStore.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IPlaylistListItemStore } from './IPlaylistListItemStore';
|
|
2
|
+
export interface IPlaylistListStore {
|
|
3
|
+
readonly items: IPlaylistListItemStore[];
|
|
4
|
+
createItem(name: string): IPlaylistListItemStore;
|
|
5
|
+
setItems(value: IPlaylistListItemStore[]): void;
|
|
6
|
+
addItem(item: IPlaylistListItemStore): Promise<void>;
|
|
7
|
+
removeItem(item: IPlaylistListItemStore): Promise<void>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PlayQueueItemDto } from '../../media-player.play-queue.abstractions/interfaces/PlayQueueItemDto';
|
|
2
|
+
import { IPlaylistItemStore } from './IPlaylistItemStore';
|
|
3
|
+
export interface IPlaylistStore {
|
|
4
|
+
readonly items: IPlaylistItemStore[];
|
|
5
|
+
createItemFromDto(dto: PlayQueueItemDto): IPlaylistItemStore;
|
|
6
|
+
readonly isEmpty: boolean;
|
|
7
|
+
readonly hasMultipleItems: boolean;
|
|
8
|
+
readonly selectedItems: IPlaylistItemStore[];
|
|
9
|
+
readonly allItemsSelected: boolean;
|
|
10
|
+
readonly canAddSelectedItems: boolean;
|
|
11
|
+
readonly canPlaySelectedItemsNext: boolean;
|
|
12
|
+
readonly canRemoveSelectedItems: boolean;
|
|
13
|
+
setItems(value: IPlaylistItemStore[]): void;
|
|
14
|
+
unselectAll(): void;
|
|
15
|
+
selectAll(): void;
|
|
16
|
+
playSelectedItemsNext(): Promise<void>;
|
|
17
|
+
addItems(items: IPlaylistItemStore[]): Promise<void>;
|
|
18
|
+
addSelectedItems(): Promise<void>;
|
|
19
|
+
moveItem(item: IPlaylistItemStore, index: number): void;
|
|
20
|
+
removeItems(items: IPlaylistItemStore[]): Promise<void>;
|
|
21
|
+
removeSelectedItems(): Promise<void>;
|
|
22
|
+
removeItemsAbove(item: IPlaylistItemStore): Promise<void>;
|
|
23
|
+
removeOtherItems(item: IPlaylistItemStore): Promise<void>;
|
|
24
|
+
addItemFromDto(dto: PlayQueueItemDto): Promise<void>;
|
|
25
|
+
playAll(): Promise<void>;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './features';
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Route as rootRouteImport } from './routes/__root';
|
|
2
|
+
import { Route as AuthenticatedRouteImport } from './routes/_authenticated';
|
|
3
|
+
import { Route as AuthenticatedIndexRouteImport } from './routes/_authenticated/index';
|
|
4
|
+
import { Route as AuthenticatedPlayQueueRouteImport } from './routes/_authenticated/play-queue';
|
|
5
|
+
import { Route as AuthenticatedPlaylistsIndexRouteImport } from './routes/_authenticated/playlists/index';
|
|
6
|
+
import { Route as AuthenticatedPlaylistsPlaylistIdIndexRouteImport } from './routes/_authenticated/playlists/$playlistId.index';
|
|
7
|
+
declare const AuthenticatedRoute: import('@tanstack/router-core').Route<import('@tanstack/react-router').Register, import('@tanstack/react-router').RootRoute<import('@tanstack/react-router').Register, undefined, {}, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "", "", "/_authenticated", "/_authenticated", undefined, import('@tanstack/router-core').ResolveParams<"">, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>;
|
|
8
|
+
declare const AuthenticatedIndexRoute: import('@tanstack/router-core').Route<import('@tanstack/react-router').Register, import('@tanstack/router-core').Route<import('@tanstack/react-router').Register, import('@tanstack/react-router').RootRoute<import('@tanstack/react-router').Register, undefined, {}, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "", "", "/_authenticated", "/_authenticated", undefined, import('@tanstack/router-core').ResolveParams<"">, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "/_authenticated/", "/_authenticated/", undefined, import('@tanstack/router-core').ResolveParams<"/">, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>;
|
|
9
|
+
declare const AuthenticatedPlayQueueRoute: import('@tanstack/router-core').Route<import('@tanstack/react-router').Register, import('@tanstack/router-core').Route<import('@tanstack/react-router').Register, import('@tanstack/react-router').RootRoute<import('@tanstack/react-router').Register, undefined, {}, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "", "", "/_authenticated", "/_authenticated", undefined, import('@tanstack/router-core').ResolveParams<"">, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/play-queue", "/play-queue", "/_authenticated/play-queue", "/_authenticated/play-queue", undefined, import('@tanstack/router-core').ResolveParams<"/play-queue">, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>;
|
|
10
|
+
declare const AuthenticatedPlaylistsIndexRoute: import('@tanstack/router-core').Route<import('@tanstack/react-router').Register, import('@tanstack/router-core').Route<import('@tanstack/react-router').Register, import('@tanstack/react-router').RootRoute<import('@tanstack/react-router').Register, undefined, {}, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "", "", "/_authenticated", "/_authenticated", undefined, import('@tanstack/router-core').ResolveParams<"">, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/playlists", "/playlists", "/_authenticated/playlists/", "/_authenticated/playlists/", undefined, import('@tanstack/router-core').ResolveParams<"/playlists">, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>;
|
|
11
|
+
declare const AuthenticatedPlaylistsPlaylistIdIndexRoute: import('@tanstack/router-core').Route<import('@tanstack/react-router').Register, import('@tanstack/router-core').Route<import('@tanstack/react-router').Register, import('@tanstack/react-router').RootRoute<import('@tanstack/react-router').Register, undefined, {}, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "", "", "/_authenticated", "/_authenticated", undefined, import('@tanstack/router-core').ResolveParams<"">, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/playlists/$playlistId", "/playlists/$playlistId", "/_authenticated/playlists/$playlistId/", "/_authenticated/playlists/$playlistId/", undefined, import('@tanstack/router-core').ResolveParams<"/playlists/$playlistId">, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>;
|
|
12
|
+
export interface FileRoutesByFullPath {
|
|
13
|
+
'/play-queue': typeof AuthenticatedPlayQueueRoute;
|
|
14
|
+
'/': typeof AuthenticatedIndexRoute;
|
|
15
|
+
'/playlists': typeof AuthenticatedPlaylistsIndexRoute;
|
|
16
|
+
'/playlists/$playlistId': typeof AuthenticatedPlaylistsPlaylistIdIndexRoute;
|
|
17
|
+
}
|
|
18
|
+
export interface FileRoutesByTo {
|
|
19
|
+
'/play-queue': typeof AuthenticatedPlayQueueRoute;
|
|
20
|
+
'/': typeof AuthenticatedIndexRoute;
|
|
21
|
+
'/playlists': typeof AuthenticatedPlaylistsIndexRoute;
|
|
22
|
+
'/playlists/$playlistId': typeof AuthenticatedPlaylistsPlaylistIdIndexRoute;
|
|
23
|
+
}
|
|
24
|
+
export interface FileRoutesById {
|
|
25
|
+
__root__: typeof rootRouteImport;
|
|
26
|
+
'/_authenticated': typeof AuthenticatedRouteWithChildren;
|
|
27
|
+
'/_authenticated/play-queue': typeof AuthenticatedPlayQueueRoute;
|
|
28
|
+
'/_authenticated/': typeof AuthenticatedIndexRoute;
|
|
29
|
+
'/_authenticated/playlists/': typeof AuthenticatedPlaylistsIndexRoute;
|
|
30
|
+
'/_authenticated/playlists/$playlistId/': typeof AuthenticatedPlaylistsPlaylistIdIndexRoute;
|
|
31
|
+
}
|
|
32
|
+
export interface FileRouteTypes {
|
|
33
|
+
fileRoutesByFullPath: FileRoutesByFullPath;
|
|
34
|
+
fullPaths: '/play-queue' | '/' | '/playlists' | '/playlists/$playlistId';
|
|
35
|
+
fileRoutesByTo: FileRoutesByTo;
|
|
36
|
+
to: '/play-queue' | '/' | '/playlists' | '/playlists/$playlistId';
|
|
37
|
+
id: '__root__' | '/_authenticated' | '/_authenticated/play-queue' | '/_authenticated/' | '/_authenticated/playlists/' | '/_authenticated/playlists/$playlistId/';
|
|
38
|
+
fileRoutesById: FileRoutesById;
|
|
39
|
+
}
|
|
40
|
+
export interface RootRouteChildren {
|
|
41
|
+
AuthenticatedRoute: typeof AuthenticatedRouteWithChildren;
|
|
42
|
+
}
|
|
43
|
+
declare module '@tanstack/react-router' {
|
|
44
|
+
interface FileRoutesByPath {
|
|
45
|
+
'/_authenticated': {
|
|
46
|
+
id: '/_authenticated';
|
|
47
|
+
path: '';
|
|
48
|
+
fullPath: '';
|
|
49
|
+
preLoaderRoute: typeof AuthenticatedRouteImport;
|
|
50
|
+
parentRoute: typeof rootRouteImport;
|
|
51
|
+
};
|
|
52
|
+
'/_authenticated/': {
|
|
53
|
+
id: '/_authenticated/';
|
|
54
|
+
path: '/';
|
|
55
|
+
fullPath: '/';
|
|
56
|
+
preLoaderRoute: typeof AuthenticatedIndexRouteImport;
|
|
57
|
+
parentRoute: typeof AuthenticatedRoute;
|
|
58
|
+
};
|
|
59
|
+
'/_authenticated/play-queue': {
|
|
60
|
+
id: '/_authenticated/play-queue';
|
|
61
|
+
path: '/play-queue';
|
|
62
|
+
fullPath: '/play-queue';
|
|
63
|
+
preLoaderRoute: typeof AuthenticatedPlayQueueRouteImport;
|
|
64
|
+
parentRoute: typeof AuthenticatedRoute;
|
|
65
|
+
};
|
|
66
|
+
'/_authenticated/playlists/': {
|
|
67
|
+
id: '/_authenticated/playlists/';
|
|
68
|
+
path: '/playlists';
|
|
69
|
+
fullPath: '/playlists';
|
|
70
|
+
preLoaderRoute: typeof AuthenticatedPlaylistsIndexRouteImport;
|
|
71
|
+
parentRoute: typeof AuthenticatedRoute;
|
|
72
|
+
};
|
|
73
|
+
'/_authenticated/playlists/$playlistId/': {
|
|
74
|
+
id: '/_authenticated/playlists/$playlistId/';
|
|
75
|
+
path: '/playlists/$playlistId';
|
|
76
|
+
fullPath: '/playlists/$playlistId';
|
|
77
|
+
preLoaderRoute: typeof AuthenticatedPlaylistsPlaylistIdIndexRouteImport;
|
|
78
|
+
parentRoute: typeof AuthenticatedRoute;
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
interface AuthenticatedRouteChildren {
|
|
83
|
+
AuthenticatedPlayQueueRoute: typeof AuthenticatedPlayQueueRoute;
|
|
84
|
+
AuthenticatedIndexRoute: typeof AuthenticatedIndexRoute;
|
|
85
|
+
AuthenticatedPlaylistsIndexRoute: typeof AuthenticatedPlaylistsIndexRoute;
|
|
86
|
+
AuthenticatedPlaylistsPlaylistIdIndexRoute: typeof AuthenticatedPlaylistsPlaylistIdIndexRoute;
|
|
87
|
+
}
|
|
88
|
+
declare const AuthenticatedRouteChildren: AuthenticatedRouteChildren;
|
|
89
|
+
declare const AuthenticatedRouteWithChildren: import('@tanstack/router-core').Route<import('@tanstack/react-router').Register, import('@tanstack/react-router').RootRoute<import('@tanstack/react-router').Register, undefined, {}, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "", "", "/_authenticated", "/_authenticated", undefined, import('@tanstack/router-core').ResolveParams<"">, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, AuthenticatedRouteChildren, unknown, unknown, unknown, undefined>;
|
|
90
|
+
export declare const routeTree: import('@tanstack/router-core').Route<import('@tanstack/react-router').Register, any, "/", "/", string, "__root__", undefined, {}, {}, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, RootRouteChildren, FileRouteTypes, unknown, unknown, undefined>;
|
|
91
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Route: import('@tanstack/react-router').RootRoute<import('@tanstack/react-router').Register, undefined, {}, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Route: import('@tanstack/router-core').Route<import('@tanstack/react-router').Register, import('@tanstack/router-core').Route<import('@tanstack/react-router').Register, import('@tanstack/react-router').RootRoute<import('@tanstack/react-router').Register, undefined, {}, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "", "", "/_authenticated", "/_authenticated", undefined, import('@tanstack/router-core').ResolveParams<"">, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/", "/", "/_authenticated/", "/_authenticated/", undefined, import('@tanstack/router-core').ResolveParams<"/">, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Route: import('@tanstack/router-core').Route<import('@tanstack/react-router').Register, import('@tanstack/router-core').Route<import('@tanstack/react-router').Register, import('@tanstack/react-router').RootRoute<import('@tanstack/react-router').Register, undefined, {}, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "", "", "/_authenticated", "/_authenticated", undefined, import('@tanstack/router-core').ResolveParams<"">, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/play-queue", "/play-queue", "/_authenticated/play-queue", "/_authenticated/play-queue", undefined, import('@tanstack/router-core').ResolveParams<"/play-queue">, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Route: import('@tanstack/router-core').Route<import('@tanstack/react-router').Register, import('@tanstack/router-core').Route<import('@tanstack/react-router').Register, import('@tanstack/react-router').RootRoute<import('@tanstack/react-router').Register, undefined, {}, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "", "", "/_authenticated", "/_authenticated", undefined, import('@tanstack/router-core').ResolveParams<"">, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/playlists/$playlistId", "/playlists/$playlistId", "/_authenticated/playlists/$playlistId/", "/_authenticated/playlists/$playlistId/", undefined, import('@tanstack/router-core').ResolveParams<"/playlists/$playlistId">, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Route: import('@tanstack/router-core').Route<import('@tanstack/react-router').Register, import('@tanstack/router-core').Route<import('@tanstack/react-router').Register, import('@tanstack/react-router').RootRoute<import('@tanstack/react-router').Register, undefined, {}, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "", "", "/_authenticated", "/_authenticated", undefined, import('@tanstack/router-core').ResolveParams<"">, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "/playlists", "/playlists", "/_authenticated/playlists/", "/_authenticated/playlists/", undefined, import('@tanstack/router-core').ResolveParams<"/playlists">, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Route: import('@tanstack/router-core').Route<import('@tanstack/react-router').Register, import('@tanstack/react-router').RootRoute<import('@tanstack/react-router').Register, undefined, {}, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>, "", "", "/_authenticated", "/_authenticated", undefined, import('@tanstack/router-core').ResolveParams<"">, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, import('@tanstack/router-core').AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|