Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions notNeededPackages.json
Original file line number Diff line number Diff line change
Expand Up @@ -4145,6 +4145,10 @@
"libraryName": "marked",
"asOfVersion": "6.0.0"
},
"mastercard-oauth1-signer": {
"libraryName": "mastercard-oauth1-signer",
"asOfVersion": "1.2.0"
},
"match-sorter": {
"libraryName": "match-sorter",
"asOfVersion": "6.0.0"
Expand Down
6 changes: 3 additions & 3 deletions types/chromecast-caf-receiver/cast.framework.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export import system = system;
export import messages = messages;

export as namespace framework;
export const enum LoggerLevel {
export enum LoggerLevel {
DEBUG = 0,
VERBOSE = 500,
INFO = 800,
Expand All @@ -24,7 +24,7 @@ export const enum LoggerLevel {
* Content protection type.
* @see https://developers.google.com/cast/docs/reference/web_receiver/cast.framework#.ContentProtection
*/
export const enum ContentProtection {
export enum ContentProtection {
NONE = "none",
CLEARKEY = "clearkey",
PLAYREADY = "playready",
Expand Down Expand Up @@ -997,7 +997,7 @@ export class NetworkRequestInfo {
*
* @see https://developers.google.com/cast/docs/reference/web_receiver/cast.framework#.ShakaVariant
*/
export const enum ShakaVariant {
export enum ShakaVariant {
/**
* The standard, default build.
*/
Expand Down
6 changes: 3 additions & 3 deletions types/chromecast-caf-receiver/cast.framework.events.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export as namespace events;
* Player event types for @see{@link framework.PlayerManager}.
* https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.events#.EventType
*/
export const enum EventType {
export enum EventType {
ALL = "*",
ABORT = "ABORT",
CAN_PLAY = "CAN_PLAY",
Expand Down Expand Up @@ -97,7 +97,7 @@ export const enum EventType {
TRACKS_CHANGED = "TRACKS_CHANGED",
}

export const enum DetailedErrorCode {
export enum DetailedErrorCode {
MEDIA_UNKNOWN = 100,
MEDIA_ABORTED = 101,
MEDIA_DECODE = 102,
Expand Down Expand Up @@ -144,7 +144,7 @@ export const enum DetailedErrorCode {
* The error severity. Follows the same naming scheme and numbering as Shaka Player.
* https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.events#.EventType
*/
export const enum ErrorSeverity {
export enum ErrorSeverity {
RECOVERABLE = 1,
CRITICAL = 2,
}
Expand Down
64 changes: 32 additions & 32 deletions types/chromecast-caf-receiver/cast.framework.messages.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export as namespace messages;
* Possible caption mimetype of text track.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.CaptionMimeType}
*/
export const enum CaptionMimeType {
export enum CaptionMimeType {
CEA608 = "text/cea608",
TTML = "application/ttml+xml",
TTML_MP4 = "application/mp4",
Expand All @@ -17,7 +17,7 @@ export const enum CaptionMimeType {
* Commands supported by {@link framework.messages.MediaStatus.supportedMediaCommands}.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.Command}
*/
export const enum Command {
export enum Command {
PAUSE = 1,
SEEK = 2,
STREAM_VOLUME = 4,
Expand All @@ -43,7 +43,7 @@ export const enum Command {
* Possible types of container metadata.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.ContainerType}
*/
export const enum ContainerType {
export enum ContainerType {
GENERIC_CONTAINER = 0,
AUDIOBOOK_CONTAINER = 1,
}
Expand All @@ -52,15 +52,15 @@ export const enum ContainerType {
* Provides content filtering mode.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.ContentFilteringMode}
*/
export const enum ContentFilteringMode {
export enum ContentFilteringMode {
FILTER_EXPLICIT = "FILTER_EXPLICIT",
}

/**
* Represents media error message reasons.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.ErrorReason}
*/
export const enum ErrorReason {
export enum ErrorReason {
APP_ERROR = "APP_ERROR",
AUTHENTICATION_EXPIRED = "AUTHENTICATION_EXPIRED",
CONCURRENT_STREAM_LIMIT = "CONCURRENT_STREAM_LIMIT",
Expand All @@ -86,7 +86,7 @@ export const enum ErrorReason {
* Represents media error message types.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.ErrorType}
*/
export const enum ErrorType {
export enum ErrorType {
ERROR = "ERROR",
INVALID_PLAYER_STATE = "INVALID_PLAYER_STATE",
INVALID_REQUEST = "INVALID_REQUEST",
Expand All @@ -98,15 +98,15 @@ export const enum ErrorType {
* Extended player state information.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.ExtendedPlayerState}
*/
export const enum ExtendedPlayerState {
export enum ExtendedPlayerState {
LOADING = "LOADING",
}

/**
* Focus states.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.FocusState}
*/
export const enum FocusState {
export enum FocusState {
IN_FOCUS = "IN_FOCUS",
NOT_IN_FOCUS = "NOT_IN_FOCUS",
}
Expand All @@ -115,7 +115,7 @@ export const enum FocusState {
* The Get Status flag options determine the amount of data that must be included in the media status response.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.GetStatusOptions}
*/
export const enum GetStatusOptions {
export enum GetStatusOptions {
NO_METADATA = 1,
NO_QUEUE_ITEMS = 2,
}
Expand All @@ -124,7 +124,7 @@ export const enum GetStatusOptions {
* Represents video High Dynamic Range (HDR) types.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.HdrType}
*/
export const enum HdrType {
export enum HdrType {
DV = "dv",
HDR = "hdr",
SDR = "sdr",
Expand All @@ -134,7 +134,7 @@ export const enum HdrType {
* Format of an HLS audio segment.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/web_receiver/cast.framework.messages#.HlsSegmentFormat}
*/
export const enum HlsSegmentFormat {
export enum HlsSegmentFormat {
AAC = "aac",
AC3 = "ac3",
E_AC3 = "e_ac3",
Expand All @@ -149,7 +149,7 @@ export const enum HlsSegmentFormat {
* Format of an HLS audio segment.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.HlsSegmentFormat}
*/
export const enum HlsVideoSegmentFormat {
export enum HlsVideoSegmentFormat {
FMP4 = "fmp4",
MPEG2_TS = "mpeg2_ts",
}
Expand All @@ -158,7 +158,7 @@ export const enum HlsVideoSegmentFormat {
* The reason for the player to be in IDLE state.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.IdleReason}
*/
export const enum IdleReason {
export enum IdleReason {
CANCELLED = "CANCELLED",
ERROR = "ERROR",
FINISHED = "FINISHED",
Expand All @@ -169,7 +169,7 @@ export const enum IdleReason {
* The media category.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.MediaCategory}
*/
export const enum MediaCategory {
export enum MediaCategory {
AUDIO = "AUDIO",
IMAGE = "IMAGE",
VIDEO = "VIDEO",
Expand All @@ -179,7 +179,7 @@ export const enum MediaCategory {
* Represents media message types.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.MessageType}
*/
export const enum MessageType {
export enum MessageType {
CLOUD_STATUS = "CLOUD_STATUS",
CUSTOM_COMMAND = "CUSTOM_COMMAND",
CUSTOM_STATE = "CUSTOM_STATE",
Expand Down Expand Up @@ -230,7 +230,7 @@ export const enum MessageType {
* Possible types of media metadata.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.MetadataType}
*/
export const enum MetadataType {
export enum MetadataType {
GENERIC = 0,
MOVIE = 1,
TV_SHOW = 2,
Expand All @@ -243,7 +243,7 @@ export const enum MetadataType {
* String IDs used by {@link framework.PlayerManager#playString}
* @see https://developers.google.com/cast/docs/reference/web_receiver/cast.framework.messages#.PlayStringId
*/
export const enum PlayStringId {
export enum PlayStringId {
FREE_TRIAL_ABOUT_TO_EXPIRE = "FREE_TRIAL_ABOUT_TO_EXPIRE",
PLAYING_ALTERNATE_MIX = "PLAYING_ALTERNATE_MIX",
STREAM_HIJACKED = "STREAM_HIJACKED",
Expand All @@ -254,7 +254,7 @@ export const enum PlayStringId {
* Represents the player state.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.PlayerState}
*/
export const enum PlayerState {
export enum PlayerState {
BUFFERING = "BUFFERING",
IDLE = "IDLE",
PAUSED = "PAUSED",
Expand All @@ -265,7 +265,7 @@ export const enum PlayerState {
* Queue change types used by QUEUE_CHANGE outgoing message.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.QueueChangeType}
*/
export const enum QueueChangeType {
export enum QueueChangeType {
INSERT = "INSERT",
ITEMS_CHANGE = "ITEMS_CHANGE",
NO_CHANGE = "NO_CHANGE",
Expand All @@ -277,7 +277,7 @@ export const enum QueueChangeType {
* Types of media container/queue.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.QueueType}
*/
export const enum QueueType {
export enum QueueType {
ALBUM = "ALBUM",
AUDIOBOOK = "AUDIOBOOK",
LIVE_TV = "LIVE_TV",
Expand All @@ -293,7 +293,7 @@ export const enum QueueType {
* Behavior of the queue when all items have been played.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.RepeatMode}
*/
export const enum RepeatMode {
export enum RepeatMode {
REPEAT_ALL = "REPEAT_ALL",
REPEAT_ALL_AND_SHUFFLE = "REPEAT_ALL_AND_SHUFFLE",
REPEAT_OFF = "REPEAT_OFF",
Expand All @@ -304,7 +304,7 @@ export const enum RepeatMode {
* Represents the playback state after a SEEK request.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.SeekResumeState}
*/
export const enum SeekResumeState {
export enum SeekResumeState {
PLAYBACK_PAUSE = "PLAYBACK_PAUSE",
PLAYBACK_START = "PLAYBACK_START",
}
Expand All @@ -313,7 +313,7 @@ export const enum SeekResumeState {
* The streaming protocol types.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.StreamingProtocolType}
*/
export const enum StreamingProtocolType {
export enum StreamingProtocolType {
UNKNOWN = 0,
MPEG_DASH = 1,
HLS = 2,
Expand All @@ -324,7 +324,7 @@ export const enum StreamingProtocolType {
* Represents the stream types.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.StreamType}
*/
export const enum StreamType {
export enum StreamType {
BUFFERED = "BUFFERED",
LIVE = "LIVE",
NONE = "NONE",
Expand All @@ -334,7 +334,7 @@ export const enum StreamType {
* Possible text track edge type.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.TextTrackEdgeType}
*/
export const enum TextTrackEdgeType {
export enum TextTrackEdgeType {
DEPRESSED = "DEPRESSED",
DROP_SHADOW = "DROP_SHADOW",
NONE = "NONE",
Expand All @@ -346,7 +346,7 @@ export const enum TextTrackEdgeType {
* Text track font generic family.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.TextTrackFontGenericFamily}
*/
export const enum TextTrackFontGenericFamily {
export enum TextTrackFontGenericFamily {
CASUAL = "CASUAL",
CURSIVE = "CURSIVE",
MONOSPACED_SANS_SERIF = "MONOSPACED_SANS_SERIF",
Expand All @@ -360,7 +360,7 @@ export const enum TextTrackFontGenericFamily {
* Possible text track font style.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.TextTrackFontStyle}
*/
export const enum TextTrackFontStyle {
export enum TextTrackFontStyle {
BOLD = "BOLD",
BOLD_ITALIC = "BOLD_ITALIC",
ITALIC = "ITALIC",
Expand All @@ -371,7 +371,7 @@ export const enum TextTrackFontStyle {
* Possible text track type (follows the HTML5 text track type definitions).
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.TextTrackType}
*/
export const enum TextTrackType {
export enum TextTrackType {
CAPTIONS = "CAPTIONS",
CHAPTERS = "CHAPTERS",
DESCRIPTIONS = "DESCRIPTIONS",
Expand All @@ -383,7 +383,7 @@ export const enum TextTrackType {
* Text track window type.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.TextTrackWindowType}
*/
export const enum TextTrackWindowType {
export enum TextTrackWindowType {
NONE = "NONE",
NORMAL = "NORMAL",
ROUNDED_CORNERS = "ROUNDED_CORNERS",
Expand All @@ -393,7 +393,7 @@ export const enum TextTrackWindowType {
* Possible media track type.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.TrackType}
*/
export const enum TrackType {
export enum TrackType {
AUDIO = "AUDIO",
TEXT = "TEXT",
VIDEO = "VIDEO",
Expand All @@ -403,7 +403,7 @@ export const enum TrackType {
* User actions.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.UserAction}
*/
export const enum UserAction {
export enum UserAction {
DISLIKE = "DISLIKE",
FLAG = "FLAG",
FOLLOW = "FOLLOW",
Expand All @@ -416,7 +416,7 @@ export const enum UserAction {
* Context information for the user action.
* [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.UserActionContext}
*/
export const enum UserActionContext {
export enum UserActionContext {
ALBUM = "ALBUM",
ARTIST = "ARTIST",
CHANNEL = "CHANNEL",
Expand Down
Loading