@balena/event-log
Advanced tools
Comparing version 5.1.0-add-organizaton-events-135565a161c2facf3138892e1f6fce81e3b47767 to 5.1.0-add-organizaton-events-29d07fb67492ca3db9a3a8fd816b7a1597474f57
@@ -25,17 +25,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
publicKey: ['create', 'delete'], | ||
organization: [ | ||
'create', | ||
'edit', | ||
'delete' | ||
], | ||
team: [ | ||
'create', | ||
'edit', | ||
'delete' | ||
], | ||
organizationMember: [ | ||
'add', | ||
'invite', | ||
'delete', | ||
], | ||
organization: ['create', 'edit', 'delete'], | ||
organizationMember: ['add', 'edit', 'delete'], | ||
organizationInvite: ['addInviteOpen', 'create', 'delete', 'accept'], | ||
team: ['create', 'edit', 'delete'], | ||
teamMember: ['add', 'edit', 'delete'], | ||
teamApplication: ['add', 'edit', 'delete'], | ||
application: [ | ||
@@ -42,0 +33,0 @@ 'create', |
@@ -7,5 +7,12 @@ # Change Log | ||
## 5.1.0 - 2020-12-08 | ||
## 5.1.0 - 2020-12-09 | ||
* Add organization team and member main events [JSReds] | ||
## 5.0.2 - 2020-12-08 | ||
* Add GH CODEOWNERS to the repo [Thodoris Greasidis] | ||
## 5.0.1 - 2020-12-08 | ||
* Add missing types entry in pakcage.json [Thodoris Greasidis] | ||
@@ -12,0 +19,0 @@ |
{ | ||
"name": "@balena/event-log", | ||
"version": "5.1.0-add-organizaton-events-135565a161c2facf3138892e1f6fce81e3b47767", | ||
"version": "5.1.0-add-organizaton-events-29d07fb67492ca3db9a3a8fd816b7a1597474f57", | ||
"description": "Balena events logging util", | ||
@@ -5,0 +5,0 @@ "main": "build/balena-event-log.js", |
@@ -26,2 +26,15 @@ // tslint:disable-next-line:no-namespace | ||
interface IHaveAddEditDelete { | ||
add: TrackFunction; | ||
edit: TrackFunction; | ||
delete: TrackFunction; | ||
} | ||
interface Invite { | ||
addInviteOpen: TrackFunction; | ||
create: TrackFunction; | ||
delete: TrackFunction; | ||
accept: TrackFunction; | ||
} | ||
interface BalenaEventLog { | ||
@@ -76,17 +89,8 @@ userId: number | null; | ||
}; | ||
organization: { | ||
create: TrackFunction; | ||
edit: TrackFunction; | ||
delete: TrackFunction; | ||
}; | ||
team: { | ||
create: TrackFunction; | ||
edit: TrackFunction; | ||
delete: TrackFunction; | ||
}; | ||
organizationMember: { | ||
add: TrackFunction; | ||
invite: TrackFunction; | ||
delete: TrackFunction; | ||
}; | ||
organization: IHaveCreateEditDelete; | ||
organizationMember: IHaveAddEditDelete; | ||
organizationInvite: Invite; | ||
team: IHaveCreateEditDelete; | ||
teamMember: IHaveAddEditDelete; | ||
teamApplication: IHaveAddEditDelete; | ||
application: { | ||
@@ -189,8 +193,3 @@ create: TrackFunction; | ||
}; | ||
invite: { | ||
addInviteOpen: TrackFunction; | ||
create: TrackFunction; | ||
delete: TrackFunction; | ||
accept: TrackFunction; | ||
}; | ||
invite: Invite; | ||
} | ||
@@ -197,0 +196,0 @@ |
Sorry, the diff of this file is not supported yet
37346
572