library-graphql
Mutation.resetDemoData
GRAPHQL
Mutation.resetDemoData[Admin/demo-only] Wipe every runtime mutation and reload the deterministic seed dataset, restoring the exact snapshot the demo started with. Not part of the library's 13 business actions — see AdminState.
Responses
result AdminState!
| Field | Type | Required | Description |
|---|---|---|---|
| authors | Int! | yes | Number of authors currently on record. |
| books | Int! | yes | Number of books currently in the catalog. |
| loans | Int! | yes | Number of loans (open and closed) on record. |
| users | Int! | yes | Number of registered users. |