@forklaunch/core 1.6.3 → 1.6.5

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.
@@ -53,6 +53,11 @@ export type ResolvedEntity<T> = {
53
53
  * object (a `manyToOne` without `.ref()`) resolves in place. Scalars, dates,
54
54
  * enums, `null` and `undefined` pass through untouched: only a value that
55
55
  * carries the `IndexHints` slot is an entity.
56
+ *
57
+ * Fields must not be `any`: a conditional type on `any` takes every branch,
58
+ * so an `any` field would resolve to a union no concrete value satisfies.
59
+ * `fp.enum()` with no items infers `any`; a shape entity that stands in for
60
+ * an app-defined enum should say `fp.enum<string[]>()`.
56
61
  */
57
62
  export type ResolvedRelation<V> = V extends Collection<infer E extends object, infer O extends object> ? Collection<ResolvedEntity<E>, O> : V extends Reference<infer E extends object> ? Reference<ResolvedEntity<E>> : typeof IndexHints extends keyof V ? ResolvedEntity<V> : V;
58
63
  //# sourceMappingURL=mikroOrm.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mikroOrm.types.d.ts","sourceRoot":"","sources":["../../src/persistence/mikroOrm.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,UAAU,EACV,QAAQ,EACR,SAAS,EACV,MAAM,iBAAiB,CAAC;AAEzB;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;AAEpE;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI;KAC7B,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,MAAM,GAAG,CAAC,GAAG,KAAK,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CACvE,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAC5B,CAAC,SAAS,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,CAAC,CAAC,CAAC,GACjB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forklaunch/core",
3
- "version": "1.6.3",
3
+ "version": "1.6.5",
4
4
  "description": "forklaunch-js core package. Contains useful building blocks.",
5
5
  "homepage": "https://github.com/forklaunch/forklaunch-js#readme",
6
6
  "bugs": {
@@ -108,8 +108,8 @@
108
108
  "redis": "^6.2.1",
109
109
  "uuid": "^14.0.2",
110
110
  "zod": "^4.6.5",
111
- "@forklaunch/validator": "^1.2.28",
112
- "@forklaunch/common": "^1.2.27"
111
+ "@forklaunch/common": "^1.2.27",
112
+ "@forklaunch/validator": "^1.2.28"
113
113
  },
114
114
  "devDependencies": {
115
115
  "@eslint/js": "^10.0.1",