@aigamo/hydrangean-diva 0.0.1-alpha.7 → 0.0.1-alpha.71
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 +2264 -2463
- package/dist/index.es.js.map +1 -1
- package/dist/src/App.d.ts +9 -0
- package/dist/src/features/media-player/components/AddVideoButton.d.ts +7 -0
- package/dist/src/features/media-player/components/AddVideoModal.d.ts +5 -0
- package/dist/src/features/media-player/components/BottomBar.d.ts +8 -0
- package/dist/src/features/media-player/components/BottomBarCenterControls.d.ts +7 -0
- package/dist/src/features/media-player/components/BottomBarLeftControls.d.ts +4 -0
- package/dist/src/features/media-player/components/BottomBarRightControls.d.ts +6 -0
- package/dist/src/features/media-player/components/CookieConsentPanel.d.ts +8 -0
- package/dist/src/features/media-player/components/CreatePlaylistButton.d.ts +7 -0
- package/dist/src/features/media-player/components/CreatePlaylistModal.d.ts +4 -0
- package/dist/src/features/media-player/components/DeletePlaylistConfirmModal.d.ts +7 -0
- package/dist/src/features/media-player/components/DeveloperToolsButton.d.ts +9 -0
- package/dist/src/features/media-player/components/MiniPlayer.d.ts +4 -0
- package/dist/src/features/media-player/components/PlayQueueCommandBar.d.ts +9 -0
- package/dist/src/features/media-player/components/PlayQueueSection.d.ts +9 -0
- package/dist/src/features/media-player/components/PlayQueueTable.d.ts +9 -0
- package/dist/src/features/media-player/components/PlaylistCommandBar.d.ts +9 -0
- package/dist/src/features/media-player/components/PlaylistListTable.d.ts +9 -0
- package/dist/src/features/media-player/components/PlaylistSection.d.ts +9 -0
- package/dist/src/features/media-player/components/PlaylistTable.d.ts +9 -0
- package/dist/src/features/media-player/components/RenamePlaylistModal.d.ts +7 -0
- package/dist/{AppRoutes.d.ts → src/features/media-player/components/SeekBar.d.ts} +1 -1
- package/dist/src/features/media-player/contexts/BottomBarContext.d.ts +3 -0
- package/dist/src/features/media-player/contexts/MiniPlayerContext.d.ts +3 -0
- package/dist/src/features/media-player/contexts/PlayQueueContext.d.ts +3 -0
- package/dist/src/features/media-player/contexts/PlayerContext.d.ts +3 -0
- package/dist/src/features/media-player/contexts/PlaylistListContext.d.ts +3 -0
- package/dist/src/features/media-player/helpers/bottomBarHeight.d.ts +1 -0
- package/dist/src/features/media-player/helpers/commandBarHeight.d.ts +1 -0
- package/dist/src/features/media-player/helpers/commandBarSpacerHeight.d.ts +1 -0
- package/dist/src/features/media-player/helpers/findVideoService.d.ts +1 -0
- package/dist/src/features/media-player/helpers/headerHeight.d.ts +1 -0
- package/dist/src/features/media-player/helpers/isNoembedResult.d.ts +5 -0
- package/dist/src/features/media-player/helpers/miniPlayerSize.d.ts +4 -0
- package/dist/src/features/media-player/helpers/videoServiceIcons.d.ts +2 -0
- package/dist/src/features/media-player/index.d.ts +19 -0
- package/dist/src/features/media-player/interfaces/IBottomBarStore.d.ts +32 -0
- package/dist/src/features/media-player/interfaces/IMiniPlayerStore.d.ts +12 -0
- package/dist/{features/media-player/stores → src/features/media-player/interfaces}/IPlayQueueItemStore.d.ts +4 -8
- package/dist/src/features/media-player/interfaces/IPlayQueueStore.d.ts +46 -0
- package/dist/src/features/media-player/interfaces/IPlayerStore.d.ts +13 -0
- package/dist/src/features/media-player/interfaces/IPlaylistItemStore.d.ts +28 -0
- package/dist/src/features/media-player/interfaces/IPlaylistListItemStore.d.ts +6 -0
- package/dist/src/features/media-player/interfaces/IPlaylistListStore.d.ts +8 -0
- package/dist/src/features/media-player/interfaces/IPlaylistStore.d.ts +26 -0
- package/dist/src/features/media-player/interfaces/PlayQueueDto.d.ts +11 -0
- package/dist/src/features/media-player/interfaces/PlayQueueItemDto.d.ts +9 -0
- package/dist/src/features/media-player/pages/PlaylistDetailsPage.d.ts +9 -0
- package/dist/src/features/media-player/pages/PlaylistListPage.d.ts +2 -0
- package/dist/src/features/media-player/providers/BottomBarProvider.d.ts +6 -0
- package/dist/src/features/media-player/providers/HydrangeanDivaProvider.d.ts +7 -0
- package/dist/src/features/media-player/providers/MiniPlayerProvider.d.ts +6 -0
- package/dist/src/features/media-player/providers/PlayQueueProvider.d.ts +6 -0
- package/dist/src/features/media-player/providers/PlayerProvider.d.ts +6 -0
- package/dist/src/features/media-player/providers/PlaylistListProvider.d.ts +6 -0
- package/dist/src/features/media-player/stores/BottomBarStore.d.ts +54 -0
- package/dist/src/features/media-player/stores/MiniPlayerStore.d.ts +21 -0
- package/dist/{features → src/features}/media-player/stores/PlayQueueItemStore.d.ts +8 -9
- package/dist/{features → src/features}/media-player/stores/PlayQueueStore.d.ts +25 -19
- package/dist/src/features/media-player/stores/PlayerStore.d.ts +17 -0
- package/dist/src/features/media-player/stores/PlaylistItemStore.d.ts +39 -0
- package/dist/src/features/media-player/stores/PlaylistListItemStore.d.ts +10 -0
- package/dist/src/features/media-player/stores/PlaylistListStore.d.ts +26 -0
- package/dist/src/features/media-player/stores/PlaylistStore.d.ts +46 -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/src/shared/components/AppLink.d.ts +6 -0
- package/dist/src/shared/components/AppPageTemplateHeader.d.ts +18 -0
- package/dist/src/shared/lib/featureFlags.d.ts +5 -0
- package/dist/src/shared/stores/localStorageStateKeys.d.ts +6 -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/index.d.ts +0 -2
- 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/{features → src/features}/media-player/components/MediaPlayerLayout.d.ts +0 -0
- /package/dist/{features/media-player/stores → src/features/media-player/interfaces}/RepeatMode.d.ts +0 -0
- /package/dist/{features → src/features}/media-player/pages/PlayQueuePage.d.ts +0 -0
- /package/dist/{features/media-player/components → src/layout}/Header.d.ts +0 -0
- /package/dist/{main.d.ts → src/main.d.ts} +0 -0
- /package/dist/{common → src/shared}/components/Compose.d.ts +0 -0
- /package/dist/{features/media-player → src/shared}/stores/getOrAddSchema.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/package.json
CHANGED
|
@@ -1,72 +1,83 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigamo/hydrangean-diva",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.71",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@aigamo/nostalgic-diva": "^1.14.2",
|
|
7
|
-
"@aigamo/route-sphere": "^2.0.2",
|
|
8
6
|
"@elastic/datemath": "^5.0.3",
|
|
9
|
-
"@elastic/eui": "^
|
|
7
|
+
"@elastic/eui": "^113.1.0",
|
|
10
8
|
"@emotion/cache": "^11.14.0",
|
|
11
9
|
"@emotion/css": "^11.13.5",
|
|
12
10
|
"@emotion/react": "^11.14.0",
|
|
13
|
-
"@fluentui/react-icons": "^2.0.
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
11
|
+
"@fluentui/react-icons": "^2.0.319",
|
|
12
|
+
"@tanstack/react-router": "^1.144.0",
|
|
13
|
+
"@tanstack/react-router-devtools": "^1.144.0",
|
|
14
|
+
"ajv": "^8.20.0",
|
|
15
|
+
"ez-modal-react": "^1.0.5",
|
|
16
|
+
"lodash-es": "^4.18.1",
|
|
17
|
+
"mobx": "^6.15.3",
|
|
18
|
+
"mobx-react-lite": "^4.1.1",
|
|
18
19
|
"moment": "^2.30.1",
|
|
20
|
+
"nprogress": "^0.2.0",
|
|
19
21
|
"prop-types": "^15.8.1",
|
|
20
|
-
"qs": "^6.
|
|
22
|
+
"qs": "^6.15.2",
|
|
21
23
|
"react": "^18.3.1",
|
|
22
24
|
"react-dom": "^18.3.1",
|
|
23
|
-
"react-router-dom": "^6.28.0",
|
|
24
25
|
"react-sortablejs": "^6.1.4",
|
|
25
|
-
"sortablejs": "^1.15.
|
|
26
|
-
"utility-types": "^3.11.0"
|
|
26
|
+
"sortablejs": "^1.15.7",
|
|
27
|
+
"utility-types": "^3.11.0",
|
|
28
|
+
"@aigamo/nostalgic-diva": "0.0.1-alpha.71",
|
|
29
|
+
"@aigamo/route-sphere": "0.0.1-alpha.71"
|
|
27
30
|
},
|
|
28
31
|
"devDependencies": {
|
|
32
|
+
"@eslint/compat": "^2.1.0",
|
|
33
|
+
"@eslint/eslintrc": "^3.3.5",
|
|
34
|
+
"@tanstack/router-plugin": "^1.145.2",
|
|
35
|
+
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
|
29
36
|
"@types/lodash-es": "^4.17.12",
|
|
30
|
-
"@types/node": "^
|
|
31
|
-
"@types/
|
|
32
|
-
"@types/
|
|
33
|
-
"@types/react
|
|
34
|
-
"@
|
|
35
|
-
"@typescript-eslint/
|
|
36
|
-
"@
|
|
37
|
-
"@
|
|
38
|
-
"
|
|
39
|
-
"
|
|
37
|
+
"@types/node": "^25.0.3",
|
|
38
|
+
"@types/nprogress": "^0.2.3",
|
|
39
|
+
"@types/qs": "^6.15.1",
|
|
40
|
+
"@types/react": "^18.3.27",
|
|
41
|
+
"@types/react-dom": "^18.3.7",
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^8.59.3",
|
|
43
|
+
"@typescript-eslint/parser": "^8.59.3",
|
|
44
|
+
"@typescript/native-preview": "7.0.0-dev.20260421.2",
|
|
45
|
+
"@vite-pwa/assets-generator": "^1.0.2",
|
|
46
|
+
"@vitejs/plugin-react": "^6.0.2",
|
|
47
|
+
"eslint": "^10.4.0",
|
|
48
|
+
"eslint-config-prettier": "^10.1.8",
|
|
40
49
|
"eslint-config-react-app": "^7.0.1",
|
|
50
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
51
|
+
"eslint-plugin-boundaries": "^6.0.2",
|
|
41
52
|
"eslint-plugin-flowtype": "^8.0.3",
|
|
42
|
-
"eslint-plugin-import": "^2.
|
|
53
|
+
"eslint-plugin-import": "^2.32.0",
|
|
43
54
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
44
|
-
"eslint-plugin-prettier": "^5.
|
|
45
|
-
"eslint-plugin-react": "^7.37.
|
|
46
|
-
"eslint-plugin-react-hooks": "^
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"vite": "^
|
|
52
|
-
"vite-plugin-
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"workbox-
|
|
56
|
-
"workbox-
|
|
57
|
-
"workbox-routing": "^7.3.0"
|
|
55
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
56
|
+
"eslint-plugin-react": "^7.37.5",
|
|
57
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
58
|
+
"jsdom": "^29.1.1",
|
|
59
|
+
"prettier": "^3.8.3",
|
|
60
|
+
"vite": "^8.0.13",
|
|
61
|
+
"vite-plugin-dts": "^5.0.0",
|
|
62
|
+
"vite-plugin-externalize-deps": "^0.10.0",
|
|
63
|
+
"vite-plugin-pwa": "^1.3.0",
|
|
64
|
+
"vitest": "^4.1.6",
|
|
65
|
+
"workbox-core": "^7.4.1",
|
|
66
|
+
"workbox-precaching": "^7.4.1",
|
|
67
|
+
"workbox-routing": "^7.4.1"
|
|
58
68
|
},
|
|
59
69
|
"peerDependencies": {
|
|
60
|
-
"@aigamo/nostalgic-diva": "^1.14.2",
|
|
61
|
-
"@aigamo/route-sphere": "^2.0.2",
|
|
62
70
|
"@elastic/datemath": "^5.0.3",
|
|
63
|
-
"@elastic/eui": "^
|
|
71
|
+
"@elastic/eui": "^113.1.0",
|
|
64
72
|
"@emotion/cache": "^11.14.0",
|
|
65
73
|
"@emotion/css": "^11.13.5",
|
|
66
74
|
"@emotion/react": "^11.14.0",
|
|
67
|
-
"@fluentui/react-icons": "^2.0.
|
|
75
|
+
"@fluentui/react-icons": "^2.0.319",
|
|
76
|
+
"@tanstack/react-router": "^1.144.0",
|
|
77
|
+
"@tanstack/react-router-devtools": "^1.144.0",
|
|
68
78
|
"react": "^18.3.1",
|
|
69
|
-
"react-dom": "^18.3.1"
|
|
79
|
+
"react-dom": "^18.3.1",
|
|
80
|
+
"@aigamo/route-sphere": "0.0.1-alpha.71"
|
|
70
81
|
},
|
|
71
82
|
"files": [
|
|
72
83
|
"dist"
|
|
@@ -108,10 +119,11 @@
|
|
|
108
119
|
"url": "https://github.com/ycanardeau/hydrangean-diva/issues"
|
|
109
120
|
},
|
|
110
121
|
"scripts": {
|
|
111
|
-
"dev": "vite",
|
|
112
|
-
"build": "
|
|
113
|
-
"build:
|
|
114
|
-
"
|
|
122
|
+
"dev": "vite --config vite.config.app.ts",
|
|
123
|
+
"build": "tsgo -b && vite build",
|
|
124
|
+
"build:app": "tsgo -b && vite build --config vite.config.app.ts",
|
|
125
|
+
"lint": "eslint .",
|
|
126
|
+
"preview": "vite preview --config vite.config.app.ts",
|
|
115
127
|
"test": "vitest --environment=jsdom"
|
|
116
128
|
}
|
|
117
129
|
}
|
package/dist/App.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React, ReactElement } from 'react';
|
|
2
|
-
import { PlayQueueStore } from '../stores/PlayQueueStore';
|
|
3
|
-
interface AddVideoButtonProps {
|
|
4
|
-
playQueueStore: PlayQueueStore;
|
|
5
|
-
}
|
|
6
|
-
export declare const AddVideoButton: React.MemoExoticComponent<({ playQueueStore }: AddVideoButtonProps) => ReactElement>;
|
|
7
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { PlayerStore } from '../stores/PlayerStore';
|
|
3
|
-
import { PlayQueueStore } from '../stores/PlayQueueStore';
|
|
4
|
-
export declare const bottomBarHeight = 80;
|
|
5
|
-
interface BottomBarProps {
|
|
6
|
-
playerStore: PlayerStore;
|
|
7
|
-
playQueueStore: PlayQueueStore;
|
|
8
|
-
}
|
|
9
|
-
export declare const BottomBar: (({ playerStore, playQueueStore }: BottomBarProps) => ReactElement) & {
|
|
10
|
-
displayName: string;
|
|
11
|
-
};
|
|
12
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { PlayerStore } from '../stores/PlayerStore';
|
|
3
|
-
import { PlayQueueStore } from '../stores/PlayQueueStore';
|
|
4
|
-
interface HydrangeanDivaProps {
|
|
5
|
-
playerStore: PlayerStore;
|
|
6
|
-
playQueueStore: PlayQueueStore;
|
|
7
|
-
}
|
|
8
|
-
export declare const HydrangeanDiva: (({ playerStore, playQueueStore }: HydrangeanDivaProps) => ReactElement) & {
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
11
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { PlayerStore } from '../stores/PlayerStore';
|
|
3
|
-
import { PlayQueueStore } from '../stores/PlayQueueStore';
|
|
4
|
-
export declare const miniPlayerSize: {
|
|
5
|
-
readonly width: number;
|
|
6
|
-
readonly height: number;
|
|
7
|
-
};
|
|
8
|
-
interface MiniPlayerProps {
|
|
9
|
-
playerStore: PlayerStore;
|
|
10
|
-
playQueueStore: PlayQueueStore;
|
|
11
|
-
}
|
|
12
|
-
export declare const MiniPlayer: (({ playerStore, playQueueStore }: MiniPlayerProps) => ReactElement) & {
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
15
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { PlayQueueStore } from '../stores/PlayQueueStore';
|
|
3
|
-
interface PlayQueueStoreProviderProps {
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
export declare const PlayQueueStoreProvider: ({ children, }: PlayQueueStoreProviderProps) => ReactElement;
|
|
7
|
-
export declare const usePlayQueueStore: () => PlayQueueStore;
|
|
8
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { PlayQueueStore } from '../stores/PlayQueueStore';
|
|
3
|
-
interface PlayQueueTableProps {
|
|
4
|
-
playQueueStore: PlayQueueStore;
|
|
5
|
-
}
|
|
6
|
-
export declare const PlayQueueTable: (({ playQueueStore }: PlayQueueTableProps) => ReactElement) & {
|
|
7
|
-
displayName: string;
|
|
8
|
-
};
|
|
9
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { PlayerStore } from '../stores/PlayerStore';
|
|
3
|
-
interface PlayerStoreProviderProps {
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
export declare const PlayerStoreProvider: ({ children, }: PlayerStoreProviderProps) => ReactElement;
|
|
7
|
-
export declare const usePlayerStore: () => PlayerStore;
|
|
8
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IPlayQueueItemStore, PlayQueueItemDto } from './IPlayQueueItemStore';
|
|
2
|
-
export interface IPlayQueueStore {
|
|
3
|
-
items: IPlayQueueItemStore[];
|
|
4
|
-
createItem(dto: PlayQueueItemDto): IPlayQueueItemStore;
|
|
5
|
-
readonly currentItem: IPlayQueueItemStore | undefined;
|
|
6
|
-
readonly hasMultipleItems: boolean;
|
|
7
|
-
setCurrentItem(item: IPlayQueueItemStore | undefined): void;
|
|
8
|
-
playNext(items: IPlayQueueItemStore[]): Promise<void>;
|
|
9
|
-
addItems(items: IPlayQueueItemStore[]): Promise<void>;
|
|
10
|
-
playFirst(items: IPlayQueueItemStore[]): Promise<void>;
|
|
11
|
-
moveItem(item: IPlayQueueItemStore, index: number): void;
|
|
12
|
-
removeItems(items: IPlayQueueItemStore[]): Promise<void>;
|
|
13
|
-
removeItemsAbove(item: IPlayQueueItemStore): Promise<void>;
|
|
14
|
-
removeOtherItems(item: IPlayQueueItemStore): Promise<void>;
|
|
15
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { AnnotationsMap } from 'mobx';
|
|
2
|
-
import { IObservableStateProvider } from './IObservableStateProvider';
|
|
3
|
-
export declare class MobXObservableStateProvider implements IObservableStateProvider {
|
|
4
|
-
makeObservable<T extends object, AdditionalKeys extends PropertyKey = never>(target: T, annotations?: AnnotationsMap<T, AdditionalKeys>): T;
|
|
5
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { AnnotationsMap } from 'mobx';
|
|
2
|
-
import { IObservableStateProvider } from './IObservableStateProvider';
|
|
3
|
-
export declare class ObservableStateProvider implements IObservableStateProvider {
|
|
4
|
-
makeObservable<T extends object, AdditionalKeys extends PropertyKey = never>(target: T, annotations?: AnnotationsMap<T, AdditionalKeys>): T;
|
|
5
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PlayQueueItemDto } from './IPlayQueueItemStore';
|
|
2
|
-
import { RepeatMode } from './RepeatMode';
|
|
3
|
-
export interface PlayQueueLocalStorageState {
|
|
4
|
-
version?: '1.0';
|
|
5
|
-
repeat?: RepeatMode;
|
|
6
|
-
shuffle?: boolean;
|
|
7
|
-
items?: PlayQueueItemDto[];
|
|
8
|
-
currentIndex?: number;
|
|
9
|
-
}
|
|
10
|
-
export declare const validatePlayQueueLocalStorageState: import('ajv').ValidateFunction<PlayQueueLocalStorageState>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { TimeEvent } from '@aigamo/nostalgic-diva';
|
|
2
|
-
import { IObservableStateProvider } from './IObservableStateProvider';
|
|
3
|
-
export declare class PlayerStore {
|
|
4
|
-
playing: boolean;
|
|
5
|
-
percent: number;
|
|
6
|
-
seeking: boolean;
|
|
7
|
-
constructor(observableStateProvider: IObservableStateProvider);
|
|
8
|
-
setPlaying(value: boolean): void;
|
|
9
|
-
setPercent(value: number): void;
|
|
10
|
-
setSeeking(value: boolean): void;
|
|
11
|
-
onPlay(): void;
|
|
12
|
-
onPause(): void;
|
|
13
|
-
onEnded(): void;
|
|
14
|
-
onTimeUpdate({ percent }: TimeEvent): void;
|
|
15
|
-
}
|
|
File without changes
|
/package/dist/{features/media-player/stores → src/features/media-player/interfaces}/RepeatMode.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|