@types/chrome 0.0.244 → 0.0.245

Sign up to get free protection for your applications and to get access to all the features.
chrome/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Chrome extension development (http://
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 25 Aug 2023 17:33:39 GMT
11
+ * Last updated: Mon, 04 Sep 2023 15:40:47 GMT
12
12
  * Dependencies: [@types/filesystem](https://npmjs.com/package/@types/filesystem), [@types/har-format](https://npmjs.com/package/@types/har-format)
13
13
  * Global values: `chrome`
14
14
 
@@ -7,89 +7,89 @@ declare namespace chrome.cast {
7
7
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast#.AutoJoinPolicy
8
8
  */
9
9
  export enum AutoJoinPolicy {
10
- CUSTOM_CONTROLLER_SCOPED = 'custom_controller_scoped',
11
- TAB_AND_ORIGIN_SCOPED = 'tab_and_origin_scoped',
12
- ORIGIN_SCOPED = 'origin_scoped',
13
- PAGE_SCOPED = 'page_scoped',
10
+ CUSTOM_CONTROLLER_SCOPED = "custom_controller_scoped",
11
+ TAB_AND_ORIGIN_SCOPED = "tab_and_origin_scoped",
12
+ ORIGIN_SCOPED = "origin_scoped",
13
+ PAGE_SCOPED = "page_scoped",
14
14
  }
15
15
 
16
16
  /**
17
17
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast#.DefaultActionPolicy
18
18
  */
19
19
  export enum DefaultActionPolicy {
20
- CREATE_SESSION = 'create_session',
21
- CAST_THIS_TAB = 'cast_this_tab',
20
+ CREATE_SESSION = "create_session",
21
+ CAST_THIS_TAB = "cast_this_tab",
22
22
  }
23
23
 
24
24
  /**
25
25
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast#.Capability
26
26
  */
27
27
  export enum Capability {
28
- VIDEO_OUT = 'video_out',
29
- AUDIO_OUT = 'audio_out',
30
- VIDEO_IN = 'video_in',
31
- AUDIO_IN = 'audio_in',
32
- MULTIZONE_GROUP = 'multizone_group',
28
+ VIDEO_OUT = "video_out",
29
+ AUDIO_OUT = "audio_out",
30
+ VIDEO_IN = "video_in",
31
+ AUDIO_IN = "audio_in",
32
+ MULTIZONE_GROUP = "multizone_group",
33
33
  }
34
34
 
35
35
  /**
36
36
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast#.ErrorCode
37
37
  */
38
38
  export enum ErrorCode {
39
- CANCEL = 'cancel',
40
- TIMEOUT = 'timeout',
41
- API_NOT_INITIALIZED = 'api_not_initialized',
42
- INVALID_PARAMETER = 'invalid_parameter',
43
- EXTENSION_NOT_COMPATIBLE = 'extension_not_compatible',
44
- EXTENSION_MISSING = 'extension_missing',
45
- RECEIVER_UNAVAILABLE = 'receiver_unavailable',
46
- SESSION_ERROR = 'session_error',
47
- CHANNEL_ERROR = 'channel_error',
48
- LOAD_MEDIA_FAILED = 'load_media_failed',
39
+ CANCEL = "cancel",
40
+ TIMEOUT = "timeout",
41
+ API_NOT_INITIALIZED = "api_not_initialized",
42
+ INVALID_PARAMETER = "invalid_parameter",
43
+ EXTENSION_NOT_COMPATIBLE = "extension_not_compatible",
44
+ EXTENSION_MISSING = "extension_missing",
45
+ RECEIVER_UNAVAILABLE = "receiver_unavailable",
46
+ SESSION_ERROR = "session_error",
47
+ CHANNEL_ERROR = "channel_error",
48
+ LOAD_MEDIA_FAILED = "load_media_failed",
49
49
  }
50
50
 
51
51
  /**
52
52
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast#.ReceiverAvailability
53
53
  */
54
54
  export enum ReceiverAvailability {
55
- AVAILABLE = 'available',
56
- UNAVAILABLE = 'unavailable',
55
+ AVAILABLE = "available",
56
+ UNAVAILABLE = "unavailable",
57
57
  }
58
58
 
59
59
  /**
60
60
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast#.SenderPlatform
61
61
  */
62
62
  export enum SenderPlatform {
63
- CHROME = 'chrome',
64
- IOS = 'ios',
65
- ANDROID = 'android',
63
+ CHROME = "chrome",
64
+ IOS = "ios",
65
+ ANDROID = "android",
66
66
  }
67
67
 
68
68
  /**
69
69
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast#.ReceiverType
70
70
  */
71
71
  export enum ReceiverType {
72
- CAST = 'cast',
73
- DIAL = 'dial',
74
- HANGOUT = 'hangout',
75
- CUSTOM = 'custom',
72
+ CAST = "cast",
73
+ DIAL = "dial",
74
+ HANGOUT = "hangout",
75
+ CUSTOM = "custom",
76
76
  }
77
77
 
78
78
  /**
79
79
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast#.ReceiverAction
80
80
  */
81
81
  export enum ReceiverAction {
82
- CAST = 'cast',
83
- STOP = 'stop',
82
+ CAST = "cast",
83
+ STOP = "stop",
84
84
  }
85
85
 
86
86
  /**
87
87
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast#.SessionStatus
88
88
  */
89
89
  export enum SessionStatus {
90
- CONNECTED = 'connected',
91
- DISCONNECTED = 'disconnected',
92
- STOPPED = 'stopped',
90
+ CONNECTED = "connected",
91
+ DISCONNECTED = "disconnected",
92
+ STOPPED = "stopped",
93
93
  }
94
94
 
95
95
  /**
@@ -441,10 +441,10 @@ declare namespace chrome.cast.media {
441
441
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media#.MediaCommand
442
442
  */
443
443
  export enum MediaCommand {
444
- PAUSE = 'pause',
445
- SEEK = 'seek',
446
- STREAM_VOLUME = 'stream_volume',
447
- STREAM_MUTE = 'stream_mute',
444
+ PAUSE = "pause",
445
+ SEEK = "seek",
446
+ STREAM_VOLUME = "stream_volume",
447
+ STREAM_MUTE = "stream_mute",
448
448
  }
449
449
 
450
450
  /**
@@ -462,47 +462,47 @@ declare namespace chrome.cast.media {
462
462
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media#.PlayerState
463
463
  */
464
464
  export enum PlayerState {
465
- IDLE = 'IDLE',
466
- PLAYING = 'PLAYING',
467
- PAUSED = 'PAUSED',
468
- BUFFERING = 'BUFFERING',
465
+ IDLE = "IDLE",
466
+ PLAYING = "PLAYING",
467
+ PAUSED = "PAUSED",
468
+ BUFFERING = "BUFFERING",
469
469
  }
470
470
 
471
471
  /**
472
472
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media#.ResumeState
473
473
  */
474
474
  export enum ResumeState {
475
- PLAYBACK_START = 'PLAYBACK_START',
476
- PLAYBACK_PAUSE = 'PLAYBACK_PAUSE',
475
+ PLAYBACK_START = "PLAYBACK_START",
476
+ PLAYBACK_PAUSE = "PLAYBACK_PAUSE",
477
477
  }
478
478
 
479
479
  /**
480
480
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media#.StreamType
481
481
  */
482
482
  export enum StreamType {
483
- BUFFERED = 'BUFFERED',
484
- LIVE = 'LIVE',
485
- OTHER = 'OTHER',
483
+ BUFFERED = "BUFFERED",
484
+ LIVE = "LIVE",
485
+ OTHER = "OTHER",
486
486
  }
487
487
 
488
488
  /**
489
489
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media#.IdleReason
490
490
  */
491
491
  export enum IdleReason {
492
- CANCELLED = 'CANCELLED',
493
- INTERRUPTED = 'INTERRUPTED',
494
- FINISHED = 'FINISHED',
495
- ERROR = 'ERROR',
492
+ CANCELLED = "CANCELLED",
493
+ INTERRUPTED = "INTERRUPTED",
494
+ FINISHED = "FINISHED",
495
+ ERROR = "ERROR",
496
496
  }
497
497
 
498
498
  /**
499
499
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media#.RepeatMode
500
500
  */
501
501
  export enum RepeatMode {
502
- OFF = 'REPEAT_OFF',
503
- ALL = 'REPEAT_ALL',
504
- SINGLE = 'REPEAT_SINGLE',
505
- ALL_AND_SHUFFLE = 'REPEAT_ALL_AND_SHUFFLE',
502
+ OFF = "REPEAT_OFF",
503
+ ALL = "REPEAT_ALL",
504
+ SINGLE = "REPEAT_SINGLE",
505
+ ALL_AND_SHUFFLE = "REPEAT_ALL_AND_SHUFFLE",
506
506
  }
507
507
 
508
508
  export class QueueItem {
@@ -584,63 +584,63 @@ declare namespace chrome.cast.media {
584
584
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media#.TrackType
585
585
  */
586
586
  export enum TrackType {
587
- TEXT = 'TEXT',
588
- AUDIO = 'AUDIO',
589
- VIDEO = 'VIDEO',
587
+ TEXT = "TEXT",
588
+ AUDIO = "AUDIO",
589
+ VIDEO = "VIDEO",
590
590
  }
591
591
 
592
592
  /**
593
593
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media#.TextTrackType
594
594
  */
595
595
  export enum TextTrackType {
596
- SUBTITLES = 'SUBTITLES',
597
- CAPTIONS = 'CAPTIONS',
598
- DESCRIPTIONS = 'DESCRIPTIONS',
599
- CHAPTERS = 'CHAPTERS',
600
- METADATA = 'METADATA',
596
+ SUBTITLES = "SUBTITLES",
597
+ CAPTIONS = "CAPTIONS",
598
+ DESCRIPTIONS = "DESCRIPTIONS",
599
+ CHAPTERS = "CHAPTERS",
600
+ METADATA = "METADATA",
601
601
  }
602
602
 
603
603
  /**
604
604
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media#.TextTrackEdgeType
605
605
  */
606
606
  export enum TextTrackEdgeType {
607
- NONE = 'NONE',
608
- OUTLINE = 'OUTLINE',
609
- DROP_SHADOW = 'DROP_SHADOW',
610
- RAISED = 'RAISED',
611
- DEPRESSED = 'DEPRESSED',
607
+ NONE = "NONE",
608
+ OUTLINE = "OUTLINE",
609
+ DROP_SHADOW = "DROP_SHADOW",
610
+ RAISED = "RAISED",
611
+ DEPRESSED = "DEPRESSED",
612
612
  }
613
613
 
614
614
  /**
615
615
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media#.TextTrackWindowType
616
616
  */
617
617
  export enum TextTrackWindowType {
618
- NONE = 'NONE',
619
- NORMAL = 'NORMAL',
620
- ROUNDED_CORNERS = 'ROUNDED_CORNERS',
618
+ NONE = "NONE",
619
+ NORMAL = "NORMAL",
620
+ ROUNDED_CORNERS = "ROUNDED_CORNERS",
621
621
  }
622
622
 
623
623
  /**
624
624
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media#.TextTrackFontGenericFamily
625
625
  */
626
626
  export enum TextTrackFontGenericFamily {
627
- SANS_SERIF = 'SANS_SERIF',
628
- MONOSPACED_SANS_SERIF = 'MONOSPACED_SANS_SERIF',
629
- SERIF = 'SERIF',
630
- MONOSPACED_SERIF = 'MONOSPACED_SERIF',
631
- CASUAL = 'CASUAL',
632
- CURSIVE = 'CURSIVE',
633
- SMALL_CAPITALS = 'SMALL_CAPITALS',
627
+ SANS_SERIF = "SANS_SERIF",
628
+ MONOSPACED_SANS_SERIF = "MONOSPACED_SANS_SERIF",
629
+ SERIF = "SERIF",
630
+ MONOSPACED_SERIF = "MONOSPACED_SERIF",
631
+ CASUAL = "CASUAL",
632
+ CURSIVE = "CURSIVE",
633
+ SMALL_CAPITALS = "SMALL_CAPITALS",
634
634
  }
635
635
 
636
636
  /**
637
637
  * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media#.TextTrackFontStyle
638
638
  */
639
639
  export enum TextTrackFontStyle {
640
- NORMAL = 'NORMAL',
641
- BOLD = 'BOLD',
642
- BOLD_ITALIC = 'BOLD_ITALIC',
643
- ITALIC = 'ITALIC',
640
+ NORMAL = "NORMAL",
641
+ BOLD = "BOLD",
642
+ BOLD_ITALIC = "BOLD_ITALIC",
643
+ ITALIC = "ITALIC",
644
644
  }
645
645
 
646
646
  export class GetStatusRequest {
@@ -1,4 +1,4 @@
1
- import { Entry, Log } from 'har-format';
1
+ import { Entry, Log } from "har-format";
2
2
 
3
3
  declare global {
4
4
  export type HARFormatEntry = Entry;