@xoxno/types 1.0.13 → 1.0.14
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.
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ActivityChain } from '../../common/enums';
|
|
2
|
+
export type IAirdropRaw = {
|
|
3
|
+
wallet: string;
|
|
4
|
+
tokenAllocation: number;
|
|
5
|
+
totalScore: number;
|
|
6
|
+
rank: number;
|
|
7
|
+
isClaimed?: boolean;
|
|
8
|
+
signature?: {
|
|
9
|
+
signature: string;
|
|
10
|
+
data: string;
|
|
11
|
+
};
|
|
12
|
+
amount?: string;
|
|
13
|
+
};
|
|
14
|
+
export interface Wallet {
|
|
15
|
+
address: string;
|
|
16
|
+
addressTrimmed: string;
|
|
17
|
+
profile: string;
|
|
18
|
+
username: string;
|
|
19
|
+
isVerified: boolean;
|
|
20
|
+
chain?: ActivityChain;
|
|
21
|
+
}
|
|
22
|
+
export type IAirdrop = {
|
|
23
|
+
wallet: Wallet;
|
|
24
|
+
tokenAllocation: number;
|
|
25
|
+
totalScore: number;
|
|
26
|
+
rank: number;
|
|
27
|
+
isClaimed?: boolean;
|
|
28
|
+
signature?: {
|
|
29
|
+
signature: string;
|
|
30
|
+
data: string;
|
|
31
|
+
};
|
|
32
|
+
amount?: string;
|
|
33
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -132,6 +132,7 @@ export * from './cosmos-db/documents/user/user-favorite-type.enum';
|
|
|
132
132
|
export * from './cosmos-db/documents/user/user-favorite.doc';
|
|
133
133
|
export * from './cosmos-db/documents/user/user-profile.doc';
|
|
134
134
|
export * from './cosmos-db/documents/user/user-settings.doc';
|
|
135
|
+
export * from './entities/airdrop/airdrop.dto';
|
|
135
136
|
export * from './entities/auth/auth-strategy.enum';
|
|
136
137
|
export * from './entities/auth/login-request.dto';
|
|
137
138
|
export * from './entities/auth/role.enum';
|
package/dist/index.js
CHANGED
|
@@ -148,6 +148,7 @@ __exportStar(require("./cosmos-db/documents/user/user-favorite-type.enum"), expo
|
|
|
148
148
|
__exportStar(require("./cosmos-db/documents/user/user-favorite.doc"), exports);
|
|
149
149
|
__exportStar(require("./cosmos-db/documents/user/user-profile.doc"), exports);
|
|
150
150
|
__exportStar(require("./cosmos-db/documents/user/user-settings.doc"), exports);
|
|
151
|
+
__exportStar(require("./entities/airdrop/airdrop.dto"), exports);
|
|
151
152
|
__exportStar(require("./entities/auth/auth-strategy.enum"), exports);
|
|
152
153
|
__exportStar(require("./entities/auth/login-request.dto"), exports);
|
|
153
154
|
__exportStar(require("./entities/auth/role.enum"), exports);
|