Initial working version with minor bugs

This commit is contained in:
badblocks 2025-02-26 00:06:42 -08:00
parent f946e4933a
commit 71b3993326
83 changed files with 34485 additions and 173 deletions

102
seed/0001_Rarity.json Normal file
View file

@ -0,0 +1,102 @@
[
{
"model": "cards.rarity",
"pk": 1,
"fields": {
"icons": "🔷",
"name": "Common",
"created_at": "2025-02-16T06:54:40.993Z",
"updated_at": "2025-02-16T06:54:40.993Z"
}
},
{
"model": "cards.rarity",
"pk": 2,
"fields": {
"icons": "🔷🔷",
"name": "Uncommon",
"created_at": "2025-02-16T06:54:44.213Z",
"updated_at": "2025-02-16T06:54:44.213Z"
}
},
{
"model": "cards.rarity",
"pk": 3,
"fields": {
"icons": "🔷🔷🔷",
"name": "Rare",
"created_at": "2025-02-16T06:54:47.297Z",
"updated_at": "2025-02-16T06:54:47.297Z"
}
},
{
"model": "cards.rarity",
"pk": 4,
"fields": {
"icons": "🔷🔷🔷🔷",
"name": "Double Rare",
"created_at": "2025-02-16T06:54:50.363Z",
"updated_at": "2025-02-16T06:54:50.363Z"
}
},
{
"model": "cards.rarity",
"pk": 5,
"fields": {
"icons": "⭐️",
"name": "Full Art Rare",
"created_at": "2025-02-16T06:54:59.888Z",
"updated_at": "2025-02-16T06:54:59.888Z"
}
},
{
"model": "cards.rarity",
"pk": 6,
"fields": {
"icons": "⭐️⭐️",
"name": "Super Rare",
"created_at": "2025-02-16T06:55:02.853Z",
"updated_at": "2025-02-16T06:55:02.853Z"
}
},
{
"model": "cards.rarity",
"pk": 7,
"fields": {
"icons": "🌟🌟",
"name": "Special Art Rare",
"created_at": "2025-02-16T06:55:02.853Z",
"updated_at": "2025-02-16T06:55:02.853Z"
}
},
{
"model": "cards.rarity",
"pk": 8,
"fields": {
"icons": "⭐️⭐️⭐️",
"name": "Immersive Rare",
"created_at": "2025-02-16T06:55:05.728Z",
"updated_at": "2025-02-16T06:55:05.728Z"
}
},
{
"model": "cards.rarity",
"pk": 9,
"fields": {
"icons": "👑",
"name": "Crown Rare",
"created_at": "2025-02-16T06:55:13.907Z",
"updated_at": "2025-02-16T06:55:13.907Z"
}
},
{
"model": "cards.rarity",
"pk": 10,
"fields": {
"icons": "🅿️",
"name": "Promo",
"created_at": "2025-02-16T06:55:13.907Z",
"updated_at": "2025-02-16T06:55:13.907Z"
}
}
]

38
seed/0002_CardSet.json Normal file
View file

@ -0,0 +1,38 @@
[
{
"model": "cards.cardset",
"pk": 1,
"fields": {
"name": "Promo-A",
"created_at": "2025-02-16T07:54:38.986Z",
"updated_at": "2025-02-16T07:54:38.986Z"
}
},
{
"model": "cards.cardset",
"pk": 2,
"fields": {
"name": "A1",
"created_at": "2025-02-16T07:54:04.325Z",
"updated_at": "2025-02-16T07:54:04.325Z"
}
},
{
"model": "cards.cardset",
"pk": 3,
"fields": {
"name": "A1a",
"created_at": "2025-02-16T07:54:08.471Z",
"updated_at": "2025-02-16T07:54:08.471Z"
}
},
{
"model": "cards.cardset",
"pk": 4,
"fields": {
"name": "A2",
"created_at": "2025-02-16T07:54:11.435Z",
"updated_at": "2025-02-16T07:54:11.435Z"
}
}
]

79
seed/0003_Decks.json Normal file
View file

@ -0,0 +1,79 @@
[
{
"model": "cards.deck",
"pk": 1,
"fields": {
"name": "Promo-A",
"cardset": 1,
"hex_color": "#1070EB",
"created_at": "2025-02-16T07:55:34.988Z",
"updated_at": "2025-02-16T07:55:34.988Z"
}
},
{
"model": "cards.deck",
"pk": 2,
"fields": {
"name": "Genetic Apex: Mewtwo",
"cardset": 2,
"hex_color": "#8040E0",
"created_at": "2025-02-16T07:54:57.445Z",
"updated_at": "2025-02-16T07:54:57.445Z"
}
},
{
"model": "cards.deck",
"pk": 3,
"fields": {
"name": "Genetic Apex: Charizard",
"cardset": 2,
"hex_color": "#E00202",
"created_at": "2025-02-16T07:54:52.381Z",
"updated_at": "2025-02-16T07:54:52.381Z"
}
},
{
"model": "cards.deck",
"pk": 4,
"fields": {
"name": "Genetic Apex: Pikachu",
"cardset": 2,
"hex_color": "#EB8600",
"created_at": "2025-02-16T07:55:05.097Z",
"updated_at": "2025-02-16T07:55:05.097Z"
}
},
{
"model": "cards.deck",
"pk": 5,
"fields": {
"name": "Mythical Island",
"cardset": 3,
"hex_color": "#20AA80",
"created_at": "2025-02-16T07:55:11.916Z",
"updated_at": "2025-02-16T07:55:11.916Z"
}
},
{
"model": "cards.deck",
"pk": 6,
"fields": {
"name": "Space-Time Smackdown: Dialga",
"cardset": 4,
"hex_color": "#302FD9",
"created_at": "2025-02-16T07:55:17.582Z",
"updated_at": "2025-02-16T07:55:17.582Z"
}
},
{
"model": "cards.deck",
"pk": 7,
"fields": {
"name": "Space-Time Smackdown: Palkia",
"cardset": 4,
"hex_color": "#CF36E0",
"created_at": "2025-02-16T07:55:27.503Z",
"updated_at": "2025-02-16T07:55:27.503Z"
}
}
]

7529
seed/0004_Cards.json Normal file

File diff suppressed because it is too large Load diff

38
seed/0005_TestUsers.json Normal file
View file

@ -0,0 +1,38 @@
[
{
"model": "accounts.customuser",
"pk": 1,
"fields": {
"password": "pbkdf2_sha256$870000$V4NrlZBJxsPJFIeGf2lrc3$tpkNJJtmZ9mE6i2FXE0tdk9MlL/CUmbcERLFgmp+x8s=",
"last_login": "2025-02-20T08:53:07.044Z",
"is_superuser": true,
"username": "admin",
"first_name": "",
"last_name": "",
"email": "rob@badblocks.email",
"is_staff": true,
"is_active": true,
"date_joined": "2025-02-20T08:31:16.678Z",
"groups": [],
"user_permissions": []
}
},
{
"model": "accounts.customuser",
"pk": 2,
"fields": {
"password": "pbkdf2_sha256$870000$V4NrlZBJxsPJFIeGf2lrc3$tpkNJJtmZ9mE6i2FXE0tdk9MlL/CUmbcERLFgmp+x8s=",
"last_login": "2025-02-20T09:01:59.008Z",
"is_superuser": false,
"username": "test",
"first_name": "",
"last_name": "",
"email": "nathanward2016@gmail.com",
"is_staff": false,
"is_active": true,
"date_joined": "2025-02-20T09:01:58.289Z",
"groups": [],
"user_permissions": []
}
}
]

View file

@ -0,0 +1,42 @@
[
{
"model": "friend_codes.friendcode",
"pk": 1,
"fields": {
"friend_code": "3595-6375-9151-8459",
"user": 1,
"created_at": "2025-02-20T08:57:33.268Z",
"updated_at": "2025-02-20T08:57:33.268Z"
}
},
{
"model": "friend_codes.friendcode",
"pk": 2,
"fields": {
"friend_code": "4863-0754-2764-1890",
"user": 1,
"created_at": "2025-02-20T08:58:11.912Z",
"updated_at": "2025-02-20T08:58:11.912Z"
}
},
{
"model": "friend_codes.friendcode",
"pk": 3,
"fields": {
"friend_code": "1020-0576-9371-6042",
"user": 2,
"created_at": "2025-02-20T08:57:33.268Z",
"updated_at": "2025-02-20T08:57:33.268Z"
}
},
{
"model": "friend_codes.friendcode",
"pk": 4,
"fields": {
"friend_code": "8358-5883-3807-6654",
"user": 2,
"created_at": "2025-02-20T08:58:11.912Z",
"updated_at": "2025-02-20T08:58:11.912Z"
}
}
]

View file

@ -0,0 +1,234 @@
[
{
"model": "trades.tradeoffer",
"pk": 1,
"fields": {
"hash": "c4ca4238",
"initiated_by": 1,
"accepted_by": null,
"created_at": "2025-02-26T06:26:31.024Z",
"updated_at": "2025-02-26T06:26:31.024Z",
"state": "INITIATED",
"want_cards": [
188,
312,
501
],
"have_cards": [
55,
117,
481
]
}
},
{
"model": "trades.tradeoffer",
"pk": 2,
"fields": {
"hash": "c81e728d",
"initiated_by": 2,
"accepted_by": null,
"created_at": "2025-02-26T06:29:06.154Z",
"updated_at": "2025-02-26T06:29:06.154Z",
"state": "INITIATED",
"want_cards": [
17,
417
],
"have_cards": [
91,
524
]
}
},
{
"model": "trades.tradeoffer",
"pk": 3,
"fields": {
"hash": "eccbc87e",
"initiated_by": 3,
"accepted_by": null,
"created_at": "2025-02-26T06:29:55.322Z",
"updated_at": "2025-02-26T06:50:58.181Z",
"state": "INITIATED",
"want_cards": [
275,
370
],
"have_cards": [
575
]
}
},
{
"model": "trades.tradeoffer",
"pk": 4,
"fields": {
"hash": "a87ff679",
"initiated_by": 3,
"accepted_by": null,
"created_at": "2025-02-26T06:30:45.876Z",
"updated_at": "2025-02-26T06:30:45.876Z",
"state": "INITIATED",
"want_cards": [
367,
558
],
"have_cards": [
256,
258,
559
]
}
},
{
"model": "trades.tradeoffer",
"pk": 5,
"fields": {
"hash": "e4da3b7f",
"initiated_by": 4,
"accepted_by": null,
"created_at": "2025-02-26T06:32:37.741Z",
"updated_at": "2025-02-26T06:32:37.741Z",
"state": "INITIATED",
"want_cards": [
136,
165,
224,
321,
375,
417,
489
],
"have_cards": [
15,
75,
106,
116,
200,
383,
424,
447,
485,
512
]
}
},
{
"model": "trades.tradeoffer",
"pk": 6,
"fields": {
"hash": "1679091c",
"initiated_by": 1,
"accepted_by": null,
"created_at": "2025-02-26T06:52:14.287Z",
"updated_at": "2025-02-26T06:52:14.287Z",
"state": "INITIATED",
"want_cards": [
16,
382
],
"have_cards": [
503,
517
]
}
},
{
"model": "trades.tradeoffer",
"pk": 7,
"fields": {
"hash": "8f14e45f",
"initiated_by": 2,
"accepted_by": null,
"created_at": "2025-02-26T06:53:25.694Z",
"updated_at": "2025-02-26T06:53:25.694Z",
"state": "INITIATED",
"want_cards": [
202,
375,
391
],
"have_cards": [
180,
321,
489
]
}
},
{
"model": "trades.tradeoffer",
"pk": 8,
"fields": {
"hash": "c9f0f895",
"initiated_by": 3,
"accepted_by": null,
"created_at": "2025-02-26T06:55:19.117Z",
"updated_at": "2025-02-26T06:55:19.117Z",
"state": "INITIATED",
"want_cards": [
284,
579
],
"have_cards": [
285,
578
]
}
},
{
"model": "trades.tradeoffer",
"pk": 9,
"fields": {
"hash": "45c48cce",
"initiated_by": 4,
"accepted_by": null,
"created_at": "2025-02-26T06:55:39.531Z",
"updated_at": "2025-02-26T06:55:39.531Z",
"state": "INITIATED",
"want_cards": [
507
],
"have_cards": [
115
]
}
},
{
"model": "trades.tradeoffer",
"pk": 10,
"fields": {
"hash": "d3d94468",
"initiated_by": 2,
"accepted_by": null,
"created_at": "2025-02-26T06:55:56.621Z",
"updated_at": "2025-02-26T06:55:56.621Z",
"state": "INITIATED",
"want_cards": [
136,
184
],
"have_cards": [
91
]
}
},
{
"model": "trades.tradeoffer",
"pk": 11,
"fields": {
"hash": "6512bd43",
"initiated_by": 3,
"accepted_by": null,
"created_at": "2025-02-26T07:05:16.870Z",
"updated_at": "2025-02-26T07:05:16.870Z",
"state": "INITIATED",
"want_cards": [
370
],
"have_cards": [
367
]
}
}
]