Skip to content

[modularization] Move the lib/api function into frogpond/api#2899

Merged
rye merged 2 commits into
masterfrom
reorg-take6-part5.16
Aug 27, 2018
Merged

[modularization] Move the lib/api function into frogpond/api#2899
rye merged 2 commits into
masterfrom
reorg-take6-part5.16

Conversation

@hawkrives

Copy link
Copy Markdown
Member

Moves the "frogpond api" file into a module, @frogpond/api.

This is the import {API} from … thing that I introduced for talking with ccc-server.

This PR also introduces a setApiRoot function, to be called as part of app initialization before the API function is ever called. This should allow the module to be agnostic between CARLS and AllAboutOlaf.

Part of the great #1537 redo.

@hawkrives hawkrives self-assigned this Aug 26, 2018
@hawkrives hawkrives requested a review from a team August 26, 2018 21:48
rye
rye previously approved these changes Aug 26, 2018
drewvolz
drewvolz previously approved these changes Aug 26, 2018
@hawkrives

hawkrives commented Aug 26, 2018

Copy link
Copy Markdown
Member Author

Needs #2898, at least, I think

@rye rye dismissed stale reviews from drewvolz and themself via e23ea35 August 27, 2018 01:05
@rye rye force-pushed the reorg-take6-part5.16 branch from dc13afe to e23ea35 Compare August 27, 2018 01:05

@rye rye left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was able to cleanly rebase this onto master. Flow runs fine locally.

@rye rye merged commit 13db27c into master Aug 27, 2018
@rye rye deleted the reorg-take6-part5.16 branch August 27, 2018 02:03
@rye rye added this to the v2.6 milestone Sep 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants