mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-05-18 21:36:56 -04:00
Autoformatting
This commit is contained in:
@@ -34,15 +34,15 @@ uuid = { workspace = true, features = ["serde"] }
|
||||
|
||||
# Specific Desktop dependencies
|
||||
# WARNING: Do NOT enable default features, as that vendors dbus (see below)
|
||||
opener = { version = "0.7.1", features = ["reveal"], default-features = false }
|
||||
specta-typescript = "=0.0.7"
|
||||
tauri-plugin-deep-link = "=2.0.1"
|
||||
opener = { version = "0.7.1", features = ["reveal"], default-features = false }
|
||||
specta-typescript = "=0.0.7"
|
||||
tauri-plugin-clipboard-manager = "=2.0.1"
|
||||
tauri-plugin-dialog = "=2.0.1"
|
||||
tauri-plugin-http = "=2.0.1"
|
||||
tauri-plugin-os = "=2.0.1"
|
||||
tauri-plugin-shell = "=2.0.1"
|
||||
tauri-plugin-updater = "=2.0.2"
|
||||
tauri-plugin-deep-link = "=2.0.1"
|
||||
tauri-plugin-dialog = "=2.0.1"
|
||||
tauri-plugin-http = "=2.0.1"
|
||||
tauri-plugin-os = "=2.0.1"
|
||||
tauri-plugin-shell = "=2.0.1"
|
||||
tauri-plugin-updater = "=2.0.2"
|
||||
|
||||
# memory allocator
|
||||
mimalloc = { workspace = true }
|
||||
|
||||
@@ -2,9 +2,7 @@
|
||||
"$schema": "../gen/schemas/desktop-schema.json",
|
||||
"identifier": "default",
|
||||
"description": "Capability for the main window",
|
||||
"windows": [
|
||||
"main"
|
||||
],
|
||||
"windows": ["main"],
|
||||
"permissions": [
|
||||
"core:app:default",
|
||||
"core:event:default",
|
||||
|
||||
@@ -29,9 +29,7 @@
|
||||
"transparent": true,
|
||||
"center": true,
|
||||
"windowEffects": {
|
||||
"effects": [
|
||||
"sidebar"
|
||||
],
|
||||
"effects": ["sidebar"],
|
||||
"state": "followsWindowActiveState",
|
||||
"radius": 9
|
||||
}
|
||||
@@ -48,11 +46,7 @@
|
||||
},
|
||||
"bundle": {
|
||||
"active": true,
|
||||
"targets": [
|
||||
"deb",
|
||||
"msi",
|
||||
"dmg"
|
||||
],
|
||||
"targets": ["deb", "msi", "dmg"],
|
||||
"publisher": "Spacedrive Technology Inc.",
|
||||
"copyright": "Spacedrive Technology Inc.",
|
||||
"category": "Productivity",
|
||||
@@ -71,20 +65,14 @@
|
||||
"files": {
|
||||
"/usr/share/spacedrive/models/yolov8s.onnx": "../../.deps/models/yolov8s.onnx"
|
||||
},
|
||||
"depends": [
|
||||
"libc6",
|
||||
"libxdo3",
|
||||
"dbus"
|
||||
]
|
||||
"depends": ["libc6", "libxdo3", "dbus"]
|
||||
}
|
||||
},
|
||||
"macOS": {
|
||||
"minimumSystemVersion": "10.15",
|
||||
"exceptionDomain": null,
|
||||
"entitlements": null,
|
||||
"frameworks": [
|
||||
"../../.deps/Spacedrive.framework"
|
||||
],
|
||||
"frameworks": ["../../.deps/Spacedrive.framework"],
|
||||
"dmg": {
|
||||
"background": "dmg-background.png",
|
||||
"appPosition": {
|
||||
@@ -121,9 +109,7 @@
|
||||
"deep-link": {
|
||||
"mobile": [],
|
||||
"desktop": {
|
||||
"schemes": [
|
||||
"spacedrive"
|
||||
]
|
||||
"schemes": ["spacedrive"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,8 +117,8 @@ const Devices = ({ node, stats }: Props) => {
|
||||
name={device.name}
|
||||
// TODO (Optional): Use Brand Type for Different Android Models/iOS Models using DeviceInfo.getBrand()
|
||||
icon={hardwareModelToIcon(device.hardware_model)}
|
||||
totalSpace={"0"}
|
||||
freeSpace={"0"}
|
||||
totalSpace={'0'}
|
||||
freeSpace={'0'}
|
||||
color="#0362FF"
|
||||
connectionType={'cloud'}
|
||||
/>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import {proxy, useSnapshot} from 'valtio';
|
||||
|
||||
import { proxy, useSnapshot } from 'valtio';
|
||||
|
||||
export type User = {
|
||||
id: string;
|
||||
@@ -12,10 +11,9 @@ const state = {
|
||||
userInfo: undefined as User | undefined
|
||||
};
|
||||
|
||||
|
||||
const store = proxy({
|
||||
...state
|
||||
})
|
||||
});
|
||||
|
||||
// for reading
|
||||
export const useUserStore = () => useSnapshot(store);
|
||||
|
||||
2
core/prisma/migrations/migration_lock.toml
generated
2
core/prisma/migrations/migration_lock.toml
generated
@@ -1,3 +1,3 @@
|
||||
# Please do not edit this file manually
|
||||
# It should be added in your version-control system (i.e. Git)
|
||||
provider = "sqlite"
|
||||
provider = "sqlite"
|
||||
|
||||
@@ -15,7 +15,11 @@ export default function DevicesSection() {
|
||||
return (
|
||||
<Section name={t('devices')}>
|
||||
{node && (
|
||||
<SidebarLink className="group relative w-full" to={`node/${node.id}`} key={node.id as any}>
|
||||
<SidebarLink
|
||||
className="group relative w-full"
|
||||
to={`node/${node.id}`}
|
||||
key={node.id as any}
|
||||
>
|
||||
{node.device_model ? (
|
||||
<Icon
|
||||
name={hardwareModelToIcon(node.device_model as HardwareModel)}
|
||||
|
||||
@@ -25,7 +25,7 @@ function Account() {
|
||||
</Button>
|
||||
</div>
|
||||
<hr className="mb-4 mt-2 w-full border-app-line" />
|
||||
<span>{t('logged_in_as', "TODO")}</span>
|
||||
<span>{t('logged_in_as', 'TODO')}</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -17,7 +17,9 @@ export const useDeeplinkEventHandler = () => {
|
||||
const searchParamsObj = new URLSearchParams(searchParams);
|
||||
const searchParamsString = searchParamsObj.toString();
|
||||
console.log('Navigating to', {
|
||||
path, searchParamsString, hash
|
||||
path,
|
||||
searchParamsString,
|
||||
hash
|
||||
});
|
||||
|
||||
navigate({ pathname: path, search: searchParamsString, hash });
|
||||
|
||||
@@ -3,5 +3,5 @@
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"declarationDir": "dist"
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user