Commit Graph
9 Commits
Author SHA1 Message Date
Jaco Greeff 23f41a0bab Exclude all augment from cc 2020-02-02 20:19:41 +01:00
Jaco Greeff 4aa5693906 Extend type generation (#1783)
* Cleanup type overrides

* Generate (with catch-all removal)

* Progress

* Re-gen tx types

* Remove unneeded option check

* Linting updates

* Update CHANGELOG (cleanups as per comments)
2020-01-31 15:34:06 +01:00
Amaury Martiny 00d86011a7 Correctly type api.query.*.* (#1406)
* v1, very wip

* Refactor file arch

* Clean some code

* Make it work for all methods

* Have correct typings!

* Add similar types

* Fix missing imports

* Move function order

* Put any for now

* Make api.queryMulti work

* Add override check

* Fix typings to make it better

* Uncomment code

* Fix lint

* Fix lint

* Put checkTypes into correct place in file

* Spaces...

* Add multi test

* Use interface instead of type alias

* Add comment

* Fix indentation

* Ignore query.types.ts
2019-09-23 16:46:35 +02:00
Jaco Greeff 54e9a81f5f MemberCount is u32 (#1230)
* MemberCount is u32

* Generate, add interfaces to ignore

* Marge master
2019-07-30 07:09:55 +02:00
Jaco Greeff dd7b138c02 Move contracts classes to srml/contracts (now as types-only) (#1153)
* Move contracts classes to srml/contracts (now as types-only)

* Exclude srml generated files from codeclimate

* Alos excluse types/src/scripts

* Replace Compact<T>.toBn() with unwrap()

* Fic compact type (#1156)

* Remove as unknown as T (T typing is working)

* Move interfaces back to the relevant types.ts
2019-07-22 14:49:08 +02:00
Jaco Greeff 3e7e1c653b Additional Codeclimate cleanups (#452)
* Additional Codeclimate cleanups

* Keep original Vector.with

* Cleanup subtype extraction

* Cleanup fromMeta

* Cleanup createType tests
2018-12-09 10:54:43 +01:00
Jaco Greeff 871c3db84a [CI Skip] Update .codeclimate.yml (#451) 2018-12-08 21:08:11 +01:00
Jaco Greeff 69b05c7fef Allow any provider into API constructor (#444)
* Allow any provider into API constructor

* Update documentation

* Remove combineLatest exposure (deprecation error)

* Linting & test cleanups

* Exclude docs from codeclimate
2018-12-06 11:28:40 +01:00
Jaco Greeff dfe4a62e70 Update to dev 12 (#28) 2017-12-01 20:57:16 +01:00