This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const parseAction = (action, visit) => { | |
| const parsedAction = {}; | |
| const whiteListVisit = [ | |
| "idSite", | |
| "idVisit", | |
| "visitIp", | |
| "visitorId", | |
| "fingerprint", | |
| "goalConversions", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"entity": "8 mai", "value": 15} | |
| {"entity": "14 juillet", "value": 15} | |
| {"entity": "15 ao\u00fbt", "value": 10} | |
| {"entity": "11 novembre", "value": 15} | |
| {"entity": "25 d\u00e9cembre", "value": 10} | |
| {"entity": "26 d\u00e9cembre", "value": 10} | |
| {"entity": "13\u00e8me mois", "value": 10} | |
| {"entity": "14\u00e8me mois", "value": 10} | |
| {"entity": "1er janvier", "value": 10} | |
| {"entity": "1er mai", "value": 10} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ligne 1 | |
| ligne 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class MyTest { | |
| private static String adminToken = "superuser"; | |
| private static String databaseName = "myTestDB"; | |
| private static String collectionName = "myTestCollection"; | |
| public static void main(String[] args) throws CoreException { | |
| CoreHelper<Item> core = new CoreHelper<Item>(new KateCoreClient(new KateCoreClientConfig())); | |
| TokenList ticket = new TokenList(adminToken); | |
| core.addDatabase(ticket, databaseName, new DatabaseInfo(DatabaseAC.unsecured(), new Values())); |