@cedarjs/internal 8.0.0-canary.3518 → 8.0.0-canary.3521

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.
@@ -1,11 +1,11 @@
1
1
  import type { vi as _vi } from 'vitest'
2
2
 
3
- import type { InferredLoggedInUser } from './all-currentUser.js'
3
+ import type { CurrentUser } from '@cedarjs/auth'
4
4
 
5
5
  declare global {
6
6
  // describe, it, expect etc. are typed by @types/jest. Referencing
7
7
  // vitest/globals here would conflict with those declarations, so only vi
8
8
  // is declared
9
9
  const vi: typeof _vi
10
- const mockCurrentUser: (currentUser: InferredLoggedInUser | null) => void
10
+ const mockCurrentUser: (currentUser: CurrentUser) => void
11
11
  }
@@ -1,18 +1,17 @@
1
1
  import type { vi as _vi } from 'vitest'
2
2
 
3
+ import type { CurrentUser } from '@cedarjs/auth'
3
4
  import type {
4
5
  mockGraphQLMutation as _mockGraphQLMutation,
5
6
  mockGraphQLQuery as _mockGraphQLQuery,
6
7
  } from '@cedarjs/testing/web'
7
8
 
8
- import type { InferredLoggedInUser } from './all-currentUser.js'
9
-
10
9
  declare global {
11
10
  // describe, it, expect etc. are typed by @types/jest. Referencing
12
11
  // vitest/globals here would conflict with those declarations, so only vi
13
12
  // is declared
14
13
  const vi: typeof _vi
15
- const mockCurrentUser: (currentUser: InferredLoggedInUser | null) => void
14
+ const mockCurrentUser: (currentUser: CurrentUser) => void
16
15
  const mockGraphQLQuery: typeof _mockGraphQLQuery
17
16
  const mockGraphQLMutation: typeof _mockGraphQLMutation
18
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/internal",
3
- "version": "8.0.0-canary.3518",
3
+ "version": "8.0.0-canary.3521",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cedarjs/cedar.git",
@@ -120,14 +120,14 @@
120
120
  "@babel/core": "^7.26.10",
121
121
  "@babel/parser": "7.29.9",
122
122
  "@babel/traverse": "7.29.10",
123
- "@cedarjs/api": "8.0.0-canary.3518",
124
- "@cedarjs/babel-config": "8.0.0-canary.3518",
125
- "@cedarjs/cli-helpers": "8.0.0-canary.3518",
126
- "@cedarjs/graphql-server": "8.0.0-canary.3518",
127
- "@cedarjs/project-config": "8.0.0-canary.3518",
128
- "@cedarjs/router": "8.0.0-canary.3518",
129
- "@cedarjs/structure": "8.0.0-canary.3518",
130
- "@cedarjs/utils": "8.0.0-canary.3518",
123
+ "@cedarjs/api": "8.0.0-canary.3521",
124
+ "@cedarjs/babel-config": "8.0.0-canary.3521",
125
+ "@cedarjs/cli-helpers": "8.0.0-canary.3521",
126
+ "@cedarjs/graphql-server": "8.0.0-canary.3521",
127
+ "@cedarjs/project-config": "8.0.0-canary.3521",
128
+ "@cedarjs/router": "8.0.0-canary.3521",
129
+ "@cedarjs/structure": "8.0.0-canary.3521",
130
+ "@cedarjs/utils": "8.0.0-canary.3521",
131
131
  "@graphql-codegen/add": "6.0.1",
132
132
  "@graphql-codegen/cli": "6.3.1",
133
133
  "@graphql-codegen/client-preset": "5.3.0",
@@ -165,7 +165,7 @@
165
165
  "vite-tsconfig-paths": "^6.1.1"
166
166
  },
167
167
  "devDependencies": {
168
- "@cedarjs/framework-tools": "8.0.0-canary.3518",
168
+ "@cedarjs/framework-tools": "8.0.0-canary.3521",
169
169
  "@jridgewell/trace-mapping": "0.3.31",
170
170
  "@oxc-project/types": "^0.155.0",
171
171
  "concurrently": "9.2.5",