(q: ListQuery)
| 25 | } |
| 26 | |
| 27 | async list(q: ListQuery): Promise<AppListResponse> { |
| 28 | return this.orpc.apps.get({ |
| 29 | query: { |
| 30 | workspace_id: q.workspaceId, |
| 31 | page: q.page ?? 1, |
| 32 | limit: q.limit ?? 20, |
| 33 | mode: normalizeMode(q.mode), |
| 34 | name: q.name !== undefined && q.name !== '' ? q.name : undefined, |
| 35 | }, |
| 36 | }) |
| 37 | } |
| 38 | |
| 39 | async describe(appId: string, fields?: readonly string[]): Promise<AppDescribeResponse> { |
| 40 | return this.orpc.apps.byAppId.describe.get({ |
no test coverage detected