2023-12-05 22:18:45 +08:00
|
|
|
import { gql } from '@apollo/client';
|
|
|
|
|
|
|
|
export const UPDATE_CONNECTION_ALIVE_AT = gql`
|
2024-03-06 06:33:31 +08:00
|
|
|
mutation UpdateConnectionAliveAt {
|
|
|
|
userSetConnectionAlive
|
2023-12-05 22:18:45 +08:00
|
|
|
}`;
|
|
|
|
|
2024-03-06 06:33:31 +08:00
|
|
|
export const UPDATE_USER_CLIENT_RTT = gql`
|
|
|
|
mutation UpdateConnectionRtt($networkRttInMs: Float!) {
|
|
|
|
userSetConnectionRtt(
|
|
|
|
networkRttInMs: $networkRttInMs
|
|
|
|
)
|
2023-12-05 22:18:45 +08:00
|
|
|
}`;
|
|
|
|
|
|
|
|
export default {
|
|
|
|
UPDATE_CONNECTION_ALIVE_AT,
|
2024-03-06 06:33:31 +08:00
|
|
|
UPDATE_USER_CLIENT_RTT,
|
2023-12-05 22:18:45 +08:00
|
|
|
};
|