Tweaks for Debugging #32

Merged
countablecloud merged 4 commits from mk/tweeks-for-debugging into master 2024-08-13 14:43:40 -06:00
2 changed files with 12 additions and 1 deletions
Showing only changes of commit 23d9fef2b1 - Show all commits

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!