Commit Graph

10 Commits

Author SHA1 Message Date
Konstantin Schaper
7286a62a80 Implement api for extension point typings (#1638)
Currently, the only way to explore available extension points is through our documentation or by browsing the source code. Once you find them, there is no guard rails and the usage is prone to user errors. This new api allows the declaration of extension points as types in code. This way, exposing an extension point is as easy as exporting it from a module. Both the implementation and the developer who uses the extension point work with the same shared type that allows auto-completion and type-checks for safety. This feature is backwards-compatible as the generic methods all have sensible defaults for the type parameters.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-05-12 16:05:30 +02:00
Florian Scholdei
f1b34eb502 Changeover to MIT license (#1066)
* prepare license-maven-plugin for license migration
* added license mapping for tsx files and added some more excludes
* Changeover to MIT license
* Fix build problems
* Delete old remaining licenses
* Add more exclude path for license checker
* Rename included netbeans license, add exclude .m2/repository/
* Specify .m2 exclude because not only repository/, also wrapper/ must match
* Add .cache/ exclude for license check
* Modify formatting of license in java classes to comply with convention and IDE
* Add IntelliJ documentation for license configuration
* Update CHANGELOG.md
* Exclude tmp/workspace/ dir for license check
* Edit README.md

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2020-03-23 15:35:58 +01:00
Florian Scholdei
affb460584 Merge with upstream 2020-02-25 16:22:54 +01:00
Florian Scholdei
a557997fa4 Simplify sort extensions method 2020-02-25 09:18:29 +01:00
Florian Scholdei
a5f27adc71 Described sort method in a more understandable way 2020-02-24 15:05:13 +01:00
Florian Scholdei
a016710c35 Sorted extension point entries with supplied extensionName 2020-02-24 15:02:03 +01:00
Sebastian Sdorra
041a999a01 added context hook to allow the override of the default binder 2020-02-19 09:47:52 +01:00
Sebastian Sdorra
4bb8e6153b apply eslint and prettier rules 2019-10-21 10:57:56 +02:00
Sebastian Sdorra
5debee5b49 fix typing errors 2019-10-19 17:15:53 +02:00
Sebastian Sdorra
6e7a08a3bb use reflow to migrate from flow to typescript 2019-10-19 16:38:07 +02:00