@sotnak/react-wakatime-global-stats 0.1.0 → 0.1.2
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 +21 -0
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
## WakaTime stats
|
|
2
|
+
### Waka component
|
|
3
|
+
main component
|
|
4
|
+
#### interface WakaProps
|
|
5
|
+
- aggregateFunction: AggregateFunction
|
|
6
|
+
- category: Category
|
|
7
|
+
- year: number //[ 2013, ...,2022 ]
|
|
8
|
+
- limit: number | undefined
|
|
9
|
+
|
|
10
|
+
#### enum AggregateFunction
|
|
11
|
+
- sum = 0
|
|
12
|
+
- average = 1
|
|
13
|
+
- median = 2
|
|
14
|
+
|
|
15
|
+
#### enum Category
|
|
16
|
+
- languages = 0
|
|
17
|
+
- editors = 1
|
|
18
|
+
- operating_systems = 2
|
|
19
|
+
|
|
20
|
+
### WakaInteractive component
|
|
21
|
+
experimental (encapsulates Waka component)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sotnak/react-wakatime-global-stats",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"license": "ISC",
|
|
16
16
|
"files": [
|
|
17
17
|
"dist",
|
|
18
|
-
"assets"
|
|
18
|
+
"assets",
|
|
19
|
+
"README.md"
|
|
19
20
|
],
|
|
20
21
|
"devDependencies": {
|
|
21
22
|
"@babel/core": "^7.20.12",
|