@robelest/convex-auth 0.0.4-preview.34 → 0.0.4-preview.36

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,4 +1,4 @@
1
- import * as convex_values54 from "convex/values";
1
+ import * as convex_values7 from "convex/values";
2
2
  import { Infer, Validator, v } from "convex/values";
3
3
  import * as convex_server13 from "convex/server";
4
4
 
@@ -39,81 +39,84 @@ type ExtendFor<TExtend extends AuthExtendValidators, K extends keyof AuthExtendV
39
39
  * ```
40
40
  */
41
41
  declare function buildAuthValidators<TExtend extends AuthExtendValidators>(extend?: TExtend): {
42
- /** Single User document validator (extend-aware). */user: convex_values54.VObject<convex_server13.Expand<{ [Property in "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)]?: Exclude<Infer<(Omit<{
43
- name: convex_values54.VString<string | undefined, "optional">;
44
- image: convex_values54.VString<string | undefined, "optional">;
45
- email: convex_values54.VString<string | undefined, "optional">;
46
- emailVerificationTime: convex_values54.VFloat64<number | undefined, "optional">;
47
- phone: convex_values54.VString<string | undefined, "optional">;
48
- phoneVerificationTime: convex_values54.VFloat64<number | undefined, "optional">;
49
- isAnonymous: convex_values54.VBoolean<boolean | undefined, "optional">;
50
- lastActiveGroup: convex_values54.VId<convex_values54.GenericId<"Group"> | undefined, "optional">;
51
- extend: convex_values54.VAny<any, "optional", string>;
52
- _id: convex_values54.VId<convex_values54.GenericId<"User">, "required">;
53
- _creationTime: convex_values54.VFloat64<number, "required">;
42
+ /** Single User document validator (extend-aware). */user: convex_values7.VObject<convex_server13.Expand<{ [Property in "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)]?: Exclude<Infer<(Omit<{
43
+ name: convex_values7.VString<string | undefined, "optional">;
44
+ image: convex_values7.VString<string | undefined, "optional">;
45
+ email: convex_values7.VString<string | undefined, "optional">;
46
+ emailVerificationTime: convex_values7.VFloat64<number | undefined, "optional">;
47
+ phone: convex_values7.VString<string | undefined, "optional">;
48
+ phoneVerificationTime: convex_values7.VFloat64<number | undefined, "optional">;
49
+ isAnonymous: convex_values7.VBoolean<boolean | undefined, "optional">;
50
+ lastActiveGroup: convex_values7.VId<convex_values7.GenericId<"Group"> | undefined, "optional">;
51
+ hasTotp: convex_values7.VBoolean<boolean | undefined, "optional">;
52
+ extend: convex_values7.VAny<any, "optional", string>;
53
+ _id: convex_values7.VId<convex_values7.GenericId<"User">, "required">;
54
+ _creationTime: convex_values7.VFloat64<number, "required">;
54
55
  }, "extend"> & {
55
- extend: convex_values54.VOptional<ExtendFor<TExtend, "User">>;
56
- })[Property]>, undefined> | undefined } & { [Property_1 in Exclude<"email", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"_creationTime", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"name", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"image", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"extend", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"emailVerificationTime", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"phone", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"phoneVerificationTime", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"isAnonymous", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"lastActiveGroup", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"_id", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)>]: Infer<(Omit<{
57
- name: convex_values54.VString<string | undefined, "optional">;
58
- image: convex_values54.VString<string | undefined, "optional">;
59
- email: convex_values54.VString<string | undefined, "optional">;
60
- emailVerificationTime: convex_values54.VFloat64<number | undefined, "optional">;
61
- phone: convex_values54.VString<string | undefined, "optional">;
62
- phoneVerificationTime: convex_values54.VFloat64<number | undefined, "optional">;
63
- isAnonymous: convex_values54.VBoolean<boolean | undefined, "optional">;
64
- lastActiveGroup: convex_values54.VId<convex_values54.GenericId<"Group"> | undefined, "optional">;
65
- extend: convex_values54.VAny<any, "optional", string>;
66
- _id: convex_values54.VId<convex_values54.GenericId<"User">, "required">;
67
- _creationTime: convex_values54.VFloat64<number, "required">;
56
+ extend: convex_values7.VOptional<ExtendFor<TExtend, "User">>;
57
+ })[Property]>, undefined> | undefined } & { [Property_1 in Exclude<"_creationTime", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"name", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"email", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"phone", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"image", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"emailVerificationTime", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"phoneVerificationTime", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"isAnonymous", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"lastActiveGroup", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"hasTotp", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"extend", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"_id", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)>]: Infer<(Omit<{
58
+ name: convex_values7.VString<string | undefined, "optional">;
59
+ image: convex_values7.VString<string | undefined, "optional">;
60
+ email: convex_values7.VString<string | undefined, "optional">;
61
+ emailVerificationTime: convex_values7.VFloat64<number | undefined, "optional">;
62
+ phone: convex_values7.VString<string | undefined, "optional">;
63
+ phoneVerificationTime: convex_values7.VFloat64<number | undefined, "optional">;
64
+ isAnonymous: convex_values7.VBoolean<boolean | undefined, "optional">;
65
+ lastActiveGroup: convex_values7.VId<convex_values7.GenericId<"Group"> | undefined, "optional">;
66
+ hasTotp: convex_values7.VBoolean<boolean | undefined, "optional">;
67
+ extend: convex_values7.VAny<any, "optional", string>;
68
+ _id: convex_values7.VId<convex_values7.GenericId<"User">, "required">;
69
+ _creationTime: convex_values7.VFloat64<number, "required">;
68
70
  }, "extend"> & {
69
- extend: convex_values54.VOptional<ExtendFor<TExtend, "User">>;
71
+ extend: convex_values7.VOptional<ExtendFor<TExtend, "User">>;
70
72
  })[Property_1]> }>, Omit<{
71
- name: convex_values54.VString<string | undefined, "optional">;
72
- image: convex_values54.VString<string | undefined, "optional">;
73
- email: convex_values54.VString<string | undefined, "optional">;
74
- emailVerificationTime: convex_values54.VFloat64<number | undefined, "optional">;
75
- phone: convex_values54.VString<string | undefined, "optional">;
76
- phoneVerificationTime: convex_values54.VFloat64<number | undefined, "optional">;
77
- isAnonymous: convex_values54.VBoolean<boolean | undefined, "optional">;
78
- lastActiveGroup: convex_values54.VId<convex_values54.GenericId<"Group"> | undefined, "optional">;
79
- extend: convex_values54.VAny<any, "optional", string>;
80
- _id: convex_values54.VId<convex_values54.GenericId<"User">, "required">;
81
- _creationTime: convex_values54.VFloat64<number, "required">;
73
+ name: convex_values7.VString<string | undefined, "optional">;
74
+ image: convex_values7.VString<string | undefined, "optional">;
75
+ email: convex_values7.VString<string | undefined, "optional">;
76
+ emailVerificationTime: convex_values7.VFloat64<number | undefined, "optional">;
77
+ phone: convex_values7.VString<string | undefined, "optional">;
78
+ phoneVerificationTime: convex_values7.VFloat64<number | undefined, "optional">;
79
+ isAnonymous: convex_values7.VBoolean<boolean | undefined, "optional">;
80
+ lastActiveGroup: convex_values7.VId<convex_values7.GenericId<"Group"> | undefined, "optional">;
81
+ hasTotp: convex_values7.VBoolean<boolean | undefined, "optional">;
82
+ extend: convex_values7.VAny<any, "optional", string>;
83
+ _id: convex_values7.VId<convex_values7.GenericId<"User">, "required">;
84
+ _creationTime: convex_values7.VFloat64<number, "required">;
82
85
  }, "extend"> & {
83
- extend: convex_values54.VOptional<ExtendFor<TExtend, "User">>;
84
- }, "required", "email" | "_creationTime" | "name" | "image" | "extend" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "_id" | `extend.${convex_values54.VOptional<ExtendFor<TExtend, "User">>["fieldPaths"]}`>; /** Single Group document validator (extend-aware). */
85
- group: convex_values54.VObject<convex_server13.Expand<{ [Property_2 in "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values54.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)]?: Exclude<Infer<(Omit<{
86
- name: convex_values54.VString<string, "required">;
87
- slug: convex_values54.VString<string | undefined, "optional">;
88
- type: convex_values54.VString<string | undefined, "optional">;
89
- parentGroupId: convex_values54.VId<convex_values54.GenericId<"Group"> | undefined, "optional">;
90
- rootGroupId: convex_values54.VId<convex_values54.GenericId<"Group"> | undefined, "optional">;
91
- isRoot: convex_values54.VBoolean<boolean | undefined, "optional">;
92
- tags: convex_values54.VArray<{
93
- value: string;
86
+ extend: convex_values7.VOptional<ExtendFor<TExtend, "User">>;
87
+ }, "required", "_creationTime" | "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | "extend" | "_id" | `extend.${convex_values7.VOptional<ExtendFor<TExtend, "User">>["fieldPaths"]}`>; /** Single Group document validator (extend-aware). */
88
+ group: convex_values7.VObject<convex_server13.Expand<{ [Property_2 in "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values7.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)]?: Exclude<Infer<(Omit<{
89
+ name: convex_values7.VString<string, "required">;
90
+ slug: convex_values7.VString<string | undefined, "optional">;
91
+ type: convex_values7.VString<string | undefined, "optional">;
92
+ parentGroupId: convex_values7.VId<convex_values7.GenericId<"Group"> | undefined, "optional">;
93
+ rootGroupId: convex_values7.VId<convex_values7.GenericId<"Group"> | undefined, "optional">;
94
+ isRoot: convex_values7.VBoolean<boolean | undefined, "optional">;
95
+ tags: convex_values7.VArray<{
94
96
  key: string;
95
- }[] | undefined, convex_values54.VObject<{
96
97
  value: string;
98
+ }[] | undefined, convex_values7.VObject<{
97
99
  key: string;
100
+ value: string;
98
101
  }, {
99
- key: convex_values54.VString<string, "required">;
100
- value: convex_values54.VString<string, "required">;
101
- }, "required", "value" | "key">, "optional">;
102
- policy: convex_values54.VObject<{
102
+ key: convex_values7.VString<string, "required">;
103
+ value: convex_values7.VString<string, "required">;
104
+ }, "required", "key" | "value">, "optional">;
105
+ policy: convex_values7.VObject<{
103
106
  extend?: any;
107
+ version: 1;
104
108
  identity: {
105
109
  accountLinking: {
106
- saml: "verifiedEmail" | "none" | "sameConnection";
107
110
  oidc: "verifiedEmail" | "none" | "sameConnection";
111
+ saml: "verifiedEmail" | "none" | "sameConnection";
108
112
  };
109
113
  };
110
- version: 1;
111
114
  provisioning: {
112
115
  user: {
113
116
  createOnSignIn: boolean;
114
117
  updateProfileOnLogin: "never" | "missing" | "always";
115
118
  updateProfileFromScim: "never" | "missing" | "always";
116
- authority: "app" | "sso" | "scim";
119
+ authority: "scim" | "app" | "sso";
117
120
  };
118
121
  scimReuse: {
119
122
  user: "none" | "externalId";
@@ -128,37 +131,37 @@ declare function buildAuthValidators<TExtend extends AuthExtendValidators>(exten
128
131
  };
129
132
  groups: {
130
133
  mapping?: Record<string, string[]> | undefined;
131
- mode: "ignore" | "sync";
132
134
  source: "protocol";
135
+ mode: "ignore" | "sync";
133
136
  };
134
137
  roles: {
135
138
  mapping?: Record<string, string[]> | undefined;
136
- mode: "map" | "ignore";
137
139
  source: "protocol";
140
+ mode: "map" | "ignore";
138
141
  };
139
142
  };
140
143
  } | undefined, {
141
- version: convex_values54.VLiteral<1, "required">;
142
- identity: convex_values54.VObject<{
144
+ version: convex_values7.VLiteral<1, "required">;
145
+ identity: convex_values7.VObject<{
143
146
  accountLinking: {
144
- saml: "verifiedEmail" | "none" | "sameConnection";
145
147
  oidc: "verifiedEmail" | "none" | "sameConnection";
148
+ saml: "verifiedEmail" | "none" | "sameConnection";
146
149
  };
147
150
  }, {
148
- accountLinking: convex_values54.VObject<{
149
- saml: "verifiedEmail" | "none" | "sameConnection";
151
+ accountLinking: convex_values7.VObject<{
150
152
  oidc: "verifiedEmail" | "none" | "sameConnection";
153
+ saml: "verifiedEmail" | "none" | "sameConnection";
151
154
  }, {
152
- oidc: convex_values54.VUnion<"verifiedEmail" | "none" | "sameConnection", [convex_values54.VLiteral<"verifiedEmail", "required">, convex_values54.VLiteral<"none", "required">, convex_values54.VLiteral<"sameConnection", "required">], "required", never>;
153
- saml: convex_values54.VUnion<"verifiedEmail" | "none" | "sameConnection", [convex_values54.VLiteral<"verifiedEmail", "required">, convex_values54.VLiteral<"none", "required">, convex_values54.VLiteral<"sameConnection", "required">], "required", never>;
154
- }, "required", "saml" | "oidc">;
155
- }, "required", "accountLinking" | "accountLinking.saml" | "accountLinking.oidc">;
156
- provisioning: convex_values54.VObject<{
155
+ oidc: convex_values7.VUnion<"verifiedEmail" | "none" | "sameConnection", [convex_values7.VLiteral<"verifiedEmail", "required">, convex_values7.VLiteral<"none", "required">, convex_values7.VLiteral<"sameConnection", "required">], "required", never>;
156
+ saml: convex_values7.VUnion<"verifiedEmail" | "none" | "sameConnection", [convex_values7.VLiteral<"verifiedEmail", "required">, convex_values7.VLiteral<"none", "required">, convex_values7.VLiteral<"sameConnection", "required">], "required", never>;
157
+ }, "required", "oidc" | "saml">;
158
+ }, "required", "accountLinking" | "accountLinking.oidc" | "accountLinking.saml">;
159
+ provisioning: convex_values7.VObject<{
157
160
  user: {
158
161
  createOnSignIn: boolean;
159
162
  updateProfileOnLogin: "never" | "missing" | "always";
160
163
  updateProfileFromScim: "never" | "missing" | "always";
161
- authority: "app" | "sso" | "scim";
164
+ authority: "scim" | "app" | "sso";
162
165
  };
163
166
  scimReuse: {
164
167
  user: "none" | "externalId";
@@ -173,103 +176,103 @@ declare function buildAuthValidators<TExtend extends AuthExtendValidators>(exten
173
176
  };
174
177
  groups: {
175
178
  mapping?: Record<string, string[]> | undefined;
176
- mode: "ignore" | "sync";
177
179
  source: "protocol";
180
+ mode: "ignore" | "sync";
178
181
  };
179
182
  roles: {
180
183
  mapping?: Record<string, string[]> | undefined;
181
- mode: "map" | "ignore";
182
184
  source: "protocol";
185
+ mode: "map" | "ignore";
183
186
  };
184
187
  }, {
185
- user: convex_values54.VObject<{
188
+ user: convex_values7.VObject<{
186
189
  createOnSignIn: boolean;
187
190
  updateProfileOnLogin: "never" | "missing" | "always";
188
191
  updateProfileFromScim: "never" | "missing" | "always";
189
- authority: "app" | "sso" | "scim";
192
+ authority: "scim" | "app" | "sso";
190
193
  }, {
191
- createOnSignIn: convex_values54.VBoolean<boolean, "required">;
192
- updateProfileOnLogin: convex_values54.VUnion<"never" | "missing" | "always", [convex_values54.VLiteral<"never", "required">, convex_values54.VLiteral<"missing", "required">, convex_values54.VLiteral<"always", "required">], "required", never>;
193
- updateProfileFromScim: convex_values54.VUnion<"never" | "missing" | "always", [convex_values54.VLiteral<"never", "required">, convex_values54.VLiteral<"missing", "required">, convex_values54.VLiteral<"always", "required">], "required", never>;
194
- authority: convex_values54.VUnion<"app" | "sso" | "scim", [convex_values54.VLiteral<"app", "required">, convex_values54.VLiteral<"sso", "required">, convex_values54.VLiteral<"scim", "required">], "required", never>;
194
+ createOnSignIn: convex_values7.VBoolean<boolean, "required">;
195
+ updateProfileOnLogin: convex_values7.VUnion<"never" | "missing" | "always", [convex_values7.VLiteral<"never", "required">, convex_values7.VLiteral<"missing", "required">, convex_values7.VLiteral<"always", "required">], "required", never>;
196
+ updateProfileFromScim: convex_values7.VUnion<"never" | "missing" | "always", [convex_values7.VLiteral<"never", "required">, convex_values7.VLiteral<"missing", "required">, convex_values7.VLiteral<"always", "required">], "required", never>;
197
+ authority: convex_values7.VUnion<"scim" | "app" | "sso", [convex_values7.VLiteral<"app", "required">, convex_values7.VLiteral<"sso", "required">, convex_values7.VLiteral<"scim", "required">], "required", never>;
195
198
  }, "required", "createOnSignIn" | "updateProfileOnLogin" | "updateProfileFromScim" | "authority">;
196
- scimReuse: convex_values54.VObject<{
199
+ scimReuse: convex_values7.VObject<{
197
200
  user: "none" | "externalId";
198
201
  }, {
199
- user: convex_values54.VUnion<"none" | "externalId", [convex_values54.VLiteral<"externalId", "required">, convex_values54.VLiteral<"none", "required">], "required", never>;
202
+ user: convex_values7.VUnion<"none" | "externalId", [convex_values7.VLiteral<"externalId", "required">, convex_values7.VLiteral<"none", "required">], "required", never>;
200
203
  }, "required", "user">;
201
- jit: convex_values54.VObject<{
204
+ jit: convex_values7.VObject<{
202
205
  defaultRole?: string | undefined;
203
206
  defaultRoleIds?: string[] | undefined;
204
207
  mode: "off" | "createUser" | "createUserAndMembership";
205
208
  }, {
206
- mode: convex_values54.VUnion<"off" | "createUser" | "createUserAndMembership", [convex_values54.VLiteral<"off", "required">, convex_values54.VLiteral<"createUser", "required">, convex_values54.VLiteral<"createUserAndMembership", "required">], "required", never>;
207
- defaultRole: convex_values54.VString<string | undefined, "optional">;
208
- defaultRoleIds: convex_values54.VArray<string[] | undefined, convex_values54.VString<string, "required">, "optional">;
209
+ mode: convex_values7.VUnion<"off" | "createUser" | "createUserAndMembership", [convex_values7.VLiteral<"off", "required">, convex_values7.VLiteral<"createUser", "required">, convex_values7.VLiteral<"createUserAndMembership", "required">], "required", never>;
210
+ defaultRole: convex_values7.VString<string | undefined, "optional">;
211
+ defaultRoleIds: convex_values7.VArray<string[] | undefined, convex_values7.VString<string, "required">, "optional">;
209
212
  }, "required", "mode" | "defaultRole" | "defaultRoleIds">;
210
- deprovision: convex_values54.VObject<{
213
+ deprovision: convex_values7.VObject<{
211
214
  mode: "soft" | "hard";
212
215
  }, {
213
- mode: convex_values54.VUnion<"soft" | "hard", [convex_values54.VLiteral<"soft", "required">, convex_values54.VLiteral<"hard", "required">], "required", never>;
216
+ mode: convex_values7.VUnion<"soft" | "hard", [convex_values7.VLiteral<"soft", "required">, convex_values7.VLiteral<"hard", "required">], "required", never>;
214
217
  }, "required", "mode">;
215
- groups: convex_values54.VObject<{
218
+ groups: convex_values7.VObject<{
216
219
  mapping?: Record<string, string[]> | undefined;
217
- mode: "ignore" | "sync";
218
220
  source: "protocol";
221
+ mode: "ignore" | "sync";
219
222
  }, {
220
- mode: convex_values54.VUnion<"ignore" | "sync", [convex_values54.VLiteral<"ignore", "required">, convex_values54.VLiteral<"sync", "required">], "required", never>;
221
- source: convex_values54.VLiteral<"protocol", "required">;
222
- mapping: convex_values54.VRecord<Record<string, string[]> | undefined, convex_values54.VString<string, "required">, convex_values54.VArray<string[], convex_values54.VString<string, "required">, "required">, "optional", string>;
223
- }, "required", "mode" | "source" | "mapping" | `mapping.${string}`>;
224
- roles: convex_values54.VObject<{
223
+ mode: convex_values7.VUnion<"ignore" | "sync", [convex_values7.VLiteral<"ignore", "required">, convex_values7.VLiteral<"sync", "required">], "required", never>;
224
+ source: convex_values7.VLiteral<"protocol", "required">;
225
+ mapping: convex_values7.VRecord<Record<string, string[]> | undefined, convex_values7.VString<string, "required">, convex_values7.VArray<string[], convex_values7.VString<string, "required">, "required">, "optional", string>;
226
+ }, "required", "source" | "mode" | "mapping" | `mapping.${string}`>;
227
+ roles: convex_values7.VObject<{
225
228
  mapping?: Record<string, string[]> | undefined;
226
- mode: "map" | "ignore";
227
229
  source: "protocol";
230
+ mode: "map" | "ignore";
228
231
  }, {
229
- mode: convex_values54.VUnion<"map" | "ignore", [convex_values54.VLiteral<"ignore", "required">, convex_values54.VLiteral<"map", "required">], "required", never>;
230
- source: convex_values54.VLiteral<"protocol", "required">;
231
- mapping: convex_values54.VRecord<Record<string, string[]> | undefined, convex_values54.VString<string, "required">, convex_values54.VArray<string[], convex_values54.VString<string, "required">, "required">, "optional", string>;
232
- }, "required", "mode" | "source" | "mapping" | `mapping.${string}`>;
233
- }, "required", "user" | "scimReuse" | "jit" | "deprovision" | "groups" | "roles" | "user.createOnSignIn" | "user.updateProfileOnLogin" | "user.updateProfileFromScim" | "user.authority" | "scimReuse.user" | "jit.mode" | "jit.defaultRole" | "jit.defaultRoleIds" | "deprovision.mode" | "groups.mode" | "groups.source" | "groups.mapping" | `groups.mapping.${string}` | "roles.mode" | "roles.source" | "roles.mapping" | `roles.mapping.${string}`>;
234
- extend: convex_values54.VAny<any, "optional", string>;
235
- }, "optional", "identity" | "extend" | `extend.${string}` | "version" | "provisioning" | "identity.accountLinking" | "identity.accountLinking.saml" | "identity.accountLinking.oidc" | "provisioning.user" | "provisioning.scimReuse" | "provisioning.jit" | "provisioning.deprovision" | "provisioning.groups" | "provisioning.roles" | "provisioning.user.createOnSignIn" | "provisioning.user.updateProfileOnLogin" | "provisioning.user.updateProfileFromScim" | "provisioning.user.authority" | "provisioning.scimReuse.user" | "provisioning.jit.mode" | "provisioning.jit.defaultRole" | "provisioning.jit.defaultRoleIds" | "provisioning.deprovision.mode" | "provisioning.groups.mode" | "provisioning.groups.source" | "provisioning.groups.mapping" | `provisioning.groups.mapping.${string}` | "provisioning.roles.mode" | "provisioning.roles.source" | "provisioning.roles.mapping" | `provisioning.roles.mapping.${string}`>;
236
- extend: convex_values54.VAny<any, "optional", string>;
237
- _id: convex_values54.VId<convex_values54.GenericId<"Group">, "required">;
238
- _creationTime: convex_values54.VFloat64<number, "required">;
232
+ mode: convex_values7.VUnion<"map" | "ignore", [convex_values7.VLiteral<"ignore", "required">, convex_values7.VLiteral<"map", "required">], "required", never>;
233
+ source: convex_values7.VLiteral<"protocol", "required">;
234
+ mapping: convex_values7.VRecord<Record<string, string[]> | undefined, convex_values7.VString<string, "required">, convex_values7.VArray<string[], convex_values7.VString<string, "required">, "required">, "optional", string>;
235
+ }, "required", "source" | "mode" | "mapping" | `mapping.${string}`>;
236
+ }, "required", "user" | "scimReuse" | "jit" | "deprovision" | "groups" | "roles" | "user.createOnSignIn" | "user.updateProfileOnLogin" | "user.updateProfileFromScim" | "user.authority" | "scimReuse.user" | "jit.mode" | "jit.defaultRole" | "jit.defaultRoleIds" | "deprovision.mode" | "groups.source" | "groups.mode" | "groups.mapping" | `groups.mapping.${string}` | "roles.source" | "roles.mode" | "roles.mapping" | `roles.mapping.${string}`>;
237
+ extend: convex_values7.VAny<any, "optional", string>;
238
+ }, "optional", "extend" | `extend.${string}` | "version" | "identity" | "provisioning" | "identity.accountLinking" | "identity.accountLinking.oidc" | "identity.accountLinking.saml" | "provisioning.user" | "provisioning.scimReuse" | "provisioning.jit" | "provisioning.deprovision" | "provisioning.groups" | "provisioning.roles" | "provisioning.user.createOnSignIn" | "provisioning.user.updateProfileOnLogin" | "provisioning.user.updateProfileFromScim" | "provisioning.user.authority" | "provisioning.scimReuse.user" | "provisioning.jit.mode" | "provisioning.jit.defaultRole" | "provisioning.jit.defaultRoleIds" | "provisioning.deprovision.mode" | "provisioning.groups.source" | "provisioning.groups.mode" | "provisioning.groups.mapping" | `provisioning.groups.mapping.${string}` | "provisioning.roles.source" | "provisioning.roles.mode" | "provisioning.roles.mapping" | `provisioning.roles.mapping.${string}`>;
239
+ extend: convex_values7.VAny<any, "optional", string>;
240
+ _id: convex_values7.VId<convex_values7.GenericId<"Group">, "required">;
241
+ _creationTime: convex_values7.VFloat64<number, "required">;
239
242
  }, "extend"> & {
240
- extend: convex_values54.VOptional<ExtendFor<TExtend, "Group">>;
241
- })[Property_2]>, undefined> | undefined } & { [Property_1_1 in Exclude<"_creationTime", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values54.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"name", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values54.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"type", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values54.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"extend", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values54.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"_id", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values54.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"slug", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values54.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"parentGroupId", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values54.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"rootGroupId", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values54.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"isRoot", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values54.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"tags", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values54.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"policy", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values54.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)>]: Infer<(Omit<{
242
- name: convex_values54.VString<string, "required">;
243
- slug: convex_values54.VString<string | undefined, "optional">;
244
- type: convex_values54.VString<string | undefined, "optional">;
245
- parentGroupId: convex_values54.VId<convex_values54.GenericId<"Group"> | undefined, "optional">;
246
- rootGroupId: convex_values54.VId<convex_values54.GenericId<"Group"> | undefined, "optional">;
247
- isRoot: convex_values54.VBoolean<boolean | undefined, "optional">;
248
- tags: convex_values54.VArray<{
249
- value: string;
243
+ extend: convex_values7.VOptional<ExtendFor<TExtend, "Group">>;
244
+ })[Property_2]>, undefined> | undefined } & { [Property_1_1 in Exclude<"_creationTime", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values7.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"name", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values7.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"extend", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values7.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"type", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values7.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"slug", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values7.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"parentGroupId", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values7.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"rootGroupId", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values7.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"isRoot", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values7.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"tags", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values7.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"policy", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values7.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"_id", "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | (convex_values7.VOptional<ExtendFor<TExtend, "Group">>["isOptional"] extends "optional" ? "extend" : never)>]: Infer<(Omit<{
245
+ name: convex_values7.VString<string, "required">;
246
+ slug: convex_values7.VString<string | undefined, "optional">;
247
+ type: convex_values7.VString<string | undefined, "optional">;
248
+ parentGroupId: convex_values7.VId<convex_values7.GenericId<"Group"> | undefined, "optional">;
249
+ rootGroupId: convex_values7.VId<convex_values7.GenericId<"Group"> | undefined, "optional">;
250
+ isRoot: convex_values7.VBoolean<boolean | undefined, "optional">;
251
+ tags: convex_values7.VArray<{
250
252
  key: string;
251
- }[] | undefined, convex_values54.VObject<{
252
253
  value: string;
254
+ }[] | undefined, convex_values7.VObject<{
253
255
  key: string;
256
+ value: string;
254
257
  }, {
255
- key: convex_values54.VString<string, "required">;
256
- value: convex_values54.VString<string, "required">;
257
- }, "required", "value" | "key">, "optional">;
258
- policy: convex_values54.VObject<{
258
+ key: convex_values7.VString<string, "required">;
259
+ value: convex_values7.VString<string, "required">;
260
+ }, "required", "key" | "value">, "optional">;
261
+ policy: convex_values7.VObject<{
259
262
  extend?: any;
263
+ version: 1;
260
264
  identity: {
261
265
  accountLinking: {
262
- saml: "verifiedEmail" | "none" | "sameConnection";
263
266
  oidc: "verifiedEmail" | "none" | "sameConnection";
267
+ saml: "verifiedEmail" | "none" | "sameConnection";
264
268
  };
265
269
  };
266
- version: 1;
267
270
  provisioning: {
268
271
  user: {
269
272
  createOnSignIn: boolean;
270
273
  updateProfileOnLogin: "never" | "missing" | "always";
271
274
  updateProfileFromScim: "never" | "missing" | "always";
272
- authority: "app" | "sso" | "scim";
275
+ authority: "scim" | "app" | "sso";
273
276
  };
274
277
  scimReuse: {
275
278
  user: "none" | "externalId";
@@ -284,37 +287,37 @@ declare function buildAuthValidators<TExtend extends AuthExtendValidators>(exten
284
287
  };
285
288
  groups: {
286
289
  mapping?: Record<string, string[]> | undefined;
287
- mode: "ignore" | "sync";
288
290
  source: "protocol";
291
+ mode: "ignore" | "sync";
289
292
  };
290
293
  roles: {
291
294
  mapping?: Record<string, string[]> | undefined;
292
- mode: "map" | "ignore";
293
295
  source: "protocol";
296
+ mode: "map" | "ignore";
294
297
  };
295
298
  };
296
299
  } | undefined, {
297
- version: convex_values54.VLiteral<1, "required">;
298
- identity: convex_values54.VObject<{
300
+ version: convex_values7.VLiteral<1, "required">;
301
+ identity: convex_values7.VObject<{
299
302
  accountLinking: {
300
- saml: "verifiedEmail" | "none" | "sameConnection";
301
303
  oidc: "verifiedEmail" | "none" | "sameConnection";
304
+ saml: "verifiedEmail" | "none" | "sameConnection";
302
305
  };
303
306
  }, {
304
- accountLinking: convex_values54.VObject<{
305
- saml: "verifiedEmail" | "none" | "sameConnection";
307
+ accountLinking: convex_values7.VObject<{
306
308
  oidc: "verifiedEmail" | "none" | "sameConnection";
309
+ saml: "verifiedEmail" | "none" | "sameConnection";
307
310
  }, {
308
- oidc: convex_values54.VUnion<"verifiedEmail" | "none" | "sameConnection", [convex_values54.VLiteral<"verifiedEmail", "required">, convex_values54.VLiteral<"none", "required">, convex_values54.VLiteral<"sameConnection", "required">], "required", never>;
309
- saml: convex_values54.VUnion<"verifiedEmail" | "none" | "sameConnection", [convex_values54.VLiteral<"verifiedEmail", "required">, convex_values54.VLiteral<"none", "required">, convex_values54.VLiteral<"sameConnection", "required">], "required", never>;
310
- }, "required", "saml" | "oidc">;
311
- }, "required", "accountLinking" | "accountLinking.saml" | "accountLinking.oidc">;
312
- provisioning: convex_values54.VObject<{
311
+ oidc: convex_values7.VUnion<"verifiedEmail" | "none" | "sameConnection", [convex_values7.VLiteral<"verifiedEmail", "required">, convex_values7.VLiteral<"none", "required">, convex_values7.VLiteral<"sameConnection", "required">], "required", never>;
312
+ saml: convex_values7.VUnion<"verifiedEmail" | "none" | "sameConnection", [convex_values7.VLiteral<"verifiedEmail", "required">, convex_values7.VLiteral<"none", "required">, convex_values7.VLiteral<"sameConnection", "required">], "required", never>;
313
+ }, "required", "oidc" | "saml">;
314
+ }, "required", "accountLinking" | "accountLinking.oidc" | "accountLinking.saml">;
315
+ provisioning: convex_values7.VObject<{
313
316
  user: {
314
317
  createOnSignIn: boolean;
315
318
  updateProfileOnLogin: "never" | "missing" | "always";
316
319
  updateProfileFromScim: "never" | "missing" | "always";
317
- authority: "app" | "sso" | "scim";
320
+ authority: "scim" | "app" | "sso";
318
321
  };
319
322
  scimReuse: {
320
323
  user: "none" | "externalId";
@@ -329,103 +332,103 @@ declare function buildAuthValidators<TExtend extends AuthExtendValidators>(exten
329
332
  };
330
333
  groups: {
331
334
  mapping?: Record<string, string[]> | undefined;
332
- mode: "ignore" | "sync";
333
335
  source: "protocol";
336
+ mode: "ignore" | "sync";
334
337
  };
335
338
  roles: {
336
339
  mapping?: Record<string, string[]> | undefined;
337
- mode: "map" | "ignore";
338
340
  source: "protocol";
341
+ mode: "map" | "ignore";
339
342
  };
340
343
  }, {
341
- user: convex_values54.VObject<{
344
+ user: convex_values7.VObject<{
342
345
  createOnSignIn: boolean;
343
346
  updateProfileOnLogin: "never" | "missing" | "always";
344
347
  updateProfileFromScim: "never" | "missing" | "always";
345
- authority: "app" | "sso" | "scim";
348
+ authority: "scim" | "app" | "sso";
346
349
  }, {
347
- createOnSignIn: convex_values54.VBoolean<boolean, "required">;
348
- updateProfileOnLogin: convex_values54.VUnion<"never" | "missing" | "always", [convex_values54.VLiteral<"never", "required">, convex_values54.VLiteral<"missing", "required">, convex_values54.VLiteral<"always", "required">], "required", never>;
349
- updateProfileFromScim: convex_values54.VUnion<"never" | "missing" | "always", [convex_values54.VLiteral<"never", "required">, convex_values54.VLiteral<"missing", "required">, convex_values54.VLiteral<"always", "required">], "required", never>;
350
- authority: convex_values54.VUnion<"app" | "sso" | "scim", [convex_values54.VLiteral<"app", "required">, convex_values54.VLiteral<"sso", "required">, convex_values54.VLiteral<"scim", "required">], "required", never>;
350
+ createOnSignIn: convex_values7.VBoolean<boolean, "required">;
351
+ updateProfileOnLogin: convex_values7.VUnion<"never" | "missing" | "always", [convex_values7.VLiteral<"never", "required">, convex_values7.VLiteral<"missing", "required">, convex_values7.VLiteral<"always", "required">], "required", never>;
352
+ updateProfileFromScim: convex_values7.VUnion<"never" | "missing" | "always", [convex_values7.VLiteral<"never", "required">, convex_values7.VLiteral<"missing", "required">, convex_values7.VLiteral<"always", "required">], "required", never>;
353
+ authority: convex_values7.VUnion<"scim" | "app" | "sso", [convex_values7.VLiteral<"app", "required">, convex_values7.VLiteral<"sso", "required">, convex_values7.VLiteral<"scim", "required">], "required", never>;
351
354
  }, "required", "createOnSignIn" | "updateProfileOnLogin" | "updateProfileFromScim" | "authority">;
352
- scimReuse: convex_values54.VObject<{
355
+ scimReuse: convex_values7.VObject<{
353
356
  user: "none" | "externalId";
354
357
  }, {
355
- user: convex_values54.VUnion<"none" | "externalId", [convex_values54.VLiteral<"externalId", "required">, convex_values54.VLiteral<"none", "required">], "required", never>;
358
+ user: convex_values7.VUnion<"none" | "externalId", [convex_values7.VLiteral<"externalId", "required">, convex_values7.VLiteral<"none", "required">], "required", never>;
356
359
  }, "required", "user">;
357
- jit: convex_values54.VObject<{
360
+ jit: convex_values7.VObject<{
358
361
  defaultRole?: string | undefined;
359
362
  defaultRoleIds?: string[] | undefined;
360
363
  mode: "off" | "createUser" | "createUserAndMembership";
361
364
  }, {
362
- mode: convex_values54.VUnion<"off" | "createUser" | "createUserAndMembership", [convex_values54.VLiteral<"off", "required">, convex_values54.VLiteral<"createUser", "required">, convex_values54.VLiteral<"createUserAndMembership", "required">], "required", never>;
363
- defaultRole: convex_values54.VString<string | undefined, "optional">;
364
- defaultRoleIds: convex_values54.VArray<string[] | undefined, convex_values54.VString<string, "required">, "optional">;
365
+ mode: convex_values7.VUnion<"off" | "createUser" | "createUserAndMembership", [convex_values7.VLiteral<"off", "required">, convex_values7.VLiteral<"createUser", "required">, convex_values7.VLiteral<"createUserAndMembership", "required">], "required", never>;
366
+ defaultRole: convex_values7.VString<string | undefined, "optional">;
367
+ defaultRoleIds: convex_values7.VArray<string[] | undefined, convex_values7.VString<string, "required">, "optional">;
365
368
  }, "required", "mode" | "defaultRole" | "defaultRoleIds">;
366
- deprovision: convex_values54.VObject<{
369
+ deprovision: convex_values7.VObject<{
367
370
  mode: "soft" | "hard";
368
371
  }, {
369
- mode: convex_values54.VUnion<"soft" | "hard", [convex_values54.VLiteral<"soft", "required">, convex_values54.VLiteral<"hard", "required">], "required", never>;
372
+ mode: convex_values7.VUnion<"soft" | "hard", [convex_values7.VLiteral<"soft", "required">, convex_values7.VLiteral<"hard", "required">], "required", never>;
370
373
  }, "required", "mode">;
371
- groups: convex_values54.VObject<{
374
+ groups: convex_values7.VObject<{
372
375
  mapping?: Record<string, string[]> | undefined;
373
- mode: "ignore" | "sync";
374
376
  source: "protocol";
377
+ mode: "ignore" | "sync";
375
378
  }, {
376
- mode: convex_values54.VUnion<"ignore" | "sync", [convex_values54.VLiteral<"ignore", "required">, convex_values54.VLiteral<"sync", "required">], "required", never>;
377
- source: convex_values54.VLiteral<"protocol", "required">;
378
- mapping: convex_values54.VRecord<Record<string, string[]> | undefined, convex_values54.VString<string, "required">, convex_values54.VArray<string[], convex_values54.VString<string, "required">, "required">, "optional", string>;
379
- }, "required", "mode" | "source" | "mapping" | `mapping.${string}`>;
380
- roles: convex_values54.VObject<{
379
+ mode: convex_values7.VUnion<"ignore" | "sync", [convex_values7.VLiteral<"ignore", "required">, convex_values7.VLiteral<"sync", "required">], "required", never>;
380
+ source: convex_values7.VLiteral<"protocol", "required">;
381
+ mapping: convex_values7.VRecord<Record<string, string[]> | undefined, convex_values7.VString<string, "required">, convex_values7.VArray<string[], convex_values7.VString<string, "required">, "required">, "optional", string>;
382
+ }, "required", "source" | "mode" | "mapping" | `mapping.${string}`>;
383
+ roles: convex_values7.VObject<{
381
384
  mapping?: Record<string, string[]> | undefined;
382
- mode: "map" | "ignore";
383
385
  source: "protocol";
386
+ mode: "map" | "ignore";
384
387
  }, {
385
- mode: convex_values54.VUnion<"map" | "ignore", [convex_values54.VLiteral<"ignore", "required">, convex_values54.VLiteral<"map", "required">], "required", never>;
386
- source: convex_values54.VLiteral<"protocol", "required">;
387
- mapping: convex_values54.VRecord<Record<string, string[]> | undefined, convex_values54.VString<string, "required">, convex_values54.VArray<string[], convex_values54.VString<string, "required">, "required">, "optional", string>;
388
- }, "required", "mode" | "source" | "mapping" | `mapping.${string}`>;
389
- }, "required", "user" | "scimReuse" | "jit" | "deprovision" | "groups" | "roles" | "user.createOnSignIn" | "user.updateProfileOnLogin" | "user.updateProfileFromScim" | "user.authority" | "scimReuse.user" | "jit.mode" | "jit.defaultRole" | "jit.defaultRoleIds" | "deprovision.mode" | "groups.mode" | "groups.source" | "groups.mapping" | `groups.mapping.${string}` | "roles.mode" | "roles.source" | "roles.mapping" | `roles.mapping.${string}`>;
390
- extend: convex_values54.VAny<any, "optional", string>;
391
- }, "optional", "identity" | "extend" | `extend.${string}` | "version" | "provisioning" | "identity.accountLinking" | "identity.accountLinking.saml" | "identity.accountLinking.oidc" | "provisioning.user" | "provisioning.scimReuse" | "provisioning.jit" | "provisioning.deprovision" | "provisioning.groups" | "provisioning.roles" | "provisioning.user.createOnSignIn" | "provisioning.user.updateProfileOnLogin" | "provisioning.user.updateProfileFromScim" | "provisioning.user.authority" | "provisioning.scimReuse.user" | "provisioning.jit.mode" | "provisioning.jit.defaultRole" | "provisioning.jit.defaultRoleIds" | "provisioning.deprovision.mode" | "provisioning.groups.mode" | "provisioning.groups.source" | "provisioning.groups.mapping" | `provisioning.groups.mapping.${string}` | "provisioning.roles.mode" | "provisioning.roles.source" | "provisioning.roles.mapping" | `provisioning.roles.mapping.${string}`>;
392
- extend: convex_values54.VAny<any, "optional", string>;
393
- _id: convex_values54.VId<convex_values54.GenericId<"Group">, "required">;
394
- _creationTime: convex_values54.VFloat64<number, "required">;
388
+ mode: convex_values7.VUnion<"map" | "ignore", [convex_values7.VLiteral<"ignore", "required">, convex_values7.VLiteral<"map", "required">], "required", never>;
389
+ source: convex_values7.VLiteral<"protocol", "required">;
390
+ mapping: convex_values7.VRecord<Record<string, string[]> | undefined, convex_values7.VString<string, "required">, convex_values7.VArray<string[], convex_values7.VString<string, "required">, "required">, "optional", string>;
391
+ }, "required", "source" | "mode" | "mapping" | `mapping.${string}`>;
392
+ }, "required", "user" | "scimReuse" | "jit" | "deprovision" | "groups" | "roles" | "user.createOnSignIn" | "user.updateProfileOnLogin" | "user.updateProfileFromScim" | "user.authority" | "scimReuse.user" | "jit.mode" | "jit.defaultRole" | "jit.defaultRoleIds" | "deprovision.mode" | "groups.source" | "groups.mode" | "groups.mapping" | `groups.mapping.${string}` | "roles.source" | "roles.mode" | "roles.mapping" | `roles.mapping.${string}`>;
393
+ extend: convex_values7.VAny<any, "optional", string>;
394
+ }, "optional", "extend" | `extend.${string}` | "version" | "identity" | "provisioning" | "identity.accountLinking" | "identity.accountLinking.oidc" | "identity.accountLinking.saml" | "provisioning.user" | "provisioning.scimReuse" | "provisioning.jit" | "provisioning.deprovision" | "provisioning.groups" | "provisioning.roles" | "provisioning.user.createOnSignIn" | "provisioning.user.updateProfileOnLogin" | "provisioning.user.updateProfileFromScim" | "provisioning.user.authority" | "provisioning.scimReuse.user" | "provisioning.jit.mode" | "provisioning.jit.defaultRole" | "provisioning.jit.defaultRoleIds" | "provisioning.deprovision.mode" | "provisioning.groups.source" | "provisioning.groups.mode" | "provisioning.groups.mapping" | `provisioning.groups.mapping.${string}` | "provisioning.roles.source" | "provisioning.roles.mode" | "provisioning.roles.mapping" | `provisioning.roles.mapping.${string}`>;
395
+ extend: convex_values7.VAny<any, "optional", string>;
396
+ _id: convex_values7.VId<convex_values7.GenericId<"Group">, "required">;
397
+ _creationTime: convex_values7.VFloat64<number, "required">;
395
398
  }, "extend"> & {
396
- extend: convex_values54.VOptional<ExtendFor<TExtend, "Group">>;
399
+ extend: convex_values7.VOptional<ExtendFor<TExtend, "Group">>;
397
400
  })[Property_1_1]> }>, Omit<{
398
- name: convex_values54.VString<string, "required">;
399
- slug: convex_values54.VString<string | undefined, "optional">;
400
- type: convex_values54.VString<string | undefined, "optional">;
401
- parentGroupId: convex_values54.VId<convex_values54.GenericId<"Group"> | undefined, "optional">;
402
- rootGroupId: convex_values54.VId<convex_values54.GenericId<"Group"> | undefined, "optional">;
403
- isRoot: convex_values54.VBoolean<boolean | undefined, "optional">;
404
- tags: convex_values54.VArray<{
405
- value: string;
401
+ name: convex_values7.VString<string, "required">;
402
+ slug: convex_values7.VString<string | undefined, "optional">;
403
+ type: convex_values7.VString<string | undefined, "optional">;
404
+ parentGroupId: convex_values7.VId<convex_values7.GenericId<"Group"> | undefined, "optional">;
405
+ rootGroupId: convex_values7.VId<convex_values7.GenericId<"Group"> | undefined, "optional">;
406
+ isRoot: convex_values7.VBoolean<boolean | undefined, "optional">;
407
+ tags: convex_values7.VArray<{
406
408
  key: string;
407
- }[] | undefined, convex_values54.VObject<{
408
409
  value: string;
410
+ }[] | undefined, convex_values7.VObject<{
409
411
  key: string;
412
+ value: string;
410
413
  }, {
411
- key: convex_values54.VString<string, "required">;
412
- value: convex_values54.VString<string, "required">;
413
- }, "required", "value" | "key">, "optional">;
414
- policy: convex_values54.VObject<{
414
+ key: convex_values7.VString<string, "required">;
415
+ value: convex_values7.VString<string, "required">;
416
+ }, "required", "key" | "value">, "optional">;
417
+ policy: convex_values7.VObject<{
415
418
  extend?: any;
419
+ version: 1;
416
420
  identity: {
417
421
  accountLinking: {
418
- saml: "verifiedEmail" | "none" | "sameConnection";
419
422
  oidc: "verifiedEmail" | "none" | "sameConnection";
423
+ saml: "verifiedEmail" | "none" | "sameConnection";
420
424
  };
421
425
  };
422
- version: 1;
423
426
  provisioning: {
424
427
  user: {
425
428
  createOnSignIn: boolean;
426
429
  updateProfileOnLogin: "never" | "missing" | "always";
427
430
  updateProfileFromScim: "never" | "missing" | "always";
428
- authority: "app" | "sso" | "scim";
431
+ authority: "scim" | "app" | "sso";
429
432
  };
430
433
  scimReuse: {
431
434
  user: "none" | "externalId";
@@ -440,37 +443,37 @@ declare function buildAuthValidators<TExtend extends AuthExtendValidators>(exten
440
443
  };
441
444
  groups: {
442
445
  mapping?: Record<string, string[]> | undefined;
443
- mode: "ignore" | "sync";
444
446
  source: "protocol";
447
+ mode: "ignore" | "sync";
445
448
  };
446
449
  roles: {
447
450
  mapping?: Record<string, string[]> | undefined;
448
- mode: "map" | "ignore";
449
451
  source: "protocol";
452
+ mode: "map" | "ignore";
450
453
  };
451
454
  };
452
455
  } | undefined, {
453
- version: convex_values54.VLiteral<1, "required">;
454
- identity: convex_values54.VObject<{
456
+ version: convex_values7.VLiteral<1, "required">;
457
+ identity: convex_values7.VObject<{
455
458
  accountLinking: {
456
- saml: "verifiedEmail" | "none" | "sameConnection";
457
459
  oidc: "verifiedEmail" | "none" | "sameConnection";
460
+ saml: "verifiedEmail" | "none" | "sameConnection";
458
461
  };
459
462
  }, {
460
- accountLinking: convex_values54.VObject<{
461
- saml: "verifiedEmail" | "none" | "sameConnection";
463
+ accountLinking: convex_values7.VObject<{
462
464
  oidc: "verifiedEmail" | "none" | "sameConnection";
465
+ saml: "verifiedEmail" | "none" | "sameConnection";
463
466
  }, {
464
- oidc: convex_values54.VUnion<"verifiedEmail" | "none" | "sameConnection", [convex_values54.VLiteral<"verifiedEmail", "required">, convex_values54.VLiteral<"none", "required">, convex_values54.VLiteral<"sameConnection", "required">], "required", never>;
465
- saml: convex_values54.VUnion<"verifiedEmail" | "none" | "sameConnection", [convex_values54.VLiteral<"verifiedEmail", "required">, convex_values54.VLiteral<"none", "required">, convex_values54.VLiteral<"sameConnection", "required">], "required", never>;
466
- }, "required", "saml" | "oidc">;
467
- }, "required", "accountLinking" | "accountLinking.saml" | "accountLinking.oidc">;
468
- provisioning: convex_values54.VObject<{
467
+ oidc: convex_values7.VUnion<"verifiedEmail" | "none" | "sameConnection", [convex_values7.VLiteral<"verifiedEmail", "required">, convex_values7.VLiteral<"none", "required">, convex_values7.VLiteral<"sameConnection", "required">], "required", never>;
468
+ saml: convex_values7.VUnion<"verifiedEmail" | "none" | "sameConnection", [convex_values7.VLiteral<"verifiedEmail", "required">, convex_values7.VLiteral<"none", "required">, convex_values7.VLiteral<"sameConnection", "required">], "required", never>;
469
+ }, "required", "oidc" | "saml">;
470
+ }, "required", "accountLinking" | "accountLinking.oidc" | "accountLinking.saml">;
471
+ provisioning: convex_values7.VObject<{
469
472
  user: {
470
473
  createOnSignIn: boolean;
471
474
  updateProfileOnLogin: "never" | "missing" | "always";
472
475
  updateProfileFromScim: "never" | "missing" | "always";
473
- authority: "app" | "sso" | "scim";
476
+ authority: "scim" | "app" | "sso";
474
477
  };
475
478
  scimReuse: {
476
479
  user: "none" | "externalId";
@@ -485,235 +488,240 @@ declare function buildAuthValidators<TExtend extends AuthExtendValidators>(exten
485
488
  };
486
489
  groups: {
487
490
  mapping?: Record<string, string[]> | undefined;
488
- mode: "ignore" | "sync";
489
491
  source: "protocol";
492
+ mode: "ignore" | "sync";
490
493
  };
491
494
  roles: {
492
495
  mapping?: Record<string, string[]> | undefined;
493
- mode: "map" | "ignore";
494
496
  source: "protocol";
497
+ mode: "map" | "ignore";
495
498
  };
496
499
  }, {
497
- user: convex_values54.VObject<{
500
+ user: convex_values7.VObject<{
498
501
  createOnSignIn: boolean;
499
502
  updateProfileOnLogin: "never" | "missing" | "always";
500
503
  updateProfileFromScim: "never" | "missing" | "always";
501
- authority: "app" | "sso" | "scim";
504
+ authority: "scim" | "app" | "sso";
502
505
  }, {
503
- createOnSignIn: convex_values54.VBoolean<boolean, "required">;
504
- updateProfileOnLogin: convex_values54.VUnion<"never" | "missing" | "always", [convex_values54.VLiteral<"never", "required">, convex_values54.VLiteral<"missing", "required">, convex_values54.VLiteral<"always", "required">], "required", never>;
505
- updateProfileFromScim: convex_values54.VUnion<"never" | "missing" | "always", [convex_values54.VLiteral<"never", "required">, convex_values54.VLiteral<"missing", "required">, convex_values54.VLiteral<"always", "required">], "required", never>;
506
- authority: convex_values54.VUnion<"app" | "sso" | "scim", [convex_values54.VLiteral<"app", "required">, convex_values54.VLiteral<"sso", "required">, convex_values54.VLiteral<"scim", "required">], "required", never>;
506
+ createOnSignIn: convex_values7.VBoolean<boolean, "required">;
507
+ updateProfileOnLogin: convex_values7.VUnion<"never" | "missing" | "always", [convex_values7.VLiteral<"never", "required">, convex_values7.VLiteral<"missing", "required">, convex_values7.VLiteral<"always", "required">], "required", never>;
508
+ updateProfileFromScim: convex_values7.VUnion<"never" | "missing" | "always", [convex_values7.VLiteral<"never", "required">, convex_values7.VLiteral<"missing", "required">, convex_values7.VLiteral<"always", "required">], "required", never>;
509
+ authority: convex_values7.VUnion<"scim" | "app" | "sso", [convex_values7.VLiteral<"app", "required">, convex_values7.VLiteral<"sso", "required">, convex_values7.VLiteral<"scim", "required">], "required", never>;
507
510
  }, "required", "createOnSignIn" | "updateProfileOnLogin" | "updateProfileFromScim" | "authority">;
508
- scimReuse: convex_values54.VObject<{
511
+ scimReuse: convex_values7.VObject<{
509
512
  user: "none" | "externalId";
510
513
  }, {
511
- user: convex_values54.VUnion<"none" | "externalId", [convex_values54.VLiteral<"externalId", "required">, convex_values54.VLiteral<"none", "required">], "required", never>;
514
+ user: convex_values7.VUnion<"none" | "externalId", [convex_values7.VLiteral<"externalId", "required">, convex_values7.VLiteral<"none", "required">], "required", never>;
512
515
  }, "required", "user">;
513
- jit: convex_values54.VObject<{
516
+ jit: convex_values7.VObject<{
514
517
  defaultRole?: string | undefined;
515
518
  defaultRoleIds?: string[] | undefined;
516
519
  mode: "off" | "createUser" | "createUserAndMembership";
517
520
  }, {
518
- mode: convex_values54.VUnion<"off" | "createUser" | "createUserAndMembership", [convex_values54.VLiteral<"off", "required">, convex_values54.VLiteral<"createUser", "required">, convex_values54.VLiteral<"createUserAndMembership", "required">], "required", never>;
519
- defaultRole: convex_values54.VString<string | undefined, "optional">;
520
- defaultRoleIds: convex_values54.VArray<string[] | undefined, convex_values54.VString<string, "required">, "optional">;
521
+ mode: convex_values7.VUnion<"off" | "createUser" | "createUserAndMembership", [convex_values7.VLiteral<"off", "required">, convex_values7.VLiteral<"createUser", "required">, convex_values7.VLiteral<"createUserAndMembership", "required">], "required", never>;
522
+ defaultRole: convex_values7.VString<string | undefined, "optional">;
523
+ defaultRoleIds: convex_values7.VArray<string[] | undefined, convex_values7.VString<string, "required">, "optional">;
521
524
  }, "required", "mode" | "defaultRole" | "defaultRoleIds">;
522
- deprovision: convex_values54.VObject<{
525
+ deprovision: convex_values7.VObject<{
523
526
  mode: "soft" | "hard";
524
527
  }, {
525
- mode: convex_values54.VUnion<"soft" | "hard", [convex_values54.VLiteral<"soft", "required">, convex_values54.VLiteral<"hard", "required">], "required", never>;
528
+ mode: convex_values7.VUnion<"soft" | "hard", [convex_values7.VLiteral<"soft", "required">, convex_values7.VLiteral<"hard", "required">], "required", never>;
526
529
  }, "required", "mode">;
527
- groups: convex_values54.VObject<{
530
+ groups: convex_values7.VObject<{
528
531
  mapping?: Record<string, string[]> | undefined;
529
- mode: "ignore" | "sync";
530
532
  source: "protocol";
533
+ mode: "ignore" | "sync";
531
534
  }, {
532
- mode: convex_values54.VUnion<"ignore" | "sync", [convex_values54.VLiteral<"ignore", "required">, convex_values54.VLiteral<"sync", "required">], "required", never>;
533
- source: convex_values54.VLiteral<"protocol", "required">;
534
- mapping: convex_values54.VRecord<Record<string, string[]> | undefined, convex_values54.VString<string, "required">, convex_values54.VArray<string[], convex_values54.VString<string, "required">, "required">, "optional", string>;
535
- }, "required", "mode" | "source" | "mapping" | `mapping.${string}`>;
536
- roles: convex_values54.VObject<{
535
+ mode: convex_values7.VUnion<"ignore" | "sync", [convex_values7.VLiteral<"ignore", "required">, convex_values7.VLiteral<"sync", "required">], "required", never>;
536
+ source: convex_values7.VLiteral<"protocol", "required">;
537
+ mapping: convex_values7.VRecord<Record<string, string[]> | undefined, convex_values7.VString<string, "required">, convex_values7.VArray<string[], convex_values7.VString<string, "required">, "required">, "optional", string>;
538
+ }, "required", "source" | "mode" | "mapping" | `mapping.${string}`>;
539
+ roles: convex_values7.VObject<{
537
540
  mapping?: Record<string, string[]> | undefined;
538
- mode: "map" | "ignore";
539
541
  source: "protocol";
542
+ mode: "map" | "ignore";
540
543
  }, {
541
- mode: convex_values54.VUnion<"map" | "ignore", [convex_values54.VLiteral<"ignore", "required">, convex_values54.VLiteral<"map", "required">], "required", never>;
542
- source: convex_values54.VLiteral<"protocol", "required">;
543
- mapping: convex_values54.VRecord<Record<string, string[]> | undefined, convex_values54.VString<string, "required">, convex_values54.VArray<string[], convex_values54.VString<string, "required">, "required">, "optional", string>;
544
- }, "required", "mode" | "source" | "mapping" | `mapping.${string}`>;
545
- }, "required", "user" | "scimReuse" | "jit" | "deprovision" | "groups" | "roles" | "user.createOnSignIn" | "user.updateProfileOnLogin" | "user.updateProfileFromScim" | "user.authority" | "scimReuse.user" | "jit.mode" | "jit.defaultRole" | "jit.defaultRoleIds" | "deprovision.mode" | "groups.mode" | "groups.source" | "groups.mapping" | `groups.mapping.${string}` | "roles.mode" | "roles.source" | "roles.mapping" | `roles.mapping.${string}`>;
546
- extend: convex_values54.VAny<any, "optional", string>;
547
- }, "optional", "identity" | "extend" | `extend.${string}` | "version" | "provisioning" | "identity.accountLinking" | "identity.accountLinking.saml" | "identity.accountLinking.oidc" | "provisioning.user" | "provisioning.scimReuse" | "provisioning.jit" | "provisioning.deprovision" | "provisioning.groups" | "provisioning.roles" | "provisioning.user.createOnSignIn" | "provisioning.user.updateProfileOnLogin" | "provisioning.user.updateProfileFromScim" | "provisioning.user.authority" | "provisioning.scimReuse.user" | "provisioning.jit.mode" | "provisioning.jit.defaultRole" | "provisioning.jit.defaultRoleIds" | "provisioning.deprovision.mode" | "provisioning.groups.mode" | "provisioning.groups.source" | "provisioning.groups.mapping" | `provisioning.groups.mapping.${string}` | "provisioning.roles.mode" | "provisioning.roles.source" | "provisioning.roles.mapping" | `provisioning.roles.mapping.${string}`>;
548
- extend: convex_values54.VAny<any, "optional", string>;
549
- _id: convex_values54.VId<convex_values54.GenericId<"Group">, "required">;
550
- _creationTime: convex_values54.VFloat64<number, "required">;
544
+ mode: convex_values7.VUnion<"map" | "ignore", [convex_values7.VLiteral<"ignore", "required">, convex_values7.VLiteral<"map", "required">], "required", never>;
545
+ source: convex_values7.VLiteral<"protocol", "required">;
546
+ mapping: convex_values7.VRecord<Record<string, string[]> | undefined, convex_values7.VString<string, "required">, convex_values7.VArray<string[], convex_values7.VString<string, "required">, "required">, "optional", string>;
547
+ }, "required", "source" | "mode" | "mapping" | `mapping.${string}`>;
548
+ }, "required", "user" | "scimReuse" | "jit" | "deprovision" | "groups" | "roles" | "user.createOnSignIn" | "user.updateProfileOnLogin" | "user.updateProfileFromScim" | "user.authority" | "scimReuse.user" | "jit.mode" | "jit.defaultRole" | "jit.defaultRoleIds" | "deprovision.mode" | "groups.source" | "groups.mode" | "groups.mapping" | `groups.mapping.${string}` | "roles.source" | "roles.mode" | "roles.mapping" | `roles.mapping.${string}`>;
549
+ extend: convex_values7.VAny<any, "optional", string>;
550
+ }, "optional", "extend" | `extend.${string}` | "version" | "identity" | "provisioning" | "identity.accountLinking" | "identity.accountLinking.oidc" | "identity.accountLinking.saml" | "provisioning.user" | "provisioning.scimReuse" | "provisioning.jit" | "provisioning.deprovision" | "provisioning.groups" | "provisioning.roles" | "provisioning.user.createOnSignIn" | "provisioning.user.updateProfileOnLogin" | "provisioning.user.updateProfileFromScim" | "provisioning.user.authority" | "provisioning.scimReuse.user" | "provisioning.jit.mode" | "provisioning.jit.defaultRole" | "provisioning.jit.defaultRoleIds" | "provisioning.deprovision.mode" | "provisioning.groups.source" | "provisioning.groups.mode" | "provisioning.groups.mapping" | `provisioning.groups.mapping.${string}` | "provisioning.roles.source" | "provisioning.roles.mode" | "provisioning.roles.mapping" | `provisioning.roles.mapping.${string}`>;
551
+ extend: convex_values7.VAny<any, "optional", string>;
552
+ _id: convex_values7.VId<convex_values7.GenericId<"Group">, "required">;
553
+ _creationTime: convex_values7.VFloat64<number, "required">;
551
554
  }, "extend"> & {
552
- extend: convex_values54.VOptional<ExtendFor<TExtend, "Group">>;
553
- }, "required", "_creationTime" | "name" | "type" | "extend" | "_id" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | "policy.identity" | "policy.extend" | `policy.extend.${string}` | "policy.version" | "policy.provisioning" | "policy.identity.accountLinking" | "policy.identity.accountLinking.saml" | "policy.identity.accountLinking.oidc" | "policy.provisioning.user" | "policy.provisioning.scimReuse" | "policy.provisioning.jit" | "policy.provisioning.deprovision" | "policy.provisioning.groups" | "policy.provisioning.roles" | "policy.provisioning.user.createOnSignIn" | "policy.provisioning.user.updateProfileOnLogin" | "policy.provisioning.user.updateProfileFromScim" | "policy.provisioning.user.authority" | "policy.provisioning.scimReuse.user" | "policy.provisioning.jit.mode" | "policy.provisioning.jit.defaultRole" | "policy.provisioning.jit.defaultRoleIds" | "policy.provisioning.deprovision.mode" | "policy.provisioning.groups.mode" | "policy.provisioning.groups.source" | "policy.provisioning.groups.mapping" | `policy.provisioning.groups.mapping.${string}` | "policy.provisioning.roles.mode" | "policy.provisioning.roles.source" | "policy.provisioning.roles.mapping" | `policy.provisioning.roles.mapping.${string}` | `extend.${convex_values54.VOptional<ExtendFor<TExtend, "Group">>["fieldPaths"]}`>; /** Single GroupMember document validator (extend-aware). */
554
- member: convex_values54.VObject<convex_server13.Expand<{ [Property_3 in "role" | "roleIds" | "status" | (convex_values54.VOptional<ExtendFor<TExtend, "GroupMember">>["isOptional"] extends "optional" ? "extend" : never)]?: Exclude<Infer<(Omit<{
555
- groupId: convex_values54.VId<convex_values54.GenericId<"Group">, "required">;
556
- userId: convex_values54.VId<convex_values54.GenericId<"User">, "required">;
557
- role: convex_values54.VString<string | undefined, "optional">;
558
- roleIds: convex_values54.VArray<string[] | undefined, convex_values54.VString<string, "required">, "optional">;
559
- status: convex_values54.VString<string | undefined, "optional">;
560
- extend: convex_values54.VAny<any, "optional", string>;
561
- _id: convex_values54.VId<convex_values54.GenericId<"GroupMember">, "required">;
562
- _creationTime: convex_values54.VFloat64<number, "required">;
555
+ extend: convex_values7.VOptional<ExtendFor<TExtend, "Group">>;
556
+ }, "required", "_creationTime" | "name" | "extend" | "type" | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | "policy.extend" | `policy.extend.${string}` | "policy.version" | "policy.identity" | "policy.provisioning" | "policy.identity.accountLinking" | "policy.identity.accountLinking.oidc" | "policy.identity.accountLinking.saml" | "policy.provisioning.user" | "policy.provisioning.scimReuse" | "policy.provisioning.jit" | "policy.provisioning.deprovision" | "policy.provisioning.groups" | "policy.provisioning.roles" | "policy.provisioning.user.createOnSignIn" | "policy.provisioning.user.updateProfileOnLogin" | "policy.provisioning.user.updateProfileFromScim" | "policy.provisioning.user.authority" | "policy.provisioning.scimReuse.user" | "policy.provisioning.jit.mode" | "policy.provisioning.jit.defaultRole" | "policy.provisioning.jit.defaultRoleIds" | "policy.provisioning.deprovision.mode" | "policy.provisioning.groups.source" | "policy.provisioning.groups.mode" | "policy.provisioning.groups.mapping" | `policy.provisioning.groups.mapping.${string}` | "policy.provisioning.roles.source" | "policy.provisioning.roles.mode" | "policy.provisioning.roles.mapping" | `policy.provisioning.roles.mapping.${string}` | "_id" | `extend.${convex_values7.VOptional<ExtendFor<TExtend, "Group">>["fieldPaths"]}`>; /** Single GroupMember document validator (extend-aware). */
557
+ member: convex_values7.VObject<convex_server13.Expand<{ [Property_3 in "status" | "role" | "roleIds" | (convex_values7.VOptional<ExtendFor<TExtend, "GroupMember">>["isOptional"] extends "optional" ? "extend" : never)]?: Exclude<Infer<(Omit<{
558
+ groupId: convex_values7.VId<convex_values7.GenericId<"Group">, "required">;
559
+ userId: convex_values7.VId<convex_values7.GenericId<"User">, "required">;
560
+ role: convex_values7.VString<string | undefined, "optional">;
561
+ roleIds: convex_values7.VArray<string[] | undefined, convex_values7.VString<string, "required">, "optional">;
562
+ status: convex_values7.VString<string | undefined, "optional">;
563
+ extend: convex_values7.VAny<any, "optional", string>;
564
+ _id: convex_values7.VId<convex_values7.GenericId<"GroupMember">, "required">;
565
+ _creationTime: convex_values7.VFloat64<number, "required">;
563
566
  }, "extend"> & {
564
- extend: convex_values54.VOptional<ExtendFor<TExtend, "GroupMember">>;
565
- })[Property_3]>, undefined> | undefined } & { [Property_1_2 in Exclude<"_creationTime", "role" | "roleIds" | "status" | (convex_values54.VOptional<ExtendFor<TExtend, "GroupMember">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"extend", "role" | "roleIds" | "status" | (convex_values54.VOptional<ExtendFor<TExtend, "GroupMember">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"_id", "role" | "roleIds" | "status" | (convex_values54.VOptional<ExtendFor<TExtend, "GroupMember">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"groupId", "role" | "roleIds" | "status" | (convex_values54.VOptional<ExtendFor<TExtend, "GroupMember">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"userId", "role" | "roleIds" | "status" | (convex_values54.VOptional<ExtendFor<TExtend, "GroupMember">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"role", "role" | "roleIds" | "status" | (convex_values54.VOptional<ExtendFor<TExtend, "GroupMember">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"roleIds", "role" | "roleIds" | "status" | (convex_values54.VOptional<ExtendFor<TExtend, "GroupMember">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"status", "role" | "roleIds" | "status" | (convex_values54.VOptional<ExtendFor<TExtend, "GroupMember">>["isOptional"] extends "optional" ? "extend" : never)>]: Infer<(Omit<{
566
- groupId: convex_values54.VId<convex_values54.GenericId<"Group">, "required">;
567
- userId: convex_values54.VId<convex_values54.GenericId<"User">, "required">;
568
- role: convex_values54.VString<string | undefined, "optional">;
569
- roleIds: convex_values54.VArray<string[] | undefined, convex_values54.VString<string, "required">, "optional">;
570
- status: convex_values54.VString<string | undefined, "optional">;
571
- extend: convex_values54.VAny<any, "optional", string>;
572
- _id: convex_values54.VId<convex_values54.GenericId<"GroupMember">, "required">;
573
- _creationTime: convex_values54.VFloat64<number, "required">;
567
+ extend: convex_values7.VOptional<ExtendFor<TExtend, "GroupMember">>;
568
+ })[Property_3]>, undefined> | undefined } & { [Property_1_2 in Exclude<"_creationTime", "status" | "role" | "roleIds" | (convex_values7.VOptional<ExtendFor<TExtend, "GroupMember">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"extend", "status" | "role" | "roleIds" | (convex_values7.VOptional<ExtendFor<TExtend, "GroupMember">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"userId", "status" | "role" | "roleIds" | (convex_values7.VOptional<ExtendFor<TExtend, "GroupMember">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"status", "status" | "role" | "roleIds" | (convex_values7.VOptional<ExtendFor<TExtend, "GroupMember">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"groupId", "status" | "role" | "roleIds" | (convex_values7.VOptional<ExtendFor<TExtend, "GroupMember">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"role", "status" | "role" | "roleIds" | (convex_values7.VOptional<ExtendFor<TExtend, "GroupMember">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"roleIds", "status" | "role" | "roleIds" | (convex_values7.VOptional<ExtendFor<TExtend, "GroupMember">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"_id", "status" | "role" | "roleIds" | (convex_values7.VOptional<ExtendFor<TExtend, "GroupMember">>["isOptional"] extends "optional" ? "extend" : never)>]: Infer<(Omit<{
569
+ groupId: convex_values7.VId<convex_values7.GenericId<"Group">, "required">;
570
+ userId: convex_values7.VId<convex_values7.GenericId<"User">, "required">;
571
+ role: convex_values7.VString<string | undefined, "optional">;
572
+ roleIds: convex_values7.VArray<string[] | undefined, convex_values7.VString<string, "required">, "optional">;
573
+ status: convex_values7.VString<string | undefined, "optional">;
574
+ extend: convex_values7.VAny<any, "optional", string>;
575
+ _id: convex_values7.VId<convex_values7.GenericId<"GroupMember">, "required">;
576
+ _creationTime: convex_values7.VFloat64<number, "required">;
574
577
  }, "extend"> & {
575
- extend: convex_values54.VOptional<ExtendFor<TExtend, "GroupMember">>;
578
+ extend: convex_values7.VOptional<ExtendFor<TExtend, "GroupMember">>;
576
579
  })[Property_1_2]> }>, Omit<{
577
- groupId: convex_values54.VId<convex_values54.GenericId<"Group">, "required">;
578
- userId: convex_values54.VId<convex_values54.GenericId<"User">, "required">;
579
- role: convex_values54.VString<string | undefined, "optional">;
580
- roleIds: convex_values54.VArray<string[] | undefined, convex_values54.VString<string, "required">, "optional">;
581
- status: convex_values54.VString<string | undefined, "optional">;
582
- extend: convex_values54.VAny<any, "optional", string>;
583
- _id: convex_values54.VId<convex_values54.GenericId<"GroupMember">, "required">;
584
- _creationTime: convex_values54.VFloat64<number, "required">;
580
+ groupId: convex_values7.VId<convex_values7.GenericId<"Group">, "required">;
581
+ userId: convex_values7.VId<convex_values7.GenericId<"User">, "required">;
582
+ role: convex_values7.VString<string | undefined, "optional">;
583
+ roleIds: convex_values7.VArray<string[] | undefined, convex_values7.VString<string, "required">, "optional">;
584
+ status: convex_values7.VString<string | undefined, "optional">;
585
+ extend: convex_values7.VAny<any, "optional", string>;
586
+ _id: convex_values7.VId<convex_values7.GenericId<"GroupMember">, "required">;
587
+ _creationTime: convex_values7.VFloat64<number, "required">;
585
588
  }, "extend"> & {
586
- extend: convex_values54.VOptional<ExtendFor<TExtend, "GroupMember">>;
587
- }, "required", "_creationTime" | "extend" | "_id" | "groupId" | "userId" | "role" | "roleIds" | "status" | `extend.${convex_values54.VOptional<ExtendFor<TExtend, "GroupMember">>["fieldPaths"]}`>; /** Single GroupInvite document validator. */
588
- invite: convex_values54.VObject<{
589
+ extend: convex_values7.VOptional<ExtendFor<TExtend, "GroupMember">>;
590
+ }, "required", "_creationTime" | "extend" | "userId" | "status" | "groupId" | "role" | "roleIds" | "_id" | `extend.${convex_values7.VOptional<ExtendFor<TExtend, "GroupMember">>["fieldPaths"]}`>; /** Single GroupInvite document validator. */
591
+ invite: convex_values7.VObject<{
589
592
  email?: string | undefined;
590
593
  extend?: any;
591
- groupId?: convex_values54.GenericId<"Group"> | undefined;
594
+ groupId?: convex_values7.GenericId<"Group"> | undefined;
592
595
  role?: string | undefined;
593
596
  roleIds?: string[] | undefined;
594
- invitedByUserId?: convex_values54.GenericId<"User"> | undefined;
597
+ invitedByUserId?: convex_values7.GenericId<"User"> | undefined;
595
598
  expiresTime?: number | undefined;
596
- acceptedByUserId?: convex_values54.GenericId<"User"> | undefined;
599
+ acceptedByUserId?: convex_values7.GenericId<"User"> | undefined;
597
600
  acceptedTime?: number | undefined;
598
601
  _creationTime: number;
599
- _id: convex_values54.GenericId<"GroupInvite">;
600
602
  status: "pending" | "accepted" | "revoked" | "expired";
601
603
  tokenHash: string;
604
+ _id: convex_values7.GenericId<"GroupInvite">;
602
605
  }, {
603
- groupId: convex_values54.VId<convex_values54.GenericId<"Group"> | undefined, "optional">;
604
- invitedByUserId: convex_values54.VId<convex_values54.GenericId<"User"> | undefined, "optional">;
605
- email: convex_values54.VString<string | undefined, "optional">;
606
- tokenHash: convex_values54.VString<string, "required">;
607
- role: convex_values54.VString<string | undefined, "optional">;
608
- roleIds: convex_values54.VArray<string[] | undefined, convex_values54.VString<string, "required">, "optional">;
609
- status: convex_values54.VUnion<"pending" | "accepted" | "revoked" | "expired", [convex_values54.VLiteral<"pending", "required">, convex_values54.VLiteral<"accepted", "required">, convex_values54.VLiteral<"revoked", "required">, convex_values54.VLiteral<"expired", "required">], "required", never>;
610
- expiresTime: convex_values54.VFloat64<number | undefined, "optional">;
611
- acceptedByUserId: convex_values54.VId<convex_values54.GenericId<"User"> | undefined, "optional">;
612
- acceptedTime: convex_values54.VFloat64<number | undefined, "optional">;
613
- extend: convex_values54.VAny<any, "optional", string>;
614
- _id: convex_values54.VId<convex_values54.GenericId<"GroupInvite">, "required">;
615
- _creationTime: convex_values54.VFloat64<number, "required">;
616
- }, "required", "email" | "_creationTime" | "extend" | "_id" | `extend.${string}` | "groupId" | "role" | "roleIds" | "status" | "invitedByUserId" | "tokenHash" | "expiresTime" | "acceptedByUserId" | "acceptedTime">; /** Single UserEmail document validator. */
617
- email: convex_values54.VObject<{
618
- provider?: string | undefined;
619
- connectionId?: convex_values54.GenericId<"GroupConnection"> | undefined;
606
+ groupId: convex_values7.VId<convex_values7.GenericId<"Group"> | undefined, "optional">;
607
+ invitedByUserId: convex_values7.VId<convex_values7.GenericId<"User"> | undefined, "optional">;
608
+ email: convex_values7.VString<string | undefined, "optional">;
609
+ tokenHash: convex_values7.VString<string, "required">;
610
+ role: convex_values7.VString<string | undefined, "optional">;
611
+ roleIds: convex_values7.VArray<string[] | undefined, convex_values7.VString<string, "required">, "optional">;
612
+ status: convex_values7.VUnion<"pending" | "accepted" | "revoked" | "expired", [convex_values7.VLiteral<"pending", "required">, convex_values7.VLiteral<"accepted", "required">, convex_values7.VLiteral<"revoked", "required">, convex_values7.VLiteral<"expired", "required">], "required", never>;
613
+ expiresTime: convex_values7.VFloat64<number | undefined, "optional">;
614
+ acceptedByUserId: convex_values7.VId<convex_values7.GenericId<"User"> | undefined, "optional">;
615
+ acceptedTime: convex_values7.VFloat64<number | undefined, "optional">;
616
+ extend: convex_values7.VAny<any, "optional", string>;
617
+ _id: convex_values7.VId<convex_values7.GenericId<"GroupInvite">, "required">;
618
+ _creationTime: convex_values7.VFloat64<number, "required">;
619
+ }, "required", "_creationTime" | "email" | "extend" | `extend.${string}` | "status" | "groupId" | "role" | "roleIds" | "invitedByUserId" | "tokenHash" | "expiresTime" | "acceptedByUserId" | "acceptedTime" | "_id">; /** Single UserEmail document validator. */
620
+ email: convex_values7.VObject<{
620
621
  verificationTime?: number | undefined;
621
- accountId?: convex_values54.GenericId<"Account"> | undefined;
622
- email: string;
622
+ accountId?: convex_values7.GenericId<"Account"> | undefined;
623
+ provider?: string | undefined;
624
+ connectionId?: convex_values7.GenericId<"GroupConnection"> | undefined;
623
625
  _creationTime: number;
624
- _id: convex_values54.GenericId<"UserEmail">;
625
- source: "saml" | "oidc" | "scim" | "password" | "oauth";
626
- userId: convex_values54.GenericId<"User">;
626
+ email: string;
627
+ userId: convex_values7.GenericId<"User">;
627
628
  isPrimary: boolean;
629
+ source: "password" | "oauth" | "oidc" | "saml" | "scim";
630
+ _id: convex_values7.GenericId<"UserEmail">;
628
631
  }, {
629
- userId: convex_values54.VId<convex_values54.GenericId<"User">, "required">;
630
- email: convex_values54.VString<string, "required">;
631
- verificationTime: convex_values54.VFloat64<number | undefined, "optional">;
632
- isPrimary: convex_values54.VBoolean<boolean, "required">;
633
- source: convex_values54.VUnion<"saml" | "oidc" | "scim" | "password" | "oauth", [convex_values54.VLiteral<"password", "required">, convex_values54.VLiteral<"oauth", "required">, convex_values54.VLiteral<"oidc", "required">, convex_values54.VLiteral<"saml", "required">, convex_values54.VLiteral<"scim", "required">], "required", never>;
634
- accountId: convex_values54.VId<convex_values54.GenericId<"Account"> | undefined, "optional">;
635
- provider: convex_values54.VString<string | undefined, "optional">;
636
- connectionId: convex_values54.VId<convex_values54.GenericId<"GroupConnection"> | undefined, "optional">;
637
- _id: convex_values54.VId<convex_values54.GenericId<"UserEmail">, "required">;
638
- _creationTime: convex_values54.VFloat64<number, "required">;
639
- }, "required", "email" | "_creationTime" | "provider" | "connectionId" | "_id" | "source" | "userId" | "verificationTime" | "isPrimary" | "accountId">; /** `User | null` — for a `viewer`/current-user query. */
640
- viewer: convex_values54.VUnion<convex_server13.Expand<{ [Property in "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)]?: Exclude<Infer<(Omit<{
641
- name: convex_values54.VString<string | undefined, "optional">;
642
- image: convex_values54.VString<string | undefined, "optional">;
643
- email: convex_values54.VString<string | undefined, "optional">;
644
- emailVerificationTime: convex_values54.VFloat64<number | undefined, "optional">;
645
- phone: convex_values54.VString<string | undefined, "optional">;
646
- phoneVerificationTime: convex_values54.VFloat64<number | undefined, "optional">;
647
- isAnonymous: convex_values54.VBoolean<boolean | undefined, "optional">;
648
- lastActiveGroup: convex_values54.VId<convex_values54.GenericId<"Group"> | undefined, "optional">;
649
- extend: convex_values54.VAny<any, "optional", string>;
650
- _id: convex_values54.VId<convex_values54.GenericId<"User">, "required">;
651
- _creationTime: convex_values54.VFloat64<number, "required">;
632
+ userId: convex_values7.VId<convex_values7.GenericId<"User">, "required">;
633
+ email: convex_values7.VString<string, "required">;
634
+ verificationTime: convex_values7.VFloat64<number | undefined, "optional">;
635
+ isPrimary: convex_values7.VBoolean<boolean, "required">;
636
+ source: convex_values7.VUnion<"password" | "oauth" | "oidc" | "saml" | "scim", [convex_values7.VLiteral<"password", "required">, convex_values7.VLiteral<"oauth", "required">, convex_values7.VLiteral<"oidc", "required">, convex_values7.VLiteral<"saml", "required">, convex_values7.VLiteral<"scim", "required">], "required", never>;
637
+ accountId: convex_values7.VId<convex_values7.GenericId<"Account"> | undefined, "optional">;
638
+ provider: convex_values7.VString<string | undefined, "optional">;
639
+ connectionId: convex_values7.VId<convex_values7.GenericId<"GroupConnection"> | undefined, "optional">;
640
+ _id: convex_values7.VId<convex_values7.GenericId<"UserEmail">, "required">;
641
+ _creationTime: convex_values7.VFloat64<number, "required">;
642
+ }, "required", "_creationTime" | "email" | "userId" | "verificationTime" | "isPrimary" | "source" | "accountId" | "provider" | "connectionId" | "_id">; /** `User | null` — for a `viewer`/current-user query. */
643
+ viewer: convex_values7.VUnion<convex_server13.Expand<{ [Property in "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)]?: Exclude<Infer<(Omit<{
644
+ name: convex_values7.VString<string | undefined, "optional">;
645
+ image: convex_values7.VString<string | undefined, "optional">;
646
+ email: convex_values7.VString<string | undefined, "optional">;
647
+ emailVerificationTime: convex_values7.VFloat64<number | undefined, "optional">;
648
+ phone: convex_values7.VString<string | undefined, "optional">;
649
+ phoneVerificationTime: convex_values7.VFloat64<number | undefined, "optional">;
650
+ isAnonymous: convex_values7.VBoolean<boolean | undefined, "optional">;
651
+ lastActiveGroup: convex_values7.VId<convex_values7.GenericId<"Group"> | undefined, "optional">;
652
+ hasTotp: convex_values7.VBoolean<boolean | undefined, "optional">;
653
+ extend: convex_values7.VAny<any, "optional", string>;
654
+ _id: convex_values7.VId<convex_values7.GenericId<"User">, "required">;
655
+ _creationTime: convex_values7.VFloat64<number, "required">;
652
656
  }, "extend"> & {
653
- extend: convex_values54.VOptional<ExtendFor<TExtend, "User">>;
654
- })[Property]>, undefined> | undefined } & { [Property_1 in Exclude<"email", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"_creationTime", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"name", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"image", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"extend", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"emailVerificationTime", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"phone", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"phoneVerificationTime", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"isAnonymous", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"lastActiveGroup", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"_id", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)>]: Infer<(Omit<{
655
- name: convex_values54.VString<string | undefined, "optional">;
656
- image: convex_values54.VString<string | undefined, "optional">;
657
- email: convex_values54.VString<string | undefined, "optional">;
658
- emailVerificationTime: convex_values54.VFloat64<number | undefined, "optional">;
659
- phone: convex_values54.VString<string | undefined, "optional">;
660
- phoneVerificationTime: convex_values54.VFloat64<number | undefined, "optional">;
661
- isAnonymous: convex_values54.VBoolean<boolean | undefined, "optional">;
662
- lastActiveGroup: convex_values54.VId<convex_values54.GenericId<"Group"> | undefined, "optional">;
663
- extend: convex_values54.VAny<any, "optional", string>;
664
- _id: convex_values54.VId<convex_values54.GenericId<"User">, "required">;
665
- _creationTime: convex_values54.VFloat64<number, "required">;
657
+ extend: convex_values7.VOptional<ExtendFor<TExtend, "User">>;
658
+ })[Property]>, undefined> | undefined } & { [Property_1 in Exclude<"_creationTime", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"name", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"email", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"phone", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"image", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"emailVerificationTime", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"phoneVerificationTime", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"isAnonymous", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"lastActiveGroup", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"hasTotp", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"extend", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"_id", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)>]: Infer<(Omit<{
659
+ name: convex_values7.VString<string | undefined, "optional">;
660
+ image: convex_values7.VString<string | undefined, "optional">;
661
+ email: convex_values7.VString<string | undefined, "optional">;
662
+ emailVerificationTime: convex_values7.VFloat64<number | undefined, "optional">;
663
+ phone: convex_values7.VString<string | undefined, "optional">;
664
+ phoneVerificationTime: convex_values7.VFloat64<number | undefined, "optional">;
665
+ isAnonymous: convex_values7.VBoolean<boolean | undefined, "optional">;
666
+ lastActiveGroup: convex_values7.VId<convex_values7.GenericId<"Group"> | undefined, "optional">;
667
+ hasTotp: convex_values7.VBoolean<boolean | undefined, "optional">;
668
+ extend: convex_values7.VAny<any, "optional", string>;
669
+ _id: convex_values7.VId<convex_values7.GenericId<"User">, "required">;
670
+ _creationTime: convex_values7.VFloat64<number, "required">;
666
671
  }, "extend"> & {
667
- extend: convex_values54.VOptional<ExtendFor<TExtend, "User">>;
668
- })[Property_1]> }> | null, [convex_values54.VObject<convex_server13.Expand<{ [Property in "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)]?: Exclude<Infer<(Omit<{
669
- name: convex_values54.VString<string | undefined, "optional">;
670
- image: convex_values54.VString<string | undefined, "optional">;
671
- email: convex_values54.VString<string | undefined, "optional">;
672
- emailVerificationTime: convex_values54.VFloat64<number | undefined, "optional">;
673
- phone: convex_values54.VString<string | undefined, "optional">;
674
- phoneVerificationTime: convex_values54.VFloat64<number | undefined, "optional">;
675
- isAnonymous: convex_values54.VBoolean<boolean | undefined, "optional">;
676
- lastActiveGroup: convex_values54.VId<convex_values54.GenericId<"Group"> | undefined, "optional">;
677
- extend: convex_values54.VAny<any, "optional", string>;
678
- _id: convex_values54.VId<convex_values54.GenericId<"User">, "required">;
679
- _creationTime: convex_values54.VFloat64<number, "required">;
672
+ extend: convex_values7.VOptional<ExtendFor<TExtend, "User">>;
673
+ })[Property_1]> }> | null, [convex_values7.VObject<convex_server13.Expand<{ [Property in "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)]?: Exclude<Infer<(Omit<{
674
+ name: convex_values7.VString<string | undefined, "optional">;
675
+ image: convex_values7.VString<string | undefined, "optional">;
676
+ email: convex_values7.VString<string | undefined, "optional">;
677
+ emailVerificationTime: convex_values7.VFloat64<number | undefined, "optional">;
678
+ phone: convex_values7.VString<string | undefined, "optional">;
679
+ phoneVerificationTime: convex_values7.VFloat64<number | undefined, "optional">;
680
+ isAnonymous: convex_values7.VBoolean<boolean | undefined, "optional">;
681
+ lastActiveGroup: convex_values7.VId<convex_values7.GenericId<"Group"> | undefined, "optional">;
682
+ hasTotp: convex_values7.VBoolean<boolean | undefined, "optional">;
683
+ extend: convex_values7.VAny<any, "optional", string>;
684
+ _id: convex_values7.VId<convex_values7.GenericId<"User">, "required">;
685
+ _creationTime: convex_values7.VFloat64<number, "required">;
680
686
  }, "extend"> & {
681
- extend: convex_values54.VOptional<ExtendFor<TExtend, "User">>;
682
- })[Property]>, undefined> | undefined } & { [Property_1 in Exclude<"email", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"_creationTime", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"name", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"image", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"extend", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"emailVerificationTime", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"phone", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"phoneVerificationTime", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"isAnonymous", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"lastActiveGroup", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"_id", "email" | "name" | "image" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | (convex_values54.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)>]: Infer<(Omit<{
683
- name: convex_values54.VString<string | undefined, "optional">;
684
- image: convex_values54.VString<string | undefined, "optional">;
685
- email: convex_values54.VString<string | undefined, "optional">;
686
- emailVerificationTime: convex_values54.VFloat64<number | undefined, "optional">;
687
- phone: convex_values54.VString<string | undefined, "optional">;
688
- phoneVerificationTime: convex_values54.VFloat64<number | undefined, "optional">;
689
- isAnonymous: convex_values54.VBoolean<boolean | undefined, "optional">;
690
- lastActiveGroup: convex_values54.VId<convex_values54.GenericId<"Group"> | undefined, "optional">;
691
- extend: convex_values54.VAny<any, "optional", string>;
692
- _id: convex_values54.VId<convex_values54.GenericId<"User">, "required">;
693
- _creationTime: convex_values54.VFloat64<number, "required">;
687
+ extend: convex_values7.VOptional<ExtendFor<TExtend, "User">>;
688
+ })[Property]>, undefined> | undefined } & { [Property_1 in Exclude<"_creationTime", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"name", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"email", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"phone", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"image", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"emailVerificationTime", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"phoneVerificationTime", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"isAnonymous", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"lastActiveGroup", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"hasTotp", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"extend", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)> | Exclude<"_id", "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | (convex_values7.VOptional<ExtendFor<TExtend, "User">>["isOptional"] extends "optional" ? "extend" : never)>]: Infer<(Omit<{
689
+ name: convex_values7.VString<string | undefined, "optional">;
690
+ image: convex_values7.VString<string | undefined, "optional">;
691
+ email: convex_values7.VString<string | undefined, "optional">;
692
+ emailVerificationTime: convex_values7.VFloat64<number | undefined, "optional">;
693
+ phone: convex_values7.VString<string | undefined, "optional">;
694
+ phoneVerificationTime: convex_values7.VFloat64<number | undefined, "optional">;
695
+ isAnonymous: convex_values7.VBoolean<boolean | undefined, "optional">;
696
+ lastActiveGroup: convex_values7.VId<convex_values7.GenericId<"Group"> | undefined, "optional">;
697
+ hasTotp: convex_values7.VBoolean<boolean | undefined, "optional">;
698
+ extend: convex_values7.VAny<any, "optional", string>;
699
+ _id: convex_values7.VId<convex_values7.GenericId<"User">, "required">;
700
+ _creationTime: convex_values7.VFloat64<number, "required">;
694
701
  }, "extend"> & {
695
- extend: convex_values54.VOptional<ExtendFor<TExtend, "User">>;
702
+ extend: convex_values7.VOptional<ExtendFor<TExtend, "User">>;
696
703
  })[Property_1]> }>, Omit<{
697
- name: convex_values54.VString<string | undefined, "optional">;
698
- image: convex_values54.VString<string | undefined, "optional">;
699
- email: convex_values54.VString<string | undefined, "optional">;
700
- emailVerificationTime: convex_values54.VFloat64<number | undefined, "optional">;
701
- phone: convex_values54.VString<string | undefined, "optional">;
702
- phoneVerificationTime: convex_values54.VFloat64<number | undefined, "optional">;
703
- isAnonymous: convex_values54.VBoolean<boolean | undefined, "optional">;
704
- lastActiveGroup: convex_values54.VId<convex_values54.GenericId<"Group"> | undefined, "optional">;
705
- extend: convex_values54.VAny<any, "optional", string>;
706
- _id: convex_values54.VId<convex_values54.GenericId<"User">, "required">;
707
- _creationTime: convex_values54.VFloat64<number, "required">;
704
+ name: convex_values7.VString<string | undefined, "optional">;
705
+ image: convex_values7.VString<string | undefined, "optional">;
706
+ email: convex_values7.VString<string | undefined, "optional">;
707
+ emailVerificationTime: convex_values7.VFloat64<number | undefined, "optional">;
708
+ phone: convex_values7.VString<string | undefined, "optional">;
709
+ phoneVerificationTime: convex_values7.VFloat64<number | undefined, "optional">;
710
+ isAnonymous: convex_values7.VBoolean<boolean | undefined, "optional">;
711
+ lastActiveGroup: convex_values7.VId<convex_values7.GenericId<"Group"> | undefined, "optional">;
712
+ hasTotp: convex_values7.VBoolean<boolean | undefined, "optional">;
713
+ extend: convex_values7.VAny<any, "optional", string>;
714
+ _id: convex_values7.VId<convex_values7.GenericId<"User">, "required">;
715
+ _creationTime: convex_values7.VFloat64<number, "required">;
708
716
  }, "extend"> & {
709
- extend: convex_values54.VOptional<ExtendFor<TExtend, "User">>;
710
- }, "required", "email" | "_creationTime" | "name" | "image" | "extend" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "_id" | `extend.${convex_values54.VOptional<ExtendFor<TExtend, "User">>["fieldPaths"]}`>, convex_values54.VNull<null, "required">], "required", "email" | "_creationTime" | "name" | "image" | "extend" | "emailVerificationTime" | "phone" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "_id" | `extend.${convex_values54.VOptional<ExtendFor<TExtend, "User">>["fieldPaths"]}`>; /** Wrap any item validator in the `{ items, nextCursor }` page shape. */
711
- list: <V extends Validator<any, any, any>>(item: V) => convex_values54.VObject<{
717
+ extend: convex_values7.VOptional<ExtendFor<TExtend, "User">>;
718
+ }, "required", "_creationTime" | "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | "extend" | "_id" | `extend.${convex_values7.VOptional<ExtendFor<TExtend, "User">>["fieldPaths"]}`>, convex_values7.VNull<null, "required">], "required", "_creationTime" | "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | "extend" | "_id" | `extend.${convex_values7.VOptional<ExtendFor<TExtend, "User">>["fieldPaths"]}`>; /** Wrap any item validator in the `{ items, nextCursor }` page shape. */
719
+ list: <V extends Validator<any, any, any>>(item: V) => convex_values7.VObject<{
712
720
  items: V["type"][];
713
721
  nextCursor: string | null;
714
722
  }, {
715
- items: convex_values54.VArray<V["type"][], V, "required">;
716
- nextCursor: convex_values54.VUnion<string | null, [convex_values54.VString<string, "required">, convex_values54.VNull<null, "required">], "required", never>;
723
+ items: convex_values7.VArray<V["type"][], V, "required">;
724
+ nextCursor: convex_values7.VUnion<string | null, [convex_values7.VString<string, "required">, convex_values7.VNull<null, "required">], "required", never>;
717
725
  }, "required", "items" | "nextCursor">;
718
726
  };
719
727
  /**