Skip to content

Commit

Permalink
feat: temporarily exposes full account metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarenaldi committed Dec 26, 2024
1 parent ac73e01 commit 9827238
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions packages/graphql/src/fragments/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,29 +51,16 @@ export const AccountFragment = graphql(
username{
...Username
}
}`,
[UsernameFragment],
);
export type Account = FragmentOf<typeof AccountFragment>;

export const FullAccountFragment = graphql(
`fragment Account on Account {
__typename
address
score
metadata {
...AccountMetadata
}
username{
...Username
}
operations {
...LoggedInAccountOperations
}
}`,
[AccountMetadataFragment, LoggedInAccountOperationsFragment, UsernameFragment],
);
export type FullAccount = FragmentOf<typeof FullAccountFragment>;
export type Account = FragmentOf<typeof AccountFragment>;

const AccountManagerPermissionsFragment = graphql(
`fragment AccountManagerPermissions on AccountManagerPermissions {
Expand Down

0 comments on commit 9827238

Please sign in to comment.