Skip to content

Commit 7e998c2

Browse files
committed
Filter out mobile_sdk routes
1 parent 04d9221 commit 7e998c2

File tree

12 files changed

+8
-883
lines changed

12 files changed

+8
-883
lines changed

codegen/lib/connect.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,15 @@ export const connect = (
3838
const metadata = metalsmith.metadata() as Metadata
3939
const { blueprint } = metadata
4040

41-
const routes = blueprint.routes.filter((route) =>
42-
route.endpoints.some((endpoint) =>
43-
endpoint.authMethods.some((authMethod) =>
44-
supportedAuthMethods.includes(authMethod),
41+
const routes = blueprint.routes
42+
.filter((route) =>
43+
route.endpoints.some((endpoint) =>
44+
endpoint.authMethods.some((authMethod) =>
45+
supportedAuthMethods.includes(authMethod),
46+
),
4547
),
46-
),
47-
)
48+
)
49+
.filter((route) => !route.path.startsWith('/seam/mobile_sdk'))
4850

4951
const namespaces = blueprint.namespaces.filter((namespace) =>
5052
routes.some((route) => route.parentPath === namespace.path),

src/lib/seam/connect/routes/seam-http-endpoints.ts

Lines changed: 0 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/seam/connect/routes/seam/index.ts

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/seam/connect/routes/seam/mobile-sdk/index.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/lib/seam/connect/routes/seam/mobile-sdk/v1/acs/acs.ts

Lines changed: 0 additions & 176 deletions
This file was deleted.

0 commit comments

Comments
 (0)