@iotexproject/kit 0.1.89 → 0.1.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9102,6 +9102,7 @@ export type Proposal = {
|
|
|
9102
9102
|
updated_at: string;
|
|
9103
9103
|
start_time: string;
|
|
9104
9104
|
end_time: string;
|
|
9105
|
+
is_voted?: boolean;
|
|
9105
9106
|
};
|
|
9106
9107
|
declare class Dao extends BaseDBModule {
|
|
9107
9108
|
proposalsDataLoader: DataLoader<number, Proposal | undefined, number>;
|
|
@@ -9113,8 +9114,9 @@ declare class Dao extends BaseDBModule {
|
|
|
9113
9114
|
height: number;
|
|
9114
9115
|
address: string;
|
|
9115
9116
|
}>;
|
|
9116
|
-
getProposal({ id }: {
|
|
9117
|
+
getProposal({ id, voter }: {
|
|
9117
9118
|
id: number;
|
|
9119
|
+
voter?: string;
|
|
9118
9120
|
}): Promise<Proposal | undefined>;
|
|
9119
9121
|
getProposalListByIds({ ids }: {
|
|
9120
9122
|
ids: readonly number[];
|