(ctx context.Context)
| 2545 | } |
| 2546 | |
| 2547 | func (q *querier) GetAIBridgeInterceptions(ctx context.Context) ([]database.AIBridgeInterception, error) { |
| 2548 | fetch := func(ctx context.Context, _ any) ([]database.AIBridgeInterception, error) { |
| 2549 | return q.db.GetAIBridgeInterceptions(ctx) |
| 2550 | } |
| 2551 | return fetchWithPostFilter(q.auth, policy.ActionRead, fetch)(ctx, nil) |
| 2552 | } |
| 2553 | |
| 2554 | func (q *querier) GetAIBridgeTokenUsagesByInterceptionID(ctx context.Context, interceptionID uuid.UUID) ([]database.AIBridgeTokenUsage, error) { |
| 2555 | // All aibridge_token_usages records belong to the initiator of their associated interception. |
nothing calls this directly
no test coverage detected