"use strict";Object.defineProperty(exports, "__esModule", {value: true});



var _chunk4CV4JOE5js = require('./chunk-4CV4JOE5.js');

// __generated__/ChatRoomMessagesListPaginationQuery.graphql.ts
var node, ChatRoomMessagesListPaginationQuery_graphql_default;
var init_ChatRoomMessagesListPaginationQuery_graphql = _chunk4CV4JOE5js.__esm.call(void 0, {
  "__generated__/ChatRoomMessagesListPaginationQuery.graphql.ts"() {
    "use strict";
    node = /* @__PURE__ */ function() {
      var v0 = [
        {
          "defaultValue": 20,
          "kind": "LocalArgument",
          "name": "count"
        },
        {
          "defaultValue": null,
          "kind": "LocalArgument",
          "name": "cursor"
        },
        {
          "defaultValue": null,
          "kind": "LocalArgument",
          "name": "id"
        }
      ], v1 = [
        {
          "kind": "Variable",
          "name": "id",
          "variableName": "id"
        }
      ], v2 = {
        "alias": null,
        "args": null,
        "kind": "ScalarField",
        "name": "__typename",
        "storageKey": null
      }, v3 = {
        "alias": null,
        "args": null,
        "kind": "ScalarField",
        "name": "id",
        "storageKey": null
      }, v4 = [
        {
          "kind": "Variable",
          "name": "after",
          "variableName": "cursor"
        },
        {
          "kind": "Variable",
          "name": "first",
          "variableName": "count"
        }
      ];
      return {
        "fragment": {
          "argumentDefinitions": v0,
          "kind": "Fragment",
          "metadata": null,
          "name": "ChatRoomMessagesListPaginationQuery",
          "selections": [
            {
              "alias": null,
              "args": v1,
              "concreteType": null,
              "kind": "LinkedField",
              "name": "node",
              "plural": false,
              "selections": [
                {
                  "args": [
                    {
                      "kind": "Variable",
                      "name": "count",
                      "variableName": "count"
                    },
                    {
                      "kind": "Variable",
                      "name": "cursor",
                      "variableName": "cursor"
                    }
                  ],
                  "kind": "FragmentSpread",
                  "name": "MessagesListFragment"
                }
              ],
              "storageKey": null
            }
          ],
          "type": "Query",
          "abstractKey": null
        },
        "kind": "Request",
        "operation": {
          "argumentDefinitions": v0,
          "kind": "Operation",
          "name": "ChatRoomMessagesListPaginationQuery",
          "selections": [
            {
              "alias": null,
              "args": v1,
              "concreteType": null,
              "kind": "LinkedField",
              "name": "node",
              "plural": false,
              "selections": [
                v2,
                v3,
                {
                  "kind": "InlineFragment",
                  "selections": [
                    {
                      "alias": null,
                      "args": null,
                      "kind": "ScalarField",
                      "name": "isGroup",
                      "storageKey": null
                    },
                    {
                      "alias": null,
                      "args": null,
                      "concreteType": "UnreadMessageCount",
                      "kind": "LinkedField",
                      "name": "unreadMessages",
                      "plural": false,
                      "selections": [
                        {
                          "alias": null,
                          "args": null,
                          "kind": "ScalarField",
                          "name": "count",
                          "storageKey": null
                        },
                        {
                          "alias": null,
                          "args": null,
                          "kind": "ScalarField",
                          "name": "markedUnread",
                          "storageKey": null
                        },
                        v3
                      ],
                      "storageKey": null
                    },
                    {
                      "alias": null,
                      "args": v4,
                      "concreteType": "MessageConnection",
                      "kind": "LinkedField",
                      "name": "allMessages",
                      "plural": false,
                      "selections": [
                        {
                          "alias": null,
                          "args": null,
                          "kind": "ScalarField",
                          "name": "totalCount",
                          "storageKey": null
                        },
                        {
                          "alias": null,
                          "args": null,
                          "concreteType": "MessageEdge",
                          "kind": "LinkedField",
                          "name": "edges",
                          "plural": true,
                          "selections": [
                            {
                              "alias": null,
                              "args": null,
                              "concreteType": "Message",
                              "kind": "LinkedField",
                              "name": "node",
                              "plural": false,
                              "selections": [
                                v3,
                                {
                                  "alias": null,
                                  "args": null,
                                  "kind": "ScalarField",
                                  "name": "created",
                                  "storageKey": null
                                },
                                {
                                  "alias": null,
                                  "args": null,
                                  "concreteType": "Profile",
                                  "kind": "LinkedField",
                                  "name": "profile",
                                  "plural": false,
                                  "selections": [
                                    v3,
                                    {
                                      "alias": null,
                                      "args": null,
                                      "kind": "ScalarField",
                                      "name": "name",
                                      "storageKey": null
                                    },
                                    {
                                      "alias": null,
                                      "args": [
                                        {
                                          "kind": "Literal",
                                          "name": "height",
                                          "value": 32
                                        },
                                        {
                                          "kind": "Literal",
                                          "name": "width",
                                          "value": 32
                                        }
                                      ],
                                      "concreteType": "File",
                                      "kind": "LinkedField",
                                      "name": "image",
                                      "plural": false,
                                      "selections": [
                                        {
                                          "alias": null,
                                          "args": null,
                                          "kind": "ScalarField",
                                          "name": "url",
                                          "storageKey": null
                                        }
                                      ],
                                      "storageKey": "image(height:32,width:32)"
                                    }
                                  ],
                                  "storageKey": null
                                },
                                {
                                  "alias": null,
                                  "args": null,
                                  "kind": "ScalarField",
                                  "name": "isRead",
                                  "storageKey": null
                                },
                                {
                                  "alias": null,
                                  "args": null,
                                  "kind": "ScalarField",
                                  "name": "messageType",
                                  "storageKey": null
                                },
                                {
                                  "alias": null,
                                  "args": null,
                                  "kind": "ScalarField",
                                  "name": "content",
                                  "storageKey": null
                                },
                                {
                                  "alias": null,
                                  "args": null,
                                  "kind": "ScalarField",
                                  "name": "deleted",
                                  "storageKey": null
                                },
                                {
                                  "alias": null,
                                  "args": null,
                                  "kind": "ScalarField",
                                  "name": "extraData",
                                  "storageKey": null
                                },
                                {
                                  "alias": null,
                                  "args": null,
                                  "concreteType": "Message",
                                  "kind": "LinkedField",
                                  "name": "inReplyTo",
                                  "plural": false,
                                  "selections": [
                                    v3
                                  ],
                                  "storageKey": null
                                },
                                {
                                  "alias": null,
                                  "args": null,
                                  "kind": "ScalarField",
                                  "name": "pk",
                                  "storageKey": null
                                },
                                {
                                  "alias": null,
                                  "args": null,
                                  "kind": "ScalarField",
                                  "name": "verb",
                                  "storageKey": null
                                },
                                v2
                              ],
                              "storageKey": null
                            },
                            {
                              "alias": null,
                              "args": null,
                              "kind": "ScalarField",
                              "name": "cursor",
                              "storageKey": null
                            }
                          ],
                          "storageKey": null
                        },
                        {
                          "alias": null,
                          "args": null,
                          "concreteType": "PageInfo",
                          "kind": "LinkedField",
                          "name": "pageInfo",
                          "plural": false,
                          "selections": [
                            {
                              "alias": null,
                              "args": null,
                              "kind": "ScalarField",
                              "name": "hasNextPage",
                              "storageKey": null
                            },
                            {
                              "alias": null,
                              "args": null,
                              "kind": "ScalarField",
                              "name": "endCursor",
                              "storageKey": null
                            }
                          ],
                          "storageKey": null
                        }
                      ],
                      "storageKey": null
                    },
                    {
                      "alias": null,
                      "args": v4,
                      "filters": null,
                      "handle": "connection",
                      "key": "chatRoom_allMessages",
                      "kind": "LinkedHandle",
                      "name": "allMessages"
                    }
                  ],
                  "type": "ChatRoom",
                  "abstractKey": null
                }
              ],
              "storageKey": null
            }
          ]
        },
        "params": {
          "cacheID": "4a10782f4d99f578a4791eedc9d33c03",
          "id": null,
          "metadata": {},
          "name": "ChatRoomMessagesListPaginationQuery",
          "operationKind": "query",
          "text": "query ChatRoomMessagesListPaginationQuery(\n  $count: Int = 20\n  $cursor: String\n  $id: ID!\n) {\n  node(id: $id) {\n    __typename\n    ...MessagesListFragment_1G22uz\n    id\n  }\n}\n\nfragment MessageItemFragment on Message {\n  id\n  content\n  created\n  deleted\n  extraData\n  inReplyTo {\n    id\n  }\n  isRead\n  pk\n  profile {\n    id\n  }\n  verb\n}\n\nfragment MessagesListFragment_1G22uz on ChatRoom {\n  id\n  isGroup\n  unreadMessages {\n    count\n    markedUnread\n    id\n  }\n  allMessages(first: $count, after: $cursor) {\n    totalCount\n    edges {\n      node {\n        id\n        created\n        profile {\n          id\n          name\n          image(height: 32, width: 32) {\n            url\n          }\n        }\n        isRead\n        messageType\n        ...MessageItemFragment\n        __typename\n      }\n      cursor\n    }\n    pageInfo {\n      hasNextPage\n      endCursor\n    }\n  }\n}\n"
        }
      };
    }();
    node.hash = "9a3c1fd2e9507a24075ab2654972c7cf";
    ChatRoomMessagesListPaginationQuery_graphql_default = node;
  }
});

// __generated__/MessagesListFragment.graphql.ts
var MessagesListFragment_graphql_exports = {};
_chunk4CV4JOE5js.__export.call(void 0, MessagesListFragment_graphql_exports, {
  default: () => MessagesListFragment_graphql_default
});
var node2, MessagesListFragment_graphql_default;
var init_MessagesListFragment_graphql = _chunk4CV4JOE5js.__esm.call(void 0, {
  "__generated__/MessagesListFragment.graphql.ts"() {
    "use strict";
    init_ChatRoomMessagesListPaginationQuery_graphql();
    node2 = /* @__PURE__ */ function() {
      var v0 = [
        "allMessages"
      ], v1 = {
        "alias": null,
        "args": null,
        "kind": "ScalarField",
        "name": "id",
        "storageKey": null
      };
      return {
        "argumentDefinitions": [
          {
            "defaultValue": 20,
            "kind": "LocalArgument",
            "name": "count"
          },
          {
            "defaultValue": null,
            "kind": "LocalArgument",
            "name": "cursor"
          }
        ],
        "kind": "Fragment",
        "metadata": {
          "connection": [
            {
              "count": "count",
              "cursor": "cursor",
              "direction": "forward",
              "path": v0
            }
          ],
          "refetch": {
            "connection": {
              "forward": {
                "count": "count",
                "cursor": "cursor"
              },
              "backward": null,
              "path": v0
            },
            "fragmentPathInResult": [
              "node"
            ],
            "operation": ChatRoomMessagesListPaginationQuery_graphql_default,
            "identifierInfo": {
              "identifierField": "id",
              "identifierQueryVariableName": "id"
            }
          }
        },
        "name": "MessagesListFragment",
        "selections": [
          v1,
          {
            "alias": null,
            "args": null,
            "kind": "ScalarField",
            "name": "isGroup",
            "storageKey": null
          },
          {
            "alias": null,
            "args": null,
            "concreteType": "UnreadMessageCount",
            "kind": "LinkedField",
            "name": "unreadMessages",
            "plural": false,
            "selections": [
              {
                "alias": null,
                "args": null,
                "kind": "ScalarField",
                "name": "count",
                "storageKey": null
              },
              {
                "alias": null,
                "args": null,
                "kind": "ScalarField",
                "name": "markedUnread",
                "storageKey": null
              }
            ],
            "storageKey": null
          },
          {
            "alias": "allMessages",
            "args": null,
            "concreteType": "MessageConnection",
            "kind": "LinkedField",
            "name": "__chatRoom_allMessages_connection",
            "plural": false,
            "selections": [
              {
                "alias": null,
                "args": null,
                "kind": "ScalarField",
                "name": "totalCount",
                "storageKey": null
              },
              {
                "alias": null,
                "args": null,
                "concreteType": "MessageEdge",
                "kind": "LinkedField",
                "name": "edges",
                "plural": true,
                "selections": [
                  {
                    "alias": null,
                    "args": null,
                    "concreteType": "Message",
                    "kind": "LinkedField",
                    "name": "node",
                    "plural": false,
                    "selections": [
                      v1,
                      {
                        "alias": null,
                        "args": null,
                        "kind": "ScalarField",
                        "name": "created",
                        "storageKey": null
                      },
                      {
                        "alias": null,
                        "args": null,
                        "concreteType": "Profile",
                        "kind": "LinkedField",
                        "name": "profile",
                        "plural": false,
                        "selections": [
                          v1,
                          {
                            "alias": null,
                            "args": null,
                            "kind": "ScalarField",
                            "name": "name",
                            "storageKey": null
                          },
                          {
                            "alias": null,
                            "args": [
                              {
                                "kind": "Literal",
                                "name": "height",
                                "value": 32
                              },
                              {
                                "kind": "Literal",
                                "name": "width",
                                "value": 32
                              }
                            ],
                            "concreteType": "File",
                            "kind": "LinkedField",
                            "name": "image",
                            "plural": false,
                            "selections": [
                              {
                                "alias": null,
                                "args": null,
                                "kind": "ScalarField",
                                "name": "url",
                                "storageKey": null
                              }
                            ],
                            "storageKey": "image(height:32,width:32)"
                          }
                        ],
                        "storageKey": null
                      },
                      {
                        "alias": null,
                        "args": null,
                        "kind": "ScalarField",
                        "name": "isRead",
                        "storageKey": null
                      },
                      {
                        "alias": null,
                        "args": null,
                        "kind": "ScalarField",
                        "name": "messageType",
                        "storageKey": null
                      },
                      {
                        "args": null,
                        "kind": "FragmentSpread",
                        "name": "MessageItemFragment"
                      },
                      {
                        "alias": null,
                        "args": null,
                        "kind": "ScalarField",
                        "name": "__typename",
                        "storageKey": null
                      }
                    ],
                    "storageKey": null
                  },
                  {
                    "alias": null,
                    "args": null,
                    "kind": "ScalarField",
                    "name": "cursor",
                    "storageKey": null
                  }
                ],
                "storageKey": null
              },
              {
                "alias": null,
                "args": null,
                "concreteType": "PageInfo",
                "kind": "LinkedField",
                "name": "pageInfo",
                "plural": false,
                "selections": [
                  {
                    "alias": null,
                    "args": null,
                    "kind": "ScalarField",
                    "name": "hasNextPage",
                    "storageKey": null
                  },
                  {
                    "alias": null,
                    "args": null,
                    "kind": "ScalarField",
                    "name": "endCursor",
                    "storageKey": null
                  }
                ],
                "storageKey": null
              }
            ],
            "storageKey": null
          }
        ],
        "type": "ChatRoom",
        "abstractKey": null
      };
    }();
    node2.hash = "9a3c1fd2e9507a24075ab2654972c7cf";
    MessagesListFragment_graphql_default = node2;
  }
});

// tmp-babel/messages/common/graphql/fragments/MessagesList.js
var _reactrelay = require('react-relay');
var _MessagesListFragment;
var MessagesListFragment = _MessagesListFragment !== void 0 ? _MessagesListFragment : (_MessagesListFragment = (init_MessagesListFragment_graphql(), _chunk4CV4JOE5js.__toCommonJS.call(void 0, MessagesListFragment_graphql_exports)), _MessagesListFragment.hash && _MessagesListFragment.hash !== "9a3c1fd2e9507a24075ab2654972c7cf" && console.error("The definition of 'MessagesListFragment' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _MessagesListFragment);



exports.MessagesListFragment = MessagesListFragment;
//# sourceMappingURL=chunk-5PRZ32KI.js.map