garyaustin
07/05/2022, 11:04 PMimousart
07/06/2022, 3:15 AMimousart
07/06/2022, 3:15 AMbhaskar
07/06/2022, 5:46 AMserver_error&error_description=Unable+to+exchange+external+code
with google auth. i was working good, not sure what happened thereTheo (テオ)
07/06/2022, 1:45 PMsilentworks
07/06/2022, 4:46 PMpwii
07/06/2022, 6:45 PMpwii
07/06/2022, 7:20 PMTheo (テオ)
07/07/2022, 12:02 AMgaryaustin
07/07/2022, 12:10 AMTheo (テオ)
07/07/2022, 12:19 AMbhaskar
07/07/2022, 3:42 AM{
"message": "An invalid response was received from the upstream server"
}
bhaskar
07/07/2022, 3:42 AMgaryaustin
07/07/2022, 3:48 AMmonicakh
07/07/2022, 6:33 AMsilentworks
07/07/2022, 9:52 AMts
import { definitions } from "./db-types"; // generated types which contains favourite_destinations as unknown[]
type DbProfiles = definitions["profiles"];
interface Profiles extends DbProfiles {
favourite_destinations?: string[]; // correct the typing here
}
async function getProfile() {
const { data } = await supabase
.from<Profiles>("profiles") // using my extended type here
.select("*")
.eq("name", "James")
.single();
return data;
}
Marcos Abreu
07/07/2022, 11:15 PMgaryaustin
07/07/2022, 11:28 PMMarcos Abreu
07/07/2022, 11:33 PMMarcos Abreu
07/07/2022, 11:34 PMstukennedy
07/08/2022, 1:14 PMuse
directive is expecting SvelteActionReturnType
stukennedy
07/08/2022, 1:42 PMDevr
07/08/2022, 2:40 PMOlyno
07/08/2022, 2:44 PMJuninhopo
07/08/2022, 3:49 PMJuninhopo
07/08/2022, 3:58 PMGlennS
07/08/2022, 7:52 PMgaryaustin
07/08/2022, 8:05 PMGlennS
07/08/2022, 8:38 PMgaryaustin
07/08/2022, 9:32 PM