@xoxno/types 1.0.239 → 1.0.241

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,9 +1,9 @@
1
1
  import { CollectionProfileDoc } from '../collection/profile';
2
- declare type ShortCollectionInfoDoc_base = Pick<CollectionProfileDoc, "description" | "profile" | "name" | "chain" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "socials" | "banner" | "owner" | "collectionSize">;
2
+ declare type ShortCollectionInfoDoc_base = Pick<CollectionProfileDoc, "description" | "profile" | "chain" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "socials" | "banner" | "owner" | "collectionSize">;
3
3
  export declare type ShortCollectionInfoDoc = ShortCollectionInfoDoc_base & {
4
4
  volume: number;
5
5
  };
6
- declare const ShortCollectionInfoDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "name" | "chain" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "socials" | "banner" | "owner" | "collectionSize">>;
6
+ declare const ShortCollectionInfoDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "chain" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "socials" | "banner" | "owner" | "collectionSize">>;
7
7
  export declare class ShortCollectionInfoDocNest extends ShortCollectionInfoDocNest_base {
8
8
  volume: number;
9
9
  }
@@ -1,7 +1,7 @@
1
1
  import { CollectionProfileDoc } from '../collection/profile';
2
- declare type ShortCollectionDoc_base = Pick<CollectionProfileDoc, "description" | "profile" | "name" | "chain" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "collectionSize">;
2
+ declare type ShortCollectionDoc_base = Pick<CollectionProfileDoc, "description" | "profile" | "chain" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "collectionSize">;
3
3
  export declare type ShortCollectionDoc = ShortCollectionDoc_base ;
4
- declare const ShortCollectionDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "name" | "chain" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "collectionSize">>;
4
+ declare const ShortCollectionDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "chain" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "collectionSize">>;
5
5
  export declare class ShortCollectionDocNest extends ShortCollectionDocNest_base {
6
6
  }
7
7
  export {};
@@ -1,7 +1,7 @@
1
1
  import { CollectionProfileDoc } from '../collection/profile';
2
- declare type ShortNftCollectionInfoDoc_base = Pick<CollectionProfileDoc, "description" | "profile" | "name" | "chain" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "banner" | "roles" | "customConfig" | "features" | "collectionSize">;
2
+ declare type ShortNftCollectionInfoDoc_base = Pick<CollectionProfileDoc, "description" | "profile" | "chain" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "banner" | "roles" | "customConfig" | "features" | "collectionSize">;
3
3
  export declare type ShortNftCollectionInfoDoc = ShortNftCollectionInfoDoc_base ;
4
- declare const ShortNftCollectionInfoDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "name" | "chain" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "banner" | "roles" | "customConfig" | "features" | "collectionSize">>;
4
+ declare const ShortNftCollectionInfoDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "chain" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "banner" | "roles" | "customConfig" | "features" | "collectionSize">>;
5
5
  export declare class ShortNftCollectionInfoDocNest extends ShortNftCollectionInfoDocNest_base {
6
6
  }
7
7
  export {};
@@ -1,7 +1,7 @@
1
1
  import { NftDoc } from '../token/nft-details.doc';
2
- declare type ShortNftDoc_base = Pick<NftDoc, "name" | "collection" | "identifier" | "url" | "wasProcessed" | "media" | "metadata">;
2
+ declare type ShortNftDoc_base = Pick<NftDoc, "collection" | "identifier" | "name" | "url" | "wasProcessed" | "media" | "metadata">;
3
3
  export declare type ShortNftDoc = ShortNftDoc_base ;
4
- declare const ShortNftDocNest_base: import("@nestjs/common").Type<Pick<NftDoc, "name" | "collection" | "identifier" | "url" | "wasProcessed" | "media" | "metadata">>;
4
+ declare const ShortNftDocNest_base: import("@nestjs/common").Type<Pick<NftDoc, "collection" | "identifier" | "name" | "url" | "wasProcessed" | "media" | "metadata">>;
5
5
  export declare class ShortNftDocNest extends ShortNftDocNest_base {
6
6
  }
7
7
  export {};
@@ -1,7 +1,7 @@
1
1
  import { EventUserRoleDoc } from './event-user-role.doc';
2
- declare type EventUserRoleCreateDto_base = Pick<EventUserRoleDoc, "name" | "wallet" | "endTime" | "email" | "role" | "permissions">;
2
+ declare type EventUserRoleCreateDto_base = Pick<EventUserRoleDoc, "wallet" | "name" | "endTime" | "email" | "role" | "permissions">;
3
3
  export declare type EventUserRoleCreateDto = EventUserRoleCreateDto_base ;
4
- declare const EventUserRoleCreateDtoNest_base: import("@nestjs/common").Type<Pick<EventUserRoleDoc, "name" | "wallet" | "endTime" | "email" | "role" | "permissions">>;
4
+ declare const EventUserRoleCreateDtoNest_base: import("@nestjs/common").Type<Pick<EventUserRoleDoc, "wallet" | "name" | "endTime" | "email" | "role" | "permissions">>;
5
5
  export declare class EventUserRoleCreateDtoNest extends EventUserRoleCreateDtoNest_base {
6
6
  }
7
7
  declare type EventUserRoleEditDto_base = Partial<EventUserRoleCreateDto>;
@@ -0,0 +1,7 @@
1
+ declare class TransactionCostData {
2
+ txGasUnits: number;
3
+ }
4
+ export declare class TransactionCost {
5
+ data: TransactionCostData;
6
+ }
7
+ export {};
@@ -0,0 +1,26 @@
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.TransactionCost = void 0;
13
+ const swagger_1 = require("@nestjs/swagger");
14
+ class TransactionCostData {
15
+ }
16
+ __decorate([
17
+ (0, swagger_1.ApiProperty)(),
18
+ __metadata("design:type", Number)
19
+ ], TransactionCostData.prototype, "txGasUnits", void 0);
20
+ class TransactionCost {
21
+ }
22
+ exports.TransactionCost = TransactionCost;
23
+ __decorate([
24
+ (0, swagger_1.ApiProperty)(),
25
+ __metadata("design:type", TransactionCostData)
26
+ ], TransactionCost.prototype, "data", void 0);
@@ -16,8 +16,4 @@ export declare const KNOWN_CONTRACTS_MAP: Map<string, {
16
16
  name: string;
17
17
  type: ContractTypes;
18
18
  profile: string;
19
- } | {
20
- name: string;
21
- type: ContractTypes;
22
- profile?: undefined;
23
19
  }>;
@@ -531,6 +531,7 @@ exports.KNOWN_CONTRACTS_MAP = new Map([
531
531
  {
532
532
  name: 'XOXNO Liquid Staking',
533
533
  type: ContractTypes.LIQUID_STAKING,
534
+ profile,
534
535
  },
535
536
  ],
536
537
  [
@@ -538,6 +539,7 @@ exports.KNOWN_CONTRACTS_MAP = new Map([
538
539
  {
539
540
  name: 'XOXNO Liquid Staking',
540
541
  type: ContractTypes.LIQUID_STAKING,
542
+ profile,
541
543
  },
542
544
  ],
543
545
  [
package/dist/index.d.ts CHANGED
@@ -145,6 +145,7 @@ export * from './entities/token-data/metrics';
145
145
  export * from './entities/token-data/token-data.doc';
146
146
  export * from './entities/token-data/xoxno-liquid-stats.dto';
147
147
  export * from './entities/transactions/smart-contract-result';
148
+ export * from './entities/transactions/transaction-cost';
148
149
  export * from './entities/transactions/transaction-create';
149
150
  export * from './entities/transactions/transaction-detailed';
150
151
  export * from './entities/transactions/transaction-log-event';
package/dist/index.js CHANGED
@@ -161,6 +161,7 @@ __exportStar(require("./entities/token-data/metrics"), exports);
161
161
  __exportStar(require("./entities/token-data/token-data.doc"), exports);
162
162
  __exportStar(require("./entities/token-data/xoxno-liquid-stats.dto"), exports);
163
163
  __exportStar(require("./entities/transactions/smart-contract-result"), exports);
164
+ __exportStar(require("./entities/transactions/transaction-cost"), exports);
164
165
  __exportStar(require("./entities/transactions/transaction-create"), exports);
165
166
  __exportStar(require("./entities/transactions/transaction-detailed"), exports);
166
167
  __exportStar(require("./entities/transactions/transaction-log-event"), exports);
@@ -1,7 +1,7 @@
1
1
  import { CollectionProfileDoc } from '../../cosmos-db/documents/collection/profile';
2
- declare type PinnedCollectionDto_base = Pick<CollectionProfileDoc, "description" | "profile" | "name" | "creator" | "collection" | "chain" | "isVerified" | "banner" | "isMintable">;
2
+ declare type PinnedCollectionDto_base = Pick<CollectionProfileDoc, "description" | "profile" | "creator" | "collection" | "chain" | "name" | "isVerified" | "banner" | "isMintable">;
3
3
  export declare type PinnedCollectionDto = PinnedCollectionDto_base ;
4
- declare const PinnedCollectionDtoNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "name" | "creator" | "collection" | "chain" | "isVerified" | "banner" | "isMintable">>;
4
+ declare const PinnedCollectionDtoNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "creator" | "collection" | "chain" | "name" | "isVerified" | "banner" | "isMintable">>;
5
5
  export declare class PinnedCollectionDtoNest extends PinnedCollectionDtoNest_base {
6
6
  }
7
7
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.239",
3
+ "version": "1.0.241",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {