Amaury Martiny
441148889d
CreateType is typed, add createTypeUnsafe just in case ( #1199 )
...
* Use unsafe internally
* Add comments
* Remove <> in createType
* Fix lint
* Fix classOf
* Remove createType from Text
* Fix lint
* Fix Fallback type
* Fix fallback in createType
2019-07-26 14:00:25 +02:00
Jaco Greeff
2a37b8746d
Rename srml to interfaces ( #1198 )
...
* Rename srml to interfaces
* newline, package.json
2019-07-26 12:08:17 +02:00
Jaco Greeff
478f54c703
Convert RPC classes to primitive classes or /srml types ( #1192 )
...
* Convert RPC classes to primitive classes or /srml types
* Lint passes... lokking at tests next.
* Tests pass.
* Types with basic docs (lots of work here)
* Update StorageKey.spec.ts
* Add injector to metadata doc generation
* Fix import
2019-07-26 10:23:37 +02:00
Jaco Greeff
39323a8896
Convert all type/* (and some primitives) to srml/* ( #1189 )
...
* Convert (almost-all) non-primitives (and some primitives) to srml/*
* Move Vote to primitives, remove type folder
* Move Balance :-o
* Fixup tests, override Balance.toRaw()
2019-07-25 16:34:47 +02:00
Jaco Greeff
a25110b281
Move additional classes to definition-only ( #1165 )
...
* Move additional classes to definition-only
* Move some additional quick-hit types
* Last of the easier type/* conversions
* Remove rhd files
* Remove commented line
* Add injector to types loading
* typo
* Update comment
* Merge master
* Rework & organize CHANGELOG
* Some small helper cleanups
2019-07-25 10:32:26 +02:00
Jaco Greeff
9ef7ee4a67
Unskip additional tests ( #1185 )
2019-07-25 10:29:15 +02:00
Travis CI
65bc0a4a57
[CI Skip] 0.82.0-beta.96
2019-07-24 21:09:04 +00:00
Travis CI
039d3337c8
[CI Skip] 0.82.0-beta.95
2019-07-24 19:46:43 +00:00
Travis CI
2a3cc92e91
[CI Skip] 0.82.0-beta.94
2019-07-24 19:17:32 +00:00
Travis CI
3827353c35
[CI Skip] 0.82.0-beta.93
2019-07-24 18:59:23 +00:00
kwingram25
e1cf002a76
Improve voter derive calls ( #1181 )
...
* voterPositions
* cleanup
* rename var
* changes
* export VoterPosition
2019-07-24 19:46:05 +01:00
Travis CI
8bafdc7596
[CI Skip] 0.82.0-beta.92
2019-07-24 15:38:23 +00:00
Amaury Martiny
66ab3ac502
Cache getTypeClass ( #1183 )
...
* Put memoizee only in types
* Add some tests
* Add failing tests
* Make instanceof work
* Better tests
2019-07-24 17:22:49 +02:00
Travis CI
b89e0d5522
[CI Skip] 0.82.0-beta.91
2019-07-24 14:43:45 +00:00
Travis CI
e15db8aed9
[CI Skip] 0.82.0-beta.90
2019-07-24 11:26:16 +00:00
Travis CI
9e918bb228
[CI Skip] 0.82.0-beta.89
2019-07-24 10:59:39 +00:00
Travis CI
3d0cf19fad
[CI Skip] 0.82.0-beta.88
2019-07-24 09:58:14 +00:00
Travis CI
46796a7ce8
[CI Skip] 0.82.0-beta.87
2019-07-23 20:25:29 +00:00
Travis CI
e3a93abd21
[CI Skip] 0.82.0-beta.86
2019-07-23 14:22:09 +00:00
Travis CI
42d7256470
[CI Skip] 0.82.0-beta.85
2019-07-23 09:59:20 +00:00
Jaco Greeff
ebc2fbe3ee
Move (some) from session & elections to srml/types ( #1158 )
...
* Move (some) from session & elections to srml/types
* Just use createType instad of (new ClassOf(type))(value)
* Cleanup generation script (import file duplication)
2019-07-23 11:47:45 +02:00
Travis CI
8925a9a925
[CI Skip] 0.82.0-beta.84
2019-07-23 09:26:20 +00:00
Travis CI
b4f5ae7911
[CI Skip] 0.82.0-beta.83
2019-07-23 09:08:25 +00:00
Travis CI
6858cd0212
[CI Skip] 0.82.0-beta.82
2019-07-23 08:54:05 +00:00
Travis CI
be8e096c66
[CI Skip] 0.82.0-beta.81
2019-07-22 21:10:07 +00:00
Travis CI
5280ca01fd
[CI Skip] 0.82.0-beta.80
2019-07-22 15:19:06 +00:00
Travis CI
ed0979a50c
[CI Skip] 0.82.0-beta.79
2019-07-22 13:00:00 +00:00
Travis CI
0c7794198a
[CI Skip] 0.82.0-beta.78
2019-07-21 08:47:01 +00:00
Travis CI
80305f5a34
[CI Skip] 0.82.0-beta.77
2019-07-20 09:00:07 +00:00
Jaco Greeff
5e0f62c793
Bump deps ( #1148 )
2019-07-20 10:49:01 +02:00
Travis CI
5c105e4bd1
[CI Skip] 0.82.0-beta.76
2019-07-19 21:24:11 +00:00
Jaco Greeff
d5fb040e92
Bump deps
2019-07-19 23:13:24 +02:00
kwingram25
2ff632b534
Derived elections member type ( #1147 )
...
* elections
* headers
* lint
* lint
* lint
* lint
* fixes
* lint
* voterSets
* derived elections member type
* lint
2019-07-19 23:11:39 +02:00
Travis CI
1d6e4ad638
[CI Skip] 0.82.0-beta.75
2019-07-19 19:38:08 +00:00
kwingram25
ab74db5126
Elections derive ( #1143 )
...
* elections
* headers
* lint
* lint
* lint
* lint
* fixes
* lint
* voterSets
2019-07-19 21:27:02 +02:00
Travis CI
cbd717ca65
[CI Skip] 0.82.0-beta.74
2019-07-19 10:41:40 +00:00
Jaco Greeff
61065a2ac8
Bump deps
2019-07-19 12:27:47 +02:00
Travis CI
66e77dd67b
[CI Skip] 0.82.0-beta.73
2019-07-19 05:17:47 +00:00
Jaco Greeff
5fe63b4053
Bump deps
2019-07-19 07:06:41 +02:00
Travis CI
62eca6c30d
[CI Skip] 0.82.0-beta.72
2019-07-18 22:36:33 +00:00
Jaco Greeff
37af934be6
Bump deps, export elections ( #1146 )
2019-07-19 00:25:26 +02:00
Travis CI
7933611cc4
[CI Skip] 0.82.0-beta.71
2019-07-18 21:55:53 +00:00
Jake Naviasky
efb38dbdf8
Fixing array bug in approvalFlagToBool derive. ( #1144 )
...
* Fixing array bug in approvalFlagToBool derive.
* Replicating 'take until last approval' logic.
2019-07-18 23:43:30 +02:00
Travis CI
31f81ca41e
[CI Skip] 0.82.0-beta.70
2019-07-17 22:09:44 +00:00
Jaco Greeff
ff69c4378d
Update to latest metadata for 2.x ( #1142 )
...
* Update to latest metadata for 2.x
* ... now with .json saved :)
* Common
2019-07-17 23:59:01 +02:00
Travis CI
13adf14de6
[CI Skip] 0.82.0-beta.69
2019-07-17 20:26:36 +00:00
Jake Naviasky
28cf21dd4f
Adding derives for election sets and approval flags. ( #1141 )
...
* Adding derives for election sets and approval flags.
* Bugfixes to derived election functions.
* Attempting linter fix.
* Fixing typing error.
* Another eslint fix.
* Adding explicit types to api calls.
2019-07-17 22:15:43 +02:00
Travis CI
58e50f0c16
[CI Skip] 0.82.0-beta.68
2019-07-16 21:05:51 +00:00
Travis CI
76d3ac7769
[CI Skip] 0.82.0-beta.67
2019-07-16 19:04:41 +00:00
Jaco Greeff
3b282f0306
Don't export constants as ConstantCodec (TS casting) ( #1140 )
...
* Don't export constants as ConstantCodec (TS casting)
* Import ConstantCodec from types
2019-07-16 20:53:12 +02:00