world-manager/World Manager for Minecraft/Models/Sources/SourceCapabilities.swift
2026-08-02 19:57:14 -05:00

26 lines
728 B
Swift

// SPDX-FileCopyrightText: 2026 John Burwell and contributors
// SPDX-License-Identifier: AGPL-3.0-or-later
import Foundation
nonisolated struct SourceCapabilities: Hashable, Sendable, Codable {
var canScan: Bool = true
var canMaterializeItems: Bool = true
var canExportPortablePackages: Bool = true
var canInstallItems: Bool = false
static let localFolder = SourceCapabilities(
canScan: true,
canMaterializeItems: true,
canExportPortablePackages: true,
canInstallItems: true
)
static let connectedDevice = SourceCapabilities(
canScan: true,
canMaterializeItems: true,
canExportPortablePackages: true,
canInstallItems: true
)
}