mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-04-22 06:47:59 +00:00
66 lines
1.3 KiB
TypeScript
66 lines
1.3 KiB
TypeScript
// Copyright 2017-2021 @polkadot/ui-settings authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import type { Option } from '../types';
|
|
|
|
import { CRYPTOS, CRYPTOS_ETH } from './crypto';
|
|
import { ENDPOINT_DEFAULT, ENDPOINTS } from './endpoints';
|
|
import { LEDGER_CONN, LEDGER_CONN_DEFAULT } from './ledger';
|
|
import { PREFIX_DEFAULT, PREFIXES } from './ss58';
|
|
import { ICON_DEFAULT, ICON_DEFAULT_HOST, ICONS, UIMODE_DEFAULT, UIMODES, UITHEME_DEFAULT, UITHEMES } from './ui';
|
|
|
|
const CAMERA_DEFAULT = 'off';
|
|
|
|
const CAMERA: Option[] = [
|
|
{
|
|
info: 'on',
|
|
text: 'Allow camera access',
|
|
value: 'on'
|
|
},
|
|
{
|
|
info: 'off',
|
|
text: 'Do not allow camera access',
|
|
value: 'off'
|
|
}
|
|
];
|
|
|
|
const LANGUAGE_DEFAULT = 'default';
|
|
|
|
const LOCKING_DEFAULT = 'session';
|
|
|
|
const LOCKING: Option[] = [
|
|
{
|
|
info: 'session',
|
|
text: 'Once per session',
|
|
value: 'session'
|
|
},
|
|
{
|
|
info: 'tx',
|
|
text: 'On each transaction',
|
|
value: 'tx'
|
|
}
|
|
];
|
|
|
|
export {
|
|
CAMERA_DEFAULT,
|
|
CAMERA,
|
|
CRYPTOS,
|
|
CRYPTOS_ETH,
|
|
ENDPOINT_DEFAULT,
|
|
ENDPOINTS,
|
|
ICON_DEFAULT,
|
|
ICON_DEFAULT_HOST,
|
|
ICONS,
|
|
LANGUAGE_DEFAULT,
|
|
LEDGER_CONN_DEFAULT,
|
|
LEDGER_CONN,
|
|
LOCKING_DEFAULT,
|
|
LOCKING,
|
|
PREFIX_DEFAULT,
|
|
PREFIXES,
|
|
UIMODE_DEFAULT,
|
|
UIMODES,
|
|
UITHEME_DEFAULT,
|
|
UITHEMES
|
|
};
|