feat: adding automatic setup pre-moderated cards

Use _add_base_cards to create or use already created cards
This commit is contained in:
IgorVolochay
2025-03-04 17:20:08 +03:00
parent f147512d60
commit 62d085b898
4 changed files with 228 additions and 1 deletions
+152
View File
@@ -0,0 +1,152 @@
[
{
"card_id": 1,
"choice_A": "Котики",
"choice_B": "Собачки",
"count_choice_A": 0,
"count_choice_B": 0,
"count_total": 0,
"count_likes": 0,
"count_dislikes": 0,
"comments": [],
"author_id": 1,
"creation_date": "2025-03-04T16:56:05.290110",
"moderation_date": "2025-03-04T16:56:05.290143",
"active_status": true
},
{
"card_id": 2,
"choice_A": "Чай",
"choice_B": "Кофе",
"count_choice_A": 0,
"count_choice_B": 0,
"count_total": 0,
"count_likes": 0,
"count_dislikes": 0,
"comments": [],
"author_id": 1,
"creation_date": "2025-03-04T16:56:11.108762",
"moderation_date": "2025-03-04T16:56:11.108793",
"active_status": true
},
{
"card_id": 3,
"choice_A": "Поездка в горы",
"choice_B": "Поездка на море",
"count_choice_A": 0,
"count_choice_B": 0,
"count_total": 0,
"count_likes": 0,
"count_dislikes": 0,
"comments": [],
"author_id": 1,
"creation_date": "2025-03-04T16:56:25.062542",
"moderation_date": "2025-03-04T16:56:25.062586",
"active_status": true
},
{
"card_id": 4,
"choice_A": "День",
"choice_B": "Ночь",
"count_choice_A": 0,
"count_choice_B": 0,
"count_total": 0,
"count_likes": 0,
"count_dislikes": 0,
"comments": [],
"author_id": 1,
"creation_date": "2025-03-04T16:56:34.148692",
"moderation_date": "2025-03-04T16:56:34.148725",
"active_status": true
},
{
"card_id": 5,
"choice_A": "Работать в офисе",
"choice_B": "Работать удалённо",
"count_choice_A": 0,
"count_choice_B": 0,
"count_total": 0,
"count_likes": 0,
"count_dislikes": 0,
"comments": [],
"author_id": 1,
"creation_date": "2025-03-04T16:57:00.723472",
"moderation_date": "2025-03-04T16:57:00.723518",
"active_status": true
},
{
"card_id": 6,
"choice_A": "Заниматься спортом",
"choice_B": "Играть в видеоигры",
"count_choice_A": 0,
"count_choice_B": 0,
"count_total": 0,
"count_likes": 0,
"count_dislikes": 0,
"comments": [],
"author_id": 1,
"creation_date": "2025-03-04T16:57:31.524721",
"moderation_date": "2025-03-04T16:57:31.524754",
"active_status": true
},
{
"card_id": 7,
"choice_A": "Гулять",
"choice_B": "Сидеть дома",
"count_choice_A": 0,
"count_choice_B": 0,
"count_total": 0,
"count_likes": 0,
"count_dislikes": 0,
"comments": [],
"author_id": 1,
"creation_date": "2025-03-04T16:57:52.022380",
"moderation_date": "2025-03-04T16:57:52.022413",
"active_status": true
},
{
"card_id": 8,
"choice_A": "Посмотреть фильм",
"choice_B": "Почитать книжку",
"count_choice_A": 0,
"count_choice_B": 0,
"count_total": 0,
"count_likes": 0,
"count_dislikes": 0,
"comments": [],
"author_id": 1,
"creation_date": "2025-03-04T16:58:15.032749",
"moderation_date": "2025-03-04T16:58:15.032762",
"active_status": true
},
{
"card_id": 9,
"choice_A": "Зима",
"choice_B": "Лето",
"count_choice_A": 0,
"count_choice_B": 0,
"count_total": 0,
"count_likes": 0,
"count_dislikes": 0,
"comments": [],
"author_id": 1,
"creation_date": "2025-03-04T16:58:24.800416",
"moderation_date": "2025-03-04T16:58:24.800450",
"active_status": true
},
{
"card_id": 10,
"choice_A": "Лучший друг/подруга",
"choice_B": "Любимый человек",
"count_choice_A": 0,
"count_choice_B": 0,
"count_total": 0,
"count_likes": 0,
"count_dislikes": 0,
"comments": [],
"author_id": 1,
"creation_date": "2025-03-04T16:59:05.265795",
"moderation_date": "2025-03-04T16:59:05.265829",
"active_status": true
}
]