Commit 75bc691
Add support for streaming through entities (#5517)
* delete `text` from typing activities which are not streaming
* add support for reading streaming data in `entities`
* refactoring to pass existing html2 test cases
* minimal implementation of entities livestreaming
* Rewrite code flow to check for streamingData first -- draft version (this is pretty rough)
* Change conditionals to be more readable and actually check channelData
* handle case of entities being undefined
* Make channelData optional in entitiesStreamingActivitySchema
* make channelData not optional for entitiesStreamingActivitySchema
* change looseObject back to object
* handle entities being undefined again
* clean up logical flow and include more typing
* Removed common data from schemas for reusability
* read channelData instead of entities
* remove unnecessary field from StreamingData
* typing+final+text activity returns undefined
* further abstraction of schemas
* update unit tests
* edit changelog
* finish changelog
* edit docs
* allow for optional channelData in entities streaming schema
* added jsdoc to StreamingData interface
* fix naming issues
* add sample
* trigger CI
* fix sample
* require type: streaminfo field for streaming data in entities
* fix unit tests to reflect added `entities` field
* Use valibot properly
* Verbiage
* Clean up
* Simplify
* Revert back to original
* Revert test and use permutation
* Update entry
* Add `injectInto`
* Clean up
* Clean up
* Add tests
* Reverting
---------
Co-authored-by: = <=>
Co-authored-by: Kyle Rohn <108435516+kylerohn@users.noreply.github.com>
Co-authored-by: MattB <mattb-msft@hotmail.com>
Co-authored-by: William Wong <compulim@users.noreply.github.com>1 parent d0ea7a6 commit 75bc691
File tree
4 files changed
+377
-159
lines changed- docs
- packages/core/src/utils
4 files changed
+377
-159
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
67 | 85 | | |
68 | 86 | | |
69 | 87 | | |
| |||
0 commit comments