@constructive-io/react 1.21.46 → 1.21.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/admin/schema-types.d.ts +4 -0
  2. package/agent/schema-types.d.ts +4 -0
  3. package/api/orm/input-types.d.ts +663 -69
  4. package/api/orm/input-types.js +22 -0
  5. package/api/schema-types.d.ts +199 -44
  6. package/auth/schema-types.d.ts +4 -0
  7. package/compute/schema-types.d.ts +4 -0
  8. package/config/schema-types.d.ts +4 -0
  9. package/esm/admin/schema-types.d.ts +4 -0
  10. package/esm/agent/schema-types.d.ts +4 -0
  11. package/esm/api/orm/input-types.d.ts +663 -69
  12. package/esm/api/orm/input-types.js +22 -0
  13. package/esm/api/schema-types.d.ts +199 -44
  14. package/esm/auth/schema-types.d.ts +4 -0
  15. package/esm/compute/schema-types.d.ts +4 -0
  16. package/esm/config/schema-types.d.ts +4 -0
  17. package/esm/infra/schema-types.d.ts +4 -0
  18. package/esm/modules/hooks/index.d.ts +1 -1
  19. package/esm/modules/hooks/index.js +1 -1
  20. package/esm/modules/hooks/invalidation.d.ts +6 -0
  21. package/esm/modules/hooks/invalidation.js +17 -1
  22. package/esm/modules/hooks/mutation-keys.d.ts +12 -0
  23. package/esm/modules/hooks/mutation-keys.js +7 -0
  24. package/esm/modules/hooks/mutations/index.d.ts +3 -0
  25. package/esm/modules/hooks/mutations/index.js +3 -0
  26. package/esm/modules/hooks/mutations/useCreatePrincipalAuthModuleMutation.d.ts +2 -2
  27. package/esm/modules/hooks/mutations/useCreatePrincipalAuthModuleMutation.js +1 -1
  28. package/esm/modules/hooks/mutations/useCreatePrincipalsModuleMutation.d.ts +34 -0
  29. package/esm/modules/hooks/mutations/useCreatePrincipalsModuleMutation.js +31 -0
  30. package/esm/modules/hooks/mutations/useDeletePrincipalAuthModuleMutation.d.ts +2 -2
  31. package/esm/modules/hooks/mutations/useDeletePrincipalAuthModuleMutation.js +1 -1
  32. package/esm/modules/hooks/mutations/useDeletePrincipalsModuleMutation.d.ts +38 -0
  33. package/esm/modules/hooks/mutations/useDeletePrincipalsModuleMutation.js +36 -0
  34. package/esm/modules/hooks/mutations/useUpdatePrincipalAuthModuleMutation.d.ts +2 -2
  35. package/esm/modules/hooks/mutations/useUpdatePrincipalAuthModuleMutation.js +1 -1
  36. package/esm/modules/hooks/mutations/useUpdatePrincipalsModuleMutation.d.ts +40 -0
  37. package/esm/modules/hooks/mutations/useUpdatePrincipalsModuleMutation.js +37 -0
  38. package/esm/modules/hooks/queries/index.d.ts +2 -0
  39. package/esm/modules/hooks/queries/index.js +2 -0
  40. package/esm/modules/hooks/queries/usePrincipalAuthModuleQuery.d.ts +4 -4
  41. package/esm/modules/hooks/queries/usePrincipalAuthModuleQuery.js +1 -1
  42. package/esm/modules/hooks/queries/usePrincipalAuthModulesQuery.d.ts +4 -4
  43. package/esm/modules/hooks/queries/usePrincipalAuthModulesQuery.js +1 -1
  44. package/esm/modules/hooks/queries/usePrincipalsModuleQuery.d.ts +65 -0
  45. package/esm/modules/hooks/queries/usePrincipalsModuleQuery.js +47 -0
  46. package/esm/modules/hooks/queries/usePrincipalsModulesQuery.d.ts +69 -0
  47. package/esm/modules/hooks/queries/usePrincipalsModulesQuery.js +32 -0
  48. package/esm/modules/hooks/query-keys.d.ts +14 -0
  49. package/esm/modules/hooks/query-keys.js +8 -0
  50. package/esm/modules/orm/index.d.ts +2 -0
  51. package/esm/modules/orm/index.js +2 -0
  52. package/esm/modules/orm/input-types.d.ts +190 -1
  53. package/esm/modules/orm/models/index.d.ts +1 -0
  54. package/esm/modules/orm/models/index.js +1 -0
  55. package/esm/modules/orm/models/principalsModule.d.ts +54 -0
  56. package/esm/modules/orm/models/principalsModule.js +100 -0
  57. package/esm/modules/schema-types.d.ts +124 -1
  58. package/esm/modules/types.d.ts +16 -0
  59. package/esm/objects/schema-types.d.ts +4 -0
  60. package/esm/remote/schema-types.d.ts +4 -0
  61. package/esm/storage/schema-types.d.ts +4 -0
  62. package/esm/usage/schema-types.d.ts +4 -0
  63. package/infra/schema-types.d.ts +4 -0
  64. package/modules/hooks/index.d.ts +1 -1
  65. package/modules/hooks/index.js +1 -1
  66. package/modules/hooks/invalidation.d.ts +6 -0
  67. package/modules/hooks/invalidation.js +16 -0
  68. package/modules/hooks/mutation-keys.d.ts +12 -0
  69. package/modules/hooks/mutation-keys.js +8 -1
  70. package/modules/hooks/mutations/index.d.ts +3 -0
  71. package/modules/hooks/mutations/index.js +3 -0
  72. package/modules/hooks/mutations/useCreatePrincipalAuthModuleMutation.d.ts +2 -2
  73. package/modules/hooks/mutations/useCreatePrincipalAuthModuleMutation.js +1 -1
  74. package/modules/hooks/mutations/useCreatePrincipalsModuleMutation.d.ts +34 -0
  75. package/modules/hooks/mutations/useCreatePrincipalsModuleMutation.js +34 -0
  76. package/modules/hooks/mutations/useDeletePrincipalAuthModuleMutation.d.ts +2 -2
  77. package/modules/hooks/mutations/useDeletePrincipalAuthModuleMutation.js +1 -1
  78. package/modules/hooks/mutations/useDeletePrincipalsModuleMutation.d.ts +38 -0
  79. package/modules/hooks/mutations/useDeletePrincipalsModuleMutation.js +39 -0
  80. package/modules/hooks/mutations/useUpdatePrincipalAuthModuleMutation.d.ts +2 -2
  81. package/modules/hooks/mutations/useUpdatePrincipalAuthModuleMutation.js +1 -1
  82. package/modules/hooks/mutations/useUpdatePrincipalsModuleMutation.d.ts +40 -0
  83. package/modules/hooks/mutations/useUpdatePrincipalsModuleMutation.js +40 -0
  84. package/modules/hooks/queries/index.d.ts +2 -0
  85. package/modules/hooks/queries/index.js +2 -0
  86. package/modules/hooks/queries/usePrincipalAuthModuleQuery.d.ts +4 -4
  87. package/modules/hooks/queries/usePrincipalAuthModuleQuery.js +1 -1
  88. package/modules/hooks/queries/usePrincipalAuthModulesQuery.d.ts +4 -4
  89. package/modules/hooks/queries/usePrincipalAuthModulesQuery.js +1 -1
  90. package/modules/hooks/queries/usePrincipalsModuleQuery.d.ts +65 -0
  91. package/modules/hooks/queries/usePrincipalsModuleQuery.js +53 -0
  92. package/modules/hooks/queries/usePrincipalsModulesQuery.d.ts +69 -0
  93. package/modules/hooks/queries/usePrincipalsModulesQuery.js +38 -0
  94. package/modules/hooks/query-keys.d.ts +14 -0
  95. package/modules/hooks/query-keys.js +9 -1
  96. package/modules/orm/index.d.ts +2 -0
  97. package/modules/orm/index.js +2 -0
  98. package/modules/orm/input-types.d.ts +190 -1
  99. package/modules/orm/models/index.d.ts +1 -0
  100. package/modules/orm/models/index.js +3 -1
  101. package/modules/orm/models/principalsModule.d.ts +54 -0
  102. package/modules/orm/models/principalsModule.js +104 -0
  103. package/modules/schema-types.d.ts +124 -1
  104. package/modules/types.d.ts +16 -0
  105. package/objects/schema-types.d.ts +4 -0
  106. package/package.json +3 -3
  107. package/remote/schema-types.d.ts +4 -0
  108. package/storage/schema-types.d.ts +4 -0
  109. package/usage/schema-types.d.ts +4 -0
@@ -1461,15 +1461,15 @@ export interface PubkeySetting {
1461
1461
  /** Database that owns this resource (database-scoped isolation) */
1462
1462
  databaseId?: string | null;
1463
1463
  id: string;
1464
- /** Schema containing the crypto auth functions (FK to metaschema_public.schema) */
1464
+ /** Schema containing the crypto auth functions */
1465
1465
  schemaId?: string | null;
1466
- /** Reference to the sign-in failure recording function (FK to metaschema_public.function) */
1466
+ /** Reference to the sign-in failure recording function */
1467
1467
  signInRecordFailureFunctionId?: string | null;
1468
- /** Reference to the sign-in challenge request function (FK to metaschema_public.function) */
1468
+ /** Reference to the sign-in challenge request function */
1469
1469
  signInRequestChallengeFunctionId?: string | null;
1470
- /** Reference to the sign-in-with-challenge function (FK to metaschema_public.function) */
1470
+ /** Reference to the sign-in-with-challenge function */
1471
1471
  signInWithChallengeFunctionId?: string | null;
1472
- /** Reference to the sign-up-with-key function (FK to metaschema_public.function) */
1472
+ /** Reference to the sign-up-with-key function */
1473
1473
  signUpWithKeyFunctionId?: string | null;
1474
1474
  updatedAt?: string | null;
1475
1475
  /** Field name used to identify the user in crypto auth functions */
@@ -1497,25 +1497,25 @@ export interface Redirect {
1497
1497
  }
1498
1498
  /** RLS module runtime configuration; typed references to the authenticate/current_role function plumbing */
1499
1499
  export interface RlsSetting {
1500
- /** Reference to the authenticate function (FK to metaschema_public.function) */
1500
+ /** Reference to the authenticate function */
1501
1501
  authenticateFunctionId?: string | null;
1502
- /** Schema containing authenticate/authenticate_strict functions (FK to metaschema_public.schema) */
1502
+ /** Schema containing authenticate/authenticate_strict functions */
1503
1503
  authenticateSchemaId?: string | null;
1504
- /** Reference to the strict authenticate function (FK to metaschema_public.function) */
1504
+ /** Reference to the strict authenticate function */
1505
1505
  authenticateStrictFunctionId?: string | null;
1506
1506
  createdAt?: string | null;
1507
- /** Reference to the current_ip_address function (FK to metaschema_public.function) */
1507
+ /** Reference to the current_ip_address function */
1508
1508
  currentIpAddressFunctionId?: string | null;
1509
- /** Reference to the current_role function (FK to metaschema_public.function) */
1509
+ /** Reference to the current_role function */
1510
1510
  currentRoleFunctionId?: string | null;
1511
- /** Reference to the current_role_id function (FK to metaschema_public.function) */
1511
+ /** Reference to the current_role_id function */
1512
1512
  currentRoleIdFunctionId?: string | null;
1513
- /** Reference to the current_user_agent function (FK to metaschema_public.function) */
1513
+ /** Reference to the current_user_agent function */
1514
1514
  currentUserAgentFunctionId?: string | null;
1515
1515
  /** Database that owns this resource (database-scoped isolation) */
1516
1516
  databaseId?: string | null;
1517
1517
  id: string;
1518
- /** Schema containing current_role and related functions (FK to metaschema_public.schema) */
1518
+ /** Schema containing current_role and related functions */
1519
1519
  roleSchemaId?: string | null;
1520
1520
  updatedAt?: string | null;
1521
1521
  }
@@ -1975,9 +1975,9 @@ export interface WebauthnSetting {
1975
1975
  /** Challenge TTL in seconds (default 300 = 5 minutes) */
1976
1976
  challengeExpirySeconds?: string | null;
1977
1977
  createdAt?: string | null;
1978
- /** Schema of the webauthn_credentials table (FK to metaschema_public.schema) */
1978
+ /** Schema of the webauthn_credentials table */
1979
1979
  credentialsSchemaId?: string | null;
1980
- /** Reference to the webauthn_credentials table (FK to metaschema_public.table) */
1980
+ /** Reference to the webauthn_credentials table */
1981
1981
  credentialsTableId?: string | null;
1982
1982
  /** Database that owns this resource (database-scoped isolation) */
1983
1983
  databaseId?: string | null;
@@ -1992,20 +1992,20 @@ export interface WebauthnSetting {
1992
1992
  rpId?: string | null;
1993
1993
  /** WebAuthn Relying Party display name */
1994
1994
  rpName?: string | null;
1995
- /** Schema containing WebAuthn auth procedures (FK to metaschema_public.schema) */
1995
+ /** Schema containing WebAuthn auth procedures */
1996
1996
  schemaId?: string | null;
1997
- /** Reference to the session_credentials table (FK to metaschema_public.table) */
1997
+ /** Reference to the session_credentials table */
1998
1998
  sessionCredentialsTableId?: string | null;
1999
- /** Schema of the session_secrets table (FK to metaschema_public.schema) */
1999
+ /** Schema of the session_secrets table */
2000
2000
  sessionSecretsSchemaId?: string | null;
2001
- /** Reference to the session_secrets table (FK to metaschema_public.table) */
2001
+ /** Reference to the session_secrets table */
2002
2002
  sessionSecretsTableId?: string | null;
2003
- /** Schema of the sessions table (FK to metaschema_public.schema) */
2003
+ /** Schema of the sessions table */
2004
2004
  sessionsSchemaId?: string | null;
2005
- /** Reference to the sessions table (FK to metaschema_public.table) */
2005
+ /** Reference to the sessions table */
2006
2006
  sessionsTableId?: string | null;
2007
2007
  updatedAt?: string | null;
2008
- /** Reference to the user field on webauthn_credentials (FK to metaschema_public.field) */
2008
+ /** Reference to the user field on webauthn_credentials */
2009
2009
  userFieldId?: string | null;
2010
2010
  }
2011
2011
  export interface ConnectionResult<T> {
@@ -2151,6 +2151,7 @@ export interface FieldRelations {
2151
2151
  partitionsByPartitionKeyId?: ConnectionResult<Partition>;
2152
2152
  spatialRelations?: ConnectionResult<SpatialRelation>;
2153
2153
  spatialRelationsByRefFieldId?: ConnectionResult<SpatialRelation>;
2154
+ webauthnSettingsByUserFieldId?: ConnectionResult<WebauthnSetting>;
2154
2155
  }
2155
2156
  export interface ForeignKeyConstraintBehaviorRelations {
2156
2157
  database?: Database | null;
@@ -2169,6 +2170,16 @@ export interface FullTextSearchRelations {
2169
2170
  export interface FunctionRelations {
2170
2171
  database?: Database | null;
2171
2172
  schema?: Schema | null;
2173
+ pubkeySettingsBySignInRecordFailureFunctionId?: ConnectionResult<PubkeySetting>;
2174
+ pubkeySettingsBySignInRequestChallengeFunctionId?: ConnectionResult<PubkeySetting>;
2175
+ pubkeySettingsBySignInWithChallengeFunctionId?: ConnectionResult<PubkeySetting>;
2176
+ pubkeySettingsBySignUpWithKeyFunctionId?: ConnectionResult<PubkeySetting>;
2177
+ rlsSettingsByAuthenticateFunctionId?: ConnectionResult<RlsSetting>;
2178
+ rlsSettingsByAuthenticateStrictFunctionId?: ConnectionResult<RlsSetting>;
2179
+ rlsSettingsByCurrentIpAddressFunctionId?: ConnectionResult<RlsSetting>;
2180
+ rlsSettingsByCurrentRoleFunctionId?: ConnectionResult<RlsSetting>;
2181
+ rlsSettingsByCurrentRoleIdFunctionId?: ConnectionResult<RlsSetting>;
2182
+ rlsSettingsByCurrentUserAgentFunctionId?: ConnectionResult<RlsSetting>;
2172
2183
  triggers?: ConnectionResult<Trigger>;
2173
2184
  }
2174
2185
  export interface GetSitePreviewsRecordRelations {
@@ -2327,9 +2338,16 @@ export interface SchemaRelations {
2327
2338
  enums?: ConnectionResult<Enum>;
2328
2339
  functions?: ConnectionResult<Function>;
2329
2340
  platformApiSchemas?: ConnectionResult<PlatformApiSchema>;
2341
+ pubkeySettings?: ConnectionResult<PubkeySetting>;
2342
+ rlsSettingsByAuthenticateSchemaId?: ConnectionResult<RlsSetting>;
2343
+ rlsSettingsByRoleSchemaId?: ConnectionResult<RlsSetting>;
2330
2344
  schemaGrants?: ConnectionResult<SchemaGrant>;
2331
2345
  tables?: ConnectionResult<Table>;
2332
2346
  views?: ConnectionResult<View>;
2347
+ webauthnSettings?: ConnectionResult<WebauthnSetting>;
2348
+ webauthnSettingsByCredentialsSchemaId?: ConnectionResult<WebauthnSetting>;
2349
+ webauthnSettingsBySessionSecretsSchemaId?: ConnectionResult<WebauthnSetting>;
2350
+ webauthnSettingsBySessionsSchemaId?: ConnectionResult<WebauthnSetting>;
2333
2351
  }
2334
2352
  export interface SchemaGrantRelations {
2335
2353
  database?: Database | null;
@@ -2412,6 +2430,10 @@ export interface TableRelations {
2412
2430
  uniqueConstraints?: ConnectionResult<UniqueConstraint>;
2413
2431
  viewTables?: ConnectionResult<ViewTable>;
2414
2432
  views?: ConnectionResult<View>;
2433
+ webauthnSettingsByCredentialsTableId?: ConnectionResult<WebauthnSetting>;
2434
+ webauthnSettingsBySessionCredentialsTableId?: ConnectionResult<WebauthnSetting>;
2435
+ webauthnSettingsBySessionSecretsTableId?: ConnectionResult<WebauthnSetting>;
2436
+ webauthnSettingsBySessionsTableId?: ConnectionResult<WebauthnSetting>;
2415
2437
  }
2416
2438
  export interface TableGrantRelations {
2417
2439
  database?: Database | null;
@@ -3338,6 +3360,12 @@ export type FieldSelect = {
3338
3360
  filter?: SpatialRelationFilter;
3339
3361
  orderBy?: SpatialRelationOrderBy[];
3340
3362
  };
3363
+ webauthnSettingsByUserFieldId?: {
3364
+ select: WebauthnSettingSelect;
3365
+ first?: number;
3366
+ filter?: WebauthnSettingFilter;
3367
+ orderBy?: WebauthnSettingOrderBy[];
3368
+ };
3341
3369
  };
3342
3370
  export type ForeignKeyConstraintBehaviorSelect = {
3343
3371
  createdAt?: boolean;
@@ -3434,6 +3462,66 @@ export type FunctionSelect = {
3434
3462
  schema?: {
3435
3463
  select: SchemaSelect;
3436
3464
  };
3465
+ pubkeySettingsBySignInRecordFailureFunctionId?: {
3466
+ select: PubkeySettingSelect;
3467
+ first?: number;
3468
+ filter?: PubkeySettingFilter;
3469
+ orderBy?: PubkeySettingOrderBy[];
3470
+ };
3471
+ pubkeySettingsBySignInRequestChallengeFunctionId?: {
3472
+ select: PubkeySettingSelect;
3473
+ first?: number;
3474
+ filter?: PubkeySettingFilter;
3475
+ orderBy?: PubkeySettingOrderBy[];
3476
+ };
3477
+ pubkeySettingsBySignInWithChallengeFunctionId?: {
3478
+ select: PubkeySettingSelect;
3479
+ first?: number;
3480
+ filter?: PubkeySettingFilter;
3481
+ orderBy?: PubkeySettingOrderBy[];
3482
+ };
3483
+ pubkeySettingsBySignUpWithKeyFunctionId?: {
3484
+ select: PubkeySettingSelect;
3485
+ first?: number;
3486
+ filter?: PubkeySettingFilter;
3487
+ orderBy?: PubkeySettingOrderBy[];
3488
+ };
3489
+ rlsSettingsByAuthenticateFunctionId?: {
3490
+ select: RlsSettingSelect;
3491
+ first?: number;
3492
+ filter?: RlsSettingFilter;
3493
+ orderBy?: RlsSettingOrderBy[];
3494
+ };
3495
+ rlsSettingsByAuthenticateStrictFunctionId?: {
3496
+ select: RlsSettingSelect;
3497
+ first?: number;
3498
+ filter?: RlsSettingFilter;
3499
+ orderBy?: RlsSettingOrderBy[];
3500
+ };
3501
+ rlsSettingsByCurrentIpAddressFunctionId?: {
3502
+ select: RlsSettingSelect;
3503
+ first?: number;
3504
+ filter?: RlsSettingFilter;
3505
+ orderBy?: RlsSettingOrderBy[];
3506
+ };
3507
+ rlsSettingsByCurrentRoleFunctionId?: {
3508
+ select: RlsSettingSelect;
3509
+ first?: number;
3510
+ filter?: RlsSettingFilter;
3511
+ orderBy?: RlsSettingOrderBy[];
3512
+ };
3513
+ rlsSettingsByCurrentRoleIdFunctionId?: {
3514
+ select: RlsSettingSelect;
3515
+ first?: number;
3516
+ filter?: RlsSettingFilter;
3517
+ orderBy?: RlsSettingOrderBy[];
3518
+ };
3519
+ rlsSettingsByCurrentUserAgentFunctionId?: {
3520
+ select: RlsSettingSelect;
3521
+ first?: number;
3522
+ filter?: RlsSettingFilter;
3523
+ orderBy?: RlsSettingOrderBy[];
3524
+ };
3437
3525
  triggers?: {
3438
3526
  select: TriggerSelect;
3439
3527
  first?: number;
@@ -4278,6 +4366,24 @@ export type SchemaSelect = {
4278
4366
  filter?: PlatformApiSchemaFilter;
4279
4367
  orderBy?: PlatformApiSchemaOrderBy[];
4280
4368
  };
4369
+ pubkeySettings?: {
4370
+ select: PubkeySettingSelect;
4371
+ first?: number;
4372
+ filter?: PubkeySettingFilter;
4373
+ orderBy?: PubkeySettingOrderBy[];
4374
+ };
4375
+ rlsSettingsByAuthenticateSchemaId?: {
4376
+ select: RlsSettingSelect;
4377
+ first?: number;
4378
+ filter?: RlsSettingFilter;
4379
+ orderBy?: RlsSettingOrderBy[];
4380
+ };
4381
+ rlsSettingsByRoleSchemaId?: {
4382
+ select: RlsSettingSelect;
4383
+ first?: number;
4384
+ filter?: RlsSettingFilter;
4385
+ orderBy?: RlsSettingOrderBy[];
4386
+ };
4281
4387
  schemaGrants?: {
4282
4388
  select: SchemaGrantSelect;
4283
4389
  first?: number;
@@ -4296,6 +4402,30 @@ export type SchemaSelect = {
4296
4402
  filter?: ViewFilter;
4297
4403
  orderBy?: ViewOrderBy[];
4298
4404
  };
4405
+ webauthnSettings?: {
4406
+ select: WebauthnSettingSelect;
4407
+ first?: number;
4408
+ filter?: WebauthnSettingFilter;
4409
+ orderBy?: WebauthnSettingOrderBy[];
4410
+ };
4411
+ webauthnSettingsByCredentialsSchemaId?: {
4412
+ select: WebauthnSettingSelect;
4413
+ first?: number;
4414
+ filter?: WebauthnSettingFilter;
4415
+ orderBy?: WebauthnSettingOrderBy[];
4416
+ };
4417
+ webauthnSettingsBySessionSecretsSchemaId?: {
4418
+ select: WebauthnSettingSelect;
4419
+ first?: number;
4420
+ filter?: WebauthnSettingFilter;
4421
+ orderBy?: WebauthnSettingOrderBy[];
4422
+ };
4423
+ webauthnSettingsBySessionsSchemaId?: {
4424
+ select: WebauthnSettingSelect;
4425
+ first?: number;
4426
+ filter?: WebauthnSettingFilter;
4427
+ orderBy?: WebauthnSettingOrderBy[];
4428
+ };
4299
4429
  };
4300
4430
  export type SchemaGrantSelect = {
4301
4431
  createdAt?: boolean;
@@ -4765,6 +4895,30 @@ export type TableSelect = {
4765
4895
  filter?: ViewFilter;
4766
4896
  orderBy?: ViewOrderBy[];
4767
4897
  };
4898
+ webauthnSettingsByCredentialsTableId?: {
4899
+ select: WebauthnSettingSelect;
4900
+ first?: number;
4901
+ filter?: WebauthnSettingFilter;
4902
+ orderBy?: WebauthnSettingOrderBy[];
4903
+ };
4904
+ webauthnSettingsBySessionCredentialsTableId?: {
4905
+ select: WebauthnSettingSelect;
4906
+ first?: number;
4907
+ filter?: WebauthnSettingFilter;
4908
+ orderBy?: WebauthnSettingOrderBy[];
4909
+ };
4910
+ webauthnSettingsBySessionSecretsTableId?: {
4911
+ select: WebauthnSettingSelect;
4912
+ first?: number;
4913
+ filter?: WebauthnSettingFilter;
4914
+ orderBy?: WebauthnSettingOrderBy[];
4915
+ };
4916
+ webauthnSettingsBySessionsTableId?: {
4917
+ select: WebauthnSettingSelect;
4918
+ first?: number;
4919
+ filter?: WebauthnSettingFilter;
4920
+ orderBy?: WebauthnSettingOrderBy[];
4921
+ };
4768
4922
  };
4769
4923
  export type TableGrantSelect = {
4770
4924
  createdAt?: boolean;
@@ -6170,6 +6324,10 @@ export interface FieldFilter {
6170
6324
  type?: JSONFilter;
6171
6325
  /** Filter by the object’s `updatedAt` field. */
6172
6326
  updatedAt?: DatetimeFilter;
6327
+ /** Filter by the object’s `webauthnSettingsByUserFieldId` relation. */
6328
+ webauthnSettingsByUserFieldId?: FieldToManyWebauthnSettingFilter;
6329
+ /** `webauthnSettingsByUserFieldId` exist. */
6330
+ webauthnSettingsByUserFieldIdExist?: boolean;
6173
6331
  }
6174
6332
  export interface ForeignKeyConstraintBehaviorFilter {
6175
6333
  /** Checks for all expressions in this list. */
@@ -6320,8 +6478,48 @@ export interface FunctionFilter {
6320
6478
  not?: FunctionFilter;
6321
6479
  /** Checks for any expressions in this list. */
6322
6480
  or?: FunctionFilter[];
6481
+ /** Filter by the object’s `pubkeySettingsBySignInRecordFailureFunctionId` relation. */
6482
+ pubkeySettingsBySignInRecordFailureFunctionId?: FunctionToManyPubkeySettingFilter;
6483
+ /** `pubkeySettingsBySignInRecordFailureFunctionId` exist. */
6484
+ pubkeySettingsBySignInRecordFailureFunctionIdExist?: boolean;
6485
+ /** Filter by the object’s `pubkeySettingsBySignInRequestChallengeFunctionId` relation. */
6486
+ pubkeySettingsBySignInRequestChallengeFunctionId?: FunctionToManyPubkeySettingFilter;
6487
+ /** `pubkeySettingsBySignInRequestChallengeFunctionId` exist. */
6488
+ pubkeySettingsBySignInRequestChallengeFunctionIdExist?: boolean;
6489
+ /** Filter by the object’s `pubkeySettingsBySignInWithChallengeFunctionId` relation. */
6490
+ pubkeySettingsBySignInWithChallengeFunctionId?: FunctionToManyPubkeySettingFilter;
6491
+ /** `pubkeySettingsBySignInWithChallengeFunctionId` exist. */
6492
+ pubkeySettingsBySignInWithChallengeFunctionIdExist?: boolean;
6493
+ /** Filter by the object’s `pubkeySettingsBySignUpWithKeyFunctionId` relation. */
6494
+ pubkeySettingsBySignUpWithKeyFunctionId?: FunctionToManyPubkeySettingFilter;
6495
+ /** `pubkeySettingsBySignUpWithKeyFunctionId` exist. */
6496
+ pubkeySettingsBySignUpWithKeyFunctionIdExist?: boolean;
6323
6497
  /** Filter by the object’s `returns` field. */
6324
6498
  returns?: JSONFilter;
6499
+ /** Filter by the object’s `rlsSettingsByAuthenticateFunctionId` relation. */
6500
+ rlsSettingsByAuthenticateFunctionId?: FunctionToManyRlsSettingFilter;
6501
+ /** `rlsSettingsByAuthenticateFunctionId` exist. */
6502
+ rlsSettingsByAuthenticateFunctionIdExist?: boolean;
6503
+ /** Filter by the object’s `rlsSettingsByAuthenticateStrictFunctionId` relation. */
6504
+ rlsSettingsByAuthenticateStrictFunctionId?: FunctionToManyRlsSettingFilter;
6505
+ /** `rlsSettingsByAuthenticateStrictFunctionId` exist. */
6506
+ rlsSettingsByAuthenticateStrictFunctionIdExist?: boolean;
6507
+ /** Filter by the object’s `rlsSettingsByCurrentIpAddressFunctionId` relation. */
6508
+ rlsSettingsByCurrentIpAddressFunctionId?: FunctionToManyRlsSettingFilter;
6509
+ /** `rlsSettingsByCurrentIpAddressFunctionId` exist. */
6510
+ rlsSettingsByCurrentIpAddressFunctionIdExist?: boolean;
6511
+ /** Filter by the object’s `rlsSettingsByCurrentRoleFunctionId` relation. */
6512
+ rlsSettingsByCurrentRoleFunctionId?: FunctionToManyRlsSettingFilter;
6513
+ /** `rlsSettingsByCurrentRoleFunctionId` exist. */
6514
+ rlsSettingsByCurrentRoleFunctionIdExist?: boolean;
6515
+ /** Filter by the object’s `rlsSettingsByCurrentRoleIdFunctionId` relation. */
6516
+ rlsSettingsByCurrentRoleIdFunctionId?: FunctionToManyRlsSettingFilter;
6517
+ /** `rlsSettingsByCurrentRoleIdFunctionId` exist. */
6518
+ rlsSettingsByCurrentRoleIdFunctionIdExist?: boolean;
6519
+ /** Filter by the object’s `rlsSettingsByCurrentUserAgentFunctionId` relation. */
6520
+ rlsSettingsByCurrentUserAgentFunctionId?: FunctionToManyRlsSettingFilter;
6521
+ /** `rlsSettingsByCurrentUserAgentFunctionId` exist. */
6522
+ rlsSettingsByCurrentUserAgentFunctionIdExist?: boolean;
6325
6523
  /** Filter by the object’s `schema` relation. */
6326
6524
  schema?: SchemaFilter;
6327
6525
  /** Filter by the object’s `schemaId` field. */
@@ -7712,6 +7910,18 @@ export interface SchemaFilter {
7712
7910
  platformApiSchemas?: SchemaToManyPlatformApiSchemaFilter;
7713
7911
  /** `platformApiSchemas` exist. */
7714
7912
  platformApiSchemasExist?: boolean;
7913
+ /** Filter by the object’s `pubkeySettings` relation. */
7914
+ pubkeySettings?: SchemaToManyPubkeySettingFilter;
7915
+ /** `pubkeySettings` exist. */
7916
+ pubkeySettingsExist?: boolean;
7917
+ /** Filter by the object’s `rlsSettingsByAuthenticateSchemaId` relation. */
7918
+ rlsSettingsByAuthenticateSchemaId?: SchemaToManyRlsSettingFilter;
7919
+ /** `rlsSettingsByAuthenticateSchemaId` exist. */
7920
+ rlsSettingsByAuthenticateSchemaIdExist?: boolean;
7921
+ /** Filter by the object’s `rlsSettingsByRoleSchemaId` relation. */
7922
+ rlsSettingsByRoleSchemaId?: SchemaToManyRlsSettingFilter;
7923
+ /** `rlsSettingsByRoleSchemaId` exist. */
7924
+ rlsSettingsByRoleSchemaIdExist?: boolean;
7715
7925
  /** Filter by the object’s `schemaGrants` relation. */
7716
7926
  schemaGrants?: SchemaToManySchemaGrantFilter;
7717
7927
  /** `schemaGrants` exist. */
@@ -7732,6 +7942,22 @@ export interface SchemaFilter {
7732
7942
  views?: SchemaToManyViewFilter;
7733
7943
  /** `views` exist. */
7734
7944
  viewsExist?: boolean;
7945
+ /** Filter by the object’s `webauthnSettings` relation. */
7946
+ webauthnSettings?: SchemaToManyWebauthnSettingFilter;
7947
+ /** Filter by the object’s `webauthnSettingsByCredentialsSchemaId` relation. */
7948
+ webauthnSettingsByCredentialsSchemaId?: SchemaToManyWebauthnSettingFilter;
7949
+ /** `webauthnSettingsByCredentialsSchemaId` exist. */
7950
+ webauthnSettingsByCredentialsSchemaIdExist?: boolean;
7951
+ /** Filter by the object’s `webauthnSettingsBySessionSecretsSchemaId` relation. */
7952
+ webauthnSettingsBySessionSecretsSchemaId?: SchemaToManyWebauthnSettingFilter;
7953
+ /** `webauthnSettingsBySessionSecretsSchemaId` exist. */
7954
+ webauthnSettingsBySessionSecretsSchemaIdExist?: boolean;
7955
+ /** Filter by the object’s `webauthnSettingsBySessionsSchemaId` relation. */
7956
+ webauthnSettingsBySessionsSchemaId?: SchemaToManyWebauthnSettingFilter;
7957
+ /** `webauthnSettingsBySessionsSchemaId` exist. */
7958
+ webauthnSettingsBySessionsSchemaIdExist?: boolean;
7959
+ /** `webauthnSettings` exist. */
7960
+ webauthnSettingsExist?: boolean;
7735
7961
  }
7736
7962
  export interface SchemaGrantFilter {
7737
7963
  /** Checks for all expressions in this list. */
@@ -8330,6 +8556,22 @@ export interface TableFilter {
8330
8556
  views?: TableToManyViewFilter;
8331
8557
  /** `views` exist. */
8332
8558
  viewsExist?: boolean;
8559
+ /** Filter by the object’s `webauthnSettingsByCredentialsTableId` relation. */
8560
+ webauthnSettingsByCredentialsTableId?: TableToManyWebauthnSettingFilter;
8561
+ /** `webauthnSettingsByCredentialsTableId` exist. */
8562
+ webauthnSettingsByCredentialsTableIdExist?: boolean;
8563
+ /** Filter by the object’s `webauthnSettingsBySessionCredentialsTableId` relation. */
8564
+ webauthnSettingsBySessionCredentialsTableId?: TableToManyWebauthnSettingFilter;
8565
+ /** `webauthnSettingsBySessionCredentialsTableId` exist. */
8566
+ webauthnSettingsBySessionCredentialsTableIdExist?: boolean;
8567
+ /** Filter by the object’s `webauthnSettingsBySessionSecretsTableId` relation. */
8568
+ webauthnSettingsBySessionSecretsTableId?: TableToManyWebauthnSettingFilter;
8569
+ /** `webauthnSettingsBySessionSecretsTableId` exist. */
8570
+ webauthnSettingsBySessionSecretsTableIdExist?: boolean;
8571
+ /** Filter by the object’s `webauthnSettingsBySessionsTableId` relation. */
8572
+ webauthnSettingsBySessionsTableId?: TableToManyWebauthnSettingFilter;
8573
+ /** `webauthnSettingsBySessionsTableId` exist. */
8574
+ webauthnSettingsBySessionsTableIdExist?: boolean;
8333
8575
  }
8334
8576
  export interface TableGrantFilter {
8335
8577
  /** Checks for all expressions in this list. */
@@ -12549,6 +12791,15 @@ export interface FieldToManySpatialRelationFilter {
12549
12791
  /** Filters to entities where at least one related entity matches. */
12550
12792
  some?: SpatialRelationFilter;
12551
12793
  }
12794
+ /** A filter to be used against many `WebauthnSetting` object types. All fields are combined with a logical ‘and.’ */
12795
+ export interface FieldToManyWebauthnSettingFilter {
12796
+ /** Filters to entities where every related entity matches. */
12797
+ every?: WebauthnSettingFilter;
12798
+ /** Filters to entities where no related entity matches. */
12799
+ none?: WebauthnSettingFilter;
12800
+ /** Filters to entities where at least one related entity matches. */
12801
+ some?: WebauthnSettingFilter;
12802
+ }
12552
12803
  /** A filter to be used against many `ForeignKeyConstraintBehavior` object types. All fields are combined with a logical ‘and.’ */
12553
12804
  export interface ForeignKeyConstraintToManyForeignKeyConstraintBehaviorFilter {
12554
12805
  /** Filters to entities where every related entity matches. */
@@ -12558,6 +12809,24 @@ export interface ForeignKeyConstraintToManyForeignKeyConstraintBehaviorFilter {
12558
12809
  /** Filters to entities where at least one related entity matches. */
12559
12810
  some?: ForeignKeyConstraintBehaviorFilter;
12560
12811
  }
12812
+ /** A filter to be used against many `PubkeySetting` object types. All fields are combined with a logical ‘and.’ */
12813
+ export interface FunctionToManyPubkeySettingFilter {
12814
+ /** Filters to entities where every related entity matches. */
12815
+ every?: PubkeySettingFilter;
12816
+ /** Filters to entities where no related entity matches. */
12817
+ none?: PubkeySettingFilter;
12818
+ /** Filters to entities where at least one related entity matches. */
12819
+ some?: PubkeySettingFilter;
12820
+ }
12821
+ /** A filter to be used against many `RlsSetting` object types. All fields are combined with a logical ‘and.’ */
12822
+ export interface FunctionToManyRlsSettingFilter {
12823
+ /** Filters to entities where every related entity matches. */
12824
+ every?: RlsSettingFilter;
12825
+ /** Filters to entities where no related entity matches. */
12826
+ none?: RlsSettingFilter;
12827
+ /** Filters to entities where at least one related entity matches. */
12828
+ some?: RlsSettingFilter;
12829
+ }
12561
12830
  /** A filter to be used against many `Trigger` object types. All fields are combined with a logical ‘and.’ */
12562
12831
  export interface FunctionToManyTriggerFilter {
12563
12832
  /** Filters to entities where every related entity matches. */
@@ -12834,6 +13103,24 @@ export interface SchemaToManyPlatformApiSchemaFilter {
12834
13103
  /** Filters to entities where at least one related entity matches. */
12835
13104
  some?: PlatformApiSchemaFilter;
12836
13105
  }
13106
+ /** A filter to be used against many `PubkeySetting` object types. All fields are combined with a logical ‘and.’ */
13107
+ export interface SchemaToManyPubkeySettingFilter {
13108
+ /** Filters to entities where every related entity matches. */
13109
+ every?: PubkeySettingFilter;
13110
+ /** Filters to entities where no related entity matches. */
13111
+ none?: PubkeySettingFilter;
13112
+ /** Filters to entities where at least one related entity matches. */
13113
+ some?: PubkeySettingFilter;
13114
+ }
13115
+ /** A filter to be used against many `RlsSetting` object types. All fields are combined with a logical ‘and.’ */
13116
+ export interface SchemaToManyRlsSettingFilter {
13117
+ /** Filters to entities where every related entity matches. */
13118
+ every?: RlsSettingFilter;
13119
+ /** Filters to entities where no related entity matches. */
13120
+ none?: RlsSettingFilter;
13121
+ /** Filters to entities where at least one related entity matches. */
13122
+ some?: RlsSettingFilter;
13123
+ }
12837
13124
  /** A filter to be used against many `SchemaGrant` object types. All fields are combined with a logical ‘and.’ */
12838
13125
  export interface SchemaToManySchemaGrantFilter {
12839
13126
  /** Filters to entities where every related entity matches. */
@@ -12861,6 +13148,15 @@ export interface SchemaToManyViewFilter {
12861
13148
  /** Filters to entities where at least one related entity matches. */
12862
13149
  some?: ViewFilter;
12863
13150
  }
13151
+ /** A filter to be used against many `WebauthnSetting` object types. All fields are combined with a logical ‘and.’ */
13152
+ export interface SchemaToManyWebauthnSettingFilter {
13153
+ /** Filters to entities where every related entity matches. */
13154
+ every?: WebauthnSettingFilter;
13155
+ /** Filters to entities where no related entity matches. */
13156
+ none?: WebauthnSettingFilter;
13157
+ /** Filters to entities where at least one related entity matches. */
13158
+ some?: WebauthnSettingFilter;
13159
+ }
12864
13160
  /** A filter to be used against many `Page` object types. All fields are combined with a logical ‘and.’ */
12865
13161
  export interface SiteToManyPageFilter {
12866
13162
  /** Filters to entities where every related entity matches. */
@@ -13086,6 +13382,15 @@ export interface TableToManyViewFilter {
13086
13382
  /** Filters to entities where at least one related entity matches. */
13087
13383
  some?: ViewFilter;
13088
13384
  }
13385
+ /** A filter to be used against many `WebauthnSetting` object types. All fields are combined with a logical ‘and.’ */
13386
+ export interface TableToManyWebauthnSettingFilter {
13387
+ /** Filters to entities where every related entity matches. */
13388
+ every?: WebauthnSettingFilter;
13389
+ /** Filters to entities where no related entity matches. */
13390
+ none?: WebauthnSettingFilter;
13391
+ /** Filters to entities where at least one related entity matches. */
13392
+ some?: WebauthnSettingFilter;
13393
+ }
13089
13394
  /** A filter to be used against many `UniqueConstraintBehavior` object types. All fields are combined with a logical ‘and.’ */
13090
13395
  export interface UniqueConstraintToManyUniqueConstraintBehaviorFilter {
13091
13396
  /** Filters to entities where every related entity matches. */
@@ -14332,15 +14637,15 @@ export interface PubkeySettingInput {
14332
14637
  /** Database that owns this resource (database-scoped isolation) */
14333
14638
  databaseId: string;
14334
14639
  id?: string;
14335
- /** Schema containing the crypto auth functions (FK to metaschema_public.schema) */
14640
+ /** Schema containing the crypto auth functions */
14336
14641
  schemaId?: string;
14337
- /** Reference to the sign-in failure recording function (FK to metaschema_public.function) */
14642
+ /** Reference to the sign-in failure recording function */
14338
14643
  signInRecordFailureFunctionId?: string;
14339
- /** Reference to the sign-in challenge request function (FK to metaschema_public.function) */
14644
+ /** Reference to the sign-in challenge request function */
14340
14645
  signInRequestChallengeFunctionId?: string;
14341
- /** Reference to the sign-in-with-challenge function (FK to metaschema_public.function) */
14646
+ /** Reference to the sign-in-with-challenge function */
14342
14647
  signInWithChallengeFunctionId?: string;
14343
- /** Reference to the sign-up-with-key function (FK to metaschema_public.function) */
14648
+ /** Reference to the sign-up-with-key function */
14344
14649
  signUpWithKeyFunctionId?: string;
14345
14650
  updatedAt?: string;
14346
14651
  /** Field name used to identify the user in crypto auth functions */
@@ -14368,25 +14673,25 @@ export interface RedirectInput {
14368
14673
  }
14369
14674
  /** An input for mutations affecting `RlsSetting` */
14370
14675
  export interface RlsSettingInput {
14371
- /** Reference to the authenticate function (FK to metaschema_public.function) */
14676
+ /** Reference to the authenticate function */
14372
14677
  authenticateFunctionId?: string;
14373
- /** Schema containing authenticate/authenticate_strict functions (FK to metaschema_public.schema) */
14678
+ /** Schema containing authenticate/authenticate_strict functions */
14374
14679
  authenticateSchemaId?: string;
14375
- /** Reference to the strict authenticate function (FK to metaschema_public.function) */
14680
+ /** Reference to the strict authenticate function */
14376
14681
  authenticateStrictFunctionId?: string;
14377
14682
  createdAt?: string;
14378
- /** Reference to the current_ip_address function (FK to metaschema_public.function) */
14683
+ /** Reference to the current_ip_address function */
14379
14684
  currentIpAddressFunctionId?: string;
14380
- /** Reference to the current_role function (FK to metaschema_public.function) */
14685
+ /** Reference to the current_role function */
14381
14686
  currentRoleFunctionId?: string;
14382
- /** Reference to the current_role_id function (FK to metaschema_public.function) */
14687
+ /** Reference to the current_role_id function */
14383
14688
  currentRoleIdFunctionId?: string;
14384
- /** Reference to the current_user_agent function (FK to metaschema_public.function) */
14689
+ /** Reference to the current_user_agent function */
14385
14690
  currentUserAgentFunctionId?: string;
14386
14691
  /** Database that owns this resource (database-scoped isolation) */
14387
14692
  databaseId: string;
14388
14693
  id?: string;
14389
- /** Schema containing current_role and related functions (FK to metaschema_public.schema) */
14694
+ /** Schema containing current_role and related functions */
14390
14695
  roleSchemaId?: string;
14391
14696
  updatedAt?: string;
14392
14697
  }
@@ -14828,9 +15133,9 @@ export interface WebauthnSettingInput {
14828
15133
  /** Challenge TTL in seconds (default 300 = 5 minutes) */
14829
15134
  challengeExpirySeconds?: string;
14830
15135
  createdAt?: string;
14831
- /** Schema of the webauthn_credentials table (FK to metaschema_public.schema) */
15136
+ /** Schema of the webauthn_credentials table */
14832
15137
  credentialsSchemaId?: string;
14833
- /** Reference to the webauthn_credentials table (FK to metaschema_public.table) */
15138
+ /** Reference to the webauthn_credentials table */
14834
15139
  credentialsTableId?: string;
14835
15140
  /** Database that owns this resource (database-scoped isolation) */
14836
15141
  databaseId: string;
@@ -14845,20 +15150,20 @@ export interface WebauthnSettingInput {
14845
15150
  rpId?: string;
14846
15151
  /** WebAuthn Relying Party display name */
14847
15152
  rpName?: string;
14848
- /** Schema containing WebAuthn auth procedures (FK to metaschema_public.schema) */
15153
+ /** Schema containing WebAuthn auth procedures */
14849
15154
  schemaId?: string;
14850
- /** Reference to the session_credentials table (FK to metaschema_public.table) */
15155
+ /** Reference to the session_credentials table */
14851
15156
  sessionCredentialsTableId?: string;
14852
- /** Schema of the session_secrets table (FK to metaschema_public.schema) */
15157
+ /** Schema of the session_secrets table */
14853
15158
  sessionSecretsSchemaId?: string;
14854
- /** Reference to the session_secrets table (FK to metaschema_public.table) */
15159
+ /** Reference to the session_secrets table */
14855
15160
  sessionSecretsTableId?: string;
14856
- /** Schema of the sessions table (FK to metaschema_public.schema) */
15161
+ /** Schema of the sessions table */
14857
15162
  sessionsSchemaId?: string;
14858
- /** Reference to the sessions table (FK to metaschema_public.table) */
15163
+ /** Reference to the sessions table */
14859
15164
  sessionsTableId?: string;
14860
15165
  updatedAt?: string;
14861
- /** Reference to the user field on webauthn_credentials (FK to metaschema_public.field) */
15166
+ /** Reference to the user field on webauthn_credentials */
14862
15167
  userFieldId?: string;
14863
15168
  }
14864
15169
  /** A filter to be used against `ApiSchema` object types. All fields are combined with a logical ‘and.’ */
@@ -15387,6 +15692,10 @@ export interface FieldFilter {
15387
15692
  type?: JSONFilter;
15388
15693
  /** Filter by the object’s `updatedAt` field. */
15389
15694
  updatedAt?: DatetimeFilter;
15695
+ /** Filter by the object’s `webauthnSettingsByUserFieldId` relation. */
15696
+ webauthnSettingsByUserFieldId?: FieldToManyWebauthnSettingFilter;
15697
+ /** `webauthnSettingsByUserFieldId` exist. */
15698
+ webauthnSettingsByUserFieldIdExist?: boolean;
15390
15699
  }
15391
15700
  /** A filter to be used against `ForeignKeyConstraintBehavior` object types. All fields are combined with a logical ‘and.’ */
15392
15701
  export interface ForeignKeyConstraintBehaviorFilter {
@@ -15541,8 +15850,48 @@ export interface FunctionFilter {
15541
15850
  not?: FunctionFilter;
15542
15851
  /** Checks for any expressions in this list. */
15543
15852
  or?: FunctionFilter[];
15853
+ /** Filter by the object’s `pubkeySettingsBySignInRecordFailureFunctionId` relation. */
15854
+ pubkeySettingsBySignInRecordFailureFunctionId?: FunctionToManyPubkeySettingFilter;
15855
+ /** `pubkeySettingsBySignInRecordFailureFunctionId` exist. */
15856
+ pubkeySettingsBySignInRecordFailureFunctionIdExist?: boolean;
15857
+ /** Filter by the object’s `pubkeySettingsBySignInRequestChallengeFunctionId` relation. */
15858
+ pubkeySettingsBySignInRequestChallengeFunctionId?: FunctionToManyPubkeySettingFilter;
15859
+ /** `pubkeySettingsBySignInRequestChallengeFunctionId` exist. */
15860
+ pubkeySettingsBySignInRequestChallengeFunctionIdExist?: boolean;
15861
+ /** Filter by the object’s `pubkeySettingsBySignInWithChallengeFunctionId` relation. */
15862
+ pubkeySettingsBySignInWithChallengeFunctionId?: FunctionToManyPubkeySettingFilter;
15863
+ /** `pubkeySettingsBySignInWithChallengeFunctionId` exist. */
15864
+ pubkeySettingsBySignInWithChallengeFunctionIdExist?: boolean;
15865
+ /** Filter by the object’s `pubkeySettingsBySignUpWithKeyFunctionId` relation. */
15866
+ pubkeySettingsBySignUpWithKeyFunctionId?: FunctionToManyPubkeySettingFilter;
15867
+ /** `pubkeySettingsBySignUpWithKeyFunctionId` exist. */
15868
+ pubkeySettingsBySignUpWithKeyFunctionIdExist?: boolean;
15544
15869
  /** Filter by the object’s `returns` field. */
15545
15870
  returns?: JSONFilter;
15871
+ /** Filter by the object’s `rlsSettingsByAuthenticateFunctionId` relation. */
15872
+ rlsSettingsByAuthenticateFunctionId?: FunctionToManyRlsSettingFilter;
15873
+ /** `rlsSettingsByAuthenticateFunctionId` exist. */
15874
+ rlsSettingsByAuthenticateFunctionIdExist?: boolean;
15875
+ /** Filter by the object’s `rlsSettingsByAuthenticateStrictFunctionId` relation. */
15876
+ rlsSettingsByAuthenticateStrictFunctionId?: FunctionToManyRlsSettingFilter;
15877
+ /** `rlsSettingsByAuthenticateStrictFunctionId` exist. */
15878
+ rlsSettingsByAuthenticateStrictFunctionIdExist?: boolean;
15879
+ /** Filter by the object’s `rlsSettingsByCurrentIpAddressFunctionId` relation. */
15880
+ rlsSettingsByCurrentIpAddressFunctionId?: FunctionToManyRlsSettingFilter;
15881
+ /** `rlsSettingsByCurrentIpAddressFunctionId` exist. */
15882
+ rlsSettingsByCurrentIpAddressFunctionIdExist?: boolean;
15883
+ /** Filter by the object’s `rlsSettingsByCurrentRoleFunctionId` relation. */
15884
+ rlsSettingsByCurrentRoleFunctionId?: FunctionToManyRlsSettingFilter;
15885
+ /** `rlsSettingsByCurrentRoleFunctionId` exist. */
15886
+ rlsSettingsByCurrentRoleFunctionIdExist?: boolean;
15887
+ /** Filter by the object’s `rlsSettingsByCurrentRoleIdFunctionId` relation. */
15888
+ rlsSettingsByCurrentRoleIdFunctionId?: FunctionToManyRlsSettingFilter;
15889
+ /** `rlsSettingsByCurrentRoleIdFunctionId` exist. */
15890
+ rlsSettingsByCurrentRoleIdFunctionIdExist?: boolean;
15891
+ /** Filter by the object’s `rlsSettingsByCurrentUserAgentFunctionId` relation. */
15892
+ rlsSettingsByCurrentUserAgentFunctionId?: FunctionToManyRlsSettingFilter;
15893
+ /** `rlsSettingsByCurrentUserAgentFunctionId` exist. */
15894
+ rlsSettingsByCurrentUserAgentFunctionIdExist?: boolean;
15546
15895
  /** Filter by the object’s `schema` relation. */
15547
15896
  schema?: SchemaFilter;
15548
15897
  /** Filter by the object’s `schemaId` field. */
@@ -15831,6 +16180,18 @@ export interface SchemaFilter {
15831
16180
  platformApiSchemas?: SchemaToManyPlatformApiSchemaFilter;
15832
16181
  /** `platformApiSchemas` exist. */
15833
16182
  platformApiSchemasExist?: boolean;
16183
+ /** Filter by the object’s `pubkeySettings` relation. */
16184
+ pubkeySettings?: SchemaToManyPubkeySettingFilter;
16185
+ /** `pubkeySettings` exist. */
16186
+ pubkeySettingsExist?: boolean;
16187
+ /** Filter by the object’s `rlsSettingsByAuthenticateSchemaId` relation. */
16188
+ rlsSettingsByAuthenticateSchemaId?: SchemaToManyRlsSettingFilter;
16189
+ /** `rlsSettingsByAuthenticateSchemaId` exist. */
16190
+ rlsSettingsByAuthenticateSchemaIdExist?: boolean;
16191
+ /** Filter by the object’s `rlsSettingsByRoleSchemaId` relation. */
16192
+ rlsSettingsByRoleSchemaId?: SchemaToManyRlsSettingFilter;
16193
+ /** `rlsSettingsByRoleSchemaId` exist. */
16194
+ rlsSettingsByRoleSchemaIdExist?: boolean;
15834
16195
  /** Filter by the object’s `schemaGrants` relation. */
15835
16196
  schemaGrants?: SchemaToManySchemaGrantFilter;
15836
16197
  /** `schemaGrants` exist. */
@@ -15851,6 +16212,22 @@ export interface SchemaFilter {
15851
16212
  views?: SchemaToManyViewFilter;
15852
16213
  /** `views` exist. */
15853
16214
  viewsExist?: boolean;
16215
+ /** Filter by the object’s `webauthnSettings` relation. */
16216
+ webauthnSettings?: SchemaToManyWebauthnSettingFilter;
16217
+ /** Filter by the object’s `webauthnSettingsByCredentialsSchemaId` relation. */
16218
+ webauthnSettingsByCredentialsSchemaId?: SchemaToManyWebauthnSettingFilter;
16219
+ /** `webauthnSettingsByCredentialsSchemaId` exist. */
16220
+ webauthnSettingsByCredentialsSchemaIdExist?: boolean;
16221
+ /** Filter by the object’s `webauthnSettingsBySessionSecretsSchemaId` relation. */
16222
+ webauthnSettingsBySessionSecretsSchemaId?: SchemaToManyWebauthnSettingFilter;
16223
+ /** `webauthnSettingsBySessionSecretsSchemaId` exist. */
16224
+ webauthnSettingsBySessionSecretsSchemaIdExist?: boolean;
16225
+ /** Filter by the object’s `webauthnSettingsBySessionsSchemaId` relation. */
16226
+ webauthnSettingsBySessionsSchemaId?: SchemaToManyWebauthnSettingFilter;
16227
+ /** `webauthnSettingsBySessionsSchemaId` exist. */
16228
+ webauthnSettingsBySessionsSchemaIdExist?: boolean;
16229
+ /** `webauthnSettings` exist. */
16230
+ webauthnSettingsExist?: boolean;
15854
16231
  }
15855
16232
  /** A filter to be used against `SpatialRelation` object types. All fields are combined with a logical ‘and.’ */
15856
16233
  export interface SpatialRelationFilter {
@@ -16111,6 +16488,22 @@ export interface TableFilter {
16111
16488
  views?: TableToManyViewFilter;
16112
16489
  /** `views` exist. */
16113
16490
  viewsExist?: boolean;
16491
+ /** Filter by the object’s `webauthnSettingsByCredentialsTableId` relation. */
16492
+ webauthnSettingsByCredentialsTableId?: TableToManyWebauthnSettingFilter;
16493
+ /** `webauthnSettingsByCredentialsTableId` exist. */
16494
+ webauthnSettingsByCredentialsTableIdExist?: boolean;
16495
+ /** Filter by the object’s `webauthnSettingsBySessionCredentialsTableId` relation. */
16496
+ webauthnSettingsBySessionCredentialsTableId?: TableToManyWebauthnSettingFilter;
16497
+ /** `webauthnSettingsBySessionCredentialsTableId` exist. */
16498
+ webauthnSettingsBySessionCredentialsTableIdExist?: boolean;
16499
+ /** Filter by the object’s `webauthnSettingsBySessionSecretsTableId` relation. */
16500
+ webauthnSettingsBySessionSecretsTableId?: TableToManyWebauthnSettingFilter;
16501
+ /** `webauthnSettingsBySessionSecretsTableId` exist. */
16502
+ webauthnSettingsBySessionSecretsTableIdExist?: boolean;
16503
+ /** Filter by the object’s `webauthnSettingsBySessionsTableId` relation. */
16504
+ webauthnSettingsBySessionsTableId?: TableToManyWebauthnSettingFilter;
16505
+ /** `webauthnSettingsBySessionsTableId` exist. */
16506
+ webauthnSettingsBySessionsTableIdExist?: boolean;
16114
16507
  }
16115
16508
  /** A filter to be used against `TriggerFunction` object types. All fields are combined with a logical ‘and.’ */
16116
16509
  export interface TriggerFunctionFilter {
@@ -16660,6 +17053,207 @@ export interface EmailIdentityFilter {
16660
17053
  /** Filter by the object’s `updatedAt` field. */
16661
17054
  updatedAt?: DatetimeFilter;
16662
17055
  }
17056
+ /** A filter to be used against `WebauthnSetting` object types. All fields are combined with a logical ‘and.’ */
17057
+ export interface WebauthnSettingFilter {
17058
+ /** Checks for all expressions in this list. */
17059
+ and?: WebauthnSettingFilter[];
17060
+ /** Filter by the object’s `attestationType` field. */
17061
+ attestationType?: StringFilter;
17062
+ /** Filter by the object’s `challengeExpirySeconds` field. */
17063
+ challengeExpirySeconds?: BigIntFilter;
17064
+ /** Filter by the object’s `createdAt` field. */
17065
+ createdAt?: DatetimeFilter;
17066
+ /** Filter by the object’s `credentialsSchema` relation. */
17067
+ credentialsSchema?: SchemaFilter;
17068
+ /** A related `credentialsSchema` exists. */
17069
+ credentialsSchemaExists?: boolean;
17070
+ /** Filter by the object’s `credentialsSchemaId` field. */
17071
+ credentialsSchemaId?: UUIDFilter;
17072
+ /** Filter by the object’s `credentialsTable` relation. */
17073
+ credentialsTable?: TableFilter;
17074
+ /** A related `credentialsTable` exists. */
17075
+ credentialsTableExists?: boolean;
17076
+ /** Filter by the object’s `credentialsTableId` field. */
17077
+ credentialsTableId?: UUIDFilter;
17078
+ /** Filter by the object’s `databaseId` field. */
17079
+ databaseId?: UUIDFilter;
17080
+ /** Filter by the object’s `id` field. */
17081
+ id?: UUIDFilter;
17082
+ /** Negates the expression. */
17083
+ not?: WebauthnSettingFilter;
17084
+ /** Checks for any expressions in this list. */
17085
+ or?: WebauthnSettingFilter[];
17086
+ /** Filter by the object’s `originAllowlist` field. */
17087
+ originAllowlist?: StringListFilter;
17088
+ /** Filter by the object’s `requireUserVerification` field. */
17089
+ requireUserVerification?: BooleanFilter;
17090
+ /** Filter by the object’s `residentKey` field. */
17091
+ residentKey?: StringFilter;
17092
+ /** Filter by the object’s `rpId` field. */
17093
+ rpId?: StringFilter;
17094
+ /** Filter by the object’s `rpName` field. */
17095
+ rpName?: StringFilter;
17096
+ /** Filter by the object’s `schema` relation. */
17097
+ schema?: SchemaFilter;
17098
+ /** A related `schema` exists. */
17099
+ schemaExists?: boolean;
17100
+ /** Filter by the object’s `schemaId` field. */
17101
+ schemaId?: UUIDFilter;
17102
+ /** Filter by the object’s `sessionCredentialsTable` relation. */
17103
+ sessionCredentialsTable?: TableFilter;
17104
+ /** A related `sessionCredentialsTable` exists. */
17105
+ sessionCredentialsTableExists?: boolean;
17106
+ /** Filter by the object’s `sessionCredentialsTableId` field. */
17107
+ sessionCredentialsTableId?: UUIDFilter;
17108
+ /** Filter by the object’s `sessionSecretsSchema` relation. */
17109
+ sessionSecretsSchema?: SchemaFilter;
17110
+ /** A related `sessionSecretsSchema` exists. */
17111
+ sessionSecretsSchemaExists?: boolean;
17112
+ /** Filter by the object’s `sessionSecretsSchemaId` field. */
17113
+ sessionSecretsSchemaId?: UUIDFilter;
17114
+ /** Filter by the object’s `sessionSecretsTable` relation. */
17115
+ sessionSecretsTable?: TableFilter;
17116
+ /** A related `sessionSecretsTable` exists. */
17117
+ sessionSecretsTableExists?: boolean;
17118
+ /** Filter by the object’s `sessionSecretsTableId` field. */
17119
+ sessionSecretsTableId?: UUIDFilter;
17120
+ /** Filter by the object’s `sessionsSchema` relation. */
17121
+ sessionsSchema?: SchemaFilter;
17122
+ /** A related `sessionsSchema` exists. */
17123
+ sessionsSchemaExists?: boolean;
17124
+ /** Filter by the object’s `sessionsSchemaId` field. */
17125
+ sessionsSchemaId?: UUIDFilter;
17126
+ /** Filter by the object’s `sessionsTable` relation. */
17127
+ sessionsTable?: TableFilter;
17128
+ /** A related `sessionsTable` exists. */
17129
+ sessionsTableExists?: boolean;
17130
+ /** Filter by the object’s `sessionsTableId` field. */
17131
+ sessionsTableId?: UUIDFilter;
17132
+ /** Filter by the object’s `updatedAt` field. */
17133
+ updatedAt?: DatetimeFilter;
17134
+ /** Filter by the object’s `userField` relation. */
17135
+ userField?: FieldFilter;
17136
+ /** A related `userField` exists. */
17137
+ userFieldExists?: boolean;
17138
+ /** Filter by the object’s `userFieldId` field. */
17139
+ userFieldId?: UUIDFilter;
17140
+ }
17141
+ /** A filter to be used against `PubkeySetting` object types. All fields are combined with a logical ‘and.’ */
17142
+ export interface PubkeySettingFilter {
17143
+ /** Checks for all expressions in this list. */
17144
+ and?: PubkeySettingFilter[];
17145
+ /** Filter by the object’s `createdAt` field. */
17146
+ createdAt?: DatetimeFilter;
17147
+ /** Filter by the object’s `cryptoNetwork` field. */
17148
+ cryptoNetwork?: StringFilter;
17149
+ /** Filter by the object’s `databaseId` field. */
17150
+ databaseId?: UUIDFilter;
17151
+ /** Filter by the object’s `id` field. */
17152
+ id?: UUIDFilter;
17153
+ /** Negates the expression. */
17154
+ not?: PubkeySettingFilter;
17155
+ /** Checks for any expressions in this list. */
17156
+ or?: PubkeySettingFilter[];
17157
+ /** Filter by the object’s `schema` relation. */
17158
+ schema?: SchemaFilter;
17159
+ /** A related `schema` exists. */
17160
+ schemaExists?: boolean;
17161
+ /** Filter by the object’s `schemaId` field. */
17162
+ schemaId?: UUIDFilter;
17163
+ /** Filter by the object’s `signInRecordFailureFunction` relation. */
17164
+ signInRecordFailureFunction?: FunctionFilter;
17165
+ /** A related `signInRecordFailureFunction` exists. */
17166
+ signInRecordFailureFunctionExists?: boolean;
17167
+ /** Filter by the object’s `signInRecordFailureFunctionId` field. */
17168
+ signInRecordFailureFunctionId?: UUIDFilter;
17169
+ /** Filter by the object’s `signInRequestChallengeFunction` relation. */
17170
+ signInRequestChallengeFunction?: FunctionFilter;
17171
+ /** A related `signInRequestChallengeFunction` exists. */
17172
+ signInRequestChallengeFunctionExists?: boolean;
17173
+ /** Filter by the object’s `signInRequestChallengeFunctionId` field. */
17174
+ signInRequestChallengeFunctionId?: UUIDFilter;
17175
+ /** Filter by the object’s `signInWithChallengeFunction` relation. */
17176
+ signInWithChallengeFunction?: FunctionFilter;
17177
+ /** A related `signInWithChallengeFunction` exists. */
17178
+ signInWithChallengeFunctionExists?: boolean;
17179
+ /** Filter by the object’s `signInWithChallengeFunctionId` field. */
17180
+ signInWithChallengeFunctionId?: UUIDFilter;
17181
+ /** Filter by the object’s `signUpWithKeyFunction` relation. */
17182
+ signUpWithKeyFunction?: FunctionFilter;
17183
+ /** A related `signUpWithKeyFunction` exists. */
17184
+ signUpWithKeyFunctionExists?: boolean;
17185
+ /** Filter by the object’s `signUpWithKeyFunctionId` field. */
17186
+ signUpWithKeyFunctionId?: UUIDFilter;
17187
+ /** Filter by the object’s `updatedAt` field. */
17188
+ updatedAt?: DatetimeFilter;
17189
+ /** Filter by the object’s `userField` field. */
17190
+ userField?: StringFilter;
17191
+ }
17192
+ /** A filter to be used against `RlsSetting` object types. All fields are combined with a logical ‘and.’ */
17193
+ export interface RlsSettingFilter {
17194
+ /** Checks for all expressions in this list. */
17195
+ and?: RlsSettingFilter[];
17196
+ /** Filter by the object’s `authenticateFunction` relation. */
17197
+ authenticateFunction?: FunctionFilter;
17198
+ /** A related `authenticateFunction` exists. */
17199
+ authenticateFunctionExists?: boolean;
17200
+ /** Filter by the object’s `authenticateFunctionId` field. */
17201
+ authenticateFunctionId?: UUIDFilter;
17202
+ /** Filter by the object’s `authenticateSchema` relation. */
17203
+ authenticateSchema?: SchemaFilter;
17204
+ /** A related `authenticateSchema` exists. */
17205
+ authenticateSchemaExists?: boolean;
17206
+ /** Filter by the object’s `authenticateSchemaId` field. */
17207
+ authenticateSchemaId?: UUIDFilter;
17208
+ /** Filter by the object’s `authenticateStrictFunction` relation. */
17209
+ authenticateStrictFunction?: FunctionFilter;
17210
+ /** A related `authenticateStrictFunction` exists. */
17211
+ authenticateStrictFunctionExists?: boolean;
17212
+ /** Filter by the object’s `authenticateStrictFunctionId` field. */
17213
+ authenticateStrictFunctionId?: UUIDFilter;
17214
+ /** Filter by the object’s `createdAt` field. */
17215
+ createdAt?: DatetimeFilter;
17216
+ /** Filter by the object’s `currentIpAddressFunction` relation. */
17217
+ currentIpAddressFunction?: FunctionFilter;
17218
+ /** A related `currentIpAddressFunction` exists. */
17219
+ currentIpAddressFunctionExists?: boolean;
17220
+ /** Filter by the object’s `currentIpAddressFunctionId` field. */
17221
+ currentIpAddressFunctionId?: UUIDFilter;
17222
+ /** Filter by the object’s `currentRoleFunction` relation. */
17223
+ currentRoleFunction?: FunctionFilter;
17224
+ /** A related `currentRoleFunction` exists. */
17225
+ currentRoleFunctionExists?: boolean;
17226
+ /** Filter by the object’s `currentRoleFunctionId` field. */
17227
+ currentRoleFunctionId?: UUIDFilter;
17228
+ /** Filter by the object’s `currentRoleIdFunction` relation. */
17229
+ currentRoleIdFunction?: FunctionFilter;
17230
+ /** A related `currentRoleIdFunction` exists. */
17231
+ currentRoleIdFunctionExists?: boolean;
17232
+ /** Filter by the object’s `currentRoleIdFunctionId` field. */
17233
+ currentRoleIdFunctionId?: UUIDFilter;
17234
+ /** Filter by the object’s `currentUserAgentFunction` relation. */
17235
+ currentUserAgentFunction?: FunctionFilter;
17236
+ /** A related `currentUserAgentFunction` exists. */
17237
+ currentUserAgentFunctionExists?: boolean;
17238
+ /** Filter by the object’s `currentUserAgentFunctionId` field. */
17239
+ currentUserAgentFunctionId?: UUIDFilter;
17240
+ /** Filter by the object’s `databaseId` field. */
17241
+ databaseId?: UUIDFilter;
17242
+ /** Filter by the object’s `id` field. */
17243
+ id?: UUIDFilter;
17244
+ /** Negates the expression. */
17245
+ not?: RlsSettingFilter;
17246
+ /** Checks for any expressions in this list. */
17247
+ or?: RlsSettingFilter[];
17248
+ /** Filter by the object’s `roleSchema` relation. */
17249
+ roleSchema?: SchemaFilter;
17250
+ /** A related `roleSchema` exists. */
17251
+ roleSchemaExists?: boolean;
17252
+ /** Filter by the object’s `roleSchemaId` field. */
17253
+ roleSchemaId?: UUIDFilter;
17254
+ /** Filter by the object’s `updatedAt` field. */
17255
+ updatedAt?: DatetimeFilter;
17256
+ }
16663
17257
  /** A filter to be used against `PlatformApiSchema` object types. All fields are combined with a logical ‘and.’ */
16664
17258
  export interface PlatformApiSchemaFilter {
16665
17259
  /** Checks for all expressions in this list. */
@@ -17953,6 +18547,31 @@ export interface EmailProviderAccountFilter {
17953
18547
  /** Filter by the object’s `webhookSigningSecretName` field. */
17954
18548
  webhookSigningSecretName?: StringFilter;
17955
18549
  }
18550
+ /** A filter to be used against BigInt fields. All fields are combined with a logical ‘and.’ */
18551
+ export interface BigIntFilter {
18552
+ /** Not equal to the specified value, treating null like an ordinary value. */
18553
+ distinctFrom?: string;
18554
+ /** Equal to the specified value. */
18555
+ equalTo?: string;
18556
+ /** Greater than the specified value. */
18557
+ greaterThan?: string;
18558
+ /** Greater than or equal to the specified value. */
18559
+ greaterThanOrEqualTo?: string;
18560
+ /** Included in the specified list. */
18561
+ in?: string[];
18562
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
18563
+ isNull?: boolean;
18564
+ /** Less than the specified value. */
18565
+ lessThan?: string;
18566
+ /** Less than or equal to the specified value. */
18567
+ lessThanOrEqualTo?: string;
18568
+ /** Equal to the specified value, treating null like an ordinary value. */
18569
+ notDistinctFrom?: string;
18570
+ /** Not equal to the specified value. */
18571
+ notEqualTo?: string;
18572
+ /** Not included in the specified list. */
18573
+ notIn?: string[];
18574
+ }
17956
18575
  /** A filter to be used against `PlatformApi` object types. All fields are combined with a logical ‘and.’ */
17957
18576
  export interface PlatformApiFilter {
17958
18577
  /** Checks for all expressions in this list. */
@@ -18555,31 +19174,6 @@ export interface PlatformSiteWebConfigFilter {
18555
19174
  /** Filter by the object’s `updatedAt` field. */
18556
19175
  updatedAt?: DatetimeFilter;
18557
19176
  }
18558
- /** A filter to be used against BigInt fields. All fields are combined with a logical ‘and.’ */
18559
- export interface BigIntFilter {
18560
- /** Not equal to the specified value, treating null like an ordinary value. */
18561
- distinctFrom?: string;
18562
- /** Equal to the specified value. */
18563
- equalTo?: string;
18564
- /** Greater than the specified value. */
18565
- greaterThan?: string;
18566
- /** Greater than or equal to the specified value. */
18567
- greaterThanOrEqualTo?: string;
18568
- /** Included in the specified list. */
18569
- in?: string[];
18570
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
18571
- isNull?: boolean;
18572
- /** Less than the specified value. */
18573
- lessThan?: string;
18574
- /** Less than or equal to the specified value. */
18575
- lessThanOrEqualTo?: string;
18576
- /** Equal to the specified value, treating null like an ordinary value. */
18577
- notDistinctFrom?: string;
18578
- /** Not equal to the specified value. */
18579
- notEqualTo?: string;
18580
- /** Not included in the specified list. */
18581
- notIn?: string[];
18582
- }
18583
19177
  export interface AcceptDatabaseTransferPayload {
18584
19178
  clientMutationId?: string | null;
18585
19179
  result?: boolean | null;