Skip to main content

Generator

API reference

Implements Node

completed
Whether the generator complete
description
Return the description of the generator
id
A unique identifier for this Generator.
isEmpty
Whether changeset from the last generator run is empty or not
name
Return the fully qualified name of the generator
path
The path of the generator within its module
changes
The generated changeset from the last run
originalModule
The original module in which the generator has been defined
run
Execute the generator

completed: Boolean!

Whether the generator complete

description: String!

Return the description of the generator

id: ID!

A unique identifier for this Generator.

isEmpty: Boolean!

Whether changeset from the last generator run is empty or not

name: String!

Return the fully qualified name of the generator

path: [String!]!

The path of the generator within its module

changes: Changeset!

The generated changeset from the last run

originalModule: Module!

The original module in which the generator has been defined

run: Generator!

Execute the generator

References

Returned by

Accepted as an argument by