-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy pathschema.graphql
38487 lines (35387 loc) · 864 KB
/
schema.graphql
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
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
type StandardDeleteResponse {
id: ID!
}
type BaseModel implements BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!
}
"""
The javascript `Date` as string. Type represents date and time as the ISO Date string.
"""
scalar DateTime
type BaseModelUUID implements BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!
}
type PageInfo {
hasNextPage: Boolean!
hasPreviousPage: Boolean!
startCursor: String
endCursor: String
}
enum Network {
BABYLON
ALEXANDRIA
ROME
GIZA
OLYMPIA
}
enum EventTypeOptions {
AnnouncingPeriodStartedEvent
ApplicationWithdrawnEvent
AppliedOnOpeningEvent
AuctionBidCanceledEvent
AuctionBidMadeEvent
AuctionCanceledEvent
BidMadeCompletingAuctionEvent
BountyCanceledEvent
BountyCreatedEvent
BountyCreatorCherryWithdrawalEvent
BountyFundedEvent
BountyFundingWithdrawalEvent
BountyMaxFundingReachedEvent
BountyRemovedEvent
BountyVetoedEvent
BudgetBalanceSetEvent
BudgetFundedEvent
BudgetIncrementUpdatedEvent
BudgetRefillEvent
BudgetRefillPlannedEvent
BudgetSetEvent
BudgetSpendingEvent
BudgetUpdatedEvent
BuyNowCanceledEvent
BuyNowPriceUpdatedEvent
CandidacyNoteSetEvent
CandidacyStakeReleaseEvent
CandidacyWithdrawEvent
CategoryArchivalStatusUpdatedEvent
CategoryCreatedEvent
CategoryDeletedEvent
CategoryMembershipOfModeratorUpdatedEvent
CategoryStickyThreadUpdateEvent
ChannelFundsWithdrawnEvent
ChannelRewardClaimedAndWithdrawnEvent
ChannelRewardClaimedEvent
CommentCreatedEvent
CommentDeletedEvent
CommentModeratedEvent
CommentPinnedEvent
CommentReactedEvent
CommentTextUpdatedEvent
CouncilBudgetDecreasedEvent
CouncilBudgetFundedEvent
CouncilorRewardUpdatedEvent
EnglishAuctionSettledEvent
EnglishAuctionStartedEvent
InitialInvitationBalanceUpdatedEvent
InitialInvitationCountUpdatedEvent
InvitesTransferredEvent
LeaderInvitationQuotaUpdatedEvent
LeaderSetEvent
LeaderUnsetEvent
MemberAccountsUpdatedEvent
MemberBannedFromChannelEvent
MemberCreatedEvent
MemberInvitedEvent
MemberProfileUpdatedEvent
MemberVerificationStatusUpdatedEvent
MembershipBoughtEvent
MembershipGiftedEvent
MembershipPriceUpdatedEvent
MetaprotocolTransactionStatusEvent
NewCandidateEvent
NewCouncilElectedEvent
NewCouncilNotElectedEvent
NewMissedRewardLevelReachedEvent
NftBoughtEvent
NftIssuedEvent
NftSlingedBackToTheOriginalArtistEvent
NotEnoughCandidatesEvent
OfferAcceptedEvent
OfferCanceledEvent
OfferStartedEvent
OpenAuctionBidAcceptedEvent
OpenAuctionStartedEvent
OpeningAddedEvent
OpeningCanceledEvent
OpeningFilledEvent
OracleJudgmentSubmittedEvent
PostAddedEvent
PostDeletedEvent
PostModeratedEvent
PostTextUpdatedEvent
ProposalCancelledEvent
ProposalCreatedEvent
ProposalDecisionMadeEvent
ProposalDiscussionPostCreatedEvent
ProposalDiscussionPostDeletedEvent
ProposalDiscussionPostUpdatedEvent
ProposalDiscussionThreadModeChangedEvent
ProposalExecutedEvent
ProposalStatusUpdatedEvent
ProposalVotedEvent
ReferendumFinishedEvent
ReferendumStartedEvent
ReferendumStartedForcefullyEvent
ReferralCutUpdatedEvent
RequestFundedEvent
RevealingStageStartedEvent
RewardPaidEvent
RewardPaymentEvent
StakeDecreasedEvent
StakeIncreasedEvent
StakeReleasedEvent
StakeSlashedEvent
StakingAccountAddedEvent
StakingAccountConfirmedEvent
StakingAccountRemovedEvent
StatusTextChangedEvent
TerminatedLeaderEvent
TerminatedWorkerEvent
ThreadCreatedEvent
ThreadDeletedEvent
ThreadMetadataUpdatedEvent
ThreadModeratedEvent
ThreadMovedEvent
VestedBudgetSpendingEvent
VideoReactedEvent
VideoReactionsPreferenceEvent
VoteCastEvent
VoteRevealedEvent
VotingPeriodStartedEvent
WorkEntrantFundsWithdrawnEvent
WorkEntryAnnouncedEvent
WorkEntrySlashedEvent
WorkEntryWithdrawnEvent
WorkSubmittedEvent
WorkerExitedEvent
WorkerRewardAccountUpdatedEvent
WorkerRewardAmountUpdatedEvent
WorkerRoleAccountUpdatedEvent
WorkerStartedLeavingEvent
}
type WorkingGroupOpening implements BaseGraphQLObject {
id: ID!
"""
Time of opening creation
"""
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!
"""
OpeningId in specific working group module
"""
runtimeId: Int!
group: WorkingGroup!
groupId: String!
applications: [WorkingGroupApplication!]!
"""
Type of the opening (Leader/Regular)
"""
type: WorkingGroupOpeningType!
"""
Current opening status
"""
status: WorkingGroupOpeningStatus!
metadata: WorkingGroupOpeningMetadata!
metadataId: String!
"""
Min. application/role stake amount
"""
stakeAmount: BigInt!
"""
Role stake unstaking period in blocks
"""
unstakingPeriod: Int!
"""
Initial workers' reward per block
"""
rewardPerBlock: BigInt!
createdInEvent: OpeningAddedEvent!
appliedonopeningeventopening: [AppliedOnOpeningEvent!]
openingcanceledeventopening: [OpeningCanceledEvent!]
openingfilledeventopening: [OpeningFilledEvent!]
}
enum WorkingGroupOpeningType {
REGULAR
LEADER
}
union WorkingGroupOpeningStatus = OpeningStatusOpen | OpeningStatusFilled | OpeningStatusCancelled
"""
GraphQL representation of BigInt
"""
scalar BigInt
enum RewardPaymentType {
REGULAR
MISSED
}
type ForumPost implements BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!
author: Membership!
authorId: String!
thread: ForumThread!
threadId: String!
"""
Content of the post (md-formatted)
"""
text: String!
repliesTo: ForumPost
repliesToId: String
"""
Current post status
"""
status: PostStatus!
"""
True if the post is either Active or Locked
"""
isVisible: Boolean!
"""
The origin of the post (either thread creation event or regular PostAdded event)
"""
origin: PostOrigin!
edits: [PostTextUpdatedEvent!]!
deletedInEvent: PostDeletedEvent
deletedInEventId: String
forumpostrepliesTo: [ForumPost!]
forumthreadinitialPost: [ForumThread!]
postaddedeventpost: [PostAddedEvent!]
postmoderatedeventpost: [PostModeratedEvent!]
}
union PostStatus = PostStatusActive | PostStatusLocked | PostStatusModerated | PostStatusRemoved
union PostOrigin = PostOriginThreadInitial | PostOriginThreadReply
type ForumThreadTag implements BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!
threads: [ForumThread!]!
"""
Number of non-removed threads currently assigned to the tag
"""
visibleThreadsCount: Int!
}
type BountyEntrantWhitelist implements BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!
phantom: Int
members: [Membership!]!
bountyentrantWhitelist: [Bounty!]
}
type BountyContribution implements BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!
bounty: Bounty!
bountyId: String!
contributor: Membership
"""
The id of the contributor
"""
contributorId: String
"""
Amount of the contribution
"""
amount: BigInt!
bountyFundedEvents: [BountyFundedEvent!]!
withdrawnInEvent: BountyFundingWithdrawalEvent
}
type BountyEntry implements BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!
bounty: Bounty!
bountyId: String!
worker: Membership!
workerId: String!
"""
Staking account with the work entry stake
"""
stakingAccount: String
"""
Whether at least one work has been submitted
"""
workSubmitted: Boolean!
"""
Work entry status
"""
status: BountyEntryStatus!
announcedInEvent: WorkEntryAnnouncedEvent!
withdrawnInEvent: WorkEntryWithdrawnEvent
slashedInEvent: WorkEntrySlashedEvent
works: [WorkSubmittedEvent!]
cashedOutInEvent: WorkEntrantFundsWithdrawnEvent
}
union BountyEntryStatus =
BountyEntryStatusWorking
| BountyEntryStatusWithdrawn
| BountyEntryStatusWinner
| BountyEntryStatusPassed
| BountyEntryStatusRejected
type Bounty implements BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!
"""
Bounty title
"""
title: String
"""
Bounty description
"""
description: String
"""
Bounty image uri
"""
bannerImageUri: String
"""
Amount of funding provided by the creator
"""
cherry: BigInt!
"""
Stake minimum amount required to submit work entry to the bounty
"""
entrantStake: BigInt!
creator: Membership
creatorId: String
oracle: Membership
oracleId: String
"""
Bounty funding type
"""
fundingType: BountyFundingType!
entrantWhitelist: BountyEntrantWhitelist
entrantWhitelistId: String
"""
Number of blocks from end of funding period until people can no longer submit bounty submissions
"""
workPeriod: Int!
"""
Number of block from end of work period until oracle can no longer decide winners
"""
judgingPeriod: Int!
"""
Current bounty stage
"""
stage: BountyStage!
"""
Total amount once contributed to the bounty (excluding the cherry)
"""
totalFunding: BigInt!
discussionThread: ForumThread
discussionThreadId: String
contributions: [BountyContribution!]
entries: [BountyEntry!]
"""
If true the bounty lifecycle ended and its state will not change anymore
"""
isTerminated: Boolean!
createdInEvent: BountyCreatedEvent!
canceledEvent: BountyCanceledEvent
vetoedEvent: BountyVetoedEvent
maxFundingReachedEvent: BountyMaxFundingReachedEvent
removedInEvent: BountyRemovedEvent
judgment: OracleJudgmentSubmittedEvent
bountycreatorcherrywithdrawaleventbounty: [BountyCreatorCherryWithdrawalEvent!]
worksubmittedeventbounty: [WorkSubmittedEvent!]
}
union BountyFundingType = BountyFundingPerpetual | BountyFundingLimited
enum BountyStage {
Funding
Expired
WorkSubmission
Judgment
Successful
Failed
}
type ForumThread implements BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!
author: Membership!
authorId: String!
category: ForumCategory!
categoryId: String!
"""
Thread title
"""
title: String!
posts: [ForumPost!]!
initialPost: ForumPost
initialPostId: String
"""
Number of non-deleted posts in the thread
"""
visiblePostsCount: Int!
"""
Whether the thread is sticky in the category
"""
isSticky: Boolean!
createdInEvent: ThreadCreatedEvent!
"""
Current thread status
"""
status: ThreadStatus!
"""
True if the thread is either Active or Locked
"""
isVisible: Boolean!
metadataUpdates: [ThreadMetadataUpdatedEvent!]!
madeStickyInEvents: [CategoryStickyThreadUpdateEvent!]!
movedInEvents: [ThreadMovedEvent!]!
tags: [ForumThreadTag!]!
bountydiscussionThread: [Bounty!]
threaddeletedeventthread: [ThreadDeletedEvent!]
threadmoderatedeventthread: [ThreadModeratedEvent!]
}
union ThreadStatus = ThreadStatusActive | ThreadStatusLocked | ThreadStatusModerated | ThreadStatusRemoved
type ForumCategory implements BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!
parent: ForumCategory
parentId: String
"""
Category title
"""
title: String!
"""
Category description
"""
description: String!
threads: [ForumThread!]!
moderators: [Worker!]!
createdInEvent: CategoryCreatedEvent!
"""
Current category status
"""
status: CategoryStatus!
categoryarchivalstatusupdatedeventcategory: [CategoryArchivalStatusUpdatedEvent!]
categorydeletedeventcategory: [CategoryDeletedEvent!]
categorymembershipofmoderatorupdatedeventcategory: [CategoryMembershipOfModeratorUpdatedEvent!]
categorystickythreadupdateeventcategory: [CategoryStickyThreadUpdateEvent!]
forumcategoryparent: [ForumCategory!]
threadmovedeventoldCategory: [ThreadMovedEvent!]
threadmovedeventnewCategory: [ThreadMovedEvent!]
}
union CategoryStatus = CategoryStatusActive | CategoryStatusArchived | CategoryStatusRemoved
type Worker implements BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!
"""
WorkerId in specific working group module
"""
runtimeId: Int!
group: WorkingGroup!
"""
The id the group that the worker belongs to
"""
groupId: String!
membership: Membership!
membershipId: String!
"""
Worker's role account
"""
roleAccount: String!
"""
Worker's reward account
"""
rewardAccount: String!
"""
Worker's staking account
"""
stakeAccount: String!
"""
Current worker status
"""
status: WorkerStatus!
"""
Whether the worker is also the working group lead
"""
isLead: Boolean!
"""
Whether the worker is currently active
"""
isActive: Boolean!
"""
Current role stake (in JOY)
"""
stake: BigInt!
"""
Current reward per block
"""
rewardPerBlock: BigInt!
"""
The reward amount the worker is currently missing (due to empty working group budget)
"""
missingRewardAmount: BigInt
payouts: [RewardPaidEvent!]!
slashes: [StakeSlashedEvent!]!
entry: OpeningFilledEvent!
entryId: String!
application: WorkingGroupApplication!
applicationId: String!
"""
Worker's storage data
"""
storage: String
managedForumCategories: [ForumCategory!]!
categoryarchivalstatusupdatedeventactor: [CategoryArchivalStatusUpdatedEvent!]
categorydeletedeventactor: [CategoryDeletedEvent!]
categorymembershipofmoderatorupdatedeventmoderator: [CategoryMembershipOfModeratorUpdatedEvent!]
categorystickythreadupdateeventactor: [CategoryStickyThreadUpdateEvent!]
leaderseteventworker: [LeaderSetEvent!]
leaderunseteventleader: [LeaderUnsetEvent!]
memberverificationstatusupdatedeventworker: [MemberVerificationStatusUpdatedEvent!]
newmissedrewardlevelreachedeventworker: [NewMissedRewardLevelReachedEvent!]
postmoderatedeventactor: [PostModeratedEvent!]
stakedecreasedeventworker: [StakeDecreasedEvent!]
stakeincreasedeventworker: [StakeIncreasedEvent!]
terminatedleadereventworker: [TerminatedLeaderEvent!]
terminatedworkereventworker: [TerminatedWorkerEvent!]
threadmoderatedeventactor: [ThreadModeratedEvent!]
threadmovedeventactor: [ThreadMovedEvent!]
workerexitedeventworker: [WorkerExitedEvent!]
workerrewardaccountupdatedeventworker: [WorkerRewardAccountUpdatedEvent!]
workerrewardamountupdatedeventworker: [WorkerRewardAmountUpdatedEvent!]
workerroleaccountupdatedeventworker: [WorkerRoleAccountUpdatedEvent!]
workerstartedleavingeventworker: [WorkerStartedLeavingEvent!]
workinggroupleader: [WorkingGroup!]
}
union WorkerStatus = WorkerStatusActive | WorkerStatusLeaving | WorkerStatusLeft | WorkerStatusTerminated
type WorkingGroupApplication implements BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!
"""
ApplicationId in specific working group module
"""
runtimeId: Int!
opening: WorkingGroupOpening!
openingId: String!
applicant: Membership!
applicantId: String!
"""
Application stake
"""
stake: BigInt!
"""
Applicant's initial role account
"""
roleAccount: String!
"""
Applicant's initial reward account
"""
rewardAccount: String!
"""
Applicant's initial staking account
"""
stakingAccount: String!
answers: [ApplicationFormQuestionAnswer!]!
"""
Current application status
"""
status: WorkingGroupApplicationStatus!
createdInEvent: AppliedOnOpeningEvent!
applicationwithdrawneventapplication: [ApplicationWithdrawnEvent!]
workerapplication: [Worker!]
}
union WorkingGroupApplicationStatus =
ApplicationStatusPending
| ApplicationStatusAccepted
| ApplicationStatusRejected
| ApplicationStatusWithdrawn
| ApplicationStatusCancelled
type ApplicationFormQuestionAnswer implements BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!
application: WorkingGroupApplication!
applicationId: String!
question: ApplicationFormQuestion!
questionId: String!
"""
Applicant's answer
"""
answer: String!
}
type ApplicationFormQuestion implements BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!
openingMetadata: WorkingGroupOpeningMetadata!
openingMetadataId: String!
"""
The question itself
"""
question: String
"""
Type of the question (UI answer input type)
"""
type: ApplicationFormQuestionType!
"""
Index of the question
"""
index: Int!
applicationformquestionanswerquestion: [ApplicationFormQuestionAnswer!]
}
enum ApplicationFormQuestionType {
TEXT
TEXTAREA
}
type WorkingGroupOpeningMetadata implements BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!
"""
Whether the originally provided metadata was valid
"""
originallyValid: Boolean!
"""
Opening title
"""
title: String
"""
Opening short description
"""
shortDescription: String
"""
Opening description (md-formatted)
"""
description: String
"""
Expected max. number of applicants that will be hired
"""
hiringLimit: Int
"""
Expected time when the opening will close
"""
expectedEnding: DateTime
"""
Md-formatted text explaining the application process
"""
applicationDetails: String
applicationFormQuestions: [ApplicationFormQuestion!]!
upcomingworkinggroupopeningmetadata: [UpcomingWorkingGroupOpening!]
workinggroupopeningmetadata: [WorkingGroupOpening!]
}
type UpcomingWorkingGroupOpening implements BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!
createdInEvent: StatusTextChangedEvent!
createdInEventId: String!
group: WorkingGroup!
groupId: String!
"""
Expected opening start time
"""
expectedStart: DateTime
"""
Expected min. application/role stake amount
"""
stakeAmount: BigInt
"""
Expected reward per block
"""
rewardPerBlock: BigInt
metadata: WorkingGroupOpeningMetadata!
metadataId: String!
}
union WorkingGroupMetadataActionResult =
UpcomingOpeningAdded
| UpcomingOpeningRemoved
| WorkingGroupMetadataSet
| InvalidActionMetadata
type WorkingGroupMetadata implements BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!
"""
Working group status
"""
status: String
"""
Working group status message
"""
statusMessage: String
"""
Working group about text
"""
about: String
"""
Working group description text
"""
description: String
setInEvent: StatusTextChangedEvent!
setInEventId: String!
group: WorkingGroup!
groupId: String!
workinggroupmetadata: [WorkingGroup!]
}
type WorkingGroup implements BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!
"""
Working group name
"""
name: String!
metadata: WorkingGroupMetadata
metadataId: String
leader: Worker
leaderId: String
workers: [Worker!]!
openings: [WorkingGroupOpening!]!
"""
Current working group budget (JOY)
"""
budget: BigInt!
applicationwithdrawneventgroup: [ApplicationWithdrawnEvent!]
appliedonopeningeventgroup: [AppliedOnOpeningEvent!]
budgetfundedeventgroup: [BudgetFundedEvent!]
budgetseteventgroup: [BudgetSetEvent!]
budgetspendingeventgroup: [BudgetSpendingEvent!]
budgetupdatedeventgroup: [BudgetUpdatedEvent!]
leaderseteventgroup: [LeaderSetEvent!]
leaderunseteventgroup: [LeaderUnsetEvent!]
newmissedrewardlevelreachedeventgroup: [NewMissedRewardLevelReachedEvent!]
openingaddedeventgroup: [OpeningAddedEvent!]
openingcanceledeventgroup: [OpeningCanceledEvent!]
openingfilledeventgroup: [OpeningFilledEvent!]
rewardpaideventgroup: [RewardPaidEvent!]
stakedecreasedeventgroup: [StakeDecreasedEvent!]
stakeincreasedeventgroup: [StakeIncreasedEvent!]
stakeslashedeventgroup: [StakeSlashedEvent!]
statustextchangedeventgroup: [StatusTextChangedEvent!]
terminatedleadereventgroup: [TerminatedLeaderEvent!]
terminatedworkereventgroup: [TerminatedWorkerEvent!]
upcomingworkinggroupopeninggroup: [UpcomingWorkingGroupOpening!]
vestedbudgetspendingeventgroup: [VestedBudgetSpendingEvent!]
workerexitedeventgroup: [WorkerExitedEvent!]
workerrewardaccountupdatedeventgroup: [WorkerRewardAccountUpdatedEvent!]
workerrewardamountupdatedeventgroup: [WorkerRewardAmountUpdatedEvent!]
workerroleaccountupdatedeventgroup: [WorkerRoleAccountUpdatedEvent!]
workerstartedleavingeventgroup: [WorkerStartedLeavingEvent!]
workinggroupmetadatagroup: [WorkingGroupMetadata!]
}
type GeoCoordinates implements BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!
latitude: Float!
longitude: Float!
nodelocationmetadatacoordinates: [NodeLocationMetadata!]
}
type DistributionBucketFamilyGeographicArea implements BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime