test(mixpanel): update

This commit is contained in:
Kevin Franklin Kim
2025-05-26 22:55:22 +02:00
parent 8b13d71d7a
commit 937d05dd7e
2 changed files with 23 additions and 3 deletions
+7 -3
View File
@@ -74,9 +74,13 @@ export interface Item {
}
export interface PageView {
page_title?: string;
page_referrer?: string;
client_id?: string;
language?: string;
page_encoding?: string;
page_location?: string;
page_referrer?: string;
page_title?: string;
user_agent?: string;
}
`
expectedSesamy = `
@@ -106,6 +110,7 @@ export enum EventName {
LevelStart = "level_start",
LevelUp = "level_up",
Login = "login",
Logout = "logout",
PageView = "page_view",
PostScore = "post_score",
Purchase = "purchase",
@@ -118,7 +123,6 @@ export enum EventName {
SelectContent = "select_content",
SelectItem = "select_item",
SelectPromotion = "select_promotion",
SessionStart = "session_start",
Share = "share",
SignUp = "sign_up",
SpendVirtualCurrency = "spend_virtual_currency",
+16
View File
@@ -709,9 +709,25 @@
},
"github.com.foomo.sesamy-cli.pkg.config.MixpanelServerContainer": {
"properties": {
"set": {
"$ref": "#/$defs/github.com.foomo.gocontemplate.pkg.contemplate.Config",
"description": "Set events"
},
"setOnce": {
"$ref": "#/$defs/github.com.foomo.gocontemplate.pkg.contemplate.Config",
"description": "SetOnce events"
},
"reset": {
"$ref": "#/$defs/github.com.foomo.gocontemplate.pkg.contemplate.Config",
"description": "Reset events"
},
"track": {
"$ref": "#/$defs/github.com.foomo.gocontemplate.pkg.contemplate.Config",
"description": "Track events"
},
"identify": {
"$ref": "#/$defs/github.com.foomo.gocontemplate.pkg.contemplate.Config",
"description": "Identify events"
}
},
"additionalProperties": false,