interface Sessionimport { type Session } from "https://deno.land/x/sentry@8.37.1/index.d.ts"; Propertiessid: stringoptionaldid: string | numberinit: booleantimestamp: numberstarted: numberoptionalduration: numberstatus: SessionStatusoptionalrelease: stringoptionalenvironment: stringoptionaluserAgent: stringoptionalipAddress: stringerrors: numberoptionaluser: User | nullignoreDuration: booleanoptionalabnormal_mechanism: stringMethodstoJSON(): SerializedSessionOverrides default JSON serialization of the Session because the Sentry servers expect a slightly different schema of a session which is described in the interface @see SerializedSession in this file.