Extracted sharing API into own file

This commit is contained in:
Max Berger
2026-03-10 22:44:51 +01:00
parent d513efeaac
commit 011efdcc86
5 changed files with 358 additions and 334 deletions

View File

@@ -19,7 +19,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import { discover_server_features, get_collections } from "../api/api.js";
import { get_collections } from "../api/api.js";
import { discover_server_features } from "../api/sharing.js";
import { SERVER } from "../constants.js";
import { Collection, CollectionType } from "../models/collection.js";
import { bytesToHumanReadable } from "../utils/misc.js";