@smartive/graphql-magic 16.0.0 → 16.1.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.
package/docs/package.json CHANGED
@@ -15,8 +15,8 @@
15
15
  "typecheck": "tsc"
16
16
  },
17
17
  "dependencies": {
18
- "@docusaurus/core": "3.2.1",
19
- "@docusaurus/preset-classic": "3.2.1",
18
+ "@docusaurus/core": "3.3.2",
19
+ "@docusaurus/preset-classic": "3.3.2",
20
20
  "@mdx-js/react": "^3.0.0",
21
21
  "clsx": "^2.0.0",
22
22
  "prism-react-renderer": "^2.3.0",
@@ -24,9 +24,9 @@
24
24
  "react-dom": "^18.0.0"
25
25
  },
26
26
  "devDependencies": {
27
- "@docusaurus/module-type-aliases": "3.2.1",
28
- "@docusaurus/tsconfig": "3.2.1",
29
- "@docusaurus/types": "3.2.1",
27
+ "@docusaurus/module-type-aliases": "3.3.2",
28
+ "@docusaurus/tsconfig": "3.3.2",
29
+ "@docusaurus/types": "3.3.2",
30
30
  "typescript": "5.4.5"
31
31
  },
32
32
  "browserslist": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartive/graphql-magic",
3
- "version": "16.0.0",
3
+ "version": "16.1.0",
4
4
  "description": "",
5
5
  "source": "src/index.ts",
6
6
  "type": "module",
@@ -72,19 +72,19 @@
72
72
  "@smartive/eslint-config": "3.3.0",
73
73
  "@smartive/prettier-config": "3.1.2",
74
74
  "@types/jest": "29.5.12",
75
- "@types/lodash": "4.17.0",
75
+ "@types/lodash": "4.17.4",
76
76
  "@types/luxon": "3.4.2",
77
- "@types/pg": "8.11.5",
77
+ "@types/pg": "8.11.6",
78
78
  "@types/uuid": "9.0.8",
79
79
  "create-ts-index": "1.14.0",
80
80
  "del-cli": "5.1.0",
81
- "esbuild": "0.20.2",
81
+ "esbuild": "0.21.3",
82
82
  "eslint": "8.57.0",
83
83
  "graphql-request": "6.1.0",
84
84
  "jest": "29.7.0",
85
85
  "mock-knex": "0.4.13",
86
86
  "prettier": "2.8.8",
87
- "ts-jest": "29.1.2",
87
+ "ts-jest": "29.1.3",
88
88
  "ts-node": "10.9.2",
89
89
  "typescript": "5.4.5"
90
90
  }
@@ -316,7 +316,7 @@ const restore = async (model: EntityModel, { where }: { where: any }, ctx: FullC
316
316
  return entity.id;
317
317
  };
318
318
 
319
- const createRevision = async (model: EntityModel, data: Entity, ctx: Context) => {
319
+ export const createRevision = async (model: EntityModel, data: Entity, ctx: Context) => {
320
320
  if (model.updatable) {
321
321
  const revisionId = uuid();
322
322
  const rootRevisionData: Entity = {