@tstdl/base 0.78.0-beta75 → 0.78.0-beta76

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tstdl/base",
3
- "version": "0.78.0-beta75",
3
+ "version": "0.78.0-beta76",
4
4
  "author": "Patrick Hein",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -1,5 +1,6 @@
1
1
  import type { Decorator } from "../../reflection";
2
- import type { OneOrMany } from "../../types";
2
+ import type { OneOrMany as OneOrManyType } from "../../types";
3
3
  import type { SchemaTestable } from '../schema';
4
4
  import type { OneOrManyOptions } from '../schemas/one-or-many';
5
+ export declare type OneOrMany<T> = OneOrManyType<T>;
5
6
  export declare function OneOrMany(innerValues: OneOrMany<SchemaTestable>, options?: OneOrManyOptions): Decorator<'property' | 'accessor'>;
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.OneOrMany = void 0;
5
5
  const one_or_many_1 = require("../schemas/one-or-many");
6
6
  const utils_1 = require("./utils");
7
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
7
8
  function OneOrMany(innerValues, options) {
8
9
  return (0, utils_1.createSchemaPropertyDecoratorFromSchema)((0, one_or_many_1.oneOrMany)(innerValues, options));
9
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"one-or-many.js","sourceRoot":"","sources":["../../../source/schema/decorators/one-or-many.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAMzD,wDAAmD;AACnD,mCAAkE;AAElE,SAAgB,SAAS,CAAC,WAAsC,EAAE,OAA0B;IAC1F,OAAO,IAAA,+CAAuC,EAAC,IAAA,uBAAS,EAAC,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC;AAClF,CAAC;AAFD,8BAEC"}
1
+ {"version":3,"file":"one-or-many.js","sourceRoot":"","sources":["../../../source/schema/decorators/one-or-many.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAMzD,wDAAmD;AACnD,mCAAkE;AAIlE,2DAA2D;AAC3D,SAAgB,SAAS,CAAC,WAAsC,EAAE,OAA0B;IAC1F,OAAO,IAAA,+CAAuC,EAAC,IAAA,uBAAS,EAAC,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC;AAClF,CAAC;AAFD,8BAEC"}