Add Debugging JSON to input
All checks were successful
Tests / Tests (pull_request) Successful in 7s

This commit is contained in:
Mike Kalange 2024-08-13 13:28:36 -07:00
parent df3087de7d
commit 23d9fef2b1
2 changed files with 12 additions and 1 deletions

View File

@ -30,6 +30,8 @@ export type Scalars = {
Float: { input: number; output: number }; Float: { input: number; output: number };
/** Date with time (isoformat) */ /** Date with time (isoformat) */
DateTime: { input: any; output: any }; DateTime: { input: any; output: any };
/** The `JSON` scalar type represents JSON values as specified by [ECMA-404](https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf). */
JSON: { input: any; output: any };
}; };
export type AggregateInputGql = { export type AggregateInputGql = {
@ -1245,6 +1247,7 @@ export type QueryGetUsernamesArgs = {
}; };
export type QueryGetVideoArgs = { export type QueryGetVideoArgs = {
debuggingJson?: InputMaybe<Scalars["JSON"]["input"]>;
videoId: Scalars["Int"]["input"]; videoId: Scalars["Int"]["input"];
}; };

View File

@ -30,7 +30,7 @@ type Query {
filters: VideoFilterInput = null filters: VideoFilterInput = null
): VideoHistoryGQL! ): VideoHistoryGQL!
getUserTags: [TagGQL!]! getUserTags: [TagGQL!]!
getVideo(videoId: Int!): VideoGQL! getVideo(videoId: Int!, debuggingJson: JSON = null): VideoGQL!
getVideos(videoIds: [Int!]!): [VideoGQL!]! getVideos(videoIds: [Int!]!): [VideoGQL!]!
} }
@ -417,6 +417,14 @@ type TagGQL {
group: String group: String
} }
"""
The `JSON` scalar type represents JSON values as specified by [ECMA-404](https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf).
"""
scalar JSON
@specifiedBy(
url: "https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf"
)
type Mutation { type Mutation {
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL! createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
setLoggerLevel(path: String!, level: String!): Boolean! setLoggerLevel(path: String!, level: String!): Boolean!