@maioradv/nestjs-core 1.1.0 → 1.1.2

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,3 @@
1
1
  import { CursorQueryDto } from "../dto/pagination";
2
- export default abstract class CursorQueryA extends CursorQueryDto {
2
+ export declare abstract class CursorQueryA extends CursorQueryDto {
3
3
  }
@@ -6,11 +6,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.CursorQueryA = void 0;
9
10
  const pagination_1 = require("../dto/pagination");
10
11
  const graphql_1 = require("@nestjs/graphql");
11
12
  let CursorQueryA = class CursorQueryA extends pagination_1.CursorQueryDto {
12
13
  };
13
- CursorQueryA = __decorate([
14
+ exports.CursorQueryA = CursorQueryA;
15
+ exports.CursorQueryA = CursorQueryA = __decorate([
14
16
  (0, graphql_1.ArgsType)()
15
17
  ], CursorQueryA);
16
- exports.default = CursorQueryA;
@@ -1,6 +1,6 @@
1
1
  import { DefaultClausesI } from "../dto/clauses";
2
2
  import { PaginatedQueryDto } from "../dto/pagination";
3
- export default abstract class PaginatedQueryA extends PaginatedQueryDto implements DefaultClausesI {
3
+ export declare abstract class PaginatedQueryA extends PaginatedQueryDto implements DefaultClausesI {
4
4
  id?: number[];
5
5
  createdAt?: Date;
6
6
  updatedAt?: Date;
@@ -9,11 +9,12 @@ 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.PaginatedQueryA = void 0;
12
13
  const clauses_1 = require("../dto/clauses");
13
14
  const pagination_1 = require("../dto/pagination");
14
15
  class PaginatedQueryA extends pagination_1.PaginatedQueryDto {
15
16
  }
16
- exports.default = PaginatedQueryA;
17
+ exports.PaginatedQueryA = PaginatedQueryA;
17
18
  __decorate([
18
19
  (0, clauses_1.IsNumberClause)(),
19
20
  __metadata("design:type", Array)
@@ -1,4 +1,4 @@
1
- export default class Slugger {
1
+ export declare class Slugger {
2
2
  private readonly word;
3
3
  private unique;
4
4
  constructor(word: string);
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Slugger = void 0;
3
4
  class Slugger {
4
5
  constructor(word) {
5
6
  this.word = word;
@@ -20,4 +21,4 @@ class Slugger {
20
21
  return result;
21
22
  }
22
23
  }
23
- exports.default = Slugger;
24
+ exports.Slugger = Slugger;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- export default class StorageHelper {
2
+ export declare class StorageHelper {
3
3
  rootPath: string;
4
4
  read(path: string): Promise<string | Buffer>;
5
5
  write(path: string, data: string): Promise<void>;
@@ -23,6 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.StorageHelper = void 0;
26
27
  const fs = __importStar(require("fs"));
27
28
  const util_1 = require("util");
28
29
  const path_1 = require("path");
@@ -60,4 +61,4 @@ class StorageHelper {
60
61
  fs.mkdirSync(dirPath, { recursive: true });
61
62
  }
62
63
  }
63
- exports.default = StorageHelper;
64
+ exports.StorageHelper = StorageHelper;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maioradv/nestjs-core",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "NestJS helpers by MaiorADV",
5
5
  "repository": "https://github.com/maioradv/nestjs-core.git",
6
6
  "author": "Maior ADV Srl",
@@ -49,6 +49,6 @@
49
49
  },
50
50
  "keywords": [
51
51
  "typescript",
52
- "netjs"
52
+ "nestjs"
53
53
  ]
54
54
  }