youtubei-dts
Version:
TypeScript type definitions for InnerTube (YouTube Internal API)
1,254 lines (1,121 loc) • 13.2 MB
TypeScript
/**
* YouTube Internal API (InnerTube)
*/
declare namespace youtubei {
type IAbuseHadesTransparencyProtoFileGroupInclusionProof = {
inclusionProof?: IAbuseHadesTransparencyProtoInclusionProof;
logCheckpoint?: IAbuseHadesTransparencyProtoLogCheckpoint;
logEntryId?: IAbuseHadesTransparencyProtoLogEntryId;
};
type IAbuseHadesTransparencyProtoInclusionProof = { hashes?: Array<string> };
type IAbuseHadesTransparencyProtoLogCheckpoint = {
checkpoint?: string;
signature?: string;
};
type IAbuseHadesTransparencyProtoLogEntryId = {
leafIndex?: string;
treeId?: string;
};
type IBotguardClientSideBgChallenge = {
clientExperimentsStateBlob?: string;
globalName?: string;
interpreterHash?: string;
interpreterJavascript?: IWebutilHtmlTypesSafeScriptProto;
interpreterUrl?: IWebutilHtmlTypesTrustedResourceUrlProto;
program?: string;
};
type ICreateProjectKeyRequest = { projectNumber?: string };
/**
* The device resource. These numbers must match the the definition in: google3/googledata/apiserving/config/youtube/deviceregistration/proto/deviceregistration_api.proto
*/
type IDevice = { id?: string; key?: string };
type IExperimentsHeterodyneExperimentIds = {
clearBlob?: string;
clearBlobJs?: string;
encryptedBlob?: Array<string>;
usersMatch?: boolean;
};
type IFootprintsTransparencyandcontrolProtoOpaqueVerificationToken = {
token?: string;
};
type IGdataErrorProto = {
argument?: Array<string>;
code?: string;
debugInfo?: string;
domain?: string;
externalErrorMessage?: string;
location?: string;
locationType?: 'PATH' | 'OTHER' | 'PARAMETER';
};
type IGdataErrors = {
code?:
| 'BAD_REQUEST'
| 'FORBIDDEN'
| 'NOT_FOUND'
| 'CONFLICT'
| 'GONE'
| 'PRECONDITION_FAILED'
| 'INTERNAL_ERROR'
| 'SERVICE_UNAVAILABLE';
error?: Array<IGdataErrorProto>;
requestId?: string;
};
type IGoogleInternalIdentitySignedoutstateV1SerializedSignedOutState = {
data?: string;
};
type IGoogleInternalIdentitySignedoutstateV1SignedOutStateResponse = {
serializedSignedOutState?: IGoogleInternalIdentitySignedoutstateV1SerializedSignedOutState;
signedOutWebview?: IGoogleInternalIdentitySignedoutstateV1SignedOutWebView;
stateChanged?: boolean;
stateChanges?: Array<
'STATE_CHANGE_UNSPECIFIED' | 'ZWIEBACK_UID' | 'EOM_TREATMENT'
>;
};
type IGoogleInternalIdentitySignedoutstateV1SignedOutWebView = {
cookies?: Array<IGoogleInternalIdentitySignedoutstateV1WebViewCookie>;
};
type IGoogleInternalIdentitySignedoutstateV1WebViewCookie = {
domain?: string;
value?: string;
};
type IGoogleProtobufAny = { typeUrl?: string; value?: string };
type IGoogleProtobufBoolValue = { value?: boolean };
type IGoogleProtobufDuration = { nanos?: number; seconds?: string };
type IGoogleProtobufEmpty = {};
type IGoogleProtobufFieldMask = { paths?: Array<string> };
type IGoogleProtobufFloatValue = { value?: number };
type IGoogleProtobufInt32Value = { value?: number };
type IGoogleProtobufStringValue = { value?: string };
type IGoogleProtobufTimestamp = { nanos?: number; seconds?: string };
type IGoogleTypeColor = {
alpha?: IGoogleProtobufFloatValue;
blue?: number;
green?: number;
red?: number;
};
type IGtasksUtilsXFieldMaskProto = {
field?: Array<number>;
fieldMask?: Array<IGtasksUtilsXFieldMaskProtoXFieldMaskEntry>;
inverted?: boolean;
};
type IGtasksUtilsXFieldMaskProtoXFieldMaskEntry = {
key?: number;
value?: IGtasksUtilsXFieldMaskProto;
};
type IIdentityConsentConsentPrimitiveRequest = {
entryPointInfo?: IIdentityConsentEntryPointInfo;
flowId?:
| 'CONSENT_FLOW_ID_UNSPECIFIED'
| 'CONSENT_FLOW_ID_DMA_PRECONSENT'
| 'CONSENT_FLOW_ID_LATENCY_MEASUREMENT'
| 'CONSENTFLOW_DMA_PRECONSENT_LE2'
| 'CONSENTFLOW_DMA_PRECONSENT_LE2_PROMO'
| 'CONSENTFLOW_DMA_PRECONSENT_LE2_CONSENT_TAKEOVER_1'
| 'CONSENTFLOW_DMA_PRECONSENT_LE2_CONSENT_TAKEOVER_2'
| 'CONSENTFLOW_DMA_PRECONSENT_LE3_CONSENT_TAKEOVER_1'
| 'CONSENTFLOW_DMA_PRECONSENT_LE3_CONSENT_TAKEOVER_2'
| 'CONSENTFLOW_DMA_PRECONSENT_LE5_PROMO'
| 'CONSENTFLOW_DMA_PRECONSENT_LE5_CONSENT_TAKEOVER'
| 'CONSENTFLOW_DMA_PRECONSENT_LE3_5_CONSENT'
| 'CONSENTFLOW_DMA_PRECONSENT_LE3_5_CONSENT_WEEK_DEFER'
| 'CONSENTFLOW_DMA_PRECONSENT_LE3_5_CONSENT_TWO_WEEK_DEFER'
| 'CONSENTFLOW_DMA_PRECONSENT_LE3_5_CONSENT_ASK_ME_LATER'
| 'CONSENTFLOW_DMA_PRECONSENT_LE3_5_CONSENT_THREE_DAY_DEFER'
| 'CONSENTFLOW_DMA_PRECONSENT_SCALED'
| 'CONSENTFLOW_DMA_PRECONSENT_SCALED_ASK_ME_LATER'
| 'CONSENTFLOW_DMA_PRECONSENT_SCALED_ASK_ME_TOMORROW'
| 'CONSENTFLOW_DMA_PRECONSENT_SCALED_THREE_DAY_DEFER'
| 'CONSENTFLOW_DMA_PRECONSENT_SCALED_ASK_ME_IN_A_WEEK'
| 'CONSENTFLOW_DMA_POSTENFORCEMENT_CAMPAIGN'
| 'CONSENTFLOW_DMA_CITNS'
| 'CONSENTFLOW_DMA_POSTENFORCEMENT_CAMPAIGN_THREE_DAY_DEFER'
| 'CONSENTFLOW_DMA_POSTENFORCEMENT_CAMPAIGN_ASK_ME_LATER'
| 'CONSENTFLOW_DMA_POSTENFORCEMENT_CAMPAIGN_ASK_ME_TOMORROW'
| 'CONSENTFLOW_DMA_POSTENFORCEMENT_CAMPAIGN_WEEK_DEFER'
| 'CONSENTFLOW_DMA_CITNS_WITHOUT_DONE_BUTTON'
| 'CONSENTFLOW_WAA_SEARCH_LE1_DISMISS'
| 'CONSENTFLOW_WAA_SEARCH_LE1_THREE_DAY_DEFER'
| 'CONSENTFLOW_WAA_SEARCH_LE1_ASK_ME_TOMORROW'
| 'NOTICEFLOW_MME_GAP_GRADUATION_LE1'
| 'CONSENTFLOW_LOCATION_HISTORY'
| 'CONSENTFLOW_SEARCH_AI_MODE_WAA'
| 'CONSENTFLOW_SEARCH_AI_MODE_VSH'
| 'CONSENTFLOW_WAA_SEARCH_LE1_SWAPPED_BUTTONS'
| 'CONSENTFLOW_WAA_SEARCH_LE1_DISMISS_NO_OUTLINE'
| 'CONSENTFLOW_WAA_SEARCH_LE1_DYNAMIC_DISMISS';
ftcConsentApiParameters?: IIdentityConsentFtcConsentApiParameters;
uiParameters?: IIdentityConsentUiParameters;
userInfo?: IIdentityConsentUserInfo;
};
type IIdentityConsentEntryPointInfo = {
clientEventId?: string;
clientRequestTimeEpochMillis?: string;
entrypointId?: string;
featureId?:
| 'FEATURE_UNKNOWN'
| 'FEATURE_SEARCH_SAVED_PLACES'
| 'FEATURE_TRAVEL_SAVE'
| 'FEATURE_CITNS_EXAMPLE'
| 'FEATURE_SMARTSPACE'
| 'FEATURE_ASSISTANT_SETTING'
| 'FEATURE_DMA_PAIDTASKS'
| 'FEATURE_DMA_ASSISTANT_TASKS'
| 'FEATURE_DMA_GOOGLE_TV'
| 'FEATURE_MY_AD_CENTER'
| 'FEATURE_DMA_PAIDTASKS_RECEIPTS'
| 'FEATURE_DMA_PAIDTASKS_SURVEYS'
| 'FEATURE_DMA_PAIDTASKS_SURVEYABLE_PROFILE';
integrationType?: 'INTEGRATION_TYPE_UNSPECIFIED' | 'WEB_SEARCH_EMBEDDED';
productId?: number;
productSurface?:
| 'PRODUCT_SURFACE_UNSPECIFIED'
| 'DEMO_UI_SURFACE'
| 'SEARCH_RESULTS_PAGE'
| 'SEARCH_HOMEPAGE'
| 'SEARCH_AGA'
| 'SEARCH_IGA'
| 'PHONESKY_HOMEPAGE'
| 'PHONESKY_DETAILS_POST_INSTALL'
| 'YOUTUBE_HOMEPAGE'
| 'ASSISTANT_ANDROID'
| 'MY_AD_CENTER_PANEL'
| 'MY_AD_CENTER_HUB'
| 'PAIDTASKS_ANDROID_SURVEYS'
| 'PAIDTASKS_IOS_SURVEYS'
| 'PAIDTASKS_ANDROID_RECEIPTS'
| 'GOOGLETV_RECOMMENDATIONS'
| 'PAIDTASKS_ANDROID_SURVEYABLE_PROFILE'
| 'PAIDTASKS_IOS_SURVEYABLE_PROFILE'
| 'GOOGLE_TRAVEL';
serializedConsentSessionId?: string;
sharedConsentSessionId?: IPrivacyConsentSharedConsentSessionId;
};
type IIdentityConsentFtcConsentApiParameters = {
consentPurpose?:
| 'CONSENT_PURPOSE_UNSPECIFIED'
| 'PURPOSE_REQUIRED_FOR_FEATURE'
| 'PURPOSE_BENEFICIAL_FOR_FEATURE'
| 'PURPOSE_GATHER_PRECONSENT_DECISION'
| 'PURPOSE_CONTROLS_UI'
| 'PURPOSE_ACTIVITY_CONTROLS_UI'
| 'PURPOSE_ACCOUNT_CREATION'
| 'PURPOSE_DMA_CONSENT_CAMPAIGN';
consentScreenInfo?: IIdentityConsentPrefetchedConsentScreenInfo;
consentTextsOnly?: boolean;
imagePreferences?: IIdentityConsentImagePreferences;
};
type IIdentityConsentImagePreferences = {
density?:
| 'IMAGE_SOURCE_DENSITY_UNSPECIFIED'
| 'IMAGE_SOURCE_DENSITY_1X'
| 'IMAGE_SOURCE_DENSITY_2X'
| 'IMAGE_SOURCE_DENSITY_3X'
| 'IMAGE_SOURCE_DENSITY_4X';
format?:
| 'IMAGE_SOURCE_FORMAT_UNSPECIFIED'
| 'IMAGE_SOURCE_FORMAT_SVG'
| 'IMAGE_SOURCE_FORMAT_PNG';
};
type IIdentityConsentPrefetchedConsentScreenInfo = {
opaqueVerificationToken?: IFootprintsTransparencyandcontrolProtoOpaqueVerificationToken;
screenTimestampEpochMillis?: string;
serializedConsentScreen?: string;
};
type IIdentityConsentUiParameters = {
colorTheme?: 'COLOR_THEME_UNSPECIFIED' | 'LIGHT' | 'DARK';
dismissibility?:
| 'DISMISSIBILITY_UNSPECIFIED'
| 'DISMISSIBLE'
| 'NOT_DISMISSIBLE';
enableIdlingOptimisations?: boolean;
headerType?:
| 'HEADER_TYPE_UNSPECIFIED'
| 'ONLY_TITLE_HEADER'
| 'COMPLETE_HEADER';
iframeLoadTimeoutMs?: number;
initialLoadingStrategy?:
| 'INITIAL_LOADING_STRATEGY_UNSPECIFIED'
| 'NO_LOADING_INDICATORS'
| 'WITH_LOADING_INDICATOR_INSIDE_THE_DIALOG'
| 'WITH_LOADING_BAR_AND_LOADING_INDICATOR_INSIDE_THE_DIALOG';
locale?: string;
mobileAppConsentLoadTimeoutMs?: number;
mobileAppsRenderer?:
| 'MOBILE_APPS_RENDERER_UNSPECIFIED'
| 'WEBVIEW'
| 'NATIVE'
| 'NATIVE_WITH_WEBVIEW_FALLBACK';
uiComponents?: 'UI_COMPONENTS_UNSPECIFIED' | 'UI_GM2';
webviewPrewarmingType?:
| 'WEB_VIEW_PREWARMING_TYPE_UNSPECIFIED'
| 'LIGHT_PREWARMING'
| 'DOMAIN_PREWARMING';
};
type IIdentityConsentUserInfo = { sessionIndex?: number };
type IInsertRequest = {
/**
* Specifies the encryption type that should be used - for device id only.
*/
encryptionType?: 'UNKNOWN' | 'AES_CTR' | 'AES_CBC';
rawDeviceId?: string;
};
type IJslayoutTypeCheckedVisualElement = {
clickTrackType?:
| 'CLICK_TRACK_UNSPECIFIED'
| 'CLICK_TRACK_DIRECT'
| 'CLICK_TRACK_REDIRECTED'
| 'CLICK_TRACK_CROSS_SESSION';
nameForDebugging?: string;
privateDoNotAccessOrElseUiType?: number;
};
type ILensApiCommandCommand = {};
type ILensPresentationRenderingElementsAnswerCardModel = {
data?: ILensPresentationRenderingSharedAnswerData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsBloomMarkdownText = {
plainText?: string;
snippetSpans?: Array<
ILensPresentationRenderingElementsBloomMarkdownTextSnippetTextSpan
>;
};
type ILensPresentationRenderingElementsBloomMarkdownTextModel = {
boldFontName?: string;
boldFontSize?: number;
data?: ILensPresentationRenderingElementsBloomMarkdownText;
fontColor?: number;
italicFontName?: string;
italicFontSize?: number;
lineSpacing?: number;
maxLines?: number;
normalFontName?: string;
normalFontSize?: number;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsBloomMarkdownTextSnippetTextSpan = {
length?: number;
startIndex?: number;
style?: 'NONE' | 'BOLD' | 'HIGHLIGHT' | 'ITALIC';
};
type ILensPresentationRenderingElementsCallToActionButtonModel = {
button?: ILensPresentationRenderingSharedButton;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsCardDividerModel = {
bottomPadding?: number;
height?: number;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
topPadding?: number;
};
type ILensPresentationRenderingElementsCompactFailureInfoCardModel = {
data?: ILensPresentationRenderingSharedFailureInfoData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsDataStoreSelectionMetadata = {
isSelected?: boolean;
};
type ILensPresentationRenderingElementsDeprecatedDiningPanelCardModel = {
cardHeader?: ILensPresentationRenderingSharedCardHeaderData;
dishName?: string;
environment?: IYoutubeElementsEnvironmentData;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
restaurantName?: string;
thumbnail?: ILensPresentationRenderingSharedThumbnailData;
userReviewHeaderMessage?: string;
userReviewLoggingData?: ILensPresentationRenderingSharedCardLoggingData;
userReviews?: Array<ILensPresentationRenderingSharedUserReviewData>;
};
type ILensPresentationRenderingElementsDeprecatedEntityCarouselCardModel = {
cells?: Array<
ILensPresentationRenderingElementsDeprecatedEntityCarouselCellData
>;
environment?: IYoutubeElementsEnvironmentData;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
selectedStatus?: ILensPresentationRenderingElementsDeprecatedEntityCarouselSelectedStatus;
stateId?: string;
uiConfig?: ILensPresentationRenderingSharedUIConfig;
};
type ILensPresentationRenderingElementsDeprecatedEntityCarouselCellData = {
image?: IYoutubeElementsImage;
link?: string;
subtitle?: string;
tileLoggingData?: ILensPresentationRenderingSharedCardLoggingData;
title?: string;
};
type ILensPresentationRenderingElementsDeprecatedEntityCarouselSelectedStatus = {
selectedIndex?: number;
};
type ILensPresentationRenderingElementsDeprecatedProductMatchCardModel = {
cardHeader?: ILensPresentationRenderingSharedCardHeaderData;
descriptionText?: ILensPresentationRenderingSharedProductMatchDescriptionTextData;
environment?: IYoutubeElementsEnvironmentData;
inStoreText?: ILensPresentationRenderingSharedProductMatchDescriptionTextData;
link?: string;
linkLoggingData?: ILensPresentationRenderingSharedCardLoggingData;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
openInNewIcon?: ILensPresentationRenderingSharedThemedIcon;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
thumbnail?: ILensPresentationRenderingSharedThumbnailData;
uiConfig?: ILensPresentationRenderingSharedUIConfig;
};
type ILensPresentationRenderingElementsDeprecatedSelectedItemArgs = {
index?: number;
};
type ILensPresentationRenderingElementsDescriptionTextModel = {
data?: ILensPresentationRenderingSharedDescriptionTextData;
layoutShouldReduceSize?: boolean;
maxLines?: number;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsDisambiguationCarouselCardModel = {
data?: ILensPresentationRenderingSharedDisambiguationCarouselData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsEntityCardModel = {
data?: ILensPresentationRenderingSharedEntityData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsEntityCarouselCardModel = {
data?: ILensPresentationRenderingSharedEntityCarouselData;
environment?: IYoutubeElementsEnvironmentData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
refinementChipsSelectedStatus?: ILensPresentationRenderingElementsRefinementChipsSelectedStatus;
refinementChipsStateId?: string;
selectedStatus?: ILensPresentationRenderingElementsEntityCarouselSelectedStatus;
stateId?: string;
useCellSizeForHeight?: boolean;
};
type ILensPresentationRenderingElementsEntityCarouselSelectedStatus = {
selectedIndex?: number;
tapped?: boolean;
};
type ILensPresentationRenderingElementsEntitySearchButtonModel = {
data?: ILensPresentationRenderingSharedEntitySearchButtonData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsExpansionButtonModel = {
data?: ILensPresentationRenderingSharedExpansionButtonData;
expansionStatus?: ILensPresentationRenderingElementsExpansionStatus;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
stateId?: string;
};
type ILensPresentationRenderingElementsExpansionStatus = {
isExpanded?: boolean;
};
type ILensPresentationRenderingElementsExpansionToggleModel = {
data?: ILensPresentationRenderingSharedExpansionToggleData;
expansionStatus?: ILensPresentationRenderingElementsExpansionStatus;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
stateId?: string;
};
type ILensPresentationRenderingElementsExploreGridCardModel = {
environment?: IYoutubeElementsEnvironmentData;
expansionStatus?: ILensPresentationRenderingElementsExpansionStatus;
exploreGrid?: ILensPresentationRenderingSharedExploreGridData;
gridHeight?: number;
newTileStyleEnabled?: boolean;
numGridColumns?: number;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
staggeredGridEnabled?: boolean;
stateId?: string;
useCollectionTypeSizingModeLargestCell?: boolean;
};
type ILensPresentationRenderingElementsFaviconModel = {
data?: ILensPresentationRenderingSharedFavicon;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsGridCellModel = {
data?: ILensPresentationRenderingSharedGridCell;
environment?: IYoutubeElementsEnvironmentData;
newTileStyleEnabled?: boolean;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
uiConfig?: ILensPresentationRenderingSharedUIConfig;
};
type ILensPresentationRenderingElementsGridClusterModel = {
data?: ILensPresentationRenderingSharedGridCluster;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsHeaderModel = {
data?: ILensPresentationRenderingSharedHeaderData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsImageSearchCardModel = {
data?: ILensPresentationRenderingSharedImageSearchData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsImageSearchFallbackCardModel = {
data?: ILensPresentationRenderingSharedImageSearchFallbackData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsKnowledgePanelCardModel = {
cardHeader?: ILensPresentationRenderingSharedCardHeaderData;
descriptionText?: ILensPresentationRenderingSharedDescriptionTextData;
environment?: IYoutubeElementsEnvironmentData;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
openInNewIcon?: ILensPresentationRenderingSharedThemedIcon;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
thumbnail?: ILensPresentationRenderingSharedThumbnailData;
uiConfig?: ILensPresentationRenderingSharedUIConfig;
userVisibleStrings?: ILensPresentationRenderingElementsKnowledgePanelCardModelUserVisibleStrings;
};
type ILensPresentationRenderingElementsKnowledgePanelCardModelUserVisibleStrings = {
searchImageA11yLabel?: string;
};
type ILensPresentationRenderingElementsLensCardThumbnailImageModel = {
data?: ILensPresentationRenderingSharedThumbnailImageData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsLensCardThumbnailModel = {
data?: ILensPresentationRenderingSharedThumbnailData;
environment?: IYoutubeElementsEnvironmentData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
shouldRoundBottomCorners?: boolean;
shouldRoundTopCorners?: boolean;
};
type ILensPresentationRenderingElementsLensDisclaimerModel = {
data?: ILensPresentationRenderingSharedDisclaimerData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsLensImageModel = {
aspectRatio?: number;
cornerRadius?: number;
data?: ILensPresentationRenderingSharedImage;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
roundAllCorners?: boolean;
};
type ILensPresentationRenderingElementsLensStarRatingModel = {
data?: ILensPresentationRenderingSharedStarRatingData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsLensletsContentCardModel = {
data?: ILensPresentationRenderingSharedLensletsContentData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsLinkItemData = {
actionUrl?: string;
displayText?: string;
icon?: IYoutubeElementsImage;
secondaryText?: string;
};
type ILensPresentationRenderingElementsLinkItemModel = {
data?: ILensPresentationRenderingElementsLinkItemData;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsMenuCarouselCardModel = {
data?: ILensPresentationRenderingSharedMenuCarouselData;
environment?: IYoutubeElementsEnvironmentData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsMultimodalFailureInfoCardModel = {
data?: ILensPresentationRenderingSharedMultimodalFailureData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsNameValueListCardModel = {
nameValueList?: ILensPresentationRenderingSharedNameValueListData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsPlaceCardModel = {
data?: ILensPresentationRenderingSharedPlaceData;
environment?: IYoutubeElementsEnvironmentData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsPlainTextCardModel = {
data?: ILensPresentationRenderingSharedPlainTextData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsPresentationTheme = {
colors?: ILensPresentationRenderingElementsPresentationThemeColors;
fonts?: ILensPresentationRenderingElementsPresentationThemeFonts;
icons?: ILensPresentationRenderingElementsPresentationThemeIcons;
layout?: ILensPresentationRenderingElementsPresentationThemeLayout;
luxeFonts?: ILensPresentationRenderingElementsPresentationThemeLuxeFonts;
luxeMaterialColors?: ILensPresentationRenderingElementsPresentationThemeLuxeMaterialColors;
margins?: ILensPresentationRenderingElementsPresentationThemeMargins;
};
type ILensPresentationRenderingElementsPresentationThemeColors = {
aiGeneratedTextBackgroundColor?: number;
aiGeneratedTextContentColor?: number;
aiGeneratedTextFooterColor?: number;
annotationContentText?: number;
annotationStarRatingsText?: number;
annotationTitleSelectedText?: number;
annotationTitleText?: number;
attributeText?: number;
bloomMarkdownText?: number;
cardDivider?: number;
cardHeader?: number;
cardText?: number;
cellBackground?: number;
chipBorder?: number;
chipText?: number;
divider?: number;
durationBackground?: number;
durationText?: number;
entityCarouselBackground?: number;
entityCarouselHighlight?: number;
entityCarouselText?: number;
entityCarouselTextHighlight?: number;
expansionButtonBackground?: number;
expansionButtonBorder?: number;
expansionButtonText?: number;
explainerImageBackground?: number;
hairline?: number;
imageBackgroundPanel?: number;
knowledgePanelDividerColor?: number;
knowledgePanelSearchButtonOutline?: number;
knowledgePanelSearchButtonText?: number;
learnMoreButtonBackground?: number;
learnMoreButtonBorder?: number;
learnMoreButtonText?: number;
lightSearchButtonBackground?: number;
lightSearchButtonBorder?: number;
lightSearchButtonText?: number;
linkText?: number;
panelPromptBackground?: number;
primaryBackground?: number;
primaryBlue?: number;
primaryBorder?: number;
primaryGreen?: number;
primaryLightText?: number;
primaryShadow?: number;
primaryText?: number;
primaryTextVariant?: number;
primaryTextVariant2?: number;
productGtinIconBackground?: number;
productMatchDescriptionTextShouldUsePrimarySecondary?: boolean;
rippleEffectColor?: number;
rippleEffectColorBlue?: number;
scrimBackground?: number;
searchButtonBackground?: number;
searchButtonBorder?: number;
searchButtonText?: number;
secondaryBlue?: number;
secondaryText?: number;
secondaryTextVariant?: number;
shouldUseSecondaryTextForDisambiguationCarouselTitle?: boolean;
similarImageUrlText?: number;
starRatingNumberText?: number;
starRatingText?: number;
tentativePriceDisclaimer?: number;
webAnswerLink?: number;
youtubeLink?: number;
};
type ILensPresentationRenderingElementsPresentationThemeFont = {
fontSize?: number;
name?: string;
};
type ILensPresentationRenderingElementsPresentationThemeFonts = {
aiGeneratedTextContent?: ILensPresentationRenderingElementsPresentationThemeFont;
aiGeneratedTextFooter?: ILensPresentationRenderingElementsPresentationThemeFont;
annotationContent?: ILensPresentationRenderingElementsPresentationThemeFont;
annotationTitle?: ILensPresentationRenderingElementsPresentationThemeFont;
attributeText?: ILensPresentationRenderingElementsPresentationThemeFont;
body?: ILensPresentationRenderingElementsPresentationThemeFont;
boldBody?: ILensPresentationRenderingElementsPresentationThemeFont;
cardLargeHeader?: ILensPresentationRenderingElementsPresentationThemeFont;
cardPrimaryText?: ILensPresentationRenderingElementsPresentationThemeFont;
cardSecondaryText?: ILensPresentationRenderingElementsPresentationThemeFont;
ctaButtonTitle?: ILensPresentationRenderingElementsPresentationThemeFont;
eduExplainerLargeTitle?: ILensPresentationRenderingElementsPresentationThemeFont;
eduExplainerMediumTitle?: ILensPresentationRenderingElementsPresentationThemeFont;
eduExplainerSnippetBold?: ILensPresentationRenderingElementsPresentationThemeFont;
eduExplainerSnippetMedium?: ILensPresentationRenderingElementsPresentationThemeFont;
eduExplainerSnippetRegular?: ILensPresentationRenderingElementsPresentationThemeFont;
eduQaSectionTitle?: ILensPresentationRenderingElementsPresentationThemeFont;
eduVideoTitle?: ILensPresentationRenderingElementsPresentationThemeFont;
eduVideoTitleBold?: ILensPresentationRenderingElementsPresentationThemeFont;
entryText?: ILensPresentationRenderingElementsPresentationThemeFont;
entryTextSmall?: ILensPresentationRenderingElementsPresentationThemeFont;
expansionButtonText?: ILensPresentationRenderingElementsPresentationThemeFont;
failureInfoCardText?: ILensPresentationRenderingElementsPresentationThemeFont;
highConfidenceLink?: ILensPresentationRenderingElementsPresentationThemeFont;
highConfidenceTitle?: ILensPresentationRenderingElementsPresentationThemeFont;
keywordText?: ILensPresentationRenderingElementsPresentationThemeFont;
largeBody?: ILensPresentationRenderingElementsPresentationThemeFont;
largeTitle?: ILensPresentationRenderingElementsPresentationThemeFont;
lensletsDescription?: ILensPresentationRenderingElementsPresentationThemeFont;
lensletsHeadline?: ILensPresentationRenderingElementsPresentationThemeFont;
lensletsSource?: ILensPresentationRenderingElementsPresentationThemeFont;
lensletsTitle?: ILensPresentationRenderingElementsPresentationThemeFont;
mediumTitle?: ILensPresentationRenderingElementsPresentationThemeFont;
mediumTitleItalic?: ILensPresentationRenderingElementsPresentationThemeFont;
priceLabel?: ILensPresentationRenderingElementsPresentationThemeFont;
similarImagePrimaryText?: ILensPresentationRenderingElementsPresentationThemeFont;
similarImageSecondaryText?: ILensPresentationRenderingElementsPresentationThemeFont;
similarImageTitle?: ILensPresentationRenderingElementsPresentationThemeFont;
smallBody?: ILensPresentationRenderingElementsPresentationThemeFont;
subHeader?: ILensPresentationRenderingElementsPresentationThemeFont;
title?: ILensPresentationRenderingElementsPresentationThemeFont;
userEducationCardEntryTitle?: ILensPresentationRenderingElementsPresentationThemeFont;
userReviewText?: ILensPresentationRenderingElementsPresentationThemeFont;
};
type ILensPresentationRenderingElementsPresentationThemeIcons = {
aiGeneratedTextLoading?: string;
autoFailure?: string;
autoFallback?: string;
collapseIcon?: string;
dermAssistFailure?: string;
diningFailure?: string;
diningPartialFailure?: string;
educationFailure?: string;
emptyStar?: string;
expansionIcon?: string;
fullStar?: string;
googleImageSearch?: string;
halfStar?: string;
imageProvenanceFailure?: string;
knowledgePanelSearch?: string;
lightSearchButtonExpand?: string;
multimodalFailure?: string;
openImageInNew?: string;
openLinkInNew?: string;
palatinoFailure?: string;
placeFailure?: string;
productivityFailure?: string;
querySearch?: string;
regionFailure?: string;
rightArrow?: string;
searchButtonExpand?: string;
searchButtonGoogleLogo?: string;
sensitiveFailure?: string;
shoppingFailure?: string;
translateFailure?: string;
webRegionSearchFailure?: string;
};
type ILensPresentationRenderingElementsPresentationThemeLayout = {
annotationMaxWidth?: number;
canShowRefinementChips?: boolean;
cardShadowRadius?: number;
descriptionTextShouldShowSourceIcon?: boolean;
disambiguationCarouselBottomMargin?: number;
disambiguationCarouselShouldIndentTitle?: boolean;
knowledgePanelDescriptionMaxLinesMultipleImages?: number;
knowledgePanelDescriptionMaxLinesSingleImage?: number;
knowledgePanelShouldHaveBoundingBox?: boolean;
knowledgePanelShouldShowHeader?: boolean;
knowledgePanelSingleImageLayoutShouldReduceSize?: boolean;
knowledgePanelSingleImageMargins?: number;
knowledgePanelThumbnailShouldRoundTopCorners?: boolean;
lensThumbnailShouldShowOpenInNewIcon?: boolean;
productDescriptionTextShouldShowFavicon?: boolean;
productDescriptionTextShouldShowInStoreOffer?: boolean;
productDescriptionTextVerticalSpacing?: number;
productMatchDescriptionMaxLinesMultipleImages?: number;
prominentImageCornerRadius?: number;
shouldUseFullWidthExpansionButton?: boolean;
showOnelensCardHeader?: boolean;
suggestiveChipBorderRadius?: number;
suggestiveChipShouldShowTrailingIcon?: boolean;
};
type ILensPresentationRenderingElementsPresentationThemeLuxeFonts = {
body1?: ILensPresentationRenderingElementsPresentationThemeFont;
body2?: ILensPresentationRenderingElementsPresentationThemeFont;
label?: ILensPresentationRenderingElementsPresentationThemeFont;
label1?: ILensPresentationRenderingElementsPresentationThemeFont;
overline?: ILensPresentationRenderingElementsPresentationThemeFont;
subtitle1?: ILensPresentationRenderingElementsPresentationThemeFont;
title1?: ILensPresentationRenderingElementsPresentationThemeFont;
title2?: ILensPresentationRenderingElementsPresentationThemeFont;
title3?: ILensPresentationRenderingElementsPresentationThemeFont;
title4?: ILensPresentationRenderingElementsPresentationThemeFont;
};
type ILensPresentationRenderingElementsPresentationThemeLuxeMaterialColors = {
background?: number;
backgroundScrim?: number;
error?: number;
informative?: number;
onBackground?: number;
onError?: number;
onPrimary?: number;
onSecondary?: number;
onSurface?: number;
onSurfaceVariant?: number;
outline?: number;
popular?: number;
primary?: number;
secondary?: number;
stars?: number;
surface?: number;
surfaceVariant?: number;
};
type ILensPresentationRenderingElementsPresentationThemeMargins = {
all?: number;
annotationPaddingBottom?: number;
annotationPaddingLeft?: number;
annotationPaddingRight?: number;
annotationPaddingTop?: number;
cardBorderAll?: number;
cardBorderRadius?: number;
expansionButtonHorizonal?: number;
expansionButtonVertical?: number;
plrpButtonHorizontal?: number;
};
type ILensPresentationRenderingElementsProductGtinCardModel = {
data?: ILensPresentationRenderingSharedProductGtinData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsProductMatchCardModel = {
data?: ILensPresentationRenderingSharedProductMatchData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsProductMatchDescriptionTextModel = {
data?: ILensPresentationRenderingSharedProductMatchDescriptionTextData;
inStoreData?: ILensPresentationRenderingSharedProductMatchDescriptionTextData;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
maxLines?: number;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
uiConfig?: ILensPresentationRenderingSharedUIConfig;
};
type ILensPresentationRenderingElementsProductMatchEntityCardModel = {
data?: ILensPresentationRenderingSharedProductMatchEntityData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsQueryCardImageData = {
actionLink?: string;
image?: IYoutubeElementsImage;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
};
type ILensPresentationRenderingElementsQueryCardModel = {
cardHeader?: ILensPresentationRenderingSharedCardHeaderData;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
searchButton?: ILensPresentationRenderingSharedEntitySearchButtonData;
thumbnail?: Array<ILensPresentationRenderingElementsQueryCardImageData>;
uiConfig?: ILensPresentationRenderingSharedUIConfig;
};
type ILensPresentationRenderingElementsRefinementChipModel = {
data?: ILensPresentationRenderingSharedRefinementChipData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsRefinementChipsSelectedStatus = {
selectedIndex?: number;
tapped?: boolean;
};
type ILensPresentationRenderingElementsSearchButtonModel = {
data?: ILensPresentationRenderingSharedEntitySearchButtonData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsSearchResponseHeaderCardModel = {
actionLink?: string;
boldRun?: Array<IYoutubeElementsStyleRun>;
linkRun?: IYoutubeElementsStyleRun;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
queryLabel?: string;
};
type ILensPresentationRenderingElementsSearchResultsPageHeaderCardModel = {
data?: ILensPresentationRenderingSharedSearchResultsPageHeaderData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsSkylensAnnotationData = {
priceLevel?: string;
rating?: string;
subtitle?: string;
title?: string;
};
type ILensPresentationRenderingElementsSkylensAnnotationModel = {
data?: ILensPresentationRenderingElementsSkylensAnnotationData;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
selectionMetadata?: ILensPresentationRenderingElementsDataStoreSelectionMetadata;
};
type ILensPresentationRenderingElementsStarRatingWidgetModel = {
data?: ILensPresentationRenderingSharedStarRatingData;
isCompactStyle?: boolean;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsSuggestiveChipModel = {
data?: ILensPresentationRenderingSharedSuggestiveChipData;
enableRipple?: boolean;
noBackgroundColor?: boolean;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsUrlCardModel = {
data?: ILensPresentationRenderingSharedUrlData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsUserReviewModel = {
data?: ILensPresentationRenderingSharedUserReviewData;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
};
type ILensPresentationRenderingElementsWebSearchCardModel = {
headerMessage?: string;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
presentationTheme?: ILensPresentationRenderingElementsPresentationTheme;
results?: Array<ILensPresentationRenderingElementsWebSearchResultModel>;
uiConfig?: ILensPresentationRenderingSharedUIConfig;
};
type ILensPresentationRenderingElementsWebSearchResultModel = {
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
snippet?: string;
sourceDisplayName?: string;
starRating?: ILensPresentationRenderingSharedStarRatingData;
thumbnail?: IYoutubeElementsImage;
title?: string;
url?: string;
};
type ILensPresentationRenderingSharedAction = {
command?: ILensApiCommandCommand;
safeUrl?: IWebutilHtmlTypesSafeUrlProto;
};
type ILensPresentationRenderingSharedAdsData = {
adHtml?: IWebutilHtmlTypesSafeHtmlProto;
adScript?: IWebutilHtmlTypesSafeScriptProto;
adStyling?: IWebutilHtmlTypesSafeStyleSheetProto;
adsQuery?: string;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
serializedAdsMetadata?: string;
uiConfig?: ILensPresentationRenderingSharedUIConfig;
};
type ILensPresentationRenderingSharedAnswerData = {
description?: string;
descriptionSourceButton?: ILensPresentationRenderingSharedButton;
header?: ILensPresentationRenderingSharedHeaderData;
images?: Array<ILensPresentationRenderingSharedImage>;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
maxDescriptionLines?: number;
moreImagesLoggingData?: ILensPresentationRenderingSharedCardLoggingData;
moreImagesText?: string;
moreImagesUrl?: string;
searchButtonData?: ILensPresentationRenderingSharedEntitySearchButtonData;
};
type ILensPresentationRenderingSharedBadgeAttributes = {
enabledBadgeType?:
| 'UNKNOWN'
| 'IN_STOCK'
| 'OUT_OF_STOCK'
| 'USED'
| 'OFFICIAL'
| 'POPULAR_BRAND';
inStock?: string;
official?: string;
outOfStock?: string;
popularBrand?: string;
used?: string;
};
type ILensPresentationRenderingSharedButton = {
a11yLabel?: string;
action?: ILensPresentationRenderingSharedAction;
actionUrl?: string;
buttonIcon?: ILensPresentationRenderingSharedImage;
buttonTitle?: string;
command?: ILensApiCommandCommand;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
safeUrl?: IWebutilHtmlTypesSafeUrlProto;
};
type ILensPresentationRenderingSharedCardHeaderData = {
needsTopMargin?: boolean;
searchButtonA11yLabel?: string;
searchButtonTitle?: string;
searchIcon?: ILensPresentationRenderingSharedImage;
searchLink?: string;
starRating?: ILensPresentationRenderingSharedCardHeaderDataStarRating;
subtitle?: string;
title?: string;
titleNeedsMultipleLines?: boolean;
};
type ILensPresentationRenderingSharedCardHeaderDataStarRating = {
numOfRatings?: string;
ratingDisplayString?: string;
stars?: Array<ILensPresentationRenderingSharedThemedIcon>;
};
type ILensPresentationRenderingSharedCardLoggingData = {
adsMetadata?: IGoogleProtobufAny;
cardVeId?: number;
generateChildElementIndex?: boolean;
instanceIdSeq?: number;
isAttentionTracked?: boolean;
logShortUrl?: boolean;
nodeKey?: string;
positionIndex?: number;
rootVeId?: number;
typeCheckedVe?: IJslayoutTypeCheckedVisualElement;
};
type ILensPresentationRenderingSharedDescriptionTextData = {
description?: string;
descriptionLink?: string;
descriptionLoggingData?: ILensPresentationRenderingSharedCardLoggingData;
source?: string;
sourceA11yLabel?: string;
sourceIcon?: ILensPresentationRenderingSharedThemedIcon;
sourceLink?: string;
sourceLinkLoggingData?: ILensPresentationRenderingSharedCardLoggingData;
};
type ILensPresentationRenderingSharedDisambiguationCarouselData = {
chips?: Array<ILensPresentationRenderingSharedSuggestiveChipData>;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
title?: string;
uiConfig?: ILensPresentationRenderingSharedUIConfig;
};
type ILensPresentationRenderingSharedDisclaimerData = {
disclaimerText?: string;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
showPriceDisclaimer?: boolean;
};
type ILensPresentationRenderingSharedEntityCarouselCellData = {
a11yLabel?: string;
action?: ILensPresentationRenderingSharedAction;
answerData?: ILensPresentationRenderingSharedAnswerData;
entityCard?: ILensPresentationRenderingSharedEntityData;
image?: ILensPresentationRenderingSharedImage;
link?: string;
secondaryTapAction?: ILensPresentationRenderingSharedAction;
secondaryTapLink?: string;
srpData?: ILensPresentationRenderingSharedSearchResultsPageData;
subtitle?: string;
tileLoggingData?: ILensPresentationRenderingSharedCardLoggingData;
title?: string;
};
type ILensPresentationRenderingSharedEntityCarouselData = {
autoSelectionEnabled?: boolean;
cellSize?: number;
cells?: Array<ILensPresentationRenderingSharedEntityCarouselCellData>;
disclaimerButton?: ILensPresentationRenderingSharedButton;
disclaimerText?: string;
disclaimerTitle?: string;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
title?: string;
uiConfig?: ILensPresentationRenderingSharedUIConfig;
useCollectionTypeSizingModeLargestCell?: boolean;
};
type ILensPresentationRenderingSharedEntityData = {
cardHeader?: ILensPresentationRenderingSharedCardHeaderData;
descriptionText?: ILensPresentationRenderingSharedDescriptionTextData;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
searchButton?: ILensPresentationRenderingSharedEntitySearchButtonData;
thumbnail?: Array<ILensPresentationRenderingSharedImage>;
uiConfig?: ILensPresentationRenderingSharedUIConfig;
};
type ILensPresentationRenderingSharedEntitySearchButtonData = {
actionUrl?: string;
expandIcon?: ILensPresentationRenderingSharedThemedIcon;
imageSearchA11yLabel?: string;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
searchA11yLabel?: string;
searchIcon?: ILensPresentationRenderingSharedThemedIcon;
title?: string;
};
type ILensPresentationRenderingSharedExpansionButtonData = {
collapseText?: string;
collapseTextContentDescription?: string;
expansionText?: string;
expansionTextContentDescription?: string;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
};
type ILensPresentationRenderingSharedExpansionToggleData = {
collapseIcon?: ILensPresentationRenderingSharedImage;
expandIcon?: ILensPresentationRenderingSharedImage;
height?: number;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
width?: number;
};
type ILensPresentationRenderingSharedExploreGridData = {
continuationTitle?: string;
enableExpansionToggle?: boolean;
expansionButtonData?: ILensPresentationRenderingSharedExpansionButtonData;
expansionToggleMaxUnexpandedRows?: number;
exploreGridColumnModels?: Array<
ILensPresentationRenderingSharedExploreGridDataExploreGridColumnModel
>;
flattenedExploreGridCellModels?: Array<
ILensPresentationRenderingSharedGridCell
>;
interleavedBlocks?: Array<
ILensPresentationRenderingSharedExploreGridDataInterleavedBlock
>;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
multimodalBetaMessage?: string;
priceDisclaimerData?: ILensPresentationRenderingSharedDisclaimerData;
refinementChips?: Array<ILensPresentationRenderingSharedRefinementChipData>;
showPeopleDisclaimer?: boolean;
showTitle?: boolean;
textModuleShownAbove?: boolean;
title?: string;
uiConfig?: ILensPresentationRenderingSharedUIConfig;
};
type ILensPresentationRenderingSharedExploreGridDataExploreGridColumnModel = {
exploreGridCellModels?: Array<ILensPresentationRenderingSharedGridCell>;
};
type ILensPresentationRenderingSharedExploreGridDataInterleavedBlock = {
adsBlock?: ILensPresentationRenderingSharedAdsData;
localBlock?: ILensPresentationRenderingSharedLocalData;
positioning?: ILensPresentationRenderingSharedExploreGridDataInterleavedBlockPositioning;
videoBlock?: ILensPresentationRenderingSharedVideoData;
visualExploreBlock?: ILensPresentationRenderingSharedVisualExploreData;
};
type ILensPresentationRenderingSharedExploreGridDataInterleavedBlockPositioning = {
maxRow?: number;
minRow?: number;
};
type ILensPresentationRenderingSharedFailureInfoData = {
bodyText?: string;
button?: ILensPresentationRenderingSharedButton;
cardHeader?: ILensPresentationRenderingSharedCardHeaderData;
cardIcon?: ILensPresentationRenderingSharedThemedIcon;
failureInfoCardType?:
| 'DEFAULT'
| 'IMAGE_SEARCH_AUTO_FALLBACK'
| 'DINING_PARTIAL_FAIL'
| 'PALATINO_FAIL'
| 'REGION_SEARCH_FAIL'
| 'WEB_REGION_SEARCH_FAIL'
| 'WEB_LOW_SIMILARITY_SEARCH_FAIL'
| 'IMAGE_PROVENANCE_FAIL'
| 'DERM_ASSIST_FAIL'
| 'PEOPLE_SEARCH_FAIL'
| 'LRP_LOAD_FAIL'
| 'BACKEND_STATE_LOOKUP_FAIL'
| 'MULTIMODAL_FAILURE'
| 'YOUTUBE_SEARCH_FAIL'
| 'TRANSLATE_NO_TEXT_FAIL'
| 'TEXT_FILTER_NO_TEXT_FAIL'
| 'BACKEND_STATE_AUTH_FAIL'
| 'BACKEND_STALE_STATE_FAIL'
| 'TRANSLATE_SAME_LANGUAGE_FAIL';
learnMoreButton?: ILensPresentationRenderingSharedButton;
loggingData?: ILensPresentationRenderingSharedCardLoggingData;
safeSearchBannerData?: ILensPresentationRenderingSharedSafeSearchBannerData;
uiConfig?: ILensPresentationRenderingSharedUIConfig;
};
type ILensPresentationRenderingSharedFavicon = {
domain?: string;
favicon?: ILensPresentationRenderingSharedImage;
};
type ILensPresentationRenderingSharedGridCell = {
a11yLabel?: string;
actionLink?: string;
badgeAttributes?: ILensPresentationRenderingSharedBadgeAttributes;
clusterPageTitle?: string;
countryMatch?: boolean;
creatorName?: string;
debugHtml?: string;
domain?: string;
expandButton?: ILensPresentationRenderingSharedButton;
favicon?: ILensPresentationRenderingSharedImage;
gridClusterData?: ILensPresentationRenderingSharedGridCluster;
hasOffer?: boolean;
hasRawOffer?: boolean;
image?: ILensPresentationRenderingSharedImage;
imageAspectRatio?: number;
isHighConfidenceCluster?: boolean;
languageMatch?: boolean;
nsrSitechunk?: string;
price?: string;
priceCurrencyCode?: string;
priceMicros?: string;
referrerLink?: string;
referrerLoggingData?: ILensPresentationRenderingSharedCardLoggingData;
relatedSearches?: Array<ILensPresentationRenderingSharedRelatedSearch>;
resultJustification?: string;
showMultiMerchantViewerCta?: boolean;
starRating?: ILensPresentationRenderingSharedStarRatingData;
subtitle?: string;
thumbnailBlurred?: boolean;
tileLoggingData?: ILensPresentationRenderingSharedCardLoggingData;
title?: string;
type?:
|