-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.graphql
More file actions
974 lines (855 loc) · 23.4 KB
/
schema.graphql
File metadata and controls
974 lines (855 loc) · 23.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
"""
Can only be resolved by authenticated users.
When the condition fails, the following can be returned (following this priority):
1) `OperationInfo`/`OperationMessage` if those types are allowed at the return type
2) `null` in case the field is not mandatory (e.g. `String` or `[String]`)
3) An empty list in case the field is a list (e.g. `[String]!`)
4) An empty `Connection` in case the return type is a relay connection
2) Otherwise, an error will be raised
"""
directive @IsAuthenticated repeatable on FIELD_DEFINITION
directive @oneOf on INPUT_OBJECT
type AlgoliaSearchKeyType {
api_key: String!
app_id: String!
index_name: String!
index_name_sorted_by_votes: String!
index_name_profiles: String!
index_name_jobs: String!
}
input BoolBaseFilterLookup {
"""Exact match. Filter will be skipped on `null` value"""
exact: Boolean
"""Assignment test. Filter will be skipped on `null` value"""
is_null: Boolean
"""
Exact match of items in a given list. Filter will be skipped on `null` value
"""
in_list: [Boolean!]
}
"""Date with time (isoformat)"""
scalar DateTime
type DjangoFileType {
name: String!
path: String!
size: Int!
url: String!
}
type DjangoImageType {
name: String!
path: String!
size: Int!
url: String!
width: Int!
height: Int!
}
input DjangoModelInput {
id: ID!
}
type DjangoModelType {
pk: ID!
}
input IDBaseFilterLookup {
"""Exact match. Filter will be skipped on `null` value"""
exact: ID
"""Assignment test. Filter will be skipped on `null` value"""
is_null: Boolean
"""
Exact match of items in a given list. Filter will be skipped on `null` value
"""
in_list: [ID!]
}
enum ImportDomain {
HackerNews
}
"""
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 JobAlertType {
id: ID!
id_ext: UUID!
email: String!
tags(filters: PostTagFilter): [PostTagType!]!
is_orgs_highlighted: Boolean
is_remote: Boolean
salary_min: Int
is_active: Boolean!
created_at: DateTime!
sent_count: Int!
}
input JobFilter {
id: IDBaseFilterLookup
AND: JobFilter
OR: JobFilter
NOT: JobFilter
DISTINCT: Boolean
}
type JobType {
org: OrgType!
id: ID!
title: String!
slug: String!
is_remote: Boolean
is_remote_friendly: Boolean
is_visa_sponsor: Boolean
salary_min: Int
salary_max: Int
country: [String!]!
city: [String!]!
url_external: String!
posted_at: DateTime
closes_at: DateTime
tags_skill(filters: PostTagFilter): [PostTagType!]!
tags_area(filters: PostTagFilter): [PostTagType!]!
tags_education(filters: PostTagFilter): [PostTagType!]!
tags_experience(filters: PostTagFilter): [PostTagType!]!
tags_workload(filters: PostTagFilter): [PostTagType!]!
}
input LoginInput {
username_or_email: String!
password: String!
}
type LoginResponse {
success: Boolean!
user: UserType
error: String
}
input ManyToManyInput {
add: [ID!]
remove: [ID!]
set: [ID!]
}
input ManyToOneInput {
add: [ID!]
remove: [ID!]
set: [ID!]
}
type Mutation {
logout: Boolean!
login(data: LoginInput!): LoginResponse!
update_user(data: UserTypeInput!): UserType! @IsAuthenticated
update_user_list(id: ID!, list_field_name: UserListName!, is_added: Boolean!): Boolean! @IsAuthenticated
post_update(data: PostTypeInput!): PostType! @IsAuthenticated
post_delete(data: DjangoModelInput!): PostType! @IsAuthenticated
post_update_or_create(data: PostTypeInput!): PostType! @IsAuthenticated
post_vote_update_or_create(id: ID!, is_vote_positive: Boolean, is_changed_my_mind: Boolean = null): Boolean! @IsAuthenticated
post_tag_vote_create_or_update(post_id: ID!, tag_id: ID!, is_vote_positive: Boolean, comment: String = null): Boolean! @IsAuthenticated
update_post_seen_status(id: ID!): Boolean! @IsAuthenticated
test_db_stubs_repopulate(is_import_HN_post: Boolean = true, is_create_single_review: Boolean = false, is_create_profiles: Boolean = false, is_create_jobs: Boolean = false): String!
test_create_failed_task: Boolean!
post_highlight_create(data: PostHighlightTypeInput!): Boolean! @IsAuthenticated
post_highlight_delete(data: DjangoModelInput!): Boolean! @IsAuthenticated
post_import_refresh(id_external: Int!): Boolean! @IsAuthenticated
posts_import(auth_token: String!, category: String!, limit: Int! = 60, is_use_cache: Boolean! = false): Boolean!
profile_send_dm(profile_id: ID!, message: String!): Boolean! @IsAuthenticated
profile_match_score_update(profile_id: ID!, match_score: Int!): Boolean! @IsAuthenticated
profile_match_review_update(profile_id: ID!, match_review: String!): Boolean! @IsAuthenticated
profile_llm_md_update(profile_for_llm_md: String!): Boolean! @IsAuthenticated
profile_llm_md_reset: Boolean! @IsAuthenticated
profile_matches_trigger_llm(limit: Int! = 200, model: String! = "haiku", include_reprocessing: Boolean! = true, is_dry: Boolean! = false): ProgressType! @IsAuthenticated
profile_matches_cancel_llm: Boolean! @IsAuthenticated
job_alert_subscribe(email: String!, tag_names: [String!] = null, is_orgs_highlighted: Boolean = null, is_remote: Boolean = null, salary_min: Int = null): Boolean!
job_alert_toggle_active(id_ext: UUID!): Boolean!
job_alert_remove(id_ext: UUID!): Boolean!
}
type OffsetPaginationInfo {
offset: Int!
limit: Int
}
input OffsetPaginationInput {
offset: Int! = 0
limit: Int
}
input OneToManyInput {
set: ID
}
enum Ordering {
ASC
ASC_NULLS_FIRST
ASC_NULLS_LAST
DESC
DESC_NULLS_FIRST
DESC_NULLS_LAST
}
type OrgType {
id: ID!
name: String!
website: String!
jobs_page_url: String!
is_highlighted: Boolean!
logo: DjangoImageType
tags_area(filters: PostTagFilter): [PostTagType!]!
}
enum PostCategory {
Knowledge
Opinion
Question
News
}
input PostCategoryFilterLookup {
"""Exact match. Filter will be skipped on `null` value"""
exact: PostCategory
"""Assignment test. Filter will be skipped on `null` value"""
is_null: Boolean
"""
Exact match of items in a given list. Filter will be skipped on `null` value
"""
in_list: [PostCategory!]
"""Case-insensitive exact match. Filter will be skipped on `null` value"""
i_exact: PostCategory
"""
Case-sensitive containment test. Filter will be skipped on `null` value
"""
contains: PostCategory
"""
Case-insensitive containment test. Filter will be skipped on `null` value
"""
i_contains: PostCategory
"""Case-sensitive starts-with. Filter will be skipped on `null` value"""
starts_with: PostCategory
"""Case-insensitive starts-with. Filter will be skipped on `null` value"""
i_starts_with: PostCategory
"""Case-sensitive ends-with. Filter will be skipped on `null` value"""
ends_with: PostCategory
"""Case-insensitive ends-with. Filter will be skipped on `null` value"""
i_ends_with: PostCategory
"""
Case-sensitive regular expression match. Filter will be skipped on `null` value
"""
regex: PostCategory
"""
Case-insensitive regular expression match. Filter will be skipped on `null` value
"""
i_regex: PostCategory
}
type PostCommentType implements PostTypeI {
TYPE: PostTypeEnum!
id: ID!
author: UserType
seen_by_users: [DjangoModelType!]!
parent: PostTypeI
parent_root: PostTypeI
children: [PostTypeI!]!
type: PostTypeEnum!
category: PostCategory
title: String!
content_polite: String!
content_direct: String!
content_rant: String!
content_private: String!
content_polite_html_ssr: String!
image: DjangoImageType
comment_count: Int!
source: String!
source_author: String!
post_source: PostSourceType
visibility: Visibility!
visible_to_users: [UserType!]!
visible_to_groups: [UserConnectionGroupType!]!
recommended_to_users: [UserType!]!
recommended_to_groups: [UserConnectionGroupType!]!
tags(filters: PostTagFilter): [PostTagType!]!
votes: [PostVoteType!]!
tag_votes: [PostTagVoteType!]!
tool_type: ToolType
company: DjangoModelType
domain: String!
url: String!
crunchbase_url: String!
github_url: String!
created_at: DateTime!
updated_at: DateTime!
comments: [PostCommentType!]!
}
input PostFilter {
id: IDBaseFilterLookup
parent_root_id: IDBaseFilterLookup
type: PostTypeEnumFilterLookup
category: PostCategoryFilterLookup
title: StrFilterLookup
AND: PostFilter
OR: PostFilter
NOT: PostFilter
DISTINCT: Boolean
}
type PostHighlightType {
id: ID!
post: PostTypeI!
user: DjangoModelType!
text: String!
text_prefix: String!
text_postfix: String!
created_at: DateTime!
}
input PostHighlightTypeInput {
post: OneToManyInput
text: String!
text_prefix: String
text_postfix: String
}
input PostOrder @oneOf {
created_at: Ordering
updated_at: Ordering
post_source: PostSourceOrder
}
input PostReviewOrder @oneOf {
reviewed_at: Ordering
}
type PostReviewType implements PostTypeI {
TYPE: PostTypeEnum!
id: ID!
author: UserType
seen_by_users: [DjangoModelType!]!
parent: PostToolType
parent_root: PostTypeI
children: [PostTypeI!]!
type: PostTypeEnum!
category: PostCategory
title: String!
content_polite: String!
content_direct: String!
content_rant: String!
content_private: String!
content_polite_html_ssr: String!
image: DjangoImageType
comment_count: Int!
source: String!
source_author: String!
post_source: PostSourceType
visibility: Visibility!
visible_to_users: [UserType!]!
visible_to_groups: [UserConnectionGroupType!]!
recommended_to_users: [UserType!]!
recommended_to_groups: [UserConnectionGroupType!]!
tags(filters: PostTagFilter): [PostTagType!]!
votes: [PostVoteType!]!
tag_votes: [PostTagVoteType!]!
tool_type: ToolType
company: DjangoModelType
domain: String!
url: String!
crunchbase_url: String!
github_url: String!
created_at: DateTime!
updated_at: DateTime!
comments: [PostCommentType!]!
review_usage_status: UsageStatus
review_rating: Int
review_importance: Int
review_experience_hours: Int
review_tags(filters: PostTagFilter): [PostTagType!]!
reviewed_at: DateTime!
is_review_later: Boolean!
}
type PostSimpleType {
id: ID!
}
input PostSourceOrder @oneOf {
created_at: Ordering
updated_at: Ordering
created_at_external: Ordering
rank: Ordering
score: Ordering
}
type PostSourceType {
id: ID!
user_source: UserSourceType
id_external: String!
score: Int
rank: Int
url_of_source: String!
created_at_external: DateTime
post: DjangoModelType!
domain: ImportDomain
url: String!
json: JSON!
created_at: DateTime!
updated_at: DateTime!
}
input PostTagCategoryFilter {
name: TagCategoryEnumFilterLookup
AND: PostTagCategoryFilter
OR: PostTagCategoryFilter
NOT: PostTagCategoryFilter
DISTINCT: Boolean
}
input PostTagFilter {
id: IDBaseFilterLookup
name: StrFilterLookup
description: StrFilterLookup
is_review_tag: BoolBaseFilterLookup
categories: PostTagCategoryFilter
AND: PostTagFilter
OR: PostTagFilter
NOT: PostTagFilter
DISTINCT: Boolean
}
type PostTagType {
id: ID!
name: String!
label: String!
description: String!
is_important: Boolean
is_review_tag: Boolean!
posts(filters: PostFilter, ordering: [PostOrder!]! = []): [PostType!]!
tag_parent: PostTagType
tag_children(filters: PostTagFilter): [PostTagType!]!
votes: [PostTagVoteType!]!
author: UserType
category_name: String
}
input PostTagTypeInput {
name: String!
id: ID
comment: String
is_review_tag: Boolean
is_vote_positive: Boolean
is_important: Boolean
tag_parent: PostTagTypeInput
}
type PostTagVoteType {
id: ID!
tag: PostTagType!
author: UserType
post: PostSimpleType!
is_vote_positive: Boolean
is_changed_my_mind: Boolean!
}
type PostToolType implements PostTypeI {
TYPE: PostTypeEnum!
id: ID!
author: UserType
seen_by_users: [DjangoModelType!]!
parent: PostTypeI
parent_root: PostTypeI
children: [PostTypeI!]!
type: PostTypeEnum!
category: PostCategory
title: String!
content_polite: String!
content_direct: String!
content_rant: String!
content_private: String!
content_polite_html_ssr: String!
image: DjangoImageType
comment_count: Int!
source: String!
source_author: String!
post_source: PostSourceType
visibility: Visibility!
visible_to_users: [UserType!]!
visible_to_groups: [UserConnectionGroupType!]!
recommended_to_users: [UserType!]!
recommended_to_groups: [UserConnectionGroupType!]!
tags(filters: PostTagFilter): [PostTagType!]!
votes: [PostVoteType!]!
tag_votes: [PostTagVoteType!]!
tool_type: ToolType
company: DjangoModelType
domain: String!
url: String!
crunchbase_url: String!
github_url: String!
created_at: DateTime!
updated_at: DateTime!
comments: [PostCommentType!]!
alternatives(filters: PostFilter): [PostToolType!]!
}
type PostType implements PostTypeI {
TYPE: PostTypeEnum!
id: ID!
author: UserType
seen_by_users: [DjangoModelType!]!
parent: PostTypeI
parent_root: PostTypeI
children: [PostTypeI!]!
type: PostTypeEnum!
category: PostCategory
title: String!
content_polite: String!
content_direct: String!
content_rant: String!
content_private: String!
content_polite_html_ssr: String!
image: DjangoImageType
comment_count: Int!
source: String!
source_author: String!
post_source: PostSourceType
visibility: Visibility!
visible_to_users: [UserType!]!
visible_to_groups: [UserConnectionGroupType!]!
recommended_to_users: [UserType!]!
recommended_to_groups: [UserConnectionGroupType!]!
tags(filters: PostTagFilter): [PostTagType!]!
votes: [PostVoteType!]!
tag_votes: [PostTagVoteType!]!
tool_type: ToolType
company: DjangoModelType
domain: String!
url: String!
crunchbase_url: String!
github_url: String!
created_at: DateTime!
updated_at: DateTime!
comments: [PostCommentType!]!
}
enum PostTypeEnum {
Post
Tool
Review
Comment
}
input PostTypeEnumFilterLookup {
"""Exact match. Filter will be skipped on `null` value"""
exact: PostTypeEnum
"""Assignment test. Filter will be skipped on `null` value"""
is_null: Boolean
"""
Exact match of items in a given list. Filter will be skipped on `null` value
"""
in_list: [PostTypeEnum!]
"""Case-insensitive exact match. Filter will be skipped on `null` value"""
i_exact: PostTypeEnum
"""
Case-sensitive containment test. Filter will be skipped on `null` value
"""
contains: PostTypeEnum
"""
Case-insensitive containment test. Filter will be skipped on `null` value
"""
i_contains: PostTypeEnum
"""Case-sensitive starts-with. Filter will be skipped on `null` value"""
starts_with: PostTypeEnum
"""Case-insensitive starts-with. Filter will be skipped on `null` value"""
i_starts_with: PostTypeEnum
"""Case-sensitive ends-with. Filter will be skipped on `null` value"""
ends_with: PostTypeEnum
"""Case-insensitive ends-with. Filter will be skipped on `null` value"""
i_ends_with: PostTypeEnum
"""
Case-sensitive regular expression match. Filter will be skipped on `null` value
"""
regex: PostTypeEnum
"""
Case-insensitive regular expression match. Filter will be skipped on `null` value
"""
i_regex: PostTypeEnum
}
interface PostTypeI {
TYPE: PostTypeEnum!
id: ID!
author: UserType
seen_by_users: [DjangoModelType!]!
parent: PostTypeI
parent_root: PostTypeI
children: [PostTypeI!]!
type: PostTypeEnum!
category: PostCategory
title: String!
content_polite: String!
content_direct: String!
content_rant: String!
content_private: String!
content_polite_html_ssr: String!
image: DjangoImageType
comment_count: Int!
source: String!
source_author: String!
post_source: PostSourceType
visibility: Visibility!
visible_to_users: [UserType!]!
visible_to_groups: [UserConnectionGroupType!]!
recommended_to_users: [UserType!]!
recommended_to_groups: [UserConnectionGroupType!]!
tags(filters: PostTagFilter): [PostTagType!]!
votes: [PostVoteType!]!
tag_votes: [PostTagVoteType!]!
tool_type: ToolType
company: DjangoModelType
domain: String!
url: String!
crunchbase_url: String!
github_url: String!
created_at: DateTime!
updated_at: DateTime!
comments: [PostCommentType!]!
}
input PostTypeInput {
id: ID
type: PostTypeEnum
category: PostCategory
parent: PostTypeInput
alternatives: ManyToManyInput
title: String
content_polite: String
content_direct: String
content_rant: String
content_private: String
visibility: Visibility
visible_to_users: ManyToManyInput
visible_to_groups: ManyToManyInput
recommended_to_users: ManyToManyInput
recommended_to_groups: ManyToManyInput
tags: [PostTagTypeInput!]
source: String
source_author: String
image: Upload
review_usage_status: UsageStatus
review_rating: Int
review_experience_hours: Int
review_importance: Int
review_tags: [PostTagTypeInput!]
is_review_later: Boolean
reviewed_at: DateTime
tool_type: ToolType
domain: String
github_url: String
crunchbase_url: String
url: String
}
type PostVoteType {
id: ID!
post: PostTypeI!
author: UserType!
is_vote_positive: Boolean
is_changed_my_mind: Boolean
}
input ProfileFilter {
id: IDBaseFilterLookup
AND: ProfileFilter
OR: ProfileFilter
NOT: ProfileFilter
DISTINCT: Boolean
}
type ProfileMatchStatsType {
rated_count: Int!
llm_scored_count: Int!
unprocessed_count: Int!
needs_reprocessing_count: Int!
}
type ProfileMatchType {
id: ID!
match_score_by_llm: Int
match_reason_by_llm: String!
match_score: Int
match_review: String!
match_processed_at: DateTime
is_scored_by_llm: Boolean!
is_reviewed_by_user: Boolean!
}
type ProfileType {
id: ID!
first_name: String!
last_name: String!
company: String!
job_title: String!
career_stage: [String!]!
biography: String!
seeks: String!
offers: String!
seeking_work: [String!]!
recruitment: [String!]!
country: String!
city: String!
url_linkedin: String!
url_conference: String!
profile_for_llm_md: String!
is_profile_custom: Boolean!
skills(filters: PostTagFilter): [PostTagType!]!
interests(filters: PostTagFilter): [PostTagType!]!
match: ProfileMatchType @IsAuthenticated
}
type ProfileTypeOffsetPaginated {
page_info: OffsetPaginationInfo!
"""Total count of existing results."""
total_count: Int!
"""List of paginated results."""
results: [ProfileType!]!
}
type ProgressType {
total: Int!
processed: Int!
is_processing: Boolean!
model: String
error: String
percent: Float!
}
type Query {
user_current: UserType
algolia_search_key: AlgoliaSearchKeyType
post_generic(pk: ID!): PostTypeI
post(pk: ID!): PostType
post_tool(pk: ID!): PostToolType
post_review(pk: ID!): PostReviewType
post_comment(pk: ID!): PostCommentType
posts(filters: PostFilter, ordering: [PostOrder!]! = []): [PostType!]!
post_tools(filters: PostFilter): [PostToolType!]!
post_reviews(filters: PostFilter, ordering: [PostReviewOrder!]! = []): [PostReviewType!]!
post_comments(filters: PostFilter, ordering: [PostOrder!]! = []): [PostCommentType!]!
tags(filters: PostTagFilter): [PostTagType!]!
post_highlights(post_ids: [ID!]!): [PostHighlightType!]! @IsAuthenticated
post_highlight(post_id: ID!): PostHighlightType! @IsAuthenticated
user_highlights: [PostHighlightType!]! @IsAuthenticated
profiles(filters: ProfileFilter): [ProfileType!]!
my_profile: ProfileType @IsAuthenticated
profile_match_progress: ProgressType! @IsAuthenticated
profiles_sorted_by_match(sort: String!, filters: ProfileFilter, pagination: OffsetPaginationInput): ProfileTypeOffsetPaginated!
profile_match_stats: ProfileMatchStatsType! @IsAuthenticated
profile_user_llm_md: String! @IsAuthenticated
jobs(filters: JobFilter): [JobType!]!
job_alerts: [JobAlertType!]!
}
input StrFilterLookup {
"""Exact match. Filter will be skipped on `null` value"""
exact: String
"""Assignment test. Filter will be skipped on `null` value"""
is_null: Boolean
"""
Exact match of items in a given list. Filter will be skipped on `null` value
"""
in_list: [String!]
"""Case-insensitive exact match. Filter will be skipped on `null` value"""
i_exact: String
"""
Case-sensitive containment test. Filter will be skipped on `null` value
"""
contains: String
"""
Case-insensitive containment test. Filter will be skipped on `null` value
"""
i_contains: String
"""Case-sensitive starts-with. Filter will be skipped on `null` value"""
starts_with: String
"""Case-insensitive starts-with. Filter will be skipped on `null` value"""
i_starts_with: String
"""Case-sensitive ends-with. Filter will be skipped on `null` value"""
ends_with: String
"""Case-insensitive ends-with. Filter will be skipped on `null` value"""
i_ends_with: String
"""
Case-sensitive regular expression match. Filter will be skipped on `null` value
"""
regex: String
"""
Case-insensitive regular expression match. Filter will be skipped on `null` value
"""
i_regex: String
}
enum TagCategoryEnum {
Area
Skill
Education
Experience
Workload
}
input TagCategoryEnumFilterLookup {
"""Exact match. Filter will be skipped on `null` value"""
exact: TagCategoryEnum
"""Assignment test. Filter will be skipped on `null` value"""
is_null: Boolean
"""
Exact match of items in a given list. Filter will be skipped on `null` value
"""
in_list: [TagCategoryEnum!]
"""Case-insensitive exact match. Filter will be skipped on `null` value"""
i_exact: TagCategoryEnum
"""
Case-sensitive containment test. Filter will be skipped on `null` value
"""
contains: TagCategoryEnum
"""
Case-insensitive containment test. Filter will be skipped on `null` value
"""
i_contains: TagCategoryEnum
"""Case-sensitive starts-with. Filter will be skipped on `null` value"""
starts_with: TagCategoryEnum
"""Case-insensitive starts-with. Filter will be skipped on `null` value"""
i_starts_with: TagCategoryEnum
"""Case-sensitive ends-with. Filter will be skipped on `null` value"""
ends_with: TagCategoryEnum
"""Case-insensitive ends-with. Filter will be skipped on `null` value"""
i_ends_with: TagCategoryEnum
"""
Case-sensitive regular expression match. Filter will be skipped on `null` value
"""
regex: TagCategoryEnum
"""
Case-insensitive regular expression match. Filter will be skipped on `null` value
"""
i_regex: TagCategoryEnum
}
enum ToolType {
Program
Material
SaaS
App
Product
Other
}
scalar UUID
"""Represents a file upload."""
scalar Upload
enum UsageStatus {
USING
USED
WANT_TO_USE
INTERESTED
NOT_INTERESTED
}
type UserConnectionGroupType {
id: ID!
name: String!
connections: [UserType!]!
}
enum UserListName {
read_later
library
posts_collapsed
profiles_bookmarked
jobs_bookmarked
}
type UserSourceType {
id: Int!
username: String!
score: Int!
id_external: String!
about: String!
created_at_external: DateTime
}
type UserType {
id: ID!
username: String!
avatar: DjangoFileType
is_superuser: Boolean!
first_name: String!
last_name: String!
email: String!
connection_groups: [UserConnectionGroupType!]!
post_votes: [PostVoteType!]!
post_tag_votes: [PostTagVoteType!]!
read_later: [DjangoModelType!]!
library: [DjangoModelType!]!
posts_collapsed(filters: PostFilter, ordering: [PostOrder!]! = []): [PostCommentType!]!
has_profile_groups: Boolean!
}
input UserTypeInput {
username: String
first_name: String
last_name: String
email: String
connection_groups: ManyToOneInput
avatar: Upload
read_later: ManyToManyInput
library: ManyToManyInput
}
enum Visibility {
PRIVATE
USERS_SELECTED
CONNECTIONS
SUBSCRIBERS_PAID
SUBSCRIBERS
INTERNAL
PUBLIC
}