@cedarjs/internal 8.0.0-canary.3531 → 8.0.0-canary.3535

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,6 +1,6 @@
1
1
  import type { vi as _vi } from 'vitest'
2
2
 
3
- import type { LoggedInUser } from '@cedarjs/auth'
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
@@ -8,5 +8,5 @@ declare global {
8
8
  // is declared
9
9
  const vi: typeof _vi
10
10
  // Partial: a mocked user only needs the fields the test uses
11
- const mockCurrentUser: (currentUser: Partial<LoggedInUser> | null) => void
11
+ const mockCurrentUser: (currentUser: Partial<CurrentUser>) => void
12
12
  }
@@ -1,6 +1,6 @@
1
1
  import type { vi as _vi } from 'vitest'
2
2
 
3
- import type { LoggedInUser } from '@cedarjs/auth'
3
+ import type { CurrentUser } from '@cedarjs/auth'
4
4
  import type {
5
5
  mockGraphQLMutation as _mockGraphQLMutation,
6
6
  mockGraphQLQuery as _mockGraphQLQuery,
@@ -12,7 +12,7 @@ declare global {
12
12
  // is declared
13
13
  const vi: typeof _vi
14
14
  // Partial: a mocked user only needs the fields the test uses
15
- const mockCurrentUser: (currentUser: Partial<LoggedInUser> | null) => void
15
+ const mockCurrentUser: (currentUser: Partial<CurrentUser>) => void
16
16
  const mockGraphQLQuery: typeof _mockGraphQLQuery
17
17
  const mockGraphQLMutation: typeof _mockGraphQLMutation
18
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/internal",
3
- "version": "8.0.0-canary.3531",
3
+ "version": "8.0.0-canary.3535",
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.3531",
124
- "@cedarjs/babel-config": "8.0.0-canary.3531",
125
- "@cedarjs/cli-helpers": "8.0.0-canary.3531",
126
- "@cedarjs/graphql-server": "8.0.0-canary.3531",
127
- "@cedarjs/project-config": "8.0.0-canary.3531",
128
- "@cedarjs/router": "8.0.0-canary.3531",
129
- "@cedarjs/structure": "8.0.0-canary.3531",
130
- "@cedarjs/utils": "8.0.0-canary.3531",
123
+ "@cedarjs/api": "8.0.0-canary.3535",
124
+ "@cedarjs/babel-config": "8.0.0-canary.3535",
125
+ "@cedarjs/cli-helpers": "8.0.0-canary.3535",
126
+ "@cedarjs/graphql-server": "8.0.0-canary.3535",
127
+ "@cedarjs/project-config": "8.0.0-canary.3535",
128
+ "@cedarjs/router": "8.0.0-canary.3535",
129
+ "@cedarjs/structure": "8.0.0-canary.3535",
130
+ "@cedarjs/utils": "8.0.0-canary.3535",
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",
@@ -162,10 +162,10 @@
162
162
  "tsconfig-paths": "4.2.0",
163
163
  "typescript": "5.9.3",
164
164
  "vite": "7.3.7",
165
- "vite-tsconfig-paths": "^6.1.1"
165
+ "vite-tsconfig-paths": "6.1.1"
166
166
  },
167
167
  "devDependencies": {
168
- "@cedarjs/framework-tools": "8.0.0-canary.3531",
168
+ "@cedarjs/framework-tools": "8.0.0-canary.3535",
169
169
  "@jridgewell/trace-mapping": "0.3.31",
170
170
  "@oxc-project/types": "^0.155.0",
171
171
  "concurrently": "9.2.5",