(
key: IntegrationTaskKey,
params: L.NotificationsQueryVariables = {}
)
| 1058 | } |
| 1059 | |
| 1060 | notifications( |
| 1061 | key: IntegrationTaskKey, |
| 1062 | params: L.NotificationsQueryVariables = {} |
| 1063 | ): LinearReturnType<NotificationConnection> { |
| 1064 | return this.runTask( |
| 1065 | key, |
| 1066 | async (client) => { |
| 1067 | const edges = await client.notifications(params); |
| 1068 | return serializeLinearOutput(edges); |
| 1069 | }, |
| 1070 | { |
| 1071 | name: "Get Notifications", |
| 1072 | params, |
| 1073 | properties: queryProperties(params), |
| 1074 | } |
| 1075 | ); |
| 1076 | } |
| 1077 | |
| 1078 | archiveNotification( |
| 1079 | key: IntegrationTaskKey, |
nothing calls this directly
no test coverage detected