@heliofi/common 0.2.50 → 0.2.52

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.
@@ -26,4 +26,4 @@ export * from './urlValidation';
26
26
  export * from './countryCode';
27
27
  export * from './theme';
28
28
  export * from './nftType';
29
- export * from './RedirectQueryParams';
29
+ export * from './redirectQueryParams';
@@ -42,5 +42,5 @@ __exportStar(require("./urlValidation"), exports);
42
42
  __exportStar(require("./countryCode"), exports);
43
43
  __exportStar(require("./theme"), exports);
44
44
  __exportStar(require("./nftType"), exports);
45
- __exportStar(require("./RedirectQueryParams"), exports);
45
+ __exportStar(require("./redirectQueryParams"), exports);
46
46
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,10 @@
1
1
  import { BaseBlockchain } from '../../blockchain';
2
- import { BaseCurrency } from './BaseCurrency.entity';
3
- declare const CurrencyInfo_base: import("@nestjs/mapped-types").MappedType<Pick<BaseCurrency, "symbol" | "name" | "id" | "decimals" | "mintAddress" | "coinMarketCapId">>;
4
- export declare class CurrencyInfo extends CurrencyInfo_base {
2
+ export declare class CurrencyInfo {
3
+ id: string;
4
+ symbol: string;
5
+ name: string;
6
+ mintAddress: string;
7
+ coinMarketCapId: number;
8
+ decimals: number;
5
9
  blockchain: BaseBlockchain;
6
10
  }
7
- export {};
@@ -1,16 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CurrencyInfo = void 0;
4
- const mapped_types_1 = require("@nestjs/mapped-types");
5
- const BaseCurrency_entity_1 = require("./BaseCurrency.entity");
6
- class CurrencyInfo extends (0, mapped_types_1.PickType)(BaseCurrency_entity_1.BaseCurrency, [
7
- 'id',
8
- 'name',
9
- 'symbol',
10
- 'decimals',
11
- 'mintAddress',
12
- 'coinMarketCapId',
13
- ]) {
4
+ class CurrencyInfo {
14
5
  }
15
6
  exports.CurrencyInfo = CurrencyInfo;
16
7
  //# sourceMappingURL=CurrencyInfo.entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CurrencyInfo.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/entities/CurrencyInfo.entity.ts"],"names":[],"mappings":";;;AAAA,uDAAgD;AAEhD,+DAAqD;AAErD,MAAa,YAAa,SAAQ,IAAA,uBAAQ,EAAC,kCAAY,EAAE;IACvD,IAAI;IACJ,MAAM;IACN,QAAQ;IACR,UAAU;IACV,aAAa;IACb,iBAAiB;CAClB,CAAC;CAED;AATD,oCASC"}
1
+ {"version":3,"file":"CurrencyInfo.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/entities/CurrencyInfo.entity.ts"],"names":[],"mappings":";;;AAEA,MAAa,YAAY;CAcxB;AAdD,oCAcC"}
@@ -1 +1 @@
1
- export * from './redirectQueryParam.dto';
1
+ export * from './redirect-query-param.dto';
@@ -14,5 +14,5 @@ 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("./redirectQueryParam.dto"), exports);
17
+ __exportStar(require("./redirect-query-param.dto"), exports);
18
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/redirect-query-params/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/redirect-query-params/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C"}
@@ -0,0 +1,5 @@
1
+ import { RedirectQueryParams } from '../../../constants';
2
+ export declare class RedirectQueryParamDto {
3
+ value?: string;
4
+ queryParamType: RedirectQueryParams;
5
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.RedirectQueryParamDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const constants_1 = require("../../../constants");
15
+ class RedirectQueryParamDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsOptional)(),
20
+ __metadata("design:type", String)
21
+ ], RedirectQueryParamDto.prototype, "value", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsEnum)(constants_1.RedirectQueryParams),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], RedirectQueryParamDto.prototype, "queryParamType", void 0);
27
+ exports.RedirectQueryParamDto = RedirectQueryParamDto;
28
+ //# sourceMappingURL=redirect-query-param.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redirect-query-param.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/redirect-query-params/dtos/redirect-query-param.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,kDAAyD;AAEzD,MAAa,qBAAqB;CAQjC;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACE;AAEf;IAAC,IAAA,wBAAM,EAAC,+BAAmB,CAAC;IAC3B,IAAA,4BAAU,GAAE;;6DACuB;AAPtC,sDAQC"}
@@ -1 +1 @@
1
- export * from './RedirectQueryParam.entity';
1
+ export * from './redirect-query-param.entity';
@@ -14,5 +14,5 @@ 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("./RedirectQueryParam.entity"), exports);
17
+ __exportStar(require("./redirect-query-param.entity"), exports);
18
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/redirect-query-params/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/redirect-query-params/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C"}
@@ -0,0 +1,6 @@
1
+ import { Entity } from '../../entity';
2
+ import { RedirectQueryParams } from '../../../constants';
3
+ export declare class RedirectQueryParam extends Entity {
4
+ queryParamType: RedirectQueryParams;
5
+ value?: string;
6
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RedirectQueryParam = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class RedirectQueryParam extends entity_1.Entity {
6
+ }
7
+ exports.RedirectQueryParam = RedirectQueryParam;
8
+ //# sourceMappingURL=redirect-query-param.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redirect-query-param.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/redirect-query-params/entities/redirect-query-param.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,kBAAmB,SAAQ,eAAM;CAI7C;AAJD,gDAIC"}