diff --git a/docs/assets/ts/artplayer-plugin-vast.d.ts b/docs/assets/ts/artplayer-plugin-vast.d.ts index 7ad0924bd..5d5d26d92 100644 --- a/docs/assets/ts/artplayer-plugin-vast.d.ts +++ b/docs/assets/ts/artplayer-plugin-vast.d.ts @@ -1,1399 +1,17 @@ // Generated from the package public declaration by yarn build:ts. Do not edit. -/* eslint-disable ts/no-redeclare -- Callable and public type namespace intentionally merge. */ -/* eslint-disable ts/method-signature-style, ts/consistent-type-definitions -- Preserve upstream SDK declaration shapes. */ -declare namespace artplayerPluginVastDefinitions { - export namespace google { - /** - * The Google IMA SDK for HTML5 V3 allows developers to request and track VAST ads in a HTML5 video environment. For platform compatibility information and a detailed list of the video ad features supported by each of the IMA SDKs, see Support and Compatibility. - * - * Download the code samples to assist with implementing the IMA HTML5 SDK. - */ - namespace ima { - /** - * An ad class that's extended by classes representing different ad types. - */ - interface Ad { - /** - * Ad ID is used to synchronize master ad and companion ads. - * @returns The ID of the ad, or the empty string if this information is unavailable. - */ - getAdId(): string - /** - * Returns the ad's pod information. - * @returns The ad's pod information. - */ - getAdPodInfo(): AdPodInfo - /** - * The source ad server information included in the ad response. - * @returns The source ad server of the ad, or the empty string if this information is unavailable. - */ - getAdSystem(): string - /** - * The advertiser name as defined by the serving party. - * @returns The advertiser name, or the empty string if this information is unavailable. - */ - getAdvertiserName(): string - /** - * Identifies the API needed to execute the ad. This corresponds with the apiFramework specified in vast. - * @returns The API framework need to execute the ad, or null if this information is unavailable. - */ - getApiFramework(): string | null - /** - * Gets the companion ads for this ad based on companion ad slot size. Optionally, advanced selection settings are accepted. Note that this method will only return non-empty array for ad instances acquired on or after STARTED event. Specifically, ads from the LOADED event will return an empty array. - * @param adSlotWidth Width of the companion ad slot. - * @param adSlotHeight Height of the companion ad slot. - * @param settings The selection settings for companion ads. - * @returns Array of companion ads that matches the settings and the slot size. - */ - getCompanionAds(adSlotWidth: number, adSlotHeight: number, settings?: CompanionAdSelectionSettings): CompanionAd[] - /** - * Returns the content type of the currently selected creative, or empty string if no creative is selected or the content type is unavailable. For linear ads, the content type is only going to be available after the START event, when the media file is selected. - * @returns The content type, empty string if not available. - */ - getContentType(): string - /** - * Returns the ISCI (Industry Standard Commercial Identifier) code for an ad, or empty string if the code is unavailable. This is the Ad-ID of the creative in the VAST response. - */ - getCreativeAdId(): string - /** - * Retrieves the ID of the selected creative for the ad. - * @returns The ID of the selected creative for the ad, or the empty string if this information is unavailable. - */ - getCreativeId(): string - /** - * Returns the first deal ID present in the wrapper chain for the current ad, starting from the top. Returns the empty string if unavailable. - */ - getDealId(): string - /** - * Returns the description of this ad from the VAST response. - * @returns The description, empty if not specified. - */ - getDescription(): string - /** - * Returns the duration of the selected creative, or -1 for non-linear creatives. - * @returns The selected creative duration in seconds, -1 if non-linear. - */ - getDuration(): number - /** - * Returns the height of the selected non-linear creative. - * @returns The height of the selected non-linear creative or 0 for a linear creative. - */ - getHeight(): number - /** - * Returns the URL of the media file chosen from the ad based on the media selection settings currently in use. Returns null if this information is unavailable. Available on STARTED event. - */ - getMediaUrl(): string | null - /** - * Returns the minimum suggested duration in seconds that the nonlinear creative should be displayed. Returns -2 if the minimum suggested duration is unknown. For linear creative it returns the entire duration of the ad. - * @returns The minimum suggested duration in seconds that a creative should be displayed. - */ - getMinSuggestedDuration(): number - /** - * The number of seconds of playback before the ad becomes skippable. -1 is returned for non skippable ads or if this is unavailable. - * @returns The offset in seconds, or -1. - */ - getSkipTimeOffset(): number - /** - * Returns the URL associated with the survey for the given ad. Returns null if unavailable. - */ - getSurveyUrl(): string | null - /** - * Returns the title of this ad from the VAST response. - * @returns The title, empty if not specified. - */ - getTitle(): string - /** - * Gets custom parameters associated with the ad at the time of ad trafficking. - * @returns A mapping of trafficking keys to their values, or the empty Object if this information is not available. - */ - getTraffickingParameters(): any - /** - * Gets custom parameters associated with the ad at the time of ad trafficking. Returns a raw string version of the parsed parameters from getTraffickingParameters. - * @returns Trafficking parameters, or the empty string if this information is not available. - */ - getTraffickingParametersString(): string - /** - * Returns the UI elements that are being displayed when this ad is played. Refer to UiElements for possible elements of the array returned. - * @returns The UI elements being displayed. - */ - getUiElements(): UiElements[] - /** - * The registry associated with cataloging the UniversalAdId of the selected creative for the ad. - * @returns Returns the registry value, or "unknown" if unavailable. - */ - getUniversalAdIdRegistry(): string - /** - * The UniversalAdId of the selected creative for the ad. - * @returns Returns the id value or "unknown" if unavailable. - */ - getUniversalAdIdValue(): string - /** - * Returns the VAST media height of the selected creative. - * @returns The VAST media height of the selected creative or 0 if none is selected. - */ - getVastMediaHeight(): number - /** - * Returns the VAST media width of the selected creative. - * @returns The VAST media width of the selected creative or 0 if none is selected. - */ - getVastMediaWidth(): number - /** - * Returns the width of the selected creative. - * @returns The width of the selected non-linear creative or 0 for a linear creative. - */ - getWidth(): number - /** - * Ad IDs used for wrapper ads. The IDs returned starts at the inline ad (innermost) and traverses to the outermost wrapper ad. An empty array is returned if there are no wrapper ads. - * @returns The IDs of the ads, starting at the inline ad, or an empty array if there are no wrapper ads. - */ - getWrapperAdIds(): string[] - /** - * Ad systems used for wrapper ads. The ad systems returned starts at the inline ad and traverses to the outermost wrapper ad. An empty array is returned if there are no wrapper ads. - * @returns The ad systems of the ads, starting at the inline ad, or an empty array if there are no wrapper ads. - */ - getWrapperAdSystems(): string[] - /** - * Selected creative IDs used for wrapper ads. The creative IDs returned starts at the inline ad and traverses to the outermost wrapper ad. An empty array is returned if there are no wrapper ads. - * @returns The IDs of the ads' creatives, starting at the inline ad, or an empty array if there are no wrapper ads. - */ - getWrapperCreativeIds(): string[] - /** - * Indicates whether the ad’s current mode of operation is linear or non-linear. If the value is true, it indicates that the ad is in linear playback mode; if false, it indicates non-linear mode. The player checks the linear property and updates its state according to the details of the ad placement. While the ad is in linear mode, the player pauses the content video. If linear is true initially, and the ad is a pre-roll (defined externally), the player may choose to delay loading the content video until near the end of the ad playback. - * @returns True if the ad is linear, false otherwise. - */ - isLinear(): boolean - } - /** - * This class represents a container for displaying ads. The SDK will automatically create structures inside the containerElement parameter to house video and overlay ads. - * - * When an instance of this class is created, it creates an IFRAME in the containerElement and loads the SDK core. This IFRAME must be preserved in order for the SDK to function properly. Once all ads have been played and the SDK is no longer needed, use the destroy() method to unload the SDK. - * - * The containerElement parameter must be an element that is part of the DOM. It is necessary to correctly position the containerElement in order for the ads to be displayed correctly. It is recommended to position it above the content video player and size it to cover the whole video player. Please refer to the SDK documentation for details about recommended implementations. - */ - class AdDisplayContainer { - /** - * - * @param containerElement The element to display the ads in. The element must be inserted into the DOM before creating ima.AdDisplayContainer. - * @param videoElement Specifies the alternative video ad playback element. We recommend always passing in your content video player. Refer to Custom Ad Playback for more information. - * @param clickTrackingElement Specifies the alternative video ad click element. Leave this null to let the SDK handle clicks. Even if supplied, the SDK will only use the custom click tracking element when non-AdSense/AdX creatives are displayed in environments that do not support UI elements overlaying a video player (e.g. iPhone or pre-4.0 Android). The custom click tracking element should never be rendered over the video player because it can intercept clicks to UI elements that the SDK renders. Also note that the SDK will not modify the visibility of the custom click tracking element. This means that if a custom click tracking element is supplied, it must be properly displayed when the linear ad is played. You can check ima.AdsManager.isCustomClickTrackingUsed when the google.ima.AdEvent.Type.STARTED event is fired to determine whether or not to display your custom click tracking element. If appropriate for your UI, you should hide the click tracking element when the google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED event fires. - */ - constructor(containerElement: HTMLElement, videoElement?: HTMLVideoElement, clickTrackingElement?: HTMLElement) - /** - * Destroys internal state and previously created DOM elements. The IMA SDK will be unloaded and no further calls to any APIs should be made. - */ - public destroy(): void - /** - * Initializes the video playback. On mobile platforms, including iOS and Android browsers, first interaction with video playback is only allowed within a user action (a click or tap) to prevent unexpected bandwidth costs. Call this method as a direct result of a user action before starting the ad playback. This method has no effect on desktop platforms and when custom video playback is used. - */ - public initialize(): void - } - /** - * AdError surfaces information to the user about whether a failure occurred during ad loading or playing. The errorType accessor provides information about whether the error occurred during ad loading or ad playing. - */ - class AdError extends Error { - /** - * Constructs the ad error based on the error data. - * @param data The ad error message data. - * @returns The constructed ad error object. - */ - public static deserialize(data: any): AdError - /** - * @returns The error code, as defined in google.ima.AdError.ErrorCode. - */ - public getErrorCode(): AdError.ErrorCode - /** - * Returns the Error that caused this one. - * @returns Inner error that occurred during processing, or null if this information is unavailable. This error may either be a native error or an google.ima.AdError, a subclass of a native error. This may return null if the error that caused this one is not available. - */ - public getInnerError(): Error | null - /** - * @returns The message for this error. - */ - public getMessage(): string - /** - * @returns The type of this error, as defined in google.ima.AdError.Type. - */ - public getType(): string - /** - * @returns If VAST error code is available, returns it, otherwise returns ima.AdError.ErrorCode.UNKNOWN_ERROR. - */ - public getVastErrorCode(): number - /** - * Serializes an ad to JSON-friendly object for channel transmission. - * @returns The transmittable ad error. - */ - public serialize(): any - public toString(): string - } - namespace AdError { - /** - * The possible error codes raised while loading or playing ads. - */ - enum ErrorCode { - /** - * There was a problem requesting ads from the server. VAST error code 1012 - */ - ADS_REQUEST_NETWORK_ERROR = 1012, - /** - * There was an error with asset fallback. VAST error code 1021 - */ - ASSET_FALLBACK_FAILED = 1021, - /** - * The browser prevented playback initiated without user interaction. VAST error code 1205 - */ - AUTOPLAY_DISALLOWED = 1205, - /** - * A companion ad failed to load or render. VAST error code 603 - */ - COMPANION_AD_LOADING_FAILED = 603, - /** - * Unable to display one or more required companions. The master ad is discarded since the required companions could not be displayed. VAST error code 602 - */ - COMPANION_REQUIRED_ERROR = 602, - /** - * There was a problem requesting ads from the server. VAST error code 1005 - */ - FAILED_TO_REQUEST_ADS = 1005, - /** - * The ad tag url specified was invalid. It needs to be properly encoded. VAST error code 1013 - */ - INVALID_AD_TAG = 1013, - /** - * An invalid AdX extension was found. VAST error code 1105 - */ - INVALID_ADX_EXTENSION = 1105, - /** - * Invalid arguments were provided to SDK methods. VAST error code 1101 - */ - INVALID_ARGUMENTS = 1101, - /** - * Unable to display NonLinear ad because creative dimensions do not align with creative display area (i.e. creative dimension too large). VAST error code 501 - */ - NONLINEAR_DIMENSIONS_ERROR = 501, - /** - * An overlay ad failed to load. VAST error code 502 - */ - OVERLAY_AD_LOADING_FAILED = 502, - /** - * An overlay ad failed to render. VAST error code 500 - */ - OVERLAY_AD_PLAYING_FAILED = 500, - /** - * There was an error with stream initialization during server side ad insertion. VAST error code 1020 - */ - STREAM_INITIALIZATION_FAILED = 1020, - /** - * The ad response was not understood and cannot be parsed. VAST error code 1010 - */ - UNKNOWN_AD_RESPONSE = 1010, - /** - * An unexpected error occurred and the cause is not known. Refer to the inner error for more information. VAST error code 900 - */ - UNKNOWN_ERROR = 900, - /** - * Locale specified for the SDK is not supported. VAST error code 1011 - */ - UNSUPPORTED_LOCALE = 1011, - /** - * No assets were found in the VAST ad response. VAST error code 1007 - */ - VAST_ASSET_NOT_FOUND = 1007, - /** - * Empty VAST response. VAST error code 1009 - */ - VAST_EMPTY_RESPONSE = 1009, - /** - * Assets were found in the VAST ad response for linear ad, but none of them matched the video player's capabilities. VAST error code 403 - */ - VAST_LINEAR_ASSET_MISMATCH = 403, - /** - * The VAST URI provided, or a VAST URI provided in a subsequent wrapper element, was either unavailable or reached a timeout, as defined by the video player. The timeout is 5 seconds for initial VAST requests and each subsequent wrapper. VAST error code 301 - */ - VAST_LOAD_TIMEOUT = 301, - /** - * The ad response was not recognized as a valid VAST ad. VAST error code 100 - */ - VAST_MALFORMED_RESPONSE = 100, - /** - * Failed to load media assets from a VAST response. The default timeout for media loading is 8 seconds. VAST error code 402 - */ - VAST_MEDIA_LOAD_TIMEOUT = 402, - /** - * No Ads VAST response after one or more wrappers. VAST error code 303 - */ - VAST_NO_ADS_AFTER_WRAPPER = 303, - /** - * Assets were found in the VAST ad response for nonlinear ad, but none of them matched the video player's capabilities. VAST error code 503 - */ - VAST_NONLINEAR_ASSET_MISMATCH = 503, - /** - * Problem displaying MediaFile. Currently used if video playback is stopped due to poor playback quality. VAST error code 405 - */ - VAST_PROBLEM_DISPLAYING_MEDIA_FILE = 405, - /** - * VAST schema validation error. VAST error code 101 - */ - VAST_SCHEMA_VALIDATION_ERROR = 101, - /** - * The maximum number of VAST wrapper redirects has been reached. VAST error code 302 - */ - VAST_TOO_MANY_REDIRECTS = 302, - /** - * Trafficking error. Video player received an ad type that it was not expecting and/or cannot display. VAST error code 200 - */ - VAST_TRAFFICKING_ERROR = 200, - /** - * VAST duration is different from the actual media file duration. VAST error code 202 - */ - VAST_UNEXPECTED_DURATION_ERROR = 202, - /** - * Ad linearity is different from what the video player is expecting. VAST error code 201 - */ - VAST_UNEXPECTED_LINEARITY = 201, - /** - * The ad response contained an unsupported VAST version. VAST error code 102 - */ - VAST_UNSUPPORTED_VERSION = 102, - /** - * General VAST wrapper error. VAST error code 300 - */ - VAST_WRAPPER_ERROR = 300, - /** - * There was an error playing the video ad. VAST error code 400 - */ - VIDEO_PLAY_ERROR = 400, - /** - * A VPAID error occurred. Refer to the inner error for more information. VAST error code 901 - */ - VPAID_ERROR = 901, - } - /** - * The possible error types for ad loading and playing. - */ - enum Type { - /** - * Indicates that the error was encountered when the ad was being loaded. Possible causes: there was no response from the ad server, malformed ad response was returned, or ad request parameters failed to pass validation. - */ - AD_LOAD = 'adLoadError', - /** - * Indicates that the error was encountered after the ad loaded, during ad play. Possible causes: ad assets could not be loaded, etc. - */ - AD_PLAY = 'adPlayError', - } - } - /** - * This event is raised when an error occurs when loading an ad from the Google or DoubleClick servers. The types on which you can register for the event are AdsLoader and AdsManager. - */ - class AdErrorEvent { - /** - * @returns The AdError that caused this event. - */ - public getError(): AdError - /** - * During ads load request it is possible to provide an object that is available once the ads load is complete or fails. One possible use case: relate ads response to a specific request and use user request content object as the key for identifying the response. If an error occurred during ads load, you can find out which request caused this failure. - * @returns Object that was provided during ads request. - */ - public getUserRequestContext(): any - } - namespace AdErrorEvent { - /** - * Types of AdErrorEvents - */ - enum Type { - /** - * Fired when an error occurred while the ad was loading or playing. - */ - AD_ERROR = 'adError', - } - type Listener = (event: AdErrorEvent) => void - } - /** - * This event type is raised by the ad as a notification when the ad state changes and when users interact with the ad. For example, when the ad starts playing, is clicked on, etc. You can register for the various state changed events on AdsManager. - */ - class AdEvent { - /** - * Get the current ad that is playing or just played. - * @returns The ad associated with the event, or null if there is no relevant ad. - */ - public getAd(): Ad | null - /** - * Allows extra data to be passed from the ad. - * @returns Extra data for the event. Log events raised for error carry object of type 'google.ima.AdError' which can be accessed using 'adError' key. - */ - public getAdData(): any - } - namespace AdEvent { - /** - * Types of AdEvents - */ - enum Type { - /** - * Fired when an ad rule or a VMAP ad break would have played if autoPlayAdBreaks is false. - */ - AD_BREAK_READY = 'adBreakReady', - /** - * Fired when the ad has stalled playback to buffer. - */ - AD_BUFFERING = 'adBuffering', - /** - * Fired when an ads list is loaded. - */ - AD_METADATA = 'adMetadata', - /** - * Fired when the ad's current time value changes. Calling getAdData() on this event will return an AdProgressData object. - */ - AD_PROGRESS = 'adProgress', - /** - * Fired when the ads manager is done playing all the ads. - */ - ALL_ADS_COMPLETED = 'allAdsCompleted', - /** - * Fired when the ad is clicked. - */ - CLICK = 'click', - /** - * Fired when the ad completes playing. - */ - COMPLETE = 'complete', - /** - * Fired when content should be paused. This usually happens right before an ad is about to cover the content. - */ - CONTENT_PAUSE_REQUESTED = 'contentPauseRequested', - /** - * Fired when content should be resumed. This usually happens when an ad finishes or collapses. - */ - CONTENT_RESUME_REQUESTED = 'contentResumeRequested', - /** - * Fired when the ad's duration changes. - */ - DURATION_CHANGE = 'durationChange', - /** - * Fired when the ad playhead crosses first quartile. - */ - FIRST_QUARTILE = 'firstQuartile', - /** - * Fired when the impression URL has been pinged. - */ - IMPRESSION = 'impression', - /** - * Fired when an ad triggers the interaction callback. Ad interactions contain an interaction ID string in the ad data. - */ - INTERACTION = 'interaction', - /** - * Fired when the displayed ad changes from linear to nonlinear, or vice versa. - */ - LINEAR_CHANGED = 'linearChanged', - /** - * Fired when ad data is available. - */ - LOADED = 'loaded', - /** - * Fired when a non-fatal error is encountered. The user need not take any action since the SDK will continue with the same or next ad playback depending on the error situation. - */ - LOG = 'log', - /** - * Fired when the ad playhead crosses midpoint. - */ - MIDPOINT = 'midpoint', - /** - * Fired when the ad is paused. - */ - PAUSED = 'pause', - /** - * Fired when the ad is resumed. - */ - RESUMED = 'resume', - /** - * Fired when the displayed ads skippable state is changed. - */ - SKIPPABLE_STATE_CHANGED = 'skippableStateChanged', - /** - * Fired when the ad is skipped by the user. - */ - SKIPPED = 'skip', - /** - * Fired when the ad starts playing. - */ - STARTED = 'start', - /** - * Fired when the ad playhead crosses third quartile. - */ - THIRD_QUARTILE = 'thirdQuartile', - /** - * Fired when the ad is closed by the user. - */ - USER_CLOSE = 'userClose', - /** - * Fired when the ad volume has changed. - */ - VOLUME_CHANGED = 'volumeChange', - /** - * Fired when the ad volume has been muted. - */ - VOLUME_MUTED = 'mute', - } - type Listener = (event: AdEvent) => void - } - /** - * An ad may be part of a pod of ads. This object exposes metadata related to that pod, such as the number of ads in the pod and ad position within the pod. - * - * The getTotalAds API contained within this object is often correct, but in certain scenarios, it represents the SDK's best guess. See that method's documentation for more information. - */ - interface AdPodInfo { - /** - * Returns the position of the ad. - * @returns The position of the ad within the pod. The value returned is one-based, i.e. 1 of 2, 2 of 2, etc. - */ - getAdPosition(): number - /** - * Returns true if the ad is a bumper ad. Bumper ads are short linear ads that can indicate to a user when the user is entering into or exiting from an ad break. - * @returns Whether the ad is a bumper ad. - */ - getIsBumper(): boolean - /** - * The maximum duration of the pod in seconds. For unknown duration, -1 is returned. - * @returns The maximum duration of the ads in this pod in seconds. - */ - getMaxDuration(): number - /** - * Returns the index of the ad pod. - * - * For preroll pod, 0 is returned. For midrolls, 1, 2, ... N is returned. For postroll, -1 is returned. - * - * For pods in VOD streams with dynamically inserted ads, 0...N is returned regardless of whether the ad is a pre-, mid-, or post-roll. - * - * Defaults to 0 if this ad is not part of a pod, or the pod is not part of an ad playlist. - * - * @returns The index of the pod in the ad playlist. - */ - getPodIndex(): number - /** - * Returns the content time offset at which the current ad pod was scheduled. For pods in VOD streams with dynamically inserted ads, stream time is returned. - * - * For preroll pod, 0 is returned. For midrolls, the scheduled time is returned. For postroll, -1 is returned. - * - * Defaults to 0 if this ad is not part of a pod, or the pod is not part of an ad playlist. - * - * @returns The time offset for the current ad pod. - */ - getTimeOffset(): number - /** - * The total number of ads contained within this pod, including bumpers. Bumper ads are short linear ads that can indicate to a user when the user is entering into or exiting from an ad break. - * - * Defaults to 1 if this ad is not part of a pod. - * - * In certain scenarios, the SDK does not know for sure how many ads are contained within this ad pod. These scenarios include ad pods, which are multiple ads within a single ad tag. In these scenarios, the first few AdEvents fired (AD_METADATA, LOADED, etc.) may have just the total number of ad tags from the playlist response. We recommend using the STARTED event as the event in which publishers pull information from this object and update the visual elements of the player, if any. - * - * @returns Total number of ads in the pod. - */ - getTotalAds(): number - } - /** - * AdsLoader allows clients to request ads from ad servers. To do so, users must register for the AdsManagerLoadedEvent event and then request ads. - */ - class AdsLoader { - /** - * @param container The display container for ads. - */ - constructor(container: AdDisplayContainer) - /** - * Adds an event listener for the specified type. - * @param type The event type to listen to. - * @param listener The function to call when the event is triggered. - * @param useCapture Optional - */ - public addEventListener(type: AdsManagerLoadedEvent.Type, listener: AdsManagerLoadedEvent.Listener, useCapture?: boolean): void - /** - * Adds an event listener for the specified type. - * @param type The event type to listen to. - * @param listener The function to call when the event is triggered. - * @param useCapture Optional - */ - public addEventListener(type: AdErrorEvent.Type, listener: AdErrorEvent.Listener, useCapture?: boolean): void - /** - * Removes an event listener for the specified type. - * @param type The event type for which to remove an event listener. - * @param listener The function of the event handler to remove from the event target. - * @param useCapture Optional - */ - public removeEventListener(type: AdsManagerLoadedEvent.Type, listener: AdsManagerLoadedEvent.Listener, useCapture?: boolean): void - /** - * Removes an event listener for the specified type. - * @param type The event type for which to remove an event listener. - * @param listener The function of the event handler to remove from the event target. - * @param useCapture Optional - */ - public removeEventListener(type: AdErrorEvent.Type, listener: AdErrorEvent.Listener, useCapture?: boolean): void - /** - * Signals to the SDK that the content is finished. This will allow the SDK to play post-roll ads, if any are loaded via ad rules. - */ - public contentComplete(): void - /** - * Cleans up the internal state. - */ - public destroy(): void - /** - * Returns the IMA SDK settings instance. To change the settings, just call the methods on the instance. The changes will apply for all the ad requests made with this ads loader. - * @returns The settings instance. - */ - public getSettings(): ImaSdkSettings - /** - * Request ads from a server. - * @param adsRequest AdsRequest instance containing data for the ads request. - * @param userRequestContext User-provided object that is associated with the ads request. It can be retrieved when the ads are loaded. - */ - public requestAds(adsRequest: AdsRequest, userRequestContext?: any): void - } - /** - * This class is responsible for playing ads. - */ - interface AdsManager { - /** - * Adds an event listener for the specified type. - * @param type The event type to listen to - * @param listener The function to call when the event is triggered - * @param useCapture Optional - */ - addEventListener(type: AdEvent.Type, listener: AdEvent.Listener, useCapture?: boolean): void - /** - * Adds an event listener for the specified type. - * @param type The event type to listen to - * @param listener The function to call when the event is triggered - * @param useCapture Optional - */ - addEventListener(type: AdErrorEvent.Type, listener: AdErrorEvent.Listener, useCapture?: boolean): void - /** - * Removes an event listener for the specified type. - * @param type The event type for which to remove an event listener. - * @param listener The function of the event handler to remove from the event target. - * @param useCapture Optional - */ - removeEventListener(type: AdEvent.Type, listener: AdEvent.Listener, useCapture?: boolean): void - /** - * Removes an event listener for the specified type. - * @param type The event type for which to remove an event listener. - * @param listener The function of the event handler to remove from the event target. - * @param useCapture Optional - */ - removeEventListener(type: AdErrorEvent.Type, listener: AdErrorEvent.Listener, useCapture?: boolean): void - /** - * Collapse the current ad. This is no-op for HTML5 SDK. - */ - collapse(): void - /** - * Removes ad assets loaded at runtime that need to be properly removed at the time of ad completion and stops the ad and all tracking. - */ - destroy(): void - /** - * If an ad break is currently playing, discard it and resume content. Otherwise, ignore the next scheduled ad break. For example, this can be called immediately after the ads manager loads to ignore a preroll without losing future midrolls or postrolls. This is a no-op unless the ad request returned a playlist or VMAP response. - */ - discardAdBreak(): void - /** - * Expand the current ad. This is no-op for HTML5 SDK. - */ - expand(): void - /** - * Returns true if the ad can currently be skipped. When this value changes, the AdsManager fires an AdEvent.SKIPPABLE_STATE_CHANGED event. - * @returns True if the ad can currently be skipped, false otherwise. - */ - getAdSkippableState(): boolean - /** - * Returns an array of offsets in seconds indicating when a scheduled ad break will play. A preroll is represented by 0, and a postroll is represented by -1. An empty array indicates the ad or ad pod has no schedule and can be played at any time. - * @returns List of time offsets in seconds. - */ - getCuePoints(): number[] - /** - * Get the remaining time of the current ad that is playing. If the ad is not loaded yet or has finished playing, the API would return -1. - * @returns Returns the time remaining for current ad. If the remaining time is undefined for the current ad (for example custom ads), the value returns -1. - */ - getRemainingTime(): number - /** - * Get the volume for the current ad. - * @returns The volume of the current ad, from 0 (muted) to 1 (loudest). - */ - getVolume(): number - /** - * Call init to initialize the ad experience on the ads manager. - * @param width The desired width of the ad. - * @param height The desired height of the ad. - * @param viewMode The desired view mode. - * @param videoElement The video element for custom playback. This video element overrides the one provided in the AdDisplayContainer constructor. Only use this property if absolutely necessary - otherwise we recommend specifying this video element while creating the AdDisplayContainer. - */ - init(width: number, height: number, viewMode: ViewMode, videoElement?: HTMLVideoElement): void - /** - * Returns true if a custom click tracking element is being used for click tracking on the current ad. Custom click tracking is only used when an optional click tracking element is provided to the AdDisplayContainer, custom playback is used, and the current ad is not an AdSense/AdX ad. - * @returns Whether custom click tracking is used. - */ - isCustomClickTrackingUsed(): boolean - /** - * Returns true if a custom video element is being used to play the current ad. Custom playback occurs when an optional video element is provided to the AdDisplayContainer on platforms where a custom video element would provide a more seamless ad viewing experience. - * @returns Whether custom playback is used. - */ - isCustomPlaybackUsed(): boolean - /** - * Pauses the current ad that is playing. This function will be no-op when a static overlay is being shown or if the ad is not loaded yet or is done playing. - */ - pause(): void - /** - * Resizes the current ad. - * @param width New ad slot width. - * @param height New ad slot height. - * @param viewMode The new view mode. - */ - resize(width: number, height: number, viewMode: ViewMode): void - /** - * Resumes the current ad that is loaded and paused. This function will be no-op when a static overlay is being shown or if the ad is not loaded yet or is done playing. - */ - resume(): void - /** - * Set the volume for the current ad. - * @param volume The volume to set, from 0 (muted) to 1 (loudest). - */ - setVolume(volume: number): void - /** - * Skips the current ad when AdsManager.getAdSkippableState() is true. When called under other circumstances, skip has no effect. After the skip is completed the AdsManager fires an AdEvent.SKIPPED event. - */ - skip(): void - /** - * Start playing the ads. - */ - start(): void - /** - * Stop playing the ads. Calling this will get publisher back to the content. - */ - stop(): void - /** - * Updates the ads rendering settings. This should be used specifically for VMAP use cases between ad breaks when ads rendering settings such as bitrate need to be updated. - * @param adsRenderingSettings The updated ads rendering settings. - */ - updateAdsRenderingSettings(adsRenderingSettings: Partial): void - } - /** - * This event is raised when ads are successfully loaded from the Google or DoubleClick ad servers via an AdsLoader. You can register for this event on AdsLoader. - */ - class AdsManagerLoadedEvent { - /** - * After ads are loaded from the Google or DoubleClick ad servers, the publisher needs to play these ads either in their own video player or in the Google-provided video player. This method returns an AdsManager object. The AdsManager supports playing ads and allows the publisher to subscribe to various events during ad playback. - * @param contentPlayback Player that plays back publisher's content. This must be an object that contains the property currentTime, which allows the SDK to query playhead position to properly display midrolls in case ad server responds with an ad rule, and the duration property. The HMTL5 video element fulfills these requirements. You may optionally implement your own playhead tracker, as long as it fulfills the above requirements. - * @param adsRenderingSettings Optional settings to control the rendering of ads. - * @returns AdsManager that manages and plays ads. - */ - public getAdsManager(contentPlayback: { - currentTime: number - duration: number - }, adsRenderingSettings?: Partial): AdsManager - /** - * @returns During ads load request it is possible to provide an object that is available once the ads load is complete. One possible use case: relate ads response to a specific request and use user request content object as a key for identifying the response. - */ - public getUserRequestContext(): any - } - namespace AdsManagerLoadedEvent { - /** - * Types of AdsManagerLoadedEvents. - */ - enum Type { - /** - * Fired when the ads have been loaded and an AdsManager is available. - */ - ADS_MANAGER_LOADED = 'adsManagerLoaded', - } - type Listener = (event: AdsManagerLoadedEvent) => void - } - /** - * Defines parameters that control the rendering of ads. - */ - class AdsRenderingSettings { - /** - * Set to false if you wish to have fine grained control over the positioning of all non-linear ads. If this value is true, the ad is positioned in the bottom center. If this value is false, the ad is positioned in the top left corner. The default value is true. - */ - public autoAlign: boolean - /** - * Maximum recommended bitrate. The value is in kbit/s. The SDK will pick media with bitrate below the specified max, or the closest bitrate if there is no media with lower bitrate found. Default value, -1, means the bitrate will be selected by the SDK. - */ - public bitrate: number - /** - * Enables preloading of video assets. For more info see our guide to preloading media. - */ - public enablePreloading: boolean - /** - * Timeout (in milliseconds) when loading a video ad media file. If loading takes longer than this timeout, the ad playback is canceled and the next ad in the pod plays, if available. Use -1 for the default of 8 seconds. - */ - public loadVideoTimeout: number - /** - * Only supported for linear video mime types. If specified, the SDK will include media that matches the MIME type(s) specified in the list and exclude media that does not match the specified MIME type(s). The format is a list of strings, e.g., [ 'video/mp4', 'video/webm', ... ] If not specified, the SDK will pick the media based on player capabilities. - */ - public mimeTypes: string[] - /** - * For VMAP and ad rules playlists, only play ad breaks scheduled after this time (in seconds). This setting is strictly after - e.g. setting playAdsAfterTime to 15 will cause IMA to ignore an ad break scheduled to play at 15s. - */ - public playAdsAfterTime: number - /** - * Specifies whether or not the SDK should restore the custom playback state after an ad break completes. This is setting is used primarily when the publisher passes in its content player to use for custom ad playback. - */ - public restoreCustomPlaybackStateOnAdBreakComplete: boolean - /** - * Specifies whether the UI elements that should be displayed. The elements in this array are ignored for AdSense/AdX ads. - */ - public uiElements: UiElements[] - /** - * Render linear ads with full UI styling. This setting does not apply to AdSense/AdX ads or ads played in a mobile context that already use full UI styling by default. - */ - public useStyledLinearAds: boolean - /** - * Render non-linear ads with a close and recall button. - */ - public useStyledNonLinearAds: boolean - } - /** - * A class for specifying properties of the ad request. - */ - class AdsRequest { - /** - * Specifies a VAST 2.0 document to be used as the ads response instead of making a request via an ad tag url. This can be useful for debugging and other situations where a VAST response is already available. - * - * This parameter is optional. - */ - public adsResponse?: string - /** - * Specifies the ad tag url that is requested from the ad server. For details on constructing the ad tag url, see Create a master video tag manually. - * - * This parameter is required. - */ - public adTagUrl: string - /** - * Specifies the duration of the content in seconds to be shown. Used in AdX requests. - * - * This parameter is optional. - */ - public contentDuration?: number - /** - * Specifies the keywords used to describe the content to be shown. Used in AdX requests. - * - * This parameter is optional. - */ - public contentKeywords?: string[] - /** - * Specifies the title of the content to be shown. Used in AdX requests. - * - * This parameter is optional. - */ - public contentTitle?: string - /** - * Forces non-linear AdSense ads to render as linear fullslot. If set, the content video will be paused and the non-linear text or image ad will be rendered as fullslot. The content video will resume once the ad has been skipped or closed. - */ - public forceNonLinearFullSlot?: boolean - /** - * Specifies the height of the rectangular area within which a linear ad is displayed. This value is used as one of the criteria for ads selection. This value does not need to match actual ad's height. - * - * This parameter is required. - */ - public linearAdSlotHeight: number - /** - * Specifies the width of the rectangular area within which a linear ad is displayed. This value is used as one of the criteria for ads selection. This value does not need to match actual ad's width. - * - * This parameter is required. - */ - public linearAdSlotWidth: number - /** - * Specifies the maximum amount of time to wait in seconds, after calling requestAds, before requesting the ad tag URL. This can be used to stagger requests during a live-stream event, in order to mitigate spikes in the number of requests. - */ - public liveStreamPrefetchSeconds?: number - /** - * Specifies the height of the rectangular area within which a non linear ad is displayed. This value is used as one of the criteria for ads selection. This value does not need to match actual ad's height. - * - * This parameter is required. - */ - public nonLinearAdSlotHeight: number - /** - * Specifies the width of the rectangular area within which a non linear ad is displayed. This value is used as one of the criteria for ads selection. This value does not need to match actual ad's width. - * - * This parameter is required. - */ - public nonLinearAdSlotWidth: number - /** - * Specifies the full url of the page that will be included in the Google ad request for targeting purposes. The url needs to be a valid url. If specified, this value will be used for the [PAGEURL] VAST macro. - * - * This parameter is optional. - */ - public pageUrl?: string - /** - * Override for default VAST load timeout in milliseconds for a single wrapper. The default timeout is 5000ms. - * - * This parameter is optional. - */ - public vastLoadTimeout?: number - /** - * Notifies the SDK whether the player intends to start the content and ad in response to a user action or whether it will be automatically played. Changing this setting will have no impact on ad playback. - * @param autoPlay Whether the content and the ad will be autoplayed or whether it will be started by a user action. - */ - public setAdWillAutoPlay(autoPlay: boolean): void - /** - * Notifies the SDK whether the player intends to start ad while muted. Changing this setting will have no impact on ad playback, but will send the appropriate signal in the ad request to allow buyers to bid on muted inventory. - * @param muted Whether the ad will be played while muted. - */ - public setAdWillPlayMuted(muted: boolean): void - /** - * Notifies the SDK whether the player intends to continuously play the content videos one after another similar to TV broadcast. Changing this setting will have no impact on the ad playback, but will send the appropriate signal in this ad request to allow buyers to bid on the type of ad inventory. - * @param continuousPlayback Whether the content video is played one after another continuously. - */ - public setContinuousPlayback(continuousPlayback: boolean): void - } - /** - * A companion ad class that is extended by companion ads of different ad types. - */ - interface CompanionAd { - /** - * @returns Returns the ad slot id for this companion. - */ - getAdSlotId(): string - /** - * Returns the HTML content for the companion ad that can be added to the publisher page. - * @returns The HTML content. - */ - getContent(): string - /** - * @returns The content type of the Companion Ad. This may return null if the content type is not known (such as in the case of a VAST HTMLResource or IFrameResource). - */ - getContentType(): string | null - /** - * @returns Returns the height of the companion in pixels. - */ - getHeight(): number - /** - * @returns Returns the width of the companion in pixels. - */ - getWidth(): number - } - /** - * CompanionAdSelectionSettings object is used to define the selection criteria when calling the ima.Ad.getCompanionAds function. - */ - class CompanionAdSelectionSettings { - /** - * The companion ad slot ids to be used for matching set by the user. - */ - public adSlotIds: string[] - /** - * Creative type setting set by the user. - */ - public creativeType: CompanionAdSelectionSettings.CreativeType - /** - * The near fit percent set by the user. - */ - public nearMatchPercent: number - /** - * Resource type setting set by the user. - */ - public resourceType: CompanionAdSelectionSettings.ResourceType - /** - * Size criteria setting set by the user. - */ - public sizeCriteria: CompanionAdSelectionSettings.SizeCriteria - } - namespace CompanionAdSelectionSettings { - /** - * Available choices for creative type of a companion ad. The user can specify any of these choices as a criterion for selecting companion ads. - */ - enum CreativeType { - /** - * Specifies all creative types. - */ - ALL = 'All', - /** - * Specifies Flash creatives. - */ - FLASH = 'Flash', - /** - * Specifies image creatives (such as JPEG, PNG, GIF, etc). - */ - IMAGE = 'Image', - } - /** - * Available choices for resource type of a companion ad. The user can specify any of these choices as a criterion for selecting companion ads. - */ - enum ResourceType { - /** - * Specifies that the resource can be any type of resource. - */ - ALL = 'All', - /** - * Specifies that the resource should be an HTML snippet. - */ - HTML = 'Html', - /** - * Specifies that the resource should be a URL that should be used as the source of an iframe. - */ - IFRAME = 'IFrame', - /** - * Specifies that the resource should be a static file (usually the URL of an image of SWF). - */ - STATIC = 'Static', - } - /** - * Available choices for size selection criteria. The user can specify any of these choices for selecting companion ads. - */ - enum SizeCriteria { - /** - * Specifies that size should be ignored when choosing companions. - */ - IGNORE = 'IgnoreSize', - /** - * Specifies that only companions that match the size of the companion ad slot exactly should be chosen. - */ - SELECT_EXACT_MATCH = 'SelectExactMatch', - /** - * Specifies that any companion close to the size of the companion ad slot should be chosen. - */ - SELECT_NEAR_MATCH = 'SelectNearMatch', - } - } - /** - * This class contains SDK-wide settings. - */ - class ImaSdkSettings { - /** - * Returns the current companion backfill mode. - * @returns The current value. - */ - public getCompanionBackfill(): ImaSdkSettings.CompanionBackfillMode - /** - * Gets whether to disable custom playback on iOS 10+ browsers. The default value is false. - */ - public getDisableCustomPlaybackForIOS10Plus(): boolean - /** - * @returns Whether flash ads should be disabled. - */ - public getDisableFlashAds(): boolean - /** - * Returns the publisher provided locale. - * @returns Publisher provided locale. - */ - public getLocale(): string - /** - * Returns the maximum number of redirects for subsequent redirects will be denied. - * @returns The maximum number of redirects. - */ - public getNumRedirects(): number - /** - * Returns the partner provided player type. - * @returns Partner player type. - */ - public getPlayerType(): string - /** - * Returns the partner provided player version. - * @returns Partner player version. - */ - public getPlayerVersion(): string - /** - * Returns the publisher provided id. - * @returns Publisher provided id. - */ - public getPpid(): string - /** - * Sets whether VMAP and ad rules ad breaks are automatically played - * @param autoPlayAdBreaks Whether to autoPlay the ad breaks. - */ - public setAutoPlayAdBreaks(autoPlayAdBreaks: boolean): void - /** - * Sets the companion backfill mode. Please see the various modes available in google.ima.ImaSdkSettings.CompanionBackfillMode. - * - * The default mode is ima.ImaSdkSettings.CompanionBackfillMode.ALWAYS. - * - * @param mode The desired companion backfill mode. - */ - public setCompanionBackfill(mode: ImaSdkSettings.CompanionBackfillMode): void - /** - * Sets whether to disable custom playback on iOS 10+ browsers. If true, ads will play inline if the content video is inline. This enables TrueView skippable ads. However, the ad will stay inline and not support iOS's native fullscreen. When false, ads will play in the same player as your content. The value set here when an AdDisplayContainer is created is used for the lifetime of the container. The default value is false. - * @param disable Whether or not to disable custom playback. - */ - public setDisableCustomPlaybackForIOS10Plus(disable: boolean): void - /** - * Sets whether flash ads should be disabled. - * @param disableFlashAds Whether flash ads should be disabled. - */ - public setDisableFlashAds(disableFlashAds: boolean): void - /** - * Sets the publisher provided locale. Must be called before creating AdsLoader or AdDisplayContainer. The locale specifies the language in which to display UI elements and can be any two-letter ISO 639-1 code. - * @param locale Publisher-provided locale. - */ - public setLocale(locale: string): void - /** - * Specifies the maximum number of redirects before the subsequent redirects will be denied, and the ad load aborted. The number of redirects directly affects latency and thus user experience. This applies to all VAST wrapper ads. - * @param numRedirects The maximum number of redirects. - */ - public setNumRedirects(numRedirects: number): void - /** - * Sets the partner provided player type. This setting should be used to specify the name of the player being integrated with the SDK. Player type greater than 20 characters will be truncated. The player type specified should be short and unique. This is an optional setting used to improve SDK usability by tracking player types. - * @param playerType The type of the partner player. - */ - public setPlayerType(playerType: string): void - /** - * Sets the partner provided player version. This setting should be used to specify the version of the partner player being integrated with the SDK. Player versions greater than 20 characters will be truncated. This is an optional setting used to improve SDK usability by tracking player version. - * @param playerVersion The version of the partner player. - */ - public setPlayerVersion(playerVersion: string): void - /** - * Sets the publisher provided id. - * @param ppid Publisher provided id. - */ - public setPpid(ppid: string): void - /** - * Sets whether VPAID creatives are allowed. - * @param allowVpaid Whether to allow VPAID creatives. - * @deprecated Please use setVpaidMode. - */ - public setVpaidAllowed(allowVpaid: boolean): void - /** - * Sets VPAID playback mode. - * @param vpaidMode Sets how VPAID ads will be played. Default is to not allow VPAID ads. - */ - public setVpaidMode(vpaidMode: ImaSdkSettings.VpaidMode): void - } - namespace ImaSdkSettings { - /** - * Defines a set of constants for the companion backfill setting. This setting indicates whether companions should be backfilled in various scenarios. - * - * The default value is ALWAYS. - * - * Note that client-side companion backfill requires tagging your companions properly with a Google Publisher Tag (GPT). - */ - enum CompanionBackfillMode { - /** - * If the value is ALWAYS, companion backfill will be attempted in all situations, even when there is no master ad returned. - */ - ALWAYS = 'always', - /** - * If the value is ON_MASTER_AD, companion backfill will be attempted if there is a master ad with fewer companions than there are companion slots. The missing companions will be backfilled. - */ - ON_MASTER_AD = 'on_master_ad', - } - /** - * A set of constants for enabling VPAID functionality. - */ - enum VpaidMode { - /** - * VPAID ads will not play and an error will be returned. - */ - DISABLED = 0, - /** - * VPAID ads are enabled using a cross domain iframe. The VPAID ad cannot access the site. VPAID ads that depend on friendly iframe access may error. This is the default. - */ - ENABLED = 1, - /** - * VPAID ads are enabled using a friendly iframe. This allows the ad access to the site via JavaScript. - */ - INSECURE = 2, - } - } - /** - * Enum specifying different UI elements that can be configured to be displayed or hidden. These settings may be ignored for AdSense and ADX ads. - */ - enum UiElements { - /** - * Displays the "Ad" text in the ad UI. Must be present to show the countdown timer. - */ - AD_ATTRIBUTION = 'adAttribution', - /** - * Ad attribution is required for a countdown timer to be displayed. Both UiElements.COUNTDOWN and UiElements.AD_ATTRIBUTION must be present in AdsRenderingSettings.uiElements. - */ - COUNTDOWN = 'countdown', - } - /** - * Enum specifying different VPAID view modes for ads. - */ - enum ViewMode { - /** - * Fullscreen ad view mode. Indicates to the ads manager that the publisher considers the current AdDisplayContainer arrangement as fullscreen (i.e. simulated fullscreen). This does not cause the ads manager to enter fullscreen. - */ - FULLSCREEN = 'fullscreen', - /** - * Normal ad view mode. - */ - NORMAL = 'normal', - } - /** - * A string containing the full version of the SDK. - */ - const VERSION: string - /** - * Settings for the Google IMA SDK. - */ - const settings: ImaSdkSettings - } - } - export type ImaSdk = typeof google.ima - export class DelegatedEventTarget implements EventTarget { - private delegate - addEventListener(...args: any): void - dispatchEvent(...args: any): boolean - removeEventListener(...args: any): void - } - export class PlayerOptions { - /** Sets whether to disable custom playback on iOS 10+ browsers. If true, ads will play inline if the content video is inline. This enables TrueView skippable ads. However, the ad will stay inline and not support iOS's native fullscreen. */ - disableCustomPlaybackForIOS10Plus: boolean - /** Enables or disables auto resizing of adsManager. If enabled it also resizes non-linear ads. */ - autoResize: boolean - /** Allows to have a separate 'Learn More' click tracking element on mobile. */ - clickTrackingElement?: HTMLElement - } - export type StartAd = { - start: () => void - startWithoutReset: () => void - ad?: google.ima.Ad - adBreakTime?: number - } - export type StartAdCallback = (startAd: StartAd) => void - /** - * Convenience player wrapper for the Google IMA HTML5 SDK - */ - export class Player extends DelegatedEventTarget { - #private - constructor(ima: ImaSdk, mediaElement: HTMLVideoElement, adElement: HTMLElement, adsRenderingSettings?: google.ima.AdsRenderingSettings, options?: PlayerOptions) - /** - * This allows synchronous activation of the media element - * and the Google IMA ad-display-container. Useful when you - * have to do async work before calling "playAds". - */ - activate(): void - /** - * This is the entry point to start ad playback. It can be used - * as such: - * - * - With a single VAST at the beginning to play a preroll - * - Anyhwere during content playback with a single VAST - * - With a single VMAP at the beginning - */ - playAds(adsRequest: google.ima.AdsRequest): void - /** - * Similar to "playAds" method but with the difference - * that it allows to first load the ad and start it separately - * within the given callback. - * - * When a VAST or a VMAP ad break is given the callback is called - * with a "start" method which either starts playing the individual - * VAST ad or starts the VMAP ad break. If "start" method is not called - * it won't play the ad. - */ - loadAds(adsRequest: google.ima.AdsRequest, startAdCallback: StartAdCallback): void - private _mediaElementPlay - private _requestAds - private _setupIma - skipAd(): void - discardAdBreak(): void - /** - * Starts playback of either content or ad element. - */ - play(): void - /** - * Pauses playback of either content or ad element. - */ - pause(): void - /** - * Sets volume of either content or ad element. - */ - set volume(volume: number) - /** - * Returns volume of either content or ad element. - */ - get volume(): number - /** - * Sets muted state on either content or ad element. - */ - set muted(muted: boolean) - /** - * Returns muted state of either content or ad element. - */ - get muted(): boolean - /** - * Sets current time of content element when not in ad playback mode. - */ - set currentTime(currentTime: number) - /** - * Returns current playhead time of either content or ad element. - */ - get currentTime(): number - /** - * Returns current duration of either content or ad element. - */ - get duration(): number - /** - * Returns list of ad break cue points that weren't played yet. - * Only available after "AdMetadata" event when VMAP is passed in playAds. - */ - get cuePoints(): number[] - private _setCuePoints - /** - * Remove already played cuepoints - * - * @param timeOffset offset in seconds as defined in VMAP or 0 for preroll and -1 for postroll - */ - private _adjustCuePoints - /** - * Allows resizing the ad element. Useful when options.autoResize = false. - */ - resizeAd(width: number, height: number): void - /** - * Cleans up current ad and ad manager session or the complete IMA (via force). - * - * Externally call this function with "force = true" when you want to switch - * the content source or move the player to another DOM node before doing - * another "playAds" or "loadAds", so that it does a full cleanup. - * - * @param force - enforce a full cleanup - * @returns a promise which resolves after all the cleanup work is done - */ - reset(force?: boolean): void - private _resetIma - /** - * Completely destroys this instance. It is unusable after that. - */ - destroy(): void - isCustomPlaybackUsed(): boolean - private _resetAd - private _handleMediaElementEvents - private _handleAdsManagerEvents - private _onAdsLoaderError - private _onAdsManagerLoaded - private _startAdsManager - private _mediaStop - private _resizeObserverCallback - private _resizeAdsManager - private _getViewMode - private _playContent - private _createPlayerErrorFromImaErrorEvent - private _onAdError - } -} -/* eslint-enable ts/method-signature-style, ts/consistent-type-definitions */ -declare global { - interface Window { - artplayerPluginVast?: typeof artplayerPluginVast - } -} -declare namespace artplayerPluginVastDefinitions { - export type PlayUrlFn = (url: string, config?: any) => void - export type PlayResFn = (res: string, config?: any) => void - export interface VastPluginContext { - art: Artplayer - ima: any - imaPlayer: Player | null - playUrl: PlayUrlFn - playRes: PlayResFn - init: () => Player - adsRenderingSettings: any - playerOptions: PlayerOptions - container: HTMLDivElement | null - } - export type ArtplayerPluginVastOption = (params: VastPluginContext) => void | Promise - export interface ArtplayerPluginVastInstance { - name: 'artplayerPluginVast' - destroy?: () => void - } - export function artplayerPluginVast(option: ArtplayerPluginVastOption): (art: Artplayer) => ArtplayerPluginVastInstance -} -declare const artplayerPluginVast: typeof artplayerPluginVastDefinitions.artplayerPluginVast -declare namespace artplayerPluginVast { - export type ArtplayerPluginVastOption = artplayerPluginVastDefinitions.ArtplayerPluginVastOption - export type ArtplayerPluginVastInstance = artplayerPluginVastDefinitions.ArtplayerPluginVastInstance -} +/* eslint-disable ts/no-use-before-define, ts/consistent-type-definitions -- Preserve historical export ordering and private aliases. */ export = artplayerPluginVast export as namespace artplayerPluginVast; +type Option = (params: { + art: Artplayer + id: string + ima: any + imaPlayer: any + $container: HTMLDivElement + playUrl: (url: string) => void + playRes: (res: string) => void +}) => void +type Result = { + name: 'artplayerPluginVast' +} +declare const artplayerPluginVast: (option: Option) => (art: Artplayer) => Result diff --git a/eslint.config.js b/eslint.config.js index f363264de..8055a6a89 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -12,4 +12,15 @@ export default antfu({ rules: { "eslint-comments/no-unlimited-disable": "off", }, +}, { + name: 'artplayer/frozen-vast-public-declaration', + files: ['packages/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts'], + // Keep actual npm 1.0.0 declaration bytes; strict consumers verify its contracts. + rules: { + 'style/semi': 'off', + 'style/indent': 'off', + 'style/member-delimiter-style': 'off', + 'ts/no-use-before-define': 'off', + 'ts/consistent-type-definitions': 'off', + }, }); diff --git a/package.json b/package.json index 3ce27a190..722e878d1 100644 --- a/package.json +++ b/package.json @@ -148,7 +148,9 @@ "check:vconsole": "node scripts/build-vconsole.mjs --check", "test:vconsole": "node --test test/vconsole-lifecycle.test.js", "test:browser:source": "node scripts/browser-check.mjs source", - "test:browser:installed": "node scripts/browser-check.mjs installed" + "test:browser:installed": "node scripts/browser-check.mjs installed", + "test:vast-types": "node --test refactor/scripts/vast-types.test.mjs", + "test:vast-types-package": "node refactor/scripts/vast-package-types.mjs" }, "browserslist": "last 1 Chrome version", "devDependencies": { diff --git a/packages/artplayer-plugin-vast/.npmignore b/packages/artplayer-plugin-vast/.npmignore index 4439c6874..2b272d565 100644 --- a/packages/artplayer-plugin-vast/.npmignore +++ b/packages/artplayer-plugin-vast/.npmignore @@ -2,4 +2,5 @@ node_modules .DS_Store yarn.lock package-lock.json -src \ No newline at end of file +src +tsconfig.json diff --git a/packages/artplayer-plugin-vast/ARCHITECTURE.md b/packages/artplayer-plugin-vast/ARCHITECTURE.md index 1b27cedec..4e73b2891 100644 --- a/packages/artplayer-plugin-vast/ARCHITECTURE.md +++ b/packages/artplayer-plugin-vast/ARCHITECTURE.md @@ -1,7 +1,7 @@ # VAST implementation and maintenance -The runtime follows the accepted published-versus-workspace initialization decision. -Public declaration reconciliation and real IMA validation remain separate release gates. +The runtime and public types follow the accepted published-versus-workspace decisions. +Real IMA validation and full distribution acceptance remain separate release gates. ## Module map @@ -17,8 +17,13 @@ Public declaration reconciliation and real IMA validation remain separate releas active-ad request suppression; default mode delegates those behaviors to the SDK. - `src/view.ts` creates each mode's historical overlay styles and distinct per-module container IDs, including multiple instances initialized in the same millisecond. -- `src/types.ts` describes the implementation context and SDK boundary. Public legacy - declarations in `types/` remain separate pending PKG-VAST-04 reconciliation. +- `src/types.ts` imports shared fields from `types/runtime-api.d.ts` for the implementation + context, request configuration and result, and adds only private utilities/callback typing. +- `types/artplayer-plugin-vast.d.ts` is the exact npm1.0.0 declaration compatibility surface. + `types/runtime-api.d.ts` is the accurate SDK/context/Promise source; runtime.d.ts/.d.cts + expose CJS types, while runtime.d.mts exposes native ESM types. All resolve to the same + runtime artifacts. CJS declarations intentionally duplicate a small export facade; + changes must keep runtime.d.ts and runtime.d.cts identical. Dependency direction is entry -> session -> SDK/view/types. The session passes the original `art` through the callback for compatibility; only template elements are @@ -36,7 +41,7 @@ secondary cleanup failures are logged without replacing the original error. Explicit plugin `destroy()` releases the current ad session, resets active-ad state, and permits a later `init`/`playUrl`/`playRes` while the core remains alive. Core destroy and failed attachment are terminal: request methods are inert and `init()` returns -null. Public declaration accuracy for this invalid-lifetime case belongs to04. +null. The accurate runtime declaration includes that terminal null result. Each session has an owner identity. Its callbacks verify that identity and core liveness before changing visibility. Cleanup detaches the current owner and clears @@ -73,7 +78,8 @@ resource ownership. Never use a retained disposed SDK as an active session. Both modes retain void request methods, async registration and SDK/callback rejection. The old `require(...).default(...)` call and current callable export remain available; this does not recreate the old namespace object's reflection shape. Contradictory -public return declarations and the new second-argument declaration remain task04. +historical return declarations remain unchanged at the root; `/runtime` supplies the +accurate Promise, both mode-specific contexts and the second argument. See [the accepted decision](../../refactor/vast-compatibility-decision.md). Overlay IDs use the historical `art-` default prefix or `art-vast-` workspace prefix, @@ -103,9 +109,17 @@ import, using an already destroyed host to verify registration without loading a Set `ARTPLAYER_VAST_ARTIFACT` and `ARTPLAYER_VAST_ESM_ARTIFACT` to test actual build files; otherwise it builds source via the repository helper. The live alias path uses the controlled SDK in `test/vast.test.js` and the browser registration case. -Public alias declarations and complete installed entry validation remain04/06. +Accurate alias types are exposed only by `/runtime`; the root remains a pure historical +factory type. Installed root/legacy/runtime imports and strict SDK type dependency +resolution are checked by `yarn test:vast-types-package`. This does not replace task06's +complete browser/distribution acceptance. For state or cleanup changes start in session, for callback timing in entry, and for SDK request fields in sdk. Keep Node candidate assertions, historical observations, browser counterparts and [test maintenance](../../refactor/vast-validation.md) aligned. -Actual IMA/media/device validation remains05, public types04, and full distribution06. +`yarn test:vast-types` verifies unchanged root bytes, historical type conflicts, negative +runtime consumers and editor generation in TS5.9.3/4.3.5. `yarn build:ts artplayer-plugin-vast` +regenerates the root-compatible editor global. Frozen workspace editor tests continue to +exercise the SDK declaration bundler; they are labelled historical. Public migration +is documented in [the accepted type decision](../../refactor/vast-type-decision.md). +Actual IMA/media/device validation remains05 and full distribution06. diff --git a/packages/artplayer-plugin-vast/README.md b/packages/artplayer-plugin-vast/README.md index 79ced5a4d..fea92d0f5 100644 --- a/packages/artplayer-plugin-vast/README.md +++ b/packages/artplayer-plugin-vast/README.md @@ -25,8 +25,40 @@ artplayerPluginVast((context) => { The callback may be asynchronous. Core destruction releases the ad session and prevents later requests or recreation. Explicit plugin `destroy()` allows a new ad session while the core is alive. See the architecture guide for mode-specific fields and defaults. -Public TypeScript declarations for the second argument are still being reconciled in -PKG-VAST-04; these are JavaScript usage examples, not completed declaration acceptance. +## TypeScript + +The root and `/legacy` declarations preserve npm 1.0.0's historical factory shape, +including its required callback, `any` SDK fields and inaccurate synchronous result. +Registration has always been asynchronous: await it even when using the old declarations. + +Use `/runtime` for accurate SDK types, Promise results, optional callbacks and the +compatibility option. This entry uses the same JavaScript implementation: + +```ts +import vast from 'artplayer-plugin-vast/runtime' + +vast(({ imaPlayer }) => { + // The default mode allocates this player before the callback. + imaPlayer.addEventListener('AdStarted', onAdStarted) +}) + +vast((context) => { + context.playerOptions.autoResize = false + context.init()?.addEventListener('AdStarted', onAdStarted) +}, { compatibility: 'workspace-1.2' }) +``` + +Code using unpublished workspace types should move its imports to `/runtime` as well. +`ArtplayerPluginVastOption` describes the workspace callback; `ArtplayerPluginVastInstance` +describes the awaited result with `destroy()`. A workspace resource getter can be null, +and `init()` returns null after core destruction. Default data fields retain the last +allocation after release; retaining their values does not keep that allocation alive. + +CommonJS TypeScript without interop can use +`import vast = require('artplayer-plugin-vast/runtime')`. Both `vast` and `vast.default` +are typed there. The old root declaration intentionally keeps its original factory +type without adding a required `.default` member, so plain replacement functions and +historical `Parameters`/`ReturnType` extraction remain compatible. ## Maintenance diff --git a/packages/artplayer-plugin-vast/package.json b/packages/artplayer-plugin-vast/package.json index dc421a960..ad2830ec9 100644 --- a/packages/artplayer-plugin-vast/package.json +++ b/packages/artplayer-plugin-vast/package.json @@ -27,6 +27,16 @@ "types": "./types/artplayer-plugin-vast.d.ts", "import": "./dist/artplayer-plugin-vast.legacy.js", "require": "./dist/artplayer-plugin-vast.legacy.js" + }, + "./runtime": { + "import": { + "types": "./types/runtime.d.mts", + "default": "./dist/artplayer-plugin-vast.mjs" + }, + "require": { + "types": "./types/runtime.d.cts", + "default": "./dist/artplayer-plugin-vast.js" + } } }, "main": "./dist/artplayer-plugin-vast.js", @@ -37,5 +47,15 @@ "dependencies": { "@alugha/ima": "2.1.0", "@glomex/vast-ima-player": "^1.21.2" + }, + "typesVersions": { + "*": { + "legacy": [ + "types/artplayer-plugin-vast.d.ts" + ], + "runtime": [ + "types/runtime.d.ts" + ] + } } } diff --git a/packages/artplayer-plugin-vast/src/types.ts b/packages/artplayer-plugin-vast/src/types.ts index db0a7b187..ca97b9f09 100644 --- a/packages/artplayer-plugin-vast/src/types.ts +++ b/packages/artplayer-plugin-vast/src/types.ts @@ -1,30 +1,6 @@ -import type { google, ImaSdk } from '@alugha/ima' -import type { Player, PlayerOptions } from '@glomex/vast-ima-player' import type Artplayer from 'artplayer' +import type { WorkspaceContext } from '../types/runtime-api.js' export type Utilities = Pick -export type RequestConfig = Record - -export interface CompatibilityOptions { - compatibility?: 'workspace-1.2' -} - -export interface Context { - art: Artplayer - playUrl: (url: string, config?: RequestConfig) => void - playRes: (response: string, config?: RequestConfig) => void - init: () => Player | null - ima: ImaSdk - adsRenderingSettings: google.ima.AdsRenderingSettings - playerOptions: PlayerOptions - readonly imaPlayer: Player | null - readonly id: string | null - readonly $container: HTMLDivElement | null - readonly container: HTMLDivElement | null -} - -export type Callback = (context: Context) => unknown -export interface Result { - name: 'artplayerPluginVast' - destroy: () => void -} +export type { CompatibilityOptions, WorkspaceContext as Context, RequestConfig, RuntimeResult as Result } from '../types/runtime-api.js' +export type Callback = (context: WorkspaceContext) => unknown diff --git a/packages/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts b/packages/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts index eed4f9a07..82c2445a8 100644 --- a/packages/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts +++ b/packages/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts @@ -1,36 +1,20 @@ -import type { Player, PlayerOptions } from '@glomex/vast-ima-player' -import type Artplayer from 'artplayer' +import type Artplayer from 'artplayer'; -declare global { - interface Window { - artplayerPluginVast?: typeof artplayerPluginVast - } -} +export = artplayerPluginVast; +export as namespace artplayerPluginVast; -type PlayUrlFn = (url: string, config?: any) => void -type PlayResFn = (res: string, config?: any) => void +type Option = (params: { + art: Artplayer; + id: string; + ima: any; + imaPlayer: any; + $container: HTMLDivElement; + playUrl: (url: string) => void; + playRes: (res: string) => void; +}) => void; -interface VastPluginContext { - art: Artplayer - ima: any - imaPlayer: Player | null - playUrl: PlayUrlFn - playRes: PlayResFn - init: () => Player - adsRenderingSettings: any - playerOptions: PlayerOptions - container: HTMLDivElement | null -} +type Result = { + name: 'artplayerPluginVast'; +}; -export type ArtplayerPluginVastOption = (params: VastPluginContext) => void | Promise - -export interface ArtplayerPluginVastInstance { - name: 'artplayerPluginVast' - destroy?: () => void -} - -declare function artplayerPluginVast( - option: ArtplayerPluginVastOption, -): (art: Artplayer) => ArtplayerPluginVastInstance - -export default artplayerPluginVast +declare const artplayerPluginVast: (option: Option) => (art: Artplayer) => Result; diff --git a/packages/artplayer-plugin-vast/types/runtime-api.d.ts b/packages/artplayer-plugin-vast/types/runtime-api.d.ts new file mode 100644 index 000000000..0db7fd40f --- /dev/null +++ b/packages/artplayer-plugin-vast/types/runtime-api.d.ts @@ -0,0 +1,54 @@ +import type { google, ImaSdk } from '@alugha/ima' +import type { Player, PlayerOptions } from '@glomex/vast-ima-player' +import type Artplayer from 'artplayer' + +export type RequestConfig = Record + +export interface CompatibilityOptions { + compatibility?: 'workspace-1.2' +} + +export interface Context { + art: Artplayer + ima: ImaSdk + adsRenderingSettings: google.ima.AdsRenderingSettings + playerOptions: PlayerOptions + playUrl: (url: string, config?: RequestConfig) => void + playRes: (response: string, config?: RequestConfig) => void + init: () => Player | null + readonly container: HTMLDivElement | null +} + +/** Published data fields retain their last allocation after release. */ +export interface PublishedContext extends Context { + imaPlayer: Player + id: string + $container: HTMLDivElement +} + +/** Resource getters are null before initialization and after release. */ +export interface WorkspaceContext extends Context { + readonly imaPlayer: Player | null + readonly id: string | null + readonly $container: HTMLDivElement | null +} + +export type RuntimeContext = PublishedContext | WorkspaceContext +export type RuntimeCallback = (context: T) => unknown + +export interface RuntimeResult { + name: 'artplayerPluginVast' + destroy: () => void +} + +export type Registration = (art: Artplayer) => Promise + +export interface RuntimeFactory { + (callback?: RuntimeCallback, options?: { compatibility?: undefined }): Registration + (callback: RuntimeCallback | undefined, options: { compatibility: 'workspace-1.2' }): Registration + (callback: RuntimeCallback | undefined, options: CompatibilityOptions): Registration + default: RuntimeFactory +} + +export type ArtplayerPluginVastOption = RuntimeCallback +export type ArtplayerPluginVastInstance = RuntimeResult diff --git a/packages/artplayer-plugin-vast/types/runtime.d.cts b/packages/artplayer-plugin-vast/types/runtime.d.cts new file mode 100644 index 000000000..abc03506a --- /dev/null +++ b/packages/artplayer-plugin-vast/types/runtime.d.cts @@ -0,0 +1,19 @@ +import type { RuntimeFactory } from './runtime-api.js' + +declare const artplayerPluginVast: RuntimeFactory +// eslint-disable-next-line ts/no-redeclare -- Ambient merge exposes types on the CommonJS factory. +declare namespace artplayerPluginVast { + type ArtplayerPluginVastInstance = import('./runtime-api.js').ArtplayerPluginVastInstance + type ArtplayerPluginVastOption = import('./runtime-api.js').ArtplayerPluginVastOption + type CompatibilityOptions = import('./runtime-api.js').CompatibilityOptions + type Context = import('./runtime-api.js').Context + type PublishedContext = import('./runtime-api.js').PublishedContext + type Registration = import('./runtime-api.js').Registration + type RequestConfig = import('./runtime-api.js').RequestConfig + type RuntimeCallback = import('./runtime-api.js').RuntimeCallback + type RuntimeContext = import('./runtime-api.js').RuntimeContext + type RuntimeFactory = import('./runtime-api.js').RuntimeFactory + type RuntimeResult = import('./runtime-api.js').RuntimeResult + type WorkspaceContext = import('./runtime-api.js').WorkspaceContext +} +export = artplayerPluginVast diff --git a/packages/artplayer-plugin-vast/types/runtime.d.mts b/packages/artplayer-plugin-vast/types/runtime.d.mts new file mode 100644 index 000000000..2afcec872 --- /dev/null +++ b/packages/artplayer-plugin-vast/types/runtime.d.mts @@ -0,0 +1,5 @@ +import type { RuntimeFactory } from './runtime-api.js' + +declare const artplayerPluginVast: RuntimeFactory +export default artplayerPluginVast +export type { ArtplayerPluginVastInstance, ArtplayerPluginVastOption, CompatibilityOptions, Context, PublishedContext, Registration, RequestConfig, RuntimeCallback, RuntimeContext, RuntimeFactory, RuntimeResult, WorkspaceContext } from './runtime-api.js' diff --git a/packages/artplayer-plugin-vast/types/runtime.d.ts b/packages/artplayer-plugin-vast/types/runtime.d.ts new file mode 100644 index 000000000..abc03506a --- /dev/null +++ b/packages/artplayer-plugin-vast/types/runtime.d.ts @@ -0,0 +1,19 @@ +import type { RuntimeFactory } from './runtime-api.js' + +declare const artplayerPluginVast: RuntimeFactory +// eslint-disable-next-line ts/no-redeclare -- Ambient merge exposes types on the CommonJS factory. +declare namespace artplayerPluginVast { + type ArtplayerPluginVastInstance = import('./runtime-api.js').ArtplayerPluginVastInstance + type ArtplayerPluginVastOption = import('./runtime-api.js').ArtplayerPluginVastOption + type CompatibilityOptions = import('./runtime-api.js').CompatibilityOptions + type Context = import('./runtime-api.js').Context + type PublishedContext = import('./runtime-api.js').PublishedContext + type Registration = import('./runtime-api.js').Registration + type RequestConfig = import('./runtime-api.js').RequestConfig + type RuntimeCallback = import('./runtime-api.js').RuntimeCallback + type RuntimeContext = import('./runtime-api.js').RuntimeContext + type RuntimeFactory = import('./runtime-api.js').RuntimeFactory + type RuntimeResult = import('./runtime-api.js').RuntimeResult + type WorkspaceContext = import('./runtime-api.js').WorkspaceContext +} +export = artplayerPluginVast diff --git a/refactor/baselines/vast-types-validation.json b/refactor/baselines/vast-types-validation.json new file mode 100644 index 000000000..a682f8ff9 --- /dev/null +++ b/refactor/baselines/vast-types-validation.json @@ -0,0 +1,7017 @@ +{ + "task": "PKG-VAST-04", + "date": "2026-09-14", + "baselineCommit": "c162d2b3b3f4fe64c3d178bdf0dc3b8eea32cac5", + "node": "24.21.0", + "yarn": "1.22.22", + "compilers": [ + "5.9.3", + "4.3.5" + ], + "authorization": "User independently accepted preserving npm1.0.0 root types and moving unpublished workspace consumers to /runtime.", + "checks": [ + { + "path": "refactor/.cache/vast04-types-release.log", + "sha256": "5f51fca049503f45142b8ca28d3fa4f6113a995d520d6b9e066a3a791d49e869", + "pass": 20, + "exitCode": 0 + }, + { + "path": "refactor/.cache/vast04-node.log", + "sha256": "19d5fc2b5f911b94f6097daecd72e03db6f034147c38b13f9adb18f9d270f22c", + "pass": 82, + "exitCode": 0 + }, + { + "path": "refactor/.cache/vast04-installed-final.log", + "sha256": "f7c55f3636dcb90ff5bb0c631ffc3dde86bf64fba6ded77a232704d0ad5c7e8d", + "pass": 14, + "exitCode": 0 + }, + { + "path": "refactor/.cache/vast04-editor-browser.log", + "sha256": "31c50efe1d0b66df72c72178c665523380adf0b3fae8396b47b2f2333dcc5356", + "pass": 3, + "exitCode": 0 + }, + { + "path": "refactor/.cache/vast04-typecheck.log", + "sha256": "30cdee82259f793b866c972e0fd43302c00d165487581c7dace8724b130e0db9", + "pass": null, + "exitCode": 0 + }, + { + "path": "refactor/.cache/vast04-source-types.log", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "pass": null, + "exitCode": 0 + }, + { + "path": "refactor/.cache/vast04-lint-complete.log", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "pass": null, + "exitCode": 0 + }, + { + "path": "refactor/.cache/vast04-editor-build-third.log", + "sha256": "ffb30efcef819a78a0f618a7d508db2193168656d45e47d922737aedee90c350", + "pass": null, + "exitCode": 0 + }, + { + "path": "refactor/.cache/vast04-build.log", + "sha256": "84bd84a4a262bbbb30d186f8c19552b510be9000936a995d27ddef7e53d42e8e", + "pass": null, + "exitCode": 0 + }, + { + "path": "refactor/.cache/vast04-docs-tool-types.log", + "sha256": "63b913b892983edfd57e5fd1c2673c1a66bd896145441c041c81a2a169450ab3", + "exitCode": 0 + } + ], + "files": [ + { + "path": "package.json", + "sha256": "177792bfd658ed014d97e3d6675936bb586bcef4e001e9158bbb46ea79d59983" + }, + { + "path": "eslint.config.js", + "sha256": "954d63fc08777ebf04bfd541a04952b7e0dad0dfb176d06c8bc8f3e84ebd40c2" + }, + { + "path": "packages/artplayer-plugin-vast/.npmignore", + "sha256": "771df7bdc177956bd2f3493875159425bf1c2dd11d7d7386cb494b07620c0786" + }, + { + "path": "packages/artplayer-plugin-vast/package.json", + "sha256": "d359f65c20ca85939a15d4502fdafd6258401aa4a3e421314e1275fe7102826e" + }, + { + "path": "packages/artplayer-plugin-vast/src/types.ts", + "sha256": "b97b291d14bddf7fcc307b173f28677935f34bfa6e99ceb46a2bdef6cf335c5b" + }, + { + "path": "packages/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "path": "packages/artplayer-plugin-vast/types/runtime-api.d.ts", + "sha256": "4634b65f2d1bbd6973a40390f3217251b69fc5167198a8409d9fed48500e106d" + }, + { + "path": "packages/artplayer-plugin-vast/types/runtime.d.cts", + "sha256": "cead9984e0e2644e67cc687380ed40aed0d561b9d6f9636bea3b98d71522b13e" + }, + { + "path": "packages/artplayer-plugin-vast/types/runtime.d.mts", + "sha256": "5abf25cba3dfaaea2652c0d3721f58ad243eb4d3a2fef80f5d27eb978973b586" + }, + { + "path": "packages/artplayer-plugin-vast/types/runtime.d.ts", + "sha256": "cead9984e0e2644e67cc687380ed40aed0d561b9d6f9636bea3b98d71522b13e" + }, + { + "path": "docs/assets/ts/artplayer-plugin-vast.d.ts", + "sha256": "7cdb941298567b12627313be004a5afff6ef8384f6c5b385ef526a4814be70ce" + }, + { + "path": "test/types/vast-runtime.ts", + "sha256": "61a34b5717da57e47c6c8e8142a6047827c6dd3a3a9c78ff505343dea316beea" + }, + { + "path": "refactor/fixtures/consumers/vast-published.ts", + "sha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317" + }, + { + "path": "refactor/scripts/vast-types.test.mjs", + "sha256": "a1427504f25fa0b0d48b698ee1a29d0f627a6cde68222b98d67b2b22bcbe3a52" + }, + { + "path": "refactor/scripts/vast-consumer.mjs", + "sha256": "b8dd7ceaa3240946725262fc00b2ffc686d8f3822da72330fb0cf416cf1c204e" + }, + { + "path": "refactor/scripts/vast-package-types.mjs", + "sha256": "4d33091b82536cb4198efdee906fcc04afb7c52045057ab5917d9d4e2a20eaeb" + }, + { + "path": "scripts/typecheck.mjs", + "sha256": "c652fd06e6322085b7ed03bd94fce86caeb48cde1a3d4c2fa94368924e7a3bca" + }, + { + "path": "scripts/editor-declarations/plugin.ts", + "sha256": "5678bd5fe5d23669c734463196e2f96eaa75d891b713002e60819196e1e6dfbe" + }, + { + "path": "test/editor-types.test.js", + "sha256": "d7ec667112f0b7ef0377cf085e5848ed21426b527c0c7c388fb6ad88a4040742" + }, + { + "path": "test/browser/editor-types.spec.js", + "sha256": "dad668aca8e713c99a65b78ce36c64db24d11d29a8036196c4d0cd1cae6747dd" + } + ], + "artifacts": [ + { + "path": "packages/artplayer-plugin-vast/dist/artplayer-plugin-vast.js", + "sha256": "cebaf6a44f80079841205498c4f855ba4e5c804ae7958c06eadda524d728e079" + }, + { + "path": "packages/artplayer-plugin-vast/dist/artplayer-plugin-vast.legacy.js", + "sha256": "8ebb4ebdd4c0fc5ddc467d5ee15b18ab7e5c078c15bbfd37dc33aa89eac1de92" + }, + { + "path": "packages/artplayer-plugin-vast/dist/artplayer-plugin-vast.mjs", + "sha256": "a63e6e8b27032ea690fe740e9ec0a98646346f1fcd3622740f1f5363f234a72b" + } + ], + "finalMembers": [ + { + "file": "packages/artplayer/ARCHITECTURE.md", + "sha256": "dad3ccb55f25c63e0eb3b8d5f25b21db58431c48f84a2d9eb046b2492ac6cedc" + }, + { + "file": "packages/artplayer/README.md", + "sha256": "1e185e65f67fc2081b4182bbc6c4558ea05b6e3fa3acc5dd0c3ac7df1d542b09" + }, + { + "file": "packages/artplayer/THIRD_PARTY_NOTICES", + "sha256": "b77b5b46b79fa0cda850b0781f78c3b1112c4ed9672fa291956fe8eff53098e7" + }, + { + "file": "packages/artplayer/dist/artplayer.js", + "sha256": "9148a369636f814b03e6a1ed2a7db222a31b159f93e8a94d52c5a9dde2dfe6a6" + }, + { + "file": "packages/artplayer/dist/artplayer.legacy.js", + "sha256": "9bde35a6d64234cae15300e37b03204c075ef26126058f48bb3bf97d6e002449" + }, + { + "file": "packages/artplayer/dist/artplayer.mjs", + "sha256": "265bca0ad3f8373acc84333c19cdded0cbd6b309ede9e51c0bec35685c77eebd" + }, + { + "file": "packages/artplayer/dist/i18n/ar.js", + "sha256": "bd0bef65f4f7dc3f8ed562904cc6fa9071ff4537fb64c1e0fc3d554141bcd3cb" + }, + { + "file": "packages/artplayer/dist/i18n/ar.mjs", + "sha256": "59310b7bbeea83bbb7d73aadc5ca82a6ec269c3530d19aa741c94d5c64fc5da8" + }, + { + "file": "packages/artplayer/dist/i18n/cs.js", + "sha256": "6e2c93daba24c2e48dfa206bcf4f2f2a8a02713b856e404d2e4e4ecd8309ca2f" + }, + { + "file": "packages/artplayer/dist/i18n/cs.mjs", + "sha256": "c73fba18797d62d7b2581e67fe7340c35fe84510b2250ff1ecaad253d9cabbac" + }, + { + "file": "packages/artplayer/dist/i18n/es.js", + "sha256": "f4133ac6ea06b69a474b33c4a1809a4066e2376bb9464a3f3aa8330f01f1944a" + }, + { + "file": "packages/artplayer/dist/i18n/es.mjs", + "sha256": "1390bca3def2be115e811de337df0a0c3f63998e51359f283023246245c552a7" + }, + { + "file": "packages/artplayer/dist/i18n/fa.js", + "sha256": "8d3ef2e0f0cc0ea480c2167b6fcb87cdf444e90759c3519e8daa139fec576da4" + }, + { + "file": "packages/artplayer/dist/i18n/fa.mjs", + "sha256": "ab441e8a2d79043b29ceca87c783bf06874bb9d3a149c1604bc167eb481be2a9" + }, + { + "file": "packages/artplayer/dist/i18n/fr.js", + "sha256": "89dc4194a6c0a962b9ce756b52c90401c1acf3b159f265f3bc0d7d6d7d987f03" + }, + { + "file": "packages/artplayer/dist/i18n/fr.mjs", + "sha256": "99491878430fb7b6f2b7bf93da0588a831704b412e01116f23ba1d9d45863816" + }, + { + "file": "packages/artplayer/dist/i18n/id.js", + "sha256": "4c6dc86db741bcc2857df55a9d037e82e91d375fa6fd22e0562809ff621b92db" + }, + { + "file": "packages/artplayer/dist/i18n/id.mjs", + "sha256": "383e5803a6b6686c6de4e867770241de75b6f517dcca2bdedc6f2004bf6e1fb3" + }, + { + "file": "packages/artplayer/dist/i18n/pl.js", + "sha256": "3a38828b1c3d719c0aca9906cf6a46c23555a8411f8d57645f0e0ce8147dc664" + }, + { + "file": "packages/artplayer/dist/i18n/pl.mjs", + "sha256": "079ed96732979035297af387c64a7b99519b5a43107fb86735a654ea4fe8e9b5" + }, + { + "file": "packages/artplayer/dist/i18n/ru.js", + "sha256": "62fac9dddb302eb16382e6e9301fc4b2c66f5f69d4a358a26b67026a5fa4e787" + }, + { + "file": "packages/artplayer/dist/i18n/ru.mjs", + "sha256": "a893aeaee1d79409db72e324fbff200e3864f33ed168f04d91d25f7cf2efa765" + }, + { + "file": "packages/artplayer/dist/i18n/tr.js", + "sha256": "1492c36b069a7d73db4f3913bd18085faff7afd8b3c158138fe264e31600e38c" + }, + { + "file": "packages/artplayer/dist/i18n/tr.mjs", + "sha256": "a90478cac078836b76c2a98261907610fee07f3e4b28671b8e7dbf533778f918" + }, + { + "file": "packages/artplayer/dist/i18n/vi.js", + "sha256": "c7216ef7e608a79b7e2c479a07bf310d4ab79577947ac4a62d676faaced0e9cf" + }, + { + "file": "packages/artplayer/dist/i18n/vi.mjs", + "sha256": "66270fdfa0b5da396322d1769169b7df37a030ba15ac18eb30bd87b3af8074ec" + }, + { + "file": "packages/artplayer/dist/i18n/zh-tw.js", + "sha256": "11c49857d6d40a5ffd224ffa59c9026e71621b345f63c5a086326db80a22371a" + }, + { + "file": "packages/artplayer/dist/i18n/zh-tw.mjs", + "sha256": "a38e630cb96de96c15d824686aec750e25cf6c8ada01285a292442a81566314f" + }, + { + "file": "packages/artplayer/package.json", + "sha256": "82e92699e7c29847f32ac6767ece0401290e7d7a12854722bdbcfd09b90b7954" + }, + { + "file": "packages/artplayer/types/COMPATIBILITY.md", + "sha256": "a7da9e102a116104b513df4f7451247b7759bc502d3375f30bd5b14a541826e0" + }, + { + "file": "packages/artplayer/types/README.md", + "sha256": "1bd9868e773610e6312fd48a1c5aa20772d29df0af40c3db66e75b7ab4a1aee0" + }, + { + "file": "packages/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "packages/artplayer/types/artplayer.d.mts", + "sha256": "b664fec51ee5c5381f2ceab25d99d52aee56feab04a2ee7b4ea5b2145ea5fa0e" + }, + { + "file": "packages/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "packages/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "packages/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "packages/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "packages/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "packages/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "packages/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "packages/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "packages/artplayer/types/language.d.cts", + "sha256": "f7928e108cf7b7814c2d75cb0a525333e95873fca6cd6d89a740450656b9c1cd" + }, + { + "file": "packages/artplayer/types/language.d.mts", + "sha256": "6619a26d604b7cccbe2f596243d87ae37cfaae33b8b52874ec071d9787446f9e" + }, + { + "file": "packages/artplayer/types/legacy/language.d.ts", + "sha256": "c7abda4d506fd933c350e9030290bf9e64347a921d683a66115da1995ebe0a81" + }, + { + "file": "packages/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "packages/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "packages/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "packages/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "packages/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "packages/artplayer/types/runtime.d.cts", + "sha256": "7ee988dfea9a0ac71a34a656f96f7b74e78aa92547cfdfab7ff7e1139a77d4a3" + }, + { + "file": "packages/artplayer/types/runtime.d.mts", + "sha256": "dcb85f59a8b7714918ced0c1d18c2bb24e8b80b56d8c594e019dcbdb5ad88b08" + }, + { + "file": "packages/artplayer/types/runtime.d.ts", + "sha256": "9c6ccd39a1be293f17ae46dae8ea077053e12635ee79d73a5e3b3a559230fcff" + }, + { + "file": "packages/artplayer/types/runtime/component.d.ts", + "sha256": "1b4c0cee44568649e80140fe778febfcae88af0ac85515f1cbeff78ab0c6d14f" + }, + { + "file": "packages/artplayer/types/runtime/construction.d.ts", + "sha256": "7a87bedf6f7ffff0c46078aa5f1551e0077d35574e286516121f5f935e2d9ce4" + }, + { + "file": "packages/artplayer/types/runtime/events.d.ts", + "sha256": "a1e2f9d387475453eaf95c2a5ee79e228636c0bb859bda3fcc46da46574a0c31" + }, + { + "file": "packages/artplayer/types/runtime/media.d.ts", + "sha256": "8fc89401be7fe25542c169d07dd5675f10916ed20be8493e19695966cf3864a8" + }, + { + "file": "packages/artplayer/types/runtime/option.d.ts", + "sha256": "6e334e1a76fdcc40b4665c02523bd31c3994d96078fadeb40e23422aa54c1a1d" + }, + { + "file": "packages/artplayer/types/runtime/player.d.ts", + "sha256": "8ac6383502e4872e83659838844856903031a81a0adc8e8535feb78453aa042c" + }, + { + "file": "packages/artplayer/types/runtime/plugin.d.ts", + "sha256": "8528f2b17843149f42f9cc16d6fd70baa238c9dc2c329b67d2c38096799c69bd" + }, + { + "file": "packages/artplayer/types/runtime/services.d.ts", + "sha256": "604c9f8e4b6c0da818f96576bf9f4b0e96085a9003927b2f7ba30027b1ba237e" + }, + { + "file": "packages/artplayer/types/runtime/setting.d.ts", + "sha256": "349c1fcb205ad312916bd3ee55e6bf241ea8a569fb2ab6c80822e69fc518f7d7" + }, + { + "file": "packages/artplayer/types/runtime/subtitle.d.ts", + "sha256": "269ff84678d327b3a9dc2f5bc6cc0d731d1e081b85422e474621d5d792efb153" + }, + { + "file": "packages/artplayer/types/runtime/template.d.ts", + "sha256": "7a62f968a38b4bf9109a4439557c02074eb1d62ba1f6e21a8eb194e91f0badfe" + }, + { + "file": "packages/artplayer/types/runtime/utils.d.ts", + "sha256": "6bf731705d86853e066dbaf3b8d4003b6548423fe615b7412b722bd0d3a6e48b" + }, + { + "file": "packages/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "packages/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "packages/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "packages/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "packages/artplayer-plugin-vast/ARCHITECTURE.md", + "sha256": "782a311aabcc5d1554309d613f47e7c2d20c364d5ad0c501753c73010a33ac16" + }, + { + "file": "packages/artplayer-plugin-vast/README.md", + "sha256": "7ec086f19c899e315efcb136e037a02d951b0395d5f0ce239817be87ea4ab4e6" + }, + { + "file": "packages/artplayer-plugin-vast/dist/artplayer-plugin-vast.js", + "sha256": "cebaf6a44f80079841205498c4f855ba4e5c804ae7958c06eadda524d728e079" + }, + { + "file": "packages/artplayer-plugin-vast/dist/artplayer-plugin-vast.legacy.js", + "sha256": "8ebb4ebdd4c0fc5ddc467d5ee15b18ab7e5c078c15bbfd37dc33aa89eac1de92" + }, + { + "file": "packages/artplayer-plugin-vast/dist/artplayer-plugin-vast.mjs", + "sha256": "a63e6e8b27032ea690fe740e9ec0a98646346f1fcd3622740f1f5363f234a72b" + }, + { + "file": "packages/artplayer-plugin-vast/package.json", + "sha256": "d359f65c20ca85939a15d4502fdafd6258401aa4a3e421314e1275fe7102826e" + }, + { + "file": "packages/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "packages/artplayer-plugin-vast/types/runtime-api.d.ts", + "sha256": "4634b65f2d1bbd6973a40390f3217251b69fc5167198a8409d9fed48500e106d" + }, + { + "file": "packages/artplayer-plugin-vast/types/runtime.d.cts", + "sha256": "cead9984e0e2644e67cc687380ed40aed0d561b9d6f9636bea3b98d71522b13e" + }, + { + "file": "packages/artplayer-plugin-vast/types/runtime.d.mts", + "sha256": "5abf25cba3dfaaea2652c0d3721f58ad243eb4d3a2fef80f5d27eb978973b586" + }, + { + "file": "packages/artplayer-plugin-vast/types/runtime.d.ts", + "sha256": "cead9984e0e2644e67cc687380ed40aed0d561b9d6f9636bea3b98d71522b13e" + } + ], + "installed": { + "report": { + "path": "refactor/.cache/vast-package-types-TMJn2X/report.json", + "sha256": "23c545a5ae19f2ae229d1832cbdee1f38a71c046e4fa61a080cad48dcc26d77f" + }, + "packages": [ + { + "name": "artplayer", + "archive": "D:\\github\\ArtPlayer\\refactor\\.cache\\vast-package-types-TMJn2X\\artplayer.tgz", + "sha256": "d4a0cc5dcbe015e254b3bce64d505ee4e010792ab70414bcf8d0139d7c413b75", + "files": { + "package/ARCHITECTURE.md": "dad3ccb55f25c63e0eb3b8d5f25b21db58431c48f84a2d9eb046b2492ac6cedc", + "package/README.md": "1e185e65f67fc2081b4182bbc6c4558ea05b6e3fa3acc5dd0c3ac7df1d542b09", + "package/THIRD_PARTY_NOTICES": "b77b5b46b79fa0cda850b0781f78c3b1112c4ed9672fa291956fe8eff53098e7", + "package/dist/artplayer.js": "9148a369636f814b03e6a1ed2a7db222a31b159f93e8a94d52c5a9dde2dfe6a6", + "package/dist/artplayer.legacy.js": "9bde35a6d64234cae15300e37b03204c075ef26126058f48bb3bf97d6e002449", + "package/dist/artplayer.mjs": "265bca0ad3f8373acc84333c19cdded0cbd6b309ede9e51c0bec35685c77eebd", + "package/dist/i18n/ar.js": "bd0bef65f4f7dc3f8ed562904cc6fa9071ff4537fb64c1e0fc3d554141bcd3cb", + "package/dist/i18n/ar.mjs": "59310b7bbeea83bbb7d73aadc5ca82a6ec269c3530d19aa741c94d5c64fc5da8", + "package/dist/i18n/cs.js": "6e2c93daba24c2e48dfa206bcf4f2f2a8a02713b856e404d2e4e4ecd8309ca2f", + "package/dist/i18n/cs.mjs": "c73fba18797d62d7b2581e67fe7340c35fe84510b2250ff1ecaad253d9cabbac", + "package/dist/i18n/es.js": "f4133ac6ea06b69a474b33c4a1809a4066e2376bb9464a3f3aa8330f01f1944a", + "package/dist/i18n/es.mjs": "1390bca3def2be115e811de337df0a0c3f63998e51359f283023246245c552a7", + "package/dist/i18n/fa.js": "8d3ef2e0f0cc0ea480c2167b6fcb87cdf444e90759c3519e8daa139fec576da4", + "package/dist/i18n/fa.mjs": "ab441e8a2d79043b29ceca87c783bf06874bb9d3a149c1604bc167eb481be2a9", + "package/dist/i18n/fr.js": "89dc4194a6c0a962b9ce756b52c90401c1acf3b159f265f3bc0d7d6d7d987f03", + "package/dist/i18n/fr.mjs": "99491878430fb7b6f2b7bf93da0588a831704b412e01116f23ba1d9d45863816", + "package/dist/i18n/id.js": "4c6dc86db741bcc2857df55a9d037e82e91d375fa6fd22e0562809ff621b92db", + "package/dist/i18n/id.mjs": "383e5803a6b6686c6de4e867770241de75b6f517dcca2bdedc6f2004bf6e1fb3", + "package/dist/i18n/pl.js": "3a38828b1c3d719c0aca9906cf6a46c23555a8411f8d57645f0e0ce8147dc664", + "package/dist/i18n/pl.mjs": "079ed96732979035297af387c64a7b99519b5a43107fb86735a654ea4fe8e9b5", + "package/dist/i18n/ru.js": "62fac9dddb302eb16382e6e9301fc4b2c66f5f69d4a358a26b67026a5fa4e787", + "package/dist/i18n/ru.mjs": "a893aeaee1d79409db72e324fbff200e3864f33ed168f04d91d25f7cf2efa765", + "package/dist/i18n/tr.js": "1492c36b069a7d73db4f3913bd18085faff7afd8b3c158138fe264e31600e38c", + "package/dist/i18n/tr.mjs": "a90478cac078836b76c2a98261907610fee07f3e4b28671b8e7dbf533778f918", + "package/dist/i18n/vi.js": "c7216ef7e608a79b7e2c479a07bf310d4ab79577947ac4a62d676faaced0e9cf", + "package/dist/i18n/vi.mjs": "66270fdfa0b5da396322d1769169b7df37a030ba15ac18eb30bd87b3af8074ec", + "package/dist/i18n/zh-tw.js": "11c49857d6d40a5ffd224ffa59c9026e71621b345f63c5a086326db80a22371a", + "package/dist/i18n/zh-tw.mjs": "a38e630cb96de96c15d824686aec750e25cf6c8ada01285a292442a81566314f", + "package/package.json": "82e92699e7c29847f32ac6767ece0401290e7d7a12854722bdbcfd09b90b7954", + "package/types/COMPATIBILITY.md": "a7da9e102a116104b513df4f7451247b7759bc502d3375f30bd5b14a541826e0", + "package/types/README.md": "1bd9868e773610e6312fd48a1c5aa20772d29df0af40c3db66e75b7ab4a1aee0", + "package/types/artplayer.d.cts": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef", + "package/types/artplayer.d.mts": "b664fec51ee5c5381f2ceab25d99d52aee56feab04a2ee7b4ea5b2145ea5fa0e", + "package/types/artplayer.d.ts": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8", + "package/types/component.d.ts": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32", + "package/types/config.d.ts": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e", + "package/types/cssVar.d.ts": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b", + "package/types/emitter.d.ts": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c", + "package/types/events.d.ts": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830", + "package/types/i18n.d.ts": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5", + "package/types/icons.d.ts": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960", + "package/types/language.d.cts": "f7928e108cf7b7814c2d75cb0a525333e95873fca6cd6d89a740450656b9c1cd", + "package/types/language.d.mts": "6619a26d604b7cccbe2f596243d87ae37cfaae33b8b52874ec071d9787446f9e", + "package/types/legacy/language.d.ts": "c7abda4d506fd933c350e9030290bf9e64347a921d683a66115da1995ebe0a81", + "package/types/option.d.ts": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6", + "package/types/playback.d.ts": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870", + "package/types/player.d.ts": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177", + "package/types/plugin.d.ts": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3", + "package/types/quality.d.ts": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34", + "package/types/runtime.d.cts": "7ee988dfea9a0ac71a34a656f96f7b74e78aa92547cfdfab7ff7e1139a77d4a3", + "package/types/runtime.d.mts": "dcb85f59a8b7714918ced0c1d18c2bb24e8b80b56d8c594e019dcbdb5ad88b08", + "package/types/runtime.d.ts": "9c6ccd39a1be293f17ae46dae8ea077053e12635ee79d73a5e3b3a559230fcff", + "package/types/runtime/component.d.ts": "1b4c0cee44568649e80140fe778febfcae88af0ac85515f1cbeff78ab0c6d14f", + "package/types/runtime/construction.d.ts": "7a87bedf6f7ffff0c46078aa5f1551e0077d35574e286516121f5f935e2d9ce4", + "package/types/runtime/events.d.ts": "a1e2f9d387475453eaf95c2a5ee79e228636c0bb859bda3fcc46da46574a0c31", + "package/types/runtime/media.d.ts": "8fc89401be7fe25542c169d07dd5675f10916ed20be8493e19695966cf3864a8", + "package/types/runtime/option.d.ts": "6e334e1a76fdcc40b4665c02523bd31c3994d96078fadeb40e23422aa54c1a1d", + "package/types/runtime/player.d.ts": "8ac6383502e4872e83659838844856903031a81a0adc8e8535feb78453aa042c", + "package/types/runtime/plugin.d.ts": "8528f2b17843149f42f9cc16d6fd70baa238c9dc2c329b67d2c38096799c69bd", + "package/types/runtime/services.d.ts": "604c9f8e4b6c0da818f96576bf9f4b0e96085a9003927b2f7ba30027b1ba237e", + "package/types/runtime/setting.d.ts": "349c1fcb205ad312916bd3ee55e6bf241ea8a569fb2ab6c80822e69fc518f7d7", + "package/types/runtime/subtitle.d.ts": "269ff84678d327b3a9dc2f5bc6cc0d731d1e081b85422e474621d5d792efb153", + "package/types/runtime/template.d.ts": "7a62f968a38b4bf9109a4439557c02074eb1d62ba1f6e21a8eb194e91f0badfe", + "package/types/runtime/utils.d.ts": "6bf731705d86853e066dbaf3b8d4003b6548423fe615b7412b722bd0d3a6e48b", + "package/types/setting.d.ts": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09", + "package/types/subtitle.d.ts": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce", + "package/types/template.d.ts": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8", + "package/types/utils.d.ts": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + } + }, + { + "name": "artplayer-plugin-vast", + "archive": "D:\\github\\ArtPlayer\\refactor\\.cache\\vast-package-types-TMJn2X\\artplayer-plugin-vast.tgz", + "sha256": "26615b0187c76496fa5506ab9b854f79f4589b978d99c2bad335d13248178991", + "files": { + "package/ARCHITECTURE.md": "782a311aabcc5d1554309d613f47e7c2d20c364d5ad0c501753c73010a33ac16", + "package/README.md": "7ec086f19c899e315efcb136e037a02d951b0395d5f0ce239817be87ea4ab4e6", + "package/dist/artplayer-plugin-vast.js": "cebaf6a44f80079841205498c4f855ba4e5c804ae7958c06eadda524d728e079", + "package/dist/artplayer-plugin-vast.legacy.js": "8ebb4ebdd4c0fc5ddc467d5ee15b18ab7e5c078c15bbfd37dc33aa89eac1de92", + "package/dist/artplayer-plugin-vast.mjs": "a63e6e8b27032ea690fe740e9ec0a98646346f1fcd3622740f1f5363f234a72b", + "package/package.json": "d359f65c20ca85939a15d4502fdafd6258401aa4a3e421314e1275fe7102826e", + "package/types/artplayer-plugin-vast.d.ts": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c", + "package/types/runtime-api.d.ts": "4634b65f2d1bbd6973a40390f3217251b69fc5167198a8409d9fed48500e106d", + "package/types/runtime.d.cts": "cead9984e0e2644e67cc687380ed40aed0d561b9d6f9636bea3b98d71522b13e", + "package/types/runtime.d.mts": "5abf25cba3dfaaea2652c0d3721f58ad243eb4d3a2fef80f5d27eb978973b586", + "package/types/runtime.d.ts": "cead9984e0e2644e67cc687380ed40aed0d561b9d6f9636bea3b98d71522b13e" + } + } + ], + "published": { + "archive": "D:\\github\\ArtPlayer\\refactor\\.cache\\releases\\artplayer-plugin-vast-1.0.0.tgz", + "sha256": "35681d60fa3fa09b92f0f30887e39c73cf55e7b14d51a1c38fccbc6c1f253bab" + }, + "fixtures": { + "runtime": "61a34b5717da57e47c6c8e8142a6047827c6dd3a3a9c78ff505343dea316beea", + "published": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317" + }, + "matrix": [ + { + "plugin": "published", + "compiler": "5.9.3", + "mode": "node10-commonjs", + "root": { + "sourceSha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317" + } + ] + }, + "rootNegative": { + "sourceSha256": "61aa215af98d3a3e199d98e458679cf5f30a0c0fa521378dc73fea68e305fa84", + "diagnostics": [ + { + "code": 2554, + "file": "consumer.ts", + "line": 34, + "message": "Expected 1 arguments, but got 0." + }, + { + "code": 2345, + "file": "consumer.ts", + "line": 35, + "message": "Argument of type 'undefined' is not assignable to parameter of type 'Option'." + }, + { + "code": 2339, + "file": "consumer.ts", + "line": 36, + "message": "Property 'default' does not exist on type '(option: Option) => (art: Artplayer) => Result'." + } + ], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "61aa215af98d3a3e199d98e458679cf5f30a0c0fa521378dc73fea68e305fa84" + } + ] + } + }, + { + "plugin": "published", + "compiler": "5.9.3", + "mode": "nodenext-cjs", + "root": { + "sourceSha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.cts", + "sha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317" + } + ] + }, + "rootNegative": { + "sourceSha256": "61aa215af98d3a3e199d98e458679cf5f30a0c0fa521378dc73fea68e305fa84", + "diagnostics": [ + { + "code": 2554, + "file": "consumer.cts", + "line": 34, + "message": "Expected 1 arguments, but got 0." + }, + { + "code": 2345, + "file": "consumer.cts", + "line": 35, + "message": "Argument of type 'undefined' is not assignable to parameter of type 'Option'." + }, + { + "code": 2339, + "file": "consumer.cts", + "line": 36, + "message": "Property 'default' does not exist on type '(option: Option) => (art: Artplayer) => Result'." + } + ], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.cts", + "sha256": "61aa215af98d3a3e199d98e458679cf5f30a0c0fa521378dc73fea68e305fa84" + } + ] + } + }, + { + "plugin": "published", + "compiler": "5.9.3", + "mode": "nodenext-esm", + "root": { + "sourceSha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.mts", + "sha256": "b664fec51ee5c5381f2ceab25d99d52aee56feab04a2ee7b4ea5b2145ea5fa0e" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.mts", + "sha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317" + } + ] + }, + "rootNegative": { + "sourceSha256": "61aa215af98d3a3e199d98e458679cf5f30a0c0fa521378dc73fea68e305fa84", + "diagnostics": [ + { + "code": 2554, + "file": "consumer.mts", + "line": 34, + "message": "Expected 1 arguments, but got 0." + }, + { + "code": 2345, + "file": "consumer.mts", + "line": 35, + "message": "Argument of type 'undefined' is not assignable to parameter of type 'Option'." + }, + { + "code": 2339, + "file": "consumer.mts", + "line": 36, + "message": "Property 'default' does not exist on type '(option: Option) => (art: Artplayer) => Result'." + } + ], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.mts", + "sha256": "b664fec51ee5c5381f2ceab25d99d52aee56feab04a2ee7b4ea5b2145ea5fa0e" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.mts", + "sha256": "61aa215af98d3a3e199d98e458679cf5f30a0c0fa521378dc73fea68e305fa84" + } + ] + } + }, + { + "plugin": "published", + "compiler": "5.9.3", + "mode": "bundler-esm", + "root": { + "sourceSha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.mts", + "sha256": "b664fec51ee5c5381f2ceab25d99d52aee56feab04a2ee7b4ea5b2145ea5fa0e" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317" + } + ] + }, + "rootNegative": { + "sourceSha256": "61aa215af98d3a3e199d98e458679cf5f30a0c0fa521378dc73fea68e305fa84", + "diagnostics": [ + { + "code": 2554, + "file": "consumer.ts", + "line": 34, + "message": "Expected 1 arguments, but got 0." + }, + { + "code": 2345, + "file": "consumer.ts", + "line": 35, + "message": "Argument of type 'undefined' is not assignable to parameter of type 'Option'." + }, + { + "code": 2339, + "file": "consumer.ts", + "line": 36, + "message": "Property 'default' does not exist on type '(option: Option) => (art: Artplayer) => Result'." + } + ], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.mts", + "sha256": "b664fec51ee5c5381f2ceab25d99d52aee56feab04a2ee7b4ea5b2145ea5fa0e" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "61aa215af98d3a3e199d98e458679cf5f30a0c0fa521378dc73fea68e305fa84" + } + ] + } + }, + { + "plugin": "published", + "compiler": "4.3.5", + "mode": "node10-commonjs", + "root": { + "sourceSha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317" + } + ] + }, + "rootNegative": { + "sourceSha256": "61aa215af98d3a3e199d98e458679cf5f30a0c0fa521378dc73fea68e305fa84", + "diagnostics": [ + { + "code": 2554, + "file": "consumer.ts", + "line": 34, + "message": "Expected 1 arguments, but got 0." + }, + { + "code": 2345, + "file": "consumer.ts", + "line": 35, + "message": "Argument of type 'undefined' is not assignable to parameter of type 'Option'." + }, + { + "code": 2339, + "file": "consumer.ts", + "line": 36, + "message": "Property 'default' does not exist on type '(option: Option) => (art: Artplayer) => Result'." + } + ], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "61aa215af98d3a3e199d98e458679cf5f30a0c0fa521378dc73fea68e305fa84" + } + ] + } + }, + { + "plugin": "published", + "compiler": "5.9.3", + "mode": "node10-commonjs-no-interop", + "root": { + "sourceSha256": "e07660007ee061991b369e63b983e011da6590f5d88e1a6b66d0e49d6514b8ab", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "e07660007ee061991b369e63b983e011da6590f5d88e1a6b66d0e49d6514b8ab" + } + ] + }, + "rootNegative": { + "sourceSha256": "a74e6eeb45d503266d0d5d1c7aac8f20472ae397fd1cbc97554966ee94cbd7a8", + "diagnostics": [ + { + "code": 2554, + "file": "consumer.ts", + "line": 34, + "message": "Expected 1 arguments, but got 0." + }, + { + "code": 2345, + "file": "consumer.ts", + "line": 35, + "message": "Argument of type 'undefined' is not assignable to parameter of type 'Option'." + }, + { + "code": 2339, + "file": "consumer.ts", + "line": 36, + "message": "Property 'default' does not exist on type '(option: Option) => (art: Artplayer) => Result'." + } + ], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "a74e6eeb45d503266d0d5d1c7aac8f20472ae397fd1cbc97554966ee94cbd7a8" + } + ] + } + }, + { + "plugin": "published", + "compiler": "4.3.5", + "mode": "node10-commonjs-no-interop", + "root": { + "sourceSha256": "e07660007ee061991b369e63b983e011da6590f5d88e1a6b66d0e49d6514b8ab", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "e07660007ee061991b369e63b983e011da6590f5d88e1a6b66d0e49d6514b8ab" + } + ] + }, + "rootNegative": { + "sourceSha256": "a74e6eeb45d503266d0d5d1c7aac8f20472ae397fd1cbc97554966ee94cbd7a8", + "diagnostics": [ + { + "code": 2554, + "file": "consumer.ts", + "line": 34, + "message": "Expected 1 arguments, but got 0." + }, + { + "code": 2345, + "file": "consumer.ts", + "line": 35, + "message": "Argument of type 'undefined' is not assignable to parameter of type 'Option'." + }, + { + "code": 2339, + "file": "consumer.ts", + "line": 36, + "message": "Property 'default' does not exist on type '(option: Option) => (art: Artplayer) => Result'." + } + ], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "a74e6eeb45d503266d0d5d1c7aac8f20472ae397fd1cbc97554966ee94cbd7a8" + } + ] + } + }, + { + "plugin": "candidate", + "compiler": "5.9.3", + "mode": "node10-commonjs", + "root": { + "sourceSha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317" + } + ] + }, + "rootNegative": { + "sourceSha256": "61aa215af98d3a3e199d98e458679cf5f30a0c0fa521378dc73fea68e305fa84", + "diagnostics": [ + { + "code": 2554, + "file": "consumer.ts", + "line": 34, + "message": "Expected 1 arguments, but got 0." + }, + { + "code": 2345, + "file": "consumer.ts", + "line": 35, + "message": "Argument of type 'undefined' is not assignable to parameter of type 'Option'." + }, + { + "code": 2339, + "file": "consumer.ts", + "line": 36, + "message": "Property 'default' does not exist on type '(option: Option) => (art: Artplayer) => Result'." + } + ], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "61aa215af98d3a3e199d98e458679cf5f30a0c0fa521378dc73fea68e305fa84" + } + ] + }, + "legacy": { + "sourceSha256": "30c323c8fe0e94347035077f77f681580a43ab53c37737e3296074c623ca501a", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "30c323c8fe0e94347035077f77f681580a43ab53c37737e3296074c623ca501a" + } + ] + }, + "runtime": { + "sourceSha256": "61a34b5717da57e47c6c8e8142a6047827c6dd3a3a9c78ff505343dea316beea", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/@alugha/ima/lib/typings/ima.d.ts", + "sha256": "ea7157c61f44e2b90072a7492fa8c88cf167a2ad93377694d348a3d4494033b5" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadImaSdk.d.ts", + "sha256": "e4d57a0a70877bee83beb45f53bb46cb6c3cf6fd92a4ef6e055765cc36aca5f1" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadScript.d.ts", + "sha256": "516a5da5d389068d5bfb1bda473b81f7f0af253829346e3c5771043c5cc94743" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/index.d.ts", + "sha256": "8499873d2c5b864598da7bf1f07ca0125f8d64ea1c1b173aeaa2d69a88085c89" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/delegated-event-target.d.ts", + "sha256": "d1eb0fdc1e9c497e6c04d5c83dc22483d5644d1bd9b430bd51c63d13d32432c7" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/vast-ima-player.d.ts", + "sha256": "a6d80180646fcebc1255a75dcd780b618f226a111dfa33cb5fa64681071b7c16" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/index.d.ts", + "sha256": "ce1c59659a68c54fe5af34b94550f3de9d4400b8315c188f679ecab19f87b80f" + }, + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime-api.d.ts", + "sha256": "4634b65f2d1bbd6973a40390f3217251b69fc5167198a8409d9fed48500e106d" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime.d.ts", + "sha256": "cead9984e0e2644e67cc687380ed40aed0d561b9d6f9636bea3b98d71522b13e" + }, + { + "file": "consumer.ts", + "sha256": "61a34b5717da57e47c6c8e8142a6047827c6dd3a3a9c78ff505343dea316beea" + } + ] + }, + "runtimeNegative": { + "sourceSha256": "950e1d2396aae1d827ccc2d4623d983697c78b0f608e0bb627c4ab94a898618e", + "diagnostics": [ + { + "code": 2345, + "file": "consumer.ts", + "line": 25, + "message": "Argument of type 'number' is not assignable to parameter of type 'AdsRequest'." + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 27, + "message": "Type 'string' is not assignable to type 'boolean'." + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 29, + "message": "Type 'string' is not assignable to type 'HTMLDivElement'." + }, + { + "code": 2540, + "file": "consumer.ts", + "line": 31, + "message": "Cannot assign to 'container' because it is a read-only property." + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 33, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2739, + "file": "consumer.ts", + "line": 39, + "message": "Type 'Promise' is missing the following properties from type 'RuntimeResult': name, destroy" + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 58, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2540, + "file": "consumer.ts", + "line": 60, + "message": "Cannot assign to 'imaPlayer' because it is a read-only property." + }, + { + "code": 2540, + "file": "consumer.ts", + "line": 62, + "message": "Cannot assign to 'id' because it is a read-only property." + }, + { + "code": 2345, + "file": "consumer.ts", + "line": 64, + "message": "Argument of type 'number' is not assignable to parameter of type 'string'." + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 71, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2769, + "file": "consumer.ts", + "line": 78, + "message": "No overload matches this call.\n Overload 1 of 3, '(callback?: RuntimeCallback | undefined, options?: { compatibility?: undefined; } | undefined): Registration', gave the following error.\n Type 'string' is not assignable to type 'undefined'.\n Overload 2 of 3, '(callback: RuntimeCallback | undefined, options: { compatibility: \"workspace-1.2\"; }): Registration', gave the following error.\n Type '\"wrong\"' is not assignable to type '\"workspace-1.2\"'.\n Overload 3 of 3, '(callback: RuntimeCallback | undefined, options: CompatibilityOptions): Registration', gave the following error.\n Type '\"wrong\"' is not assignable to type '\"workspace-1.2\"'." + }, + { + "code": 2345, + "file": "consumer.ts", + "line": 80, + "message": "Argument of type 'number' is not assignable to parameter of type 'RuntimeCallback'." + }, + { + "code": 2769, + "file": "consumer.ts", + "line": 82, + "message": "No overload matches this call.\n Overload 1 of 3, '(callback?: RuntimeCallback | undefined, options?: { compatibility?: undefined; } | undefined): Registration', gave the following error.\n Type 'string' is not assignable to type 'undefined'.\n Overload 2 of 3, '(callback: RuntimeCallback | undefined, options: { compatibility: \"workspace-1.2\"; }): Registration', gave the following error.\n Argument of type '(context: PublishedContext) => string' is not assignable to parameter of type 'RuntimeCallback'.\n Types of parameters 'context' and 'context' are incompatible.\n Type 'WorkspaceContext' is not assignable to type 'PublishedContext'.\n Types of property 'imaPlayer' are incompatible.\n Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'.\n Overload 3 of 3, '(callback: RuntimeCallback | undefined, options: CompatibilityOptions): Registration', gave the following error.\n Argument of type '(context: PublishedContext) => string' is not assignable to parameter of type 'RuntimeCallback'.\n Types of parameters 'context' and 'context' are incompatible.\n Type 'RuntimeContext' is not assignable to type 'PublishedContext'.\n Type 'WorkspaceContext' is not assignable to type 'PublishedContext'.\n Types of property 'imaPlayer' are incompatible.\n Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + } + ], + "declarations": [ + { + "file": "node_modules/@alugha/ima/lib/typings/ima.d.ts", + "sha256": "ea7157c61f44e2b90072a7492fa8c88cf167a2ad93377694d348a3d4494033b5" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadImaSdk.d.ts", + "sha256": "e4d57a0a70877bee83beb45f53bb46cb6c3cf6fd92a4ef6e055765cc36aca5f1" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadScript.d.ts", + "sha256": "516a5da5d389068d5bfb1bda473b81f7f0af253829346e3c5771043c5cc94743" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/index.d.ts", + "sha256": "8499873d2c5b864598da7bf1f07ca0125f8d64ea1c1b173aeaa2d69a88085c89" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/delegated-event-target.d.ts", + "sha256": "d1eb0fdc1e9c497e6c04d5c83dc22483d5644d1bd9b430bd51c63d13d32432c7" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/vast-ima-player.d.ts", + "sha256": "a6d80180646fcebc1255a75dcd780b618f226a111dfa33cb5fa64681071b7c16" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/index.d.ts", + "sha256": "ce1c59659a68c54fe5af34b94550f3de9d4400b8315c188f679ecab19f87b80f" + }, + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime-api.d.ts", + "sha256": "4634b65f2d1bbd6973a40390f3217251b69fc5167198a8409d9fed48500e106d" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime.d.ts", + "sha256": "cead9984e0e2644e67cc687380ed40aed0d561b9d6f9636bea3b98d71522b13e" + }, + { + "file": "consumer.ts", + "sha256": "950e1d2396aae1d827ccc2d4623d983697c78b0f608e0bb627c4ab94a898618e" + } + ] + } + }, + { + "plugin": "candidate", + "compiler": "5.9.3", + "mode": "nodenext-cjs", + "root": { + "sourceSha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.cts", + "sha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317" + } + ] + }, + "rootNegative": { + "sourceSha256": "61aa215af98d3a3e199d98e458679cf5f30a0c0fa521378dc73fea68e305fa84", + "diagnostics": [ + { + "code": 2554, + "file": "consumer.cts", + "line": 34, + "message": "Expected 1 arguments, but got 0." + }, + { + "code": 2345, + "file": "consumer.cts", + "line": 35, + "message": "Argument of type 'undefined' is not assignable to parameter of type 'Option'." + }, + { + "code": 2339, + "file": "consumer.cts", + "line": 36, + "message": "Property 'default' does not exist on type '(option: Option) => (art: Artplayer) => Result'." + } + ], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.cts", + "sha256": "61aa215af98d3a3e199d98e458679cf5f30a0c0fa521378dc73fea68e305fa84" + } + ] + }, + "legacy": { + "sourceSha256": "30c323c8fe0e94347035077f77f681580a43ab53c37737e3296074c623ca501a", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.cts", + "sha256": "30c323c8fe0e94347035077f77f681580a43ab53c37737e3296074c623ca501a" + } + ] + }, + "runtime": { + "sourceSha256": "61a34b5717da57e47c6c8e8142a6047827c6dd3a3a9c78ff505343dea316beea", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/@alugha/ima/lib/typings/ima.d.ts", + "sha256": "ea7157c61f44e2b90072a7492fa8c88cf167a2ad93377694d348a3d4494033b5" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadImaSdk.d.ts", + "sha256": "e4d57a0a70877bee83beb45f53bb46cb6c3cf6fd92a4ef6e055765cc36aca5f1" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadScript.d.ts", + "sha256": "516a5da5d389068d5bfb1bda473b81f7f0af253829346e3c5771043c5cc94743" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/index.d.ts", + "sha256": "8499873d2c5b864598da7bf1f07ca0125f8d64ea1c1b173aeaa2d69a88085c89" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/delegated-event-target.d.ts", + "sha256": "d1eb0fdc1e9c497e6c04d5c83dc22483d5644d1bd9b430bd51c63d13d32432c7" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/vast-ima-player.d.ts", + "sha256": "a6d80180646fcebc1255a75dcd780b618f226a111dfa33cb5fa64681071b7c16" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/index.d.ts", + "sha256": "ce1c59659a68c54fe5af34b94550f3de9d4400b8315c188f679ecab19f87b80f" + }, + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime-api.d.ts", + "sha256": "4634b65f2d1bbd6973a40390f3217251b69fc5167198a8409d9fed48500e106d" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime.d.cts", + "sha256": "cead9984e0e2644e67cc687380ed40aed0d561b9d6f9636bea3b98d71522b13e" + }, + { + "file": "consumer.cts", + "sha256": "61a34b5717da57e47c6c8e8142a6047827c6dd3a3a9c78ff505343dea316beea" + } + ] + }, + "runtimeNegative": { + "sourceSha256": "950e1d2396aae1d827ccc2d4623d983697c78b0f608e0bb627c4ab94a898618e", + "diagnostics": [ + { + "code": 2345, + "file": "consumer.cts", + "line": 25, + "message": "Argument of type 'number' is not assignable to parameter of type 'AdsRequest'." + }, + { + "code": 2322, + "file": "consumer.cts", + "line": 27, + "message": "Type 'string' is not assignable to type 'boolean'." + }, + { + "code": 2322, + "file": "consumer.cts", + "line": 29, + "message": "Type 'string' is not assignable to type 'HTMLDivElement'." + }, + { + "code": 2540, + "file": "consumer.cts", + "line": 31, + "message": "Cannot assign to 'container' because it is a read-only property." + }, + { + "code": 2322, + "file": "consumer.cts", + "line": 33, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2739, + "file": "consumer.cts", + "line": 39, + "message": "Type 'Promise' is missing the following properties from type 'RuntimeResult': name, destroy" + }, + { + "code": 2322, + "file": "consumer.cts", + "line": 58, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2540, + "file": "consumer.cts", + "line": 60, + "message": "Cannot assign to 'imaPlayer' because it is a read-only property." + }, + { + "code": 2540, + "file": "consumer.cts", + "line": 62, + "message": "Cannot assign to 'id' because it is a read-only property." + }, + { + "code": 2345, + "file": "consumer.cts", + "line": 64, + "message": "Argument of type 'number' is not assignable to parameter of type 'string'." + }, + { + "code": 2322, + "file": "consumer.cts", + "line": 71, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2769, + "file": "consumer.cts", + "line": 78, + "message": "No overload matches this call.\n Overload 1 of 3, '(callback?: RuntimeCallback | undefined, options?: { compatibility?: undefined; } | undefined): Registration', gave the following error.\n Type 'string' is not assignable to type 'undefined'.\n Overload 2 of 3, '(callback: RuntimeCallback | undefined, options: { compatibility: \"workspace-1.2\"; }): Registration', gave the following error.\n Type '\"wrong\"' is not assignable to type '\"workspace-1.2\"'.\n Overload 3 of 3, '(callback: RuntimeCallback | undefined, options: CompatibilityOptions): Registration', gave the following error.\n Type '\"wrong\"' is not assignable to type '\"workspace-1.2\"'." + }, + { + "code": 2345, + "file": "consumer.cts", + "line": 80, + "message": "Argument of type 'number' is not assignable to parameter of type 'RuntimeCallback'." + }, + { + "code": 2769, + "file": "consumer.cts", + "line": 82, + "message": "No overload matches this call.\n Overload 1 of 3, '(callback?: RuntimeCallback | undefined, options?: { compatibility?: undefined; } | undefined): Registration', gave the following error.\n Type 'string' is not assignable to type 'undefined'.\n Overload 2 of 3, '(callback: RuntimeCallback | undefined, options: { compatibility: \"workspace-1.2\"; }): Registration', gave the following error.\n Argument of type '(context: PublishedContext) => string' is not assignable to parameter of type 'RuntimeCallback'.\n Types of parameters 'context' and 'context' are incompatible.\n Type 'WorkspaceContext' is not assignable to type 'PublishedContext'.\n Types of property 'imaPlayer' are incompatible.\n Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'.\n Overload 3 of 3, '(callback: RuntimeCallback | undefined, options: CompatibilityOptions): Registration', gave the following error.\n Argument of type '(context: PublishedContext) => string' is not assignable to parameter of type 'RuntimeCallback'.\n Types of parameters 'context' and 'context' are incompatible.\n Type 'RuntimeContext' is not assignable to type 'PublishedContext'.\n Type 'WorkspaceContext' is not assignable to type 'PublishedContext'.\n Types of property 'imaPlayer' are incompatible.\n Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + } + ], + "declarations": [ + { + "file": "node_modules/@alugha/ima/lib/typings/ima.d.ts", + "sha256": "ea7157c61f44e2b90072a7492fa8c88cf167a2ad93377694d348a3d4494033b5" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadImaSdk.d.ts", + "sha256": "e4d57a0a70877bee83beb45f53bb46cb6c3cf6fd92a4ef6e055765cc36aca5f1" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadScript.d.ts", + "sha256": "516a5da5d389068d5bfb1bda473b81f7f0af253829346e3c5771043c5cc94743" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/index.d.ts", + "sha256": "8499873d2c5b864598da7bf1f07ca0125f8d64ea1c1b173aeaa2d69a88085c89" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/delegated-event-target.d.ts", + "sha256": "d1eb0fdc1e9c497e6c04d5c83dc22483d5644d1bd9b430bd51c63d13d32432c7" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/vast-ima-player.d.ts", + "sha256": "a6d80180646fcebc1255a75dcd780b618f226a111dfa33cb5fa64681071b7c16" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/index.d.ts", + "sha256": "ce1c59659a68c54fe5af34b94550f3de9d4400b8315c188f679ecab19f87b80f" + }, + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime-api.d.ts", + "sha256": "4634b65f2d1bbd6973a40390f3217251b69fc5167198a8409d9fed48500e106d" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime.d.cts", + "sha256": "cead9984e0e2644e67cc687380ed40aed0d561b9d6f9636bea3b98d71522b13e" + }, + { + "file": "consumer.cts", + "sha256": "950e1d2396aae1d827ccc2d4623d983697c78b0f608e0bb627c4ab94a898618e" + } + ] + } + }, + { + "plugin": "candidate", + "compiler": "5.9.3", + "mode": "nodenext-esm", + "root": { + "sourceSha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.mts", + "sha256": "b664fec51ee5c5381f2ceab25d99d52aee56feab04a2ee7b4ea5b2145ea5fa0e" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.mts", + "sha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317" + } + ] + }, + "rootNegative": { + "sourceSha256": "61aa215af98d3a3e199d98e458679cf5f30a0c0fa521378dc73fea68e305fa84", + "diagnostics": [ + { + "code": 2554, + "file": "consumer.mts", + "line": 34, + "message": "Expected 1 arguments, but got 0." + }, + { + "code": 2345, + "file": "consumer.mts", + "line": 35, + "message": "Argument of type 'undefined' is not assignable to parameter of type 'Option'." + }, + { + "code": 2339, + "file": "consumer.mts", + "line": 36, + "message": "Property 'default' does not exist on type '(option: Option) => (art: Artplayer) => Result'." + } + ], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.mts", + "sha256": "b664fec51ee5c5381f2ceab25d99d52aee56feab04a2ee7b4ea5b2145ea5fa0e" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.mts", + "sha256": "61aa215af98d3a3e199d98e458679cf5f30a0c0fa521378dc73fea68e305fa84" + } + ] + }, + "legacy": { + "sourceSha256": "30c323c8fe0e94347035077f77f681580a43ab53c37737e3296074c623ca501a", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.mts", + "sha256": "b664fec51ee5c5381f2ceab25d99d52aee56feab04a2ee7b4ea5b2145ea5fa0e" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.mts", + "sha256": "30c323c8fe0e94347035077f77f681580a43ab53c37737e3296074c623ca501a" + } + ] + }, + "runtime": { + "sourceSha256": "61a34b5717da57e47c6c8e8142a6047827c6dd3a3a9c78ff505343dea316beea", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/@alugha/ima/lib/typings/ima.d.ts", + "sha256": "ea7157c61f44e2b90072a7492fa8c88cf167a2ad93377694d348a3d4494033b5" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadImaSdk.d.ts", + "sha256": "e4d57a0a70877bee83beb45f53bb46cb6c3cf6fd92a4ef6e055765cc36aca5f1" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadScript.d.ts", + "sha256": "516a5da5d389068d5bfb1bda473b81f7f0af253829346e3c5771043c5cc94743" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/index.d.ts", + "sha256": "8499873d2c5b864598da7bf1f07ca0125f8d64ea1c1b173aeaa2d69a88085c89" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/delegated-event-target.d.ts", + "sha256": "d1eb0fdc1e9c497e6c04d5c83dc22483d5644d1bd9b430bd51c63d13d32432c7" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/vast-ima-player.d.ts", + "sha256": "a6d80180646fcebc1255a75dcd780b618f226a111dfa33cb5fa64681071b7c16" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/index.d.ts", + "sha256": "ce1c59659a68c54fe5af34b94550f3de9d4400b8315c188f679ecab19f87b80f" + }, + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.mts", + "sha256": "b664fec51ee5c5381f2ceab25d99d52aee56feab04a2ee7b4ea5b2145ea5fa0e" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime-api.d.ts", + "sha256": "4634b65f2d1bbd6973a40390f3217251b69fc5167198a8409d9fed48500e106d" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime.d.mts", + "sha256": "5abf25cba3dfaaea2652c0d3721f58ad243eb4d3a2fef80f5d27eb978973b586" + }, + { + "file": "consumer.mts", + "sha256": "61a34b5717da57e47c6c8e8142a6047827c6dd3a3a9c78ff505343dea316beea" + } + ] + }, + "runtimeNegative": { + "sourceSha256": "950e1d2396aae1d827ccc2d4623d983697c78b0f608e0bb627c4ab94a898618e", + "diagnostics": [ + { + "code": 2345, + "file": "consumer.mts", + "line": 25, + "message": "Argument of type 'number' is not assignable to parameter of type 'AdsRequest'." + }, + { + "code": 2322, + "file": "consumer.mts", + "line": 27, + "message": "Type 'string' is not assignable to type 'boolean'." + }, + { + "code": 2322, + "file": "consumer.mts", + "line": 29, + "message": "Type 'string' is not assignable to type 'HTMLDivElement'." + }, + { + "code": 2540, + "file": "consumer.mts", + "line": 31, + "message": "Cannot assign to 'container' because it is a read-only property." + }, + { + "code": 2322, + "file": "consumer.mts", + "line": 33, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2739, + "file": "consumer.mts", + "line": 39, + "message": "Type 'Promise' is missing the following properties from type 'RuntimeResult': name, destroy" + }, + { + "code": 2322, + "file": "consumer.mts", + "line": 58, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2540, + "file": "consumer.mts", + "line": 60, + "message": "Cannot assign to 'imaPlayer' because it is a read-only property." + }, + { + "code": 2540, + "file": "consumer.mts", + "line": 62, + "message": "Cannot assign to 'id' because it is a read-only property." + }, + { + "code": 2345, + "file": "consumer.mts", + "line": 64, + "message": "Argument of type 'number' is not assignable to parameter of type 'string'." + }, + { + "code": 2322, + "file": "consumer.mts", + "line": 71, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2769, + "file": "consumer.mts", + "line": 78, + "message": "No overload matches this call.\n Overload 1 of 3, '(callback?: RuntimeCallback | undefined, options?: { compatibility?: undefined; } | undefined): Registration', gave the following error.\n Type 'string' is not assignable to type 'undefined'.\n Overload 2 of 3, '(callback: RuntimeCallback | undefined, options: { compatibility: \"workspace-1.2\"; }): Registration', gave the following error.\n Type '\"wrong\"' is not assignable to type '\"workspace-1.2\"'.\n Overload 3 of 3, '(callback: RuntimeCallback | undefined, options: CompatibilityOptions): Registration', gave the following error.\n Type '\"wrong\"' is not assignable to type '\"workspace-1.2\"'." + }, + { + "code": 2345, + "file": "consumer.mts", + "line": 80, + "message": "Argument of type 'number' is not assignable to parameter of type 'RuntimeCallback'." + }, + { + "code": 2769, + "file": "consumer.mts", + "line": 82, + "message": "No overload matches this call.\n Overload 1 of 3, '(callback?: RuntimeCallback | undefined, options?: { compatibility?: undefined; } | undefined): Registration', gave the following error.\n Type 'string' is not assignable to type 'undefined'.\n Overload 2 of 3, '(callback: RuntimeCallback | undefined, options: { compatibility: \"workspace-1.2\"; }): Registration', gave the following error.\n Argument of type '(context: PublishedContext) => string' is not assignable to parameter of type 'RuntimeCallback'.\n Types of parameters 'context' and 'context' are incompatible.\n Type 'WorkspaceContext' is not assignable to type 'PublishedContext'.\n Types of property 'imaPlayer' are incompatible.\n Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'.\n Overload 3 of 3, '(callback: RuntimeCallback | undefined, options: CompatibilityOptions): Registration', gave the following error.\n Argument of type '(context: PublishedContext) => string' is not assignable to parameter of type 'RuntimeCallback'.\n Types of parameters 'context' and 'context' are incompatible.\n Type 'RuntimeContext' is not assignable to type 'PublishedContext'.\n Type 'WorkspaceContext' is not assignable to type 'PublishedContext'.\n Types of property 'imaPlayer' are incompatible.\n Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + } + ], + "declarations": [ + { + "file": "node_modules/@alugha/ima/lib/typings/ima.d.ts", + "sha256": "ea7157c61f44e2b90072a7492fa8c88cf167a2ad93377694d348a3d4494033b5" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadImaSdk.d.ts", + "sha256": "e4d57a0a70877bee83beb45f53bb46cb6c3cf6fd92a4ef6e055765cc36aca5f1" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadScript.d.ts", + "sha256": "516a5da5d389068d5bfb1bda473b81f7f0af253829346e3c5771043c5cc94743" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/index.d.ts", + "sha256": "8499873d2c5b864598da7bf1f07ca0125f8d64ea1c1b173aeaa2d69a88085c89" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/delegated-event-target.d.ts", + "sha256": "d1eb0fdc1e9c497e6c04d5c83dc22483d5644d1bd9b430bd51c63d13d32432c7" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/vast-ima-player.d.ts", + "sha256": "a6d80180646fcebc1255a75dcd780b618f226a111dfa33cb5fa64681071b7c16" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/index.d.ts", + "sha256": "ce1c59659a68c54fe5af34b94550f3de9d4400b8315c188f679ecab19f87b80f" + }, + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.mts", + "sha256": "b664fec51ee5c5381f2ceab25d99d52aee56feab04a2ee7b4ea5b2145ea5fa0e" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime-api.d.ts", + "sha256": "4634b65f2d1bbd6973a40390f3217251b69fc5167198a8409d9fed48500e106d" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime.d.mts", + "sha256": "5abf25cba3dfaaea2652c0d3721f58ad243eb4d3a2fef80f5d27eb978973b586" + }, + { + "file": "consumer.mts", + "sha256": "950e1d2396aae1d827ccc2d4623d983697c78b0f608e0bb627c4ab94a898618e" + } + ] + } + }, + { + "plugin": "candidate", + "compiler": "5.9.3", + "mode": "bundler-esm", + "root": { + "sourceSha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.mts", + "sha256": "b664fec51ee5c5381f2ceab25d99d52aee56feab04a2ee7b4ea5b2145ea5fa0e" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317" + } + ] + }, + "rootNegative": { + "sourceSha256": "61aa215af98d3a3e199d98e458679cf5f30a0c0fa521378dc73fea68e305fa84", + "diagnostics": [ + { + "code": 2554, + "file": "consumer.ts", + "line": 34, + "message": "Expected 1 arguments, but got 0." + }, + { + "code": 2345, + "file": "consumer.ts", + "line": 35, + "message": "Argument of type 'undefined' is not assignable to parameter of type 'Option'." + }, + { + "code": 2339, + "file": "consumer.ts", + "line": 36, + "message": "Property 'default' does not exist on type '(option: Option) => (art: Artplayer) => Result'." + } + ], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.mts", + "sha256": "b664fec51ee5c5381f2ceab25d99d52aee56feab04a2ee7b4ea5b2145ea5fa0e" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "61aa215af98d3a3e199d98e458679cf5f30a0c0fa521378dc73fea68e305fa84" + } + ] + }, + "legacy": { + "sourceSha256": "30c323c8fe0e94347035077f77f681580a43ab53c37737e3296074c623ca501a", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.mts", + "sha256": "b664fec51ee5c5381f2ceab25d99d52aee56feab04a2ee7b4ea5b2145ea5fa0e" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "30c323c8fe0e94347035077f77f681580a43ab53c37737e3296074c623ca501a" + } + ] + }, + "runtime": { + "sourceSha256": "61a34b5717da57e47c6c8e8142a6047827c6dd3a3a9c78ff505343dea316beea", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/@alugha/ima/lib/typings/ima.d.ts", + "sha256": "ea7157c61f44e2b90072a7492fa8c88cf167a2ad93377694d348a3d4494033b5" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadImaSdk.d.ts", + "sha256": "e4d57a0a70877bee83beb45f53bb46cb6c3cf6fd92a4ef6e055765cc36aca5f1" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadScript.d.ts", + "sha256": "516a5da5d389068d5bfb1bda473b81f7f0af253829346e3c5771043c5cc94743" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/index.d.ts", + "sha256": "8499873d2c5b864598da7bf1f07ca0125f8d64ea1c1b173aeaa2d69a88085c89" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/delegated-event-target.d.ts", + "sha256": "d1eb0fdc1e9c497e6c04d5c83dc22483d5644d1bd9b430bd51c63d13d32432c7" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/vast-ima-player.d.ts", + "sha256": "a6d80180646fcebc1255a75dcd780b618f226a111dfa33cb5fa64681071b7c16" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/index.d.ts", + "sha256": "ce1c59659a68c54fe5af34b94550f3de9d4400b8315c188f679ecab19f87b80f" + }, + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.mts", + "sha256": "b664fec51ee5c5381f2ceab25d99d52aee56feab04a2ee7b4ea5b2145ea5fa0e" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime-api.d.ts", + "sha256": "4634b65f2d1bbd6973a40390f3217251b69fc5167198a8409d9fed48500e106d" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime.d.mts", + "sha256": "5abf25cba3dfaaea2652c0d3721f58ad243eb4d3a2fef80f5d27eb978973b586" + }, + { + "file": "consumer.ts", + "sha256": "61a34b5717da57e47c6c8e8142a6047827c6dd3a3a9c78ff505343dea316beea" + } + ] + }, + "runtimeNegative": { + "sourceSha256": "950e1d2396aae1d827ccc2d4623d983697c78b0f608e0bb627c4ab94a898618e", + "diagnostics": [ + { + "code": 2345, + "file": "consumer.ts", + "line": 25, + "message": "Argument of type 'number' is not assignable to parameter of type 'AdsRequest'." + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 27, + "message": "Type 'string' is not assignable to type 'boolean'." + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 29, + "message": "Type 'string' is not assignable to type 'HTMLDivElement'." + }, + { + "code": 2540, + "file": "consumer.ts", + "line": 31, + "message": "Cannot assign to 'container' because it is a read-only property." + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 33, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2739, + "file": "consumer.ts", + "line": 39, + "message": "Type 'Promise' is missing the following properties from type 'RuntimeResult': name, destroy" + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 58, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2540, + "file": "consumer.ts", + "line": 60, + "message": "Cannot assign to 'imaPlayer' because it is a read-only property." + }, + { + "code": 2540, + "file": "consumer.ts", + "line": 62, + "message": "Cannot assign to 'id' because it is a read-only property." + }, + { + "code": 2345, + "file": "consumer.ts", + "line": 64, + "message": "Argument of type 'number' is not assignable to parameter of type 'string'." + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 71, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2769, + "file": "consumer.ts", + "line": 78, + "message": "No overload matches this call.\n Overload 1 of 3, '(callback?: RuntimeCallback | undefined, options?: { compatibility?: undefined; } | undefined): Registration', gave the following error.\n Type 'string' is not assignable to type 'undefined'.\n Overload 2 of 3, '(callback: RuntimeCallback | undefined, options: { compatibility: \"workspace-1.2\"; }): Registration', gave the following error.\n Type '\"wrong\"' is not assignable to type '\"workspace-1.2\"'.\n Overload 3 of 3, '(callback: RuntimeCallback | undefined, options: CompatibilityOptions): Registration', gave the following error.\n Type '\"wrong\"' is not assignable to type '\"workspace-1.2\"'." + }, + { + "code": 2345, + "file": "consumer.ts", + "line": 80, + "message": "Argument of type 'number' is not assignable to parameter of type 'RuntimeCallback'." + }, + { + "code": 2769, + "file": "consumer.ts", + "line": 82, + "message": "No overload matches this call.\n Overload 1 of 3, '(callback?: RuntimeCallback | undefined, options?: { compatibility?: undefined; } | undefined): Registration', gave the following error.\n Type 'string' is not assignable to type 'undefined'.\n Overload 2 of 3, '(callback: RuntimeCallback | undefined, options: { compatibility: \"workspace-1.2\"; }): Registration', gave the following error.\n Argument of type '(context: PublishedContext) => string' is not assignable to parameter of type 'RuntimeCallback'.\n Types of parameters 'context' and 'context' are incompatible.\n Type 'WorkspaceContext' is not assignable to type 'PublishedContext'.\n Types of property 'imaPlayer' are incompatible.\n Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'.\n Overload 3 of 3, '(callback: RuntimeCallback | undefined, options: CompatibilityOptions): Registration', gave the following error.\n Argument of type '(context: PublishedContext) => string' is not assignable to parameter of type 'RuntimeCallback'.\n Types of parameters 'context' and 'context' are incompatible.\n Type 'RuntimeContext' is not assignable to type 'PublishedContext'.\n Type 'WorkspaceContext' is not assignable to type 'PublishedContext'.\n Types of property 'imaPlayer' are incompatible.\n Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + } + ], + "declarations": [ + { + "file": "node_modules/@alugha/ima/lib/typings/ima.d.ts", + "sha256": "ea7157c61f44e2b90072a7492fa8c88cf167a2ad93377694d348a3d4494033b5" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadImaSdk.d.ts", + "sha256": "e4d57a0a70877bee83beb45f53bb46cb6c3cf6fd92a4ef6e055765cc36aca5f1" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadScript.d.ts", + "sha256": "516a5da5d389068d5bfb1bda473b81f7f0af253829346e3c5771043c5cc94743" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/index.d.ts", + "sha256": "8499873d2c5b864598da7bf1f07ca0125f8d64ea1c1b173aeaa2d69a88085c89" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/delegated-event-target.d.ts", + "sha256": "d1eb0fdc1e9c497e6c04d5c83dc22483d5644d1bd9b430bd51c63d13d32432c7" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/vast-ima-player.d.ts", + "sha256": "a6d80180646fcebc1255a75dcd780b618f226a111dfa33cb5fa64681071b7c16" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/index.d.ts", + "sha256": "ce1c59659a68c54fe5af34b94550f3de9d4400b8315c188f679ecab19f87b80f" + }, + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.cts", + "sha256": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.mts", + "sha256": "b664fec51ee5c5381f2ceab25d99d52aee56feab04a2ee7b4ea5b2145ea5fa0e" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime-api.d.ts", + "sha256": "4634b65f2d1bbd6973a40390f3217251b69fc5167198a8409d9fed48500e106d" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime.d.mts", + "sha256": "5abf25cba3dfaaea2652c0d3721f58ad243eb4d3a2fef80f5d27eb978973b586" + }, + { + "file": "consumer.ts", + "sha256": "950e1d2396aae1d827ccc2d4623d983697c78b0f608e0bb627c4ab94a898618e" + } + ] + } + }, + { + "plugin": "candidate", + "compiler": "4.3.5", + "mode": "node10-commonjs", + "root": { + "sourceSha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "ea28f3486c9dc56f04406c67fb8e1f5f52391b2b83692ca8c8037020307b8317" + } + ] + }, + "rootNegative": { + "sourceSha256": "61aa215af98d3a3e199d98e458679cf5f30a0c0fa521378dc73fea68e305fa84", + "diagnostics": [ + { + "code": 2554, + "file": "consumer.ts", + "line": 34, + "message": "Expected 1 arguments, but got 0." + }, + { + "code": 2345, + "file": "consumer.ts", + "line": 35, + "message": "Argument of type 'undefined' is not assignable to parameter of type 'Option'." + }, + { + "code": 2339, + "file": "consumer.ts", + "line": 36, + "message": "Property 'default' does not exist on type '(option: Option) => (art: Artplayer) => Result'." + } + ], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "61aa215af98d3a3e199d98e458679cf5f30a0c0fa521378dc73fea68e305fa84" + } + ] + }, + "legacy": { + "sourceSha256": "30c323c8fe0e94347035077f77f681580a43ab53c37737e3296074c623ca501a", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "30c323c8fe0e94347035077f77f681580a43ab53c37737e3296074c623ca501a" + } + ] + }, + "runtime": { + "sourceSha256": "61a34b5717da57e47c6c8e8142a6047827c6dd3a3a9c78ff505343dea316beea", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/@alugha/ima/lib/typings/ima.d.ts", + "sha256": "ea7157c61f44e2b90072a7492fa8c88cf167a2ad93377694d348a3d4494033b5" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadImaSdk.d.ts", + "sha256": "e4d57a0a70877bee83beb45f53bb46cb6c3cf6fd92a4ef6e055765cc36aca5f1" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadScript.d.ts", + "sha256": "516a5da5d389068d5bfb1bda473b81f7f0af253829346e3c5771043c5cc94743" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/index.d.ts", + "sha256": "8499873d2c5b864598da7bf1f07ca0125f8d64ea1c1b173aeaa2d69a88085c89" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/delegated-event-target.d.ts", + "sha256": "d1eb0fdc1e9c497e6c04d5c83dc22483d5644d1bd9b430bd51c63d13d32432c7" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/vast-ima-player.d.ts", + "sha256": "a6d80180646fcebc1255a75dcd780b618f226a111dfa33cb5fa64681071b7c16" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/index.d.ts", + "sha256": "ce1c59659a68c54fe5af34b94550f3de9d4400b8315c188f679ecab19f87b80f" + }, + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime-api.d.ts", + "sha256": "4634b65f2d1bbd6973a40390f3217251b69fc5167198a8409d9fed48500e106d" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime.d.ts", + "sha256": "cead9984e0e2644e67cc687380ed40aed0d561b9d6f9636bea3b98d71522b13e" + }, + { + "file": "consumer.ts", + "sha256": "61a34b5717da57e47c6c8e8142a6047827c6dd3a3a9c78ff505343dea316beea" + } + ] + }, + "runtimeNegative": { + "sourceSha256": "950e1d2396aae1d827ccc2d4623d983697c78b0f608e0bb627c4ab94a898618e", + "diagnostics": [ + { + "code": 2345, + "file": "consumer.ts", + "line": 25, + "message": "Argument of type 'number' is not assignable to parameter of type 'AdsRequest'." + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 27, + "message": "Type 'string' is not assignable to type 'boolean'." + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 29, + "message": "Type 'string' is not assignable to type 'HTMLDivElement'." + }, + { + "code": 2540, + "file": "consumer.ts", + "line": 31, + "message": "Cannot assign to 'container' because it is a read-only property." + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 33, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2739, + "file": "consumer.ts", + "line": 39, + "message": "Type 'Promise' is missing the following properties from type 'RuntimeResult': name, destroy" + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 58, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2540, + "file": "consumer.ts", + "line": 60, + "message": "Cannot assign to 'imaPlayer' because it is a read-only property." + }, + { + "code": 2540, + "file": "consumer.ts", + "line": 62, + "message": "Cannot assign to 'id' because it is a read-only property." + }, + { + "code": 2345, + "file": "consumer.ts", + "line": 64, + "message": "Argument of type 'number' is not assignable to parameter of type 'string'." + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 71, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2769, + "file": "consumer.ts", + "line": 78, + "message": "No overload matches this call.\n Overload 1 of 3, '(callback?: RuntimeCallback | undefined, options?: { compatibility?: undefined; } | undefined): Registration', gave the following error.\n Type 'string' is not assignable to type 'undefined'.\n Overload 2 of 3, '(callback: RuntimeCallback | undefined, options: { compatibility: \"workspace-1.2\"; }): Registration', gave the following error.\n Type '\"wrong\"' is not assignable to type '\"workspace-1.2\"'.\n Overload 3 of 3, '(callback: RuntimeCallback | undefined, options: CompatibilityOptions): Registration', gave the following error.\n Type '\"wrong\"' is not assignable to type '\"workspace-1.2\" | undefined'." + }, + { + "code": 2345, + "file": "consumer.ts", + "line": 80, + "message": "Argument of type '1' is not assignable to parameter of type 'RuntimeCallback | undefined'." + }, + { + "code": 2769, + "file": "consumer.ts", + "line": 82, + "message": "No overload matches this call.\n Overload 1 of 3, '(callback?: RuntimeCallback | undefined, options?: { compatibility?: undefined; } | undefined): Registration', gave the following error.\n Type 'string' is not assignable to type 'undefined'.\n Overload 2 of 3, '(callback: RuntimeCallback | undefined, options: { compatibility: \"workspace-1.2\"; }): Registration', gave the following error.\n Argument of type '(context: PublishedContext) => string' is not assignable to parameter of type 'RuntimeCallback'.\n Types of parameters 'context' and 'context' are incompatible.\n Type 'WorkspaceContext' is not assignable to type 'PublishedContext'.\n Types of property 'imaPlayer' are incompatible.\n Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'.\n Overload 3 of 3, '(callback: RuntimeCallback | undefined, options: CompatibilityOptions): Registration', gave the following error.\n Argument of type '(context: PublishedContext) => string' is not assignable to parameter of type 'RuntimeCallback'.\n Types of parameters 'context' and 'context' are incompatible.\n Type 'RuntimeContext' is not assignable to type 'PublishedContext'.\n Type 'WorkspaceContext' is not assignable to type 'PublishedContext'." + } + ], + "declarations": [ + { + "file": "node_modules/@alugha/ima/lib/typings/ima.d.ts", + "sha256": "ea7157c61f44e2b90072a7492fa8c88cf167a2ad93377694d348a3d4494033b5" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadImaSdk.d.ts", + "sha256": "e4d57a0a70877bee83beb45f53bb46cb6c3cf6fd92a4ef6e055765cc36aca5f1" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadScript.d.ts", + "sha256": "516a5da5d389068d5bfb1bda473b81f7f0af253829346e3c5771043c5cc94743" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/index.d.ts", + "sha256": "8499873d2c5b864598da7bf1f07ca0125f8d64ea1c1b173aeaa2d69a88085c89" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/delegated-event-target.d.ts", + "sha256": "d1eb0fdc1e9c497e6c04d5c83dc22483d5644d1bd9b430bd51c63d13d32432c7" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/vast-ima-player.d.ts", + "sha256": "a6d80180646fcebc1255a75dcd780b618f226a111dfa33cb5fa64681071b7c16" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/index.d.ts", + "sha256": "ce1c59659a68c54fe5af34b94550f3de9d4400b8315c188f679ecab19f87b80f" + }, + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime-api.d.ts", + "sha256": "4634b65f2d1bbd6973a40390f3217251b69fc5167198a8409d9fed48500e106d" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime.d.ts", + "sha256": "cead9984e0e2644e67cc687380ed40aed0d561b9d6f9636bea3b98d71522b13e" + }, + { + "file": "consumer.ts", + "sha256": "950e1d2396aae1d827ccc2d4623d983697c78b0f608e0bb627c4ab94a898618e" + } + ] + } + }, + { + "plugin": "candidate", + "compiler": "5.9.3", + "mode": "node10-commonjs-no-interop", + "root": { + "sourceSha256": "e07660007ee061991b369e63b983e011da6590f5d88e1a6b66d0e49d6514b8ab", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "e07660007ee061991b369e63b983e011da6590f5d88e1a6b66d0e49d6514b8ab" + } + ] + }, + "rootNegative": { + "sourceSha256": "a74e6eeb45d503266d0d5d1c7aac8f20472ae397fd1cbc97554966ee94cbd7a8", + "diagnostics": [ + { + "code": 2554, + "file": "consumer.ts", + "line": 34, + "message": "Expected 1 arguments, but got 0." + }, + { + "code": 2345, + "file": "consumer.ts", + "line": 35, + "message": "Argument of type 'undefined' is not assignable to parameter of type 'Option'." + }, + { + "code": 2339, + "file": "consumer.ts", + "line": 36, + "message": "Property 'default' does not exist on type '(option: Option) => (art: Artplayer) => Result'." + } + ], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "a74e6eeb45d503266d0d5d1c7aac8f20472ae397fd1cbc97554966ee94cbd7a8" + } + ] + }, + "legacy": { + "sourceSha256": "ae925463318ff6fbf81fc9d28ebac2703be3512903b39d76efce4da4a69405dc", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "ae925463318ff6fbf81fc9d28ebac2703be3512903b39d76efce4da4a69405dc" + } + ] + }, + "runtime": { + "sourceSha256": "9b59fc1e1a477d877d13161f7840ccad56db7fdfd18f67b5fa6d8b373c64d6b3", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/@alugha/ima/lib/typings/ima.d.ts", + "sha256": "ea7157c61f44e2b90072a7492fa8c88cf167a2ad93377694d348a3d4494033b5" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadImaSdk.d.ts", + "sha256": "e4d57a0a70877bee83beb45f53bb46cb6c3cf6fd92a4ef6e055765cc36aca5f1" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadScript.d.ts", + "sha256": "516a5da5d389068d5bfb1bda473b81f7f0af253829346e3c5771043c5cc94743" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/index.d.ts", + "sha256": "8499873d2c5b864598da7bf1f07ca0125f8d64ea1c1b173aeaa2d69a88085c89" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/delegated-event-target.d.ts", + "sha256": "d1eb0fdc1e9c497e6c04d5c83dc22483d5644d1bd9b430bd51c63d13d32432c7" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/vast-ima-player.d.ts", + "sha256": "a6d80180646fcebc1255a75dcd780b618f226a111dfa33cb5fa64681071b7c16" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/index.d.ts", + "sha256": "ce1c59659a68c54fe5af34b94550f3de9d4400b8315c188f679ecab19f87b80f" + }, + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime-api.d.ts", + "sha256": "4634b65f2d1bbd6973a40390f3217251b69fc5167198a8409d9fed48500e106d" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime.d.ts", + "sha256": "cead9984e0e2644e67cc687380ed40aed0d561b9d6f9636bea3b98d71522b13e" + }, + { + "file": "consumer.ts", + "sha256": "9b59fc1e1a477d877d13161f7840ccad56db7fdfd18f67b5fa6d8b373c64d6b3" + } + ] + }, + "runtimeNegative": { + "sourceSha256": "bc29374c3a3982535077d8757840297d8d2bfb5949a10c57fec5feacb770bd34", + "diagnostics": [ + { + "code": 2345, + "file": "consumer.ts", + "line": 25, + "message": "Argument of type 'number' is not assignable to parameter of type 'AdsRequest'." + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 27, + "message": "Type 'string' is not assignable to type 'boolean'." + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 29, + "message": "Type 'string' is not assignable to type 'HTMLDivElement'." + }, + { + "code": 2540, + "file": "consumer.ts", + "line": 31, + "message": "Cannot assign to 'container' because it is a read-only property." + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 33, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2739, + "file": "consumer.ts", + "line": 39, + "message": "Type 'Promise' is missing the following properties from type 'RuntimeResult': name, destroy" + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 58, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2540, + "file": "consumer.ts", + "line": 60, + "message": "Cannot assign to 'imaPlayer' because it is a read-only property." + }, + { + "code": 2540, + "file": "consumer.ts", + "line": 62, + "message": "Cannot assign to 'id' because it is a read-only property." + }, + { + "code": 2345, + "file": "consumer.ts", + "line": 64, + "message": "Argument of type 'number' is not assignable to parameter of type 'string'." + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 71, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2769, + "file": "consumer.ts", + "line": 78, + "message": "No overload matches this call.\n Overload 1 of 3, '(callback?: RuntimeCallback | undefined, options?: { compatibility?: undefined; } | undefined): Registration', gave the following error.\n Type 'string' is not assignable to type 'undefined'.\n Overload 2 of 3, '(callback: RuntimeCallback | undefined, options: { compatibility: \"workspace-1.2\"; }): Registration', gave the following error.\n Type '\"wrong\"' is not assignable to type '\"workspace-1.2\"'.\n Overload 3 of 3, '(callback: RuntimeCallback | undefined, options: CompatibilityOptions): Registration', gave the following error.\n Type '\"wrong\"' is not assignable to type '\"workspace-1.2\"'." + }, + { + "code": 2345, + "file": "consumer.ts", + "line": 80, + "message": "Argument of type 'number' is not assignable to parameter of type 'RuntimeCallback'." + }, + { + "code": 2769, + "file": "consumer.ts", + "line": 82, + "message": "No overload matches this call.\n Overload 1 of 3, '(callback?: RuntimeCallback | undefined, options?: { compatibility?: undefined; } | undefined): Registration', gave the following error.\n Type 'string' is not assignable to type 'undefined'.\n Overload 2 of 3, '(callback: RuntimeCallback | undefined, options: { compatibility: \"workspace-1.2\"; }): Registration', gave the following error.\n Argument of type '(context: PublishedContext) => string' is not assignable to parameter of type 'RuntimeCallback'.\n Types of parameters 'context' and 'context' are incompatible.\n Type 'WorkspaceContext' is not assignable to type 'PublishedContext'.\n Types of property 'imaPlayer' are incompatible.\n Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'.\n Overload 3 of 3, '(callback: RuntimeCallback | undefined, options: CompatibilityOptions): Registration', gave the following error.\n Argument of type '(context: PublishedContext) => string' is not assignable to parameter of type 'RuntimeCallback'.\n Types of parameters 'context' and 'context' are incompatible.\n Type 'RuntimeContext' is not assignable to type 'PublishedContext'.\n Type 'WorkspaceContext' is not assignable to type 'PublishedContext'.\n Types of property 'imaPlayer' are incompatible.\n Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + } + ], + "declarations": [ + { + "file": "node_modules/@alugha/ima/lib/typings/ima.d.ts", + "sha256": "ea7157c61f44e2b90072a7492fa8c88cf167a2ad93377694d348a3d4494033b5" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadImaSdk.d.ts", + "sha256": "e4d57a0a70877bee83beb45f53bb46cb6c3cf6fd92a4ef6e055765cc36aca5f1" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadScript.d.ts", + "sha256": "516a5da5d389068d5bfb1bda473b81f7f0af253829346e3c5771043c5cc94743" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/index.d.ts", + "sha256": "8499873d2c5b864598da7bf1f07ca0125f8d64ea1c1b173aeaa2d69a88085c89" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/delegated-event-target.d.ts", + "sha256": "d1eb0fdc1e9c497e6c04d5c83dc22483d5644d1bd9b430bd51c63d13d32432c7" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/vast-ima-player.d.ts", + "sha256": "a6d80180646fcebc1255a75dcd780b618f226a111dfa33cb5fa64681071b7c16" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/index.d.ts", + "sha256": "ce1c59659a68c54fe5af34b94550f3de9d4400b8315c188f679ecab19f87b80f" + }, + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime-api.d.ts", + "sha256": "4634b65f2d1bbd6973a40390f3217251b69fc5167198a8409d9fed48500e106d" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime.d.ts", + "sha256": "cead9984e0e2644e67cc687380ed40aed0d561b9d6f9636bea3b98d71522b13e" + }, + { + "file": "consumer.ts", + "sha256": "bc29374c3a3982535077d8757840297d8d2bfb5949a10c57fec5feacb770bd34" + } + ] + } + }, + { + "plugin": "candidate", + "compiler": "4.3.5", + "mode": "node10-commonjs-no-interop", + "root": { + "sourceSha256": "e07660007ee061991b369e63b983e011da6590f5d88e1a6b66d0e49d6514b8ab", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "e07660007ee061991b369e63b983e011da6590f5d88e1a6b66d0e49d6514b8ab" + } + ] + }, + "rootNegative": { + "sourceSha256": "a74e6eeb45d503266d0d5d1c7aac8f20472ae397fd1cbc97554966ee94cbd7a8", + "diagnostics": [ + { + "code": 2554, + "file": "consumer.ts", + "line": 34, + "message": "Expected 1 arguments, but got 0." + }, + { + "code": 2345, + "file": "consumer.ts", + "line": 35, + "message": "Argument of type 'undefined' is not assignable to parameter of type 'Option'." + }, + { + "code": 2339, + "file": "consumer.ts", + "line": 36, + "message": "Property 'default' does not exist on type '(option: Option) => (art: Artplayer) => Result'." + } + ], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "a74e6eeb45d503266d0d5d1c7aac8f20472ae397fd1cbc97554966ee94cbd7a8" + } + ] + }, + "legacy": { + "sourceSha256": "ae925463318ff6fbf81fc9d28ebac2703be3512903b39d76efce4da4a69405dc", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts", + "sha256": "51257361f482f026a9b5ba84ca85d320d9e1457a34d0d259ac3c7b46c4fbd29c" + }, + { + "file": "consumer.ts", + "sha256": "ae925463318ff6fbf81fc9d28ebac2703be3512903b39d76efce4da4a69405dc" + } + ] + }, + "runtime": { + "sourceSha256": "9b59fc1e1a477d877d13161f7840ccad56db7fdfd18f67b5fa6d8b373c64d6b3", + "diagnostics": [], + "declarations": [ + { + "file": "node_modules/@alugha/ima/lib/typings/ima.d.ts", + "sha256": "ea7157c61f44e2b90072a7492fa8c88cf167a2ad93377694d348a3d4494033b5" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadImaSdk.d.ts", + "sha256": "e4d57a0a70877bee83beb45f53bb46cb6c3cf6fd92a4ef6e055765cc36aca5f1" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadScript.d.ts", + "sha256": "516a5da5d389068d5bfb1bda473b81f7f0af253829346e3c5771043c5cc94743" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/index.d.ts", + "sha256": "8499873d2c5b864598da7bf1f07ca0125f8d64ea1c1b173aeaa2d69a88085c89" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/delegated-event-target.d.ts", + "sha256": "d1eb0fdc1e9c497e6c04d5c83dc22483d5644d1bd9b430bd51c63d13d32432c7" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/vast-ima-player.d.ts", + "sha256": "a6d80180646fcebc1255a75dcd780b618f226a111dfa33cb5fa64681071b7c16" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/index.d.ts", + "sha256": "ce1c59659a68c54fe5af34b94550f3de9d4400b8315c188f679ecab19f87b80f" + }, + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime-api.d.ts", + "sha256": "4634b65f2d1bbd6973a40390f3217251b69fc5167198a8409d9fed48500e106d" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime.d.ts", + "sha256": "cead9984e0e2644e67cc687380ed40aed0d561b9d6f9636bea3b98d71522b13e" + }, + { + "file": "consumer.ts", + "sha256": "9b59fc1e1a477d877d13161f7840ccad56db7fdfd18f67b5fa6d8b373c64d6b3" + } + ] + }, + "runtimeNegative": { + "sourceSha256": "bc29374c3a3982535077d8757840297d8d2bfb5949a10c57fec5feacb770bd34", + "diagnostics": [ + { + "code": 2345, + "file": "consumer.ts", + "line": 25, + "message": "Argument of type 'number' is not assignable to parameter of type 'AdsRequest'." + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 27, + "message": "Type 'string' is not assignable to type 'boolean'." + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 29, + "message": "Type 'string' is not assignable to type 'HTMLDivElement'." + }, + { + "code": 2540, + "file": "consumer.ts", + "line": 31, + "message": "Cannot assign to 'container' because it is a read-only property." + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 33, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2739, + "file": "consumer.ts", + "line": 39, + "message": "Type 'Promise' is missing the following properties from type 'RuntimeResult': name, destroy" + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 58, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2540, + "file": "consumer.ts", + "line": 60, + "message": "Cannot assign to 'imaPlayer' because it is a read-only property." + }, + { + "code": 2540, + "file": "consumer.ts", + "line": 62, + "message": "Cannot assign to 'id' because it is a read-only property." + }, + { + "code": 2345, + "file": "consumer.ts", + "line": 64, + "message": "Argument of type 'number' is not assignable to parameter of type 'string'." + }, + { + "code": 2322, + "file": "consumer.ts", + "line": 71, + "message": "Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'." + }, + { + "code": 2769, + "file": "consumer.ts", + "line": 78, + "message": "No overload matches this call.\n Overload 1 of 3, '(callback?: RuntimeCallback | undefined, options?: { compatibility?: undefined; } | undefined): Registration', gave the following error.\n Type 'string' is not assignable to type 'undefined'.\n Overload 2 of 3, '(callback: RuntimeCallback | undefined, options: { compatibility: \"workspace-1.2\"; }): Registration', gave the following error.\n Type '\"wrong\"' is not assignable to type '\"workspace-1.2\"'.\n Overload 3 of 3, '(callback: RuntimeCallback | undefined, options: CompatibilityOptions): Registration', gave the following error.\n Type '\"wrong\"' is not assignable to type '\"workspace-1.2\" | undefined'." + }, + { + "code": 2345, + "file": "consumer.ts", + "line": 80, + "message": "Argument of type '1' is not assignable to parameter of type 'RuntimeCallback | undefined'." + }, + { + "code": 2769, + "file": "consumer.ts", + "line": 82, + "message": "No overload matches this call.\n Overload 1 of 3, '(callback?: RuntimeCallback | undefined, options?: { compatibility?: undefined; } | undefined): Registration', gave the following error.\n Type 'string' is not assignable to type 'undefined'.\n Overload 2 of 3, '(callback: RuntimeCallback | undefined, options: { compatibility: \"workspace-1.2\"; }): Registration', gave the following error.\n Argument of type '(context: PublishedContext) => string' is not assignable to parameter of type 'RuntimeCallback'.\n Types of parameters 'context' and 'context' are incompatible.\n Type 'WorkspaceContext' is not assignable to type 'PublishedContext'.\n Types of property 'imaPlayer' are incompatible.\n Type 'Player | null' is not assignable to type 'Player'.\n Type 'null' is not assignable to type 'Player'.\n Overload 3 of 3, '(callback: RuntimeCallback | undefined, options: CompatibilityOptions): Registration', gave the following error.\n Argument of type '(context: PublishedContext) => string' is not assignable to parameter of type 'RuntimeCallback'.\n Types of parameters 'context' and 'context' are incompatible.\n Type 'RuntimeContext' is not assignable to type 'PublishedContext'.\n Type 'WorkspaceContext' is not assignable to type 'PublishedContext'." + } + ], + "declarations": [ + { + "file": "node_modules/@alugha/ima/lib/typings/ima.d.ts", + "sha256": "ea7157c61f44e2b90072a7492fa8c88cf167a2ad93377694d348a3d4494033b5" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadImaSdk.d.ts", + "sha256": "e4d57a0a70877bee83beb45f53bb46cb6c3cf6fd92a4ef6e055765cc36aca5f1" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/loadScript.d.ts", + "sha256": "516a5da5d389068d5bfb1bda473b81f7f0af253829346e3c5771043c5cc94743" + }, + { + "file": "node_modules/@alugha/ima/lib/typings/index.d.ts", + "sha256": "8499873d2c5b864598da7bf1f07ca0125f8d64ea1c1b173aeaa2d69a88085c89" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/delegated-event-target.d.ts", + "sha256": "d1eb0fdc1e9c497e6c04d5c83dc22483d5644d1bd9b430bd51c63d13d32432c7" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/vast-ima-player.d.ts", + "sha256": "a6d80180646fcebc1255a75dcd780b618f226a111dfa33cb5fa64681071b7c16" + }, + { + "file": "node_modules/@glomex/vast-ima-player/dist/index.d.ts", + "sha256": "ce1c59659a68c54fe5af34b94550f3de9d4400b8315c188f679ecab19f87b80f" + }, + { + "file": "node_modules/artplayer/types/component.d.ts", + "sha256": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32" + }, + { + "file": "node_modules/artplayer/types/config.d.ts", + "sha256": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e" + }, + { + "file": "node_modules/artplayer/types/emitter.d.ts", + "sha256": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c" + }, + { + "file": "node_modules/artplayer/types/cssVar.d.ts", + "sha256": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b" + }, + { + "file": "node_modules/artplayer/types/i18n.d.ts", + "sha256": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5" + }, + { + "file": "node_modules/artplayer/types/icons.d.ts", + "sha256": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960" + }, + { + "file": "node_modules/artplayer/types/plugin.d.ts", + "sha256": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3" + }, + { + "file": "node_modules/artplayer/types/quality.d.ts", + "sha256": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34" + }, + { + "file": "node_modules/artplayer/types/setting.d.ts", + "sha256": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09" + }, + { + "file": "node_modules/artplayer/types/subtitle.d.ts", + "sha256": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce" + }, + { + "file": "node_modules/artplayer/types/option.d.ts", + "sha256": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6" + }, + { + "file": "node_modules/artplayer/types/player.d.ts", + "sha256": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177" + }, + { + "file": "node_modules/artplayer/types/events.d.ts", + "sha256": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830" + }, + { + "file": "node_modules/artplayer/types/playback.d.ts", + "sha256": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870" + }, + { + "file": "node_modules/artplayer/types/template.d.ts", + "sha256": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8" + }, + { + "file": "node_modules/artplayer/types/utils.d.ts", + "sha256": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712" + }, + { + "file": "node_modules/artplayer/types/artplayer.d.ts", + "sha256": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime-api.d.ts", + "sha256": "4634b65f2d1bbd6973a40390f3217251b69fc5167198a8409d9fed48500e106d" + }, + { + "file": "node_modules/artplayer-plugin-vast/types/runtime.d.ts", + "sha256": "cead9984e0e2644e67cc687380ed40aed0d561b9d6f9636bea3b98d71522b13e" + }, + { + "file": "consumer.ts", + "sha256": "bc29374c3a3982535077d8757840297d8d2bfb5949a10c57fec5feacb770bd34" + } + ] + } + } + ] + }, + "browser": { + "report": { + "path": "refactor/.cache/vast04-editor-browser-report/report.json", + "sha256": "d69b6ca52d6799076684430cf815a25c0801a56d4e88b163556e0c5ac24e9707" + }, + "stats": { + "startTime": "2026-09-14T15:00:34.196Z", + "duration": 12631.314999999999, + "expected": 3, + "skipped": 0, + "unexpected": 0, + "flaky": 0 + }, + "cases": [ + { + "name": "docs Monaco worker consumes generated core and published VAST types and runs a typed player example", + "project": "chromium", + "version": "153.0.8010.12", + "status": "passed", + "retry": 0, + "declarationSha256": "7cdb941298567b12627313be004a5afff6ef8384f6c5b385ef526a4814be70ce", + "resources": { + "/candidate/artplayer.js": { + "source": { + "kind": "workspace-build", + "entry": "packages\\artplayer\\src\\index.ts" + }, + "sha256": "5139cabd5abf9b92684ee2dcdaa620c4db7f67c0cb1aa3f654435d739468bf9d", + "bytes": 378931 + }, + "/compiled/artplayer.js": { + "source": { + "kind": "workspace-build", + "entry": "packages\\artplayer\\src\\index.ts" + }, + "sha256": "5139cabd5abf9b92684ee2dcdaa620c4db7f67c0cb1aa3f654435d739468bf9d", + "bytes": 378931, + "aliasOf": "/candidate/artplayer.js" + }, + "/uncompiled/artplayer/index.js": { + "source": { + "kind": "workspace-build", + "entry": "packages\\artplayer\\src\\index.ts" + }, + "sha256": "5139cabd5abf9b92684ee2dcdaa620c4db7f67c0cb1aa3f654435d739468bf9d", + "bytes": 378931, + "aliasOf": "/candidate/artplayer.js" + }, + "/candidate/artplayer-plugin-chapter.js": { + "source": { + "kind": "workspace-build", + "entry": "packages\\artplayer-plugin-chapter\\src\\index.ts" + }, + "sha256": "1a8eb891d3690e2526e78a2e53183a25367b1d02a5fd349d821548edb731ee3a", + "bytes": 8529 + }, + "/compiled/artplayer-plugin-chapter.js": { + "source": { + "kind": "workspace-build", + "entry": "packages\\artplayer-plugin-chapter\\src\\index.ts" + }, + "sha256": "1a8eb891d3690e2526e78a2e53183a25367b1d02a5fd349d821548edb731ee3a", + "bytes": 8529, + "aliasOf": "/candidate/artplayer-plugin-chapter.js" + }, + "/uncompiled/artplayer-plugin-chapter/index.js": { + "source": { + "kind": "workspace-build", + "entry": "packages\\artplayer-plugin-chapter\\src\\index.ts" + }, + "sha256": "1a8eb891d3690e2526e78a2e53183a25367b1d02a5fd349d821548edb731ee3a", + "bytes": 8529, + "aliasOf": "/candidate/artplayer-plugin-chapter.js" + }, + "/published/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "5.4.0", + "integrity": "sha512-2B+plbx8N2yNsjK4nJU3+EOG8TULm1LRZk/QPkWRAMEX2Ee/MSnZG/WJYz8kcoZxZuLKcQ3uXifqLuPxZOH29A==", + "member": "package/dist/artplayer.js" + }, + "sha256": "f1db1fa3406aa6d41baa7c554749429a8e79f99d56a794bde23345eb9c07573f", + "bytes": 134037 + }, + "/published/artplayer-plugin-chapter.js": { + "source": { + "kind": "npm-release", + "version": "1.1.0", + "integrity": "sha512-ji66Lr2K2S+OjFMuMby3yq+pefWlOC51Sbpop/DIr2N6w3F0smrF+YZbshN1Dy8/Tx1TYpT7N6WkkZWy5Jix1w==", + "member": "package/dist/artplayer-plugin-chapter.js" + }, + "sha256": "c2aaee11bf1db765433b01d9f8dd3978e41fa4d39655db00ebd03fc0be3e35e0", + "bytes": 4973 + }, + "/test/pattern.mp4": { + "source": { + "kind": "generated-media", + "file": "test/browser/media/pattern.mp4" + }, + "sha256": "0ad1d7ad286aec6e0fa9e27fc1e487e7277df2e603e30040fb942365763d0233", + "bytes": 251538 + }, + "/test/pattern.webm": { + "source": { + "kind": "generated-media", + "file": "test/browser/media/pattern.webm" + }, + "sha256": "9d3c2b3dec9581a599de2d6732992ef7846790e0d1368e6e131bd339b39e984f", + "bytes": 162073 + }, + "/published-4.5.5/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "4.5.5", + "integrity": "sha512-HeAKbe3od9ZgFQVSBCg5FlixJsefDEBC8txVG19yZgvzlcJuiurxPlasap+GHuex/ftG+jmSXnTRtuNrTki2Kw==", + "member": "package/dist/artplayer.js" + }, + "sha256": "3467e626ca29d2f7884e75eb75b8b90de74a25761ffa2e272576c9b5a98fa0a4", + "bytes": 153582 + }, + "/published-5.1.7/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "5.1.7", + "integrity": "sha512-N/QdNlTwsIHUsWOHMPj0pq97v3qmgXZHfhy1q7I+8YN3/XakJiJJyVJgGaeBjU+y/fUIrzBhwpBaX+NFwK9/qw==", + "member": "package/dist/artplayer.js" + }, + "sha256": "484ccc3f22446ec6fd0dd8b8a5602c740b601d55097a1ae043262d92aab35357", + "bytes": 155940 + }, + "/published-4.5.9/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "4.5.9", + "integrity": "sha512-x5JzGdXkw4GFdztvPkVnm8TOWrGDcvGKKMPb9wuP6UfyftlLM3UQctmmalfAMnQSxugJwq2Kb9ix9OG2SgbJJA==", + "member": "package/dist/artplayer.js" + }, + "sha256": "09a9f09e3a64a02ca7c27af710d7254f886f0bfb09fd54bf3a728ce863e5a497", + "bytes": 156408 + }, + "/published-5.3.0/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "5.3.0", + "integrity": "sha512-yExO39MpEg4P+bxgChxx1eJfiUPE4q1QQRLCmqGhlsj+ANuaoEkR8hF93LdI5ZyrAcIbJkuEndxEiUoKobifDw==", + "member": "package/dist/artplayer.js" + }, + "sha256": "54ffaf7598b910d5a88d2d2eec1aa6faa806583915b99b892dd32129c53e421a", + "bytes": 159238 + }, + "/published-5.1.6/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "5.1.6", + "integrity": "sha512-cqnVVLKCKWCryKl6Pmop50/Di9IQwOeNNQs5qWGzJDPiM0qTC7Q/Enusa+8JQid8p09fvp4Vc32ViSSYutdEeQ==", + "member": "package/dist/artplayer.js" + }, + "sha256": "6a7b1f3007ecda9f399e6cff606490dd745c495e19ce10e864a401ff09996172", + "bytes": 155714 + }, + "/published-5.1.2/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "5.1.2", + "integrity": "sha512-eIWlxiP2ghgftaZWIGnclkOpXGFZTOf5xrm6sGZCGx5A8wGbTHRSMe+ZiyPFpbNhBVupi/QObSjX/FcD+YbS1Q==", + "member": "package/dist/artplayer.js" + }, + "sha256": "3dfd035b4cde34c9d9dd1b303f95bfbb42bde105bcb3e5671a8d375a719290b1", + "bytes": 154583 + }, + "/test/audio-tone.m4a": { + "source": { + "kind": "generated-media", + "file": "test/browser/media/audio-tone.m4a" + }, + "sha256": "83e6672b880b5d1c97093b1e26bdc40221c0b279615f40e99dbf9d2ade7b4d56", + "bytes": 132436 + }, + "/test/thumbnail-pattern.mp4": { + "source": { + "kind": "generated-media", + "file": "test/browser/media/thumbnail-pattern.mp4" + }, + "sha256": "4c977be04d97f6ac1342ac4959b8e61678f390d88a088430e4d0200137a03d1c", + "bytes": 752916 + }, + "/test/auto-thumbnail-timeline.mp4": { + "source": { + "kind": "generated-media", + "file": "test/browser/media/auto-thumbnail-timeline.mp4" + }, + "sha256": "10370156cffada462d3ea00aae0caadd62752369cd6538cc55248b3ddd7bf994", + "bytes": 8602 + }, + "/test/declaration-cues.vtt": { + "source": { + "kind": "test-subtitles", + "file": "test/browser/media/declaration-cues.vtt" + }, + "sha256": "5d149d4e641ce41cbb83376835c03daf1fb89f3b9f568fa59e064d51e2b57704", + "bytes": 54 + }, + "/test/thumbnail-grid.svg": { + "source": { + "kind": "test-thumbnail-grid", + "file": "test/browser/media/thumbnail-grid.svg" + }, + "sha256": "bb3f1ec9895d37def77ca4b192d3cd73577a2668558cc99de1588f511d65d3e6", + "bytes": 14969 + }, + "/test/legacy-safe-area.js": { + "source": { + "kind": "frozen-own-source", + "file": "test/helpers/legacy-safe-area.js", + "commit": "ccf77c4e" + }, + "sha256": "ce0368618ef6363b78271b8bcc7973abd0478e797cc464ddd912929e6dfa501a", + "bytes": 795 + }, + "/test/iframe-boundary-child.html": { + "source": { + "kind": "iframe-fixture", + "file": "test/browser/iframe-boundary-child.html" + }, + "sha256": "4721de185f606de7d576e71395127257e476765455e2a947ded79df4ebed901a", + "bytes": 1451 + }, + "/published-5.3.1-beta.1/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "5.3.1-beta.1", + "integrity": "sha512-btjbQwXPl86U/Apja0WrCUF+AXLPacI60eUGAeJTx3EMuUKrVaOFrmWrIeeyMUi5aIzMSXM++tQjlSMJVnmhuQ==", + "member": "package/dist/artplayer.js" + }, + "sha256": "e91e64228c57bb97300c709789d5557ab07b133cab307267b4a2a4df3083c861", + "bytes": 159458 + }, + "/assets/sample/video.mp4": { + "source": { + "kind": "docs-media", + "file": "docs/assets/sample/video.mp4" + }, + "sha256": "30a2de667ba267b6bc605edcee1c4bd728c048ed76f500ea0e73d1f1a6f8f980", + "bytes": 5818706 + }, + "/test/performance.js": { + "source": { + "kind": "adapted-baseline-fixture", + "file": "refactor/fixtures/performance.js" + }, + "sha256": "c5a8a8611db004aadd6c3b82c61b8ae242319c1a12e73bf784c1da06fcebed72", + "bytes": 9251 + } + } + }, + { + "name": "docs Monaco worker consumes generated core and published VAST types and runs a typed player example", + "project": "firefox", + "version": "155.0", + "status": "passed", + "retry": 0, + "declarationSha256": "7cdb941298567b12627313be004a5afff6ef8384f6c5b385ef526a4814be70ce", + "resources": { + "/candidate/artplayer.js": { + "source": { + "kind": "workspace-build", + "entry": "packages\\artplayer\\src\\index.ts" + }, + "sha256": "5139cabd5abf9b92684ee2dcdaa620c4db7f67c0cb1aa3f654435d739468bf9d", + "bytes": 378931 + }, + "/compiled/artplayer.js": { + "source": { + "kind": "workspace-build", + "entry": "packages\\artplayer\\src\\index.ts" + }, + "sha256": "5139cabd5abf9b92684ee2dcdaa620c4db7f67c0cb1aa3f654435d739468bf9d", + "bytes": 378931, + "aliasOf": "/candidate/artplayer.js" + }, + "/uncompiled/artplayer/index.js": { + "source": { + "kind": "workspace-build", + "entry": "packages\\artplayer\\src\\index.ts" + }, + "sha256": "5139cabd5abf9b92684ee2dcdaa620c4db7f67c0cb1aa3f654435d739468bf9d", + "bytes": 378931, + "aliasOf": "/candidate/artplayer.js" + }, + "/candidate/artplayer-plugin-chapter.js": { + "source": { + "kind": "workspace-build", + "entry": "packages\\artplayer-plugin-chapter\\src\\index.ts" + }, + "sha256": "1a8eb891d3690e2526e78a2e53183a25367b1d02a5fd349d821548edb731ee3a", + "bytes": 8529 + }, + "/compiled/artplayer-plugin-chapter.js": { + "source": { + "kind": "workspace-build", + "entry": "packages\\artplayer-plugin-chapter\\src\\index.ts" + }, + "sha256": "1a8eb891d3690e2526e78a2e53183a25367b1d02a5fd349d821548edb731ee3a", + "bytes": 8529, + "aliasOf": "/candidate/artplayer-plugin-chapter.js" + }, + "/uncompiled/artplayer-plugin-chapter/index.js": { + "source": { + "kind": "workspace-build", + "entry": "packages\\artplayer-plugin-chapter\\src\\index.ts" + }, + "sha256": "1a8eb891d3690e2526e78a2e53183a25367b1d02a5fd349d821548edb731ee3a", + "bytes": 8529, + "aliasOf": "/candidate/artplayer-plugin-chapter.js" + }, + "/published/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "5.4.0", + "integrity": "sha512-2B+plbx8N2yNsjK4nJU3+EOG8TULm1LRZk/QPkWRAMEX2Ee/MSnZG/WJYz8kcoZxZuLKcQ3uXifqLuPxZOH29A==", + "member": "package/dist/artplayer.js" + }, + "sha256": "f1db1fa3406aa6d41baa7c554749429a8e79f99d56a794bde23345eb9c07573f", + "bytes": 134037 + }, + "/published/artplayer-plugin-chapter.js": { + "source": { + "kind": "npm-release", + "version": "1.1.0", + "integrity": "sha512-ji66Lr2K2S+OjFMuMby3yq+pefWlOC51Sbpop/DIr2N6w3F0smrF+YZbshN1Dy8/Tx1TYpT7N6WkkZWy5Jix1w==", + "member": "package/dist/artplayer-plugin-chapter.js" + }, + "sha256": "c2aaee11bf1db765433b01d9f8dd3978e41fa4d39655db00ebd03fc0be3e35e0", + "bytes": 4973 + }, + "/test/pattern.mp4": { + "source": { + "kind": "generated-media", + "file": "test/browser/media/pattern.mp4" + }, + "sha256": "0ad1d7ad286aec6e0fa9e27fc1e487e7277df2e603e30040fb942365763d0233", + "bytes": 251538 + }, + "/test/pattern.webm": { + "source": { + "kind": "generated-media", + "file": "test/browser/media/pattern.webm" + }, + "sha256": "9d3c2b3dec9581a599de2d6732992ef7846790e0d1368e6e131bd339b39e984f", + "bytes": 162073 + }, + "/published-4.5.5/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "4.5.5", + "integrity": "sha512-HeAKbe3od9ZgFQVSBCg5FlixJsefDEBC8txVG19yZgvzlcJuiurxPlasap+GHuex/ftG+jmSXnTRtuNrTki2Kw==", + "member": "package/dist/artplayer.js" + }, + "sha256": "3467e626ca29d2f7884e75eb75b8b90de74a25761ffa2e272576c9b5a98fa0a4", + "bytes": 153582 + }, + "/published-5.1.7/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "5.1.7", + "integrity": "sha512-N/QdNlTwsIHUsWOHMPj0pq97v3qmgXZHfhy1q7I+8YN3/XakJiJJyVJgGaeBjU+y/fUIrzBhwpBaX+NFwK9/qw==", + "member": "package/dist/artplayer.js" + }, + "sha256": "484ccc3f22446ec6fd0dd8b8a5602c740b601d55097a1ae043262d92aab35357", + "bytes": 155940 + }, + "/published-4.5.9/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "4.5.9", + "integrity": "sha512-x5JzGdXkw4GFdztvPkVnm8TOWrGDcvGKKMPb9wuP6UfyftlLM3UQctmmalfAMnQSxugJwq2Kb9ix9OG2SgbJJA==", + "member": "package/dist/artplayer.js" + }, + "sha256": "09a9f09e3a64a02ca7c27af710d7254f886f0bfb09fd54bf3a728ce863e5a497", + "bytes": 156408 + }, + "/published-5.3.0/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "5.3.0", + "integrity": "sha512-yExO39MpEg4P+bxgChxx1eJfiUPE4q1QQRLCmqGhlsj+ANuaoEkR8hF93LdI5ZyrAcIbJkuEndxEiUoKobifDw==", + "member": "package/dist/artplayer.js" + }, + "sha256": "54ffaf7598b910d5a88d2d2eec1aa6faa806583915b99b892dd32129c53e421a", + "bytes": 159238 + }, + "/published-5.1.6/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "5.1.6", + "integrity": "sha512-cqnVVLKCKWCryKl6Pmop50/Di9IQwOeNNQs5qWGzJDPiM0qTC7Q/Enusa+8JQid8p09fvp4Vc32ViSSYutdEeQ==", + "member": "package/dist/artplayer.js" + }, + "sha256": "6a7b1f3007ecda9f399e6cff606490dd745c495e19ce10e864a401ff09996172", + "bytes": 155714 + }, + "/published-5.1.2/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "5.1.2", + "integrity": "sha512-eIWlxiP2ghgftaZWIGnclkOpXGFZTOf5xrm6sGZCGx5A8wGbTHRSMe+ZiyPFpbNhBVupi/QObSjX/FcD+YbS1Q==", + "member": "package/dist/artplayer.js" + }, + "sha256": "3dfd035b4cde34c9d9dd1b303f95bfbb42bde105bcb3e5671a8d375a719290b1", + "bytes": 154583 + }, + "/test/audio-tone.m4a": { + "source": { + "kind": "generated-media", + "file": "test/browser/media/audio-tone.m4a" + }, + "sha256": "83e6672b880b5d1c97093b1e26bdc40221c0b279615f40e99dbf9d2ade7b4d56", + "bytes": 132436 + }, + "/test/thumbnail-pattern.mp4": { + "source": { + "kind": "generated-media", + "file": "test/browser/media/thumbnail-pattern.mp4" + }, + "sha256": "4c977be04d97f6ac1342ac4959b8e61678f390d88a088430e4d0200137a03d1c", + "bytes": 752916 + }, + "/test/auto-thumbnail-timeline.mp4": { + "source": { + "kind": "generated-media", + "file": "test/browser/media/auto-thumbnail-timeline.mp4" + }, + "sha256": "10370156cffada462d3ea00aae0caadd62752369cd6538cc55248b3ddd7bf994", + "bytes": 8602 + }, + "/test/declaration-cues.vtt": { + "source": { + "kind": "test-subtitles", + "file": "test/browser/media/declaration-cues.vtt" + }, + "sha256": "5d149d4e641ce41cbb83376835c03daf1fb89f3b9f568fa59e064d51e2b57704", + "bytes": 54 + }, + "/test/thumbnail-grid.svg": { + "source": { + "kind": "test-thumbnail-grid", + "file": "test/browser/media/thumbnail-grid.svg" + }, + "sha256": "bb3f1ec9895d37def77ca4b192d3cd73577a2668558cc99de1588f511d65d3e6", + "bytes": 14969 + }, + "/test/legacy-safe-area.js": { + "source": { + "kind": "frozen-own-source", + "file": "test/helpers/legacy-safe-area.js", + "commit": "ccf77c4e" + }, + "sha256": "ce0368618ef6363b78271b8bcc7973abd0478e797cc464ddd912929e6dfa501a", + "bytes": 795 + }, + "/test/iframe-boundary-child.html": { + "source": { + "kind": "iframe-fixture", + "file": "test/browser/iframe-boundary-child.html" + }, + "sha256": "4721de185f606de7d576e71395127257e476765455e2a947ded79df4ebed901a", + "bytes": 1451 + }, + "/published-5.3.1-beta.1/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "5.3.1-beta.1", + "integrity": "sha512-btjbQwXPl86U/Apja0WrCUF+AXLPacI60eUGAeJTx3EMuUKrVaOFrmWrIeeyMUi5aIzMSXM++tQjlSMJVnmhuQ==", + "member": "package/dist/artplayer.js" + }, + "sha256": "e91e64228c57bb97300c709789d5557ab07b133cab307267b4a2a4df3083c861", + "bytes": 159458 + }, + "/assets/sample/video.mp4": { + "source": { + "kind": "docs-media", + "file": "docs/assets/sample/video.mp4" + }, + "sha256": "30a2de667ba267b6bc605edcee1c4bd728c048ed76f500ea0e73d1f1a6f8f980", + "bytes": 5818706 + }, + "/test/performance.js": { + "source": { + "kind": "adapted-baseline-fixture", + "file": "refactor/fixtures/performance.js" + }, + "sha256": "c5a8a8611db004aadd6c3b82c61b8ae242319c1a12e73bf784c1da06fcebed72", + "bytes": 9251 + } + } + }, + { + "name": "docs Monaco worker consumes generated core and published VAST types and runs a typed player example", + "project": "webkit", + "version": "26.6", + "status": "passed", + "retry": 0, + "declarationSha256": "7cdb941298567b12627313be004a5afff6ef8384f6c5b385ef526a4814be70ce", + "resources": { + "/candidate/artplayer.js": { + "source": { + "kind": "workspace-build", + "entry": "packages\\artplayer\\src\\index.ts" + }, + "sha256": "5139cabd5abf9b92684ee2dcdaa620c4db7f67c0cb1aa3f654435d739468bf9d", + "bytes": 378931 + }, + "/compiled/artplayer.js": { + "source": { + "kind": "workspace-build", + "entry": "packages\\artplayer\\src\\index.ts" + }, + "sha256": "5139cabd5abf9b92684ee2dcdaa620c4db7f67c0cb1aa3f654435d739468bf9d", + "bytes": 378931, + "aliasOf": "/candidate/artplayer.js" + }, + "/uncompiled/artplayer/index.js": { + "source": { + "kind": "workspace-build", + "entry": "packages\\artplayer\\src\\index.ts" + }, + "sha256": "5139cabd5abf9b92684ee2dcdaa620c4db7f67c0cb1aa3f654435d739468bf9d", + "bytes": 378931, + "aliasOf": "/candidate/artplayer.js" + }, + "/candidate/artplayer-plugin-chapter.js": { + "source": { + "kind": "workspace-build", + "entry": "packages\\artplayer-plugin-chapter\\src\\index.ts" + }, + "sha256": "1a8eb891d3690e2526e78a2e53183a25367b1d02a5fd349d821548edb731ee3a", + "bytes": 8529 + }, + "/compiled/artplayer-plugin-chapter.js": { + "source": { + "kind": "workspace-build", + "entry": "packages\\artplayer-plugin-chapter\\src\\index.ts" + }, + "sha256": "1a8eb891d3690e2526e78a2e53183a25367b1d02a5fd349d821548edb731ee3a", + "bytes": 8529, + "aliasOf": "/candidate/artplayer-plugin-chapter.js" + }, + "/uncompiled/artplayer-plugin-chapter/index.js": { + "source": { + "kind": "workspace-build", + "entry": "packages\\artplayer-plugin-chapter\\src\\index.ts" + }, + "sha256": "1a8eb891d3690e2526e78a2e53183a25367b1d02a5fd349d821548edb731ee3a", + "bytes": 8529, + "aliasOf": "/candidate/artplayer-plugin-chapter.js" + }, + "/published/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "5.4.0", + "integrity": "sha512-2B+plbx8N2yNsjK4nJU3+EOG8TULm1LRZk/QPkWRAMEX2Ee/MSnZG/WJYz8kcoZxZuLKcQ3uXifqLuPxZOH29A==", + "member": "package/dist/artplayer.js" + }, + "sha256": "f1db1fa3406aa6d41baa7c554749429a8e79f99d56a794bde23345eb9c07573f", + "bytes": 134037 + }, + "/published/artplayer-plugin-chapter.js": { + "source": { + "kind": "npm-release", + "version": "1.1.0", + "integrity": "sha512-ji66Lr2K2S+OjFMuMby3yq+pefWlOC51Sbpop/DIr2N6w3F0smrF+YZbshN1Dy8/Tx1TYpT7N6WkkZWy5Jix1w==", + "member": "package/dist/artplayer-plugin-chapter.js" + }, + "sha256": "c2aaee11bf1db765433b01d9f8dd3978e41fa4d39655db00ebd03fc0be3e35e0", + "bytes": 4973 + }, + "/test/pattern.mp4": { + "source": { + "kind": "generated-media", + "file": "test/browser/media/pattern.mp4" + }, + "sha256": "0ad1d7ad286aec6e0fa9e27fc1e487e7277df2e603e30040fb942365763d0233", + "bytes": 251538 + }, + "/test/pattern.webm": { + "source": { + "kind": "generated-media", + "file": "test/browser/media/pattern.webm" + }, + "sha256": "9d3c2b3dec9581a599de2d6732992ef7846790e0d1368e6e131bd339b39e984f", + "bytes": 162073 + }, + "/published-4.5.5/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "4.5.5", + "integrity": "sha512-HeAKbe3od9ZgFQVSBCg5FlixJsefDEBC8txVG19yZgvzlcJuiurxPlasap+GHuex/ftG+jmSXnTRtuNrTki2Kw==", + "member": "package/dist/artplayer.js" + }, + "sha256": "3467e626ca29d2f7884e75eb75b8b90de74a25761ffa2e272576c9b5a98fa0a4", + "bytes": 153582 + }, + "/published-5.1.7/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "5.1.7", + "integrity": "sha512-N/QdNlTwsIHUsWOHMPj0pq97v3qmgXZHfhy1q7I+8YN3/XakJiJJyVJgGaeBjU+y/fUIrzBhwpBaX+NFwK9/qw==", + "member": "package/dist/artplayer.js" + }, + "sha256": "484ccc3f22446ec6fd0dd8b8a5602c740b601d55097a1ae043262d92aab35357", + "bytes": 155940 + }, + "/published-4.5.9/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "4.5.9", + "integrity": "sha512-x5JzGdXkw4GFdztvPkVnm8TOWrGDcvGKKMPb9wuP6UfyftlLM3UQctmmalfAMnQSxugJwq2Kb9ix9OG2SgbJJA==", + "member": "package/dist/artplayer.js" + }, + "sha256": "09a9f09e3a64a02ca7c27af710d7254f886f0bfb09fd54bf3a728ce863e5a497", + "bytes": 156408 + }, + "/published-5.3.0/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "5.3.0", + "integrity": "sha512-yExO39MpEg4P+bxgChxx1eJfiUPE4q1QQRLCmqGhlsj+ANuaoEkR8hF93LdI5ZyrAcIbJkuEndxEiUoKobifDw==", + "member": "package/dist/artplayer.js" + }, + "sha256": "54ffaf7598b910d5a88d2d2eec1aa6faa806583915b99b892dd32129c53e421a", + "bytes": 159238 + }, + "/published-5.1.6/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "5.1.6", + "integrity": "sha512-cqnVVLKCKWCryKl6Pmop50/Di9IQwOeNNQs5qWGzJDPiM0qTC7Q/Enusa+8JQid8p09fvp4Vc32ViSSYutdEeQ==", + "member": "package/dist/artplayer.js" + }, + "sha256": "6a7b1f3007ecda9f399e6cff606490dd745c495e19ce10e864a401ff09996172", + "bytes": 155714 + }, + "/published-5.1.2/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "5.1.2", + "integrity": "sha512-eIWlxiP2ghgftaZWIGnclkOpXGFZTOf5xrm6sGZCGx5A8wGbTHRSMe+ZiyPFpbNhBVupi/QObSjX/FcD+YbS1Q==", + "member": "package/dist/artplayer.js" + }, + "sha256": "3dfd035b4cde34c9d9dd1b303f95bfbb42bde105bcb3e5671a8d375a719290b1", + "bytes": 154583 + }, + "/test/audio-tone.m4a": { + "source": { + "kind": "generated-media", + "file": "test/browser/media/audio-tone.m4a" + }, + "sha256": "83e6672b880b5d1c97093b1e26bdc40221c0b279615f40e99dbf9d2ade7b4d56", + "bytes": 132436 + }, + "/test/thumbnail-pattern.mp4": { + "source": { + "kind": "generated-media", + "file": "test/browser/media/thumbnail-pattern.mp4" + }, + "sha256": "4c977be04d97f6ac1342ac4959b8e61678f390d88a088430e4d0200137a03d1c", + "bytes": 752916 + }, + "/test/auto-thumbnail-timeline.mp4": { + "source": { + "kind": "generated-media", + "file": "test/browser/media/auto-thumbnail-timeline.mp4" + }, + "sha256": "10370156cffada462d3ea00aae0caadd62752369cd6538cc55248b3ddd7bf994", + "bytes": 8602 + }, + "/test/declaration-cues.vtt": { + "source": { + "kind": "test-subtitles", + "file": "test/browser/media/declaration-cues.vtt" + }, + "sha256": "5d149d4e641ce41cbb83376835c03daf1fb89f3b9f568fa59e064d51e2b57704", + "bytes": 54 + }, + "/test/thumbnail-grid.svg": { + "source": { + "kind": "test-thumbnail-grid", + "file": "test/browser/media/thumbnail-grid.svg" + }, + "sha256": "bb3f1ec9895d37def77ca4b192d3cd73577a2668558cc99de1588f511d65d3e6", + "bytes": 14969 + }, + "/test/legacy-safe-area.js": { + "source": { + "kind": "frozen-own-source", + "file": "test/helpers/legacy-safe-area.js", + "commit": "ccf77c4e" + }, + "sha256": "ce0368618ef6363b78271b8bcc7973abd0478e797cc464ddd912929e6dfa501a", + "bytes": 795 + }, + "/test/iframe-boundary-child.html": { + "source": { + "kind": "iframe-fixture", + "file": "test/browser/iframe-boundary-child.html" + }, + "sha256": "4721de185f606de7d576e71395127257e476765455e2a947ded79df4ebed901a", + "bytes": 1451 + }, + "/published-5.3.1-beta.1/artplayer.js": { + "source": { + "kind": "npm-release", + "version": "5.3.1-beta.1", + "integrity": "sha512-btjbQwXPl86U/Apja0WrCUF+AXLPacI60eUGAeJTx3EMuUKrVaOFrmWrIeeyMUi5aIzMSXM++tQjlSMJVnmhuQ==", + "member": "package/dist/artplayer.js" + }, + "sha256": "e91e64228c57bb97300c709789d5557ab07b133cab307267b4a2a4df3083c861", + "bytes": 159458 + }, + "/assets/sample/video.mp4": { + "source": { + "kind": "docs-media", + "file": "docs/assets/sample/video.mp4" + }, + "sha256": "30a2de667ba267b6bc605edcee1c4bd728c048ed76f500ea0e73d1f1a6f8f980", + "bytes": 5818706 + }, + "/test/performance.js": { + "source": { + "kind": "adapted-baseline-fixture", + "file": "refactor/fixtures/performance.js" + }, + "sha256": "c5a8a8611db004aadd6c3b82c61b8ae242319c1a12e73bf784c1da06fcebed72", + "bytes": 9251 + } + } + } + ] + }, + "historicalConflict": [ + { + "compiler": "5.9.3", + "version": "published", + "usage": "published", + "diagnostics": [] + }, + { + "compiler": "5.9.3", + "version": "published", + "usage": "workspace", + "diagnostics": [ + { + "code": 2305, + "message": "Module '\"./vast-history\"' has no exported member 'ArtplayerPluginVastOption'." + }, + { + "code": 2305, + "message": "Module '\"./vast-history\"' has no exported member 'ArtplayerPluginVastInstance'." + }, + { + "code": 7006, + "message": "Parameter 'context' implicitly has an 'any' type." + } + ] + }, + { + "compiler": "5.9.3", + "version": "workspace", + "usage": "published", + "diagnostics": [ + { + "code": 2344, + "message": "Type 'false' does not satisfy the constraint 'true'." + }, + { + "code": 2339, + "message": "Property 'id' does not exist on type 'VastPluginContext'." + }, + { + "code": 2339, + "message": "Property '$container' does not exist on type 'VastPluginContext'." + }, + { + "code": 18047, + "message": "'imaPlayer' is possibly 'null'." + } + ] + }, + { + "compiler": "5.9.3", + "version": "workspace", + "usage": "workspace", + "diagnostics": [] + }, + { + "compiler": "4.3.5", + "version": "published", + "usage": "published", + "diagnostics": [] + }, + { + "compiler": "4.3.5", + "version": "published", + "usage": "workspace", + "diagnostics": [ + { + "code": 2305, + "message": "Module '\"./vast-history\"' has no exported member 'ArtplayerPluginVastOption'." + }, + { + "code": 2305, + "message": "Module '\"./vast-history\"' has no exported member 'ArtplayerPluginVastInstance'." + }, + { + "code": 7006, + "message": "Parameter 'context' implicitly has an 'any' type." + } + ] + }, + { + "compiler": "4.3.5", + "version": "workspace", + "usage": "published", + "diagnostics": [ + { + "code": 2344, + "message": "Type 'false' does not satisfy the constraint 'true'." + }, + { + "code": 2339, + "message": "Property 'id' does not exist on type 'VastPluginContext'." + }, + { + "code": 2339, + "message": "Property '$container' does not exist on type 'VastPluginContext'." + }, + { + "code": 2531, + "message": "Object is possibly 'null'." + } + ] + }, + { + "compiler": "4.3.5", + "version": "workspace", + "usage": "workspace", + "diagnostics": [] + } + ], + "failures": [ + { + "path": "refactor/.cache/vast04-editor-build.log", + "sha256": "a43425d2b5485847fe4776aaa01c89d84ad606c7a7a0f7e2230ff059e1d2e2b7", + "resolution": "Unsupported inline CommonJS factory; corrected generator" + }, + { + "path": "refactor/.cache/vast04-editor-build-final.log", + "sha256": "f27e2c18d45b8e3791deb87278b38bed94525d177dbd09e722f0f2559bdb1f73", + "resolution": "Preserved alias/order lint constraints; scoped historical formatting treatment" + }, + { + "path": "refactor/.cache/vast04-lint-first.log", + "sha256": "a075400061bb4b71f5f3dbcec61b85d2caf70af39673cdda75477d481198e595", + "resolution": "Frozen npm style plus three test quote issues; frozen body preserved and new code formatted" + }, + { + "path": "refactor/.cache/vast04-installed-first.log", + "sha256": "9d50560c6e239e75d9a58d2855171fcc9123bf5a468e846427a7ef7de075cac3", + "resolution": "Internal tsconfig leaked into package; .npmignore repaired" + }, + { + "path": "refactor/.cache/vast04-types-final.log", + "sha256": "0804817dce6113e343ab42f163718ceb420e1af8f6e5b7965ba78985e3dba4ad", + "resolution": "Historical reverse-assignment diagnostic was missing from expected list; seven concrete errors now asserted" + } + ], + "limitations": [ + "Root intentionally retains historical any and wrong synchronous declaration under user approval; runtime entry is accurate.", + "No Google IMA ad playback, vendor restoration or physical device acceptance.", + "Installed import/type coverage is task04 evidence; task06 retains complete deep-entry and browser distribution scope.", + "A PowerShell one-liner quoting error aborted before file mutation; integration was applied with apply_patch." + ] +} diff --git a/refactor/changes/2026-09-14-PKG-VAST-04-types.md b/refactor/changes/2026-09-14-PKG-VAST-04-types.md new file mode 100644 index 000000000..cfb303e6c --- /dev/null +++ b/refactor/changes/2026-09-14-PKG-VAST-04-types.md @@ -0,0 +1,66 @@ +# PKG-VAST-04:恢复发布类型并提供准确的双模式声明 + +基线c162d2b3b3f4fe64c3d178bdf0dc3b8eea32cac5。用户本次独立确认根入口保留 +npm类型、未发布工作区类型迁移到/runtime,见[vast-type-decision.md](../vast-type-decision.md)。 +这不是沿用Ads或其他四包的专属授权,也没有再次修改上一步初始化行为。 + +## 类型和模块 + +根/legacy恢复实际npm1.0.0声明原文:export=、必需callback、旧字段、SDK any与 +同步结果误声明。完整typeof、Parameters、ReturnType、普通函数双向赋值与两个 +编译器基线均保持;默认根类型没有新增必填default属性或不同重载。 + +/runtime复用已有三格式JS产物。runtime-api.d.ts统一描述ImaSdk/Player/Settings/ +Options、配置、Context和Promise;CJS的d.ts/d.cts与ESM的d.mts分别 +提供正确模块形状。实现types.ts引用同一份字段/配置/Result,避免手工维护重复声明。 +默认回调Player/id/容器非空且可写;workspace getter可空且只读;动态选项保留联合 +上下文,不能推断默认非空。init在终止后可返回null,destroy在await结果中必需。 +callback可省略,default自别名在准确入口声明,SDK字段不降级为any。 + +用户需将未发布工作区类型导入移到/runtime,并选择workspace-1.2;原根类型仍有 +已明确披露的同步误声明,实际注册仍须await。README和模块地图包含迁移说明。 +本步无新依赖,继续使用已固定的Glomex1.21.2和@alugha/ima2.1.0。新增两个Yarn +类型测试脚本,集成主typecheck和baseline发现;不改变Yarn版本、lockfile或包版本。 + +## 编辑器与打包修复 + +CommonJS编辑器生成器此前只允许Factory命名空间类型,不接受旧VAST的内联函数 +类型和模块私有别名,首轮构建/测试精确失败。现支持该声明形状;未知导入/导出 +仍拒绝。生成文件恢复npm旧global语义;原工作区SDK/Window/命名类型测试改用 +校验过的冻结源码,保留旧路径验证,新增候选声明正反例及实际Monaco检查。 + +根文件的五项样式/声明顺序规则仅对这一个冻结文件局部关闭,以保留npm字节; +新runtime、实现和测试继续正常lint。生成声明只保留必要的历史顺序/别名规则说明, +不以any或skipLibCheck掩盖准确入口。生成器与旧SDK依赖工具文档同步。 + +首次真实pack检测到内部tsconfig.json泄漏,补充该包.npmignore后通过。源文件、 +tsconfig与依赖不进入包。14组消费者从仓库外离线安装实际旧包/最终候选与核心, +再强制frozen重装并验证lock无变化、每个安装成员哈希、非workspace链接及所有 +类型解析路径。准确入口实际解析到安装的两层SDK声明依赖。 + +## 验证及边界 + +日志、最终文件、安装矩阵与浏览器输入见[验证记录](../baselines/vast-types-validation.json)。 + +- 旧根原文与候选一致;完整历史工作区消费者冲突可重跑,3项类型提取、1项反向 + 赋值、2项缺失字段、1项可空访问失败分别记录。首次正式断言漏计反向赋值诊断, + 补齐实际错误列表;没有删去消费者或改成宽泛失败断言。 +- 类型/编辑器/工程20项通过;准确runtime14条反例逐行失败,根3类非法调用保持 + 原错误。完整VAST受控SDK运行时82项通过。 +- 真正安装14组全部通过,包含TS5.9.3/4.3.5、Node10 CJS、NodeNext CJS/ESM、 + Bundler ESM、不启用interop的import=require。root/legacy/runtime CJS、root/runtime + 原生ESM身份和default别名验证通过;注册用已销毁宿主,不加载真实IMA。 +- 三桌面引擎的本地Monaco编译旧VAST回调/工厂、拒绝缺失callback与错误ID类型, + 并实际执行主播放器样例、获得非零解码尺寸。广告工厂只做类型验证。 +- 正常VAST构建三格式及docs副本与上一步运行时字节一致;生成编辑器资产通过 + 两编译器检查。源与测试lint、严格源TS通过;全项目typecheck通过,检查415个 + 生产TS文件,已有核心runtime兼容编译器5.1.6矩阵也通过。 +- 初始生成器失败、旧声明样式冲突、打包tsconfig泄漏、历史反例漏计与一次无文件 + 修改的PowerShell转义错误分别记录,不混作产品运行时回归。 + +## 交接和回退 + +本步只完成04类型/源码声明协调,不替代05真实IMA/设备验收或06完整历史深路径/ +浏览器分发。VAST-TYPE-01按用户批准限定接受,VAST-DIST/LIFE和SDK验收继续开放。 +本任务独立本地提交并执行提交审计,无push/publish。回退该提交恢复此前工作区根 +声明并移除/runtime类型导出及本步打包/生成器修复;上一步两种运行时模式不受影响。 diff --git a/refactor/fixtures/consumers/vast-published.ts b/refactor/fixtures/consumers/vast-published.ts new file mode 100644 index 000000000..c7979fb8a --- /dev/null +++ b/refactor/fixtures/consumers/vast-published.ts @@ -0,0 +1,32 @@ +import type Artplayer from 'artplayer' +import vast from 'artplayer-plugin-vast' + +type OriginalCallback = (params: { + art: Artplayer + id: string + ima: any + imaPlayer: any + $container: HTMLDivElement + playUrl: (url: string) => void + playRes: (response: string) => void +}) => void +type OriginalResult = { name: 'artplayerPluginVast' } +type OriginalFactory = (option: OriginalCallback) => (art: Artplayer) => OriginalResult +type Equal = (() => T extends A ? 1 : 2) extends (() => T extends B ? 1 : 2) ? true : false +type Assert = T +type FactoryCheck = Assert> +type ParameterCheck = Assert, [option: OriginalCallback]>> +type ResultCheck = Assert>, OriginalResult>> + +const replacement: typeof vast = (_option) => (_art) => ({ name: 'artplayerPluginVast' }) +const reverse: OriginalFactory = vast +vast(({ art, id, imaPlayer, $container, playUrl, playRes }) => { + const identifier: string = id + const element: HTMLDivElement = $container + imaPlayer.addEventListener('AdStarted', () => {}) + const url: void = playUrl('/ad.xml') + const response: void = playRes('') + void [art, identifier, element, url, response] +}) +export type { FactoryCheck, ParameterCheck, ResultCheck } +void [replacement, reverse] diff --git a/refactor/plan.md b/refactor/plan.md index 33a9a0d18..466562fa4 100644 --- a/refactor/plan.md +++ b/refactor/plan.md @@ -4,7 +4,7 @@ 基线:`40fcda6a37d0049d42e49c1e64e70d4fd9ba5f7f`。总任务 262 项,范围 22 个包及工作区/示例。 -状态:todo 48 / doing 20 / blocked 0 / done 194 / deferred 0。风险 L/M/H 表示兼容风险,不表示工期。 +状态:todo 47 / doing 20 / blocked 0 / done 195 / deferred 0。风险 L/M/H 表示兼容风险,不表示工期。 前置依赖是启动条件;验收是完成条件。任务可以继续拆分,但不能复用或悄悄删除旧 ID。 @@ -297,7 +297,7 @@ | PKG-VAST-01 | artplayer-plugin-vast
核对包契约与历史用法 | BASE-05 | 异步工厂、callback context、playUrl/playRes/init 与 SDK 版本;实际 npm 1.0.0 与未发布 1.2.0、SDK 1.21.0/1.21.2 的60成员归档和发布关联核心5.1.7 | 源码/声明/README/demo/发布包差异已登记;公开形状和版本范围冻结 | H | done | | PKG-VAST-02 | artplayer-plugin-vast
建立特有行为与错误测试 | PKG-VAST-01, ENG-03, ENG-05 | SDK 失败、重复初始化、广告事件、内容恢复和销毁竞态;发布 id/$container/eager 与工作区 lazy/config 覆盖、callback拒绝、加载中销毁、同毫秒多实例与晚到事件 | 旧版本行为可重跑,成功/失败/切源/销毁有必要断言 | H | done | | PKG-VAST-03 | artplayer-plugin-vast
整理内部职责与资源 | PKG-VAST-02, CORE-10, CORE-13 | SDK loader、IMA adapter、广告状态和 DOM 清理分离;保持发布 callback 别名,明确初始化冲突;核心终止与显式 destroy 后重建区分 | 结构变化和缺陷修复分开记录;原 API/事件/资源生命周期通过 | H | done | -| PKG-VAST-04 | artplayer-plugin-vast
迁移自有源码和公开类型 | PKG-VAST-03, ENG-04, ENG-06, CORE-07, PKG-VAST-07 | IMA/context/Promise 真实类型,外部 SDK 动态对象限定边界;修复 @alugha/ima 声明依赖链,保留 export= 和 require.default 消费;同步错误声明的兼容决策单列 | 严格类型检查、旧消费样例通过;声明路径/导出和同步异步兼容 | H | todo | +| PKG-VAST-04 | artplayer-plugin-vast
迁移自有源码和公开类型 | PKG-VAST-03, ENG-04, ENG-06, CORE-07, PKG-VAST-07 | IMA/context/Promise 真实类型,外部 SDK 动态对象限定边界;修复 @alugha/ima 声明依赖链,保留 export= 和 require.default 消费;同步错误声明的兼容决策单列 | 严格类型检查、旧消费样例通过;声明路径/导出和同步异步兼容 | H | done | | PKG-VAST-05 | artplayer-plugin-vast
验证新旧核心和组合 | PKG-VAST-04, CORE-22 | 官方测试广告或受控 SDK 环境,错误后主视频状态恢复;核验真实5.1.7/5.4.1/候选核心,VAST VPN外部脚本例外逐项记录,不将受控SDK当作实际IMA验收 | 最终核心与原支持范围核心分别通过;设备/SDK 缺证据不能标完成 | H | todo | | PKG-VAST-06 | artplayer-plugin-vast
验证分发并同步文档 | PKG-VAST-05, ENG-07 | vast.js、SDK 资源、声明消费和独立版本记录;核验实际发布 namespace default、历史深路径、ESM和准确声明,版本按政策2.0.0由REL-09统一处理 | tarball 入口/资源、类型、8082 demo 和 README 一致,有回退记录 | H | todo | | PKG-VAST-07 | artplayer-plugin-vast
恢复旧发布VAST工厂default调用入口 | PKG-VAST-01, PKG-VAST-02 | 保留当前直接工厂并增加default自身别名,验证四类分发调用及异步注册,初始化决策独立保留 | 旧产物default用例失败,新源码/实际main/legacy/ESM通过;真实核心三浏览器控制SDK注册验证、模块文档/构建/测试入口同步;不冒充namespace反射、声明和IMA验收 | M | done | @@ -601,6 +601,7 @@ - PKG-VAST-01: [记录](baselines/vast-contract.md) [记录](baselines/vast-release.json) [记录](changes/2026-09-12-PKG-VAST-01-contract.md) [记录](baselines/vast-contract-validation.json) - PKG-VAST-02: [记录](changes/2026-09-12-PKG-VAST-02-tests.md) [记录](baselines/vast-behavior-validation.json) [记录](baselines/vast-core.json) [记录](vast-validation.md) - PKG-VAST-03: [记录](changes/2026-09-12-PKG-VAST-03-lifecycle.md) [记录](baselines/vast-lifecycle-validation.json) [记录](vast-compatibility-decision.md) [记录](changes/2026-09-14-PKG-VAST-03-compatibility.md) [记录](baselines/vast-compatibility-validation.json) +- PKG-VAST-04: [记录](changes/2026-09-14-PKG-VAST-04-types.md) [记录](baselines/vast-types-validation.json) [记录](vast-type-decision.md) [记录](vast-validation.md) - PKG-CAST-01: [记录](baselines/chromecast-release.json) [记录](baselines/chromecast-contract.md) [记录](baselines/chromecast-contract-validation.json) [记录](changes/2026-09-13-PKG-CAST-01-contracts.md) - PKG-CAST-02: [记录](changes/2026-09-13-PKG-CAST-02-failures.md) [记录](baselines/chromecast-failures-validation.json) - PKG-CAST-03: [记录](changes/2026-09-13-PKG-CAST-03-runtime.md) [记录](baselines/chromecast-runtime-validation.json) diff --git a/refactor/progress.md b/refactor/progress.md index 4b3ae48df..456cde1e0 100644 --- a/refactor/progress.md +++ b/refactor/progress.md @@ -1,5 +1,25 @@ # 进度与证据 +## PKG-VAST-04 公开类型协调及安装消费者完成 + +用户单独确认保留npm1.0.0根类型、工作区TS用法迁移/runtime。根/legacy声明原文 +保留;准确入口覆盖Promise、SDK字段、两种模式的可空性/可写性、可选callback和 +default别名。内部Context/Result/配置引用同一准确定义。README/架构/迁移决策同步。 + +实际旧包与最终候选在仓库外离线安装并强制frozen重装,14组编译模式全部通过, +检查所有安装成员/解析路径;最终核心+VAST共79个成员与当前文件一致。发现并修复 +VAST打包带入内部tsconfig。编辑器生成器支持旧版内联工厂,保留冻结工作区SDK +生成测试;三浏览器Monaco正反例和主片解码均通过,未执行广告SDK。 + +20项类型/编辑器/工程、82项VAST运行回归通过,全项目typecheck通过415生产TS +文件;正常构建与上一步运行时产物一致。初始生成器/样式/打包错误、历史反例漏计 +均有失败记录。见[变更](changes/2026-09-14-PKG-VAST-04-types.md)、 +[证据](baselines/vast-types-validation.json)和[类型决定](vast-type-decision.md)。 + +04完成、类型风险按用户明确取舍限定接受;262项为195 done、20 doing、47 todo。 +VAST剩05真实IMA/组合与06完整分发,LIFE/DIST和SDK风险继续开放。独立本地提交并 +先核验提交审计,未push/publish;其他包、设备、远端CI及发布复盘不据此标完成。 + ## PKG-VAST-03 已确认初始化策略与运行时资源整理完成 用户于2026-09-14明确接受npm提前初始化默认、显式workspace-1.2惰性模式。 diff --git a/refactor/risk-table.md b/refactor/risk-table.md index 4b993bcd3..0752deb27 100644 --- a/refactor/risk-table.md +++ b/refactor/risk-table.md @@ -148,7 +148,7 @@ | ADS-MEDIA-01 | open / 已复现 | Ads metadata 与 play 拒绝、隐藏页媒体状态和内容恢复仍缺真实验证 | PKG-ADS-02, PKG-ADS-03, PKG-ADS-05 | | ADS-UI-01 | resolved / 已复现 | Ads 零等待跳过与初始状态不符,全屏图标/外部状态需核验 | PKG-ADS-02, PKG-ADS-03, PKG-ADS-05 | | VAST-CONTEXT-01 | accepted-with-scope / 已复现 | Published VAST callback aliases and eager Player differ from the unpublished lazy workspace | PKG-VAST-02, PKG-VAST-03, PKG-VAST-04 | -| VAST-TYPE-01 | open / 已复现 | VAST declares an async factory as synchronous and imports an unavailable SDK type dependency | PKG-VAST-04, PKG-VAST-06 | +| VAST-TYPE-01 | accepted-with-scope / 已复现 | VAST declares an async factory as synchronous and imports an unavailable SDK type dependency | PKG-VAST-04, PKG-VAST-06 | | VAST-LIFE-01 | open / 已复现 | VAST SDK and container lack core destruction ownership and pending work cancellation | PKG-VAST-02, PKG-VAST-03, PKG-VAST-05 | | VAST-DIST-01 | open / 已复现 | Published VAST CommonJS default namespace differs from the current callable distribution | PKG-VAST-04, PKG-VAST-06, PKG-VAST-07 | | AMBILIGHT-LIFE-01 | open / 已复现 | Ambilight sampling and RAF/DOM ownership lack terminal/error handling | PKG-AMBILIGHT-02, PKG-AMBILIGHT-03, PKG-AMBILIGHT-05 | diff --git a/refactor/risks.json b/refactor/risks.json index dce882cb3..11b2531e1 100644 --- a/refactor/risks.json +++ b/refactor/risks.json @@ -3283,7 +3283,7 @@ "id": "VAST-TYPE-01", "title": "VAST declares an async factory as synchronous and imports an unavailable SDK type dependency", "confirmation": "reproduced", - "status": "open", + "status": "accepted-with-scope", "owners": [ "PKG-VAST-04", "PKG-VAST-06" @@ -3294,11 +3294,20 @@ "refactor/changes/2026-09-12-PKG-VAST-01-contract.md", "refactor/baselines/vast-contract-validation.json", "refactor/baselines/vast-lifecycle-validation.json", - "refactor/changes/2026-09-12-PKG-VAST-03-lifecycle.md" + "refactor/changes/2026-09-12-PKG-VAST-03-lifecycle.md", + "refactor/changes/2026-09-14-PKG-VAST-04-types.md", + "refactor/baselines/vast-types-validation.json", + "refactor/vast-type-decision.md" ], "compatibleResolution": "Provide accurate Promise/context/IMA types and a self-contained installed declaration chain while checking legacy export= and consumers.", "closureCriteria": "Strict isolated package consumers pass without skipLibCheck; synchronous Result inference differences are reproduced and resolved or separately approved. Ads approval does not apply.", - "workspaceState": "Direct @alugha/ima2.1.0 removes the two TS2307 diagnostics in TS5.9.3 and4.3.5; public synchronous Result mismatch and isolated packaged declaration validation remain04/06." + "workspaceState": "Task04 complete: root npm bytes and exact factory relationships preserved; CJS/ESM runtime types, editor consumers, old/current compiler positives and per-line negatives pass. Runtime public types share Context/Result/config with implementation. Full media and distribution acceptance remain05/06.", + "resolutionEvidence": [ + "refactor/changes/2026-09-14-PKG-VAST-04-types.md", + "refactor/baselines/vast-types-validation.json", + "refactor/vast-type-decision.md" + ], + "resolutionRationale": "User separately accepted npm1.0.0 root compatibility types and /runtime accurate Promise/SDK/context types, with unpublished workspace migration. Fourteen actual isolated installation/compiler cases pass without skipLibCheck and enforce SDK dependency resolution; root historical inaccuracy is disclosed, not presented as runtime truth." }, { "id": "VAST-LIFE-01", @@ -3345,11 +3354,13 @@ "refactor/baselines/vast-contract-validation.json", "refactor/changes/2026-09-14-PKG-VAST-07-default-alias.md", "refactor/baselines/vast-alias-validation.json", - "test/vast-exports.test.js" + "test/vast-exports.test.js", + "refactor/changes/2026-09-14-PKG-VAST-04-types.md", + "refactor/baselines/vast-types-validation.json" ], "compatibleResolution": "Preserve require(pkg).default alongside callable factory, script global and current ESM/legacy paths.", "closureCriteria": "Real packed main/legacy/ESM, historical deep imports, export= consumers and local demo/editor all pass with immutable published comparisons.", - "workspaceState": "Task07 restores historical JavaScript .default calls using a callable self-alias. Final four-format tests fail on pre-change main/ESM and pass produced main+ESM and legacy+ESM.65 Node and117 controlled-SDK browser checks pass. Old namespace reflection shape, public declarations, deep paths and installed distribution remain04/06; this risk stays open." + "workspaceState": "Task07 preserves old JavaScript default calls. Task04 adds accurate typed default on /runtime, actual isolated root/legacy/runtime imports and native ESM identity checks; preserves npm root types. Historical deep paths, complete browser distribution and old namespace reflection distinction remain task06; risk stays open." }, { "id": "AMBILIGHT-LIFE-01", diff --git a/refactor/scripts/vast-consumer.mjs b/refactor/scripts/vast-consumer.mjs new file mode 100644 index 000000000..29b669de3 --- /dev/null +++ b/refactor/scripts/vast-consumer.mjs @@ -0,0 +1,26 @@ +import assert from 'node:assert/strict' +import fs from 'node:fs' + +export function vastConsumer(kind, { legacy = false, requireImport = false } = {}) { + let source = fs.readFileSync(kind === 'runtime' ? 'test/types/vast-runtime.ts' : 'refactor/fixtures/consumers/vast-published.ts', 'utf8') + const entry = kind === 'runtime' ? 'artplayer-plugin-vast/runtime' : legacy ? 'artplayer-plugin-vast/legacy' : 'artplayer-plugin-vast' + if (legacy) + source = source.replaceAll('\'artplayer-plugin-vast\'', `'${entry}'`) + if (requireImport) + source = source.replace(`import vast from '${entry}'`, `import vast = require('${entry}')`) + return source +} + +export function runtimeNegatives(source) { + const lines = source.split('\n') + const expected = [] + const invalid = lines.map((line, index) => { + if (!/^[ \t]*\/\/ @ts-expect-error/.test(line)) + return line + assert(lines[index + 1]?.trim() && !lines[index + 1].trim().startsWith('//')) + expected.push(index + 2) + return '' + }).join('\n') + assert.equal(expected.length, 14, 'Keep every runtime misuse independently observable') + return { invalid, expected } +} diff --git a/refactor/scripts/vast-package-types.mjs b/refactor/scripts/vast-package-types.mjs new file mode 100644 index 000000000..7ed961f4c --- /dev/null +++ b/refactor/scripts/vast-package-types.mjs @@ -0,0 +1,116 @@ +import assert from 'node:assert/strict' +import fs from 'node:fs' +import path from 'node:path' +import process from 'node:process' +import ts from 'typescript' +import compat from 'typescript-compat' +import { checkFiles, packedFiles } from '../../scripts/package-check.mjs' +import { consumerDirectory, removeConsumer, run, workspace, writeJson } from '../../scripts/package-consumer.mjs' +import { hash, readMember } from './releases.mjs' +import { runtimeNegatives, vastConsumer } from './vast-consumer.mjs' +import { verifyVastContract } from './vast-contract.mjs' + +let output +async function main() { + assert.equal(process.env.npm_config_user_agent?.split(' ')[0], 'yarn/1.22.22', 'Use yarn test:vast-types-package') + const yarn = process.env.npm_execpath + assert(yarn && fs.existsSync(yarn)) + output = fs.mkdtempSync(path.join(workspace, 'refactor/.cache/vast-package-types-')) + console.log(`VAST isolated package evidence: ${output}`) + const contract = await verifyVastContract() + const fixtures = Object.fromEntries(['runtime', 'published'].map(kind => [kind, hash(vastConsumer(kind))])) + const packages = [] + for (const name of ['artplayer', 'artplayer-plugin-vast']) { + const archive = path.join(output, `${name}.tgz`) + fs.writeFileSync(path.join(output, `${name}-pack.log`), run([yarn, 'pack', '--filename', archive], path.join(workspace, 'packages', name))) + const manifest = JSON.parse(readMember(archive, 'package/package.json')) + const files = packedFiles(archive) + checkFiles(manifest, files, name === 'artplayer-plugin-vast' ? Object.keys(contract.baseline.release.files) : []) + packages.push({ name, archive, sha256: hash(fs.readFileSync(archive)), files: Object.fromEntries(files.map(member => [member, hash(readMember(archive, member))])) }) + } + const matrix = [] + const core = packages[0] + const plugins = [{ ...contract.baseline.release, archive: contract.archives.get('artplayer-plugin-vast@1.0.0'), label: 'published' }, { ...packages[1], label: 'candidate' }] + for (const plugin of plugins) { + const consumer = consumerDirectory() + try { + writeJson(path.join(consumer, 'package.json'), { name: 'vast-isolated-consumer', private: true, dependencies: Object.fromEntries([core, plugin].map(pkg => [pkg.name, `file:${pkg.archive.replaceAll('\\', '/')}`])) }) + fs.copyFileSync(path.join(workspace, 'yarn.lock'), path.join(consumer, 'yarn.lock')) + fs.writeFileSync(path.join(output, `${plugin.label}-install.log`), run([yarn, 'install', '--offline', '--ignore-scripts', '--non-interactive'], consumer)) + const lock = fs.readFileSync(path.join(consumer, 'yarn.lock')) + fs.writeFileSync(path.join(output, `${plugin.label}-frozen-install.log`), run([yarn, 'install', '--offline', '--frozen-lockfile', '--ignore-scripts', '--non-interactive', '--force'], consumer)) + assert.deepEqual(fs.readFileSync(path.join(consumer, 'yarn.lock')), lock) + fs.writeFileSync(path.join(output, `${plugin.label}-yarn.lock`), lock) + for (const pkg of [core, plugin]) { + const root = path.join(consumer, 'node_modules', pkg.name) + assert.equal(fs.realpathSync(root), root, 'Installed package must not be a workspace link') + for (const [member, expected] of Object.entries(pkg.files)) + assert.equal(hash(fs.readFileSync(path.join(root, member.slice(8)))), expected, `Installed bytes differ: ${member}`) + } + const runtimeFile = path.join(consumer, 'exports.cjs') + fs.writeFileSync(runtimeFile, plugin.label === 'published' + ? `const assert = require('node:assert/strict'); const value = require('artplayer-plugin-vast'); assert.equal(typeof value.default, 'function'); assert.equal(typeof value.default(() => {}), 'function');` + : `const assert = require('node:assert/strict'); +(async () => { +for (const name of ['artplayer-plugin-vast','artplayer-plugin-vast/runtime','artplayer-plugin-vast/legacy']) {const factory = require(name); assert.equal(factory.default, factory); assert.equal((await factory()({isDestroy:true})).name,'artplayerPluginVast');} +assert.equal(require('artplayer-plugin-vast/runtime'),require('artplayer-plugin-vast')); +const [root,runtime] = await Promise.all(['artplayer-plugin-vast','artplayer-plugin-vast/runtime'].map(name=>import(name))); +assert.equal(root.default,runtime.default); assert.equal(runtime.default.default,runtime.default); assert.equal((await runtime.default()({isDestroy:true})).name,'artplayerPluginVast'); +})().catch(error=>{console.error(error);process.exitCode=1;});`) + fs.writeFileSync(path.join(output, `${plugin.label}-runtime.log`), run([runtimeFile], consumer)) + const modes = [[ts, 'node10-commonjs'], [ts, 'nodenext-cjs'], [ts, 'nodenext-esm'], [ts, 'bundler-esm'], [compat, 'node10-commonjs'], [ts, 'node10-commonjs-no-interop'], [compat, 'node10-commonjs-no-interop']] + for (const [compiler, mode] of modes) { + const next = mode.startsWith('nodenext') + const requireImport = mode.endsWith('-no-interop') + const filename = path.join(consumer, next ? `consumer.${mode.endsWith('-cjs') ? 'cts' : 'mts'}` : 'consumer.ts') + const options = { strict: true, noEmit: true, skipLibCheck: false, types: [], esModuleInterop: !requireImport, target: compiler.ScriptTarget.ES2020, lib: ['lib.es2020.d.ts', 'lib.dom.d.ts'], module: next ? compiler.ModuleKind.NodeNext : mode === 'bundler-esm' ? compiler.ModuleKind.ESNext : compiler.ModuleKind.CommonJS, moduleResolution: next ? compiler.ModuleResolutionKind.NodeNext : mode === 'bundler-esm' ? compiler.ModuleResolutionKind.Bundler : compiler.ModuleResolutionKind.NodeJs } + function compile(source) { + fs.writeFileSync(filename, source) + const program = compiler.createProgram([filename], options) + const declarations = [] + for (const file of program.getSourceFiles()) { + const actual = fs.realpathSync(file.fileName) + assert(actual.startsWith(fs.realpathSync(consumer) + path.sep) || (program.isSourceFileDefaultLibrary(file) && path.dirname(actual) === fs.realpathSync(path.dirname(compiler.sys.getExecutingFilePath()))), `Types escaped installed consumer: ${actual}`) + if (!program.isSourceFileDefaultLibrary(file)) + declarations.push({ file: path.relative(consumer, file.fileName).replaceAll('\\', '/'), sha256: hash(fs.readFileSync(file.fileName)) }) + } + const diagnostics = compiler.getPreEmitDiagnostics(program).map(item => ({ code: item.code, file: item.file && path.relative(consumer, item.file.fileName).replaceAll('\\', '/'), line: item.file && item.start !== undefined ? item.file.getLineAndCharacterOfPosition(item.start).line + 1 : null, message: compiler.flattenDiagnosticMessageText(item.messageText, '\n') })) + return { sourceSha256: hash(source), diagnostics, declarations } + } + const entry = { plugin: plugin.label, compiler: compiler.version, mode } + matrix.push(entry) + const source = vastConsumer('published', { requireImport }) + entry.root = compile(source) + writeJson(path.join(output, 'matrix-progress.json'), matrix) + assert.deepEqual(entry.root.diagnostics, [], `${plugin.label} ${compiler.version} ${mode}`) + entry.rootNegative = compile(`${source}\nvast();\nvast(undefined);\nvast.default(() => {});\n`) + assert.deepEqual(entry.rootNegative.diagnostics.map(item => item.code), [2554, 2345, 2339]) + if (plugin.label === 'candidate') { + entry.legacy = compile(vastConsumer('published', { requireImport, legacy: true })) + assert.deepEqual(entry.legacy.diagnostics, []) + const runtime = vastConsumer('runtime', { requireImport }) + entry.runtime = compile(runtime) + writeJson(path.join(output, 'matrix-progress.json'), matrix) + assert.deepEqual(entry.runtime.diagnostics, []) + assert(entry.runtime.declarations.some(item => item.file.includes('@alugha/ima/')), 'SDK types must resolve through actual installed dependencies') + assert(entry.runtime.declarations.some(item => item.file.includes('@glomex/vast-ima-player/'))) + const { invalid, expected } = runtimeNegatives(runtime) + entry.runtimeNegative = compile(invalid) + assert.deepEqual(entry.runtimeNegative.diagnostics.map(item => item.line), expected) + } + writeJson(path.join(output, 'matrix-progress.json'), matrix) + } + } + finally { removeConsumer(consumer) } + } + assert.deepEqual(Object.fromEntries(['runtime', 'published'].map(kind => [kind, hash(vastConsumer(kind))])), fixtures, 'Fixtures changed during installed validation') + writeJson(path.join(output, 'report.json'), { task: 'PKG-VAST-04', node: process.version, fixtures, packages, published: { archive: plugins[0].archive, sha256: hash(fs.readFileSync(plugins[0].archive)) }, matrix, scope: 'Actual published and Yarn-packed candidate installed outside workspace; offline forced frozen reinstall, member hashes and declaration path isolation. No real IMA, live ad SDK registration, device or complete task06 distribution claim.' }) + console.log(`VAST isolated installed consumers passed ${matrix.length} compiler modes: ${output}`) +} + +main().catch((error) => { + if (output) + writeJson(path.join(output, 'failure.json'), { message: error.message, stack: error.stack }) + console.error(error) + process.exitCode = 1 +}) diff --git a/refactor/scripts/vast-types.test.mjs b/refactor/scripts/vast-types.test.mjs new file mode 100644 index 000000000..96c1c9eda --- /dev/null +++ b/refactor/scripts/vast-types.test.mjs @@ -0,0 +1,87 @@ +import assert from 'node:assert/strict' +import fs from 'node:fs' +import path from 'node:path' +// eslint-disable-next-line test/no-import-node-test -- Repository baseline runner. +import test from 'node:test' +import { ESLint } from 'eslint' +import ts from 'typescript' +import compat from 'typescript-compat' +import { checkPluginEditorDeclaration, generatePluginEditorDeclaration } from '../../scripts/plugin-editor-types.mjs' +import { checkConsumer } from '../../scripts/typecheck.mjs' +import { readMember } from './releases.mjs' +import { runtimeNegatives } from './vast-consumer.mjs' +import { verifyVastContract } from './vast-contract.mjs' + +const modes = [[ts, 'node10-commonjs'], [ts, 'nodenext-cjs'], [ts, 'nodenext-esm'], [ts, 'bundler-esm'], [compat, 'node10-commonjs']] + +test('VAST frozen workspace declaration reproduces the approved npm consumer conflict', async () => { + const contract = await verifyVastContract() + const historical = contract.sources.get('packages/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts') + const source = fs.readFileSync('refactor/fixtures/consumers/vast-published.ts', 'utf8').replace('from \'artplayer-plugin-vast\'', 'from \'./vast-workspace-history\'') + for (const compiler of [ts, compat]) { + const filename = path.resolve('test/types/vast-history-consumer.ts') + const declaration = path.resolve('test/types/vast-workspace-history.d.ts') + const options = { strict: true, noEmit: true, skipLibCheck: false, types: [], esModuleInterop: true, target: compiler.ScriptTarget.ES2020, module: compiler.ModuleKind.CommonJS, moduleResolution: compiler.ModuleResolutionKind.NodeJs, lib: ['lib.es2020.d.ts', 'lib.dom.d.ts'] } + const host = compiler.createCompilerHost(options) + const original = host.getSourceFile.bind(host) + host.getSourceFile = (file, language, ...rest) => path.resolve(file) === filename + ? compiler.createSourceFile(file, source, language, true) + : path.resolve(file) === declaration ? compiler.createSourceFile(file, historical, language, true) : original(file, language, ...rest) + const exists = host.fileExists.bind(host) + host.fileExists = file => path.resolve(file) === declaration || exists(file) + const program = compiler.createProgram([filename, declaration], options, host) + const codes = compiler.getPreEmitDiagnostics(program).map(item => item.code) + assert.deepEqual(codes, [2344, 2344, 2344, 2322, 2339, 2339, compiler === ts ? 18047 : 2531]) + } +}) + +test('VAST root retains actual npm declaration bytes and complete factory extraction/replacement', async () => { + const contract = await verifyVastContract() + const published = readMember(contract.archives.get('artplayer-plugin-vast@1.0.0'), 'package/types/artplayer-plugin-vast.d.ts').toString().replaceAll('\r\n', '\n') + assert.equal(fs.readFileSync('packages/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts', 'utf8').replaceAll('\r\n', '\n'), published) + const source = fs.readFileSync('refactor/fixtures/consumers/vast-published.ts', 'utf8') + for (const [compiler, mode] of modes) { + assert.deepEqual(checkConsumer(compiler, mode, source), [], `${compiler.version} ${mode}`) + const invalid = `${source}\nvast();\nvast(undefined);\nvast.default(() => {});\n` + assert.deepEqual(checkConsumer(compiler, mode, invalid).map(item => item.code), [2554, 2345, 2339]) + assert.deepEqual(checkConsumer(compiler, mode, source.replaceAll('\'artplayer-plugin-vast\'', '\'artplayer-plugin-vast/legacy\'')), []) + } + assert.deepEqual(checkConsumer(ts, 'nodenext-cjs', `import vast = require('artplayer-plugin-vast'); vast(({id}) => id);`), []) +}) + +test('VAST runtime checks both initialization modes, SDK fields and async results in current and old compilers', () => { + assert.equal(fs.readFileSync('packages/artplayer-plugin-vast/types/runtime.d.ts', 'utf8'), fs.readFileSync('packages/artplayer-plugin-vast/types/runtime.d.cts', 'utf8')) + const source = fs.readFileSync('test/types/vast-runtime.ts', 'utf8') + for (const [compiler, mode] of modes) { + assert.deepEqual(checkConsumer(compiler, mode, source), [], `${compiler.version} ${mode}`) + const { invalid, expected } = runtimeNegatives(source) + const errors = checkConsumer(compiler, mode, invalid) + assert.deepEqual(errors.map(item => item.line), expected, `${compiler.version} ${mode}: every invalid statement must fail on its own line`) + } + assert.deepEqual(checkConsumer(ts, 'nodenext-cjs', `import vast = require('artplayer-plugin-vast/runtime'); +const mode: vast.CompatibilityOptions = {compatibility:'workspace-1.2'}; +vast(({imaPlayer}) => imaPlayer.addEventListener('AdStarted', () => {})); vast.default(undefined, mode);`), []) +}) + +test('VAST editor preserves the published global callback and pure synchronous historical factory', async () => { + const source = fs.readFileSync('packages/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts', 'utf8') + const generated = generatePluginEditorDeclaration(source, 'artplayerPluginVast') + const file = 'docs/assets/ts/artplayer-plugin-vast.d.ts' + const [formatted] = await new ESLint({ fix: true, fixTypes: ['layout'] }).lintText(generated, { filePath: file }) + assert.equal(formatted.errorCount, 0) + assert.equal(fs.readFileSync(file, 'utf8').replaceAll('\r\n', '\n'), formatted.output || generated) + const core = fs.readFileSync('docs/assets/ts/artplayer.d.ts', 'utf8') + const consumer = `declare const art: Artplayer; +const factory: typeof artplayerPluginVast = (_option) => (_art) => ({name: 'artplayerPluginVast'}); +const result: {name: 'artplayerPluginVast'} = artplayerPluginVast(({id, $container, imaPlayer}) => { +const idValue: string = id; const node: HTMLDivElement = $container; imaPlayer.addEventListener('AdStarted', () => {}); void [idValue, node]; })(art); +// @ts-expect-error Historical callback remains required. +artplayerPluginVast(); +// @ts-expect-error New options and accurate Promise belong to runtime entry. +artplayerPluginVast(() => {}, {compatibility:'workspace-1.2'}); +void [factory, result];` + for (const compiler of [ts, compat]) { + assert.deepEqual(checkPluginEditorDeclaration(generated, core, consumer, compiler), []) + assert.equal(checkPluginEditorDeclaration(generated, core, consumer.replaceAll(/\/\/ @ts-expect-error[^\n]*\n/g, ''), compiler).length, 2) + } +}) diff --git a/refactor/tasks.json b/refactor/tasks.json index f9ec66340..77b946b88 100644 --- a/refactor/tasks.json +++ b/refactor/tasks.json @@ -3112,11 +3112,16 @@ "CORE-07", "PKG-VAST-07" ], - "status": "todo", + "status": "done", "risk": "H", "deliverable": "IMA/context/Promise 真实类型,外部 SDK 动态对象限定边界;修复 @alugha/ima 声明依赖链,保留 export= 和 require.default 消费;同步错误声明的兼容决策单列", "acceptance": "严格类型检查、旧消费样例通过;声明路径/导出和同步异步兼容", - "evidence": [] + "evidence": [ + "changes/2026-09-14-PKG-VAST-04-types.md", + "baselines/vast-types-validation.json", + "vast-type-decision.md", + "vast-validation.md" + ] }, { "id": "PKG-VAST-05", diff --git a/refactor/type-compatibility-policy.md b/refactor/type-compatibility-policy.md index 8011c1976..3ee7a2874 100644 --- a/refactor/type-compatibility-policy.md +++ b/refactor/type-compatibility-policy.md @@ -40,3 +40,9 @@ JASSUB 的 PKG-JASSUB-04 保留实际 npm 1.0.0/1.1.0 相同的根声明(忽 不改变必填资源 URL、旧 resize 参数顺序、Promise 返回声明和扩展索引。新增 /runtime 描述真实可选参数、同步方法及 Worker 数据,并复用同一运行产物。 这项实施没有新增旧类型破坏,不声称用户另行批准过 JASSUB 专属类型冲突。 + +VAST的PKG-VAST-04在2026-09-14取得独立确认:用户接受“保留 npm 根类型,工作区 +类型迁移到 /runtime”。根/legacy保留实际npm1.0.0的export=、必需callback、any +SDK字段及同步历史结果;/runtime提供准确Promise、两种初始化模式及SDK类型。 +未发布工作区的回调类型、命名类型和根导入形状按[vast-type-decision.md](vast-type-decision.md) +迁移。本次批准独立于VAST初始化时机批准,不是将此前四包授权自动扩大。 diff --git a/refactor/vast-compatibility-decision.md b/refactor/vast-compatibility-decision.md index ca30a88e7..3681dc940 100644 --- a/refactor/vast-compatibility-decision.md +++ b/refactor/vast-compatibility-decision.md @@ -60,6 +60,6 @@ art-vast-;两者增加单模块递增后缀修复同毫秒ID碰撞,不恢复 PKG-VAST-03已落实默认模式、显式工作区模式与发布字段,82项Node、162项三浏览器 受控SDK检查通过;初始化风险按本次用户决定限定接受。详见 -[完成记录](changes/2026-09-14-PKG-VAST-03-compatibility.md)。实际IMA播放和公开声明 -尚未完成。此前Ads的类型推导批准与本次VAST运行时决定分别记录;未来类型协调 -继续以实际发布声明为基线。 +[完成记录](changes/2026-09-14-PKG-VAST-03-compatibility.md)。公开声明随后按 +[独立类型确认](vast-type-decision.md)恢复npm根类型并提供准确/runtime入口;实际IMA +播放仍未验收。此前Ads的类型批准、本次运行时决定和随后VAST类型决定分别记录。 diff --git a/refactor/vast-type-decision.md b/refactor/vast-type-decision.md new file mode 100644 index 000000000..d04ad87a2 --- /dev/null +++ b/refactor/vast-type-decision.md @@ -0,0 +1,52 @@ +# VAST 公开声明协调:已确认并实施 + +2026-09-14用户明确接受:“保留 npm 根类型,工作区类型迁移到 /runtime”。 +本决定独立于初始化运行时批准;后续不再等待这项类型取舍授权。 + +PKG-VAST-04。运行时初始化策略已由用户单独确认,见 +[运行时决策](vast-compatibility-decision.md);这里不重新询问该决定。 + +## 已复现的声明冲突 + +实际npm1.0.0根声明采用export=,回调有id/$container/imaPlayer:any,工厂参数必需, +第二层错误地声明同步{name}。未发布工作区1.2.0改成default export,回调增加 +init/选项/getter但丢失id/$container,imaPlayer可空,并导出Option/Instance类型。 + +使用实际npm归档声明和当前工作区声明,在TS5.9.3及4.3.5、strict、无skipLibCheck +下交叉编译:各自消费者在原声明通过;npm消费者在工作区声明出现4项错误,包括 +完整工厂类型不等、两个字段缺失、imaPlayer可空。工作区消费者在原npm声明缺少 +命名类型。临时证据为refactor/.cache/vast04-type-conflict.json;正式测试继续纳入04。 +补充命名类型可以解决部分导入问题,但无法同时保持两套不同回调Parameters、完整 +工厂赋值关系、同步Result和准确Promise。增加交叉类型/重载也会改变类型提取结果。 + +## 已接受的方案 + +1. 根入口/legacy保留实际npm1.0.0的完整工厂类型、必需参数、export=及同步历史声明。 + 旧类型的any和同步误声明只作为历史兼容面保留,不声称它们准确描述运行时。 +2. 新增/runtime,复用相同JS产物,提供准确Promise、必需destroy、可省略callback、 + 两种初始化模式、SDK类型、配置字段及.default自身别名。 +3. 依赖未发布工作区回调/命名类型的TS代码转到/runtime,并显式选择workspace-1.2。 + 准确init返回Player|null;核心销毁后可能无法初始化,调用方需要判空。 +4. 所有已验证的旧JavaScript调用保持上一任务已实现的行为。旧类型与真实行为的 + 差异、TS迁移示例、CJS/ESM导入方式写入包文档,并以隔离安装消费者验收。 + +```ts +import vast from 'artplayer-plugin-vast/runtime' + +vast((context) => { + context.playerOptions.autoResize = false + context.init()?.addEventListener('AdStarted', onAdStarted) +}, { compatibility: 'workspace-1.2' }) +``` + +这会改变未发布工作区的根类型用法,已由本次用户明确确认。之前Canvas等包的类型 +授权及VAST初始化授权均不作为此决定的替代依据;仍须实际消费验证才完成04。 +没有推送或发布授权。 + +## 实施结果 + +根声明恢复实际npm原文(仅忽略换行格式比较);新增/runtime的CJS/ESM类型门面和 +共用runtime-api.d.ts,内部Context/Result/配置也引用这份准确定义。两套模式的资源 +字段可空性/可写性、必需destroy和Promise已建立正反例。实际安装14组编译检查通过, +包括不启用interop的require导入;完整结果见 +[04记录](changes/2026-09-14-PKG-VAST-04-types.md)。真实Google IMA验收仍由05负责。 diff --git a/refactor/vast-validation.md b/refactor/vast-validation.md index ec8318329..ef6fff5d3 100644 --- a/refactor/vast-validation.md +++ b/refactor/vast-validation.md @@ -1,6 +1,7 @@ # VAST 测试维护 -PKG-VAST-03现已落实用户确认的两种初始化模式;公开声明继续由04协调。来源见 +PKG-VAST-03已落实用户确认的两种初始化模式;04按独立类型确认提供准确/runtime。 +来源见 [实际契约](baselines/vast-contract.md)、[VAST/SDK归档](baselines/vast-release.json) 和 [核心5.1.7归档](baselines/vast-core.json)。工作区1.2.0不是npm发布版本。 @@ -14,6 +15,17 @@ PKG-VAST-03现已落实用户确认的两种初始化模式;公开声明继续 ## 文件与执行 +PKG-VAST-04新增`yarn test:vast-types`和`yarn test:vast-types-package`。根声明与 +实际npm1.0.0原文一致,/runtime与同一JS产物绑定;TS5.9.3/4.3.5、CommonJS、 +NodeNext、Bundler、关闭interop共14组实际安装消费通过。安装后强制frozen重装、 +成员哈希与解析路径隔离均检查;14条runtime反例逐行断言错误,不能只统计数量。 +主项目`yarn typecheck`也接入根/准确消费样例,baseline测试自动发现vast-types。 + +编辑器CommonJS生成器补齐旧VAST的内联工厂与局部type;当前global回归npm旧类型, +冻结工作区的SDK生成路径仍独立测试。三真实浏览器的Monaco消费生成声明、拒绝 +错误输入,并运行主片解码样例均通过;不执行广告SDK。正式VAST运行回归82通过, +类型/编辑器/工程20通过。见[04记录](changes/2026-09-14-PKG-VAST-04-types.md)。 + PKG-VAST-07补回工厂`.default`自身别名,不改变初始化决策。当时`yarn test:vast` 65项通过;实际main/legacy加ESM各4项导出通过。117项三浏览器检查通过,其中候选 异步注册场景使用`.default`,其他场景保留直接调用。浏览器仍替换SDK边界,实际 @@ -81,4 +93,4 @@ VAST-LIFE-01由源码观察提升为受控运行复现,问题如下: 使用精确注入;Node固定Date.now用于同毫秒ID复现,未改变生产时钟。 只有实际VAST外部脚本持续因VPN无法加载时,可按用户授权记录并跳过该网络验证; -它不豁免类型、生命周期或其他包。本次未用该例外。04~06和SDK-07继续开放。 +它不豁免类型、生命周期或其他包。本次未用该例外。05/06和SDK-07继续开放。 diff --git a/scripts/editor-declarations/README.md b/scripts/editor-declarations/README.md index 55e42d2ce..3af6eadab 100644 --- a/scripts/editor-declarations/README.md +++ b/scripts/editor-declarations/README.md @@ -44,13 +44,18 @@ package consumer tests still use them. Core retains its existing bundler and private definitions namespace. Plugins preserve callable/default aliases and exported type namespaces. Unsupported imports/re-exports and invalid syntax fail. -VAST's `Player` and `PlayerOptions` come from the installed, lockfile-pinned +Historical workspace VAST's `Player` and `PlayerOptions` come from the installed, lockfile-pinned `@glomex/vast-ima-player` 1.21.2 and `@alugha/ima` 2.1.0 declarations. A dedicated type-only SDK entry avoids bundling a second copy of the linked workspace core. SDK types stay in the plugin's module-private definitions namespace, not global runtime values. The optional Window hook and required callback remain unchanged. Adjacent generated `artplayer-plugin-vast.LICENSE.txt` preserves upstream notices. -This does not settle VAST's runtime default-behavior compatibility decision. +PKG-VAST-04 restores the published npm1.0.0 root declaration and editor global under +the user's explicit type decision. The CommonJS generator supports its inline factory +and module-private aliases, preserving the old required callback and field types. +Current root generation does not expose the workspace SDK types or Window augmentation; +the historical fixture still verifies that generator path. Accurate module consumers use +VAST's `/runtime` declarations. Real IMA verification remains separate. The editor loads 22 declarations: core, 20 ecosystem libraries and i18n. The unreferenced legacy `artplayer-plugin-websr.d.ts` asset is not in the canonical diff --git a/scripts/editor-declarations/plugin.ts b/scripts/editor-declarations/plugin.ts index e9fab0dbd..4e9e06d26 100644 --- a/scripts/editor-declarations/plugin.ts +++ b/scripts/editor-declarations/plugin.ts @@ -121,6 +121,7 @@ function generateCommonJSPluginEditor(source: ts.SourceFile, name: string) { let exported = false let global = false let classExport = false + let inlineFactory = false for (const node of source.statements) { if (ts.isImportDeclaration(node)) { assert(ts.isStringLiteral(node.moduleSpecifier) && node.importClause?.isTypeOnly && !node.importClause.namedBindings && node.importClause.name?.text === 'Artplayer' && node.moduleSpecifier.text === 'artplayer', 'Unsupported CommonJS plugin editor import') @@ -142,10 +143,14 @@ function generateCommonJSPluginEditor(source: ts.SourceFile, name: string) { const definition = definitions[0] assert(definition && ts.isIdentifier(definition.name) && definition.type) assert.equal(definition.name.text, name) - assert(ts.isTypeReferenceNode(definition.type) && ts.isQualifiedName(definition.type.typeName) - && ts.isIdentifier(definition.type.typeName.left) && definition.type.typeName.left.text === name && definition.type.typeName.right.text === 'Factory', 'Editor export must use its public Factory interface') + inlineFactory = ts.isFunctionTypeNode(definition.type) + assert(inlineFactory || (ts.isTypeReferenceNode(definition.type) && ts.isQualifiedName(definition.type.typeName) + && ts.isIdentifier(definition.type.typeName.left) && definition.type.typeName.left.text === name && definition.type.typeName.right.text === 'Factory'), 'Editor export must use its public Factory interface or an inline function type') callable = true } + else if (ts.isTypeAliasDeclaration(node) || ts.isInterfaceDeclaration(node)) { + assert(!node.modifiers?.some(modifier => modifier.kind === ts.SyntaxKind.ExportKeyword), 'CommonJS local types must remain private') + } else if (ts.isExportAssignment(node)) { assert(node.isExportEquals && ts.isIdentifier(node.expression) && node.expression.text === name, 'Unexpected CommonJS plugin export') exported = true @@ -159,10 +164,11 @@ function generateCommonJSPluginEditor(source: ts.SourceFile, name: string) { } statements.push(node) } - assert(namespace && callable && exported && global, 'Incomplete CommonJS plugin editor declaration') + assert((namespace || inlineFactory) && callable && exported && global, 'Incomplete CommonJS plugin editor declaration') const printer = ts.createPrinter({ newLine: ts.NewLineKind.LineFeed }) - const bridge = classExport ? '' : '/* eslint-disable ts/no-redeclare -- Callable and public type namespace intentionally merge. */\n' - return `// Generated from the package public declaration by yarn build:ts. Do not edit.\n${bridge}${statements.map(node => printer.printNode(ts.EmitHint.Unspecified, node, source)).join('\n')}\n` + const bridge = classExport || !namespace ? '' : '/* eslint-disable ts/no-redeclare -- Callable and public type namespace intentionally merge. */\n' + const historical = inlineFactory ? '/* eslint-disable ts/no-use-before-define, ts/consistent-type-definitions -- Preserve historical export ordering and private aliases. */\n' : '' + return `// Generated from the package public declaration by yarn build:ts. Do not edit.\n${bridge}${historical}${statements.map(node => printer.printNode(ts.EmitHint.Unspecified, node, source)).join('\n')}\n` } export function checkPluginEditorDeclaration(code: string, core: string, consumer = '', compiler: typeof ts = ts) { diff --git a/scripts/typecheck.mjs b/scripts/typecheck.mjs index 7f1e5d537..fec4af564 100644 --- a/scripts/typecheck.mjs +++ b/scripts/typecheck.mjs @@ -74,6 +74,8 @@ export function runTypechecks() { console.log(`Strict project passed: ${relative(config)} (${result.files.length} root files)`) } for (const [compiler, mode] of [[ts, 'node10-commonjs'], [ts, 'nodenext-cjs'], [ts, 'bundler-esm'], [ts, 'nodenext-esm'], [compat, 'node10-commonjs']]) { + for (const fixture of ['test/types/vast-runtime.ts', 'refactor/fixtures/consumers/vast-published.ts']) + assert.deepEqual(checkConsumer(compiler, mode, fs.readFileSync(path.join(root, fixture), 'utf8')), [], `VAST consumer failed: TS ${compiler.version} ${mode}`) for (const source of [autoThumbnailPublic(mode), autoThumbnailRuntime(mode)]) assert.deepEqual(checkConsumer(compiler, mode, source), [], `Auto Thumbnail consumer failed: TS ${compiler.version} ${mode}`) for (const fixture of ['test/types/asr-public.ts', mode === 'nodenext-esm' ? 'refactor/fixtures/consumers/asr-esm-namespace.ts' : 'refactor/fixtures/consumers/asr-published.ts']) { diff --git a/test/browser/editor-types.spec.js b/test/browser/editor-types.spec.js index 7530f3557..40ebfb6cf 100644 --- a/test/browser/editor-types.spec.js +++ b/test/browser/editor-types.spec.js @@ -1,6 +1,6 @@ import { expect, test } from './fixtures.js' -test('docs Monaco worker consumes generated core types and runs a typed player example', async ({ page }) => { +test('docs Monaco worker consumes generated core and published VAST types and runs a typed player example', async ({ page }, testInfo) => { await page.goto('/test/player.html?core=candidate&chapter=published') await page.addScriptTag({ url: '/assets/js/vs/loader.js' }) const result = await page.evaluate(async () => { @@ -12,23 +12,36 @@ test('docs Monaco worker consumes generated core types and runs a typed player e const source = await (await fetch('/assets/ts/artplayer.d.ts')).text() const libraryUri = 'file:///artplayer.d.ts' const library = types.typescriptDefaults.addExtraLib(source, libraryUri) + const vastSource = await (await fetch('/assets/ts/artplayer-plugin-vast.d.ts')).text() + const vastLibraryUri = 'file:///artplayer-plugin-vast.d.ts' + const vastLibrary = types.typescriptDefaults.addExtraLib(vastSource, vastLibraryUri) const model = api.editor.createModel(` const editorOption: Artplayer.OptionInput = { container: '.player', url: '/test/pattern.mp4', muted: true } const editorArt: Artplayer = new Artplayer(editorOption) const editorEvents: Artplayer.Emitter<{ value: [number] }> = new Artplayer.Emitter() editorEvents.emit('value', 1) +const editorVastCallback: Parameters[0] = ({id, $container, imaPlayer}) => { + const identifier: string = id + const container: HTMLDivElement = $container + imaPlayer.addEventListener('AdStarted', () => {}) + void [identifier, container] +} +const editorVastFactory: typeof artplayerPluginVast = (_callback) => (_art) => ({name: 'artplayerPluginVast'}) `, 'typescript', api.Uri.parse('file:///consumer.ts')) const invalid = api.editor.createModel('new Artplayer({ container: 123, url: "" })', 'typescript', api.Uri.parse('file:///invalid.ts')) + const vastInvalid = api.editor.createModel('artplayerPluginVast();\nartplayerPluginVast(({id}) => { const wrong: number = id })', 'typescript', api.Uri.parse('file:///vast-invalid.ts')) try { const getWorker = await types.getTypeScriptWorker() - const worker = await getWorker(model.uri, invalid.uri) + const worker = await getWorker(model.uri, invalid.uri, vastInvalid.uri) const syntax = await worker.getSyntacticDiagnostics(model.uri.toString()) const semantic = await worker.getSemanticDiagnostics(model.uri.toString()) const declaration = await worker.getSemanticDiagnostics(libraryUri) + const vastDeclaration = await worker.getSemanticDiagnostics(vastLibraryUri) + const vastBad = (await worker.getSemanticDiagnostics(vastInvalid.uri.toString())).map(item => item.code) const bad = await worker.getSemanticDiagnostics(invalid.uri.toString()) const output = await worker.getEmitOutput(model.uri.toString()) if (syntax.length || semantic.length || declaration.length) - return { syntax, semantic, declaration, invalid: bad.map(item => item.code), ready: false } + return { syntax, semantic, declaration, vastDeclaration, vastBad, vastSource, invalid: bad.map(item => item.code), ready: false } const script = output.outputFiles.find(file => file.name.endsWith('.js')) if (!script) throw new Error('Monaco did not emit the typed example') @@ -37,7 +50,7 @@ editorEvents.emit('value', 1) try { if (!art.isReady) await new Promise(resolve => art.on('ready', resolve)) - return { syntax, semantic, declaration, invalid: bad.map(item => item.code), ready: art.isReady && art.video.videoWidth > 0 } + return { syntax, semantic, declaration, vastDeclaration, vastBad, vastSource, invalid: bad.map(item => item.code), ready: art.isReady && art.video.videoWidth > 0 } } finally { art.destroy() @@ -46,12 +59,17 @@ editorEvents.emit('value', 1) finally { model.dispose() invalid.dispose() + vastInvalid.dispose() library.dispose() + vastLibrary.dispose() } }) expect(result.syntax).toEqual([]) expect(result.semantic).toEqual([]) expect(result.declaration).toEqual([]) + expect(result.vastDeclaration).toEqual([]) + expect(result.vastBad).toEqual([2554, 2322]) + await testInfo.attach('vast-editor-declaration', { contentType: 'text/plain', body: result.vastSource }) expect(result.invalid.length).toBeGreaterThan(0) expect(result.ready).toBe(true) }) diff --git a/test/editor-types.test.js b/test/editor-types.test.js index 3ff607b79..b275d2c54 100644 --- a/test/editor-types.test.js +++ b/test/editor-types.test.js @@ -4,6 +4,7 @@ import fs from 'node:fs' import { test } from 'node:test' import { ESLint } from 'eslint' import compat from 'typescript-compat' +import { verifyVastContract } from '../refactor/scripts/vast-contract.mjs' import { vastSdkDeclarations } from '../scripts/editor-declarations/dependencies.ts' import { editorLibUris, generateEditorDeclarations } from '../scripts/editor-declarations/generate.ts' import { checkStandaloneDeclarations } from '../scripts/editor-declarations/validation.ts' @@ -24,11 +25,14 @@ test('editor declarations are reproducible, standalone and preserve constructor/ assert.throws(() => asGlobalDeclaration('export { default } from "./missing"', 'Artplayer'), /unresolved exports/) }) -test('Chapter and VAST editor consumers preserve SDK types, optional Window hook and named results', () => { +test('Chapter and historical workspace VAST editor consumers preserve SDK types, optional Window hook and named results', async () => { + const contract = await verifyVastContract() const core = fs.readFileSync('docs/assets/ts/artplayer.d.ts', 'utf8') const generated = new Map([['artplayer.d.ts', core]]) for (const [suffix, global] of [['chapter', 'artplayerPluginChapter'], ['vast', 'artplayerPluginVast']]) { - const source = fs.readFileSync(`packages/artplayer-plugin-${suffix}/types/artplayer-plugin-${suffix}.d.ts`, 'utf8') + const source = suffix === 'vast' + ? contract.sources.get('packages/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts') + : fs.readFileSync(`packages/artplayer-plugin-${suffix}/types/artplayer-plugin-${suffix}.d.ts`, 'utf8') const old = `${source.replace(/^import.*$/gim, '')}\nexport = ${global};\nexport as namespace ${global};\n` const diagnostics = checkPluginEditorDeclaration(old, core) assert(diagnostics.some(item => item.code === 2309)) diff --git a/test/types/vast-runtime.ts b/test/types/vast-runtime.ts new file mode 100644 index 000000000..c30238779 --- /dev/null +++ b/test/types/vast-runtime.ts @@ -0,0 +1,83 @@ +import type { google, ImaSdk } from '@alugha/ima' +import type { Player, PlayerOptions } from '@glomex/vast-ima-player' +import type Artplayer from 'artplayer' +import type { ArtplayerPluginVastInstance, ArtplayerPluginVastOption, CompatibilityOptions, PublishedContext, RuntimeFactory, RuntimeResult, WorkspaceContext } from 'artplayer-plugin-vast/runtime' +import vast from 'artplayer-plugin-vast/runtime' + +declare const art: Artplayer +declare const options: CompatibilityOptions + +const registration = vast((context) => { + const player: Player = context.imaPlayer + const container: HTMLDivElement = context.$container + const id: string = context.id + const sdk: ImaSdk = context.ima + const settings: google.ima.AdsRenderingSettings = context.adsRenderingSettings + const playerOptions: PlayerOptions = context.playerOptions + const self: PublishedContext = context + context.id = id + context.$container = container + context.imaPlayer = player + context.init()?.addEventListener('AdStarted', () => {}) + const urlResult: void = context.playUrl('/ad.xml', { adTagUrl: '/override.xml', custom: true }) + const responseResult: void = context.playRes('') + // @ts-expect-error SDK methods retain actual vendor signatures. + context.imaPlayer.playAds(42) + // @ts-expect-error SDK settings are typed. + context.adsRenderingSettings.enablePreloading = 'yes' + // @ts-expect-error The original media element must remain an element. + context.$container = 'container' + // @ts-expect-error Live container is read-only in both modes. + context.container = container + // @ts-expect-error Terminal core destruction makes init return null. + const initialized: Player = context.init() + void [player, container, id, sdk, settings, playerOptions, self, urlResult, responseResult, initialized] +}) + +const pending: Promise = registration(art) +// @ts-expect-error Registration is asynchronous. +const synchronous: RuntimeResult = registration(art) +pending.then((result) => { + const name: 'artplayerPluginVast' = result.name + const disposed: void = result.destroy() + const migrated: ArtplayerPluginVastInstance = result + void [name, disposed, migrated] +}) +vast() +vast.default() +vast(undefined, { compatibility: 'workspace-1.2' }) + +vast(async (context) => { + const self: WorkspaceContext = context + const player: Player | null = context.imaPlayer + const container: HTMLDivElement | null = context.$container + const id: string | null = context.id + context.playerOptions.autoResize = false + context.init()?.addEventListener('AdStarted', () => {}) + // @ts-expect-error Workspace resource getters may be null. + const nonNull: Player = context.imaPlayer + // @ts-expect-error Workspace fields are getters without setters. + context.imaPlayer = player + // @ts-expect-error Workspace identifiers are getters without setters. + context.id = 'new-id' + // @ts-expect-error Request input remains a string. + context.playUrl(123) + void [self, player, container, id, nonNull] +}, { compatibility: 'workspace-1.2' }) + +vast((context) => { + const player: Player | null = context.imaPlayer + // @ts-expect-error Dynamic mode cannot promise eager allocation. + const eager: Player = context.imaPlayer + void [player, eager] +}, options) +const callback: ArtplayerPluginVastOption = context => context.init() +vast(callback, { compatibility: 'workspace-1.2' }) +const factory: RuntimeFactory = vast.default +// @ts-expect-error Unknown compatibility mode is rejected at runtime. +vast(undefined, { compatibility: 'wrong' }) +// @ts-expect-error Callback must be callable when supplied. +vast(1) +// @ts-expect-error A known workspace option cannot provide eager-only context. +vast((context: PublishedContext) => context.id, { compatibility: 'workspace-1.2' }) +void [factory, synchronous]