Expose getSlotFragmentSpread in plugin-api

This commit is contained in:
Chi Vinh Le
2017-07-19 20:59:03 +07:00
parent 5fee26da0e
commit 52cd7bcce4
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ export function forEachError(error, callback) {
/**
* getSlotFragmentSpreads will return a string in the
* expected format for slot fragments, given `slots` and `resource`.
* e.g. `getSlotsFragmentSpreads(['slotName'], 'root')` returns
* e.g. `getSlotFragmentSpreads(['slotName'], 'root')` returns
* `...TalkSlot_SlotName_root`.
*/
export function getSlotFragmentSpreads(slots, resource) {
+1
View File
@@ -0,0 +1 @@
export {getSlotFragmentSpreads} from 'coral-framework/utils';