require "#{__dir__}/setup"
ShareBoard.setup(force: true)
ShareBoard::Room.mock
tp ShareBoard::User
tp ShareBoard::Room
tp ShareBoard::Battle
tp ShareBoard::Membership
tp ShareBoard::Roomship
tp ShareBoard::MessageScope
tp ShareBoard::ChatMessage
# >> |----+-------+-------------------+---------------------------+---------------------------+---------------------|
# >> | id | name  | memberships_count | created_at                | updated_at                | chat_messages_count |
# >> |----+-------+-------------------+---------------------------+---------------------------+---------------------|
# >> |  1 | alice |                 1 | 2025-08-05 15:51:03 +0900 | 2025-08-05 15:51:03 +0900 |                   0 |
# >> |  2 | bob   |                 1 | 2025-08-05 15:51:03 +0900 | 2025-08-05 15:51:03 +0900 |                   0 |
# >> |  3 | carol |                 1 | 2025-08-05 15:51:03 +0900 | 2025-08-05 15:51:03 +0900 |                   0 |
# >> |----+-------+-------------------+---------------------------+---------------------------+---------------------|
# >> |----+-----------+---------------+---------------------------+---------------------------+---------------------|
# >> | id | key       | battles_count | created_at                | updated_at                | chat_messages_count |
# >> |----+-----------+---------------+---------------------------+---------------------------+---------------------|
# >> |  1 | dev_room1 |             1 | 2025-08-05 15:51:03 +0900 | 2025-08-05 15:51:03 +0900 |                   0 |
# >> |----+-----------+---------------+---------------------------+---------------------------+---------------------|
# >> |----+---------+----------------------------------+-------+----------------------------------------------------------------------------------------------------------+------+-----------------+----------+---------------------------+---------------------------|
# >> | id | room_id | key                              | title | sfen                                                                                                     | turn | win_location_id | position | created_at                | updated_at                |
# >> |----+---------+----------------------------------+-------+----------------------------------------------------------------------------------------------------------+------+-----------------+----------+---------------------------+---------------------------|
# >> |  1 |       1 | 9c2631912a10271d09bc0c95793c12fa |       | position sfen lnsgkgsnl/1r5b1/ppppppppp/9/9/9/PPPPPPPPP/1B5R1/LNSGKGSNL b - 1 moves 7g7f 3c3d 8h2b+ 3a2b |    4 |               1 |        0 | 2025-08-05 15:51:03 +0900 | 2025-08-05 15:51:03 +0900 |
# >> |----+---------+----------------------------------+-------+----------------------------------------------------------------------------------------------------------+------+-----------------+----------+---------------------------+---------------------------|
# >> |----+-----------+---------+----------+-------------+----------+---------------------------+---------------------------|
# >> | id | battle_id | user_id | judge_id | location_id | position | created_at                | updated_at                |
# >> |----+-----------+---------+----------+-------------+----------+---------------------------+---------------------------|
# >> |  1 |         1 |       1 |        1 |           1 |        0 | 2025-08-05 15:51:03 +0900 | 2025-08-05 15:51:03 +0900 |
# >> |  2 |         1 |       2 |        2 |           2 |        1 | 2025-08-05 15:51:03 +0900 | 2025-08-05 15:51:03 +0900 |
# >> |  3 |         1 |       3 |        1 |           1 |        2 | 2025-08-05 15:51:03 +0900 | 2025-08-05 15:51:03 +0900 |
# >> |----+-----------+---------+----------+-------------+----------+---------------------------+---------------------------|
# >> |----+---------+---------+-----------+------------+---------------+----------+-------+------+---------------------------+---------------------------|
# >> | id | room_id | user_id | win_count | lose_count | battles_count | win_rate | score | rank | created_at                | updated_at                |
# >> |----+---------+---------+-----------+------------+---------------+----------+-------+------+---------------------------+---------------------------|
# >> |  1 |       1 |       1 |         1 |          0 |             1 |      1.0 |     1 |    1 | 2025-08-05 15:51:03 +0900 | 2025-08-05 15:51:03 +0900 |
# >> |  3 |       1 |       3 |         1 |          0 |             1 |      1.0 |     1 |    1 | 2025-08-05 15:51:03 +0900 | 2025-08-05 15:51:03 +0900 |
# >> |  2 |       1 |       2 |         0 |          1 |             1 |      0.0 |     0 |    3 | 2025-08-05 15:51:03 +0900 | 2025-08-05 15:51:03 +0900 |
# >> |----+---------+---------+-----------+------------+---------------+----------+-------+------+---------------------------+---------------------------|
# >> |----+------------+----------+---------------------------+---------------------------|
# >> | id | key        | position | created_at                | updated_at                |
# >> |----+------------+----------+---------------------------+---------------------------|
# >> |  1 | ms_public  |        0 | 2025-08-05 15:51:03 +0900 | 2025-08-05 15:51:03 +0900 |
# >> |  2 | ms_private |        1 | 2025-08-05 15:51:03 +0900 | 2025-08-05 15:51:03 +0900 |
# >> |----+------------+----------+---------------------------+---------------------------|
