@fougere/decorators 0.4.0-alpha.0 → 0.5.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
# @fougere/decorators
|
|
2
2
|
> The configuration sugar
|
|
3
|
-
`@
|
|
4
|
-
non-obvious way.
|
|
3
|
+
`@expose` — a decorator states a **fact**; it never changes the runtime in a
|
|
4
|
+
non-obvious way. On a class it marks a handler as served; on a method it marks one
|
|
5
|
+
operation. `isExposed(cls)` and `getExposedMethods(cls)` read what was stated.
|
|
6
|
+
|
|
7
|
+
Everything it says can be said in `frond.config.ts` instead, which is why nothing in
|
|
8
|
+
this repository imports it.
|
|
5
9
|
|
|
6
10
|
## Installation
|
|
7
11
|
```bash
|