rads-db 3.0.57 → 3.0.58

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.
@@ -106,7 +106,7 @@ function getIndexDts(schema, options) {
106
106
  if (options.entitiesDir) {
107
107
  imports.push(`import type { ${type.name} } from '../../${options.entitiesDir}/${key}'`);
108
108
  }
109
- rootFields.push(`${type.handle}: EntityMethods<${type.name}, '${type.name}', ${type.name}_Where>`);
109
+ rootFields.push(`${type.handle}: EntityMethods<${type.name}, '${type.name}'>`);
110
110
  const fieldsArray = Object.values(type.fields);
111
111
  const relations = _lodash.default.fromPairs(fieldsArray.filter(f => f.isRelation).map(f => [f.name, {
112
112
  entity: f.type,
@@ -97,7 +97,7 @@ export function getIndexDts(schema, options) {
97
97
  if (options.entitiesDir) {
98
98
  imports.push(`import type { ${type.name} } from '../../${options.entitiesDir}/${key}'`);
99
99
  }
100
- rootFields.push(`${type.handle}: EntityMethods<${type.name}, '${type.name}', ${type.name}_Where>`);
100
+ rootFields.push(`${type.handle}: EntityMethods<${type.name}, '${type.name}'>`);
101
101
  const fieldsArray = Object.values(type.fields);
102
102
  const relations = _.fromPairs(
103
103
  fieldsArray.filter((f) => f.isRelation).map((f) => [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rads-db",
3
- "version": "3.0.57",
3
+ "version": "3.0.58",
4
4
  "packageManager": "pnpm@8.6.1",
5
5
  "description": "Say goodbye to boilerplate code and hello to efficient and elegant syntax.",
6
6
  "author": "",