Last active
September 4, 2020 23:15
-
-
Save skinnyjames/d5f397c7bbbf352f552c6dc73f666574 to your computer and use it in GitHub Desktop.
deps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- sales.dep | |
@import common from 'commmon/deps' | |
@import billing from 'billing/deps' | |
@import preferences from 'preferences/deps | |
!scenario/edit-customer | |
description: editing a customer | |
deps: | |
>api/load-customer | |
>api/save-customer | |
!api/load-customer | |
description: load a customer for edit | |
deps: | |
>billing|api/get-customers-bill | |
>preferences|api/get-customers-favorite-color | |
>common|db/get-colors | |
>common|db/get-states | |
>db/get-customer-details | |
!api/save-customer | |
description: save a customers personal and billing details | |
deps: | |
>db/save-customer-details | |
>billing|api/save-customer-billing-address | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- preferences.spec | |
@import common from 'common/deps' | |
!api/get-customers-favorite-color | |
description: get the customers color id | |
deps: | |
>db/get-customer-color | |
>common|db/get-colors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- billing.dep | |
@import common from 'common/deps' | |
!db/select-bill-for-customer | |
description: get a customers bill | |
!db/save-billing-address | |
description: save a customers billing address | |
!api/billing-get-customers-bill | |
description: get a customers bill | |
deps: | |
>db/select-bill-for-customer | |
>common|db/get-currencies | |
!api/save-customer-billing-address | |
description: save a billing address | |
deps: | |
>db/save-billing-address | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- common.dep | |
!db/get-colors | |
description: get all the colors | |
!db/get-currencies | |
description: get currencies for localization | |
!db/get-states | |
description: get a list of states |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment