@iotexproject/kit 0.1.41 → 0.1.42
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 +61 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8899,7 +8899,12 @@ declare class BondingCurve {
|
|
|
8899
8899
|
value?: undefined;
|
|
8900
8900
|
}>;
|
|
8901
8901
|
upsertProject(args: CreateProjectParams, ctx?: ConfigContext): Promise<postgres.Row>;
|
|
8902
|
-
projectList(args: {}, ctx?: ConfigContext): Promise<postgres.
|
|
8902
|
+
projectList(args: {}, ctx?: ConfigContext): Promise<postgres.Row[] | undefined>;
|
|
8903
|
+
myProjectList(args: {
|
|
8904
|
+
owner: string;
|
|
8905
|
+
}, ctx?: ConfigContext): Promise<postgres.RowList<postgres.Row[]> | {
|
|
8906
|
+
error: string;
|
|
8907
|
+
} | undefined>;
|
|
8903
8908
|
projectDetail(args: {
|
|
8904
8909
|
projectName: string;
|
|
8905
8910
|
}, ctx?: ConfigContext): Promise<postgres.Row | undefined>;
|
|
@@ -8984,6 +8989,7 @@ declare class BaseDBModule {
|
|
|
8984
8989
|
ch: ClickHouseSDK;
|
|
8985
8990
|
analysisDev: ClickHouseSDK;
|
|
8986
8991
|
analysisProd: ClickHouseSDK;
|
|
8992
|
+
microServiceCenter: ReturnType<typeof postgres>;
|
|
8987
8993
|
constructor();
|
|
8988
8994
|
checkAuth(key: string): Promise<{
|
|
8989
8995
|
ok: boolean;
|
|
@@ -9410,6 +9416,59 @@ declare class Mimo$1 extends BaseDBModule {
|
|
|
9410
9416
|
last24hFee: string;
|
|
9411
9417
|
}>;
|
|
9412
9418
|
}
|
|
9419
|
+
declare class LearnToEarn extends BaseDBModule {
|
|
9420
|
+
checkAuth(key: string): Promise<{
|
|
9421
|
+
ok: boolean;
|
|
9422
|
+
message: string;
|
|
9423
|
+
authData: null;
|
|
9424
|
+
} | {
|
|
9425
|
+
ok: boolean;
|
|
9426
|
+
message: string;
|
|
9427
|
+
authData: {
|
|
9428
|
+
app_id: any;
|
|
9429
|
+
};
|
|
9430
|
+
}>;
|
|
9431
|
+
questions({ post_id }: {
|
|
9432
|
+
post_id: string;
|
|
9433
|
+
}, ctx?: {
|
|
9434
|
+
authData?: {
|
|
9435
|
+
app_id: string;
|
|
9436
|
+
};
|
|
9437
|
+
}): Promise<{
|
|
9438
|
+
ok: boolean;
|
|
9439
|
+
message: string;
|
|
9440
|
+
data: null;
|
|
9441
|
+
msg?: undefined;
|
|
9442
|
+
} | {
|
|
9443
|
+
ok: boolean;
|
|
9444
|
+
msg: string;
|
|
9445
|
+
message?: undefined;
|
|
9446
|
+
data?: undefined;
|
|
9447
|
+
} | {
|
|
9448
|
+
data: import("postgres").RowList<import("postgres").Row[]>;
|
|
9449
|
+
ok: boolean;
|
|
9450
|
+
message: string;
|
|
9451
|
+
msg?: undefined;
|
|
9452
|
+
}>;
|
|
9453
|
+
reply({ answers, ids }: {
|
|
9454
|
+
answers: string[];
|
|
9455
|
+
ids: number[];
|
|
9456
|
+
}, ctx?: {
|
|
9457
|
+
authData?: {
|
|
9458
|
+
app_id: string;
|
|
9459
|
+
};
|
|
9460
|
+
}): Promise<{
|
|
9461
|
+
ok: boolean;
|
|
9462
|
+
message: string;
|
|
9463
|
+
data: null;
|
|
9464
|
+
msg?: undefined;
|
|
9465
|
+
} | {
|
|
9466
|
+
ok: boolean;
|
|
9467
|
+
msg: string;
|
|
9468
|
+
message?: undefined;
|
|
9469
|
+
data?: undefined;
|
|
9470
|
+
} | undefined>;
|
|
9471
|
+
}
|
|
9413
9472
|
declare const modules$1: {
|
|
9414
9473
|
account: Account;
|
|
9415
9474
|
analyzer: Analyzer;
|
|
@@ -9419,6 +9478,7 @@ declare const modules$1: {
|
|
|
9419
9478
|
health: Health;
|
|
9420
9479
|
"analysis-dev": AnalysisDev;
|
|
9421
9480
|
"analysis-prod": AnalysisProd;
|
|
9481
|
+
"learn-to-earn": LearnToEarn;
|
|
9422
9482
|
contract: Contract;
|
|
9423
9483
|
resource: Resource;
|
|
9424
9484
|
iopay: IoPay;
|