Get all templates that use a file.
(ctx context.Context, fileID uuid.UUID)
| 475 | GetFileByID(ctx context.Context, id uuid.UUID) (File, error) |
| 476 | // Get all templates that use a file. |
| 477 | GetFileTemplates(ctx context.Context, fileID uuid.UUID) ([]GetFileTemplatesRow, error) |
| 478 | // Fetches inbox notifications for a user filtered by templates and targets |
| 479 | // param user_id: The user ID |
| 480 | // param templates: The template IDs to filter by - the template_id = ANY(@templates::UUID[]) condition checks if the template_id is in the @templates array |
no outgoing calls