Skip to content

Commit

Permalink
Extra label on cartridges is the position in panelized PCB
Browse files Browse the repository at this point in the history
  • Loading branch information
Gekkio committed Mar 28, 2024
1 parent 752dceb commit 0b30bd6
Show file tree
Hide file tree
Showing 410 changed files with 418 additions and 418 deletions.
8 changes: 4 additions & 4 deletions backend/src/input/cartridge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub struct CartridgeBoard {
#[serde(skip_serializing_if = "Option::is_none")]
pub circled_letters: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub extra_label: Option<String>,
pub panel_position: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub year: Option<u16>,
#[serde(skip_serializing_if = "Option::is_none")]
Expand Down Expand Up @@ -156,7 +156,7 @@ fn test_deserialize() {
"board": {
"label": "ASDF",
"circled_letters": "M",
"extra_label": "5",
"panel_position": "5",
"year": 1999,
"month": 11,
"u1": {
Expand Down Expand Up @@ -204,7 +204,7 @@ fn test_deserialize() {
board: CartridgeBoard {
label: "ASDF".to_owned(),
circled_letters: Some("M".to_owned()),
extra_label: Some("5".to_owned()),
panel_position: Some("5".to_owned()),
year: Some(1999),
month: Some(Month::November),
u1: Some(Part {
Expand Down Expand Up @@ -280,7 +280,7 @@ fn test_deserialize_minimal() {
board: CartridgeBoard {
label: "ASDF".to_owned(),
circled_letters: None,
extra_label: None,
panel_position: None,
year: None,
month: None,
u1: None,
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-AFIP-0/mattcurrie-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A08-01",
"circled_letters": "I",
"extra_label": "6",
"panel_position": "6",
"year": 1999,
"month": 6,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-AHYE-0/irfon-jones-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A06-01",
"circled_letters": "K",
"extra_label": "6",
"panel_position": "6",
"year": 1999,
"month": 4,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-AHYE-1/creeps-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A06-01",
"circled_letters": "I",
"extra_label": "2",
"panel_position": "2",
"year": 2001,
"month": 6,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-AJUP-0/missingno-force-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A07-01",
"circled_letters": "MB",
"extra_label": "6",
"panel_position": "6",
"year": 2000,
"month": 2,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-AQOP-0/issotm-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A09-01",
"circled_letters": "I",
"extra_label": "1",
"panel_position": "1",
"year": 2000,
"month": 1,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-ASNP-0/mattcurrie-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A07-01",
"circled_letters": "I",
"extra_label": "3",
"panel_position": "3",
"year": 1999,
"month": 1,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-AT8E-0/mattcurrie-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A09-01",
"circled_letters": "I",
"extra_label": "5",
"panel_position": "5",
"year": 1999,
"month": 11,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-ATHD-0/missingno-force-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A09-10",
"circled_letters": "I",
"extra_label": "5",
"panel_position": "5",
"year": 2001,
"month": 2,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-ATHE-0/irfon-jones-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A09-01",
"circled_letters": "I",
"extra_label": "2",
"panel_position": "2",
"year": 2000,
"month": 2,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-ATQP-0/issotm-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A07-01",
"circled_letters": "MB",
"extra_label": "4",
"panel_position": "4",
"year": 2000,
"month": 1,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-AW8A-0/comrade-claire-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A03-01",
"circled_letters": "I",
"extra_label": "5",
"panel_position": "5",
"year": 2000,
"month": 7,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-AW8A-0/gekkio-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A03-10",
"circled_letters": "I",
"extra_label": "1",
"panel_position": "1",
"year": 2000,
"month": 9,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-AW8A-0/pokechu22-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"board": {
"label": "DMG-A03-01",
"circled_letters": "I",
"extra_label": "3",
"panel_position": "3",
"year": 2000,
"month": 3,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-AYQE-0/ben-black-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A09-01",
"circled_letters": "I",
"extra_label": "3",
"panel_position": "3",
"year": 2000,
"month": 2,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-AZ7J-0/gekkio-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A06-01",
"circled_letters": "K",
"extra_label": "6",
"panel_position": "6",
"year": 2001,
"month": 1,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-AZ7P-0/gekkio-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A08-10",
"circled_letters": "I",
"extra_label": "5",
"panel_position": "5",
"year": 2002,
"month": 8,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-AZ8P-0/gekkio-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A08-10",
"circled_letters": "I",
"extra_label": "6",
"panel_position": "6",
"year": 2002,
"month": 8,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-AZRP-0/issotm-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A07-01",
"circled_letters": "MB",
"extra_label": "5",
"panel_position": "5",
"year": 2000,
"month": 2,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-B2XE-0/comrade-claire-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A06-01",
"circled_letters": "K",
"extra_label": "1",
"panel_position": "1",
"year": 2001,
"month": 9,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-B3OP-0/issotm-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A07-01",
"circled_letters": "K",
"extra_label": "6",
"panel_position": "6",
"year": 2001,
"month": 9,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-B4QP-1/mattcurrie-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A07-01",
"circled_letters": "I",
"extra_label": "4",
"panel_position": "4",
"year": 2001,
"month": 11,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-B82J-0/gekkio-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A15-10",
"circled_letters": "I",
"extra_label": "4",
"panel_position": "4",
"year": 2000,
"month": 10,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-B9AJ-0/gekkio-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A03-10",
"circled_letters": "I",
"extra_label": "5",
"panel_position": "5",
"year": 2000,
"month": 12,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-BDQP-0/issotm-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"board": {
"label": "DMG-A07-01",
"circled_letters": "M3",
"extra_label": "6",
"panel_position": "6",
"year": 2001,
"month": 5,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-BDSP-0/gekkio-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A06-01",
"circled_letters": "K",
"extra_label": "1",
"panel_position": "1",
"year": 2000,
"month": 11,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-BFUP-0/gekkio-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A09-10",
"circled_letters": "A",
"extra_label": "2",
"panel_position": "2",
"year": 2001,
"month": 4,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-BFUP-0/irfon-jones-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A09-10",
"circled_letters": "I",
"extra_label": "2",
"panel_position": "2",
"year": 2001,
"month": 9,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-BFVJ-1/gekkio-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A08-10",
"circled_letters": "I",
"extra_label": "1",
"panel_position": "1",
"year": 2002,
"month": 1,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-BGLJ-0/gekkio-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A14-10",
"circled_letters": "I",
"extra_label": "3",
"panel_position": "3",
"year": 2001,
"month": 4,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-BH2E-1/ben-black-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A06-01",
"circled_letters": "MB",
"extra_label": "6",
"panel_position": "6",
"year": 2000,
"month": 11,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-BH6P-0/mattcurrie-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A08-10",
"circled_letters": "I",
"extra_label": "5",
"panel_position": "5",
"year": 2002,
"month": 10,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-BHFE-0/mattcurrie-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A07-01",
"circled_letters": "A",
"extra_label": "6",
"panel_position": "6",
"year": 2000,
"month": 11,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-BHMJ-0/gekkio-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A08-01",
"circled_letters": "K",
"extra_label": "3",
"panel_position": "3",
"year": 2000,
"month": 2,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-BHTJ-1/gekkio-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-KFDN-10",
"circled_letters": "K",
"extra_label": "5",
"panel_position": "5",
"year": 2000,
"month": 10,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-BHVE-0/lance-kindle-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"board": {
"label": "DMG-A08-10",
"circled_letters": "A",
"extra_label": "3",
"panel_position": "3",
"year": 2001,
"month": 10,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-BJJE-0/ben-black-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A08-10",
"circled_letters": "I",
"extra_label": "4",
"panel_position": "4",
"year": 2000,
"month": 11,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-BJWP-0/issotm-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A07-01",
"circled_letters": "MB",
"extra_label": "4",
"panel_position": "4",
"year": 2000,
"month": 10,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-BJWP-0/issotm-2/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A07-01",
"circled_letters": "MBC",
"extra_label": "3",
"panel_position": "3",
"year": 2000,
"month": 10,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-BLYP-0/max-m-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "DMG-A06-01",
"circled_letters": "I",
"extra_label": "2",
"panel_position": "2",
"year": 2000,
"month": 9,
"u1": {
Expand Down
2 changes: 1 addition & 1 deletion data/cartridges/CGB-BMVJ-0/gekkio-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"board": {
"label": "CGB-A32-01",
"circled_letters": "I",
"extra_label": "2",
"panel_position": "2",
"year": 2001,
"month": 5,
"u1": {
Expand Down
Loading

0 comments on commit 0b30bd6

Please sign in to comment.