/* This file is part of the Notesnook Sync Server project (https://notesnook.com/) Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the Affero GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Affero GNU General Public License for more details. You should have received a copy of the Affero GNU General Public License along with this program. If not, see . */ using Notesnook.API.Interfaces; using Notesnook.API.Models; using Notesnook.API.Repositories; using Streetwriters.Data.Repositories; namespace Notesnook.API.Accessors { public class SyncItemsRepositoryAccessor : ISyncItemsRepositoryAccessor { public SyncItemsRepository Notes { get; } public SyncItemsRepository Notebooks { get; } public SyncItemsRepository Shortcuts { get; } public SyncItemsRepository Relations { get; } public SyncItemsRepository Reminders { get; } public SyncItemsRepository Contents { get; } public SyncItemsRepository Settings { get; } public SyncItemsRepository Attachments { get; } public Repository UsersSettings { get; } public Repository Monographs { get; } public SyncItemsRepositoryAccessor(SyncItemsRepository _notes, SyncItemsRepository _notebooks, SyncItemsRepository _content, SyncItemsRepository _settings, SyncItemsRepository _attachments, SyncItemsRepository _shortcuts, SyncItemsRepository _relations, SyncItemsRepository _reminders, Repository _usersSettings, Repository _monographs) { Notebooks = _notebooks; Notes = _notes; Contents = _content; Settings = _settings; Attachments = _attachments; UsersSettings = _usersSettings; Monographs = _monographs; Shortcuts = _shortcuts; Reminders = _reminders; Relations = _relations; } } }