( items []TaskBridgeNotificationSubscriptionRecord, )
| 3316 | } |
| 3317 | |
| 3318 | func taskBridgeNotificationSubscriptionListBundle( |
| 3319 | items []TaskBridgeNotificationSubscriptionRecord, |
| 3320 | ) outputBundle { |
| 3321 | return listBundle( |
| 3322 | items, |
| 3323 | items, |
| 3324 | "Task Bridge Notification Subscriptions", |
| 3325 | []string{ |
| 3326 | taskSubscriptionValue, |
| 3327 | taskTaskValue, |
| 3328 | taskBridgeValue, |
| 3329 | taskScopeValue, |
| 3330 | taskPeerValue, |
| 3331 | taskGroupValue, |
| 3332 | taskModeValue, |
| 3333 | "Cursor Seq", |
| 3334 | "Cursor Error", |
| 3335 | "Cursor Updated", |
| 3336 | taskUpdatedValue, |
| 3337 | }, |
| 3338 | "task_bridge_notification_subscriptions", |
| 3339 | []string{ |
| 3340 | "subscription_id", |
| 3341 | taskTaskIDKey, |
| 3342 | taskBridgeInstanceIDKey, |
| 3343 | taskScopeKey, |
| 3344 | taskPeerIDKey, |
| 3345 | taskGroupIDKey, |
| 3346 | "delivery_mode", |
| 3347 | "cursor_last_sequence", |
| 3348 | "cursor_last_error", |
| 3349 | "cursor_updated_at", |
| 3350 | taskUpdatedAtKey, |
| 3351 | }, |
| 3352 | func(item TaskBridgeNotificationSubscriptionRecord) []string { |
| 3353 | return []string{ |
| 3354 | stringOrDash(item.SubscriptionID), |
| 3355 | stringOrDash(item.TaskID), |
| 3356 | stringOrDash(item.BridgeInstanceID), |
| 3357 | stringOrDash(string(item.Scope)), |
| 3358 | stringOrDash(item.PeerID), |
| 3359 | stringOrDash(item.GroupID), |
| 3360 | stringOrDash(string(item.DeliveryMode)), |
| 3361 | int64OrDash(item.Cursor.LastSequence), |
| 3362 | stringOrDash(item.Cursor.LastError), |
| 3363 | stringOrDash(formatTimePtr(item.Cursor.UpdatedAt)), |
| 3364 | stringOrDash(formatTime(item.UpdatedAt)), |
| 3365 | } |
| 3366 | }, |
| 3367 | func(item TaskBridgeNotificationSubscriptionRecord) []string { |
| 3368 | return []string{ |
| 3369 | item.SubscriptionID, |
| 3370 | item.TaskID, |
| 3371 | item.BridgeInstanceID, |
| 3372 | string(item.Scope), |
| 3373 | item.PeerID, |
| 3374 | item.GroupID, |
| 3375 | string(item.DeliveryMode), |
no test coverage detected