Skip to content

Commit

Permalink
Update User
Browse files Browse the repository at this point in the history
Add user change event listener, onesignalId and externalId properties
  • Loading branch information
shepherd-l committed Feb 16, 2024
1 parent fffd6a3 commit a3b3253
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions api.json
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,50 @@
"isAsync": false,
"args": [],
"returnType": "{ [key: string]: string }"
},
{
"name": "addEventListener",
"isAsync": false,
"args": [
{
"name": "event",
"type": "'change'",
"optional": false
},
{
"name": "listener",
"type": "(change: UserChangeEvent) => void",
"optional": false
}
],
"returnType": "void"
},
{
"name": "removeEventListener",
"isAsync": false,
"args": [
{
"name": "event",
"type": "'change'",
"optional": false
},
{
"name": "listener",
"type": "(change: UserChangeEvent) => void",
"optional": false
}
],
"returnType": "void"
}
],
"properties": [
{
"name": "onesignalId",
"type": "string | undefined"
},
{
"name": "externalId",
"type": "string | undefined"
}
],
"namespaces": ["PushSubscription"]
Expand Down

0 comments on commit a3b3253

Please sign in to comment.