@heliofi/launchpad-common 1.6.53 → 1.7.1-alpha.1

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.
Files changed (27) hide show
  1. package/dist/src/domain/model/cto-request/dtos/CreateCtoRequest.dto.d.ts +3 -0
  2. package/dist/src/domain/model/cto-request/dtos/CreateCtoRequest.dto.js +15 -0
  3. package/dist/src/domain/model/cto-request/dtos/CreateCtoRequest.dto.js.map +1 -1
  4. package/dist/src/domain/model/wallet-points/constants.d.ts +1 -4
  5. package/dist/src/domain/model/wallet-points/constants.js +0 -3
  6. package/dist/src/domain/model/wallet-points/constants.js.map +1 -1
  7. package/dist/src/domain/model/wallet-points/dtos/TxRewardsRequest.dto.d.ts +3 -3
  8. package/dist/src/domain/model/wallet-points/dtos/TxRewardsRequest.dto.js +3 -3
  9. package/dist/src/domain/model/wallet-points/dtos/TxRewardsRequest.dto.js.map +1 -1
  10. package/dist/src/domain/model/wallet-points/dtos/WalletPoints.dto.d.ts +3 -0
  11. package/dist/src/domain/model/wallet-points/dtos/{GetWalletRewards.dto.js → WalletPoints.dto.js} +5 -5
  12. package/dist/src/domain/model/wallet-points/dtos/WalletPoints.dto.js.map +1 -0
  13. package/dist/src/domain/model/wallet-points/entities/TxRewardsResponse.entity.d.ts +2 -0
  14. package/dist/src/domain/model/wallet-points/entities/TxRewardsResponse.entity.js.map +1 -1
  15. package/dist/src/domain/model/wallet-points/entities/WalletPoints.entity.d.ts +5 -0
  16. package/dist/src/domain/model/wallet-points/entities/WalletPoints.entity.js +8 -0
  17. package/dist/src/domain/model/wallet-points/entities/WalletPoints.entity.js.map +1 -0
  18. package/dist/src/domain/model/wallet-points/index.d.ts +2 -6
  19. package/dist/src/domain/model/wallet-points/index.js +2 -6
  20. package/dist/src/domain/model/wallet-points/index.js.map +1 -1
  21. package/dist/tsconfig.tsbuildinfo +1 -1
  22. package/package.json +2 -2
  23. package/dist/src/domain/model/wallet-points/dtos/GetWalletRewards.dto.d.ts +0 -3
  24. package/dist/src/domain/model/wallet-points/dtos/GetWalletRewards.dto.js.map +0 -1
  25. package/dist/src/domain/model/wallet-points/entities/WalletRewards.entity.d.ts +0 -8
  26. package/dist/src/domain/model/wallet-points/entities/WalletRewards.entity.js +0 -7
  27. package/dist/src/domain/model/wallet-points/entities/WalletRewards.entity.js.map +0 -1
@@ -6,4 +6,7 @@ export declare class CreateCtoRequestDto {
6
6
  x?: string;
7
7
  telegram?: string;
8
8
  description?: string;
9
+ icon?: string;
10
+ banner?: string;
11
+ updateOnly?: boolean;
9
12
  }
@@ -48,5 +48,20 @@ __decorate([
48
48
  (0, class_validator_1.IsOptional)(),
49
49
  __metadata("design:type", String)
50
50
  ], CreateCtoRequestDto.prototype, "description", void 0);
51
+ __decorate([
52
+ (0, class_validator_1.IsString)(),
53
+ (0, class_validator_1.IsOptional)(),
54
+ __metadata("design:type", String)
55
+ ], CreateCtoRequestDto.prototype, "icon", void 0);
56
+ __decorate([
57
+ (0, class_validator_1.IsString)(),
58
+ (0, class_validator_1.IsOptional)(),
59
+ __metadata("design:type", String)
60
+ ], CreateCtoRequestDto.prototype, "banner", void 0);
61
+ __decorate([
62
+ (0, class_validator_1.IsBoolean)(),
63
+ (0, class_validator_1.IsOptional)(),
64
+ __metadata("design:type", Boolean)
65
+ ], CreateCtoRequestDto.prototype, "updateOnly", void 0);
51
66
  exports.CreateCtoRequestDto = CreateCtoRequestDto;
52
67
  //# sourceMappingURL=CreateCtoRequest.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateCtoRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/cto-request/dtos/CreateCtoRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,mBAAmB;CA4B/B;AA3BC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACF;AAEX;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACQ;AA3BvB,kDA4BC"}
1
+ {"version":3,"file":"CreateCtoRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/cto-request/dtos/CreateCtoRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8E;AAE9E,MAAa,mBAAmB;CAwC/B;AAvCC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACF;AAEX;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACG;AAEhB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uDACQ;AAvCvB,kDAwCC"}
@@ -14,8 +14,5 @@ export declare const StreakMultipliers: Record<number, number>;
14
14
  export declare const getStreakMultiplier: (streakDays: number) => number;
15
15
  export declare enum BadgeType {
16
16
  MINTER = "MINTER",
17
- GRADUATOR = "GRADUATOR",
18
- BRONZE = "BRONZE",
19
- SILVER = "SILVER",
20
- GOLD = "GOLD"
17
+ GRADUATOR = "GRADUATOR"
21
18
  }
@@ -30,8 +30,5 @@ var BadgeType;
30
30
  (function (BadgeType) {
31
31
  BadgeType["MINTER"] = "MINTER";
32
32
  BadgeType["GRADUATOR"] = "GRADUATOR";
33
- BadgeType["BRONZE"] = "BRONZE";
34
- BadgeType["SILVER"] = "SILVER";
35
- BadgeType["GOLD"] = "GOLD";
36
33
  })(BadgeType = exports.BadgeType || (exports.BadgeType = {}));
37
34
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/domain/model/wallet-points/constants.ts"],"names":[],"mappings":";;;AAEA,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,gCAAe,CAAA;IACf,8BAAa,CAAA;IACb,sCAAqB,CAAA;AACvB,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB;AAED,IAAY,cAMX;AAND,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;IACjB,mCAAiB,CAAA;IACjB,+BAAa,CAAA;IACb,uCAAqB,CAAA;AACvB,CAAC,EANW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAMzB;AAGY,QAAA,iBAAiB,GAA2B;IACvD,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;CACP,CAAC;AAEK,MAAM,mBAAmB,GAAG,CAAC,UAAkB,EAAU,EAAE;IAChE,OAAO,yBAAiB,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC;AAC3D,CAAC,CAAC;AAFW,QAAA,mBAAmB,uBAE9B;AAEF,IAAY,SAMX;AAND,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,oCAAuB,CAAA;IACvB,8BAAiB,CAAA;IACjB,8BAAiB,CAAA;IACjB,0BAAa,CAAA;AACf,CAAC,EANW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAMpB"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/domain/model/wallet-points/constants.ts"],"names":[],"mappings":";;;AAEA,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,gCAAe,CAAA;IACf,8BAAa,CAAA;IACb,sCAAqB,CAAA;AACvB,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB;AAED,IAAY,cAMX;AAND,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;IACjB,mCAAiB,CAAA;IACjB,+BAAa,CAAA;IACb,uCAAqB,CAAA;AACvB,CAAC,EANW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAMzB;AAGY,QAAA,iBAAiB,GAA2B;IACvD,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;CACP,CAAC;AAEK,MAAM,mBAAmB,GAAG,CAAC,UAAkB,EAAU,EAAE;IAChE,OAAO,yBAAiB,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC;AAC3D,CAAC,CAAC;AAFW,QAAA,mBAAmB,uBAE9B;AAEF,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,oCAAuB,CAAA;AACzB,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
@@ -1,8 +1,8 @@
1
- import { TxType } from '../../../constants';
1
+ import { RewardsTxType } from '../constants';
2
2
  export declare class GetTxRewardsRequest {
3
- transactionType: TxType;
3
+ transactionType: RewardsTxType;
4
4
  blockchain: string;
5
- usdQuoteTokenAmount: string;
5
+ solAmount: string;
6
6
  walletAddress: string;
7
7
  isSimulated: boolean;
8
8
  }
@@ -11,11 +11,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.GetTxRewardsRequest = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- const constants_1 = require("../../../constants");
14
+ const constants_1 = require("../constants");
15
15
  class GetTxRewardsRequest {
16
16
  }
17
17
  __decorate([
18
- (0, class_validator_1.IsEnum)(constants_1.TxType),
18
+ (0, class_validator_1.IsEnum)(constants_1.RewardsTxType),
19
19
  (0, class_validator_1.IsNotEmpty)(),
20
20
  __metadata("design:type", String)
21
21
  ], GetTxRewardsRequest.prototype, "transactionType", void 0);
@@ -27,7 +27,7 @@ __decorate([
27
27
  __decorate([
28
28
  (0, class_validator_1.IsNotEmpty)(),
29
29
  __metadata("design:type", String)
30
- ], GetTxRewardsRequest.prototype, "usdQuoteTokenAmount", void 0);
30
+ ], GetTxRewardsRequest.prototype, "solAmount", void 0);
31
31
  __decorate([
32
32
  (0, class_validator_1.IsString)(),
33
33
  (0, class_validator_1.IsNotEmpty)(),
@@ -1 +1 @@
1
- {"version":3,"file":"TxRewardsRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet-points/dtos/TxRewardsRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0E;AAC1E,kDAA4C;AAE5C,MAAa,mBAAmB;CAkB/B;AAjBC;IAAC,IAAA,wBAAM,EAAC,kBAAM,CAAC;IACd,IAAA,4BAAU,GAAE;;4DACW;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACM;AAEnB;IAAC,IAAA,4BAAU,GAAE;;gEACe;AAE5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACS;AAEtB;IAAC,IAAA,2BAAS,GAAE;;wDACS;AAjBvB,kDAkBC"}
1
+ {"version":3,"file":"TxRewardsRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet-points/dtos/TxRewardsRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0E;AAC1E,4CAA6C;AAE7C,MAAa,mBAAmB;CAkB/B;AAjBC;IAAC,IAAA,wBAAM,EAAC,yBAAa,CAAC;IACrB,IAAA,4BAAU,GAAE;;4DACkB;AAE/B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACM;AAEnB;IAAC,IAAA,4BAAU,GAAE;;sDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACS;AAEtB;IAAC,IAAA,2BAAS,GAAE;;wDACS;AAjBvB,kDAkBC"}
@@ -0,0 +1,3 @@
1
+ export declare class WalletPointsDto {
2
+ walletAddress: string;
3
+ }
@@ -9,14 +9,14 @@ 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.GetWalletRewardsRequest = void 0;
12
+ exports.WalletPointsDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class GetWalletRewardsRequest {
14
+ class WalletPointsDto {
15
15
  }
16
16
  __decorate([
17
17
  (0, class_validator_1.IsString)(),
18
18
  (0, class_validator_1.IsNotEmpty)(),
19
19
  __metadata("design:type", String)
20
- ], GetWalletRewardsRequest.prototype, "walletAddress", void 0);
21
- exports.GetWalletRewardsRequest = GetWalletRewardsRequest;
22
- //# sourceMappingURL=GetWalletRewards.dto.js.map
20
+ ], WalletPointsDto.prototype, "walletAddress", void 0);
21
+ exports.WalletPointsDto = WalletPointsDto;
22
+ //# sourceMappingURL=WalletPoints.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WalletPoints.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet-points/dtos/WalletPoints.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,eAAe;CAI3B;AAHC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACS;AAHxB,0CAIC"}
@@ -1,5 +1,7 @@
1
+ import { RewardsTxType } from '../constants';
1
2
  import { Multiplier } from './Multiplier.entity';
2
3
  export declare class TxRewardsResponse {
4
+ transactionType: RewardsTxType;
3
5
  walletAddress: string;
4
6
  points: string;
5
7
  multipliers: Multiplier[];
@@ -1 +1 @@
1
- {"version":3,"file":"TxRewardsResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet-points/entities/TxRewardsResponse.entity.ts"],"names":[],"mappings":";;;AAEA,MAAa,iBAAiB;CAM7B;AAND,8CAMC"}
1
+ {"version":3,"file":"TxRewardsResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet-points/entities/TxRewardsResponse.entity.ts"],"names":[],"mappings":";;;AAGA,MAAa,iBAAiB;CAQ7B;AARD,8CAQC"}
@@ -0,0 +1,5 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class WalletPointsEntity extends Entity {
3
+ volumeUSD: number;
4
+ points: number;
5
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WalletPointsEntity = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class WalletPointsEntity extends entity_1.Entity {
6
+ }
7
+ exports.WalletPointsEntity = WalletPointsEntity;
8
+ //# sourceMappingURL=WalletPoints.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WalletPoints.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet-points/entities/WalletPoints.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,kBAAmB,SAAQ,eAAM;CAI7C;AAJD,gDAIC"}
@@ -1,6 +1,2 @@
1
- export * from './entities/WalletRewards.entity';
2
- export * from './entities/Multiplier.entity';
3
- export * from './entities/TxRewardsResponse.entity';
4
- export * from './dtos/TxRewardsRequest.dto';
5
- export * from './dtos/RewardBadge.dto';
6
- export * from './constants';
1
+ export * from './entities/WalletPoints.entity';
2
+ export * from './dtos/WalletPoints.dto';
@@ -14,10 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./entities/WalletRewards.entity"), exports);
18
- __exportStar(require("./entities/Multiplier.entity"), exports);
19
- __exportStar(require("./entities/TxRewardsResponse.entity"), exports);
20
- __exportStar(require("./dtos/TxRewardsRequest.dto"), exports);
21
- __exportStar(require("./dtos/RewardBadge.dto"), exports);
22
- __exportStar(require("./constants"), exports);
17
+ __exportStar(require("./entities/WalletPoints.entity"), exports);
18
+ __exportStar(require("./dtos/WalletPoints.dto"), exports);
23
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/wallet-points/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,+DAA6C;AAC7C,sEAAoD;AACpD,8DAA4C;AAC5C,yDAAuC;AACvC,8CAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/wallet-points/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAC/C,0DAAwC"}