library-graphql

Mutation.resetDemoData

GRAPHQLMutation.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!

FieldTypeRequiredDescription
authorsInt!yesNumber of authors currently on record.
booksInt!yesNumber of books currently in the catalog.
loansInt!yesNumber of loans (open and closed) on record.
usersInt!yesNumber of registered users.