Files
archived-orca/mobile/src/tasks/mobile-task-navigation.ts
T
Neil c10881fa8c refactor(shared): organize execution and automation defining owners (#39776)
* refactor: import journal queue state from defining owners

* refactor(shared): organize execution and automation owners

* fix: retain type imports used by surviving test cases

* refactor: finish work item owners and refresh validation metadata

* test: infer reconnect status fixture type

* test(claude): resolve source files beside same-named directories

* test(runtime): group repository creation mock registrations
2026-11-08 06:46:09 -08:00

13 lines
387 B
TypeScript

import type { HostStackRouteTarget } from '../navigation/host-stack-navigation'
import type { TaskProvider } from '../../../src/shared/work-items/task-providers'
export function mobileTasksRouteTarget(
hostId: string,
provider?: TaskProvider
): HostStackRouteTarget {
return {
name: '[hostId]/tasks',
params: provider ? { hostId, taskSource: provider } : { hostId }
}
}