interface Sessionimport { type Session } from "https://deno.land/x/sentry@8.39.0-beta.0/index.mjs"; 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.