From 87be435c5b6c3f1adba8056b58975a020ec944e8 Mon Sep 17 00:00:00 2001 From: Cesare Naldi Date: Tue, 18 Jun 2024 17:12:06 +0200 Subject: [PATCH] fix: expose PublicationOperations#hasQuoted flag --- .changeset/pink-oranges-compare.md | 8 + .../src/lens/graphql/fragments.graphql | 1 + .../src/lens/graphql/generated.ts | 187 ++++++++++++++++++ 3 files changed, 196 insertions(+) create mode 100644 .changeset/pink-oranges-compare.md diff --git a/.changeset/pink-oranges-compare.md b/.changeset/pink-oranges-compare.md new file mode 100644 index 000000000..942af6446 --- /dev/null +++ b/.changeset/pink-oranges-compare.md @@ -0,0 +1,8 @@ +--- +"@lens-protocol/api-bindings": patch +"@lens-protocol/react": patch +"@lens-protocol/react-native": patch +"@lens-protocol/react-web": patch +--- + +**fix:** expose PublicationOperations#hasQuoted flag. diff --git a/packages/api-bindings/src/lens/graphql/fragments.graphql b/packages/api-bindings/src/lens/graphql/fragments.graphql index 3dade1cc7..180224fc2 100644 --- a/packages/api-bindings/src/lens/graphql/fragments.graphql +++ b/packages/api-bindings/src/lens/graphql/fragments.graphql @@ -711,6 +711,7 @@ fragment PublicationOperations on PublicationOperations { canMirror canQuote hasMirrored + hasQuoted canDecrypt { ...CanDecryptResponse } diff --git a/packages/api-bindings/src/lens/graphql/generated.ts b/packages/api-bindings/src/lens/graphql/generated.ts index 4503e3b6f..0edf75620 100644 --- a/packages/api-bindings/src/lens/graphql/generated.ts +++ b/packages/api-bindings/src/lens/graphql/generated.ts @@ -502,6 +502,13 @@ export type FollowingRequest = { orderBy?: InputMaybe; }; +export enum ForYouSource { + Curated = 'curated', + ExtendedNetwork = 'extended_network', + Following = 'following', + Popular = 'popular', +} + export type FrameEip712Request = { actionResponse: Scalars['String']; buttonIndex: Scalars['Int']; @@ -674,6 +681,13 @@ export type InternalCuratedUpdateRequest = { secret: Scalars['String']; }; +export type InternalForYouFeedRequest = { + d: Scalars['DateTime']; + n: Scalars['Int']; + p?: InputMaybe; + secret: Scalars['String']; +}; + export type InternalInvitesRequest = { p: Scalars['ProfileId']; secret: Scalars['String']; @@ -808,6 +822,13 @@ export enum MetadataAttributeType { String = 'STRING', } +export type ModDisputeReportRequest = { + reason: Scalars['String']; + reportedProfileId?: InputMaybe; + reportedPublicationId?: InputMaybe; + reporter: Scalars['ProfileId']; +}; + export type ModExplorePublicationRequest = { cursor?: InputMaybe; limit?: InputMaybe; @@ -828,6 +849,13 @@ export type ModExplorePublicationsWhere = { since?: InputMaybe; }; +export type ModReportsRequest = { + cursor?: InputMaybe; + forProfile?: InputMaybe; + forPublication?: InputMaybe; + limit?: InputMaybe; +}; + export type ModuleCurrencyApproval = { followModule?: InputMaybe; openActionModule?: InputMaybe; @@ -1468,6 +1496,14 @@ export enum PublicationContentWarningType { Spoiler = 'SPOILER', } +export type PublicationForYouRequest = { + cursor?: InputMaybe; + for?: InputMaybe; + limit?: InputMaybe; + /** The `For You` feed results are served randomized by default. Toggling this off will end up in a more `static` feed. */ + randomized?: InputMaybe; +}; + export type PublicationMetadataContentWarningFilter = { oneOf: Array; }; @@ -1575,6 +1611,7 @@ export enum PublicationReportingIllegalSubreason { AnimalAbuse = 'ANIMAL_ABUSE', DirectThreat = 'DIRECT_THREAT', HumanAbuse = 'HUMAN_ABUSE', + IntEllEctualProperty = 'INTEllECTUAL_PROPERTY', ThreatIndividual = 'THREAT_INDIVIDUAL', Violence = 'VIOLENCE', } @@ -2704,6 +2741,7 @@ export type PublicationOperations = { canMirror: TriStateValue; canQuote: TriStateValue; hasMirrored: boolean; + hasQuoted: boolean; canCollect: TriStateValue; hasUpvoted: boolean; hasDownvoted: boolean; @@ -8667,6 +8705,7 @@ export const FragmentPublicationOperations = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -34073,6 +34112,7 @@ export const FragmentPost = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -39391,6 +39431,7 @@ export const FragmentQuoteFields = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -44764,6 +44805,7 @@ export const FragmentCommentFields = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -50810,6 +50852,7 @@ export const FragmentQuote = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -57480,6 +57523,7 @@ export const FragmentExplorePublication = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -64254,6 +64298,7 @@ export const FragmentComment = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -70974,6 +71019,7 @@ export const FragmentMirror = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -78818,6 +78864,7 @@ export const FragmentFeedItem = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -85694,6 +85741,7 @@ export const FragmentFeedHighlight = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -94458,6 +94506,7 @@ export const FragmentOpenActionPaidAction = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -101292,6 +101341,7 @@ export const FragmentAnyPublicationInternal = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -110555,6 +110605,7 @@ export const FragmentReactionNotification = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -117391,6 +117442,7 @@ export const FragmentCommentNotification = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -125140,6 +125192,7 @@ export const FragmentMirrorNotification = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -131955,6 +132008,7 @@ export const FragmentQuoteNotification = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -139982,6 +140036,7 @@ export const FragmentActedNotification = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -147886,6 +147941,7 @@ export const FragmentMentionNotification = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -154835,6 +154891,7 @@ export const FragmentNotification = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -165352,6 +165409,7 @@ export const FragmentPublicationRevenue = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -173406,6 +173464,7 @@ export const ExplorePublicationsDocument = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -181568,6 +181627,7 @@ export const FeedDocument = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -188640,6 +188700,7 @@ export const FeedHighlightsDocument = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -195701,6 +195762,7 @@ export const LatestPaidActionsDocument = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -204828,6 +204890,7 @@ export const NotificationsDocument = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -225071,6 +225134,7 @@ export const PublicationDocument = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -232169,6 +232233,7 @@ export const PublicationsDocument = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -239494,6 +239559,7 @@ export const PublicationBookmarksDocument = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -251483,6 +251549,7 @@ export const RevenueFromPublicationsDocument = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -258579,6 +258646,7 @@ export const RevenueFromPublicationDocument = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -266011,6 +266079,7 @@ export const SearchPublicationsDocument = /*#__PURE__*/ { { kind: 'Field', name: { kind: 'Name', value: 'canMirror' } }, { kind: 'Field', name: { kind: 'Name', value: 'canQuote' } }, { kind: 'Field', name: { kind: 'Name', value: 'hasMirrored' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasQuoted' } }, { kind: 'Field', name: { kind: 'Name', value: 'canDecrypt' }, @@ -276553,6 +276622,29 @@ export type DidReactOnPublicationResultFieldPolicy = { publicationId?: FieldPolicy | FieldReadFunction; result?: FieldPolicy | FieldReadFunction; }; +export type DisputedReportKeySpecifier = ( + | 'createdAt' + | 'disputeReason' + | 'disputer' + | 'reportAdditionalInfo' + | 'reportReason' + | 'reportSubreason' + | 'reportedProfile' + | 'reportedPublication' + | 'reporter' + | DisputedReportKeySpecifier +)[]; +export type DisputedReportFieldPolicy = { + createdAt?: FieldPolicy | FieldReadFunction; + disputeReason?: FieldPolicy | FieldReadFunction; + disputer?: FieldPolicy | FieldReadFunction; + reportAdditionalInfo?: FieldPolicy | FieldReadFunction; + reportReason?: FieldPolicy | FieldReadFunction; + reportSubreason?: FieldPolicy | FieldReadFunction; + reportedProfile?: FieldPolicy | FieldReadFunction; + reportedPublication?: FieldPolicy | FieldReadFunction; + reporter?: FieldPolicy | FieldReadFunction; +}; export type EIP712TypedDataDomainKeySpecifier = ( | 'chainId' | 'name' @@ -276812,6 +276904,11 @@ export type FollowStatusBulkResultFieldPolicy = { profileId?: FieldPolicy | FieldReadFunction; status?: FieldPolicy | FieldReadFunction; }; +export type ForYouResultKeySpecifier = ('publication' | 'source' | ForYouResultKeySpecifier)[]; +export type ForYouResultFieldPolicy = { + publication?: FieldPolicy | FieldReadFunction; + source?: FieldPolicy | FieldReadFunction; +}; export type FrameLensManagerSignatureResultKeySpecifier = ( | 'signature' | 'signedTypedData' @@ -277423,6 +277520,25 @@ export type ModFollowerResultFieldPolicy = { follower?: FieldPolicy | FieldReadFunction; following?: FieldPolicy | FieldReadFunction; }; +export type ModReportKeySpecifier = ( + | 'additionalInfo' + | 'createdAt' + | 'reason' + | 'reportedProfile' + | 'reportedPublication' + | 'reporter' + | 'subreason' + | ModReportKeySpecifier +)[]; +export type ModReportFieldPolicy = { + additionalInfo?: FieldPolicy | FieldReadFunction; + createdAt?: FieldPolicy | FieldReadFunction; + reason?: FieldPolicy | FieldReadFunction; + reportedProfile?: FieldPolicy | FieldReadFunction; + reportedPublication?: FieldPolicy | FieldReadFunction; + reporter?: FieldPolicy | FieldReadFunction; + subreason?: FieldPolicy | FieldReadFunction; +}; export type ModuleInfoKeySpecifier = ('name' | 'type' | ModuleInfoKeySpecifier)[]; export type ModuleInfoFieldPolicy = { name?: FieldPolicy | FieldReadFunction; @@ -277648,6 +277764,7 @@ export type MutationKeySpecifier = ( | 'internalBoostProfile' | 'internalClaim' | 'internalCuratedUpdate' + | 'internalForYouFeed' | 'internalMintHandleAndProfile' | 'internalNftIndex' | 'internalNftVerify' @@ -277659,6 +277776,7 @@ export type MutationKeySpecifier = ( | 'linkHandleToProfile' | 'mirrorOnMomoka' | 'mirrorOnchain' + | 'modDisputeReport' | 'nftOwnershipChallenge' | 'peerToPeerRecommend' | 'peerToPeerUnrecommend' @@ -277738,6 +277856,7 @@ export type MutationFieldPolicy = { internalBoostProfile?: FieldPolicy | FieldReadFunction; internalClaim?: FieldPolicy | FieldReadFunction; internalCuratedUpdate?: FieldPolicy | FieldReadFunction; + internalForYouFeed?: FieldPolicy | FieldReadFunction; internalMintHandleAndProfile?: FieldPolicy | FieldReadFunction; internalNftIndex?: FieldPolicy | FieldReadFunction; internalNftVerify?: FieldPolicy | FieldReadFunction; @@ -277749,6 +277868,7 @@ export type MutationFieldPolicy = { linkHandleToProfile?: FieldPolicy | FieldReadFunction; mirrorOnMomoka?: FieldPolicy | FieldReadFunction; mirrorOnchain?: FieldPolicy | FieldReadFunction; + modDisputeReport?: FieldPolicy | FieldReadFunction; nftOwnershipChallenge?: FieldPolicy | FieldReadFunction; peerToPeerRecommend?: FieldPolicy | FieldReadFunction; peerToPeerUnrecommend?: FieldPolicy | FieldReadFunction; @@ -277954,6 +278074,15 @@ export type PaginatedCurrenciesResultFieldPolicy = { items?: FieldPolicy | FieldReadFunction; pageInfo?: FieldPolicy | FieldReadFunction; }; +export type PaginatedDisputedReportsKeySpecifier = ( + | 'items' + | 'pageInfo' + | PaginatedDisputedReportsKeySpecifier +)[]; +export type PaginatedDisputedReportsFieldPolicy = { + items?: FieldPolicy | FieldReadFunction; + pageInfo?: FieldPolicy | FieldReadFunction; +}; export type PaginatedExplorePublicationResultKeySpecifier = ( | 'items' | 'pageInfo' @@ -277981,6 +278110,15 @@ export type PaginatedFeedResultFieldPolicy = { items?: FieldPolicy | FieldReadFunction; pageInfo?: FieldPolicy | FieldReadFunction; }; +export type PaginatedForYouResultKeySpecifier = ( + | 'items' + | 'pageInfo' + | PaginatedForYouResultKeySpecifier +)[]; +export type PaginatedForYouResultFieldPolicy = { + items?: FieldPolicy | FieldReadFunction; + pageInfo?: FieldPolicy | FieldReadFunction; +}; export type PaginatedHandlesResultKeySpecifier = ( | 'items' | 'pageInfo' @@ -278008,6 +278146,15 @@ export type PaginatedModFollowersResultFieldPolicy = { items?: FieldPolicy | FieldReadFunction; pageInfo?: FieldPolicy | FieldReadFunction; }; +export type PaginatedModReportsKeySpecifier = ( + | 'items' + | 'pageInfo' + | PaginatedModReportsKeySpecifier +)[]; +export type PaginatedModReportsFieldPolicy = { + items?: FieldPolicy | FieldReadFunction; + pageInfo?: FieldPolicy | FieldReadFunction; +}; export type PaginatedNftCollectionsResultKeySpecifier = ( | 'items' | 'pageInfo' @@ -278657,6 +278804,7 @@ export type QueryKeySpecifier = ( | 'followStatusBulk' | 'followers' | 'following' + | 'forYou' | 'generateLensAPIRelayAddress' | 'generateModuleCurrencyApprovalData' | 'handleToAddress' @@ -278674,8 +278822,10 @@ export type QueryKeySpecifier = ( | 'lensAPIOwnedEOAs' | 'lensProtocolVersion' | 'lensTransactionStatus' + | 'modDisputedReports' | 'modExplorePublications' | 'modFollowers' + | 'modLatestReports' | 'moduleMetadata' | 'momokaSubmitters' | 'momokaSummary' @@ -278749,6 +278899,7 @@ export type QueryFieldPolicy = { followStatusBulk?: FieldPolicy | FieldReadFunction; followers?: FieldPolicy | FieldReadFunction; following?: FieldPolicy | FieldReadFunction; + forYou?: FieldPolicy | FieldReadFunction; generateLensAPIRelayAddress?: FieldPolicy | FieldReadFunction; generateModuleCurrencyApprovalData?: FieldPolicy | FieldReadFunction; handleToAddress?: FieldPolicy | FieldReadFunction; @@ -278766,8 +278917,10 @@ export type QueryFieldPolicy = { lensAPIOwnedEOAs?: FieldPolicy | FieldReadFunction; lensProtocolVersion?: FieldPolicy | FieldReadFunction; lensTransactionStatus?: FieldPolicy | FieldReadFunction; + modDisputedReports?: FieldPolicy | FieldReadFunction; modExplorePublications?: FieldPolicy | FieldReadFunction; modFollowers?: FieldPolicy | FieldReadFunction; + modLatestReports?: FieldPolicy | FieldReadFunction; moduleMetadata?: FieldPolicy | FieldReadFunction; momokaSubmitters?: FieldPolicy | FieldReadFunction; momokaSummary?: FieldPolicy | FieldReadFunction; @@ -280077,6 +280230,10 @@ export type StrictTypedTypePolicies = { | (() => undefined | DidReactOnPublicationResultKeySpecifier); fields?: DidReactOnPublicationResultFieldPolicy; }; + DisputedReport?: Omit & { + keyFields?: false | DisputedReportKeySpecifier | (() => undefined | DisputedReportKeySpecifier); + fields?: DisputedReportFieldPolicy; + }; EIP712TypedDataDomain?: Omit & { keyFields?: | false @@ -280233,6 +280390,10 @@ export type StrictTypedTypePolicies = { | (() => undefined | FollowStatusBulkResultKeySpecifier); fields?: FollowStatusBulkResultFieldPolicy; }; + ForYouResult?: Omit & { + keyFields?: false | ForYouResultKeySpecifier | (() => undefined | ForYouResultKeySpecifier); + fields?: ForYouResultFieldPolicy; + }; FrameLensManagerSignatureResult?: Omit & { keyFields?: | false @@ -280473,6 +280634,10 @@ export type StrictTypedTypePolicies = { | (() => undefined | ModFollowerResultKeySpecifier); fields?: ModFollowerResultFieldPolicy; }; + ModReport?: Omit & { + keyFields?: false | ModReportKeySpecifier | (() => undefined | ModReportKeySpecifier); + fields?: ModReportFieldPolicy; + }; ModuleInfo?: Omit & { keyFields?: false | ModuleInfoKeySpecifier | (() => undefined | ModuleInfoKeySpecifier); fields?: ModuleInfoFieldPolicy; @@ -280654,6 +280819,13 @@ export type StrictTypedTypePolicies = { | (() => undefined | PaginatedCurrenciesResultKeySpecifier); fields?: PaginatedCurrenciesResultFieldPolicy; }; + PaginatedDisputedReports?: Omit & { + keyFields?: + | false + | PaginatedDisputedReportsKeySpecifier + | (() => undefined | PaginatedDisputedReportsKeySpecifier); + fields?: PaginatedDisputedReportsFieldPolicy; + }; PaginatedExplorePublicationResult?: Omit & { keyFields?: | false @@ -280675,6 +280847,13 @@ export type StrictTypedTypePolicies = { | (() => undefined | PaginatedFeedResultKeySpecifier); fields?: PaginatedFeedResultFieldPolicy; }; + PaginatedForYouResult?: Omit & { + keyFields?: + | false + | PaginatedForYouResultKeySpecifier + | (() => undefined | PaginatedForYouResultKeySpecifier); + fields?: PaginatedForYouResultFieldPolicy; + }; PaginatedHandlesResult?: Omit & { keyFields?: | false @@ -280696,6 +280875,13 @@ export type StrictTypedTypePolicies = { | (() => undefined | PaginatedModFollowersResultKeySpecifier); fields?: PaginatedModFollowersResultFieldPolicy; }; + PaginatedModReports?: Omit & { + keyFields?: + | false + | PaginatedModReportsKeySpecifier + | (() => undefined | PaginatedModReportsKeySpecifier); + fields?: PaginatedModReportsFieldPolicy; + }; PaginatedNftCollectionsResult?: Omit & { keyFields?: | false @@ -281296,6 +281482,7 @@ const result: PossibleTypesResultData = { PaidAction: ['FollowPaidAction', 'OpenActionPaidAction'], PrimaryPublication: ['Comment', 'Post', 'Quote'], ProfilePicture: ['ImageSet', 'NftImage'], + PublicationForYou: ['Post', 'Quote'], PublicationMetadata: [ 'ArticleMetadataV3', 'AudioMetadataV3',