@aiao/rxdb-client-generator 0.0.11 → 0.0.13

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.
@@ -343,7 +343,7 @@ const z = ({
343
343
  switch (r.kind) {
344
344
  case f.ONE_TO_MANY:
345
345
  case f.MANY_TO_MANY:
346
- return r.mappedProperty ? [r.mappedProperty] : [];
346
+ return [r.mappedProperty];
347
347
  default:
348
348
  return [];
349
349
  }
@@ -1,7 +1,7 @@
1
1
  import { writeFileSync as _, mkdirSync as R } from "node:fs";
2
2
  import { normalize as f, resolve as w, join as S, dirname as I } from "node:path";
3
3
  import { Project as T, Node as h } from "ts-morph";
4
- import { R as b, b as M, a as N, d as A } from "./RxDBClientGenerator-CnVT5HUD.js";
4
+ import { R as b, b as M, a as N, d as A } from "./RxDBClientGenerator-8UTHmwAo.js";
5
5
  import { ENTITY_BASE_METADATA_OPTIONS as x, TREE_ADJACENCY_LIST_ENTITY_BASE_OPTIONS as C, PropertyType as D, RelationKind as Y, OnDeleteAction as F } from "@aiao/rxdb";
6
6
  import { glob as B } from "glob";
7
7
  function y(n) {
package/dist/cli.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import { existsSync as p } from "node:fs";
3
3
  import { resolve as a, dirname as d, normalize as l } from "node:path";
4
4
  import { pathToFileURL as m } from "node:url";
5
- import { b as h } from "./build-client-lib-D18fixnL.js";
5
+ import { b as h } from "./build-client-lib-B9ubrwmh.js";
6
6
  async function b(r) {
7
7
  if (!p(r))
8
8
  throw new Error(`Config file not found: ${r}`);
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { N as O, R as P, a, b as T, c as Y, d as _ } from "./RxDBClientGenerator-CnVT5HUD.js";
1
+ import { N as O, R as P, a, b as T, c as Y, d as _ } from "./RxDBClientGenerator-8UTHmwAo.js";
2
2
  export {
3
3
  O as NAMESPACE_PUBLIC,
4
4
  P as REPOSITORY_TYPE_GRAPH_REPOSITORY,
package/dist/vite.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b as i } from "./build-client-lib-D18fixnL.js";
1
+ import { b as i } from "./build-client-lib-B9ubrwmh.js";
2
2
  function l(n) {
3
3
  return {
4
4
  name: "rxdb-client-generator-vite-plugin",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiao/rxdb-client-generator",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -38,9 +38,9 @@
38
38
  ]
39
39
  },
40
40
  "dependencies": {
41
- "glob": "^13.0.1",
41
+ "glob": "^13.0.6",
42
42
  "ts-morph": "^27.0.2",
43
- "@aiao/rxdb": "0.0.11",
44
- "@aiao/utils": "0.0.11"
43
+ "@aiao/rxdb": "0.0.13",
44
+ "@aiao/utils": "0.0.13"
45
45
  }
46
46
  }