mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
12 lines
342 B
TypeScript
12 lines
342 B
TypeScript
|
import { ASTVisitor } from '../../language/visitor';
|
||
|
import { ASTValidationContext } from '../ValidationContext';
|
||
|
|
||
|
/**
|
||
|
* Subscriptions must only include one field.
|
||
|
*
|
||
|
* A GraphQL subscription is valid only if it contains a single root field.
|
||
|
*/
|
||
|
export function SingleFieldSubscriptionsRule(
|
||
|
context: ASTValidationContext,
|
||
|
): ASTVisitor;
|