Calculate hash on pass-through (#70)

This commit is contained in:
Jaco Greeff
2018-04-20 15:25:37 +02:00
committed by GitHub
parent 02659e3fdc
commit 7074036064
8 changed files with 41 additions and 24 deletions
+2 -1
View File
@@ -16,6 +16,7 @@ module.exports = ({
isSubscription: true,
inputs: [],
output: {
type: 'Header'
type: 'Header',
withHash: true
}
}: InterfaceMethodDefinition);
+2 -1
View File
@@ -16,7 +16,8 @@ export type InterfaceInputType = {
};
export type InterfaceOutputType = {
type: FormatOutputType
type: FormatOutputType,
withHash?: boolean
};
export type InterfaceMethodDefinition$Subscribe = {