chore(build): rebuild bundle for v2 crop fix + tighten Device.model
CI / test (push) Has been cancelled
CI / test (push) Has been cancelled
The crop-aspect fix didn't reach production on the prior deploy because public/build/ was 5 days stale. Rebuilds the SPA bundle so the panelDims-driven CropEditor / StickerCanvas / FrameCard ship. Also makes Device.model required in the TS type (was optional in this session's first cut to placate test fixtures) and adds `model: 'v1'` to every test Device fixture. A new device row from the API always has a model, so the type should reflect that — leaving it optional was a trap for production code that defensively assumed undefined. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -37,6 +37,7 @@ const makeDevice = (overrides: Partial<Device> = {}): Device => ({
|
||||
mac: 'AA',
|
||||
name: 'Living Room',
|
||||
orientation: 'landscape',
|
||||
model: 'v1',
|
||||
rotationIntervalMinutes: 60,
|
||||
wakeTimes: [],
|
||||
timezone: 'UTC',
|
||||
|
||||
@@ -26,6 +26,7 @@ const makeDevice = (overrides: Partial<Device> = {}): Device => ({
|
||||
mac: 'AA:BB:CC:DD:EE:FF',
|
||||
name: 'Living Room',
|
||||
orientation: 'landscape',
|
||||
model: 'v1',
|
||||
rotationIntervalMinutes: 60,
|
||||
wakeTimes: [],
|
||||
timezone: 'America/Chicago',
|
||||
|
||||
@@ -41,6 +41,7 @@ const makeDevice = (overrides: Partial<Device> = {}): Device => ({
|
||||
mac: 'AA',
|
||||
name: 'Den',
|
||||
orientation: 'landscape',
|
||||
model: 'v1',
|
||||
rotationIntervalMinutes: 60,
|
||||
wakeTimes: [],
|
||||
timezone: 'UTC',
|
||||
|
||||
@@ -8,6 +8,7 @@ const makeDevice = (overrides: Partial<Device> = {}): Device => ({
|
||||
mac: 'AA:BB:CC:DD:EE:FF',
|
||||
name: 'Living Room',
|
||||
orientation: 'landscape',
|
||||
model: 'v1',
|
||||
rotationIntervalMinutes: 60,
|
||||
wakeTimes: [],
|
||||
timezone: 'America/Chicago',
|
||||
|
||||
@@ -69,6 +69,7 @@ const makeDevice = (overrides: Partial<Device> = {}): Device => ({
|
||||
mac: 'AA:BB:CC:DD:EE:FF',
|
||||
name: 'Living Room',
|
||||
orientation: 'landscape',
|
||||
model: 'v1',
|
||||
rotationIntervalMinutes: 60,
|
||||
wakeTimes: [],
|
||||
timezone: 'America/Chicago',
|
||||
|
||||
@@ -79,6 +79,7 @@ const makeDevice = (overrides: Partial<Device> = {}): Device => ({
|
||||
mac: 'AA:BB:CC:DD:EE:FF',
|
||||
name: 'Living Room',
|
||||
orientation: 'landscape',
|
||||
model: 'v1',
|
||||
rotationIntervalMinutes: 60,
|
||||
wakeTimes: [],
|
||||
timezone: 'America/Chicago',
|
||||
|
||||
@@ -55,6 +55,7 @@ const makeDevice = (overrides: Partial<Device> = {}): Device => ({
|
||||
mac: 'AA',
|
||||
name: 'Living Room',
|
||||
orientation: 'landscape',
|
||||
model: 'v1',
|
||||
rotationIntervalMinutes: 60,
|
||||
wakeTimes: [],
|
||||
timezone: 'UTC',
|
||||
|
||||
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
function e(e,t){return e===`v1`?t===`landscape`?{width:1600,height:960}:{width:960,height:1600}:t===`landscape`?{width:1600,height:1200}:{width:1200,height:1600}}export{e as t};
|
||||
@@ -14,7 +14,7 @@
|
||||
<meta name="mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
||||
<meta name="apple-mobile-web-app-title" content="pictureFrame" />
|
||||
<script type="module" crossorigin src="/build/assets/index-BA_yAOa7.js"></script>
|
||||
<script type="module" crossorigin src="/build/assets/index-vGi2xK-_.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/build/assets/_plugin-vue_export-helper-BNDVmFr7.js">
|
||||
<link rel="stylesheet" crossorigin href="/build/assets/index-BlLBHR1q.css">
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user