Commit 2fc2146
authored
## Feature:
* feat(helpers): add '*' as an accepted key to `dataGet`
* Added collection as argument type
* Added option to pass keys in as array or collection
* Added a default value
* feat(helpers): added error check argument to the `retry` function
* feat(helpers): add typing to `ucFirst` function
* feat(helpers): add typing to `finish` function
* feat(helpers): add typing to `after` function
* feat(helpers): add typing to `afterLast` function
* feat(helpers): add typing to `before` function
* feat(helpers): add typing to `beforeLast` function
* feat(helpers): accept array of timeouts in `retry` function as shorthand
* feat(ancestry-collection): improved generic type of collection
* feat(helpers): add typing to `finish` function
## Testing:
* test(helpers): add `dataGet` tests
* test(collection): added partition test
* ensure that partition returns the current collection type
* test(helpers): add `limit` test for not showing limiter after length
* test(ancestry-collection): remove folder properties now known
## Fix:
* fix(helpers): only include limiter when necessary with `words`
* fix(helpers): only include limiter when necessary with `limit`
## Refactor:
* refactor(helpers): rename argument in `dataGet`
## Chore:
* chore(internal): update jest config
* chore: increment version
* chore(deps-dev): updated dependencies
* chore: adjust lines-around-comment eslint rule
* chore: fix eslint issue
## Documentation:
* docs(helpers): update `dataGet` documentation
1 parent c0c0d68 commit 2fc2146
27 files changed
Lines changed: 2377 additions & 1448 deletions
File tree
- docs/helpers
- src
- Calliope
- Concerns
- Support
- function
- string
- tests
- Calliope
- Support
- mock/Models
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
93 | 102 | | |
94 | 103 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | | - | |
389 | | - | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
390 | 391 | | |
391 | 392 | | |
392 | 393 | | |
| |||
400 | 401 | | |
401 | 402 | | |
402 | 403 | | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
403 | 409 | | |
404 | 410 | | |
405 | 411 | | |
406 | 412 | | |
407 | | - | |
| 413 | + | |
408 | 414 | | |
409 | 415 | | |
410 | 416 | | |
| |||
414 | 420 | | |
415 | 421 | | |
416 | 422 | | |
417 | | - | |
| 423 | + | |
418 | 424 | | |
419 | 425 | | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
420 | 433 | | |
421 | 434 | | |
422 | 435 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 23 | | |
28 | 24 | | |
29 | 25 | | |
| |||
0 commit comments