from __future__ import annotations


def kvs_place_members_query() -> str:
    return """
query placeMembers($id: String!) {
  place(id: $id) {
    results {
      id
      members {
        id
        parent_id
        user { id username }
      }
    }
  }
}
""".strip()


def add_user_to_place_mutation() -> str:
    return """
mutation addUserToPlace($account_id: String!, $place_id: String!) {
  addUserToPlace(account_id: $account_id, place_id: $place_id)
}
""".strip()

