Skip to content

Commit 326d59f

Browse files
committed
Added more fields for leetcode graphql queries along with user info query
1 parent e9e93d8 commit 326d59f

31 files changed

+2367
-75
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,15 +256,19 @@ Class | Method | HTTP request | Description
256256

257257
- [BaseSubmissionResult](docs/BaseSubmissionResult.md)
258258
- [Difficulty](docs/Difficulty.md)
259+
- [GraphqlData](docs/GraphqlData.md)
259260
- [GraphqlQuery](docs/GraphqlQuery.md)
260261
- [GraphqlQueryVariables](docs/GraphqlQueryVariables.md)
261-
- [GraphqlQuestion](docs/GraphqlQuestion.md)
262+
- [GraphqlQuestionCodeSnippet](docs/GraphqlQuestionCodeSnippet.md)
263+
- [GraphqlQuestionContributor](docs/GraphqlQuestionContributor.md)
262264
- [GraphqlQuestionDetail](docs/GraphqlQuestionDetail.md)
265+
- [GraphqlQuestionSolution](docs/GraphqlQuestionSolution.md)
266+
- [GraphqlQuestionTopicTag](docs/GraphqlQuestionTopicTag.md)
263267
- [GraphqlResponse](docs/GraphqlResponse.md)
268+
- [GraphqlUser](docs/GraphqlUser.md)
264269
- [Id](docs/Id.md)
265270
- [InlineResponse200](docs/InlineResponse200.md)
266271
- [Interpretation](docs/Interpretation.md)
267-
- [OneOfGraphqlResponseData](docs/OneOfGraphqlResponseData.md)
268272
- [OneOfid](docs/OneOfid.md)
269273
- [OneOfinlineResponse200](docs/OneOfinlineResponse200.md)
270274
- [Problems](docs/Problems.md)

docs/GraphqlData.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# GraphqlData
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**question** | [**GraphqlQuestionDetail**](GraphqlQuestionDetail.md) | | [optional]
7+
**user** | [**GraphqlUser**](GraphqlUser.md) | | [optional]
8+
9+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10+

docs/GraphqlQuery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**query** | **str** | |
77
**variables** | [**GraphqlQueryVariables**](GraphqlQueryVariables.md) | |
8-
**operation_name** | **str** | |
8+
**operation_name** | **str** | | [optional]
99

1010
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1111

docs/GraphqlQueryVariables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**title_slug** | **str** | |
6+
**title_slug** | **str** | | [optional]
77

88
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
99

docs/GraphqlQuestionCodeSnippet.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# GraphqlQuestionCodeSnippet
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**lang** | **str** | |
7+
**lang_slug** | **str** | |
8+
**code** | **str** | |
9+
**typename** | **str** | | [optional]
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+

docs/GraphqlQuestionContributor.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# GraphqlQuestionContributor
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**username** | **str** | |
7+
**profile_url** | **str** | |
8+
**avatar_url** | **str** | |
9+
**typename** | **str** | | [optional]
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+

docs/GraphqlQuestionDetail.md

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,37 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**content** | **str** | |
6+
**question_id** | **str** | | [optional]
7+
**question_frontend_id** | **str** | | [optional]
8+
**bound_topic_id** | **str** | | [optional]
9+
**title** | **str** | | [optional]
10+
**content** | **str** | | [optional]
11+
**translated_title** | **str** | | [optional]
12+
**translated_content** | **str** | | [optional]
13+
**is_paid_only** | **bool** | | [optional]
14+
**difficulty** | **str** | | [optional]
15+
**likes** | **int** | | [optional]
16+
**dislikes** | **int** | | [optional]
17+
**is_liked** | **bool** | | [optional]
18+
**similar_questions** | **str** | | [optional]
19+
**contributors** | [**list[GraphqlQuestionContributor]**](GraphqlQuestionContributor.md) | | [optional]
20+
**lang_to_valid_playground** | **str** | | [optional]
21+
**topic_tags** | [**list[GraphqlQuestionTopicTag]**](GraphqlQuestionTopicTag.md) | | [optional]
22+
**company_tag_stats** | **str** | | [optional]
23+
**code_snippets** | [**list[GraphqlQuestionCodeSnippet]**](GraphqlQuestionCodeSnippet.md) | | [optional]
724
**stats** | **str** | | [optional]
8-
**code_definition** | **str** | | [optional]
25+
**hints** | **list[str]** | | [optional]
26+
**solution** | [**GraphqlQuestionSolution**](GraphqlQuestionSolution.md) | | [optional]
27+
**status** | **str** | | [optional]
928
**sample_test_case** | **str** | | [optional]
29+
**judger_available** | **bool** | | [optional]
30+
**judge_type** | **str** | | [optional]
31+
**mysql_schemas** | **list[str]** | | [optional]
1032
**enable_run_code** | **bool** | | [optional]
33+
**enable_test_mode** | **bool** | | [optional]
34+
**env_info** | **str** | | [optional]
1135
**meta_data** | **str** | | [optional]
12-
**translated_content** | **str** | | [optional]
36+
**code_definition** | **str** | | [optional]
1337

1438
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1539

docs/GraphqlQuestionSolution.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# GraphqlQuestionSolution
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**id** | **str** | |
7+
**can_see_detail** | **bool** | |
8+
**typename** | **str** | |
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+

docs/GraphqlQuestionTopicTag.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# GraphqlQuestionTopicTag
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**name** | **str** | |
7+
**slug** | **str** | |
8+
**translated_name** | **str** | | [optional]
9+
**typename** | **str** | | [optional]
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+

docs/GraphqlResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**data** | [**OneOfGraphqlResponseData**](OneOfGraphqlResponseData.md) | |
6+
**data** | [**GraphqlData**](GraphqlData.md) | |
77

88
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
99

0 commit comments

Comments
 (0)