@iotexproject/kit 0.2.1 → 0.2.3
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 +21 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9360,6 +9360,13 @@ export type DelegateMember = {
|
|
|
9360
9360
|
id: number;
|
|
9361
9361
|
member_address: string;
|
|
9362
9362
|
};
|
|
9363
|
+
export type MyProfileListItem = {
|
|
9364
|
+
candidate_meta_id: number;
|
|
9365
|
+
profile_address: string;
|
|
9366
|
+
member_address: string;
|
|
9367
|
+
name: string;
|
|
9368
|
+
owner_address: string;
|
|
9369
|
+
};
|
|
9363
9370
|
declare class Delegate$1 extends BaseDBModule {
|
|
9364
9371
|
upsertCandidateProfile(args: ProfileMeta): Promise<{
|
|
9365
9372
|
status: string;
|
|
@@ -9373,6 +9380,14 @@ declare class Delegate$1 extends BaseDBModule {
|
|
|
9373
9380
|
status: string;
|
|
9374
9381
|
data: CandidateProfile;
|
|
9375
9382
|
}>;
|
|
9383
|
+
getCandidateProfileById({ id }: {
|
|
9384
|
+
id: number;
|
|
9385
|
+
}): Promise<{
|
|
9386
|
+
status: string;
|
|
9387
|
+
data: {
|
|
9388
|
+
temp_eth_address: string;
|
|
9389
|
+
} | null;
|
|
9390
|
+
}>;
|
|
9376
9391
|
upsertCandidateSecret(args: Candidate$1): Promise<{
|
|
9377
9392
|
status: string;
|
|
9378
9393
|
data: null;
|
|
@@ -9452,6 +9467,12 @@ declare class Delegate$1 extends BaseDBModule {
|
|
|
9452
9467
|
status: string;
|
|
9453
9468
|
data: null;
|
|
9454
9469
|
}>;
|
|
9470
|
+
getMyProfileList({ member_address }: {
|
|
9471
|
+
member_address: string;
|
|
9472
|
+
}): Promise<{
|
|
9473
|
+
status: string;
|
|
9474
|
+
data: MyProfileListItem[];
|
|
9475
|
+
}>;
|
|
9455
9476
|
}
|
|
9456
9477
|
declare const modules$1: {
|
|
9457
9478
|
account: Account;
|