-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update all gql schemas and fix typings issues
- Loading branch information
1 parent
6db61f3
commit 6460bb6
Showing
23 changed files
with
1,129 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
extend type Query { | ||
""" | ||
Return all connections for this customer, or all connections of a given kind. | ||
If you have connection manager role, the credentials in the connection will | ||
be included, else they will be redacted in the returned payload. | ||
""" | ||
connections(kind: String): [Connection!]! | ||
} | ||
|
||
type Connection @goModel(model:"observe/restapiservices/connection.Connection") { | ||
meta: ConnectionMeta! | ||
config: ConnectionConfig! | ||
state: ConnectionState! | ||
} | ||
|
||
type ConnectionMeta @goModel(model:"observe/restapiservices/connection.ConnectionMeta") { | ||
id: ORN! | ||
customerId: CustomerId! | ||
} | ||
|
||
type ConnectionConfig @goModel(model:"observe/restapiservices/connection.ConnectionConfig") { | ||
kind: String! | ||
xid: String! | ||
comment: String! | ||
remoteKey: String! | ||
observeKey: String! | ||
configData: ConfigData! | ||
} | ||
|
||
type ConnectionState @goModel(model:"observe/restapiservices/connection.ConnectionState") { | ||
createdDate: Time! | ||
createdBy: UserId! | ||
updatedDate: Time! | ||
updatedBy: UserId! | ||
} | ||
|
||
scalar ConfigData @goModel(model: "observe/restapiservices/connection.ConfigData") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
extend type Query { | ||
""" | ||
Get Target Email Address Verification State. | ||
""" | ||
email(address: String!): EmailAddress @goField(forceResolver:true) | ||
""" | ||
Get Target Email Addresses Verification States. | ||
""" | ||
emails(addresses: [String!]!): [EmailAddress!] @goField(forceResolver:true) | ||
} | ||
|
||
type EmailAddress @goModel(model: "observe/meta/metatypes.EmailAddress") { | ||
email: String! | ||
verificationState: EmailActionTargetState! | ||
customerId: CustomerId! | ||
userId: UserId | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.