mirror of
https://github.com/foomo/sesamy-cli.git
synced 2026-08-16 22:50:25 +00:00
test(mixpanel): update
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user