graphql-request
Version:
Minimal GraphQL client supporting Node and browsers for scripts or simple apps.
13 lines • 432 B
JavaScript
const name = `stream`;
export const parseClientDirectiveStream = (input) => {
const args = {
if: typeof input === `boolean` ? input : input.if === undefined ? true : input.if,
label: typeof input === `boolean` ? undefined : input.label,
initialCount: typeof input === `boolean` ? undefined : input.initialCount,
};
return {
name,
args,
};
};
//# sourceMappingURL=stream.js.map