@sanity/types 6.12.0 → 6.13.0-next.7

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/lib/index.d.ts +2 -0
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -155,6 +155,7 @@ interface CurrentUser {
155
155
  email: string;
156
156
  profileImage?: string;
157
157
  provider?: string;
158
+ sanityUserId?: string | null;
158
159
  /** @deprecated use `roles` instead */
159
160
  role: string;
160
161
  roles: Role[];
@@ -170,6 +171,7 @@ interface User {
170
171
  displayName?: string;
171
172
  imageUrl?: string;
172
173
  email?: string;
174
+ sanityUserId?: string;
173
175
  }
174
176
  /** @public */
175
177
  interface ValidationMarker {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/types",
3
- "version": "6.12.0",
3
+ "version": "6.13.0-next.7",
4
4
  "description": "Type definitions for common Sanity data structures",
5
5
  "keywords": [
6
6
  "cms",