79bf90e990
* Add extra event to capture other type of navigations, allow empty screen name, rename cofx to get rid of clj ns, update tests * Some view ids are greater than 16 characters. Made it 32 to be safe. * Tab navigation events occur outside nav, add a new validator for them * Remove navigate to cofx event, capture screens on will focus, get rid of enum and make valid screens a string less than 32 characters * Run make generate * Fix test * Bump version to 0.75.1
24 lines
596 B
Go
24 lines
596 B
Go
package appmetrics
|
|
|
|
var NavigateToCofxSchema = map[string]interface{}{
|
|
"type": "object",
|
|
"properties": map[string]interface{}{
|
|
"view_id": map[string]interface{}{
|
|
"type": "string",
|
|
"maxLength": 32,
|
|
},
|
|
"params": map[string]interface{}{
|
|
"type": "object",
|
|
"properties": map[string]interface{}{
|
|
"screen": map[string]interface{}{
|
|
"type": "string",
|
|
"maxLength": 32,
|
|
},
|
|
},
|
|
"additionalProperties": false,
|
|
"required": []string{"screen"},
|
|
},
|
|
},
|
|
"additionalProperties": false,
|
|
"required": []string{"view_id", "params"},
|
|
}
|