"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "newstore/settings.ts" between
hoppscotch-2.0.0.tar.gz and hoppscotch-2.1.0.tar.gz

About: Hoppscotch is a light-weight, web based API development suite.

settings.ts  (hoppscotch-2.0.0):settings.ts  (hoppscotch-2.1.0)
skipping to change at line 38 skipping to change at line 38
export type HoppFontSize = typeof HoppFontSizes[number] export type HoppFontSize = typeof HoppFontSizes[number]
export type SettingsType = { export type SettingsType = {
syncCollections: boolean syncCollections: boolean
syncHistory: boolean syncHistory: boolean
syncEnvironments: boolean syncEnvironments: boolean
PROXY_ENABLED: boolean PROXY_ENABLED: boolean
PROXY_URL: string PROXY_URL: string
PROXY_KEY: string
EXTENSIONS_ENABLED: boolean EXTENSIONS_ENABLED: boolean
EXPERIMENTAL_URL_BAR_ENABLED: boolean
URL_EXCLUDES: { URL_EXCLUDES: {
auth: boolean auth: boolean
httpUser: boolean httpUser: boolean
httpPassword: boolean httpPassword: boolean
bearerToken: boolean bearerToken: boolean
oauth2Token: boolean oauth2Token: boolean
} }
THEME_COLOR: HoppAccentColor THEME_COLOR: HoppAccentColor
BG_COLOR: HoppBgColor BG_COLOR: HoppBgColor
TELEMETRY_ENABLED: boolean TELEMETRY_ENABLED: boolean
LEFT_SIDEBAR: boolean EXPAND_NAVIGATION: boolean
RIGHT_SIDEBAR: boolean SIDEBAR: boolean
SIDEBAR_ON_LEFT: boolean
ZEN_MODE: boolean ZEN_MODE: boolean
FONT_SIZE: HoppFontSize FONT_SIZE: HoppFontSize
COLUMN_LAYOUT: boolean
} }
export const defaultSettings: SettingsType = { export const defaultSettings: SettingsType = {
syncCollections: true, syncCollections: true,
syncHistory: true, syncHistory: true,
syncEnvironments: true, syncEnvironments: true,
PROXY_ENABLED: false, PROXY_ENABLED: false,
PROXY_URL: "https://proxy.hoppscotch.io/", PROXY_URL: "https://proxy.hoppscotch.io/",
PROXY_KEY: "",
EXTENSIONS_ENABLED: true, EXTENSIONS_ENABLED: true,
EXPERIMENTAL_URL_BAR_ENABLED: true,
URL_EXCLUDES: { URL_EXCLUDES: {
auth: true, auth: true,
httpUser: true, httpUser: true,
httpPassword: true, httpPassword: true,
bearerToken: true, bearerToken: true,
oauth2Token: true, oauth2Token: true,
}, },
THEME_COLOR: "blue", THEME_COLOR: "indigo",
BG_COLOR: "system", BG_COLOR: "system",
TELEMETRY_ENABLED: true, TELEMETRY_ENABLED: true,
LEFT_SIDEBAR: true, EXPAND_NAVIGATION: true,
RIGHT_SIDEBAR: true, SIDEBAR: true,
SIDEBAR_ON_LEFT: false,
ZEN_MODE: false, ZEN_MODE: false,
FONT_SIZE: "small", FONT_SIZE: "small",
COLUMN_LAYOUT: true,
} }
const validKeys = Object.keys(defaultSettings) const validKeys = Object.keys(defaultSettings)
const dispatchers = defineDispatchers({ const dispatchers = defineDispatchers({
bulkApplySettings( bulkApplySettings(
_currentState: SettingsType, _currentState: SettingsType,
payload: Partial<SettingsType> payload: Partial<SettingsType>
) { ) {
return payload return payload
 End of changes. 9 change blocks. 
9 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)