@baeta/plugin-prisma 2.0.0-next.7 → 2.0.0-next.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @baeta/plugin-prisma
2
2
 
3
+ ## 2.0.0-next.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @baeta/plugin-exec@2.0.0-next.8
9
+
3
10
  ## 2.0.0-next.7
4
11
 
5
12
  ### Patch Changes
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  <div align="center">
6
6
  <h1>Baeta</h1>
7
7
  <a href="https://www.npmjs.com/package/@baeta/cli"><img src="https://img.shields.io/npm/v/@baeta/cli.svg?style=flat" /></a>
8
- <a href="https://github.com/andreisergiu98/baeta/actions/workflows/testing.yml"><img src="https://img.shields.io/github/actions/workflow/status/andreisergiu98/baeta/testing.yml" /></a>
8
+ <a href="https://github.com/andreisergiu98/baeta/actions/workflows/checks.yml"><img src="https://img.shields.io/github/actions/workflow/status/andreisergiu98/baeta/checks.yml" /></a>
9
9
  <a href="https://github.com/andreisergiu98/baeta/pulls"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" /></a>
10
10
  <a href="https://github.com/andreisergiu98/baeta/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" /></a>
11
11
  <br />
@@ -103,7 +103,7 @@ import { UserModule } from "./typedef.ts";
103
103
  const { Query } = UserModule;
104
104
 
105
105
  const userQuery = Query.user
106
- .auth({
106
+ .$auth({
107
107
  $or: {
108
108
  isPublic: true,
109
109
  isLoggedIn: true,
@@ -122,10 +122,10 @@ const { Query, Mutation, User } = UserModule;
122
122
  export const userCache = User.$createCache();
123
123
 
124
124
  const userQuery = Query.user
125
- .auth({
125
+ .$auth({
126
126
  // ...
127
127
  })
128
- .useCache(userCache)
128
+ .$useCache(userCache)
129
129
  .resolve(async ({ args }) => {
130
130
  // ...
131
131
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baeta/plugin-prisma",
3
- "version": "2.0.0-next.7",
3
+ "version": "2.0.0-next.8",
4
4
  "keywords": [
5
5
  "baeta",
6
6
  "graphql",
@@ -51,7 +51,7 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@baeta/generator-sdk": "^2.0.0-next.3",
54
- "@baeta/plugin-exec": "^2.0.0-next.7",
54
+ "@baeta/plugin-exec": "^2.0.0-next.8",
55
55
  "@baeta/util-path": "^2.0.0-next.2",
56
56
  "execa": "^9.6.0"
57
57
  },