{"project":"ttrpgoblin","branch":"main","commit":"5fd60be405073b38b45357cbfd70e287efd207a3","component":{"apis":{"Supabase Password Reset":{"url":{"type":"value","value":"https://ptdvtgmnautlhefdgoyy.supabase.co"},"body":{"type":"object","arguments":[{"Name":0,"name":"password","formula":{"path":["Variables","password"],"type":"path"}}]},"name":"Supabase Password Reset","path":{"AlpwxX_uTMkuG5a0m1gt6":{"index":0,"formula":{"type":"value","value":"auth"}},"QzbglHLkJkOAns2TMfar5":{"index":2,"formula":{"type":"value","value":"user"}},"cz2xbtcp1A0WxLmBoez_p":{"index":1,"formula":{"type":"value","value":"v1"}}},"type":"http","client":{"debounce":null,"parserMode":"auto","onCompleted":{"actions":[{"name":"@toddle/setSessionCookies","label":"Set session cookies","events":{"Error":{"actions":[],"description":"This event is triggered if toddle is unable to set the session cookies"},"Success":{"actions":[],"description":"This event is triggered once the tokens have been saved."}},"arguments":[{"name":"Access token","formula":{"path":["Apis","Supabase Password Reset","data","access_token"],"type":"path"},"description":"Access tokens are the most common way to authenticate with a server"},{"name":"Expires in","type":{"type":"Number"},"formula":{"path":["Apis","Supabase Password Reset","data","expires_in"],"type":"path"},"description":"(Optional) Seconds till the token expires. Defaults to 3600 (1 hour). This should be left blank for JWTs"}]},{"name":"@toddle/gotToURL","label":"Go to URL","arguments":[{"name":"URL","formula":{"type":"value","value":"/"}}]}],"trigger":"Success"}},"inputs":{},"method":"PUT","server":{"ssr":null,"proxy":{"enabled":{"formula":{"type":"value","value":true}}}},"headers":{"Apikey":{"formula":{"type":"value","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InB0ZHZ0Z21uYXV0bGhlZmRnb3l5Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3MjE3OTg0MjksImV4cCI6MjAzNzM3NDQyOX0.UpYwW6AFXTAZXcablysXh96hORFd2svmJ1hI_5Nm8W4"}},"Authorization":{"formula":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"Bearer "}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"path":["Variables","extracted_token"],"type":"path"}}],"display_name":"Concatenate","variableArguments":true}}},"version":2,"autoFetch":{"type":"value","value":false},"queryParams":{},"redirectRules":{},"dependsOn":[]}},"name":"Account - Reset Password ","nodes":{"root":{"tag":"div","type":"element","children":["zcX5NNrZuI_nEoBhcjo5m"],"classes":{"bNmJjn":{"formula":{"type":"value","value":true}}},"customProperties":{}},"3fJkBnlVZapO8OeIgAj5J":{"type":"text","value":{"type":"value","value":"Minimum of 8 characters, 1 alphabetical character, and 1 numeric character."}},"Cvz3qdaM-xajf_w0HdquR":{"tag":"label","type":"element","attrs":{"title":{"type":"value","value":"Last name"}},"children":["F4c7UUzf_UiieMsXBjZEg"],"classes":{"cvzyeh":{"formula":{"type":"value","value":true}}},"customProperties":{}},"CxZDlNugj2jTPjEpot8XV":{"tag":"div","type":"element","children":["Egaei1Q3jhMqmu4Zn7ewp","fjdfDCqVFLb-uc7qAj8uA"],"classes":{"cmaMgB":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Egaei1Q3jhMqmu4Zn7ewp":{"tag":"img","type":"element","attrs":{"alt":{"type":"value","value":""},"src":{"type":"value","value":"/cdn-cgi/imagedelivery/ZIty0Vhmkm0nD-fBKJrTZQ/ttrpgoblin:goblin_transparent_nod.gif/128"}},"classes":{"eGEFGG":{"formula":{"type":"value","value":true}}},"customProperties":{}},"F19NyfrnD2WI0KaT2hOgo":{"type":"text","value":{"path":["Apis","Supabase Password Reset","error","msg"],"type":"path"}},"F4c7UUzf_UiieMsXBjZEg":{"type":"text","value":{"type":"value","value":"Email"},"condition":{"type":"value","label":null,"value":false}},"HCLrVXMJll-jJcM9Nv__V":{"type":"text","value":{"type":"value","value":"Change Password"}},"a3M9YhAfKutR3JD6g5WPA":{"tag":"label","type":"element","attrs":{"title":{"type":"value","value":"Last name"}},"children":["t4d2CcuuGjKSAWMKVzLCk","3fJkBnlVZapO8OeIgAj5J"],"classes":{"cuWtoT":{"formula":{"type":"value","value":true}}},"customProperties":{}},"bnXJjkaQuCFFGthG5zOPk":{"tag":"p","type":"element","children":["F19NyfrnD2WI0KaT2hOgo"],"condition":{"path":["Apis","Supabase Password Reset","error","msg"],"type":"path"},"classes":{"bxteJt":{"formula":{"type":"value","value":true}}},"customProperties":{}},"fjdfDCqVFLb-uc7qAj8uA":{"tag":"h1","type":"element","children":["rAGC9wVY4qf3mZWv_xRql"],"classes":{"eIHswA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"rAGC9wVY4qf3mZWv_xRql":{"type":"text","value":{"type":"value","value":"TTRPGoblin"}},"t4d2CcuuGjKSAWMKVzLCk":{"tag":"input","type":"element","attrs":{"type":{"type":"value","value":"password"},"value":{"path":["Variables","password"],"type":"path"},"placeholder":{"type":"value","value":"New Password"}},"events":{"input":{"actions":[{"data":{"path":["Event","target","value"],"type":"path"},"type":"SetVariable","variable":"password"}],"trigger":"input"}},"classes":{"fDbsCY":{"formula":{"type":"value","value":true}}},"customProperties":{}},"tbj9SliTBkIdX2pXrYhsi":{"tag":"button","type":"element","attrs":{"type":{"type":"value","value":"submit"}},"children":["HCLrVXMJll-jJcM9Nv__V"],"classes":{"eNUisD":{"formula":{"type":"value","value":true}}},"customProperties":{}},"zcX5NNrZuI_nEoBhcjo5m":{"tag":"form","type":"element","events":{"submit":{"actions":[{"name":"@toddle/preventDefault"},{"data":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"name":"@toddle/split","type":"function","arguments":[{"name":"Input","type":{"type":"String"},"formula":{"name":"@toddle/find","type":"function","arguments":[{"name":"Array","type":{"type":"Array"},"formula":{"name":"@toddle/split","type":"function","arguments":[{"name":"Input","type":{"type":"String"},"formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"name":"@toddle/parseURL","type":"function","arguments":[{"name":"URL","type":{"type":"String"},"formula":{"name":"@toddle/currentURL","type":"function","arguments":[],"display_name":"Current URL"}},{"name":"Base","type":{"type":"String"},"formula":{"type":"value","value":null}}],"display_name":"Parse URL"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"value","value":"hash"}}],"display_name":"Get"}},{"name":"Delimiter","type":{"type":"String"},"formula":{"type":"value","value":"&"}}],"display_name":"Split"}},{"name":"Formula","type":{"type":"Formula"},"formula":{"type":"value","value":"access_token"},"isFunction":true}],"display_name":"Find"}},{"name":"Delimiter","type":{"type":"String"},"formula":{"type":"value","value":"="}}],"display_name":"Split"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"value","value":1}}],"display_name":"Get"},"type":"SetVariable","variable":"extracted_token"},{"api":"Supabase Password Reset","type":"Fetch","input":{},"inputs":{},"onError":{"actions":[]},"onSuccess":{"actions":[{"name":"@toddle/gotToURL","arguments":[{"name":"URL","formula":{"type":"value","value":"/login"}}]}],"trigger":"onSuccess"}}],"trigger":"submit"}},"children":["CxZDlNugj2jTPjEpot8XV","Cvz3qdaM-xajf_w0HdquR","a3M9YhAfKutR3JD6g5WPA","tbj9SliTBkIdX2pXrYhsi","bnXJjkaQuCFFGthG5zOPk"],"classes":{"dtMYxs":{"formula":{"type":"value","value":true}}},"customProperties":{}}},"route":{"path":[{"name":"reset-password","type":"static"}],"query":{}},"__type":"components","onLoad":{"actions":[{"data":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"name":"@toddle/split","type":"function","arguments":[{"name":"Input","type":{"type":"String"},"formula":{"name":"@toddle/find","type":"function","arguments":[{"name":"Array","type":{"type":"Array"},"formula":{"name":"@toddle/split","type":"function","arguments":[{"name":"Input","type":{"type":"String"},"formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"name":"@toddle/parseURL","type":"function","arguments":[{"name":"URL","type":{"type":"String"},"formula":{"name":"@toddle/currentURL","type":"function","arguments":[],"display_name":"Current URL"}},{"name":"Base","type":{"type":"String"},"formula":{"type":"value","value":null}}],"display_name":"Parse URL"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"value","value":"hash"}}],"display_name":"Get"}},{"name":"Delimiter","type":{"type":"String"},"formula":{"type":"value","value":"&"}}],"display_name":"Split"}},{"name":"Formula","type":{"type":"Formula"},"formula":{"type":"value","value":"access_token"},"isFunction":true}],"display_name":"Find"}},{"name":"Delimiter","type":{"type":"String"},"formula":{"type":"value","value":"="}}],"display_name":"Split"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"value","value":1}}],"display_name":"Get"},"type":"SetVariable","variable":"extracted_token"},{"name":"PostHog_Load","events":{"Ready":{"actions":[]}},"package":"posthog","version":2,"exported":true,"arguments":[{"name":"key","formula":{"type":"value","value":"phc_MaPam0qGcLCgSYQGYVZpzlHaYfXePsREsu21XOCVrtY"}},{"name":"region","formula":null},{"name":"personProfiles","formula":null},{"name":"apiHost","formula":null},{"name":"options","formula":null}]}],"trigger":"Load"},"variables":{"name":{"initialValue":{"type":"value","value":""}},"email":{"initialValue":{"type":"value","value":""}},"password":{"initialValue":{"type":"value","value":""}},"extracted_token":{"initialValue":{"type":"value","value":"test"}}}},"components":[]}