From 52cd7bcce4ca2af214e576f2102c06c6f572661c Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Wed, 19 Jul 2017 20:51:21 +0700 Subject: [PATCH] Expose getSlotFragmentSpread in plugin-api --- client/coral-framework/utils/index.js | 2 +- plugin-api/beta/client/utils/index.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 plugin-api/beta/client/utils/index.js diff --git a/client/coral-framework/utils/index.js b/client/coral-framework/utils/index.js index 73a6a6676..61413e03d 100644 --- a/client/coral-framework/utils/index.js +++ b/client/coral-framework/utils/index.js @@ -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) { diff --git a/plugin-api/beta/client/utils/index.js b/plugin-api/beta/client/utils/index.js new file mode 100644 index 000000000..44c3af6c0 --- /dev/null +++ b/plugin-api/beta/client/utils/index.js @@ -0,0 +1 @@ +export {getSlotFragmentSpreads} from 'coral-framework/utils';