# StreamLink data types

Sub-interfaces of StreamLink’s `DataEvent` interface provide your application with access to information on updates to a subscribed subject.

This page provides direct links to the StreamLink JS API reference. For platforms other than JavaScript, see the links at the foot of this page.

**StreamLink JS DataEvent sub-interfaces**

| Interface | DataSource type |
| --- | --- |
| [RecordType1Event](https://docs.caplin.com/developer/api/streamlinkjs/latest/classes/RecordType1Event.html) | [Type 1 Record](../datasource/datasource-type-1-data.md) and [Generic Record](../datasource/datasource-generic-data.md) ^†^ |
| [RecordType2Event](https://docs.caplin.com/developer/api/streamlinkjs/latest/classes/RecordType2Event.html) | [Type 2 Record](../datasource/datasource-type-2-data.md) |
| [RecordType3Event](https://docs.caplin.com/developer/api/streamlinkjs/latest/classes/RecordType3Event.html) | [Type 3 Record](../datasource/datasource-type-3-data.md) |
| [JsonEvent](https://docs.caplin.com/developer/api/streamlinkjs/latest/classes/JsonEvent.html) | [JSON](../datasource/datasource-json-data.md) |
| [ContainerEvent](https://docs.caplin.com/developer/api/streamlinkjs/latest/classes/ContainerEvent.html) | [Container](../datasource/datasource-containers.md) |
| [DirectoryEvent](https://docs.caplin.com/developer/api/streamlinkjs/latest/classes/DirectoryEvent.html) | [Directory](../datasource/datasource-directories.md) |
| [PageEvent](https://docs.caplin.com/developer/api/streamlinkjs/latest/classes/PageEvent.html) | [Page](../datasource/datasource-pages.md) |
| [NewsEvent](https://docs.caplin.com/developer/api/streamlinkjs/latest/classes/NewsEvent.html) | [News Headline](../datasource/datasource-news-headlines-and-news-stories.md) |
| [StoryEvent](https://docs.caplin.com/developer/api/streamlinkjs/latest/classes/StoryEvent.html) | [News Story](../datasource/datasource-news-headlines-and-news-stories.md) |
| [PermissionEvent](https://docs.caplin.com/developer/api/streamlinkjs/latest/classes/PermissionEvent.html) | [Permission](../datasource/datasource-permissions.md) |

^†^ [Generic Record](../datasource/datasource-generic-data.md) is an alternative representation of DataSource type one data used internally between components on the Caplin Platform. Over [RTTP](../liberator/liberator-rttp.md), update messages for DataSource Generic Records are identical in form to updates for DataSource Type 1 Records.

---

**See also**:

* [StreamLink Android](https://docs.caplin.com/developer/api/streamlinkandroid/latest/)
* [StreamLink JS](https://docs.caplin.com/developer/api/streamlinkjs/latest/)
* [StreamLink Java](https://docs.caplin.com/developer/api/streamlinkjava/latest/)
* [StreamLink iOS](https://docs.caplin.com/developer/api/streamlinkios/latest/)
* [StreamLink .NET](https://docs.caplin.com/developer/api/streamlink.net/latest/)
