1.0.28 • Published 3 months ago

@larva.io/report-definitions v1.0.28

Weekly downloads
129
License
ISC
Repository
-
Last release
3 months ago

Larva.io event reporting definitions

Standard Contact ID event codes are used. All codes above 999 are Larva.io custom events. TypeDefinitions included.

Example:

import { ReportEvent, ReportEventGroup, LogLevel, getEventGroup, getEventMessage, getLogLevel } from '@larva.io/report-definitions';
// let's say you have event with ID 1101 (ReportEvent.USER_ADDED);
const event = 1101; // ReportEvent.USER_ADDED
const message = getEventMessage(event); // 'User added'
const eventGroup = getEventGroup(event); // 'system_events' // ReportEventGroup.SYSTEM_EVENTS
const logLevel = getLogLevel(event); // 'warning' // LogLevel.WARNING

console.wan(`Event id ${event} message: "${message}", eventGroup ${eventGroup} logLevel ${logLevel}`);
1.0.28

3 months ago

1.0.26

4 months ago

1.0.27

4 months ago

1.0.25

7 months ago

1.0.24

10 months ago

1.0.23

11 months ago

1.0.22

3 years ago

1.0.21

3 years ago

1.0.19

3 years ago

1.0.20

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago