StuccoJS Subscriptions
Zeus can generate types for the Stucco Subscription library by adding the --stuccoSubscriptions flag to the CLI. All types in data are then inherited from the Zeus query.
$ zeus schema.graphql ./  --stuccoSubscriptionsstuccoSubscriptions(
  (apiFetchResult) => [apiFetchResult.url],
  'https://my.backend/graphql',
)({ drawCard: { Attack: true } }).on((args) => args.drawCard.Attack);Last updated
Was this helpful?
