|
@@ -639,38 +639,66 @@ DRIFT_MANIFEST = {
|
|
|
'domain': 'www.airbnb.com',
|
|
'domain': 'www.airbnb.com',
|
|
|
'api_key': _API_KEY,
|
|
'api_key': _API_KEY,
|
|
|
'client_version': _CLIENT_VERSION,
|
|
'client_version': _CLIENT_VERSION,
|
|
|
|
|
+ # 'var_keys': the top-level keys of the `variables` object this op's client
|
|
|
|
|
+ # method currently sends. har_audit.py diffs this against the `variables`
|
|
|
|
|
+ # actually captured in the HAR so a schema change (renamed/added/removed
|
|
|
|
|
+ # field) is flagged even when the persisted-query hash itself still
|
|
|
|
|
+ # matches. Whoever updates a client method's variables must update this
|
|
|
|
|
+ # set in the same commit — there is no way to derive it automatically
|
|
|
|
|
+ # without parsing the method body, which we deliberately don't do.
|
|
|
'ops': {
|
|
'ops': {
|
|
|
'getDLSHostCalendar': {
|
|
'getDLSHostCalendar': {
|
|
|
'hash': _HASHES['getDLSHostCalendar'],
|
|
'hash': _HASHES['getDLSHostCalendar'],
|
|
|
'hint': 'load the multicalendar page',
|
|
'hint': 'load the multicalendar page',
|
|
|
|
|
+ 'var_keys': {
|
|
|
|
|
+ 'listingId', 'startDate', 'endDate', 'hostCalendarViewType', 'lensTypes',
|
|
|
|
|
+ 'timeZone', 'localizationContext', 'hostCalendarSectionTypes',
|
|
|
|
|
+ 'includeCustomSettings', 'readConsistency',
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
'EditPanelPricingSettingsMutation': {
|
|
'EditPanelPricingSettingsMutation': {
|
|
|
'hash': _HASHES['EditPanelPricingSettingsMutation'],
|
|
'hash': _HASHES['EditPanelPricingSettingsMutation'],
|
|
|
'hint': 'change a price on any date in the multicalendar',
|
|
'hint': 'change a price on any date in the multicalendar',
|
|
|
|
|
+ 'var_keys': {'input'},
|
|
|
},
|
|
},
|
|
|
'EditPanelAvailabilityMutation': {
|
|
'EditPanelAvailabilityMutation': {
|
|
|
'hash': _HASHES['EditPanelAvailabilityMutation'],
|
|
'hash': _HASHES['EditPanelAvailabilityMutation'],
|
|
|
'hint': 'block or unblock a date in the multicalendar',
|
|
'hint': 'block or unblock a date in the multicalendar',
|
|
|
|
|
+ 'var_keys': {'input', 'blockNotesEnabled'},
|
|
|
},
|
|
},
|
|
|
'StayHostingDetailsQuery': {
|
|
'StayHostingDetailsQuery': {
|
|
|
'hash': _HASHES['StayHostingDetailsQuery'],
|
|
'hash': _HASHES['StayHostingDetailsQuery'],
|
|
|
'hint': 'open any reservation detail page',
|
|
'hint': 'open any reservation detail page',
|
|
|
|
|
+ 'var_keys': {'viewerTimeZoneOffset', 'requestSource', 'confirmationCode'},
|
|
|
},
|
|
},
|
|
|
'getNightlyPriceTips': {
|
|
'getNightlyPriceTips': {
|
|
|
'hash': _HASHES['getNightlyPriceTips'],
|
|
'hash': _HASHES['getNightlyPriceTips'],
|
|
|
'hint': 'load the multicalendar page (fires automatically)',
|
|
'hint': 'load the multicalendar page (fires automatically)',
|
|
|
|
|
+ 'var_keys': {'listingId', 'dateRanges'},
|
|
|
},
|
|
},
|
|
|
'HostCalendarListingEventsQuery': {
|
|
'HostCalendarListingEventsQuery': {
|
|
|
'hash': _HASHES['HostCalendarListingEventsQuery'],
|
|
'hash': _HASHES['HostCalendarListingEventsQuery'],
|
|
|
'hint': 'load the multicalendar page (fires automatically)',
|
|
'hint': 'load the multicalendar page (fires automatically)',
|
|
|
|
|
+ 'var_keys': {'listingId'},
|
|
|
},
|
|
},
|
|
|
'ViaductGetThreadAndDataQuery': {
|
|
'ViaductGetThreadAndDataQuery': {
|
|
|
'hash': _HASHES['ViaductGetThreadAndDataQuery'],
|
|
'hash': _HASHES['ViaductGetThreadAndDataQuery'],
|
|
|
'hint': 'open any guest message thread',
|
|
'hint': 'open any guest message thread',
|
|
|
|
|
+ 'var_keys': {
|
|
|
|
|
+ 'globalThreadId', 'numRequestedMessages', 'getThreadState', 'getParticipants',
|
|
|
|
|
+ 'getLastReads', 'getInboxFields', 'getInboxOnlyFields', 'getMessageFields',
|
|
|
|
|
+ 'getThreadOnlyFields', 'forceUgcTranslation', 'isNovaLite', 'mockThreadIdentifier',
|
|
|
|
|
+ 'mockMessageTestIdentifier', 'mockListFooterSlot', 'forceReturnAllReadReceipts',
|
|
|
|
|
+ 'originType', 'getWishlistData',
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
'CreateBulkMessagesMutation': {
|
|
'CreateBulkMessagesMutation': {
|
|
|
'hash': _HASHES['CreateBulkMessagesMutation'],
|
|
'hash': _HASHES['CreateBulkMessagesMutation'],
|
|
|
'hint': 'send a message in any thread',
|
|
'hint': 'send a message in any thread',
|
|
|
|
|
+ 'var_keys': {
|
|
|
|
|
+ 'messageThreadId', 'messages', 'actAs', 'businessJustification',
|
|
|
|
|
+ 'originType', 'senderPlatform',
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
}
|
|
}
|