dualsense-ts 2.0.2 → 2.0.3

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.
@@ -0,0 +1,105 @@
1
+ # Interface: UnisenseParams
2
+
3
+ ## Hierarchy
4
+
5
+ - [`InputParams`](../wiki/InputParams)
6
+
7
+ ↳ **`UnisenseParams`**
8
+
9
+ ## Table of contents
10
+
11
+ ### Properties
12
+
13
+ - [analog](../wiki/UnisenseParams#analog)
14
+ - [bumper](../wiki/UnisenseParams#bumper)
15
+ - [icon](../wiki/UnisenseParams#icon)
16
+ - [name](../wiki/UnisenseParams#name)
17
+ - [parent](../wiki/UnisenseParams#parent)
18
+ - [threshold](../wiki/UnisenseParams#threshold)
19
+ - [trigger](../wiki/UnisenseParams#trigger)
20
+
21
+ ## Properties
22
+
23
+ ### analog
24
+
25
+ • `Optional` **analog**: [`InputParams`](../wiki/InputParams)
26
+
27
+ #### Defined in
28
+
29
+ [src/elements/unisense.ts:10](https://github.com/nsfm/dualsense-ts/blob/6dc1604/src/elements/unisense.ts#L10)
30
+
31
+ ___
32
+
33
+ ### bumper
34
+
35
+ • `Optional` **bumper**: [`InputParams`](../wiki/InputParams)
36
+
37
+ #### Defined in
38
+
39
+ [src/elements/unisense.ts:9](https://github.com/nsfm/dualsense-ts/blob/6dc1604/src/elements/unisense.ts#L9)
40
+
41
+ ___
42
+
43
+ ### icon
44
+
45
+ • `Optional` **icon**: `string`
46
+
47
+ #### Inherited from
48
+
49
+ [InputParams](../wiki/InputParams).[icon](../wiki/InputParams#icon)
50
+
51
+ #### Defined in
52
+
53
+ [src/input.ts:6](https://github.com/nsfm/dualsense-ts/blob/6dc1604/src/input.ts#L6)
54
+
55
+ ___
56
+
57
+ ### name
58
+
59
+ • `Optional` **name**: `string`
60
+
61
+ #### Inherited from
62
+
63
+ [InputParams](../wiki/InputParams).[name](../wiki/InputParams#name)
64
+
65
+ #### Defined in
66
+
67
+ [src/input.ts:5](https://github.com/nsfm/dualsense-ts/blob/6dc1604/src/input.ts#L5)
68
+
69
+ ___
70
+
71
+ ### parent
72
+
73
+ • `Optional` **parent**: [`Input`](../wiki/Input)<`unknown`\>
74
+
75
+ #### Inherited from
76
+
77
+ [InputParams](../wiki/InputParams).[parent](../wiki/InputParams#parent)
78
+
79
+ #### Defined in
80
+
81
+ [src/input.ts:8](https://github.com/nsfm/dualsense-ts/blob/6dc1604/src/input.ts#L8)
82
+
83
+ ___
84
+
85
+ ### threshold
86
+
87
+ • `Optional` **threshold**: `number`
88
+
89
+ #### Inherited from
90
+
91
+ [InputParams](../wiki/InputParams).[threshold](../wiki/InputParams#threshold)
92
+
93
+ #### Defined in
94
+
95
+ [src/input.ts:7](https://github.com/nsfm/dualsense-ts/blob/6dc1604/src/input.ts#L7)
96
+
97
+ ___
98
+
99
+ ### trigger
100
+
101
+ • `Optional` **trigger**: [`InputParams`](../wiki/InputParams)
102
+
103
+ #### Defined in
104
+
105
+ [src/elements/unisense.ts:8](https://github.com/nsfm/dualsense-ts/blob/6dc1604/src/elements/unisense.ts#L8)
@@ -0,0 +1,4 @@
1
+ ## dualsense-ts
2
+
3
+ - [Home](../wiki/Home)
4
+ - [Exports](../wiki/Exports)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dualsense-ts",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "A natural interface for your DualSense controller, with Typescript",
5
5
  "keywords": [
6
6
  "dualsense",
@@ -31,7 +31,7 @@
31
31
  "main": "dist/index.js",
32
32
  "types": "dist/index.d.ts",
33
33
  "scripts": {
34
- "prebuild": "yarn barrels",
34
+ "prebuild": "yarn barrels && yarn docs",
35
35
  "build": "tsc --project tsconfig.build.json",
36
36
  "build:watch": "tsc --project tsconfig.build.json --pretty --watch",
37
37
  "lint": "eslint src",
@@ -42,6 +42,8 @@
42
42
  "coverage:watch": "jest src --coverage --verbose --watch",
43
43
  "barrels": "barrelsby -d src -D -l replace -e 'spec.ts$'",
44
44
  "barrels:watch": "nodemon yarn barrels",
45
+ "docs": "typedoc src/index.ts",
46
+ "docs:watch": "nodemon yarn docs",
45
47
  "debug": "nodemon -e ts,json --exec \"node --inspect --enable-source-maps --experimental-specifier-resolution=node --loader ts-node/esm ./util/debug.ts\""
46
48
  },
47
49
  "dependencies": {
@@ -62,6 +64,9 @@
62
64
  "prettier": "^2.3.2",
63
65
  "ts-jest": "^27.1.3",
64
66
  "ts-node": "^10.7.0",
67
+ "typedoc": "^0.22.15",
68
+ "typedoc-github-wiki-theme": "^1.0.1",
69
+ "typedoc-plugin-markdown": "^3.12.1",
65
70
  "typescript": "^4.6.4"
66
71
  },
67
72
  "eslintConfig": {
package/tsconfig.json CHANGED
@@ -27,5 +27,14 @@
27
27
  "transpileOnly": false,
28
28
  "files": true
29
29
  },
30
- "lib": ["esnext"]
30
+ "lib": ["esnext"],
31
+ "typedocOptions": {
32
+ "name": "dualsense-ts",
33
+ "entryPoints": ["src/index.ts"],
34
+ "exclude": "**/**.spec.ts",
35
+ "excludePrivate": true,
36
+ "excludeProtected": true,
37
+ "excludeInternal": true,
38
+ "theme": "github-wiki"
39
+ }
31
40
  }