chore: fix accounts subscription (#2276)
This commit is contained in:
parent
910a3e7a7f
commit
17736cc985
@ -31,6 +31,5 @@ subscription AccountEvents($partyId: ID) {
|
|||||||
balance
|
balance
|
||||||
assetId
|
assetId
|
||||||
marketId
|
marketId
|
||||||
partyId
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
3
libs/accounts/src/lib/__generated__/Accounts.ts
generated
3
libs/accounts/src/lib/__generated__/Accounts.ts
generated
@ -17,7 +17,7 @@ export type AccountEventsSubscriptionVariables = Types.Exact<{
|
|||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type AccountEventsSubscription = { __typename?: 'Subscription', accounts: Array<{ __typename?: 'AccountUpdate', type: Types.AccountType, balance: string, assetId: string, marketId?: string | null, partyId: string }> };
|
export type AccountEventsSubscription = { __typename?: 'Subscription', accounts: Array<{ __typename?: 'AccountUpdate', type: Types.AccountType, balance: string, assetId: string, marketId?: string | null }> };
|
||||||
|
|
||||||
export const AccountFieldsFragmentDoc = gql`
|
export const AccountFieldsFragmentDoc = gql`
|
||||||
fragment AccountFields on AccountBalance {
|
fragment AccountFields on AccountBalance {
|
||||||
@ -83,7 +83,6 @@ export const AccountEventsDocument = gql`
|
|||||||
balance
|
balance
|
||||||
assetId
|
assetId
|
||||||
marketId
|
marketId
|
||||||
partyId
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
@ -26,7 +26,6 @@ describe('getId', () => {
|
|||||||
balance: '1',
|
balance: '1',
|
||||||
assetId: 'assetId',
|
assetId: 'assetId',
|
||||||
marketId: '',
|
marketId: '',
|
||||||
partyId: 'partyId',
|
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
expect(
|
expect(
|
||||||
@ -42,7 +41,6 @@ describe('getId', () => {
|
|||||||
balance: '1',
|
balance: '1',
|
||||||
assetId: 'assetId',
|
assetId: 'assetId',
|
||||||
marketId: 'testId',
|
marketId: 'testId',
|
||||||
partyId: 'partyId',
|
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user