diff --git a/frontend/public/components-metadata.json b/frontend/public/components-metadata.json index 691aa80e..7a516f40 100644 --- a/frontend/public/components-metadata.json +++ b/frontend/public/components-metadata.json @@ -1,6 +1,6 @@ { "version": "1.0.0", - "generatedAt": "2026-04-07T14:03:23.074Z", + "generatedAt": "2026-04-07T16:08:47.256Z", "components": [ { "id": "arduino-mega", @@ -254,7 +254,10 @@ "defaultValue": "i2c", "control": "select", "description": "Communication protocol", - "options": ["i2c", "spi"] + "options": [ + "i2c", + "spi" + ] } ], "defaultValues": { @@ -1337,7 +1340,15 @@ "type": "string", "defaultValue": "red", "control": "select", - "options": ["red", "green", "blue", "yellow", "orange", "white", "purple"] + "options": [ + "red", + "green", + "blue", + "yellow", + "orange", + "white", + "purple" + ] }, { "name": "lightColor", diff --git a/frontend/src/store/useSimulatorStore.ts b/frontend/src/store/useSimulatorStore.ts index b95425a5..06ceff36 100644 --- a/frontend/src/store/useSimulatorStore.ts +++ b/frontend/src/store/useSimulatorStore.ts @@ -1063,24 +1063,24 @@ export const useSimulatorStore = create((set, get) => { metadataId: 'led', x: 350, y: 100, - properties: { color: 'red', pin: 13, state: false }, + properties: { color: 'red' }, }, ], wires: [ { - id: 'wire-test-1', - start: { componentId: 'arduino-uno', pinName: 'GND.1', x: 0, y: 0 }, + id: 'wire-builtin-anode', + start: { componentId: 'arduino-uno', pinName: '13', x: 0, y: 0 }, end: { componentId: 'led-builtin', pinName: 'A', x: 0, y: 0 }, waypoints: [], - color: '#000000', + color: '#22c55e', }, { - id: 'wire-test-2', - start: { componentId: 'arduino-uno', pinName: '13', x: 0, y: 0 }, + id: 'wire-builtin-cathode', + start: { componentId: 'arduino-uno', pinName: 'GND.1', x: 0, y: 0 }, end: { componentId: 'led-builtin', pinName: 'C', x: 0, y: 0 }, waypoints: [], - color: '#22c55e', + color: '#000000', }, ], selectedWireId: null,