(q: ListQuery)
| 15 | |
| 16 | // workspaceId is ignored: the external grant is not workspace-scoped. |
| 17 | async list(q: ListQuery): Promise<AppListResponse> { |
| 18 | return this.orpc.permittedExternalApps.get({ |
| 19 | query: { |
| 20 | page: q.page ?? 1, |
| 21 | limit: q.limit ?? 20, |
| 22 | mode: normalizeMode(q.mode), |
| 23 | name: q.name !== undefined && q.name !== '' ? q.name : undefined, |
| 24 | }, |
| 25 | }) |
| 26 | } |
| 27 | |
| 28 | async describe(appId: string, fields?: readonly string[]): Promise<AppDescribeResponse> { |
| 29 | return this.orpc.permittedExternalApps.byAppId.describe.get({ |
nothing calls this directly
no test coverage detected