feat(companion): implement ble
This commit is contained in:
51
aris/apps/companion/lib/ble/fixtures.ts
Normal file
51
aris/apps/companion/lib/ble/fixtures.ts
Normal file
@@ -0,0 +1,51 @@
|
||||
export const fullFeedFixture = {
|
||||
schema: 1,
|
||||
generated_at: 1767716400,
|
||||
feed: [
|
||||
{
|
||||
id: "demo:welcome",
|
||||
type: "INFO",
|
||||
title: "Glass Now online",
|
||||
subtitle: "Connected to iPhone",
|
||||
priority: 0.8,
|
||||
ttl_sec: 86400,
|
||||
bucket: "RIGHT_NOW",
|
||||
actions: ["DISMISS"],
|
||||
},
|
||||
{
|
||||
id: "cal:demo:1767717000",
|
||||
type: "CALENDAR_EVENT",
|
||||
title: "Team Sync",
|
||||
subtitle: "",
|
||||
priority: 0.7,
|
||||
ttl_sec: 5400,
|
||||
starts_at: 1767717000,
|
||||
bucket: "FYI",
|
||||
actions: ["DISMISS"],
|
||||
},
|
||||
{
|
||||
id: "demo:next",
|
||||
type: "INFO",
|
||||
title: "Next: Calendar",
|
||||
subtitle: "Then Weather + POI",
|
||||
priority: 0.4,
|
||||
ttl_sec: 86400,
|
||||
bucket: "FYI",
|
||||
actions: ["DISMISS"],
|
||||
},
|
||||
{
|
||||
id: "music:now:demo",
|
||||
type: "NOW_PLAYING",
|
||||
title: "Midnight City",
|
||||
subtitle: "M83 • Hurry Up, We're Dreaming",
|
||||
priority: 0.35,
|
||||
ttl_sec: 30,
|
||||
bucket: "FYI",
|
||||
actions: ["DISMISS"],
|
||||
},
|
||||
],
|
||||
meta: {
|
||||
winner_id: "demo:welcome",
|
||||
unread_count: 4,
|
||||
},
|
||||
} as const;
|
||||
Reference in New Issue
Block a user