feat(navigation): add controller + tRPC router + header global + barrel
This commit is contained in:
9
packages/navigation/src/ui/query.ts
Normal file
9
packages/navigation/src/ui/query.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
type TrpcClient = {
|
||||
navigation: {
|
||||
header: { queryOptions: () => unknown };
|
||||
};
|
||||
};
|
||||
|
||||
export function headerQuery(client: TrpcClient) {
|
||||
return client.navigation.header.queryOptions();
|
||||
}
|
||||
Reference in New Issue
Block a user