Files
mattermost-mobile/app/client/graphQL/constants.ts
Daniel Espino García bae5477b35 Graph QL POC (#6024)
* First approach

* Lint

* Fixes and adding monitoring console statements (to be removed later)

* Add pagination and apply graphQL also to login

* Get all entry points to use the same GQL call

* Unify gql handling

* Use graphQL on websocket reconnect

* Handle latest changes regarding categories

* Use graphQL to properly fetch channel members on other servers

* Remove logs and fetch unreads from other teams

* Minor fixes

* Final fixes

* Address feedback, minor refactoring, and fixes around the refactor

* Fix custom status duration types

* Add missing fields and some reordering

* Add timeout to fetch posts for unread channels
2022-07-29 16:28:32 +02:00

17 lines
519 B
TypeScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
export const QUERY_ENTRY = 'gql_m_entry';
export const QUERY_CHANNELS = 'gql_m_channels';
export const QUERY_CHANNELS_NEXT = 'gql_m_channels_next';
export const QUERY_ALL_CHANNELS = 'gql_m_all_channels';
export const QUERY_ALL_CHANNELS_NEXT = 'gql_m_all_channels_next';
export default {
QUERY_ENTRY,
QUERY_CHANNELS,
QUERY_CHANNELS_NEXT,
QUERY_ALL_CHANNELS,
QUERY_ALL_CHANNELS_NEXT,
};