Drop pkg.generated.mbti files the test run left in the last commit
CI / test (push) Successful in 12m25s
CI / test (push) Successful in 12m25s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hhiJfJNAYqWzQiuKMf
This commit is contained in:
53 files changed
+5
-1313
No files matched your search
@@ -1,32 +0,0 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/interface/chandra/desktop/default-apps"
|
||||
|
||||
// Values
|
||||
pub fn apps() -> Array[AppChoice]
|
||||
|
||||
pub fn categories() -> Array[AppCategory]
|
||||
|
||||
pub fn refresh() -> Unit
|
||||
|
||||
pub fn set_default(UInt32, UInt32) -> Unit
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
pub(all) struct AppCategory {
|
||||
name : String
|
||||
current : String
|
||||
missing : String
|
||||
}
|
||||
|
||||
pub(all) struct AppChoice {
|
||||
category : UInt32
|
||||
id : String
|
||||
name : String
|
||||
icon : UInt32
|
||||
current : Bool
|
||||
}
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
@@ -1,13 +0,0 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/interface/chandra/desktop/icons"
|
||||
|
||||
// Values
|
||||
pub fn app_icon(String) -> UInt32
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
@@ -1,15 +0,0 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/interface/chandra/desktop/inspector"
|
||||
|
||||
// Values
|
||||
pub fn is_on() -> Bool
|
||||
|
||||
pub fn set_on(Bool) -> Unit
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
@@ -1,17 +0,0 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/interface/chandra/desktop/layout-control"
|
||||
|
||||
// Values
|
||||
pub fn current_layout() -> UInt32
|
||||
|
||||
pub fn layout_modes() -> Array[String]
|
||||
|
||||
pub fn set_layout(UInt32) -> Unit
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
@@ -1,35 +0,0 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/interface/chandra/desktop/modules"
|
||||
|
||||
// Values
|
||||
pub fn available() -> Array[ModuleInfo]
|
||||
|
||||
pub fn browse() -> Unit
|
||||
|
||||
pub fn load_module(String) -> Unit
|
||||
|
||||
pub fn loaded() -> Array[InstanceInfo]
|
||||
|
||||
pub fn move_instance(String, Int32) -> Unit
|
||||
|
||||
pub fn unload_instance(String) -> Unit
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
pub(all) struct InstanceInfo {
|
||||
slot : String
|
||||
module_ : String
|
||||
name : String
|
||||
}
|
||||
|
||||
pub(all) struct ModuleInfo {
|
||||
id : String
|
||||
name : String
|
||||
path : String
|
||||
loaded : UInt32
|
||||
}
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
@@ -1,45 +0,0 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/interface/chandra/desktop/network"
|
||||
|
||||
// Values
|
||||
pub fn connect(String, String) -> Unit
|
||||
|
||||
pub fn disconnect() -> Unit
|
||||
|
||||
pub fn forget(String) -> Unit
|
||||
|
||||
pub fn scan() -> Unit
|
||||
|
||||
pub fn set_airplane_mode(Bool) -> Unit
|
||||
|
||||
pub fn set_wifi_enabled(Bool) -> Unit
|
||||
|
||||
pub fn status() -> NetStatus
|
||||
|
||||
pub fn wifi_networks() -> Array[WifiNetwork]
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
pub(all) struct NetStatus {
|
||||
state : UInt32
|
||||
signal : UInt32
|
||||
name : String
|
||||
message : String
|
||||
wifi_enabled : Bool
|
||||
airplane : Bool
|
||||
can_manage : Bool
|
||||
has_wifi : Bool
|
||||
}
|
||||
|
||||
pub(all) struct WifiNetwork {
|
||||
ssid : String
|
||||
signal : UInt32
|
||||
secured : Bool
|
||||
active : Bool
|
||||
saved : Bool
|
||||
}
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
@@ -1,25 +0,0 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/interface/chandra/desktop/power"
|
||||
|
||||
// Values
|
||||
pub fn power_off() -> Unit
|
||||
|
||||
pub fn reboot() -> Unit
|
||||
|
||||
pub fn screen_off_minutes() -> UInt32
|
||||
|
||||
pub fn set_screen_off_minutes(UInt32) -> Unit
|
||||
|
||||
pub fn set_suspend_minutes(UInt32) -> Unit
|
||||
|
||||
pub fn suspend() -> Unit
|
||||
|
||||
pub fn suspend_minutes() -> UInt32
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
@@ -1,23 +0,0 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/interface/chandra/desktop/screenshot"
|
||||
|
||||
// Values
|
||||
pub fn is_recording() -> Bool
|
||||
|
||||
pub fn records_pointer() -> Bool
|
||||
|
||||
pub fn set_records_pointer(Bool) -> Unit
|
||||
|
||||
pub fn start_recording(UInt32) -> Unit
|
||||
|
||||
pub fn stop_recording() -> Unit
|
||||
|
||||
pub fn take(UInt32) -> Unit
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
@@ -1,17 +0,0 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/interface/chandra/desktop/session-settings"
|
||||
|
||||
// Values
|
||||
pub fn is_on(UInt32) -> Bool
|
||||
|
||||
pub fn set_setting(UInt32, Bool) -> Unit
|
||||
|
||||
pub fn settings() -> Array[String]
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
@@ -1,15 +0,0 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/interface/chandra/desktop/session"
|
||||
|
||||
// Values
|
||||
pub fn logout() -> Unit
|
||||
|
||||
pub fn reload() -> Unit
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
@@ -1,28 +0,0 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/interface/chandra/desktop/shortcuts"
|
||||
|
||||
// Values
|
||||
pub fn cancel_capture() -> Unit
|
||||
|
||||
pub fn capture(UInt32) -> Unit
|
||||
|
||||
pub fn reset(UInt32) -> Unit
|
||||
|
||||
pub fn reset_all() -> Unit
|
||||
|
||||
pub fn shortcuts() -> Array[Shortcut]
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
pub(all) struct Shortcut {
|
||||
name : String
|
||||
binding : String
|
||||
default_binding : String
|
||||
conflict : String
|
||||
capturing : Bool
|
||||
}
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
@@ -1,24 +0,0 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/interface/chandra/desktop/system"
|
||||
|
||||
// Values
|
||||
pub fn read() -> Snapshot
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
pub(all) struct Snapshot {
|
||||
cpu_permille : UInt32
|
||||
mem_used_kib : UInt64
|
||||
mem_total_kib : UInt64
|
||||
battery_percent : Int32
|
||||
charging : Bool
|
||||
uptime_secs : UInt64
|
||||
net_rx_bytes_per_sec : UInt64
|
||||
net_tx_bytes_per_sec : UInt64
|
||||
load_centi : UInt32
|
||||
}
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
@@ -1,23 +0,0 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/interface/chandra/desktop/wallpaper"
|
||||
|
||||
// Values
|
||||
pub fn current_desktop() -> UInt32
|
||||
|
||||
pub fn current_wallpaper() -> UInt32
|
||||
|
||||
pub fn desktops() -> Array[String]
|
||||
|
||||
pub fn set_desktop(UInt32) -> Unit
|
||||
|
||||
pub fn set_wallpaper(UInt32) -> Unit
|
||||
|
||||
pub fn wallpapers() -> Array[String]
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
@@ -1,32 +0,0 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/interface/chandra/desktop/windows"
|
||||
|
||||
// Values
|
||||
pub fn all() -> Array[WindowDetail]
|
||||
|
||||
pub fn focus(UInt64) -> Unit
|
||||
|
||||
pub fn focus_window(UInt32) -> Unit
|
||||
|
||||
pub fn list_windows() -> Array[WindowInfo]
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
pub(all) struct WindowDetail {
|
||||
id : UInt64
|
||||
title : String
|
||||
app_id : String
|
||||
focused : Bool
|
||||
}
|
||||
|
||||
pub(all) struct WindowInfo {
|
||||
id : UInt32
|
||||
title : String
|
||||
focused : UInt32
|
||||
minimized : UInt32
|
||||
}
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
@@ -1,23 +0,0 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/interface/chandra/host/font"
|
||||
|
||||
// Values
|
||||
pub fn load(UInt32, String) -> Bool
|
||||
|
||||
pub fn rasterise(UInt32, UInt32, UInt32) -> Glyph
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
pub(all) struct Glyph {
|
||||
width : Int32
|
||||
height : Int32
|
||||
xoff : Int32
|
||||
yoff : Int32
|
||||
advance : Int32
|
||||
coverage : FixedArray[Byte]
|
||||
}
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
@@ -1,135 +0,0 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/interface/chandra/host/raster"
|
||||
|
||||
// Values
|
||||
pub fn capture(Int32, Int32, Int32, Int32, Int32, Int32) -> UInt32
|
||||
|
||||
pub fn export_memfd() -> Int32
|
||||
|
||||
pub fn grab_recording_frame(Int32, Int32, Int32, Int32, Bool, Int32, Int32) -> Bool
|
||||
|
||||
pub fn image_pixels(Int32, Int32, FixedArray[Byte], UInt32) -> UInt32
|
||||
|
||||
pub fn load_image(String) -> UInt32
|
||||
|
||||
pub fn read_frame() -> FixedArray[Byte]
|
||||
|
||||
pub fn release(UInt32) -> Unit
|
||||
|
||||
pub fn send_recording_frame(Int32) -> Int32
|
||||
|
||||
pub fn snapshot_frame() -> Bool
|
||||
|
||||
pub fn snapshot_pixels(Int32, Int32, Int32, Int32, Int32, Int32) -> FixedArray[Byte]
|
||||
|
||||
pub fn snapshot_png(Int32, Int32, Int32, Int32) -> FixedArray[Byte]
|
||||
|
||||
pub fn submit(Frame) -> Unit
|
||||
|
||||
pub fn thumbnail(UInt32, Int32, Int32, UInt32) -> UInt32
|
||||
|
||||
pub fn write_frame_png(String) -> Bool
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
pub(all) struct Color {
|
||||
r : Byte
|
||||
g : Byte
|
||||
b : Byte
|
||||
a : Byte
|
||||
}
|
||||
|
||||
pub(all) struct Disc {
|
||||
cx : Int32
|
||||
cy : Int32
|
||||
radius : Int32
|
||||
color : Color
|
||||
filled : Bool
|
||||
}
|
||||
|
||||
pub(all) struct Fill {
|
||||
area : Rect
|
||||
color : Color
|
||||
radius : Int32
|
||||
}
|
||||
|
||||
pub(all) struct Frame {
|
||||
width : Int32
|
||||
height : Int32
|
||||
wallpaper : Array[Op]?
|
||||
background : Array[Op]
|
||||
windows : Array[Window]
|
||||
panel : Array[Op]
|
||||
popups : Array[Popup]
|
||||
}
|
||||
|
||||
pub(all) struct Label {
|
||||
x : Int32
|
||||
y : Int32
|
||||
text : String
|
||||
size : Int32
|
||||
color : Color
|
||||
align : Byte
|
||||
bold : Bool
|
||||
mono : Bool
|
||||
}
|
||||
|
||||
pub(all) enum Op {
|
||||
FillRect(Fill)
|
||||
StrokeRect(Stroke)
|
||||
DrawLine(Segment)
|
||||
DrawCircle(Disc)
|
||||
DrawText(Label)
|
||||
PushClip(Rect)
|
||||
PopClip
|
||||
DrawImage(Picture)
|
||||
}
|
||||
|
||||
pub(all) struct Picture {
|
||||
area : Rect
|
||||
image : UInt32
|
||||
}
|
||||
|
||||
pub(all) struct Popup {
|
||||
area : Rect
|
||||
surface : UInt32
|
||||
}
|
||||
|
||||
pub(all) struct Rect {
|
||||
x : Int32
|
||||
y : Int32
|
||||
w : Int32
|
||||
h : Int32
|
||||
}
|
||||
|
||||
pub(all) struct Segment {
|
||||
x0 : Int32
|
||||
y0 : Int32
|
||||
x1 : Int32
|
||||
y1 : Int32
|
||||
color : Color
|
||||
width : Int32
|
||||
}
|
||||
|
||||
pub(all) struct Stroke {
|
||||
area : Rect
|
||||
color : Color
|
||||
width : Int32
|
||||
radius : Int32
|
||||
}
|
||||
|
||||
pub(all) struct Window {
|
||||
geometry : Rect
|
||||
inset_top : Int32
|
||||
inset_right : Int32
|
||||
inset_bottom : Int32
|
||||
inset_left : Int32
|
||||
deco : Array[Op]
|
||||
fullscreen : Bool
|
||||
surface : UInt32
|
||||
}
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
@@ -42,7 +42,7 @@ pub fn sleep_ms(Int32) -> Unit
|
||||
|
||||
pub fn spawn(String, String) -> Bool
|
||||
|
||||
pub fn spawn_socket(String) -> Int32
|
||||
pub fn spawn_socket(String) -> Int
|
||||
|
||||
pub fn take_fd(Int32) -> Int32
|
||||
|
||||
|
||||
Reference in new issue
Block a user