fix: update generatedAt timestamp, improve wire properties, and mark subproject commits as dirty
This commit is contained in:
parent
9e117ee5c7
commit
f43c9d019d
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -1063,24 +1063,24 @@ export const useSimulatorStore = create<SimulatorState>((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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue