@orion-js/typed-model 3.3.20 → 3.3.25

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.
@@ -9,7 +9,7 @@ export interface CloneSchemaClassOptions<TClass, TFields extends keyof TClass> {
9
9
  }
10
10
  /**
11
11
  * This function returns a cloned model but the type is a subset of the original Schema.
12
- * It will work as a Model but the type will not be the Type of the Model.
12
+ * To use the type of the cloned schema use `typeof ClonedModel.type`
13
13
  *
14
14
  * Example:
15
15
  * ```ts
@@ -4,7 +4,7 @@ exports.cloneSchemaClass = void 0;
4
4
  const getModelForClass_1 = require("./getModelForClass");
5
5
  /**
6
6
  * This function returns a cloned model but the type is a subset of the original Schema.
7
- * It will work as a Model but the type will not be the Type of the Model.
7
+ * To use the type of the cloned schema use `typeof ClonedModel.type`
8
8
  *
9
9
  * Example:
10
10
  * ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orion-js/typed-model",
3
- "version": "3.3.20",
3
+ "version": "3.3.25",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "files": [
@@ -18,8 +18,8 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@orion-js/helpers": "^3.3.20",
21
- "@orion-js/models": "^3.3.20",
22
- "@orion-js/resolvers": "^3.3.20",
21
+ "@orion-js/models": "^3.3.25",
22
+ "@orion-js/resolvers": "^3.3.25",
23
23
  "@orion-js/schema": "^3.3.20",
24
24
  "@orion-js/services": "^3.3.20",
25
25
  "lodash": "^4.17.21",
@@ -41,5 +41,5 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "fc4d8447758abffb74834f58443e7489cee3a454"
44
+ "gitHead": "ed68403cef114f593dd16535db8993560f4f1849"
45
45
  }