Skip to content

Commit f867b0f

Browse files
Generate all the device routes and endpoints
1 parent ff83914 commit f867b0f

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

src/data/paths.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,17 @@
8080
title: Enrollment Automations
8181
resources:
8282
- enrollment_automation
83+
84+
/devices:
85+
title: Devices
86+
resources:
87+
- device
88+
89+
/devices/simulate:
90+
title: Device Simulations
91+
resources: []
92+
93+
/devices/unmanage:
94+
title: Unmanage Devices
95+
resources:
96+
- unmanaged_device

src/lib/reference.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ export const reference = (
5757
!route.path.startsWith('/acs') &&
5858
!route.path.startsWith('/thermostats') &&
5959
!route.path.startsWith('/phones') &&
60-
!route.path.startsWith('/user_identities')
60+
!route.path.startsWith('/user_identities') &&
61+
!route.path.startsWith('/devices')
6162
) {
6263
continue
6364
}

0 commit comments

Comments
 (0)