@koralabs/kora-labs-common 4.0.17 → 4.0.19
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/handles/interfaces.d.ts
CHANGED
|
@@ -181,31 +181,27 @@ export interface IPzDatum {
|
|
|
181
181
|
export interface ISubHandleSettingsCreatorDefaults extends ICreatorDefaults {
|
|
182
182
|
bg_image?: string;
|
|
183
183
|
}
|
|
184
|
-
export interface ISubHandleSettings {
|
|
185
|
-
public_minting_enabled?: BoolInt;
|
|
186
|
-
tier_pricing?: [number, number][];
|
|
187
|
-
pz_enabled?: BoolInt;
|
|
188
|
-
creator_defaults?: ISubHandleSettingsCreatorDefaults;
|
|
189
|
-
/**
|
|
190
|
-
* Used for virtual SubHandles. The slot which the virtual SubHandle expires
|
|
191
|
-
*
|
|
192
|
-
* 0 = never expires
|
|
193
|
-
*/
|
|
194
|
-
expires_slot?: number;
|
|
195
|
-
}
|
|
196
184
|
export interface ISubHandleAdminSettings {
|
|
197
185
|
valid_contracts: HexString[];
|
|
198
186
|
admin_creds: HexString[];
|
|
199
187
|
base_price: number;
|
|
200
188
|
buy_down_prices: [number, number][];
|
|
201
189
|
}
|
|
202
|
-
export interface
|
|
203
|
-
|
|
204
|
-
|
|
190
|
+
export interface ISubHandleTypeSettings {
|
|
191
|
+
public_minting_enabled?: boolean;
|
|
192
|
+
pz_enabled?: boolean;
|
|
193
|
+
tier_pricing?: [number, number][];
|
|
194
|
+
creator_defaults?: ISubHandleSettingsCreatorDefaults;
|
|
195
|
+
expires_slot?: number;
|
|
196
|
+
}
|
|
197
|
+
export interface ISubHandleSettings {
|
|
198
|
+
nft?: ISubHandleTypeSettings;
|
|
199
|
+
virtual?: ISubHandleTypeSettings;
|
|
205
200
|
buy_down_paid?: number;
|
|
206
201
|
buy_down_price?: number;
|
|
207
202
|
agreed_terms?: string;
|
|
208
|
-
|
|
203
|
+
payment_address?: string;
|
|
204
|
+
migrate_sig_required?: boolean;
|
|
209
205
|
}
|
|
210
206
|
export type ISubHandleSettingsItemDatumStruct = [
|
|
211
207
|
BoolInt,
|
|
@@ -223,6 +219,7 @@ export type ISubHandleSettingsDatumStruct = [
|
|
|
223
219
|
number,
|
|
224
220
|
number,
|
|
225
221
|
string,
|
|
222
|
+
string,
|
|
226
223
|
BoolInt
|
|
227
224
|
];
|
|
228
225
|
export interface IHandleFileContent {
|
package/package.json
CHANGED
|
@@ -1,36 +1,39 @@
|
|
|
1
1
|
export declare const subHandleSettingsDatumSchema: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
font: string;
|
|
11
|
-
text_ribbon_gradient: string;
|
|
2
|
+
'[0]': {
|
|
3
|
+
'[0]': string;
|
|
4
|
+
'[1]': string;
|
|
5
|
+
'[3]': {
|
|
6
|
+
bg_image: string;
|
|
7
|
+
pfp_image: string;
|
|
8
|
+
svg_version: string;
|
|
9
|
+
qr_link: string;
|
|
12
10
|
qr_inner_eye: string;
|
|
13
11
|
qr_outer_eye: string;
|
|
14
12
|
qr_dot: string;
|
|
15
|
-
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
virtual: {
|
|
19
|
-
expires_in_days: string;
|
|
20
|
-
tierPricing: {
|
|
21
|
-
'[all]': {
|
|
22
|
-
0: string;
|
|
23
|
-
1: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
creatorDefaults: {
|
|
13
|
+
qr_image: string;
|
|
27
14
|
font: string;
|
|
28
15
|
text_ribbon_gradient: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
'[1]': {
|
|
19
|
+
'[0]': string;
|
|
20
|
+
'[1]': string;
|
|
21
|
+
'[3]': {
|
|
22
|
+
bg_image: string;
|
|
23
|
+
pfp_image: string;
|
|
24
|
+
svg_version: string;
|
|
25
|
+
qr_link: string;
|
|
29
26
|
qr_inner_eye: string;
|
|
30
27
|
qr_outer_eye: string;
|
|
31
28
|
qr_dot: string;
|
|
32
|
-
|
|
29
|
+
qr_image: string;
|
|
30
|
+
font: string;
|
|
31
|
+
text_ribbon_gradient: string;
|
|
33
32
|
};
|
|
34
33
|
};
|
|
35
|
-
|
|
34
|
+
'[2]': string;
|
|
35
|
+
'[3]': string;
|
|
36
|
+
'[4]': string;
|
|
37
|
+
'[5]': string;
|
|
38
|
+
'[6]': string;
|
|
36
39
|
};
|
|
@@ -2,26 +2,27 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.subHandleSettingsDatumSchema = void 0;
|
|
4
4
|
const subHandleSettings = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
font: 'string',
|
|
13
|
-
text_ribbon_gradient: 'string',
|
|
5
|
+
'[0]': 'bool',
|
|
6
|
+
'[1]': 'bool',
|
|
7
|
+
'[3]': {
|
|
8
|
+
bg_image: 'string',
|
|
9
|
+
pfp_image: 'string',
|
|
10
|
+
svg_version: 'string',
|
|
11
|
+
qr_link: 'string',
|
|
14
12
|
qr_inner_eye: 'string',
|
|
15
13
|
qr_outer_eye: 'string',
|
|
16
14
|
qr_dot: 'string',
|
|
17
|
-
|
|
15
|
+
qr_image: 'string',
|
|
16
|
+
font: 'string',
|
|
17
|
+
text_ribbon_gradient: 'string'
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
exports.subHandleSettingsDatumSchema = {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
'[0]': subHandleSettings,
|
|
22
|
+
'[1]': subHandleSettings,
|
|
23
|
+
'[2]': 'number',
|
|
24
|
+
'[3]': 'number',
|
|
25
|
+
'[4]': 'string',
|
|
26
|
+
'[5]': 'string',
|
|
27
|
+
'[6]': 'bool'
|
|
27
28
|
};
|