@tsed/schema 8.40.1 → 8.40.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.
@@ -2,7 +2,7 @@ import { AliasMap, AliasType } from "./JsonAliasMap.js";
2
2
  import type { GenericValue, GenericsMap } from "./Generics.js";
3
3
  import type { Infer, PropsToShape, SchemaKey, SchemaMerge, SchemaOmit, SchemaPartial, SchemaPick, UnionToIntersection } from "./types.js";
4
4
  import type { JSONSchema7, JSONSchema7Definition, JSONSchema7Type, JSONSchema7TypeName, JSONSchema7Version } from "json-schema";
5
- import { Type, ValueOf } from "@tsed/core";
5
+ import { AbstractType, Type, ValueOf } from "@tsed/core";
6
6
  import { Discriminator } from "./JsonDiscriminator.js";
7
7
  import { Hooks } from "@tsed/hooks";
8
8
  import { IgnoreCallback } from "./IgnoreCallback.js";
@@ -39,7 +39,7 @@ export interface JsonSchemaObject extends Omit<JSONSchema7, "type" | "additional
39
39
  */
40
40
  export type AnyJsonSchema<T = any> = JsonSchemaObject | JSONSchema7 | JsonSchema<T> | JsonLazyRef | {
41
41
  label?: string;
42
- } | Type;
42
+ } | Type | AbstractType<any>;
43
43
  /**
44
44
  * Core class representing a JSON Schema with TypeScript type integration.
45
45
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/schema",
3
- "version": "8.40.1",
3
+ "version": "8.40.2",
4
4
  "description": "JsonSchema module for Ts.ED Framework",
5
5
  "keywords": [
6
6
  "JsonSchema",
@@ -34,7 +34,7 @@
34
34
  "test:ci": "vitest run --coverage.thresholds.autoUpdate=true"
35
35
  },
36
36
  "dependencies": {
37
- "@tsed/openspec": "8.40.1",
37
+ "@tsed/openspec": "8.40.2",
38
38
  "change-case": "^5.4.4",
39
39
  "json-schema": "0.4.0",
40
40
  "picomatch": "4.0.4",
@@ -43,11 +43,11 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "@apidevtools/swagger-parser": "10.1.0",
46
- "@tsed/barrels": "8.40.1",
47
- "@tsed/core": "8.40.1",
48
- "@tsed/hooks": "8.40.1",
49
- "@tsed/openspec": "8.40.1",
50
- "@tsed/typescript": "8.40.1",
46
+ "@tsed/barrels": "8.40.2",
47
+ "@tsed/core": "8.40.2",
48
+ "@tsed/hooks": "8.40.2",
49
+ "@tsed/openspec": "8.40.2",
50
+ "@tsed/typescript": "8.40.2",
51
51
  "@types/fs-extra": "11.0.4",
52
52
  "@types/json-schema": "7.0.15",
53
53
  "@types/picomatch": "3.0.2",