* ReadFunction requres either id or slug in data.
* Added name to the authors
* Changed data arg to an either or id/slug option
Co-authored-by: Yashar Moradi <yashar.moradi@scoperty.de>
* [raphael] Update and fix typings for Raphael 2.3
* Updated typings for Raphael 2.3
* Replaced Function, object and any with more specific types where possible.
* Merged function overloads where possible.
* Added documentation to all types and methods, based on the [official documentation](https://dmitrybaranovskiy.github.io/raphael/reference.html).
* Added tests for the entire [documented API](https://dmitrybaranovskiy.github.io/raphael/reference.html).
* There are a few places where the official documentation is obviously wrong, these parts have been modified accordingly.
* Removed all custom tslint-rules from tslint.json and fixed all linting errors.
* [raphael] Fix @link reference: RaphaelElement.image->RaphaelPaper.image
Co-authored-by: Andre Wachsmuth <awa@xima.de>
* Added missing $filter overload
Added missing $filter overload that allows multiple strings to translate and returns an object
* Added Q query type arg passed to Location
* Fix test
* Formatting
* Added param/query type args to withRouter
* Min TS version 3.5 for Omit type
* lint fix
They check whether a method is defined on props, but the props type
doesn't make the method optional. Typescript now catches this error, so
I made the method optional.
* Add @sinonjs/fake-timers redirect to @testing-library/cypress
@testing-library/cypress depends indirectly on @sinonjs/fake-timers
(cypress -> sinon -> @sinonjs/fake-timers). However, it doesn't have a
redirect @sinonjs/fake-timers -> sinonjs__fake-timers. This causes
lookup to fail.
I'm not sure what caused this problem. I think it was a change in
cypress, which recently shipped a new version, but I'm not sure.
* Update testing-library__dom to require TS 3.1
pretty-format from jest requires at least 3.1. Not sure why this didn't
break before.
* update cypress to 3.1 too
* update other dependencies
- Fixed `StructureSpawn.renewCreep()` documentation
- Added missing `PWR_OPERATE_FACTORY` constant
- Changed `BodyPartConstant` to allow inferred Boost type from part type
- Added `ConcreteStructure<T>` type
- Change `owner` to allow undefined on `StructureController`
- Various updates from 2020-03-24 game update
- Added `Game.map.getRoomStauts(roomName)`
- Added `RoomStatus` type, a discriminated union on `status` of `RoomStatusTemporary` and `RoomStatusPermanent`.
- Added `StructureLab.reverseReaction(lab1,lab2)`
- Changed `room.name` to be readonly
- Changed typing of `StoreBase.getFreeCapacity()` to return `null` for invalid resources types on limited stores.
- Changed documentation of `store` functions
- Deprecated `Game.map.isRoomAvailable()`, see `Game.map.getRoomStatus()`
* added the parse-full-name types
* updated module to not have exported functions and types
* exported the guts of the types as opposed to a single module
* fixed some tests and added a comment for only supporting typescript 3.0
* whoops had a ' that shouldn't have been there
Co-authored-by: n8 <n8@dwell.management>
* Added missing $filter overload
Added missing $filter overload that allows multiple strings to translate and returns an object
* Added Q query type arg passed to Location
* Fix test
* Formatting
* QUnit: Added missing Promise returns
While ok for typescript could cause eslint warnings depending
on configuration.
* Update index.d.ts
Co-authored-by: Tobias <tobiasmark@gmx.de>
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
* Add test, too
* proxyReqPathResolver: can also return promise
proxyReqPathResolver can also return a promise to a string
* Update version number
Update version number of express-http-proxy to 1.6