@croffledev/croffle-types 1.4.1 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/croffle-api.d.ts +0 -2
- package/enums.d.ts +0 -1
- package/models/app-settings.d.ts +4 -7
- package/package.json +2 -2
package/croffle-api.d.ts
CHANGED
|
@@ -14,7 +14,6 @@ import type { WindowApi } from './api/window';
|
|
|
14
14
|
import type { AppEventType } from './enums';
|
|
15
15
|
import type {
|
|
16
16
|
AppSettingLanguage,
|
|
17
|
-
AppSettingStartupBehavior,
|
|
18
17
|
AppSettingTheme,
|
|
19
18
|
CalendarTimeFormat,
|
|
20
19
|
CalendarView,
|
|
@@ -25,7 +24,6 @@ import type { ClipboardDataType } from './models/clipboard';
|
|
|
25
24
|
export interface EnumsApi {
|
|
26
25
|
AppSettingLanguage: typeof AppSettingLanguage;
|
|
27
26
|
AppSettingTheme: typeof AppSettingTheme;
|
|
28
|
-
AppSettingStartupBehavior: typeof AppSettingStartupBehavior;
|
|
29
27
|
CalendarView: typeof CalendarView;
|
|
30
28
|
CalendarWeekStartDay: typeof CalendarWeekStartDay;
|
|
31
29
|
CalendarTimeFormat: typeof CalendarTimeFormat;
|
package/enums.d.ts
CHANGED
package/models/app-settings.d.ts
CHANGED
|
@@ -9,12 +9,6 @@ export declare enum AppSettingTheme {
|
|
|
9
9
|
SYSTEM = 'system',
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
export declare enum AppSettingStartupBehavior {
|
|
13
|
-
OPEN_LAST_SESSION = 'openLastSession',
|
|
14
|
-
OPEN_NEW_WINDOW = 'openNewWindow',
|
|
15
|
-
DO_NOTHING = 'doNothing',
|
|
16
|
-
}
|
|
17
|
-
|
|
18
12
|
export declare enum CalendarView {
|
|
19
13
|
DAY = 'day',
|
|
20
14
|
WEEK = 'week',
|
|
@@ -37,10 +31,13 @@ export type AppSettings = {
|
|
|
37
31
|
language: AppSettingLanguage;
|
|
38
32
|
theme: AppSettingTheme;
|
|
39
33
|
autoUpdate: boolean;
|
|
40
|
-
startupBehavior: AppSettingStartupBehavior;
|
|
41
34
|
startOnSystemBoot: boolean;
|
|
42
35
|
startMinimized: boolean;
|
|
43
36
|
};
|
|
37
|
+
appearance: {
|
|
38
|
+
/** Accent color hue in degrees (0–360). Drives --croffle-accent-hue. */
|
|
39
|
+
accentHue: number;
|
|
40
|
+
};
|
|
44
41
|
calendar: {
|
|
45
42
|
defaultView: CalendarView;
|
|
46
43
|
weekStartDay: CalendarWeekStartDay;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@croffledev/croffle-types",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
4
4
|
"description": "Croffle project type definitions.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -31,6 +31,6 @@
|
|
|
31
31
|
"url": "https://github.com/team-croffle"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@types/node": "^
|
|
34
|
+
"@types/node": "^26.2.0"
|
|
35
35
|
}
|
|
36
36
|
}
|