@feathersjs/adapter-tests 5.0.0-pre.9 → 5.0.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/CHANGELOG.md +123 -153
- package/LICENSE +1 -1
- package/README.md +2 -2
- package/lib/basic.d.ts +2 -1
- package/lib/basic.js.map +1 -1
- package/lib/declarations.d.ts +8 -0
- package/lib/declarations.js +3 -0
- package/lib/declarations.js.map +1 -0
- package/lib/index.d.ts +4 -2
- package/lib/index.js +24 -6
- package/lib/index.js.map +1 -1
- package/lib/methods.d.ts +2 -1
- package/lib/methods.js +241 -140
- package/lib/methods.js.map +1 -1
- package/lib/syntax.d.ts +2 -1
- package/lib/syntax.js +114 -103
- package/lib/syntax.js.map +1 -1
- package/package.json +16 -13
- package/src/basic.ts +27 -30
- package/src/declarations.ts +93 -0
- package/src/index.ts +36 -28
- package/src/methods.ts +458 -334
- package/src/syntax.ts +184 -157
package/CHANGELOG.md
CHANGED
|
@@ -3,393 +3,363 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
6
|
+
## [5.0.1](https://github.com/feathersjs/feathers/compare/v5.0.0...v5.0.1) (2023-03-15)
|
|
9
7
|
|
|
8
|
+
### Bug Fixes
|
|
10
9
|
|
|
10
|
+
- **memory/mongodb:** $select as only property & force 'id' in '$select' ([#3081](https://github.com/feathersjs/feathers/issues/3081)) ([fbe3cf5](https://github.com/feathersjs/feathers/commit/fbe3cf5199e102b5aeda2ae33828d5034df3d105))
|
|
11
11
|
|
|
12
|
+
# [5.0.0](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.38...v5.0.0) (2023-02-24)
|
|
12
13
|
|
|
14
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
13
15
|
|
|
14
|
-
# [5.0.0-pre.
|
|
16
|
+
# [5.0.0-pre.38](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.37...v5.0.0-pre.38) (2023-02-17)
|
|
15
17
|
|
|
16
18
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
17
19
|
|
|
20
|
+
# [5.0.0-pre.37](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.36...v5.0.0-pre.37) (2023-02-09)
|
|
18
21
|
|
|
22
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
19
23
|
|
|
24
|
+
# [5.0.0-pre.36](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.35...v5.0.0-pre.36) (2023-01-29)
|
|
20
25
|
|
|
26
|
+
### Bug Fixes
|
|
21
27
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
28
|
+
- **databases:** Improve documentation for adapters and allow dynamic Knex adapter options ([#3019](https://github.com/feathersjs/feathers/issues/3019)) ([66c4b5e](https://github.com/feathersjs/feathers/commit/66c4b5e72000dd03acb57fca1cad4737c85c9c9e))
|
|
25
29
|
|
|
30
|
+
### Features
|
|
26
31
|
|
|
32
|
+
- **database:** Add and to the query syntax ([#3021](https://github.com/feathersjs/feathers/issues/3021)) ([00cb0d9](https://github.com/feathersjs/feathers/commit/00cb0d9c302ae951ae007d3d6ceba33e254edd9c))
|
|
27
33
|
|
|
34
|
+
# [5.0.0-pre.35](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.34...v5.0.0-pre.35) (2023-01-12)
|
|
28
35
|
|
|
36
|
+
### Features
|
|
29
37
|
|
|
30
|
-
|
|
38
|
+
- **generators:** Move core code generators to shared generators package ([#2982](https://github.com/feathersjs/feathers/issues/2982)) ([0328d22](https://github.com/feathersjs/feathers/commit/0328d2292153870bc43958f73d2c6f288a8cec17))
|
|
31
39
|
|
|
32
|
-
|
|
40
|
+
# [5.0.0-pre.34](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.33...v5.0.0-pre.34) (2022-12-14)
|
|
33
41
|
|
|
42
|
+
### Features
|
|
34
43
|
|
|
44
|
+
- **adapter:** Add patch data type to adapters and refactor AdapterBase usage ([#2906](https://github.com/feathersjs/feathers/issues/2906)) ([9ddc2e6](https://github.com/feathersjs/feathers/commit/9ddc2e6b028f026f939d6af68125847e5c6734b4))
|
|
35
45
|
|
|
46
|
+
# [5.0.0-pre.33](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.32...v5.0.0-pre.33) (2022-11-08)
|
|
36
47
|
|
|
48
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
37
49
|
|
|
38
|
-
# [5.0.0-pre.
|
|
50
|
+
# [5.0.0-pre.32](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.31...v5.0.0-pre.32) (2022-10-26)
|
|
39
51
|
|
|
52
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
40
53
|
|
|
41
|
-
|
|
54
|
+
# [5.0.0-pre.31](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.30...v5.0.0-pre.31) (2022-10-12)
|
|
42
55
|
|
|
43
|
-
|
|
56
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
44
57
|
|
|
58
|
+
# [5.0.0-pre.30](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.29...v5.0.0-pre.30) (2022-10-07)
|
|
45
59
|
|
|
46
60
|
### Features
|
|
47
61
|
|
|
48
|
-
|
|
49
|
-
|
|
62
|
+
- **core:** Allow to unregister services at runtime ([#2756](https://github.com/feathersjs/feathers/issues/2756)) ([d16601f](https://github.com/feathersjs/feathers/commit/d16601f2277dca5357866ffdefba2a611f6dc7fa))
|
|
50
63
|
|
|
64
|
+
# [5.0.0-pre.29](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.28...v5.0.0-pre.29) (2022-09-16)
|
|
51
65
|
|
|
66
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
52
67
|
|
|
68
|
+
# [5.0.0-pre.28](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.27...v5.0.0-pre.28) (2022-08-03)
|
|
53
69
|
|
|
54
|
-
|
|
70
|
+
### Bug Fixes
|
|
55
71
|
|
|
56
|
-
**
|
|
72
|
+
- **cli:** Improve generated application and client ([#2701](https://github.com/feathersjs/feathers/issues/2701)) ([bd55ffb](https://github.com/feathersjs/feathers/commit/bd55ffb812e89bf215f4515e7f137656ea888c3f))
|
|
57
73
|
|
|
74
|
+
# [5.0.0-pre.27](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.26...v5.0.0-pre.27) (2022-07-13)
|
|
58
75
|
|
|
76
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
59
77
|
|
|
78
|
+
# [5.0.0-pre.26](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.25...v5.0.0-pre.26) (2022-06-22)
|
|
60
79
|
|
|
80
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
61
81
|
|
|
62
|
-
# [5.0.0-pre.
|
|
82
|
+
# [5.0.0-pre.25](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.24...v5.0.0-pre.25) (2022-06-22)
|
|
63
83
|
|
|
84
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
64
85
|
|
|
65
|
-
|
|
86
|
+
# [5.0.0-pre.24](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.23...v5.0.0-pre.24) (2022-06-21)
|
|
66
87
|
|
|
67
|
-
|
|
88
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
68
89
|
|
|
90
|
+
# [5.0.0-pre.23](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.22...v5.0.0-pre.23) (2022-06-06)
|
|
69
91
|
|
|
92
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
70
93
|
|
|
94
|
+
# [5.0.0-pre.22](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.21...v5.0.0-pre.22) (2022-05-24)
|
|
71
95
|
|
|
96
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
72
97
|
|
|
73
|
-
# [5.0.0-pre.
|
|
98
|
+
# [5.0.0-pre.20](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.19...v5.0.0-pre.20) (2022-05-04)
|
|
74
99
|
|
|
75
100
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
76
101
|
|
|
102
|
+
# [5.0.0-pre.19](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.18...v5.0.0-pre.19) (2022-05-01)
|
|
77
103
|
|
|
104
|
+
### Bug Fixes
|
|
78
105
|
|
|
106
|
+
- **adapter-commons:** Clarify adapter query filtering ([#2607](https://github.com/feathersjs/feathers/issues/2607)) ([2dac771](https://github.com/feathersjs/feathers/commit/2dac771b0a3298d6dd25994d05186701b0617718))
|
|
107
|
+
- **adapter-tests:** Ensure multi tests can run standalone ([#2608](https://github.com/feathersjs/feathers/issues/2608)) ([d7243f2](https://github.com/feathersjs/feathers/commit/d7243f20e84d9dde428ad8dfc7f48388ca569e6e))
|
|
79
108
|
|
|
109
|
+
### BREAKING CHANGES
|
|
80
110
|
|
|
81
|
-
|
|
111
|
+
- **adapter-commons:** Changes the common adapter base class to use `sanitizeQuery` and `sanitizeData`
|
|
82
112
|
|
|
113
|
+
# [5.0.0-pre.18](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.17...v5.0.0-pre.18) (2022-04-11)
|
|
83
114
|
|
|
84
115
|
### Bug Fixes
|
|
85
116
|
|
|
86
|
-
|
|
117
|
+
- **adapter-tests:** Add tests for pagination in multi updates ([#2472](https://github.com/feathersjs/feathers/issues/2472)) ([98a811a](https://github.com/feathersjs/feathers/commit/98a811ac605575ff812a08d0504729a5efe7a69c))
|
|
87
118
|
|
|
119
|
+
# [5.0.0-pre.17](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.16...v5.0.0-pre.17) (2022-02-15)
|
|
88
120
|
|
|
121
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
89
122
|
|
|
123
|
+
# [5.0.0-pre.16](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.15...v5.0.0-pre.16) (2022-01-12)
|
|
90
124
|
|
|
125
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
91
126
|
|
|
92
|
-
# [5.0.0-
|
|
127
|
+
# [5.0.0-pre.15](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.14...v5.0.0-pre.15) (2021-11-27)
|
|
93
128
|
|
|
129
|
+
### Bug Fixes
|
|
94
130
|
|
|
95
|
-
|
|
131
|
+
- **typescript:** Overall typing improvements ([#2478](https://github.com/feathersjs/feathers/issues/2478)) ([b8eb804](https://github.com/feathersjs/feathers/commit/b8eb804158556d9651a8607e3c3fda15e0bfd110))
|
|
96
132
|
|
|
97
|
-
|
|
133
|
+
# [5.0.0-pre.14](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.13...v5.0.0-pre.14) (2021-10-13)
|
|
98
134
|
|
|
135
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
99
136
|
|
|
100
|
-
|
|
137
|
+
# [5.0.0-pre.13](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.12...v5.0.0-pre.13) (2021-10-13)
|
|
101
138
|
|
|
102
|
-
|
|
103
|
-
`service.mixin()` is no longer available.
|
|
139
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
104
140
|
|
|
141
|
+
# [5.0.0-pre.12](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.11...v5.0.0-pre.12) (2021-10-12)
|
|
105
142
|
|
|
143
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
106
144
|
|
|
145
|
+
# [5.0.0-pre.11](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.10...v5.0.0-pre.11) (2021-10-06)
|
|
107
146
|
|
|
147
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
108
148
|
|
|
109
|
-
# [5.0.0-pre.
|
|
149
|
+
# [5.0.0-pre.10](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.9...v5.0.0-pre.10) (2021-09-19)
|
|
110
150
|
|
|
151
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
111
152
|
|
|
112
|
-
|
|
153
|
+
# [5.0.0-pre.9](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.8...v5.0.0-pre.9) (2021-08-09)
|
|
113
154
|
|
|
114
|
-
|
|
155
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
115
156
|
|
|
157
|
+
# [5.0.0-pre.8](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.7...v5.0.0-pre.8) (2021-08-09)
|
|
116
158
|
|
|
159
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
117
160
|
|
|
161
|
+
# [5.0.0-pre.7](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.6...v5.0.0-pre.7) (2021-08-09)
|
|
118
162
|
|
|
163
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
119
164
|
|
|
120
|
-
|
|
165
|
+
# [5.0.0-pre.6](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.5...v5.0.0-pre.6) (2021-08-08)
|
|
121
166
|
|
|
122
167
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
123
168
|
|
|
169
|
+
# [5.0.0-pre.5](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.4...v5.0.0-pre.5) (2021-06-23)
|
|
170
|
+
|
|
171
|
+
### Bug Fixes
|
|
124
172
|
|
|
173
|
+
- Update database adapter common repository urls ([#2380](https://github.com/feathersjs/feathers/issues/2380)) ([3f4db68](https://github.com/feathersjs/feathers/commit/3f4db68d6700c7d9023ecd17d0d39893f75a19fd))
|
|
125
174
|
|
|
175
|
+
### Features
|
|
126
176
|
|
|
177
|
+
- **adapter-commons:** Add support for params.adapter option and move memory adapter to @feathersjs/memory ([#2367](https://github.com/feathersjs/feathers/issues/2367)) ([a43e7da](https://github.com/feathersjs/feathers/commit/a43e7da22b6b981a96d1321736ea9a0cb924fb4f))
|
|
127
178
|
|
|
128
|
-
|
|
179
|
+
# [5.0.0-pre.4](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.3...v5.0.0-pre.4) (2021-05-13)
|
|
129
180
|
|
|
130
181
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
131
182
|
|
|
183
|
+
# [5.0.0-pre.3](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.2...v5.0.0-pre.3) (2021-04-21)
|
|
132
184
|
|
|
185
|
+
### Bug Fixes
|
|
133
186
|
|
|
187
|
+
- **typescript:** Improve TypeScript backwards compatibility ([#2310](https://github.com/feathersjs/feathers/issues/2310)) ([f33be73](https://github.com/feathersjs/feathers/commit/f33be73fc46a533efb15df9aab0658e3240d3897))
|
|
134
188
|
|
|
189
|
+
# [5.0.0-pre.2](https://github.com/feathersjs/feathers/compare/v5.0.0-beta.1...v5.0.0-pre.2) (2021-04-06)
|
|
135
190
|
|
|
136
|
-
|
|
191
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
137
192
|
|
|
193
|
+
# [5.0.0-beta.1](https://github.com/feathersjs/feathers/compare/v5.0.0-beta.0...v5.0.0-beta.1) (2021-04-03)
|
|
138
194
|
|
|
139
195
|
### Bug Fixes
|
|
140
196
|
|
|
141
|
-
|
|
197
|
+
- **adapter-tests:** Add test that verified paginated total ([#2273](https://github.com/feathersjs/feathers/issues/2273)) ([879bd6b](https://github.com/feathersjs/feathers/commit/879bd6b24f42e04eeeeba110ddddda3e1e1dea34))
|
|
142
198
|
|
|
199
|
+
# [5.0.0-beta.0](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.1...v5.0.0-beta.0) (2021-03-28)
|
|
143
200
|
|
|
201
|
+
### Features
|
|
144
202
|
|
|
203
|
+
- **core:** Remove Uberproto ([#2178](https://github.com/feathersjs/feathers/issues/2178)) ([ddf8821](https://github.com/feathersjs/feathers/commit/ddf8821f53317e6a378657f7d66acb03a037ee47))
|
|
145
204
|
|
|
205
|
+
### BREAKING CHANGES
|
|
146
206
|
|
|
147
|
-
|
|
207
|
+
- **core:** Services no longer extend Uberproto objects and
|
|
208
|
+
`service.mixin()` is no longer available.
|
|
148
209
|
|
|
149
|
-
|
|
210
|
+
# [5.0.0-pre.1](https://github.com/feathersjs/feathers/compare/v4.5.11...v5.0.0-pre.1) (2020-12-17)
|
|
150
211
|
|
|
212
|
+
### Features
|
|
151
213
|
|
|
214
|
+
- **memory:** Move feathers-memory into @feathersjs/memory ([#2153](https://github.com/feathersjs/feathers/issues/2153)) ([dd61fe3](https://github.com/feathersjs/feathers/commit/dd61fe371fb0502f78b8ccbe1f45a030e31ecff6))
|
|
152
215
|
|
|
216
|
+
## [4.5.11](https://github.com/feathersjs/feathers/compare/v4.5.10...v4.5.11) (2020-12-05)
|
|
153
217
|
|
|
218
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
154
219
|
|
|
155
|
-
## [4.5.
|
|
220
|
+
## [4.5.4](https://github.com/feathersjs/feathers/compare/v4.5.3...v4.5.4) (2020-09-27)
|
|
156
221
|
|
|
157
222
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
158
223
|
|
|
224
|
+
## 4.5.3 (2020-09-24)
|
|
159
225
|
|
|
226
|
+
### Bug Fixes
|
|
160
227
|
|
|
228
|
+
- **adapter-tests:** Update multi patch + query tests ([#5](https://github.com/feathersjs/databases/issues/5)) ([84f1fe4](https://github.com/feathersjs/databases/commit/84f1fe4f13dc3a26891e43b965f75d08243f6c6f))
|
|
161
229
|
|
|
162
|
-
|
|
163
|
-
# [4.5.0](https://github.com/feathersjs/feathers/compare/v4.4.3...v4.5.0) (2020-01-18)
|
|
230
|
+
## [4.5.2](https://github.com/feathersjs/feathers/compare/v4.5.1...v4.5.2) (2020-03-04)
|
|
164
231
|
|
|
165
232
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
166
233
|
|
|
234
|
+
## [4.5.1](https://github.com/feathersjs/feathers/compare/v4.5.0...v4.5.1) (2020-01-24)
|
|
167
235
|
|
|
236
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
168
237
|
|
|
238
|
+
# [4.5.0](https://github.com/feathersjs/feathers/compare/v4.4.3...v4.5.0) (2020-01-18)
|
|
169
239
|
|
|
240
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
170
241
|
|
|
171
242
|
## [4.4.3](https://github.com/feathersjs/feathers/compare/v4.4.1...v4.4.3) (2019-12-06)
|
|
172
243
|
|
|
173
244
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
174
245
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
246
|
## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27)
|
|
180
247
|
|
|
181
248
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
182
249
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
250
|
# [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27)
|
|
188
251
|
|
|
189
252
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
190
253
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
254
|
## [4.3.11](https://github.com/feathersjs/feathers/compare/v4.3.10...v4.3.11) (2019-11-11)
|
|
196
255
|
|
|
197
256
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
198
257
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
258
|
## [4.3.10](https://github.com/feathersjs/feathers/compare/v4.3.9...v4.3.10) (2019-10-26)
|
|
204
259
|
|
|
205
260
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
206
261
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
262
|
## [4.3.9](https://github.com/feathersjs/feathers/compare/v4.3.8...v4.3.9) (2019-10-26)
|
|
212
263
|
|
|
213
264
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
214
265
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
266
|
## [4.3.7](https://github.com/feathersjs/feathers/compare/v4.3.6...v4.3.7) (2019-10-14)
|
|
220
267
|
|
|
221
268
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
222
269
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
270
|
## [4.3.4](https://github.com/feathersjs/feathers/compare/v4.3.3...v4.3.4) (2019-10-03)
|
|
228
271
|
|
|
229
272
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
230
273
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
274
|
## [4.3.3](https://github.com/feathersjs/feathers/compare/v4.3.2...v4.3.3) (2019-09-21)
|
|
236
275
|
|
|
237
276
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
238
277
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
278
|
## [4.3.2](https://github.com/feathersjs/feathers/compare/v4.3.1...v4.3.2) (2019-09-16)
|
|
244
279
|
|
|
245
280
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
246
281
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
282
|
## [4.3.1](https://github.com/feathersjs/feathers/compare/v4.3.0...v4.3.1) (2019-09-09)
|
|
252
283
|
|
|
253
284
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
254
285
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
286
|
# [4.3.0](https://github.com/feathersjs/feathers/compare/v4.3.0-pre.4...v4.3.0) (2019-08-27)
|
|
260
287
|
|
|
261
288
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
262
289
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
290
|
# [4.3.0-pre.4](https://github.com/feathersjs/feathers/compare/v4.3.0-pre.3...v4.3.0-pre.4) (2019-08-22)
|
|
268
291
|
|
|
269
292
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
270
293
|
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
294
|
# [4.3.0-pre.3](https://github.com/feathersjs/feathers/compare/v4.3.0-pre.2...v4.3.0-pre.3) (2019-08-19)
|
|
276
295
|
|
|
277
296
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
278
297
|
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
298
|
# [4.3.0-pre.2](https://github.com/feathersjs/feathers/compare/v4.3.0-pre.1...v4.3.0-pre.2) (2019-08-02)
|
|
284
299
|
|
|
285
300
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
286
301
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
302
|
# [4.3.0-pre.1](https://github.com/feathersjs/feathers/compare/v4.0.0-pre.5...v4.3.0-pre.1) (2019-07-11)
|
|
292
303
|
|
|
293
304
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
294
305
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
306
|
# [4.0.0-pre.5](https://github.com/feathersjs/feathers/compare/v4.0.0-pre.4...v4.0.0-pre.5) (2019-07-10)
|
|
300
307
|
|
|
301
|
-
|
|
302
308
|
### Bug Fixes
|
|
303
309
|
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
310
|
+
- Fix feathers-memory dependency that did not get updated ([9422b13](https://github.com/feathersjs/feathers/commit/9422b13))
|
|
309
311
|
|
|
310
312
|
# [4.0.0-pre.4](https://github.com/feathersjs/feathers/compare/v4.0.0-pre.3...v4.0.0-pre.4) (2019-07-05)
|
|
311
313
|
|
|
312
314
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
313
315
|
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
316
|
# [4.0.0-pre.3](https://github.com/feathersjs/feathers/compare/v4.0.0-pre.2...v4.0.0-pre.3) (2019-06-01)
|
|
319
317
|
|
|
320
|
-
|
|
321
318
|
### Bug Fixes
|
|
322
319
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
320
|
+
- Update dependencies and fix tests ([#1373](https://github.com/feathersjs/feathers/issues/1373)) ([d743a7f](https://github.com/feathersjs/feathers/commit/d743a7f))
|
|
328
321
|
|
|
329
322
|
# [4.0.0-pre.2](https://github.com/feathersjs/feathers/compare/v4.0.0-pre.1...v4.0.0-pre.2) (2019-05-15)
|
|
330
323
|
|
|
331
324
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
332
325
|
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
326
|
# [4.0.0-pre.1](https://github.com/feathersjs/feathers/compare/v4.0.0-pre.0...v4.0.0-pre.1) (2019-05-08)
|
|
338
327
|
|
|
339
328
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
340
329
|
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
330
|
# [4.0.0-pre.0](https://github.com/feathersjs/feathers/compare/v3.2.0-pre.1...v4.0.0-pre.0) (2019-04-21)
|
|
346
331
|
|
|
347
|
-
|
|
348
332
|
### Bug Fixes
|
|
349
333
|
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
334
|
+
- Add test to make sure different id in adapter query works ([#1165](https://github.com/feathersjs/feathers/issues/1165)) ([0ba4580](https://github.com/feathersjs/feathers/commit/0ba4580))
|
|
335
|
+
- Update adapter tests to not rely on error instance ([#1202](https://github.com/feathersjs/feathers/issues/1202)) ([6885e0e](https://github.com/feathersjs/feathers/commit/6885e0e))
|
|
336
|
+
- Update all dependencies to latest ([#1206](https://github.com/feathersjs/feathers/issues/1206)) ([e51e0f6](https://github.com/feathersjs/feathers/commit/e51e0f6))
|
|
354
337
|
|
|
355
338
|
### chore
|
|
356
339
|
|
|
357
|
-
|
|
358
|
-
|
|
340
|
+
- **package:** Move adapter tests into their own module ([#1164](https://github.com/feathersjs/feathers/issues/1164)) ([dcc1e6b](https://github.com/feathersjs/feathers/commit/dcc1e6b))
|
|
359
341
|
|
|
360
342
|
### Features
|
|
361
343
|
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
344
|
+
- Add TypeScript definitions ([#1275](https://github.com/feathersjs/feathers/issues/1275)) ([9dd6713](https://github.com/feathersjs/feathers/commit/9dd6713))
|
|
345
|
+
- Authentication v3 core server implementation ([#1205](https://github.com/feathersjs/feathers/issues/1205)) ([1bd7591](https://github.com/feathersjs/feathers/commit/1bd7591))
|
|
365
346
|
|
|
366
347
|
### BREAKING CHANGES
|
|
367
348
|
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
349
|
+
- **package:** Removes adapter tests from @feathersjs/adapter-commons
|
|
373
350
|
|
|
374
351
|
## [1.0.1](https://github.com/feathersjs/feathers/compare/@feathersjs/adapter-tests@1.0.0...@feathersjs/adapter-tests@1.0.1) (2019-01-10)
|
|
375
352
|
|
|
376
|
-
|
|
377
353
|
### Bug Fixes
|
|
378
354
|
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
355
|
+
- Add test to make sure different id in adapter query works ([#1165](https://github.com/feathersjs/feathers/issues/1165)) ([0ba4580](https://github.com/feathersjs/feathers/commit/0ba4580))
|
|
384
356
|
|
|
385
357
|
# 1.0.0 (2019-01-10)
|
|
386
358
|
|
|
387
|
-
|
|
388
359
|
### chore
|
|
389
360
|
|
|
390
|
-
|
|
391
|
-
|
|
361
|
+
- **package:** Move adapter tests into their own module ([#1164](https://github.com/feathersjs/feathers/issues/1164)) ([dcc1e6b](https://github.com/feathersjs/feathers/commit/dcc1e6b))
|
|
392
362
|
|
|
393
363
|
### BREAKING CHANGES
|
|
394
364
|
|
|
395
|
-
|
|
365
|
+
- **package:** Removes adapter tests from @feathersjs/adapter-commons
|
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Feathers Adapter Tests
|
|
2
2
|
|
|
3
3
|
[](https://github.com/feathersjs/feathers/actions?query=workflow%3A%22Node.js+CI%22)
|
|
4
|
-
[](https://david-dm.org/feathersjs/feathers?path=packages/adapter-tests)
|
|
5
4
|
[](https://www.npmjs.com/package/@feathersjs/adapter-commons)
|
|
5
|
+
[](https://discord.gg/qa8kez8QBx)
|
|
6
6
|
|
|
7
7
|
> Feathers shared database adapter test suite
|
|
8
8
|
|
|
@@ -16,6 +16,6 @@ This is a repository that contains the test suite for the common database adapte
|
|
|
16
16
|
|
|
17
17
|
## License
|
|
18
18
|
|
|
19
|
-
Copyright (c)
|
|
19
|
+
Copyright (c) 2023 [Feathers contributors](https://github.com/feathersjs/feathers/graphs/contributors)
|
|
20
20
|
|
|
21
21
|
Licensed under the [MIT license](LICENSE).
|
package/lib/basic.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { AdapterBasicTest } from './declarations';
|
|
2
|
+
declare const _default: (test: AdapterBasicTest, app: any, _errors: any, serviceName: string, idProp: string) => void;
|
|
2
3
|
export default _default;
|
package/lib/basic.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basic.js","sourceRoot":"","sources":["../src/basic.ts"],"names":[],"mappings":";;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"basic.js","sourceRoot":"","sources":["../src/basic.ts"],"names":[],"mappings":";;;;;AAAA,oDAA2B;AAG3B,kBAAe,CAAC,IAAsB,EAAE,GAAQ,EAAE,OAAY,EAAE,WAAmB,EAAE,MAAc,EAAE,EAAE;IACrG,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;QACnC,IAAI,OAAY,CAAA;QAEhB,UAAU,CAAC,GAAG,EAAE;YACd,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC,WAAW,CAAC,CAAA;QACpC,CAAC,CAAC,CAAA;QAEF,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE;YACb,gBAAM,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,qCAAqC,CAAC,CAAA;QAC/E,CAAC,CAAC,CAAA;QAEF,IAAI,CAAC,UAAU,EAAE,GAAG,EAAE;YACpB,gBAAM,CAAC,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,0CAA0C,CAAC,CAAA;QACxE,CAAC,CAAC,CAAA;QAEF,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE;YACnB,gBAAM,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,8CAA8C,CAAC,CAAA;QAC/F,CAAC,CAAC,CAAA;QAEF,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;YAC3B,IAAI,CAAC,OAAO,EAAE,GAAG,EAAE;gBACjB,gBAAM,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC,CAAA;YACrD,CAAC,CAAC,CAAA;YAEF,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAE;gBAClB,gBAAM,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;YACtD,CAAC,CAAC,CAAA;YAEF,IAAI,CAAC,UAAU,EAAE,GAAG,EAAE;gBACpB,gBAAM,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,OAAO,EAAE,UAAU,CAAC,CAAA;YACxD,CAAC,CAAC,CAAA;YAEF,IAAI,CAAC,UAAU,EAAE,GAAG,EAAE;gBACpB,gBAAM,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,OAAO,EAAE,UAAU,CAAC,CAAA;YACxD,CAAC,CAAC,CAAA;YAEF,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE;gBACnB,gBAAM,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;YACvD,CAAC,CAAC,CAAA;YAEF,IAAI,CAAC,UAAU,EAAE,GAAG,EAAE;gBACpB,gBAAM,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,OAAO,EAAE,UAAU,CAAC,CAAA;YACxD,CAAC,CAAC,CAAA;QACJ,CAAC,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;AACJ,CAAC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type AdapterTest = (name: AdapterTestName, runner: any) => void;
|
|
2
|
+
export type AdapterBasicTest = (name: AdapterBasicTestName, runner: any) => void;
|
|
3
|
+
export type AdapterMethodsTest = (name: AdapterMethodsTestName, runner: any) => void;
|
|
4
|
+
export type AdapterSyntaxTest = (name: AdapterSyntaxTestName, runner: any) => void;
|
|
5
|
+
export type AdapterTestName = AdapterBasicTestName | AdapterMethodsTestName | AdapterSyntaxTestName;
|
|
6
|
+
export type AdapterBasicTestName = '.id' | '.options' | '.events' | '._get' | '._find' | '._create' | '._update' | '._patch' | '._remove' | '.$get' | '.$find' | '.$create' | '.$update' | '.$patch' | '.$remove';
|
|
7
|
+
export type AdapterMethodsTestName = '.get' | '.get + $select' | '.get + id + query' | '.get + NotFound' | '.get + id + query id' | '.find' | '.remove' | '.remove + $select' | '.remove + id + query' | '.remove + multi' | '.remove + multi no pagination' | '.remove + id + query id' | '.update' | '.update + $select' | '.update + id + query' | '.update + NotFound' | '.update + query + NotFound' | '.update + id + query id' | '.patch' | '.patch + $select' | '.patch + id + query' | '.patch multiple' | '.patch multiple no pagination' | '.patch multi query same' | '.patch multi query changed' | '.patch + NotFound' | '.patch + query + NotFound' | '.patch + id + query id' | '.create' | '.create + $select' | '.create multi' | '.create ignores query' | 'internal .find' | 'internal .get' | 'internal .create' | 'internal .update' | 'internal .patch' | 'internal .remove';
|
|
8
|
+
export type AdapterSyntaxTestName = '.find + equal' | '.find + equal multiple' | '.find + $sort' | '.find + $sort + string' | '.find + $limit' | '.find + $limit 0' | '.find + $skip' | '.find + $select' | '.find + $or' | '.find + $in' | '.find + $nin' | '.find + $lt' | '.find + $lte' | '.find + $gt' | '.find + $gte' | '.find + $ne' | '.find + $gt + $lt + $sort' | '.find + $or nested + $sort' | '.find + $and' | '.find + $and + $or' | 'params.adapter + paginate' | 'params.adapter + multi' | '.find + paginate' | '.find + paginate + query' | '.find + paginate + $limit + $skip' | '.find + paginate + $limit 0' | '.find + paginate + params';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"declarations.js","sourceRoot":"","sources":["../src/declarations.ts"],"names":[],"mappings":""}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { AdapterTestName } from './declarations';
|
|
2
|
+
declare const adapterTests: (testNames: AdapterTestName[]) => (app: any, errors: any, serviceName: any, idProp?: string) => void;
|
|
3
|
+
export * from './declarations';
|
|
4
|
+
export default adapterTests;
|