@await-widget/runtime 0.0.11 → 0.0.12
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/package.json +1 -1
- package/types/bridge.d.ts +1 -1
- package/types/model.d.ts +3 -7
package/package.json
CHANGED
package/types/bridge.d.ts
CHANGED
|
@@ -69,7 +69,7 @@ export declare const AwaitMedia: {
|
|
|
69
69
|
nowPlayingMedia(config?: AwaitNowPlayingConfig): Promise<AwaitNowPlayingInfo>;
|
|
70
70
|
mediaPlayerCommand(
|
|
71
71
|
command: AwaitMusicPlayerCommand,
|
|
72
|
-
config?:
|
|
72
|
+
config?: AwaitMediaPlayConfig,
|
|
73
73
|
): Promise<void>;
|
|
74
74
|
};
|
|
75
75
|
export declare const AwaitStore: {
|
package/types/model.d.ts
CHANGED
|
@@ -171,7 +171,9 @@ type AwaitMusicPlayerCommand =
|
|
|
171
171
|
| 'toggle'
|
|
172
172
|
| 'next'
|
|
173
173
|
| 'previous'
|
|
174
|
-
| 'favorite'
|
|
174
|
+
| 'favorite'
|
|
175
|
+
| 'clearRating'
|
|
176
|
+
| 'dislike';
|
|
175
177
|
|
|
176
178
|
type AwaitMediaPlayConfig =
|
|
177
179
|
| {
|
|
@@ -197,12 +199,6 @@ type AwaitMediaPlayConfig =
|
|
|
197
199
|
id?: string;
|
|
198
200
|
};
|
|
199
201
|
|
|
200
|
-
type AwaitMediaFavoriteConfig = {
|
|
201
|
-
rating?: -1 | 0 | 1;
|
|
202
|
-
};
|
|
203
|
-
|
|
204
|
-
type AwaitMediaCommandConfig = AwaitMediaPlayConfig | AwaitMediaFavoriteConfig;
|
|
205
|
-
|
|
206
202
|
type AwaitCalendarConfig = {
|
|
207
203
|
start?: Date;
|
|
208
204
|
end?: Date;
|