-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.graphql
5974 lines (4911 loc) · 143 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 SlackUserIdentity {
slackTeamId: String!
slackUserId: String!
}
type User {
id: ID!
"""The full name e.g. Grace Hopper."""
fullName: String!
"""A short name for use in UI e.g. Grace."""
publicName: String!
"""The avatar URL of the user."""
avatarUrl: String
"""The email associated with this user. Email is unique per user."""
email: String!
"""(Legacy) Retrieve roles for a specific workspace + user."""
roles: [Role!]!
"""The role of the user in the workspace."""
role: Role
"""Additional legacy roles that the user has in the workspace."""
additionalLegacyRoles: [Role!]!
"""Connected slack users to this Plain account."""
slackIdentities: [SlackUserIdentity!]!
status: UserStatus!
statusChangedAt: DateTime!
createdAt: DateTime!
createdBy: InternalActor!
updatedAt: DateTime!
updatedBy: InternalActor!
isDeleted: Boolean!
deletedAt: DateTime
deletedBy: Actor
}
type UserAccount {
id: ID!
"""The full name e.g. Grace Hopper."""
fullName: String!
"""A short name for use in UI e.g. Grace."""
publicName: String!
"""The email associated with this user. Email is unique per user."""
email: String!
}
enum UserStatus {
ONLINE
OFFLINE
BREAK
}
type Workspace {
id: ID!
name: String!
publicName: String!
isDemoWorkspace: Boolean!
createdBy: InternalActor!
createdAt: DateTime!
updatedBy: InternalActor!
updatedAt: DateTime!
workspaceEmailSettings: WorkspaceEmailSettings!
workspaceChatSettings: WorkspaceChatSettings!
}
type WorkspaceInvite {
id: ID!
"""Who sent this invite."""
createdBy: InternalActor!
"""When the invite was created."""
createdAt: DateTime!
"""The email that is being invited."""
email: String!
"""The workspace they are being invited to."""
workspace: Workspace!
"""Whether the person has accepted the invite."""
isAccepted: Boolean!
"""The roles that the invite will assign on workspace joining."""
roles: [Role!]!
"""Who updated this invite."""
updatedBy: InternalActor!
"""When the invite was updated."""
updatedAt: DateTime!
"""Whether the user would be assigned a billing rota seat upon joining."""
usingBillingRotaSeat: Boolean!
"""
The role that the invite will assign on workspace joining. This will replace the roles field.
"""
role: Role
}
type Role {
id: ID!
name: String!
description: String
permissions: [String!]!
isAssignableToCustomer: Boolean! @deprecated(reason: "Use isAssignableToThread instead")
isAssignableToThread: Boolean!
assignableBillingSeats: [BillingSeatType!]! @deprecated(reason: "Don't use. Will be removed soon.")
requiresBillableSeat: Boolean! @deprecated(reason: "Don't use. Will be removed soon.")
key: RoleKey
}
type LabelType {
id: ID!
name: String!
icon: String
isArchived: Boolean!
archivedBy: InternalActor
archivedAt: DateTime
createdAt: DateTime!
createdBy: InternalActor!
updatedAt: DateTime!
updatedBy: InternalActor!
}
type Label {
id: ID!
labelType: LabelType!
createdAt: DateTime!
createdBy: InternalActor!
updatedAt: DateTime!
updatedBy: InternalActor!
}
"""An object modelling an email address and if it's been verified."""
type EmailAddress {
"""The email address."""
email: String!
"""
If the email address ownership has been verified (e.g. via sending an email with a code). If the email is not verified, Plain may not email this address.
"""
isVerified: Boolean!
"""When the email became verified in Plain."""
verifiedAt: DateTime
}
type Company {
id: ID!
name: String!
logoUrl(size: Int): String
domainName: String!
createdAt: DateTime!
createdBy: InternalActor!
updatedAt: DateTime!
updatedBy: InternalActor!
tier: Tier
threadChannelAssociations: [ThreadChannelAssociation!]!
}
type CompanyEdge {
cursor: String!
node: Company!
}
type CompanyConnection {
edges: [CompanyEdge!]!
pageInfo: PageInfo!
}
type TenantEdge {
cursor: String!
node: Tenant!
}
type TenantConnection {
edges: [TenantEdge!]!
pageInfo: PageInfo!
}
enum CustomerStatus {
IDLE @deprecated(reason: "Use ThreadStatus.DONE instead")
ACTIVE @deprecated(reason: "Use ThreadStatus.TODO instead")
SNOOZED @deprecated(reason: "Use ThreadStatus.SNOOZED instead")
}
"""
The core customer entity. A customer only exists (ideally) once.
Uniqueness is guaranteed on both of these fields:
1. `externalId` if provided
2. `email`
"""
type Customer {
"""Uniquely identifies a customer in Plain."""
id: ID!
"""Your system's ID for this customer."""
externalId: ID
"""The full name of the customer."""
fullName: String!
"""An optional short name of the customer, typically their first name."""
shortName: String
"""The customer's email address."""
email: EmailAddress!
"""The avatar URL of the customer."""
avatarUrl: String
"""The user the customer is assigned to."""
assignedToUser: UserActor
"""When the customer was assigned to a user."""
assignedAt: DateTime
"""A subquery to fetch the customer's group memberships."""
customerGroupMemberships(filters: CustomerGroupMembershipsFilter, first: Int, after: String, last: Int, before: String): CustomerGroupMembershipConnection!
"""A subquery to fetch the customer's tenants."""
tenantMemberships(first: Int, after: String, last: Int, before: String): CustomerTenantMembershipConnection!
"""The company the customer belongs to."""
company: Company
isAnonymous: Boolean!
createdAt: DateTime!
createdBy: Actor!
updatedAt: DateTime!
updatedBy: Actor!
markedAsSpamAt: DateTime
markedAsSpamBy: InternalActor
status: CustomerStatus @deprecated(reason: "Use Thread.status instead")
statusChangedAt: DateTime @deprecated(reason: "Use Thread.statusChangedAt instead")
lastIdleAt: DateTime @deprecated(reason: "Use Thread.statusChangedAt instead")
}
type CustomerGroup {
id: ID!
name: String!
key: String!
color: String!
externalId: String
createdAt: DateTime!
createdBy: InternalActor!
updatedAt: DateTime!
updatedBy: InternalActor!
}
type CustomerGroupMembership {
customerId: ID!
customerGroup: CustomerGroup!
createdAt: DateTime!
createdBy: InternalActor!
updatedAt: DateTime!
updatedBy: InternalActor!
}
type CustomerGroupEdge {
cursor: String!
node: CustomerGroup!
}
type CustomerGroupConnection {
edges: [CustomerGroupEdge!]!
pageInfo: PageInfo!
}
type CustomerGroupMembershipEdge {
cursor: String!
node: CustomerGroupMembership!
}
type CustomerGroupMembershipConnection {
edges: [CustomerGroupMembershipEdge!]!
pageInfo: PageInfo!
}
type CustomerTenantMembership {
tenant: Tenant!
createdAt: DateTime!
createdBy: InternalActor!
updatedAt: DateTime!
updatedBy: InternalActor!
}
type CustomerTenantMembershipEdge {
cursor: String!
node: CustomerTenantMembership!
}
type CustomerTenantMembershipConnection {
edges: [CustomerTenantMembershipEdge!]!
pageInfo: PageInfo!
}
enum ThreadFieldSchemaType {
STRING
BOOL
ENUM
}
type DependsOnThreadFieldType {
threadFieldSchemaId: ID!
threadFieldSchemaValue: String!
}
type ThreadFieldSchema {
id: ID!
label: String!
key: String!
description: String!
order: Int!
type: ThreadFieldSchemaType!
enumValues: [String!]!
defaultStringValue: String
defaultBooleanValue: Boolean
isRequired: Boolean!
isAiAutoFillEnabled: Boolean!
dependsOnThreadField: DependsOnThreadFieldType
createdAt: DateTime!
createdBy: InternalActor!
updatedAt: DateTime!
updatedBy: InternalActor!
}
type ThreadField {
id: ID!
threadId: ID!
key: String!
type: ThreadFieldSchemaType!
isAiGenerated: Boolean!
stringValue: String
booleanValue: Boolean
createdAt: DateTime!
createdBy: InternalActor!
updatedAt: DateTime!
updatedBy: InternalActor!
}
type ThreadDiscussion {
id: ID!
threadId: ID!
title: String!
slackTeamId: String!
slackChannelId: String!
slackChannelName: String!
slackMessageLink: String!
messages(first: Int, after: String, last: Int, before: String): ThreadDiscussionMessageConnection!
resolvedAt: DateTime
createdAt: DateTime!
createdBy: Actor!
updatedAt: DateTime!
updatedBy: Actor!
}
type ThreadDiscussionMessageConnection {
edges: [ThreadDiscussionMessageEdge!]!
pageInfo: PageInfo!
}
type ThreadDiscussionMessageEdge {
node: ThreadDiscussionMessage!
cursor: String!
}
type ThreadDiscussionMessageReaction {
name: String!
actors: [Actor!]!
imageUrl: String
}
type ThreadDiscussionMessage {
id: ID!
threadDiscussionId: ID!
text: String!
slackMessageLink: String!
attachments: [Attachment!]!
lastEditedOnSlackAt: DateTime
deletedOnSlackAt: DateTime
reactions: [ThreadDiscussionMessageReaction!]!
createdAt: DateTime!
createdBy: Actor!
updatedAt: DateTime!
updatedBy: Actor!
}
type WorkflowRule {
id: ID!
name: String!
"""JSON-encoded payload of the rule definition."""
payload: String!
createdAt: DateTime!
createdBy: InternalActor!
updatedAt: DateTime!
updatedBy: InternalActor!
}
type WorkflowRuleEdge {
cursor: String!
node: WorkflowRule!
}
type WorkflowRuleConnection {
edges: [WorkflowRuleEdge!]!
pageInfo: PageInfo!
}
type ChatAppSecret {
chatAppId: ID!
secret: String!
createdAt: DateTime!
createdBy: InternalActor!
updatedAt: DateTime!
updatedBy: InternalActor!
}
type ChatAppHiddenSecret {
chatAppId: ID!
createdAt: DateTime!
createdBy: InternalActor!
updatedAt: DateTime!
updatedBy: InternalActor!
}
type ChatApp {
id: ID!
name: String!
createdAt: DateTime!
createdBy: InternalActor!
updatedAt: DateTime!
updatedBy: InternalActor!
}
type ChatAppEdge {
cursor: String!
node: ChatApp!
}
type ChatAppConnection {
edges: [ChatAppEdge!]!
pageInfo: PageInfo!
}
type Note {
id: ID!
text: String!
markdown: String
customer: Customer!
isDeleted: Boolean!
createdAt: DateTime!
createdBy: InternalActor!
deletedAt: DateTime
deletedBy: InternalActor
updatedAt: DateTime!
updatedBy: InternalActor!
}
type Snippet {
id: ID!
name: String!
text: String!
markdown: String
isDeleted: Boolean!
createdAt: DateTime!
createdBy: InternalActor!
updatedAt: DateTime!
updatedBy: InternalActor!
deletedAt: DateTime
deletedBy: InternalActor
}
type EmailSignature {
text: String!
markdown: String
createdAt: DateTime!
createdBy: InternalActor!
updatedAt: DateTime!
updatedBy: InternalActor!
}
type Chat {
id: ID!
text: String
customerReadAt: DateTime
attachments: [Attachment!]!
createdAt: DateTime!
createdBy: Actor!
updatedAt: DateTime!
updatedBy: Actor!
}
type PageInfo {
hasPreviousPage: Boolean!
hasNextPage: Boolean!
startCursor: String
endCursor: String
}
type DateTime {
unixTimestamp: String!
iso8601: String!
}
type Time {
iso8601: String!
}
enum SortDirection {
ASC
DESC
}
type WorkspaceEdge {
cursor: String!
node: Workspace!
}
type WorkspaceConnection {
edges: [WorkspaceEdge!]!
pageInfo: PageInfo!
}
type WorkspaceInviteEdge {
cursor: String!
node: WorkspaceInvite!
}
type WorkspaceInviteConnection {
edges: [WorkspaceInviteEdge!]!
pageInfo: PageInfo!
}
input UsersFilter {
isAssignableToCustomer: Boolean @deprecated(reason: "Use isAssignableToThread instead")
isAssignableToThread: Boolean
}
type UserEdge {
cursor: String!
node: User!
}
type UserConnection {
edges: [UserEdge!]!
pageInfo: PageInfo!
}
type RoleEdge {
cursor: String!
node: Role!
}
type RoleConnection {
edges: [RoleEdge!]!
pageInfo: PageInfo!
}
type LabelTypeEdge {
cursor: String!
node: LabelType!
}
type LabelTypeConnection {
edges: [LabelTypeEdge!]!
pageInfo: PageInfo!
}
input LabelTypeFilter {
isArchived: Boolean
}
type ThreadFieldSchemaEdge {
cursor: String!
node: ThreadFieldSchema!
}
type ThreadFieldSchemaConnection {
edges: [ThreadFieldSchemaEdge!]!
pageInfo: PageInfo!
}
input CustomersFilter {
isMarkedAsSpam: Boolean
"""
Filters customers to those with at least one of the given customer group IDs.
Customers with no groups will not be included.
Can be combined with other group filters.
"""
customerGroupIds: [ID!]
"""
Filters customers to those with at least one of the given customer group keys.
Customers with no groups will not be included.
Can be combined with other group filters.
"""
customerGroupKeys: [String!]
"""
Filters customers to those belonging to the given companies.
Customers who dont belong to any of the given companies will not be included.
Can be combined with other company filters.
"""
companyIdentifiers: [CompanyIdentifierInput!]
"""
Filters customers to those belonging to the given tenants.
Customers who dont belong to any of the given tenants will not be included.
Can be combined with other company filters.
"""
tenantIdentifiers: [TenantIdentifierInput!]
}
enum CustomersSortField {
FULL_NAME
}
input CustomersSort {
field: CustomersSortField!
direction: SortDirection!
}
type CustomerEdge {
cursor: String!
node: Customer!
}
type CustomerConnection {
edges: [CustomerEdge!]!
pageInfo: PageInfo!
totalCount: Int!
}
type SnippetEdge {
cursor: String!
node: Snippet!
}
type SnippetConnection {
edges: [SnippetEdge!]!
pageInfo: PageInfo!
}
type UserActor {
userId: ID!
user: User!
}
type CustomerActor {
customerId: ID!
customer: Customer!
}
type DeletedCustomerActor {
customerId: ID!
}
type SystemActor {
systemId: ID!
}
type System {
id: ID!
}
type MachineUserActor {
machineUserId: ID!
machineUser: MachineUser!
}
type NoteEntry {
noteId: ID!
text: String!
markdown: String
}
type ChatEntry {
chatId: ID!
text: String
customerReadAt: DateTime
attachments: [Attachment!]!
}
interface TimelineEventEntry {
timelineEventId: ID!
title: String!
components: [EventComponent!]!
customerId: ID!
externalId: ID
}
type ThreadEventEntry implements TimelineEventEntry {
timelineEventId: ID!
title: String!
components: [EventComponent!]!
customerId: ID!
externalId: ID
}
type CustomerEventEntry implements TimelineEventEntry {
timelineEventId: ID!
title: String!
components: [EventComponent!]!
customerId: ID!
externalId: ID
}
type SlackReaction {
name: String!
actors: [Actor!]!
imageUrl: String
}
type SlackMessageEntry {
slackMessageLink: String!
text: String!
customerId: ID!
relatedThread: SlackMessageEntryRelatedThread
attachments: [Attachment!]!
lastEditedOnSlackAt: DateTime
deletedOnSlackAt: DateTime
reactions: [SlackReaction!]!
}
type SlackMessageEntryRelatedThread {
threadId: ID!
}
type SlackReplyEntry {
slackMessageLink: String!
customerId: ID!
text: String!
attachments: [Attachment!]!
lastEditedOnSlackAt: DateTime
deletedOnSlackAt: DateTime
reactions: [SlackReaction!]!
}
type MSTeamsMessage {
id: ID!
threadId: ID
msTeamsTenantId: ID
msTeamsConversationId: ID
msTeamsMessageId: ID
msTeamsTeamId: ID
text: String!
html: String!
createdAt: DateTime!
createdBy: Actor!
updatedAt: DateTime!
updatedBy: Actor!
attachments: [Attachment!]!
lastEditedOnMsTeamsAt: DateTime
deletedOnMsTeamsAt: DateTime
}
type MSTeamsMessageEntry {
text: String!
customerId: ID!
msTeamsMessageId: ID!
attachments: [Attachment!]!
lastEditedOnMsTeamsAt: DateTime
deletedOnMsTeamsAt: DateTime
}
type ThreadDiscussionEntry {
customerId: ID!
threadDiscussionId: ID!
slackChannelName: String!
slackMessageLink: String!
}
type ThreadDiscussionResolvedEntry {
customerId: ID!
threadDiscussionId: ID!
slackChannelName: String!
slackMessageLink: String!
resolvedAt: DateTime!
}
type FileSize {
bytes: Int!
kiloBytes: Float!
megaBytes: Float!
}
type Attachment {
id: ID!
fileName: String!
fileSize: FileSize!
fileExtension: String
fileMimeType: String!
type: AttachmentType!
createdAt: DateTime!
createdBy: Actor!
updatedAt: DateTime!
updatedBy: Actor!
}
type CustomerEmailActor {
customerId: ID!
customer: Customer!
}
type DeletedCustomerEmailActor {
customerId: ID!
}
type UserEmailActor {
userId: ID!
user: User!
}
type SupportEmailAddressEmailActor {
supportEmailAddress: String!
}
union EmailActor = CustomerEmailActor | DeletedCustomerEmailActor | UserEmailActor | SupportEmailAddressEmailActor
type EmailParticipant {
name: String
email: String!
emailActor: EmailActor
}
enum EmailAuthenticity {
PASS
FAIL
UNKNOWN
}
type EmailBounce {
bouncedAt: DateTime!
recipient: EmailParticipant!
isSendRetriable: Boolean!
}
enum EmailSendStatus {
"""The email is being sent."""
PENDING
"""The email was sent successfully to all recipients."""
SENT
"""
Some (or all) of the recipients bounced the email, meaning they did not recieve it. Check 'bounces' for more details on which recipients bounced.
"""
BOUNCED
"""
The email failed to send. This will happen if the main recipient (To) bounced the email, or if there was an unexpected error sending the email.
"""
FAILED
}
type EmailEntry {
emailId: ID!
to: EmailParticipant!
from: EmailParticipant!
additionalRecipients: [EmailParticipant!]!
hiddenRecipients: [EmailParticipant!]!
subject: String
"""The most recent email's text content."""
textContent: String
"""
Boolean indicating whether there is more text content available that can be resolved via the `fullTextContent` field.
"""
hasMoreTextContent: Boolean!
"""The full email's text content, including all replies."""
fullTextContent: String
"""The most recent email's markdown content."""
markdownContent: String
"""
Boolean indicating whether there is more markdown content available that can be resolved via the `fullMarkdownContent` field.
"""
hasMoreMarkdownContent: Boolean!
"""The full email's markdown content, including all replies."""
fullMarkdownContent: String
authenticity: EmailAuthenticity!
"""
When the email was sent. Only set for outbound emails and will be null until the email is sent.
"""
sentAt: DateTime
"""
Informs whether the email was sent successfully, bounced or failed. If the email is still being sent, the status will be 'PENDING'. Only set for outbound emails.
"""
sendStatus: EmailSendStatus
"""When the email was received by Plain."""
receivedAt: DateTime
"""All the attachments included in this email."""
attachments: [Attachment!]!
"""
Whether this email entry is the start of a new thread in Plain. Can be used to show the full email content.
"""
isStartOfThread: Boolean!
"""
If any of the recipients bounces the email, this will contain the list of bounces.
"""
bounces: [EmailBounce!]!
}
enum ComponentTextSize {
S
M
L
}
enum ComponentTextColor {
NORMAL
MUTED
SUCCESS
WARNING
ERROR
}
enum ComponentPlainTextSize {
S
M
L
}
enum ComponentPlainTextColor {
NORMAL
MUTED
SUCCESS
WARNING
ERROR
}
enum ComponentBadgeColor {
GREY
GREEN
YELLOW
RED
BLUE
}
type ComponentText {
textSize: ComponentTextSize
textColor: ComponentTextColor
text: String!
color: ComponentTextColor @deprecated(reason: "Use textColor instead, which has the same type")
size: ComponentTextSize @deprecated(reason: "Use textSize instead, which has the same type")
}
type ComponentPlainText {
plainTextSize: ComponentPlainTextSize
plainTextColor: ComponentPlainTextColor
plainText: String!
}
enum ComponentSpacerSize {
XS
S
M
L
XL
}
type ComponentSpacer {
spacerSize: ComponentSpacerSize!
size: ComponentSpacerSize! @deprecated(reason: "Use spacerSize instead, which has the same type")
}
enum ComponentDividerSpacingSize {
XS
S
M
L
XL
}
type ComponentDivider {
dividerSpacingSize: ComponentDividerSpacingSize
spacingSize: ComponentDividerSpacingSize @deprecated(reason: "use dividerSpacingSize instead")