Skip to content

Commit ed29fdd

Browse files
mikewuuseambot
andauthored
fix: legacy properties including undocumented properties (#767)
* fix: legacy properties including undocumented properties * ci: Generate docs --------- Co-authored-by: Seam Bot <[email protected]>
1 parent 1977e19 commit ed29fdd

File tree

4 files changed

+3
-25
lines changed

4 files changed

+3
-25
lines changed

codegen/lib/layout/api-route.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,9 @@ export const setApiRouteLayoutContext = (
190190
const legacyPropertyGroups =
191191
legacyProperty != null && legacyProperty.format === 'object'
192192
? groupProperties(
193-
legacyProperty.properties,
193+
legacyProperty.properties.filter(
194+
({ isUndocumented }) => !isUndocumented,
195+
),
194196
legacyProperty.propertyGroups,
195197
{
196198
include: metadata.include_groups,

docs/api/devices/README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1823,14 +1823,6 @@ Location information for the device.
18231823

18241824
## device.properties
18251825

1826-
**`_experimental_supported_code_from_access_codes_lengths`** *List* *of Numbers*
1827-
1828-
1829-
1830-
1831-
1832-
---
1833-
18341826
**`akiles_metadata`** *Object*
18351827

18361828
Metadata for an Akiles device.

docs/api/locks/README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1562,14 +1562,6 @@ Unique identifier for the Seam workspace associated with the device.
15621562

15631563
## device.properties
15641564

1565-
**`_experimental_supported_code_from_access_codes_lengths`** *List* *of Numbers*
1566-
1567-
1568-
1569-
1570-
1571-
---
1572-
15731565
**`akiles_metadata`** *Object*
15741566

15751567
Metadata for an Akiles device.

docs/api/thermostats/README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1678,14 +1678,6 @@ Unique identifier for the Seam workspace associated with the device.
16781678

16791679
## device.properties
16801680

1681-
**`_experimental_supported_code_from_access_codes_lengths`** *List* *of Numbers*
1682-
1683-
1684-
1685-
1686-
1687-
---
1688-
16891681
**`active_thermostat_schedule`** *Object*
16901682

16911683
Active [thermostat schedule](../../capability-guides/thermostats/creating-and-managing-thermostat-schedules.md).

0 commit comments

Comments
 (0)