@objectstack/plugin-auth 4.0.2 → 4.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { Plugin, PluginContext, IDataEngine } from '@objectstack/core';
2
2
  import { AuthConfig } from '@objectstack/spec/system';
3
3
  export { AuthConfig, AuthPluginConfig, AuthProviderConfig } from '@objectstack/spec/system';
4
+ import * as zod_v4_core from 'zod/v4/core';
4
5
  import * as better_auth from 'better-auth';
5
6
  import { Auth } from 'better-auth';
6
7
  import * as better_auth_adapters from 'better-auth/adapters';
@@ -181,7 +182,7 @@ declare class AuthManager {
181
182
  * Get the better-auth API for programmatic access
182
183
  * Use this for server-side operations (e.g., creating users, checking sessions)
183
184
  */
184
- get api(): better_auth.InferAPI<{
185
+ get api(): better_auth.InferAPI<better_auth.Prettify<{
185
186
  readonly ok: better_auth.StrictEndpoint<"/ok", {
186
187
  method: "GET";
187
188
  metadata: {
@@ -241,7 +242,7 @@ declare class AuthManager {
241
242
  callbackURL: better_auth.ZodOptional<better_auth.ZodString>;
242
243
  newUserCallbackURL: better_auth.ZodOptional<better_auth.ZodString>;
243
244
  errorCallbackURL: better_auth.ZodOptional<better_auth.ZodString>;
244
- provider: better_auth.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, better_auth.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
245
+ provider: better_auth.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
245
246
  disableRedirect: better_auth.ZodOptional<better_auth.ZodBoolean>;
246
247
  idToken: better_auth.ZodOptional<better_auth.ZodObject<{
247
248
  token: better_auth.ZodString;
@@ -253,42 +254,42 @@ declare class AuthManager {
253
254
  name: better_auth.ZodOptional<better_auth.ZodObject<{
254
255
  firstName: better_auth.ZodOptional<better_auth.ZodString>;
255
256
  lastName: better_auth.ZodOptional<better_auth.ZodString>;
256
- }, better_auth.$strip>>;
257
+ }, zod_v4_core.$strip>>;
257
258
  email: better_auth.ZodOptional<better_auth.ZodString>;
258
- }, better_auth.$strip>>;
259
- }, better_auth.$strip>>;
259
+ }, zod_v4_core.$strip>>;
260
+ }, zod_v4_core.$strip>>;
260
261
  scopes: better_auth.ZodOptional<better_auth.ZodArray<better_auth.ZodString>>;
261
262
  requestSignUp: better_auth.ZodOptional<better_auth.ZodBoolean>;
262
263
  loginHint: better_auth.ZodOptional<better_auth.ZodString>;
263
264
  additionalData: better_auth.ZodOptional<better_auth.ZodRecord<better_auth.ZodString, better_auth.ZodAny>>;
264
- }, better_auth.$strip>;
265
+ }, zod_v4_core.$strip>;
265
266
  metadata: {
266
267
  $Infer: {
267
- body: better_auth.infer<better_auth.ZodObject<{
268
- callbackURL: better_auth.ZodOptional<better_auth.ZodString>;
269
- newUserCallbackURL: better_auth.ZodOptional<better_auth.ZodString>;
270
- errorCallbackURL: better_auth.ZodOptional<better_auth.ZodString>;
271
- provider: better_auth.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, better_auth.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
272
- disableRedirect: better_auth.ZodOptional<better_auth.ZodBoolean>;
273
- idToken: better_auth.ZodOptional<better_auth.ZodObject<{
274
- token: better_auth.ZodString;
275
- nonce: better_auth.ZodOptional<better_auth.ZodString>;
276
- accessToken: better_auth.ZodOptional<better_auth.ZodString>;
277
- refreshToken: better_auth.ZodOptional<better_auth.ZodString>;
278
- expiresAt: better_auth.ZodOptional<better_auth.ZodNumber>;
279
- user: better_auth.ZodOptional<better_auth.ZodObject<{
280
- name: better_auth.ZodOptional<better_auth.ZodObject<{
281
- firstName: better_auth.ZodOptional<better_auth.ZodString>;
282
- lastName: better_auth.ZodOptional<better_auth.ZodString>;
283
- }, better_auth.$strip>>;
284
- email: better_auth.ZodOptional<better_auth.ZodString>;
285
- }, better_auth.$strip>>;
286
- }, better_auth.$strip>>;
287
- scopes: better_auth.ZodOptional<better_auth.ZodArray<better_auth.ZodString>>;
288
- requestSignUp: better_auth.ZodOptional<better_auth.ZodBoolean>;
289
- loginHint: better_auth.ZodOptional<better_auth.ZodString>;
290
- additionalData: better_auth.ZodOptional<better_auth.ZodRecord<better_auth.ZodString, better_auth.ZodAny>>;
291
- }, better_auth.$strip>>;
268
+ body: {
269
+ provider: "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat" | (string & {});
270
+ callbackURL?: string | undefined;
271
+ newUserCallbackURL?: string | undefined;
272
+ errorCallbackURL?: string | undefined;
273
+ disableRedirect?: boolean | undefined;
274
+ idToken?: {
275
+ token: string;
276
+ nonce?: string | undefined;
277
+ accessToken?: string | undefined;
278
+ refreshToken?: string | undefined;
279
+ expiresAt?: number | undefined;
280
+ user?: {
281
+ name?: {
282
+ firstName?: string | undefined;
283
+ lastName?: string | undefined;
284
+ } | undefined;
285
+ email?: string | undefined;
286
+ } | undefined;
287
+ } | undefined;
288
+ scopes?: string[] | undefined;
289
+ requestSignUp?: boolean | undefined;
290
+ loginHint?: string | undefined;
291
+ additionalData?: Record<string, any> | undefined;
292
+ };
292
293
  returned: {
293
294
  redirect: boolean;
294
295
  token?: string | undefined;
@@ -388,7 +389,7 @@ declare class AuthManager {
388
389
  error_description: better_auth.ZodOptional<better_auth.ZodString>;
389
390
  state: better_auth.ZodOptional<better_auth.ZodString>;
390
391
  user: better_auth.ZodOptional<better_auth.ZodString>;
391
- }, better_auth.$strip>>;
392
+ }, zod_v4_core.$strip>>;
392
393
  query: better_auth.ZodOptional<better_auth.ZodObject<{
393
394
  code: better_auth.ZodOptional<better_auth.ZodString>;
394
395
  error: better_auth.ZodOptional<better_auth.ZodString>;
@@ -396,7 +397,7 @@ declare class AuthManager {
396
397
  error_description: better_auth.ZodOptional<better_auth.ZodString>;
397
398
  state: better_auth.ZodOptional<better_auth.ZodString>;
398
399
  user: better_auth.ZodOptional<better_auth.ZodString>;
399
- }, better_auth.$strip>>;
400
+ }, zod_v4_core.$strip>>;
400
401
  metadata: {
401
402
  allowedMediaTypes: string[];
402
403
  scope: "server";
@@ -408,7 +409,7 @@ declare class AuthManager {
408
409
  query: better_auth.ZodOptional<better_auth.ZodObject<{
409
410
  disableCookieCache: better_auth.ZodOptional<better_auth.ZodCoercedBoolean<unknown>>;
410
411
  disableRefresh: better_auth.ZodOptional<better_auth.ZodCoercedBoolean<unknown>>;
411
- }, better_auth.$strip>>;
412
+ }, zod_v4_core.$strip>>;
412
413
  requireHeaders: true;
413
414
  metadata: {
414
415
  openapi: {
@@ -523,7 +524,7 @@ declare class AuthManager {
523
524
  image: better_auth.ZodOptional<better_auth.ZodString>;
524
525
  callbackURL: better_auth.ZodOptional<better_auth.ZodString>;
525
526
  rememberMe: better_auth.ZodOptional<better_auth.ZodBoolean>;
526
- }, better_auth.$strip>, better_auth.ZodRecord<better_auth.ZodString, better_auth.ZodAny>>;
527
+ }, zod_v4_core.$strip>, better_auth.ZodRecord<better_auth.ZodString, better_auth.ZodAny>>;
527
528
  metadata: {
528
529
  allowedMediaTypes: string[];
529
530
  $Infer: {
@@ -743,7 +744,7 @@ declare class AuthManager {
743
744
  password: better_auth.ZodString;
744
745
  callbackURL: better_auth.ZodOptional<better_auth.ZodString>;
745
746
  rememberMe: better_auth.ZodOptional<better_auth.ZodDefault<better_auth.ZodBoolean>>;
746
- }, better_auth.$strip>;
747
+ }, zod_v4_core.$strip>;
747
748
  metadata: {
748
749
  allowedMediaTypes: string[];
749
750
  $Infer: {
@@ -846,11 +847,11 @@ declare class AuthManager {
846
847
  operationId: string;
847
848
  query: better_auth.ZodOptional<better_auth.ZodObject<{
848
849
  token: better_auth.ZodOptional<better_auth.ZodString>;
849
- }, better_auth.$strip>>;
850
+ }, zod_v4_core.$strip>>;
850
851
  body: better_auth.ZodObject<{
851
852
  newPassword: better_auth.ZodString;
852
853
  token: better_auth.ZodOptional<better_auth.ZodString>;
853
- }, better_auth.$strip>;
854
+ }, zod_v4_core.$strip>;
854
855
  metadata: {
855
856
  openapi: {
856
857
  operationId: string;
@@ -881,7 +882,7 @@ declare class AuthManager {
881
882
  method: "POST";
882
883
  body: better_auth.ZodObject<{
883
884
  password: better_auth.ZodString;
884
- }, better_auth.$strip>;
885
+ }, zod_v4_core.$strip>;
885
886
  metadata: {
886
887
  scope: "server";
887
888
  openapi: {
@@ -938,7 +939,7 @@ declare class AuthManager {
938
939
  query: better_auth.ZodObject<{
939
940
  token: better_auth.ZodString;
940
941
  callbackURL: better_auth.ZodOptional<better_auth.ZodString>;
941
- }, better_auth.$strip>;
942
+ }, zod_v4_core.$strip>;
942
943
  use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<void>)[];
943
944
  metadata: {
944
945
  openapi: {
@@ -994,7 +995,7 @@ declare class AuthManager {
994
995
  body: better_auth.ZodObject<{
995
996
  email: better_auth.ZodEmail;
996
997
  callbackURL: better_auth.ZodOptional<better_auth.ZodString>;
997
- }, better_auth.$strip>;
998
+ }, zod_v4_core.$strip>;
998
999
  metadata: {
999
1000
  openapi: {
1000
1001
  operationId: string;
@@ -1068,7 +1069,7 @@ declare class AuthManager {
1068
1069
  body: better_auth.ZodObject<{
1069
1070
  newEmail: better_auth.ZodEmail;
1070
1071
  callbackURL: better_auth.ZodOptional<better_auth.ZodString>;
1071
- }, better_auth.$strip>;
1072
+ }, zod_v4_core.$strip>;
1072
1073
  use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
1073
1074
  session: {
1074
1075
  session: Record<string, any> & {
@@ -1136,7 +1137,7 @@ declare class AuthManager {
1136
1137
  newPassword: better_auth.ZodString;
1137
1138
  currentPassword: better_auth.ZodString;
1138
1139
  revokeOtherSessions: better_auth.ZodOptional<better_auth.ZodBoolean>;
1139
- }, better_auth.$strip>;
1140
+ }, zod_v4_core.$strip>;
1140
1141
  use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
1141
1142
  session: {
1142
1143
  session: Record<string, any> & {
@@ -1249,7 +1250,7 @@ declare class AuthManager {
1249
1250
  method: "POST";
1250
1251
  body: better_auth.ZodObject<{
1251
1252
  newPassword: better_auth.ZodString;
1252
- }, better_auth.$strip>;
1253
+ }, zod_v4_core.$strip>;
1253
1254
  use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
1254
1255
  session: {
1255
1256
  session: Record<string, any> & {
@@ -1451,7 +1452,7 @@ declare class AuthManager {
1451
1452
  callbackURL: better_auth.ZodOptional<better_auth.ZodString>;
1452
1453
  password: better_auth.ZodOptional<better_auth.ZodString>;
1453
1454
  token: better_auth.ZodOptional<better_auth.ZodString>;
1454
- }, better_auth.$strip>;
1455
+ }, zod_v4_core.$strip>;
1455
1456
  metadata: {
1456
1457
  openapi: {
1457
1458
  operationId: string;
@@ -1514,7 +1515,7 @@ declare class AuthManager {
1514
1515
  body: better_auth.ZodObject<{
1515
1516
  email: better_auth.ZodEmail;
1516
1517
  redirectTo: better_auth.ZodOptional<better_auth.ZodString>;
1517
- }, better_auth.$strip>;
1518
+ }, zod_v4_core.$strip>;
1518
1519
  metadata: {
1519
1520
  openapi: {
1520
1521
  operationId: string;
@@ -1551,7 +1552,7 @@ declare class AuthManager {
1551
1552
  operationId: string;
1552
1553
  query: better_auth.ZodObject<{
1553
1554
  callbackURL: better_auth.ZodString;
1554
- }, better_auth.$strip>;
1555
+ }, zod_v4_core.$strip>;
1555
1556
  use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<void>)[];
1556
1557
  metadata: {
1557
1558
  openapi: {
@@ -1668,7 +1669,7 @@ declare class AuthManager {
1668
1669
  method: "POST";
1669
1670
  body: better_auth.ZodObject<{
1670
1671
  token: better_auth.ZodString;
1671
- }, better_auth.$strip>;
1672
+ }, zod_v4_core.$strip>;
1672
1673
  use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
1673
1674
  session: {
1674
1675
  session: Record<string, any> & {
@@ -1847,20 +1848,20 @@ declare class AuthManager {
1847
1848
  requireHeaders: true;
1848
1849
  body: better_auth.ZodObject<{
1849
1850
  callbackURL: better_auth.ZodOptional<better_auth.ZodString>;
1850
- provider: better_auth.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, better_auth.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
1851
+ provider: better_auth.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
1851
1852
  idToken: better_auth.ZodOptional<better_auth.ZodObject<{
1852
1853
  token: better_auth.ZodString;
1853
1854
  nonce: better_auth.ZodOptional<better_auth.ZodString>;
1854
1855
  accessToken: better_auth.ZodOptional<better_auth.ZodString>;
1855
1856
  refreshToken: better_auth.ZodOptional<better_auth.ZodString>;
1856
1857
  scopes: better_auth.ZodOptional<better_auth.ZodArray<better_auth.ZodString>>;
1857
- }, better_auth.$strip>>;
1858
+ }, zod_v4_core.$strip>>;
1858
1859
  requestSignUp: better_auth.ZodOptional<better_auth.ZodBoolean>;
1859
1860
  scopes: better_auth.ZodOptional<better_auth.ZodArray<better_auth.ZodString>>;
1860
1861
  errorCallbackURL: better_auth.ZodOptional<better_auth.ZodString>;
1861
1862
  disableRedirect: better_auth.ZodOptional<better_auth.ZodBoolean>;
1862
1863
  additionalData: better_auth.ZodOptional<better_auth.ZodRecord<better_auth.ZodString, better_auth.ZodAny>>;
1863
- }, better_auth.$strip>;
1864
+ }, zod_v4_core.$strip>;
1864
1865
  use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
1865
1866
  session: {
1866
1867
  session: Record<string, any> & {
@@ -2009,7 +2010,7 @@ declare class AuthManager {
2009
2010
  query: better_auth.ZodObject<{
2010
2011
  token: better_auth.ZodString;
2011
2012
  callbackURL: better_auth.ZodOptional<better_auth.ZodString>;
2012
- }, better_auth.$strip>;
2013
+ }, zod_v4_core.$strip>;
2013
2014
  use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<void>)[];
2014
2015
  metadata: {
2015
2016
  openapi: {
@@ -2049,7 +2050,7 @@ declare class AuthManager {
2049
2050
  body: better_auth.ZodObject<{
2050
2051
  providerId: better_auth.ZodString;
2051
2052
  accountId: better_auth.ZodOptional<better_auth.ZodString>;
2052
- }, better_auth.$strip>;
2053
+ }, zod_v4_core.$strip>;
2053
2054
  use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
2054
2055
  session: {
2055
2056
  session: Record<string, any> & {
@@ -2104,7 +2105,7 @@ declare class AuthManager {
2104
2105
  providerId: better_auth.ZodString;
2105
2106
  accountId: better_auth.ZodOptional<better_auth.ZodString>;
2106
2107
  userId: better_auth.ZodOptional<better_auth.ZodString>;
2107
- }, better_auth.$strip>;
2108
+ }, zod_v4_core.$strip>;
2108
2109
  metadata: {
2109
2110
  openapi: {
2110
2111
  description: string;
@@ -2163,7 +2164,7 @@ declare class AuthManager {
2163
2164
  providerId: better_auth.ZodString;
2164
2165
  accountId: better_auth.ZodOptional<better_auth.ZodString>;
2165
2166
  userId: better_auth.ZodOptional<better_auth.ZodString>;
2166
- }, better_auth.$strip>;
2167
+ }, zod_v4_core.$strip>;
2167
2168
  metadata: {
2168
2169
  openapi: {
2169
2170
  description: string;
@@ -2279,12 +2280,39 @@ declare class AuthManager {
2279
2280
  };
2280
2281
  query: better_auth.ZodOptional<better_auth.ZodObject<{
2281
2282
  accountId: better_auth.ZodOptional<better_auth.ZodString>;
2282
- }, better_auth.$strip>>;
2283
+ }, zod_v4_core.$strip>>;
2283
2284
  }, {
2284
2285
  user: better_auth.OAuth2UserInfo;
2285
2286
  data: Record<string, any>;
2286
2287
  } | null>;
2287
- }>;
2288
+ }>>;
2289
+ /**
2290
+ * Get public authentication configuration
2291
+ * Returns safe, non-sensitive configuration that can be exposed to the frontend
2292
+ *
2293
+ * This allows the frontend to discover:
2294
+ * - Which social/OAuth providers are available
2295
+ * - Whether email/password login is enabled
2296
+ * - Which advanced features are enabled (2FA, magic links, etc.)
2297
+ */
2298
+ getPublicConfig(): {
2299
+ emailPassword: {
2300
+ enabled: boolean;
2301
+ disableSignUp: boolean;
2302
+ requireEmailVerification: boolean;
2303
+ };
2304
+ socialProviders: {
2305
+ id: string;
2306
+ name: string;
2307
+ enabled: boolean;
2308
+ }[];
2309
+ features: {
2310
+ twoFactor: boolean;
2311
+ passkeys: boolean;
2312
+ magicLink: boolean;
2313
+ organization: boolean;
2314
+ };
2315
+ };
2288
2316
  }
2289
2317
 
2290
2318
  /**
@@ -2746,7 +2774,7 @@ declare const SysUser: Omit<{
2746
2774
  abstract: boolean;
2747
2775
  datasource: string;
2748
2776
  fields: Record<string, {
2749
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
2777
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
2750
2778
  required: boolean;
2751
2779
  searchable: boolean;
2752
2780
  multiple: boolean;
@@ -2805,7 +2833,7 @@ declare const SysUser: Omit<{
2805
2833
  allowScanning?: boolean | undefined;
2806
2834
  currencyConfig?: {
2807
2835
  precision: number;
2808
- currencyMode: "fixed" | "dynamic";
2836
+ currencyMode: "dynamic" | "fixed";
2809
2837
  defaultCurrency: string;
2810
2838
  } | undefined;
2811
2839
  vectorConfig?: {
@@ -3007,7 +3035,7 @@ declare const SysUser: Omit<{
3007
3035
  actions?: {
3008
3036
  name: string;
3009
3037
  label: string;
3010
- type: "url" | "script" | "modal" | "flow" | "api";
3038
+ type: "url" | "flow" | "api" | "script" | "modal";
3011
3039
  refreshAfter: boolean;
3012
3040
  objectName?: string | undefined;
3013
3041
  icon?: string | undefined;
@@ -4197,7 +4225,7 @@ declare const SysSession: Omit<{
4197
4225
  abstract: boolean;
4198
4226
  datasource: string;
4199
4227
  fields: Record<string, {
4200
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
4228
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
4201
4229
  required: boolean;
4202
4230
  searchable: boolean;
4203
4231
  multiple: boolean;
@@ -4256,7 +4284,7 @@ declare const SysSession: Omit<{
4256
4284
  allowScanning?: boolean | undefined;
4257
4285
  currencyConfig?: {
4258
4286
  precision: number;
4259
- currencyMode: "fixed" | "dynamic";
4287
+ currencyMode: "dynamic" | "fixed";
4260
4288
  defaultCurrency: string;
4261
4289
  } | undefined;
4262
4290
  vectorConfig?: {
@@ -4458,7 +4486,7 @@ declare const SysSession: Omit<{
4458
4486
  actions?: {
4459
4487
  name: string;
4460
4488
  label: string;
4461
- type: "url" | "script" | "modal" | "flow" | "api";
4489
+ type: "url" | "flow" | "api" | "script" | "modal";
4462
4490
  refreshAfter: boolean;
4463
4491
  objectName?: string | undefined;
4464
4492
  icon?: string | undefined;
@@ -5801,7 +5829,7 @@ declare const SysAccount: Omit<{
5801
5829
  abstract: boolean;
5802
5830
  datasource: string;
5803
5831
  fields: Record<string, {
5804
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
5832
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
5805
5833
  required: boolean;
5806
5834
  searchable: boolean;
5807
5835
  multiple: boolean;
@@ -5860,7 +5888,7 @@ declare const SysAccount: Omit<{
5860
5888
  allowScanning?: boolean | undefined;
5861
5889
  currencyConfig?: {
5862
5890
  precision: number;
5863
- currencyMode: "fixed" | "dynamic";
5891
+ currencyMode: "dynamic" | "fixed";
5864
5892
  defaultCurrency: string;
5865
5893
  } | undefined;
5866
5894
  vectorConfig?: {
@@ -6062,7 +6090,7 @@ declare const SysAccount: Omit<{
6062
6090
  actions?: {
6063
6091
  name: string;
6064
6092
  label: string;
6065
- type: "url" | "script" | "modal" | "flow" | "api";
6093
+ type: "url" | "flow" | "api" | "script" | "modal";
6066
6094
  refreshAfter: boolean;
6067
6095
  objectName?: string | undefined;
6068
6096
  icon?: string | undefined;
@@ -8192,7 +8220,7 @@ declare const SysVerification: Omit<{
8192
8220
  abstract: boolean;
8193
8221
  datasource: string;
8194
8222
  fields: Record<string, {
8195
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
8223
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
8196
8224
  required: boolean;
8197
8225
  searchable: boolean;
8198
8226
  multiple: boolean;
@@ -8251,7 +8279,7 @@ declare const SysVerification: Omit<{
8251
8279
  allowScanning?: boolean | undefined;
8252
8280
  currencyConfig?: {
8253
8281
  precision: number;
8254
- currencyMode: "fixed" | "dynamic";
8282
+ currencyMode: "dynamic" | "fixed";
8255
8283
  defaultCurrency: string;
8256
8284
  } | undefined;
8257
8285
  vectorConfig?: {
@@ -8453,7 +8481,7 @@ declare const SysVerification: Omit<{
8453
8481
  actions?: {
8454
8482
  name: string;
8455
8483
  label: string;
8456
- type: "url" | "script" | "modal" | "flow" | "api";
8484
+ type: "url" | "flow" | "api" | "script" | "modal";
8457
8485
  refreshAfter: boolean;
8458
8486
  objectName?: string | undefined;
8459
8487
  icon?: string | undefined;
@@ -9480,7 +9508,7 @@ declare const SysOrganization: Omit<{
9480
9508
  abstract: boolean;
9481
9509
  datasource: string;
9482
9510
  fields: Record<string, {
9483
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
9511
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
9484
9512
  required: boolean;
9485
9513
  searchable: boolean;
9486
9514
  multiple: boolean;
@@ -9539,7 +9567,7 @@ declare const SysOrganization: Omit<{
9539
9567
  allowScanning?: boolean | undefined;
9540
9568
  currencyConfig?: {
9541
9569
  precision: number;
9542
- currencyMode: "fixed" | "dynamic";
9570
+ currencyMode: "dynamic" | "fixed";
9543
9571
  defaultCurrency: string;
9544
9572
  } | undefined;
9545
9573
  vectorConfig?: {
@@ -9741,7 +9769,7 @@ declare const SysOrganization: Omit<{
9741
9769
  actions?: {
9742
9770
  name: string;
9743
9771
  label: string;
9744
- type: "url" | "script" | "modal" | "flow" | "api";
9772
+ type: "url" | "flow" | "api" | "script" | "modal";
9745
9773
  refreshAfter: boolean;
9746
9774
  objectName?: string | undefined;
9747
9775
  icon?: string | undefined;
@@ -10922,7 +10950,7 @@ declare const SysMember: Omit<{
10922
10950
  abstract: boolean;
10923
10951
  datasource: string;
10924
10952
  fields: Record<string, {
10925
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
10953
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
10926
10954
  required: boolean;
10927
10955
  searchable: boolean;
10928
10956
  multiple: boolean;
@@ -10981,7 +11009,7 @@ declare const SysMember: Omit<{
10981
11009
  allowScanning?: boolean | undefined;
10982
11010
  currencyConfig?: {
10983
11011
  precision: number;
10984
- currencyMode: "fixed" | "dynamic";
11012
+ currencyMode: "dynamic" | "fixed";
10985
11013
  defaultCurrency: string;
10986
11014
  } | undefined;
10987
11015
  vectorConfig?: {
@@ -11183,7 +11211,7 @@ declare const SysMember: Omit<{
11183
11211
  actions?: {
11184
11212
  name: string;
11185
11213
  label: string;
11186
- type: "url" | "script" | "modal" | "flow" | "api";
11214
+ type: "url" | "flow" | "api" | "script" | "modal";
11187
11215
  refreshAfter: boolean;
11188
11216
  objectName?: string | undefined;
11189
11217
  icon?: string | undefined;
@@ -12048,7 +12076,7 @@ declare const SysInvitation: Omit<{
12048
12076
  abstract: boolean;
12049
12077
  datasource: string;
12050
12078
  fields: Record<string, {
12051
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
12079
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
12052
12080
  required: boolean;
12053
12081
  searchable: boolean;
12054
12082
  multiple: boolean;
@@ -12107,7 +12135,7 @@ declare const SysInvitation: Omit<{
12107
12135
  allowScanning?: boolean | undefined;
12108
12136
  currencyConfig?: {
12109
12137
  precision: number;
12110
- currencyMode: "fixed" | "dynamic";
12138
+ currencyMode: "dynamic" | "fixed";
12111
12139
  defaultCurrency: string;
12112
12140
  } | undefined;
12113
12141
  vectorConfig?: {
@@ -12309,7 +12337,7 @@ declare const SysInvitation: Omit<{
12309
12337
  actions?: {
12310
12338
  name: string;
12311
12339
  label: string;
12312
- type: "url" | "script" | "modal" | "flow" | "api";
12340
+ type: "url" | "flow" | "api" | "script" | "modal";
12313
12341
  refreshAfter: boolean;
12314
12342
  objectName?: string | undefined;
12315
12343
  icon?: string | undefined;
@@ -13807,7 +13835,7 @@ declare const SysTeam: Omit<{
13807
13835
  abstract: boolean;
13808
13836
  datasource: string;
13809
13837
  fields: Record<string, {
13810
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
13838
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
13811
13839
  required: boolean;
13812
13840
  searchable: boolean;
13813
13841
  multiple: boolean;
@@ -13866,7 +13894,7 @@ declare const SysTeam: Omit<{
13866
13894
  allowScanning?: boolean | undefined;
13867
13895
  currencyConfig?: {
13868
13896
  precision: number;
13869
- currencyMode: "fixed" | "dynamic";
13897
+ currencyMode: "dynamic" | "fixed";
13870
13898
  defaultCurrency: string;
13871
13899
  } | undefined;
13872
13900
  vectorConfig?: {
@@ -14068,7 +14096,7 @@ declare const SysTeam: Omit<{
14068
14096
  actions?: {
14069
14097
  name: string;
14070
14098
  label: string;
14071
- type: "url" | "script" | "modal" | "flow" | "api";
14099
+ type: "url" | "flow" | "api" | "script" | "modal";
14072
14100
  refreshAfter: boolean;
14073
14101
  objectName?: string | undefined;
14074
14102
  icon?: string | undefined;
@@ -14933,7 +14961,7 @@ declare const SysTeamMember: Omit<{
14933
14961
  abstract: boolean;
14934
14962
  datasource: string;
14935
14963
  fields: Record<string, {
14936
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
14964
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
14937
14965
  required: boolean;
14938
14966
  searchable: boolean;
14939
14967
  multiple: boolean;
@@ -14992,7 +15020,7 @@ declare const SysTeamMember: Omit<{
14992
15020
  allowScanning?: boolean | undefined;
14993
15021
  currencyConfig?: {
14994
15022
  precision: number;
14995
- currencyMode: "fixed" | "dynamic";
15023
+ currencyMode: "dynamic" | "fixed";
14996
15024
  defaultCurrency: string;
14997
15025
  } | undefined;
14998
15026
  vectorConfig?: {
@@ -15194,7 +15222,7 @@ declare const SysTeamMember: Omit<{
15194
15222
  actions?: {
15195
15223
  name: string;
15196
15224
  label: string;
15197
- type: "url" | "script" | "modal" | "flow" | "api";
15225
+ type: "url" | "flow" | "api" | "script" | "modal";
15198
15226
  refreshAfter: boolean;
15199
15227
  objectName?: string | undefined;
15200
15228
  icon?: string | undefined;
@@ -15900,7 +15928,7 @@ declare const SysApiKey: Omit<{
15900
15928
  abstract: boolean;
15901
15929
  datasource: string;
15902
15930
  fields: Record<string, {
15903
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
15931
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
15904
15932
  required: boolean;
15905
15933
  searchable: boolean;
15906
15934
  multiple: boolean;
@@ -15959,7 +15987,7 @@ declare const SysApiKey: Omit<{
15959
15987
  allowScanning?: boolean | undefined;
15960
15988
  currencyConfig?: {
15961
15989
  precision: number;
15962
- currencyMode: "fixed" | "dynamic";
15990
+ currencyMode: "dynamic" | "fixed";
15963
15991
  defaultCurrency: string;
15964
15992
  } | undefined;
15965
15993
  vectorConfig?: {
@@ -16161,7 +16189,7 @@ declare const SysApiKey: Omit<{
16161
16189
  actions?: {
16162
16190
  name: string;
16163
16191
  label: string;
16164
- type: "url" | "script" | "modal" | "flow" | "api";
16192
+ type: "url" | "flow" | "api" | "script" | "modal";
16165
16193
  refreshAfter: boolean;
16166
16194
  objectName?: string | undefined;
16167
16195
  icon?: string | undefined;
@@ -17976,7 +18004,7 @@ declare const SysTwoFactor: Omit<{
17976
18004
  abstract: boolean;
17977
18005
  datasource: string;
17978
18006
  fields: Record<string, {
17979
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
18007
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
17980
18008
  required: boolean;
17981
18009
  searchable: boolean;
17982
18010
  multiple: boolean;
@@ -18035,7 +18063,7 @@ declare const SysTwoFactor: Omit<{
18035
18063
  allowScanning?: boolean | undefined;
18036
18064
  currencyConfig?: {
18037
18065
  precision: number;
18038
- currencyMode: "fixed" | "dynamic";
18066
+ currencyMode: "dynamic" | "fixed";
18039
18067
  defaultCurrency: string;
18040
18068
  } | undefined;
18041
18069
  vectorConfig?: {
@@ -18237,7 +18265,7 @@ declare const SysTwoFactor: Omit<{
18237
18265
  actions?: {
18238
18266
  name: string;
18239
18267
  label: string;
18240
- type: "url" | "script" | "modal" | "flow" | "api";
18268
+ type: "url" | "flow" | "api" | "script" | "modal";
18241
18269
  refreshAfter: boolean;
18242
18270
  objectName?: string | undefined;
18243
18271
  icon?: string | undefined;
@@ -19243,4 +19271,1295 @@ declare const SysTwoFactor: Omit<{
19243
19271
  };
19244
19272
  }, "fields">;
19245
19273
 
19246
- export { AUTH_ACCOUNT_CONFIG, AUTH_INVITATION_SCHEMA, AUTH_MEMBER_SCHEMA, AUTH_MODEL_TO_PROTOCOL, AUTH_ORGANIZATION_SCHEMA, AUTH_ORG_SESSION_FIELDS, AUTH_SESSION_CONFIG, AUTH_TEAM_MEMBER_SCHEMA, AUTH_TEAM_SCHEMA, AUTH_TWO_FACTOR_SCHEMA, AUTH_TWO_FACTOR_USER_FIELDS, AUTH_USER_CONFIG, AUTH_VERIFICATION_CONFIG, SysAccount as AuthAccount, AuthManager, type AuthManagerOptions, AuthPlugin, type AuthPluginOptions, SysSession as AuthSession, SysUser as AuthUser, SysVerification as AuthVerification, SysAccount, SysApiKey, SysInvitation, SysMember, SysOrganization, SysSession, SysTeam, SysTeamMember, SysTwoFactor, SysUser, SysVerification, buildOrganizationPluginSchema, buildTwoFactorPluginSchema, createObjectQLAdapter, createObjectQLAdapterFactory, resolveProtocolName };
19274
+ /**
19275
+ * sys_user_preference — System User Preference Object
19276
+ *
19277
+ * Per-user key-value preferences for storing UI state, settings, and personalization.
19278
+ * Supports the User Preferences layer in the Config Resolution hierarchy
19279
+ * (Runtime > User Preferences > Tenant > Env).
19280
+ *
19281
+ * Common use cases:
19282
+ * - UI preferences: theme, locale, timezone, sidebar state
19283
+ * - Feature flags: plugin.ai.auto_save, plugin.dev.debug_mode
19284
+ * - User-specific settings: default_view, notifications_enabled
19285
+ *
19286
+ * @namespace sys
19287
+ */
19288
+ declare const SysUserPreference: Omit<{
19289
+ name: string;
19290
+ active: boolean;
19291
+ isSystem: boolean;
19292
+ abstract: boolean;
19293
+ datasource: string;
19294
+ fields: Record<string, {
19295
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
19296
+ required: boolean;
19297
+ searchable: boolean;
19298
+ multiple: boolean;
19299
+ unique: boolean;
19300
+ deleteBehavior: "set_null" | "cascade" | "restrict";
19301
+ auditTrail: boolean;
19302
+ hidden: boolean;
19303
+ readonly: boolean;
19304
+ sortable: boolean;
19305
+ index: boolean;
19306
+ externalId: boolean;
19307
+ name?: string | undefined;
19308
+ label?: string | undefined;
19309
+ description?: string | undefined;
19310
+ format?: string | undefined;
19311
+ columnName?: string | undefined;
19312
+ defaultValue?: unknown;
19313
+ maxLength?: number | undefined;
19314
+ minLength?: number | undefined;
19315
+ precision?: number | undefined;
19316
+ scale?: number | undefined;
19317
+ min?: number | undefined;
19318
+ max?: number | undefined;
19319
+ options?: {
19320
+ label: string;
19321
+ value: string;
19322
+ color?: string | undefined;
19323
+ default?: boolean | undefined;
19324
+ }[] | undefined;
19325
+ reference?: string | undefined;
19326
+ referenceFilters?: string[] | undefined;
19327
+ writeRequiresMasterRead?: boolean | undefined;
19328
+ expression?: string | undefined;
19329
+ summaryOperations?: {
19330
+ object: string;
19331
+ field: string;
19332
+ function: "count" | "sum" | "avg" | "min" | "max";
19333
+ } | undefined;
19334
+ language?: string | undefined;
19335
+ theme?: string | undefined;
19336
+ lineNumbers?: boolean | undefined;
19337
+ maxRating?: number | undefined;
19338
+ allowHalf?: boolean | undefined;
19339
+ displayMap?: boolean | undefined;
19340
+ allowGeocoding?: boolean | undefined;
19341
+ addressFormat?: "us" | "uk" | "international" | undefined;
19342
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
19343
+ allowAlpha?: boolean | undefined;
19344
+ presetColors?: string[] | undefined;
19345
+ step?: number | undefined;
19346
+ showValue?: boolean | undefined;
19347
+ marks?: Record<string, string> | undefined;
19348
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
19349
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
19350
+ displayValue?: boolean | undefined;
19351
+ allowScanning?: boolean | undefined;
19352
+ currencyConfig?: {
19353
+ precision: number;
19354
+ currencyMode: "dynamic" | "fixed";
19355
+ defaultCurrency: string;
19356
+ } | undefined;
19357
+ vectorConfig?: {
19358
+ dimensions: number;
19359
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
19360
+ normalized: boolean;
19361
+ indexed: boolean;
19362
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
19363
+ } | undefined;
19364
+ fileAttachmentConfig?: {
19365
+ virusScan: boolean;
19366
+ virusScanOnUpload: boolean;
19367
+ quarantineOnThreat: boolean;
19368
+ allowMultiple: boolean;
19369
+ allowReplace: boolean;
19370
+ allowDelete: boolean;
19371
+ requireUpload: boolean;
19372
+ extractMetadata: boolean;
19373
+ extractText: boolean;
19374
+ versioningEnabled: boolean;
19375
+ publicRead: boolean;
19376
+ presignedUrlExpiry: number;
19377
+ minSize?: number | undefined;
19378
+ maxSize?: number | undefined;
19379
+ allowedTypes?: string[] | undefined;
19380
+ blockedTypes?: string[] | undefined;
19381
+ allowedMimeTypes?: string[] | undefined;
19382
+ blockedMimeTypes?: string[] | undefined;
19383
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
19384
+ storageProvider?: string | undefined;
19385
+ storageBucket?: string | undefined;
19386
+ storagePrefix?: string | undefined;
19387
+ imageValidation?: {
19388
+ generateThumbnails: boolean;
19389
+ preserveMetadata: boolean;
19390
+ autoRotate: boolean;
19391
+ minWidth?: number | undefined;
19392
+ maxWidth?: number | undefined;
19393
+ minHeight?: number | undefined;
19394
+ maxHeight?: number | undefined;
19395
+ aspectRatio?: string | undefined;
19396
+ thumbnailSizes?: {
19397
+ name: string;
19398
+ width: number;
19399
+ height: number;
19400
+ crop: boolean;
19401
+ }[] | undefined;
19402
+ } | undefined;
19403
+ maxVersions?: number | undefined;
19404
+ } | undefined;
19405
+ encryptionConfig?: {
19406
+ enabled: boolean;
19407
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
19408
+ keyManagement: {
19409
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
19410
+ keyId?: string | undefined;
19411
+ rotationPolicy?: {
19412
+ enabled: boolean;
19413
+ frequencyDays: number;
19414
+ retainOldVersions: number;
19415
+ autoRotate: boolean;
19416
+ } | undefined;
19417
+ };
19418
+ scope: "field" | "record" | "table" | "database";
19419
+ deterministicEncryption: boolean;
19420
+ searchableEncryption: boolean;
19421
+ } | undefined;
19422
+ maskingRule?: {
19423
+ field: string;
19424
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
19425
+ preserveFormat: boolean;
19426
+ preserveLength: boolean;
19427
+ pattern?: string | undefined;
19428
+ roles?: string[] | undefined;
19429
+ exemptRoles?: string[] | undefined;
19430
+ } | undefined;
19431
+ dependencies?: string[] | undefined;
19432
+ cached?: {
19433
+ enabled: boolean;
19434
+ ttl: number;
19435
+ invalidateOn: string[];
19436
+ } | undefined;
19437
+ dataQuality?: {
19438
+ uniqueness: boolean;
19439
+ completeness: number;
19440
+ accuracy?: {
19441
+ source: string;
19442
+ threshold: number;
19443
+ } | undefined;
19444
+ } | undefined;
19445
+ group?: string | undefined;
19446
+ conditionalRequired?: string | undefined;
19447
+ inlineHelpText?: string | undefined;
19448
+ trackFeedHistory?: boolean | undefined;
19449
+ caseSensitive?: boolean | undefined;
19450
+ autonumberFormat?: string | undefined;
19451
+ }>;
19452
+ label?: string | undefined;
19453
+ pluralLabel?: string | undefined;
19454
+ description?: string | undefined;
19455
+ icon?: string | undefined;
19456
+ namespace?: string | undefined;
19457
+ tags?: string[] | undefined;
19458
+ tableName?: string | undefined;
19459
+ indexes?: {
19460
+ fields: string[];
19461
+ type: "hash" | "btree" | "gin" | "gist" | "fulltext";
19462
+ unique: boolean;
19463
+ name?: string | undefined;
19464
+ partial?: string | undefined;
19465
+ }[] | undefined;
19466
+ tenancy?: {
19467
+ enabled: boolean;
19468
+ strategy: "shared" | "isolated" | "hybrid";
19469
+ tenantField: string;
19470
+ crossTenantAccess: boolean;
19471
+ } | undefined;
19472
+ softDelete?: {
19473
+ enabled: boolean;
19474
+ field: string;
19475
+ cascadeDelete: boolean;
19476
+ } | undefined;
19477
+ versioning?: {
19478
+ enabled: boolean;
19479
+ strategy: "snapshot" | "delta" | "event-sourcing";
19480
+ versionField: string;
19481
+ retentionDays?: number | undefined;
19482
+ } | undefined;
19483
+ partitioning?: {
19484
+ enabled: boolean;
19485
+ strategy: "hash" | "range" | "list";
19486
+ key: string;
19487
+ interval?: string | undefined;
19488
+ } | undefined;
19489
+ cdc?: {
19490
+ enabled: boolean;
19491
+ events: ("update" | "delete" | "insert")[];
19492
+ destination: string;
19493
+ } | undefined;
19494
+ validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
19495
+ stateMachines?: Record<string, {
19496
+ id: string;
19497
+ initial: string;
19498
+ states: Record<string, StateNodeConfig>;
19499
+ description?: string | undefined;
19500
+ contextSchema?: Record<string, unknown> | undefined;
19501
+ on?: Record<string, string | {
19502
+ target?: string | undefined;
19503
+ cond?: string | {
19504
+ type: string;
19505
+ params?: Record<string, unknown> | undefined;
19506
+ } | undefined;
19507
+ actions?: (string | {
19508
+ type: string;
19509
+ params?: Record<string, unknown> | undefined;
19510
+ })[] | undefined;
19511
+ description?: string | undefined;
19512
+ } | {
19513
+ target?: string | undefined;
19514
+ cond?: string | {
19515
+ type: string;
19516
+ params?: Record<string, unknown> | undefined;
19517
+ } | undefined;
19518
+ actions?: (string | {
19519
+ type: string;
19520
+ params?: Record<string, unknown> | undefined;
19521
+ })[] | undefined;
19522
+ description?: string | undefined;
19523
+ }[]> | undefined;
19524
+ }> | undefined;
19525
+ displayNameField?: string | undefined;
19526
+ recordName?: {
19527
+ type: "text" | "autonumber";
19528
+ displayFormat?: string | undefined;
19529
+ startNumber?: number | undefined;
19530
+ } | undefined;
19531
+ titleFormat?: string | undefined;
19532
+ compactLayout?: string[] | undefined;
19533
+ search?: {
19534
+ fields: string[];
19535
+ displayFields?: string[] | undefined;
19536
+ filters?: string[] | undefined;
19537
+ } | undefined;
19538
+ enable?: {
19539
+ trackHistory: boolean;
19540
+ searchable: boolean;
19541
+ apiEnabled: boolean;
19542
+ files: boolean;
19543
+ feeds: boolean;
19544
+ activities: boolean;
19545
+ trash: boolean;
19546
+ mru: boolean;
19547
+ clone: boolean;
19548
+ apiMethods?: ("update" | "search" | "list" | "delete" | "upsert" | "history" | "get" | "create" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
19549
+ } | undefined;
19550
+ recordTypes?: string[] | undefined;
19551
+ sharingModel?: "full" | "private" | "read" | "read_write" | undefined;
19552
+ keyPrefix?: string | undefined;
19553
+ actions?: {
19554
+ name: string;
19555
+ label: string;
19556
+ type: "url" | "flow" | "api" | "script" | "modal";
19557
+ refreshAfter: boolean;
19558
+ objectName?: string | undefined;
19559
+ icon?: string | undefined;
19560
+ locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
19561
+ component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
19562
+ target?: string | undefined;
19563
+ execute?: string | undefined;
19564
+ params?: {
19565
+ name: string;
19566
+ label: string;
19567
+ type: "number" | "boolean" | "date" | "lookup" | "file" | "url" | "json" | "text" | "textarea" | "email" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "code" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "tags" | "vector";
19568
+ required: boolean;
19569
+ options?: {
19570
+ label: string;
19571
+ value: string;
19572
+ }[] | undefined;
19573
+ }[] | undefined;
19574
+ variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
19575
+ confirmText?: string | undefined;
19576
+ successMessage?: string | undefined;
19577
+ visible?: string | undefined;
19578
+ disabled?: string | boolean | undefined;
19579
+ shortcut?: string | undefined;
19580
+ bulkEnabled?: boolean | undefined;
19581
+ timeout?: number | undefined;
19582
+ aria?: {
19583
+ ariaLabel?: string | undefined;
19584
+ ariaDescribedBy?: string | undefined;
19585
+ role?: string | undefined;
19586
+ } | undefined;
19587
+ }[] | undefined;
19588
+ }, "fields"> & Pick<{
19589
+ readonly namespace: "sys";
19590
+ readonly name: "user_preference";
19591
+ readonly label: "User Preference";
19592
+ readonly pluralLabel: "User Preferences";
19593
+ readonly icon: "settings";
19594
+ readonly isSystem: true;
19595
+ readonly description: "Per-user key-value preferences (theme, locale, etc.)";
19596
+ readonly titleFormat: "{key}";
19597
+ readonly compactLayout: ["user_id", "key"];
19598
+ readonly fields: {
19599
+ readonly id: {
19600
+ readonly format?: string | undefined;
19601
+ readonly expression?: string | undefined;
19602
+ readonly readonly?: boolean | undefined;
19603
+ readonly defaultValue?: unknown;
19604
+ readonly min?: number | undefined;
19605
+ readonly max?: number | undefined;
19606
+ readonly name?: string | undefined;
19607
+ readonly encryptionConfig?: {
19608
+ enabled: boolean;
19609
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
19610
+ keyManagement: {
19611
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
19612
+ keyId?: string | undefined;
19613
+ rotationPolicy?: {
19614
+ enabled: boolean;
19615
+ frequencyDays: number;
19616
+ retainOldVersions: number;
19617
+ autoRotate: boolean;
19618
+ } | undefined;
19619
+ };
19620
+ scope: "table" | "record" | "field" | "database";
19621
+ deterministicEncryption: boolean;
19622
+ searchableEncryption: boolean;
19623
+ } | undefined;
19624
+ readonly label?: string | undefined;
19625
+ readonly precision?: number | undefined;
19626
+ readonly description?: string | undefined;
19627
+ readonly columnName?: string | undefined;
19628
+ readonly required?: boolean | undefined;
19629
+ readonly searchable?: boolean | undefined;
19630
+ readonly multiple?: boolean | undefined;
19631
+ readonly unique?: boolean | undefined;
19632
+ readonly maxLength?: number | undefined;
19633
+ readonly minLength?: number | undefined;
19634
+ readonly scale?: number | undefined;
19635
+ readonly options?: {
19636
+ label: string;
19637
+ value: string;
19638
+ color?: string | undefined;
19639
+ default?: boolean | undefined;
19640
+ }[] | undefined;
19641
+ readonly reference?: string | undefined;
19642
+ readonly referenceFilters?: string[] | undefined;
19643
+ readonly writeRequiresMasterRead?: boolean | undefined;
19644
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
19645
+ readonly summaryOperations?: {
19646
+ object: string;
19647
+ field: string;
19648
+ function: "count" | "sum" | "avg" | "min" | "max";
19649
+ } | undefined;
19650
+ readonly language?: string | undefined;
19651
+ readonly theme?: string | undefined;
19652
+ readonly lineNumbers?: boolean | undefined;
19653
+ readonly maxRating?: number | undefined;
19654
+ readonly allowHalf?: boolean | undefined;
19655
+ readonly displayMap?: boolean | undefined;
19656
+ readonly allowGeocoding?: boolean | undefined;
19657
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
19658
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
19659
+ readonly allowAlpha?: boolean | undefined;
19660
+ readonly presetColors?: string[] | undefined;
19661
+ readonly step?: number | undefined;
19662
+ readonly showValue?: boolean | undefined;
19663
+ readonly marks?: Record<string, string> | undefined;
19664
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
19665
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
19666
+ readonly displayValue?: boolean | undefined;
19667
+ readonly allowScanning?: boolean | undefined;
19668
+ readonly currencyConfig?: {
19669
+ precision: number;
19670
+ currencyMode: "dynamic" | "fixed";
19671
+ defaultCurrency: string;
19672
+ } | undefined;
19673
+ readonly vectorConfig?: {
19674
+ dimensions: number;
19675
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
19676
+ normalized: boolean;
19677
+ indexed: boolean;
19678
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
19679
+ } | undefined;
19680
+ readonly fileAttachmentConfig?: {
19681
+ virusScan: boolean;
19682
+ virusScanOnUpload: boolean;
19683
+ quarantineOnThreat: boolean;
19684
+ allowMultiple: boolean;
19685
+ allowReplace: boolean;
19686
+ allowDelete: boolean;
19687
+ requireUpload: boolean;
19688
+ extractMetadata: boolean;
19689
+ extractText: boolean;
19690
+ versioningEnabled: boolean;
19691
+ publicRead: boolean;
19692
+ presignedUrlExpiry: number;
19693
+ minSize?: number | undefined;
19694
+ maxSize?: number | undefined;
19695
+ allowedTypes?: string[] | undefined;
19696
+ blockedTypes?: string[] | undefined;
19697
+ allowedMimeTypes?: string[] | undefined;
19698
+ blockedMimeTypes?: string[] | undefined;
19699
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
19700
+ storageProvider?: string | undefined;
19701
+ storageBucket?: string | undefined;
19702
+ storagePrefix?: string | undefined;
19703
+ imageValidation?: {
19704
+ generateThumbnails: boolean;
19705
+ preserveMetadata: boolean;
19706
+ autoRotate: boolean;
19707
+ minWidth?: number | undefined;
19708
+ maxWidth?: number | undefined;
19709
+ minHeight?: number | undefined;
19710
+ maxHeight?: number | undefined;
19711
+ aspectRatio?: string | undefined;
19712
+ thumbnailSizes?: {
19713
+ name: string;
19714
+ width: number;
19715
+ height: number;
19716
+ crop: boolean;
19717
+ }[] | undefined;
19718
+ } | undefined;
19719
+ maxVersions?: number | undefined;
19720
+ } | undefined;
19721
+ readonly maskingRule?: {
19722
+ field: string;
19723
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
19724
+ preserveFormat: boolean;
19725
+ preserveLength: boolean;
19726
+ pattern?: string | undefined;
19727
+ roles?: string[] | undefined;
19728
+ exemptRoles?: string[] | undefined;
19729
+ } | undefined;
19730
+ readonly auditTrail?: boolean | undefined;
19731
+ readonly dependencies?: string[] | undefined;
19732
+ readonly cached?: {
19733
+ enabled: boolean;
19734
+ ttl: number;
19735
+ invalidateOn: string[];
19736
+ } | undefined;
19737
+ readonly dataQuality?: {
19738
+ uniqueness: boolean;
19739
+ completeness: number;
19740
+ accuracy?: {
19741
+ source: string;
19742
+ threshold: number;
19743
+ } | undefined;
19744
+ } | undefined;
19745
+ readonly group?: string | undefined;
19746
+ readonly conditionalRequired?: string | undefined;
19747
+ readonly hidden?: boolean | undefined;
19748
+ readonly sortable?: boolean | undefined;
19749
+ readonly inlineHelpText?: string | undefined;
19750
+ readonly trackFeedHistory?: boolean | undefined;
19751
+ readonly caseSensitive?: boolean | undefined;
19752
+ readonly autonumberFormat?: string | undefined;
19753
+ readonly index?: boolean | undefined;
19754
+ readonly externalId?: boolean | undefined;
19755
+ readonly type: "text";
19756
+ };
19757
+ readonly created_at: {
19758
+ readonly format?: string | undefined;
19759
+ readonly expression?: string | undefined;
19760
+ readonly readonly?: boolean | undefined;
19761
+ readonly defaultValue?: unknown;
19762
+ readonly min?: number | undefined;
19763
+ readonly max?: number | undefined;
19764
+ readonly name?: string | undefined;
19765
+ readonly encryptionConfig?: {
19766
+ enabled: boolean;
19767
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
19768
+ keyManagement: {
19769
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
19770
+ keyId?: string | undefined;
19771
+ rotationPolicy?: {
19772
+ enabled: boolean;
19773
+ frequencyDays: number;
19774
+ retainOldVersions: number;
19775
+ autoRotate: boolean;
19776
+ } | undefined;
19777
+ };
19778
+ scope: "table" | "record" | "field" | "database";
19779
+ deterministicEncryption: boolean;
19780
+ searchableEncryption: boolean;
19781
+ } | undefined;
19782
+ readonly label?: string | undefined;
19783
+ readonly precision?: number | undefined;
19784
+ readonly description?: string | undefined;
19785
+ readonly columnName?: string | undefined;
19786
+ readonly required?: boolean | undefined;
19787
+ readonly searchable?: boolean | undefined;
19788
+ readonly multiple?: boolean | undefined;
19789
+ readonly unique?: boolean | undefined;
19790
+ readonly maxLength?: number | undefined;
19791
+ readonly minLength?: number | undefined;
19792
+ readonly scale?: number | undefined;
19793
+ readonly options?: {
19794
+ label: string;
19795
+ value: string;
19796
+ color?: string | undefined;
19797
+ default?: boolean | undefined;
19798
+ }[] | undefined;
19799
+ readonly reference?: string | undefined;
19800
+ readonly referenceFilters?: string[] | undefined;
19801
+ readonly writeRequiresMasterRead?: boolean | undefined;
19802
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
19803
+ readonly summaryOperations?: {
19804
+ object: string;
19805
+ field: string;
19806
+ function: "count" | "sum" | "avg" | "min" | "max";
19807
+ } | undefined;
19808
+ readonly language?: string | undefined;
19809
+ readonly theme?: string | undefined;
19810
+ readonly lineNumbers?: boolean | undefined;
19811
+ readonly maxRating?: number | undefined;
19812
+ readonly allowHalf?: boolean | undefined;
19813
+ readonly displayMap?: boolean | undefined;
19814
+ readonly allowGeocoding?: boolean | undefined;
19815
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
19816
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
19817
+ readonly allowAlpha?: boolean | undefined;
19818
+ readonly presetColors?: string[] | undefined;
19819
+ readonly step?: number | undefined;
19820
+ readonly showValue?: boolean | undefined;
19821
+ readonly marks?: Record<string, string> | undefined;
19822
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
19823
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
19824
+ readonly displayValue?: boolean | undefined;
19825
+ readonly allowScanning?: boolean | undefined;
19826
+ readonly currencyConfig?: {
19827
+ precision: number;
19828
+ currencyMode: "dynamic" | "fixed";
19829
+ defaultCurrency: string;
19830
+ } | undefined;
19831
+ readonly vectorConfig?: {
19832
+ dimensions: number;
19833
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
19834
+ normalized: boolean;
19835
+ indexed: boolean;
19836
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
19837
+ } | undefined;
19838
+ readonly fileAttachmentConfig?: {
19839
+ virusScan: boolean;
19840
+ virusScanOnUpload: boolean;
19841
+ quarantineOnThreat: boolean;
19842
+ allowMultiple: boolean;
19843
+ allowReplace: boolean;
19844
+ allowDelete: boolean;
19845
+ requireUpload: boolean;
19846
+ extractMetadata: boolean;
19847
+ extractText: boolean;
19848
+ versioningEnabled: boolean;
19849
+ publicRead: boolean;
19850
+ presignedUrlExpiry: number;
19851
+ minSize?: number | undefined;
19852
+ maxSize?: number | undefined;
19853
+ allowedTypes?: string[] | undefined;
19854
+ blockedTypes?: string[] | undefined;
19855
+ allowedMimeTypes?: string[] | undefined;
19856
+ blockedMimeTypes?: string[] | undefined;
19857
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
19858
+ storageProvider?: string | undefined;
19859
+ storageBucket?: string | undefined;
19860
+ storagePrefix?: string | undefined;
19861
+ imageValidation?: {
19862
+ generateThumbnails: boolean;
19863
+ preserveMetadata: boolean;
19864
+ autoRotate: boolean;
19865
+ minWidth?: number | undefined;
19866
+ maxWidth?: number | undefined;
19867
+ minHeight?: number | undefined;
19868
+ maxHeight?: number | undefined;
19869
+ aspectRatio?: string | undefined;
19870
+ thumbnailSizes?: {
19871
+ name: string;
19872
+ width: number;
19873
+ height: number;
19874
+ crop: boolean;
19875
+ }[] | undefined;
19876
+ } | undefined;
19877
+ maxVersions?: number | undefined;
19878
+ } | undefined;
19879
+ readonly maskingRule?: {
19880
+ field: string;
19881
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
19882
+ preserveFormat: boolean;
19883
+ preserveLength: boolean;
19884
+ pattern?: string | undefined;
19885
+ roles?: string[] | undefined;
19886
+ exemptRoles?: string[] | undefined;
19887
+ } | undefined;
19888
+ readonly auditTrail?: boolean | undefined;
19889
+ readonly dependencies?: string[] | undefined;
19890
+ readonly cached?: {
19891
+ enabled: boolean;
19892
+ ttl: number;
19893
+ invalidateOn: string[];
19894
+ } | undefined;
19895
+ readonly dataQuality?: {
19896
+ uniqueness: boolean;
19897
+ completeness: number;
19898
+ accuracy?: {
19899
+ source: string;
19900
+ threshold: number;
19901
+ } | undefined;
19902
+ } | undefined;
19903
+ readonly group?: string | undefined;
19904
+ readonly conditionalRequired?: string | undefined;
19905
+ readonly hidden?: boolean | undefined;
19906
+ readonly sortable?: boolean | undefined;
19907
+ readonly inlineHelpText?: string | undefined;
19908
+ readonly trackFeedHistory?: boolean | undefined;
19909
+ readonly caseSensitive?: boolean | undefined;
19910
+ readonly autonumberFormat?: string | undefined;
19911
+ readonly index?: boolean | undefined;
19912
+ readonly externalId?: boolean | undefined;
19913
+ readonly type: "datetime";
19914
+ };
19915
+ readonly updated_at: {
19916
+ readonly format?: string | undefined;
19917
+ readonly expression?: string | undefined;
19918
+ readonly readonly?: boolean | undefined;
19919
+ readonly defaultValue?: unknown;
19920
+ readonly min?: number | undefined;
19921
+ readonly max?: number | undefined;
19922
+ readonly name?: string | undefined;
19923
+ readonly encryptionConfig?: {
19924
+ enabled: boolean;
19925
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
19926
+ keyManagement: {
19927
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
19928
+ keyId?: string | undefined;
19929
+ rotationPolicy?: {
19930
+ enabled: boolean;
19931
+ frequencyDays: number;
19932
+ retainOldVersions: number;
19933
+ autoRotate: boolean;
19934
+ } | undefined;
19935
+ };
19936
+ scope: "table" | "record" | "field" | "database";
19937
+ deterministicEncryption: boolean;
19938
+ searchableEncryption: boolean;
19939
+ } | undefined;
19940
+ readonly label?: string | undefined;
19941
+ readonly precision?: number | undefined;
19942
+ readonly description?: string | undefined;
19943
+ readonly columnName?: string | undefined;
19944
+ readonly required?: boolean | undefined;
19945
+ readonly searchable?: boolean | undefined;
19946
+ readonly multiple?: boolean | undefined;
19947
+ readonly unique?: boolean | undefined;
19948
+ readonly maxLength?: number | undefined;
19949
+ readonly minLength?: number | undefined;
19950
+ readonly scale?: number | undefined;
19951
+ readonly options?: {
19952
+ label: string;
19953
+ value: string;
19954
+ color?: string | undefined;
19955
+ default?: boolean | undefined;
19956
+ }[] | undefined;
19957
+ readonly reference?: string | undefined;
19958
+ readonly referenceFilters?: string[] | undefined;
19959
+ readonly writeRequiresMasterRead?: boolean | undefined;
19960
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
19961
+ readonly summaryOperations?: {
19962
+ object: string;
19963
+ field: string;
19964
+ function: "count" | "sum" | "avg" | "min" | "max";
19965
+ } | undefined;
19966
+ readonly language?: string | undefined;
19967
+ readonly theme?: string | undefined;
19968
+ readonly lineNumbers?: boolean | undefined;
19969
+ readonly maxRating?: number | undefined;
19970
+ readonly allowHalf?: boolean | undefined;
19971
+ readonly displayMap?: boolean | undefined;
19972
+ readonly allowGeocoding?: boolean | undefined;
19973
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
19974
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
19975
+ readonly allowAlpha?: boolean | undefined;
19976
+ readonly presetColors?: string[] | undefined;
19977
+ readonly step?: number | undefined;
19978
+ readonly showValue?: boolean | undefined;
19979
+ readonly marks?: Record<string, string> | undefined;
19980
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
19981
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
19982
+ readonly displayValue?: boolean | undefined;
19983
+ readonly allowScanning?: boolean | undefined;
19984
+ readonly currencyConfig?: {
19985
+ precision: number;
19986
+ currencyMode: "dynamic" | "fixed";
19987
+ defaultCurrency: string;
19988
+ } | undefined;
19989
+ readonly vectorConfig?: {
19990
+ dimensions: number;
19991
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
19992
+ normalized: boolean;
19993
+ indexed: boolean;
19994
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
19995
+ } | undefined;
19996
+ readonly fileAttachmentConfig?: {
19997
+ virusScan: boolean;
19998
+ virusScanOnUpload: boolean;
19999
+ quarantineOnThreat: boolean;
20000
+ allowMultiple: boolean;
20001
+ allowReplace: boolean;
20002
+ allowDelete: boolean;
20003
+ requireUpload: boolean;
20004
+ extractMetadata: boolean;
20005
+ extractText: boolean;
20006
+ versioningEnabled: boolean;
20007
+ publicRead: boolean;
20008
+ presignedUrlExpiry: number;
20009
+ minSize?: number | undefined;
20010
+ maxSize?: number | undefined;
20011
+ allowedTypes?: string[] | undefined;
20012
+ blockedTypes?: string[] | undefined;
20013
+ allowedMimeTypes?: string[] | undefined;
20014
+ blockedMimeTypes?: string[] | undefined;
20015
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
20016
+ storageProvider?: string | undefined;
20017
+ storageBucket?: string | undefined;
20018
+ storagePrefix?: string | undefined;
20019
+ imageValidation?: {
20020
+ generateThumbnails: boolean;
20021
+ preserveMetadata: boolean;
20022
+ autoRotate: boolean;
20023
+ minWidth?: number | undefined;
20024
+ maxWidth?: number | undefined;
20025
+ minHeight?: number | undefined;
20026
+ maxHeight?: number | undefined;
20027
+ aspectRatio?: string | undefined;
20028
+ thumbnailSizes?: {
20029
+ name: string;
20030
+ width: number;
20031
+ height: number;
20032
+ crop: boolean;
20033
+ }[] | undefined;
20034
+ } | undefined;
20035
+ maxVersions?: number | undefined;
20036
+ } | undefined;
20037
+ readonly maskingRule?: {
20038
+ field: string;
20039
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
20040
+ preserveFormat: boolean;
20041
+ preserveLength: boolean;
20042
+ pattern?: string | undefined;
20043
+ roles?: string[] | undefined;
20044
+ exemptRoles?: string[] | undefined;
20045
+ } | undefined;
20046
+ readonly auditTrail?: boolean | undefined;
20047
+ readonly dependencies?: string[] | undefined;
20048
+ readonly cached?: {
20049
+ enabled: boolean;
20050
+ ttl: number;
20051
+ invalidateOn: string[];
20052
+ } | undefined;
20053
+ readonly dataQuality?: {
20054
+ uniqueness: boolean;
20055
+ completeness: number;
20056
+ accuracy?: {
20057
+ source: string;
20058
+ threshold: number;
20059
+ } | undefined;
20060
+ } | undefined;
20061
+ readonly group?: string | undefined;
20062
+ readonly conditionalRequired?: string | undefined;
20063
+ readonly hidden?: boolean | undefined;
20064
+ readonly sortable?: boolean | undefined;
20065
+ readonly inlineHelpText?: string | undefined;
20066
+ readonly trackFeedHistory?: boolean | undefined;
20067
+ readonly caseSensitive?: boolean | undefined;
20068
+ readonly autonumberFormat?: string | undefined;
20069
+ readonly index?: boolean | undefined;
20070
+ readonly externalId?: boolean | undefined;
20071
+ readonly type: "datetime";
20072
+ };
20073
+ readonly user_id: {
20074
+ readonly format?: string | undefined;
20075
+ readonly expression?: string | undefined;
20076
+ readonly readonly?: boolean | undefined;
20077
+ readonly defaultValue?: unknown;
20078
+ readonly min?: number | undefined;
20079
+ readonly max?: number | undefined;
20080
+ readonly name?: string | undefined;
20081
+ readonly encryptionConfig?: {
20082
+ enabled: boolean;
20083
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
20084
+ keyManagement: {
20085
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
20086
+ keyId?: string | undefined;
20087
+ rotationPolicy?: {
20088
+ enabled: boolean;
20089
+ frequencyDays: number;
20090
+ retainOldVersions: number;
20091
+ autoRotate: boolean;
20092
+ } | undefined;
20093
+ };
20094
+ scope: "table" | "record" | "field" | "database";
20095
+ deterministicEncryption: boolean;
20096
+ searchableEncryption: boolean;
20097
+ } | undefined;
20098
+ readonly label?: string | undefined;
20099
+ readonly precision?: number | undefined;
20100
+ readonly description?: string | undefined;
20101
+ readonly columnName?: string | undefined;
20102
+ readonly required?: boolean | undefined;
20103
+ readonly searchable?: boolean | undefined;
20104
+ readonly multiple?: boolean | undefined;
20105
+ readonly unique?: boolean | undefined;
20106
+ readonly maxLength?: number | undefined;
20107
+ readonly minLength?: number | undefined;
20108
+ readonly scale?: number | undefined;
20109
+ readonly options?: {
20110
+ label: string;
20111
+ value: string;
20112
+ color?: string | undefined;
20113
+ default?: boolean | undefined;
20114
+ }[] | undefined;
20115
+ readonly reference?: string | undefined;
20116
+ readonly referenceFilters?: string[] | undefined;
20117
+ readonly writeRequiresMasterRead?: boolean | undefined;
20118
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
20119
+ readonly summaryOperations?: {
20120
+ object: string;
20121
+ field: string;
20122
+ function: "count" | "sum" | "avg" | "min" | "max";
20123
+ } | undefined;
20124
+ readonly language?: string | undefined;
20125
+ readonly theme?: string | undefined;
20126
+ readonly lineNumbers?: boolean | undefined;
20127
+ readonly maxRating?: number | undefined;
20128
+ readonly allowHalf?: boolean | undefined;
20129
+ readonly displayMap?: boolean | undefined;
20130
+ readonly allowGeocoding?: boolean | undefined;
20131
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
20132
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
20133
+ readonly allowAlpha?: boolean | undefined;
20134
+ readonly presetColors?: string[] | undefined;
20135
+ readonly step?: number | undefined;
20136
+ readonly showValue?: boolean | undefined;
20137
+ readonly marks?: Record<string, string> | undefined;
20138
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
20139
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
20140
+ readonly displayValue?: boolean | undefined;
20141
+ readonly allowScanning?: boolean | undefined;
20142
+ readonly currencyConfig?: {
20143
+ precision: number;
20144
+ currencyMode: "dynamic" | "fixed";
20145
+ defaultCurrency: string;
20146
+ } | undefined;
20147
+ readonly vectorConfig?: {
20148
+ dimensions: number;
20149
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
20150
+ normalized: boolean;
20151
+ indexed: boolean;
20152
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
20153
+ } | undefined;
20154
+ readonly fileAttachmentConfig?: {
20155
+ virusScan: boolean;
20156
+ virusScanOnUpload: boolean;
20157
+ quarantineOnThreat: boolean;
20158
+ allowMultiple: boolean;
20159
+ allowReplace: boolean;
20160
+ allowDelete: boolean;
20161
+ requireUpload: boolean;
20162
+ extractMetadata: boolean;
20163
+ extractText: boolean;
20164
+ versioningEnabled: boolean;
20165
+ publicRead: boolean;
20166
+ presignedUrlExpiry: number;
20167
+ minSize?: number | undefined;
20168
+ maxSize?: number | undefined;
20169
+ allowedTypes?: string[] | undefined;
20170
+ blockedTypes?: string[] | undefined;
20171
+ allowedMimeTypes?: string[] | undefined;
20172
+ blockedMimeTypes?: string[] | undefined;
20173
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
20174
+ storageProvider?: string | undefined;
20175
+ storageBucket?: string | undefined;
20176
+ storagePrefix?: string | undefined;
20177
+ imageValidation?: {
20178
+ generateThumbnails: boolean;
20179
+ preserveMetadata: boolean;
20180
+ autoRotate: boolean;
20181
+ minWidth?: number | undefined;
20182
+ maxWidth?: number | undefined;
20183
+ minHeight?: number | undefined;
20184
+ maxHeight?: number | undefined;
20185
+ aspectRatio?: string | undefined;
20186
+ thumbnailSizes?: {
20187
+ name: string;
20188
+ width: number;
20189
+ height: number;
20190
+ crop: boolean;
20191
+ }[] | undefined;
20192
+ } | undefined;
20193
+ maxVersions?: number | undefined;
20194
+ } | undefined;
20195
+ readonly maskingRule?: {
20196
+ field: string;
20197
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
20198
+ preserveFormat: boolean;
20199
+ preserveLength: boolean;
20200
+ pattern?: string | undefined;
20201
+ roles?: string[] | undefined;
20202
+ exemptRoles?: string[] | undefined;
20203
+ } | undefined;
20204
+ readonly auditTrail?: boolean | undefined;
20205
+ readonly dependencies?: string[] | undefined;
20206
+ readonly cached?: {
20207
+ enabled: boolean;
20208
+ ttl: number;
20209
+ invalidateOn: string[];
20210
+ } | undefined;
20211
+ readonly dataQuality?: {
20212
+ uniqueness: boolean;
20213
+ completeness: number;
20214
+ accuracy?: {
20215
+ source: string;
20216
+ threshold: number;
20217
+ } | undefined;
20218
+ } | undefined;
20219
+ readonly group?: string | undefined;
20220
+ readonly conditionalRequired?: string | undefined;
20221
+ readonly hidden?: boolean | undefined;
20222
+ readonly sortable?: boolean | undefined;
20223
+ readonly inlineHelpText?: string | undefined;
20224
+ readonly trackFeedHistory?: boolean | undefined;
20225
+ readonly caseSensitive?: boolean | undefined;
20226
+ readonly autonumberFormat?: string | undefined;
20227
+ readonly index?: boolean | undefined;
20228
+ readonly externalId?: boolean | undefined;
20229
+ readonly type: "text";
20230
+ };
20231
+ readonly key: {
20232
+ readonly format?: string | undefined;
20233
+ readonly expression?: string | undefined;
20234
+ readonly readonly?: boolean | undefined;
20235
+ readonly defaultValue?: unknown;
20236
+ readonly min?: number | undefined;
20237
+ readonly max?: number | undefined;
20238
+ readonly name?: string | undefined;
20239
+ readonly encryptionConfig?: {
20240
+ enabled: boolean;
20241
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
20242
+ keyManagement: {
20243
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
20244
+ keyId?: string | undefined;
20245
+ rotationPolicy?: {
20246
+ enabled: boolean;
20247
+ frequencyDays: number;
20248
+ retainOldVersions: number;
20249
+ autoRotate: boolean;
20250
+ } | undefined;
20251
+ };
20252
+ scope: "table" | "record" | "field" | "database";
20253
+ deterministicEncryption: boolean;
20254
+ searchableEncryption: boolean;
20255
+ } | undefined;
20256
+ readonly label?: string | undefined;
20257
+ readonly precision?: number | undefined;
20258
+ readonly description?: string | undefined;
20259
+ readonly columnName?: string | undefined;
20260
+ readonly required?: boolean | undefined;
20261
+ readonly searchable?: boolean | undefined;
20262
+ readonly multiple?: boolean | undefined;
20263
+ readonly unique?: boolean | undefined;
20264
+ readonly maxLength?: number | undefined;
20265
+ readonly minLength?: number | undefined;
20266
+ readonly scale?: number | undefined;
20267
+ readonly options?: {
20268
+ label: string;
20269
+ value: string;
20270
+ color?: string | undefined;
20271
+ default?: boolean | undefined;
20272
+ }[] | undefined;
20273
+ readonly reference?: string | undefined;
20274
+ readonly referenceFilters?: string[] | undefined;
20275
+ readonly writeRequiresMasterRead?: boolean | undefined;
20276
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
20277
+ readonly summaryOperations?: {
20278
+ object: string;
20279
+ field: string;
20280
+ function: "count" | "sum" | "avg" | "min" | "max";
20281
+ } | undefined;
20282
+ readonly language?: string | undefined;
20283
+ readonly theme?: string | undefined;
20284
+ readonly lineNumbers?: boolean | undefined;
20285
+ readonly maxRating?: number | undefined;
20286
+ readonly allowHalf?: boolean | undefined;
20287
+ readonly displayMap?: boolean | undefined;
20288
+ readonly allowGeocoding?: boolean | undefined;
20289
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
20290
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
20291
+ readonly allowAlpha?: boolean | undefined;
20292
+ readonly presetColors?: string[] | undefined;
20293
+ readonly step?: number | undefined;
20294
+ readonly showValue?: boolean | undefined;
20295
+ readonly marks?: Record<string, string> | undefined;
20296
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
20297
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
20298
+ readonly displayValue?: boolean | undefined;
20299
+ readonly allowScanning?: boolean | undefined;
20300
+ readonly currencyConfig?: {
20301
+ precision: number;
20302
+ currencyMode: "dynamic" | "fixed";
20303
+ defaultCurrency: string;
20304
+ } | undefined;
20305
+ readonly vectorConfig?: {
20306
+ dimensions: number;
20307
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
20308
+ normalized: boolean;
20309
+ indexed: boolean;
20310
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
20311
+ } | undefined;
20312
+ readonly fileAttachmentConfig?: {
20313
+ virusScan: boolean;
20314
+ virusScanOnUpload: boolean;
20315
+ quarantineOnThreat: boolean;
20316
+ allowMultiple: boolean;
20317
+ allowReplace: boolean;
20318
+ allowDelete: boolean;
20319
+ requireUpload: boolean;
20320
+ extractMetadata: boolean;
20321
+ extractText: boolean;
20322
+ versioningEnabled: boolean;
20323
+ publicRead: boolean;
20324
+ presignedUrlExpiry: number;
20325
+ minSize?: number | undefined;
20326
+ maxSize?: number | undefined;
20327
+ allowedTypes?: string[] | undefined;
20328
+ blockedTypes?: string[] | undefined;
20329
+ allowedMimeTypes?: string[] | undefined;
20330
+ blockedMimeTypes?: string[] | undefined;
20331
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
20332
+ storageProvider?: string | undefined;
20333
+ storageBucket?: string | undefined;
20334
+ storagePrefix?: string | undefined;
20335
+ imageValidation?: {
20336
+ generateThumbnails: boolean;
20337
+ preserveMetadata: boolean;
20338
+ autoRotate: boolean;
20339
+ minWidth?: number | undefined;
20340
+ maxWidth?: number | undefined;
20341
+ minHeight?: number | undefined;
20342
+ maxHeight?: number | undefined;
20343
+ aspectRatio?: string | undefined;
20344
+ thumbnailSizes?: {
20345
+ name: string;
20346
+ width: number;
20347
+ height: number;
20348
+ crop: boolean;
20349
+ }[] | undefined;
20350
+ } | undefined;
20351
+ maxVersions?: number | undefined;
20352
+ } | undefined;
20353
+ readonly maskingRule?: {
20354
+ field: string;
20355
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
20356
+ preserveFormat: boolean;
20357
+ preserveLength: boolean;
20358
+ pattern?: string | undefined;
20359
+ roles?: string[] | undefined;
20360
+ exemptRoles?: string[] | undefined;
20361
+ } | undefined;
20362
+ readonly auditTrail?: boolean | undefined;
20363
+ readonly dependencies?: string[] | undefined;
20364
+ readonly cached?: {
20365
+ enabled: boolean;
20366
+ ttl: number;
20367
+ invalidateOn: string[];
20368
+ } | undefined;
20369
+ readonly dataQuality?: {
20370
+ uniqueness: boolean;
20371
+ completeness: number;
20372
+ accuracy?: {
20373
+ source: string;
20374
+ threshold: number;
20375
+ } | undefined;
20376
+ } | undefined;
20377
+ readonly group?: string | undefined;
20378
+ readonly conditionalRequired?: string | undefined;
20379
+ readonly hidden?: boolean | undefined;
20380
+ readonly sortable?: boolean | undefined;
20381
+ readonly inlineHelpText?: string | undefined;
20382
+ readonly trackFeedHistory?: boolean | undefined;
20383
+ readonly caseSensitive?: boolean | undefined;
20384
+ readonly autonumberFormat?: string | undefined;
20385
+ readonly index?: boolean | undefined;
20386
+ readonly externalId?: boolean | undefined;
20387
+ readonly type: "text";
20388
+ };
20389
+ readonly value: {
20390
+ readonly format?: string | undefined;
20391
+ readonly expression?: string | undefined;
20392
+ readonly readonly?: boolean | undefined;
20393
+ readonly defaultValue?: unknown;
20394
+ readonly min?: number | undefined;
20395
+ readonly max?: number | undefined;
20396
+ readonly name?: string | undefined;
20397
+ readonly encryptionConfig?: {
20398
+ enabled: boolean;
20399
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
20400
+ keyManagement: {
20401
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
20402
+ keyId?: string | undefined;
20403
+ rotationPolicy?: {
20404
+ enabled: boolean;
20405
+ frequencyDays: number;
20406
+ retainOldVersions: number;
20407
+ autoRotate: boolean;
20408
+ } | undefined;
20409
+ };
20410
+ scope: "table" | "record" | "field" | "database";
20411
+ deterministicEncryption: boolean;
20412
+ searchableEncryption: boolean;
20413
+ } | undefined;
20414
+ readonly label?: string | undefined;
20415
+ readonly precision?: number | undefined;
20416
+ readonly description?: string | undefined;
20417
+ readonly columnName?: string | undefined;
20418
+ readonly required?: boolean | undefined;
20419
+ readonly searchable?: boolean | undefined;
20420
+ readonly multiple?: boolean | undefined;
20421
+ readonly unique?: boolean | undefined;
20422
+ readonly maxLength?: number | undefined;
20423
+ readonly minLength?: number | undefined;
20424
+ readonly scale?: number | undefined;
20425
+ readonly options?: {
20426
+ label: string;
20427
+ value: string;
20428
+ color?: string | undefined;
20429
+ default?: boolean | undefined;
20430
+ }[] | undefined;
20431
+ readonly reference?: string | undefined;
20432
+ readonly referenceFilters?: string[] | undefined;
20433
+ readonly writeRequiresMasterRead?: boolean | undefined;
20434
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
20435
+ readonly summaryOperations?: {
20436
+ object: string;
20437
+ field: string;
20438
+ function: "count" | "sum" | "avg" | "min" | "max";
20439
+ } | undefined;
20440
+ readonly language?: string | undefined;
20441
+ readonly theme?: string | undefined;
20442
+ readonly lineNumbers?: boolean | undefined;
20443
+ readonly maxRating?: number | undefined;
20444
+ readonly allowHalf?: boolean | undefined;
20445
+ readonly displayMap?: boolean | undefined;
20446
+ readonly allowGeocoding?: boolean | undefined;
20447
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
20448
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
20449
+ readonly allowAlpha?: boolean | undefined;
20450
+ readonly presetColors?: string[] | undefined;
20451
+ readonly step?: number | undefined;
20452
+ readonly showValue?: boolean | undefined;
20453
+ readonly marks?: Record<string, string> | undefined;
20454
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
20455
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
20456
+ readonly displayValue?: boolean | undefined;
20457
+ readonly allowScanning?: boolean | undefined;
20458
+ readonly currencyConfig?: {
20459
+ precision: number;
20460
+ currencyMode: "dynamic" | "fixed";
20461
+ defaultCurrency: string;
20462
+ } | undefined;
20463
+ readonly vectorConfig?: {
20464
+ dimensions: number;
20465
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
20466
+ normalized: boolean;
20467
+ indexed: boolean;
20468
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
20469
+ } | undefined;
20470
+ readonly fileAttachmentConfig?: {
20471
+ virusScan: boolean;
20472
+ virusScanOnUpload: boolean;
20473
+ quarantineOnThreat: boolean;
20474
+ allowMultiple: boolean;
20475
+ allowReplace: boolean;
20476
+ allowDelete: boolean;
20477
+ requireUpload: boolean;
20478
+ extractMetadata: boolean;
20479
+ extractText: boolean;
20480
+ versioningEnabled: boolean;
20481
+ publicRead: boolean;
20482
+ presignedUrlExpiry: number;
20483
+ minSize?: number | undefined;
20484
+ maxSize?: number | undefined;
20485
+ allowedTypes?: string[] | undefined;
20486
+ blockedTypes?: string[] | undefined;
20487
+ allowedMimeTypes?: string[] | undefined;
20488
+ blockedMimeTypes?: string[] | undefined;
20489
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
20490
+ storageProvider?: string | undefined;
20491
+ storageBucket?: string | undefined;
20492
+ storagePrefix?: string | undefined;
20493
+ imageValidation?: {
20494
+ generateThumbnails: boolean;
20495
+ preserveMetadata: boolean;
20496
+ autoRotate: boolean;
20497
+ minWidth?: number | undefined;
20498
+ maxWidth?: number | undefined;
20499
+ minHeight?: number | undefined;
20500
+ maxHeight?: number | undefined;
20501
+ aspectRatio?: string | undefined;
20502
+ thumbnailSizes?: {
20503
+ name: string;
20504
+ width: number;
20505
+ height: number;
20506
+ crop: boolean;
20507
+ }[] | undefined;
20508
+ } | undefined;
20509
+ maxVersions?: number | undefined;
20510
+ } | undefined;
20511
+ readonly maskingRule?: {
20512
+ field: string;
20513
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
20514
+ preserveFormat: boolean;
20515
+ preserveLength: boolean;
20516
+ pattern?: string | undefined;
20517
+ roles?: string[] | undefined;
20518
+ exemptRoles?: string[] | undefined;
20519
+ } | undefined;
20520
+ readonly auditTrail?: boolean | undefined;
20521
+ readonly dependencies?: string[] | undefined;
20522
+ readonly cached?: {
20523
+ enabled: boolean;
20524
+ ttl: number;
20525
+ invalidateOn: string[];
20526
+ } | undefined;
20527
+ readonly dataQuality?: {
20528
+ uniqueness: boolean;
20529
+ completeness: number;
20530
+ accuracy?: {
20531
+ source: string;
20532
+ threshold: number;
20533
+ } | undefined;
20534
+ } | undefined;
20535
+ readonly group?: string | undefined;
20536
+ readonly conditionalRequired?: string | undefined;
20537
+ readonly hidden?: boolean | undefined;
20538
+ readonly sortable?: boolean | undefined;
20539
+ readonly inlineHelpText?: string | undefined;
20540
+ readonly trackFeedHistory?: boolean | undefined;
20541
+ readonly caseSensitive?: boolean | undefined;
20542
+ readonly autonumberFormat?: string | undefined;
20543
+ readonly index?: boolean | undefined;
20544
+ readonly externalId?: boolean | undefined;
20545
+ readonly type: "json";
20546
+ };
20547
+ };
20548
+ readonly indexes: [{
20549
+ readonly fields: ["user_id", "key"];
20550
+ readonly unique: true;
20551
+ }, {
20552
+ readonly fields: ["user_id"];
20553
+ readonly unique: false;
20554
+ }];
20555
+ readonly enable: {
20556
+ readonly trackHistory: false;
20557
+ readonly searchable: false;
20558
+ readonly apiEnabled: true;
20559
+ readonly apiMethods: ["get", "list", "create", "update", "delete"];
20560
+ readonly trash: false;
20561
+ readonly mru: false;
20562
+ };
20563
+ }, "fields">;
20564
+
20565
+ export { AUTH_ACCOUNT_CONFIG, AUTH_INVITATION_SCHEMA, AUTH_MEMBER_SCHEMA, AUTH_MODEL_TO_PROTOCOL, AUTH_ORGANIZATION_SCHEMA, AUTH_ORG_SESSION_FIELDS, AUTH_SESSION_CONFIG, AUTH_TEAM_MEMBER_SCHEMA, AUTH_TEAM_SCHEMA, AUTH_TWO_FACTOR_SCHEMA, AUTH_TWO_FACTOR_USER_FIELDS, AUTH_USER_CONFIG, AUTH_VERIFICATION_CONFIG, SysAccount as AuthAccount, AuthManager, type AuthManagerOptions, AuthPlugin, type AuthPluginOptions, SysSession as AuthSession, SysUser as AuthUser, SysVerification as AuthVerification, SysAccount, SysApiKey, SysInvitation, SysMember, SysOrganization, SysSession, SysTeam, SysTeamMember, SysTwoFactor, SysUser, SysUserPreference, SysVerification, buildOrganizationPluginSchema, buildTwoFactorPluginSchema, createObjectQLAdapter, createObjectQLAdapterFactory, resolveProtocolName };