Skip to content

Commit

Permalink
Update types notify module
Browse files Browse the repository at this point in the history
  • Loading branch information
zeabdelkhalek committed Jun 8, 2021
1 parent 2c092c1 commit 10293e0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docusaurus-docs/docs/Modules/Notify.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ Call this method to create a notification for a list of sites in a given circula

#### Params

| Name | Type | Example |
| ------------ | ----------------- | --------------------------------------------------------------------------------------------------------------- |
| region | ICircularRegion | `{ latitude: 47.6234207, longitude: -122.3300605, radius: 100 }` |
| notification | INotificationInfo | `{ title: 'Test Notification', message: 'Test Notification message', data: { key1: 'value1', key2: 'value2' }}` |
| Name | Type | Example |
| ------------ | ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| region | [`CircularRegion`](../Types/CircularRegion) | `{ latitude: 47.6234207, longitude: -122.3300605, radius: 100 }` |
| notification | [`NotificationInfo`](../Types/NotificationInfo) | `{ title: 'Test Notification', message: 'Test Notification message', data: { key1: 'value1', key2: 'value2' }}` |

#### Example

Expand Down Expand Up @@ -70,10 +70,10 @@ Create geofence notification for list of sites.

#### Params

| Name | Type | Example |
| ------------ | ----------------- | ------------------------------------------------------------------------------------------------------------- |
| notification | INotificationInfo | `{ title: 'Test Notification', message: 'Test Notification message', data: { key1: 'value', key2: 'value' }}` |
| sites | [ISite] | `[{},...]` |
| Name | Type | Example |
| ------------ | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
| notification | [`NotificationInfo`](../Types/NotificationInfo) | `{ title: 'Test Notification', message: 'Test Notification message', data: { key1: 'value', key2: 'value' }}` |
| sites | [[`Site`](../Types/Site)] | `[{},...]` |

#### Example

Expand Down

0 comments on commit 10293e0

Please sign in to comment.