-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathtypes.lua
79 lines (67 loc) · 1.88 KB
/
types.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---@meta
---@class WindowDimensions
---@field width? number
---@field height? number
---@field minWidth? number
---@field minHeight? number
---@field maxWidth? number
---@field maxHeight? number
---@class WindowActions
---@field isResizable? boolean
---@field isMaximizable? boolean
---@field isClosable? boolean
---@field isMinimizable? boolean
---@field isDraggable? boolean
---@class WindowDefaultStates
---@field isMaximized boolean
---@field isMinimized boolean
---@class AppStoreOptions
---@field description? string
---@field author? string
---@field installTime? number
---@field images? string[]
---@class LaptopApp
---@field id string
---@field name string
---@field icon string
---@field isDefaultApp boolean
---@field isInstalled? boolean
---@field isInternal? boolean
---@field ignoreInternalLoading? boolean
---@field deviceId? string
---@field needsUpdate? boolean
---@field resourceName? string
---@field ui? string
---@field appstore? AppStoreOptions
---@field keepAlive? boolean
---@field windowDimensions? WindowDimensions
---@field windowActions? WindowActions
---@field windowDefaultStates? WindowDefaultStates
---@field onUse? function
---@field onUseServer? function
---@field onClose? function
---@field onCloseServer? function
---@class WifiNetwork
---@field ssid string
---@field label string
---@field password? string
---@class WifiConnection: WifiNetwork
---@field connected boolean
---@class LaptopDeviceMetadata
---@field deviceId string
---@field deviceLabel string
---@field [string] any
---@class LaptopDevice
---@field slot number
---@field metadata table<LaptopDeviceMetadata>
---@class UserSettings
---@field background string
---@field dark_mode boolean
---@field username string
---@field profile_picture string
---@field installedApps table<string>
---@class BackgroundSource
---@field src string
---@class Notification
---@field summary string
---@field detail string