Skip to content

Commit

Permalink
deprecate app-state (keybase#19029)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisnojima authored Aug 29, 2019
1 parent c76c0e3 commit 35c5cb5
Show file tree
Hide file tree
Showing 34 changed files with 833 additions and 1,734 deletions.
33 changes: 29 additions & 4 deletions shared/actions/config-gen.tsx

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 14 additions & 19 deletions shared/actions/json/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"prelude": [
"import {ConnectionType} from '../constants/types/config'",
"import * as Types from '../constants/types/config'",
"import * as Tabs from '../constants/tabs'",
"import * as ChatTypes from '../constants/types/chat2'",
"import * as FsTypes from '../constants/types/fs'",
Expand Down Expand Up @@ -73,12 +73,8 @@
"followees": "Array<string>"
},
"daemonError": {"daemonError": "Error | null"},
"setAccounts": {
"configuredAccounts": "Array<RPCTypes.ConfiguredAccount>"
},
"setDefaultUsername": {
"username": "string"
},
"setAccounts": { "configuredAccounts": "Array<RPCTypes.ConfiguredAccount>" },
"setDefaultUsername": { "username": "string" },
"globalError": {"globalError": "null | Error | RPCError"},
"pushLoaded": {"pushLoaded": "boolean"},
"setStartupDetails": {
Expand All @@ -89,14 +85,8 @@
"startupFollowUser": "string",
"startupSharePath": "FsTypes.LocalPath | null"
},
"setOpenAtLogin": {
"open": "boolean",
"writeFile": "boolean"
},
"setNotifySound": {
"sound": "boolean",
"writeFile": "boolean"
},
"setOpenAtLogin": { "openAtLogin": "boolean", },
"setNotifySound": { "notifySound": "boolean", },
"setDeletedSelf": {"deletedUsername": "string"},
"persistRoute": {"path": "Array<any>"},
"setNavigator": {"navigator": "any"},
Expand All @@ -121,15 +111,13 @@
},
"osNetworkStatusChanged": {
"online": "boolean",
"type": "ConnectionType",
"type": "Types.ConnectionType",
"isInit?": "boolean"
},
"setDarkModePreference": {
"preference": ["'system'", "'alwaysDark'", "'alwaysLight'", "undefined"]
},
"setSystemDarkMode": {
"dark": "boolean"
},
"setSystemDarkMode": { "dark": "boolean" },
"updateHTTPSrvInfo": {
"address": "string",
"token": "string"
Expand All @@ -138,6 +126,13 @@
"_description": "remote electron window wants props sent",
"component": "string",
"param": "string"
},
"updateWindowState": {
"_description": "main electron window wants to store its state",
"windowState": "Types.WindowState",
},
"setUseNativeFrame": {
"useNativeFrame": "boolean"
}
}
}
3 changes: 0 additions & 3 deletions shared/actions/json/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@
"onChangeLockdownMode": {
"enabled": "boolean"
},
"onChangeUseNativeFrame": {
"enabled": "boolean"
},
"notificationsRefresh": {},
"notificationsRefreshed": {
"notifications": "I.Map<string, Types.NotificationsGroupState>"
Expand Down
Loading

0 comments on commit 35c5cb5

Please sign in to comment.