@easy-cms/drizzle 0.48.0 → 0.49.0

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -2
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -173,7 +173,8 @@ import { SchemaError } from "@easy-cms/core";
173
173
 
174
174
  // src/schema.ts
175
175
  import { createHash } from "crypto";
176
- import { ConfigError, isHasMany } from "@easy-cms/core";
176
+ import { ConfigError } from "@easy-cms/core";
177
+ import { isHasMany } from "@easy-cms/core/internal";
177
178
  function tableModels(schema) {
178
179
  const all = [];
179
180
  const walk = (model) => {
@@ -690,7 +691,8 @@ function timestamp() {
690
691
  }
691
692
 
692
693
  // src/query.ts
693
- import { parseId, QueryError } from "@easy-cms/core";
694
+ import { QueryError } from "@easy-cms/core";
695
+ import { parseId } from "@easy-cms/core/internal";
694
696
  import {
695
697
  and as and2,
696
698
  asc as asc2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easy-cms/drizzle",
3
- "version": "0.48.0",
3
+ "version": "0.49.0",
4
4
  "description": "Shared Drizzle ORM layer for Easy CMS database adapters",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -23,10 +23,10 @@
23
23
  "drizzle-orm": "0.45.3"
24
24
  },
25
25
  "peerDependencies": {
26
- "@easy-cms/core": "^0.48.0"
26
+ "@easy-cms/core": "^0.49.0"
27
27
  },
28
28
  "devDependencies": {
29
- "@easy-cms/core": "^0.48.0"
29
+ "@easy-cms/core": "^0.49.0"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"