Files
pezkuwi-ui/packages/ui-settings/src/defaults/index.ts
T
Satoshi Qazi Muhammed 6cf7cc635a Update copyright headers to 2026
The header rule in @pezkuwi/dev requires the current year. Year range only; the third-party beachball LICENSE is left as it is.
2026-10-08 11:10:19 +04:00

73 lines
1.6 KiB
TypeScript

// Copyright 2017-2026 @pezkuwi/ui-settings authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Option } from '../types.js';
export { CRYPTOS, CRYPTOS_ETH, CRYPTOS_LEDGER } from './crypto.js';
export { ENDPOINT_DEFAULT, ENDPOINTS } from './endpoints.js';
export { LEDGER_APP, LEDGER_APP_DEFAULT, LEDGER_CONN, LEDGER_CONN_DEFAULT } from './ledger.js';
export { PREFIX_DEFAULT, PREFIXES } from './ss58.js';
export { ICON_DEFAULT, ICON_DEFAULT_HOST, ICONS, NOTIFICATION_DEFAULT, UIMODE_DEFAULT, UIMODES, UITHEME_DEFAULT, UITHEMES } from './ui.js';
export const CAMERA_DEFAULT = 'off';
export const CAMERA: Option[] = [
{
info: 'on',
text: 'Allow camera access',
value: 'on'
},
{
info: 'off',
text: 'Do not allow camera access',
value: 'off'
}
];
export const LANGUAGE_DEFAULT = 'default';
export const LOCKING_DEFAULT = 'session';
export const LOCKING: Option[] = [
{
info: 'session',
text: 'Once per session',
value: 'session'
},
{
info: 'tx',
text: 'On each transaction',
value: 'tx'
}
];
export const METADATA_UP_DEFAULT = 'off';
export const METADATA_UP: Option[] = [
{
info: 'off',
text: 'Do not auto-update extension metadata',
value: 'off'
},
{
info: 'on',
text: 'Auto-update extension metadata',
value: 'on'
}
];
export const STORAGE_DEFAULT = 'off';
export const STORAGE: Option[] = [
{
info: 'on',
text: 'Allow local in-browser account storage',
value: 'on'
},
{
info: 'off',
text: 'Do not allow local in-browser account storage',
value: 'off'
}
];