@furystack/rest 7.0.2 → 7.0.4
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/CHANGELOG.md +1 -80
- package/README.md +2 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -7,147 +7,68 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @furystack/rest
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
10
|
### [3.1.7](https://github.com/furystack/furystack/compare/@furystack/rest@3.1.6...@furystack/rest@3.1.7) (2022-02-02)
|
|
16
11
|
|
|
17
12
|
**Note:** Version bump only for package @furystack/rest
|
|
18
13
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
14
|
### [3.1.6](https://github.com/furystack/furystack/compare/@furystack/rest@3.1.4...@furystack/rest@3.1.6) (2022-01-10)
|
|
25
15
|
|
|
26
16
|
**Note:** Version bump only for package @furystack/rest
|
|
27
17
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
18
|
### [3.1.5](https://github.com/furystack/furystack/compare/@furystack/rest@3.1.4...@furystack/rest@3.1.5) (2022-01-10)
|
|
34
19
|
|
|
35
20
|
**Note:** Version bump only for package @furystack/rest
|
|
36
21
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
22
|
### [3.1.4](https://github.com/furystack/furystack/compare/@furystack/rest@3.1.3...@furystack/rest@3.1.4) (2021-12-20)
|
|
43
23
|
|
|
44
24
|
**Note:** Version bump only for package @furystack/rest
|
|
45
25
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
26
|
### [3.1.3](https://github.com/furystack/furystack/compare/@furystack/rest@3.1.2...@furystack/rest@3.1.3) (2021-12-08)
|
|
52
27
|
|
|
53
28
|
**Note:** Version bump only for package @furystack/rest
|
|
54
29
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
30
|
### [3.1.2](https://github.com/furystack/furystack/compare/@furystack/rest@3.1.1...@furystack/rest@3.1.2) (2021-11-30)
|
|
61
31
|
|
|
62
32
|
**Note:** Version bump only for package @furystack/rest
|
|
63
33
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
34
|
### [3.1.1](https://github.com/furystack/furystack/compare/@furystack/rest@3.1.0...@furystack/rest@3.1.1) (2021-11-29)
|
|
70
35
|
|
|
71
36
|
**Note:** Version bump only for package @furystack/rest
|
|
72
37
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
38
|
## [3.1.0](https://github.com/furystack/furystack/compare/@furystack/rest@3.0.21...@furystack/rest@3.1.0) (2021-11-19)
|
|
79
39
|
|
|
80
|
-
|
|
81
40
|
### 🚀 What's new
|
|
82
41
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
42
|
+
- **@furystack/rest:** Extended allowed HTTP methods with HEAD, CONNECT and TRACE ([85b91f2](https://github.com/furystack/furystack/commit/85b91f2254a7459d4cb121caeccec792880467fa))
|
|
87
43
|
|
|
88
44
|
### [3.0.21](https://github.com/furystack/furystack/compare/@furystack/rest@3.0.20...@furystack/rest@3.0.21) (2021-11-09)
|
|
89
45
|
|
|
90
46
|
**Note:** Version bump only for package @furystack/rest
|
|
91
47
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
48
|
### [3.0.20](https://github.com/furystack/furystack/compare/@furystack/rest@3.0.19...@furystack/rest@3.0.20) (2021-10-15)
|
|
98
49
|
|
|
99
50
|
**Note:** Version bump only for package @furystack/rest
|
|
100
51
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
52
|
### [3.0.19](https://github.com/furystack/furystack/compare/@furystack/rest@3.0.18...@furystack/rest@3.0.19) (2021-10-05)
|
|
107
53
|
|
|
108
54
|
**Note:** Version bump only for package @furystack/rest
|
|
109
55
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
56
|
### [3.0.18](https://github.com/furystack/furystack/compare/@furystack/rest@3.0.17...@furystack/rest@3.0.18) (2021-09-16)
|
|
116
57
|
|
|
117
58
|
**Note:** Version bump only for package @furystack/rest
|
|
118
59
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
60
|
### [3.0.17](https://github.com/furystack/furystack/compare/@furystack/rest@3.0.16...@furystack/rest@3.0.17) (2021-08-27)
|
|
125
61
|
|
|
126
62
|
**Note:** Version bump only for package @furystack/rest
|
|
127
63
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
64
|
### [3.0.16](https://github.com/furystack/furystack/compare/@furystack/rest@3.0.15...@furystack/rest@3.0.16) (2021-08-19)
|
|
134
65
|
|
|
135
66
|
**Note:** Version bump only for package @furystack/rest
|
|
136
67
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
68
|
### [3.0.15](https://github.com/furystack/furystack/compare/@furystack/rest@1.3.2...@furystack/rest@3.0.15) (2021-08-19)
|
|
143
69
|
|
|
144
70
|
**Note:** Version bump only for package @furystack/rest
|
|
145
71
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
72
|
### [3.0.14](https://github.com/furystack/furystack/compare/@furystack/rest@1.3.2...@furystack/rest@3.0.14) (2021-07-30)
|
|
152
73
|
|
|
153
74
|
**Note:** Version bump only for package @furystack/rest
|
package/README.md
CHANGED
|
@@ -5,6 +5,7 @@ REST API Model package for FuryStack
|
|
|
5
5
|
## Generic concept
|
|
6
6
|
|
|
7
7
|
An ideal way to implement REST APIs in FuryStack is the following:
|
|
8
|
+
|
|
8
9
|
1. Design the REST API - Create an interface that defines all endpoints, all requirements and all possible return values (~_this package_) You can place in a common module in a Monorepo that can be accessed both with the Backend and Frontend logic to share the API definition
|
|
9
10
|
1. Implement the defined API endpoint using the interface on the backend service (~@furystack/rest-service)
|
|
10
11
|
1. Import the predefined interface and use it on the client (@furystack/rest-client-fetch package)
|
|
@@ -13,4 +14,4 @@ An ideal way to implement REST APIs in FuryStack is the following:
|
|
|
13
14
|
## Disclaimer
|
|
14
15
|
|
|
15
16
|
1. Your service and client will be tightly coupled. However it can be beneficial if this is intentional but it doesn't fin in all REST API scenarios
|
|
16
|
-
1. Validation doesn't come with type definitions by default - Type safety is compile-time only
|
|
17
|
+
1. Validation doesn't come with type definitions by default - Type safety is compile-time only
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@furystack/rest",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.4",
|
|
4
4
|
"description": "Generic REST package",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://github.com/furystack/furystack",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@furystack/core": "^14.0.
|
|
41
|
-
"@furystack/inject": "^11.0.
|
|
40
|
+
"@furystack/core": "^14.0.4",
|
|
41
|
+
"@furystack/inject": "^11.0.3"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@types/node": "^20.12.
|
|
44
|
+
"@types/node": "^20.12.13",
|
|
45
45
|
"typescript": "^5.4.5",
|
|
46
|
-
"vitest": "^1.
|
|
46
|
+
"vitest": "^1.6.0"
|
|
47
47
|
},
|
|
48
48
|
"gitHead": "1045d854bfd8c475b7035471d130d401417a2321"
|
|
49
49
|
}
|