Austin Chen
88bf678ce3
Allow custom environments to override any economic aspect ( #787 )
...
* Extract monetary constants to a single file economy.ts
* Add missing import
* Allow environments to override any econ variable
* Update imports
* Update more imports
* Fix import
2022-08-21 22:37:26 -07:00
Marshall Polaris
9e66daa861
Ratchet up linting for functions package a little bit ( #431 )
2022-06-05 22:50:27 -07:00
Marshall Polaris
47f10301c8
Change lodash stuff so that it can be tree-shaken out of build ( #233 )
...
* Set common package.json sideEffects: false
* Configure SWC to modularize lodash imports
* Import specific lodash functions instead of _
* Add an eslint rule to avoid full lodash import
2022-05-22 01:36:05 -07:00
James Grugett
ab8d541f8d
Revert "Make absolute imports work with functions project ( #168 )"
...
This reverts commit c82a56af09
.
2022-05-15 13:39:42 -04:00
Marshall Polaris
c82a56af09
Make absolute imports work with functions project ( #168 )
...
* Use a silly hack to make absolute imports work with Firebase tools
* Use absolute import for common module in functions code
2022-05-10 13:59:38 -07:00
Austin Chen
3fc159f10b
Revert "Convert common imports in functions to be absolute"
...
This reverts commit c03518e906
.
2022-05-09 12:06:16 -04:00
Marshall Polaris
acc9c84e2e
More absolute imports ( #156 )
...
* Configure functions module to allow absolute imports
* Convert common imports in functions to be absolute
* Convert common imports in web to be absolute
* Convert lib imports in web to be absolute
* Convert hooks imports in web to be absolute
* Convert components imports in web to be absolute
2022-05-09 09:04:36 -04:00
Marshall Polaris
5dbe16ec8d
Change how Firebase scripts auth ( #87 )
...
Now the admin key path is loaded from enviroment variables instead
of being hardcoded in script-init.ts.
2022-04-19 23:31:46 -05:00
James Grugett
83f4fd3555
Scripts: Init admin
2022-01-30 15:11:01 -06:00
mantikoros
4528615863
Private user ( #32 )
...
* PrivateUser
* createUser: create private user; detect multiple signups
* include user properties in private user
* script: create private users
* unsubscribing from market resolution emails
* track total deposits
2022-01-18 21:36:46 -06:00