@xoxno/types 1.0.194 → 1.0.196
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.
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
export declare class CollectionExtraFeesConfig {
|
|
2
|
+
amount: number;
|
|
3
|
+
address: string;
|
|
4
|
+
}
|
|
1
5
|
export declare class XoxnoMarketplaceScCollectionConfig {
|
|
2
6
|
reversedCutFees: boolean;
|
|
3
7
|
reversedRoyalties: boolean;
|
|
@@ -6,9 +10,5 @@ export declare class XoxnoMarketplaceScCollectionConfig {
|
|
|
6
10
|
maxRoyalties: number;
|
|
7
11
|
extraFees?: CollectionExtraFeesConfig;
|
|
8
12
|
adminAddress?: string;
|
|
9
|
-
constructor(props?: Partial<
|
|
10
|
-
}
|
|
11
|
-
export declare class CollectionExtraFeesConfig {
|
|
12
|
-
amount: number;
|
|
13
|
-
address: string;
|
|
13
|
+
constructor(props?: Partial<XoxnoMarketplaceScCollectionConfig>);
|
|
14
14
|
}
|
|
@@ -9,8 +9,26 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.XoxnoMarketplaceScCollectionConfig = exports.CollectionExtraFeesConfig = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
class CollectionExtraFeesConfig {
|
|
15
|
+
}
|
|
16
|
+
exports.CollectionExtraFeesConfig = CollectionExtraFeesConfig;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, swagger_1.ApiProperty)({
|
|
19
|
+
description: 'Extra fee amount percentage',
|
|
20
|
+
example: 2.5,
|
|
21
|
+
minimum: 0,
|
|
22
|
+
}),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], CollectionExtraFeesConfig.prototype, "amount", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, swagger_1.ApiProperty)({
|
|
27
|
+
description: 'Address to receive extra fees',
|
|
28
|
+
example: 'erd1qqqqqqqqqqqqqpgqw0t0ef0jdpeva2v7qy7q7qjjfq6yq0wq0w0qjjfq6yq',
|
|
29
|
+
}),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CollectionExtraFeesConfig.prototype, "address", void 0);
|
|
14
32
|
class XoxnoMarketplaceScCollectionConfig {
|
|
15
33
|
constructor(props) {
|
|
16
34
|
this.reversedCutFees = false;
|
|
@@ -85,21 +103,3 @@ __decorate([
|
|
|
85
103
|
}),
|
|
86
104
|
__metadata("design:type", String)
|
|
87
105
|
], XoxnoMarketplaceScCollectionConfig.prototype, "adminAddress", void 0);
|
|
88
|
-
class CollectionExtraFeesConfig {
|
|
89
|
-
}
|
|
90
|
-
exports.CollectionExtraFeesConfig = CollectionExtraFeesConfig;
|
|
91
|
-
__decorate([
|
|
92
|
-
(0, swagger_1.ApiProperty)({
|
|
93
|
-
description: 'Extra fee amount percentage',
|
|
94
|
-
example: 2.5,
|
|
95
|
-
minimum: 0,
|
|
96
|
-
}),
|
|
97
|
-
__metadata("design:type", Number)
|
|
98
|
-
], CollectionExtraFeesConfig.prototype, "amount", void 0);
|
|
99
|
-
__decorate([
|
|
100
|
-
(0, swagger_1.ApiProperty)({
|
|
101
|
-
description: 'Address to receive extra fees',
|
|
102
|
-
example: 'erd1qqqqqqqqqqqqqpgqw0t0ef0jdpeva2v7qy7q7qjjfq6yq0wq0w0qjjfq6yq',
|
|
103
|
-
}),
|
|
104
|
-
__metadata("design:type", String)
|
|
105
|
-
], CollectionExtraFeesConfig.prototype, "address", void 0);
|
|
@@ -272,6 +272,10 @@ class EventProfileCreateDto extends (0, swagger_1.PickType)(event_profile_doc_1.
|
|
|
272
272
|
}
|
|
273
273
|
exports.EventProfileCreateDto = EventProfileCreateDto;
|
|
274
274
|
__decorate([
|
|
275
|
+
(0, swagger_1.ApiProperty)({
|
|
276
|
+
type: () => RegistrationDetailsCreateDto,
|
|
277
|
+
description: 'Registration details for the event',
|
|
278
|
+
}),
|
|
275
279
|
(0, class_validator_1.IsObject)(),
|
|
276
280
|
(0, class_validator_1.ValidateNested)(),
|
|
277
281
|
(0, class_transformer_1.Type)(() => RegistrationDetailsCreateDto),
|