@@ -917,6 +917,59 @@ export enum CustomerTypeChoice {
917917 Nonprofit = "NONPROFIT" ,
918918}
919919
920+ /** Debugging information for the current query. */
921+ export type DjangoDebug = {
922+ __typename ?: "DjangoDebug" ;
923+ /** Raise exceptions for this API query. */
924+ exceptions ?: Maybe < Array < Maybe < DjangoDebugException > > > ;
925+ /** Executed SQL queries for this API query. */
926+ sql ?: Maybe < Array < Maybe < DjangoDebugSql > > > ;
927+ } ;
928+
929+ /** Represents a single exception raised. */
930+ export type DjangoDebugException = {
931+ __typename ?: "DjangoDebugException" ;
932+ /** The class of the exception */
933+ excType : Scalars [ "String" ] [ "output" ] ;
934+ /** The message of the exception */
935+ message : Scalars [ "String" ] [ "output" ] ;
936+ /** The stack trace */
937+ stack : Scalars [ "String" ] [ "output" ] ;
938+ } ;
939+
940+ /** Represents a single database query made to a Django managed DB. */
941+ export type DjangoDebugSql = {
942+ __typename ?: "DjangoDebugSQL" ;
943+ /** The Django database alias (e.g. 'default'). */
944+ alias : Scalars [ "String" ] [ "output" ] ;
945+ /** Duration of this database query in seconds. */
946+ duration : Scalars [ "Float" ] [ "output" ] ;
947+ /** Postgres connection encoding if available. */
948+ encoding ?: Maybe < Scalars [ "String" ] [ "output" ] > ;
949+ /** Whether this database query was a SELECT. */
950+ isSelect : Scalars [ "Boolean" ] [ "output" ] ;
951+ /** Whether this database query took more than 10 seconds. */
952+ isSlow : Scalars [ "Boolean" ] [ "output" ] ;
953+ /** Postgres isolation level if available. */
954+ isoLevel ?: Maybe < Scalars [ "String" ] [ "output" ] > ;
955+ /** JSON encoded database query parameters. */
956+ params : Scalars [ "String" ] [ "output" ] ;
957+ /** The raw SQL of this query, without params. */
958+ rawSql : Scalars [ "String" ] [ "output" ] ;
959+ /** The actual SQL sent to this database. */
960+ sql ?: Maybe < Scalars [ "String" ] [ "output" ] > ;
961+ /** Start time of this database query. */
962+ startTime : Scalars [ "Float" ] [ "output" ] ;
963+ /** Stop time of this database query. */
964+ stopTime : Scalars [ "Float" ] [ "output" ] ;
965+ /** Postgres transaction ID if available. */
966+ transId ?: Maybe < Scalars [ "String" ] [ "output" ] > ;
967+ /** Postgres transaction status if available. */
968+ transStatus ?: Maybe < Scalars [ "String" ] [ "output" ] > ;
969+ /** The type of database being used (e.g. postrgesql, mysql, sqlite). */
970+ vendor : Scalars [ "String" ] [ "output" ] ;
971+ } ;
972+
920973export type EquipmentCategoryCreateMutationInput = {
921974 name : Scalars [ "String" ] [ "input" ] ;
922975 nameEn ?: InputMaybe < Scalars [ "String" ] [ "input" ] > ;
@@ -1889,6 +1942,7 @@ export enum QualifierOrderingChoices {
18891942
18901943export type Query = {
18911944 __typename ?: "Query" ;
1945+ _debug ?: Maybe < DjangoDebug > ;
18921946 /**
18931947 * Return all allocations that affect allocations for given reservation unit
18941948 * (through space hierarchy or common resource) during the given time period.
0 commit comments