feat: add object resolving

This commit is contained in:
Xyphyn committed 2023-08-01 15:43:44 -07:00
1 parent 62f2eebddc
commit 029cf1e133
3 files changed
+49 -9

No files matched your search

+8
View File
@@ -46,6 +46,14 @@ export async function load({ url }) {
return {
page: page,
results: everything,
streamed: {
object: get(profile)?.jwt
? getClient().resolveObject({
auth: get(profile)!.jwt!,
q: query,
})
: undefined,
},
}
}