Commit fc18a22
Create object validation (#435)
* started bulding the scraper
* Added component scraping support
* Added better signature handling
* Start collecting interface data
* Scrape roku docs websites for interfaces too
* rename script.
* fix bugs finding interface implementors.
generate ts file instead of json
* First pass for events
* remove eslint overrides for nonexistant data.ts file
* better data exporting
* fix lint issue
* collect basic descriptions
* Reference non-localized docs
* start parsing markdown instead of html
* Use markdown parser for `implementedBy`.
* Add better typing support for tables.
* Remove nested signatures array in favor of duplicate methods
* Convert interface method scraping to use markdown
* Removed default parameter value for components
* Collect all description markdown for components, interfaces and events
* Remove extraneous commas from descriptions
* Collect "availableSince" for main item
* move interfaces to bottom of the file
* Make more generic markdown retrieving methods
* use markdown parser for "implementedBy" table
* restructure class
* Fix "implemented by" bugs in some markdown docs
* Rename Implementor to Implementer
* Add interface implementers list.
* Remove jsdom entirely in favor of marked
* fix ci build issue
* Repair doc urls in descriptions.
Collect SGNode items.
* exclude "overview" component pages
* Collect scenegraph node fields
* Commiting files
* Tests
* Fixed tests - made sure to check actual unquoted string values in createObject validation
* small tsconfig fixes
* Added Diagnostic and validation for unknown brightscript component in createObject() call
* Added additional logic to check for mismatch in CreateObject argument count (#561)
* Added additional logic to check for mismatch in CrateObject argument count
* Fixed scraping code, and gracefully handles bad createObject docs
* Moved constructor push out of loop
* Updated to latest version of marked library
* Removed commented code
* Add merge logic for overrides
* Add doc url for RSGPalette
* Added missing deepmerge package
* Scapes docs for deprecation status, adds it to data.json, and adds a validation for CreateObject(<deprecated>)
* Lint fix
* Sorts data.json so nodes, compoenents, interfaces, events, properties, methods, implementors etc. are in alphabetical order
* add basic typedef generation (WIP)
Co-authored-by: Mark Pearce <mark.pearce@redspace.com>
Co-authored-by: Mark Pearce <markwpearce@gmail.com>1 parent 4c0658f commit fc18a22
File tree
17 files changed
+23547
-483
lines changed- .vscode
- scripts
- src
- files
- roku-types
17 files changed
+23547
-483
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
212 | 221 | | |
213 | 222 | | |
| 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 | + | |
| 85 | + | |
| 86 | + | |
67 | 87 | | |
68 | 88 | | |
69 | | - | |
| 89 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
47 | 55 | | |
48 | 56 | | |
49 | 57 | | |
50 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
51 | 69 | | |
52 | 70 | | |
53 | 71 | | |
| |||
59 | 77 | | |
60 | 78 | | |
61 | 79 | | |
62 | | - | |
| 80 | + | |
0 commit comments