mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-07-27 01:05:46 +00:00
feat: initial Pezkuwi Apps rebrand from polkadot-apps
Rebranded terminology: - Polkadot → Pezkuwi - Kusama → Dicle - Westend → Zagros - Rococo → PezkuwiChain - Substrate → Bizinikiwi - parachain → teyrchain Custom logos with Kurdistan brand colors (#e6007a → #86e62a): - bizinikiwi-hexagon.svg - sora-bizinikiwi.svg - hezscanner.svg - heztreasury.svg - pezkuwiscan.svg - pezkuwistats.svg - pezkuwiassembly.svg - pezkuwiholic.svg
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore Warned on by nodenext resolution (while package does build in bundler mode)
|
||||
import type { KeyringJson } from '@pezkuwi/ui-keyring/types';
|
||||
|
||||
export interface AccountStoreApi {
|
||||
all: () => Promise<{ key: string, value: KeyringJson }[]>
|
||||
get: (key: string) => Promise<KeyringJson>
|
||||
remove: (key: string) => Promise<void>
|
||||
set: (key: string, value: KeyringJson) => Promise<void>
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { AccountStoreApi } from './account-store-api.js';
|
||||
|
||||
export interface ElectronMainApi {
|
||||
accountStore: AccountStoreApi
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ElectronMainApi } from './electron-main-api.js';
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
ElectronMain: ElectronMainApi
|
||||
}
|
||||
}
|
||||
|
||||
export const electronMainApi = window.ElectronMain;
|
||||
Reference in New Issue
Block a user