* Update sdk * Wip permissions page * make it build... does it work? maybe! * add new dev build of react sdk * Fix lgtm * Add loading * Make permissions generic Co-authored-by: Nacho Iacovino <[email protected]>
19 lines
361 B
TypeScript
19 lines
361 B
TypeScript
import {
|
|
Multiwrap,
|
|
SmartContract,
|
|
Split,
|
|
ValidContractInstance,
|
|
Vote,
|
|
} from "@thirdweb-dev/sdk";
|
|
|
|
// We're using it everywhere.
|
|
export type PotentialContractInstance =
|
|
| ValidContractInstance
|
|
| SmartContract
|
|
| null
|
|
| undefined;
|
|
|
|
export type ContractWithRoles =
|
|
| Exclude<ValidContractInstance, Vote | Split | Multiwrap>
|
|
| SmartContract;
|