Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes Gasless into sponsor field #532

Merged
merged 2 commits into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 4 additions & 16 deletions packages/client/src/graphql/fragments.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ export type UnknownFollowModuleSettingsFragment = {
contract: NetworkAddressFragment;
};

export type GaslessFragment = { enabled: boolean; relay: NetworkAddressFragment | null };

export type NetworkAddressFragment = { address: string; chainId: string };

export type ImageFragment = {
Expand Down Expand Up @@ -100,12 +98,13 @@ export type ProfileFieldsFragment = {
__typename: 'Profile';
id: string;
handle: string | null;
sponsor: boolean;
lensManager: boolean;
interests: Array<string>;
invitesLeft: number | null;
createdAt: string;
metadata: { rawURI: string; displayName: string | null; bio: string | null } | null;
ownedBy: NetworkAddressFragment;
gasless: GaslessFragment;
followModule:
| FeeFollowModuleSettingsFragment
| RevertFollowModuleSettingsFragment
Expand Down Expand Up @@ -986,15 +985,6 @@ export const NetworkAddressFragmentDoc = gql`
chainId
}
`;
export const GaslessFragmentDoc = gql`
fragment Gasless on Gasless {
enabled
relay {
...NetworkAddress
}
}
${NetworkAddressFragmentDoc}
`;
export const Erc20FragmentDoc = gql`
fragment Erc20 on Erc20 {
name
Expand Down Expand Up @@ -1084,9 +1074,8 @@ export const ProfileFieldsFragmentDoc = gql`
ownedBy {
...NetworkAddress
}
gasless {
...Gasless
}
sponsor
lensManager
followModule {
... on FeeFollowModuleSettings {
...FeeFollowModuleSettings
Expand Down Expand Up @@ -1142,7 +1131,6 @@ export const ProfileFieldsFragmentDoc = gql`
createdAt
}
${NetworkAddressFragmentDoc}
${GaslessFragmentDoc}
${FeeFollowModuleSettingsFragmentDoc}
${RevertFollowModuleSettingsFragmentDoc}
${UnknownFollowModuleSettingsFragmentDoc}
Expand Down
12 changes: 2 additions & 10 deletions packages/client/src/graphql/fragments.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,6 @@ fragment UnknownFollowModuleSettings on UnknownFollowModuleSettings {
followModuleReturnData
}

fragment Gasless on Gasless {
enabled
relay {
...NetworkAddress
}
}

fragment NetworkAddress on NetworkAddress {
address
chainId
Expand Down Expand Up @@ -199,9 +192,8 @@ fragment ProfileFields on Profile {
ownedBy {
...NetworkAddress
}
gasless {
...Gasless
}
sponsor
lensManager
followModule {
... on FeeFollowModuleSettings {
...FeeFollowModuleSettings
Expand Down
1 change: 0 additions & 1 deletion packages/client/src/graphql/types.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,6 @@ export enum ImageMimeType {
Jpeg = 'JPEG',
Jpg = 'JPG',
Png = 'PNG',
Svg = 'SVG',
SvgXml = 'SVG_XML',
Tiff = 'TIFF',
Webp = 'WEBP',
Expand Down
Loading