import { HexString } from '@gear-js/api'; import { Program } from '@/features/program'; import { Code } from '@/features/code'; import { IBase } from '@/shared/types'; type ChainProgram = Pick & { codeId: HexString | null; }; type DBProgram = Omit & Pick; type LocalProgram = ChainProgram | DBProgram; type LocalCode = Pick; export type { DBProgram, LocalProgram, LocalCode };