@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
@@ -58,11 +58,22 @@ export const connectionFieldsMap = {
58
58
  partitionsByPartitionKeyId: 'Partition',
59
59
  spatialRelations: 'SpatialRelation',
60
60
  spatialRelationsByRefFieldId: 'SpatialRelation',
61
+ webauthnSettingsByUserFieldId: 'WebauthnSetting',
61
62
  },
62
63
  ForeignKeyConstraint: {
63
64
  foreignKeyConstraintBehaviors: 'ForeignKeyConstraintBehavior',
64
65
  },
65
66
  Function: {
67
+ pubkeySettingsBySignInRecordFailureFunctionId: 'PubkeySetting',
68
+ pubkeySettingsBySignInRequestChallengeFunctionId: 'PubkeySetting',
69
+ pubkeySettingsBySignInWithChallengeFunctionId: 'PubkeySetting',
70
+ pubkeySettingsBySignUpWithKeyFunctionId: 'PubkeySetting',
71
+ rlsSettingsByAuthenticateFunctionId: 'RlsSetting',
72
+ rlsSettingsByAuthenticateStrictFunctionId: 'RlsSetting',
73
+ rlsSettingsByCurrentIpAddressFunctionId: 'RlsSetting',
74
+ rlsSettingsByCurrentRoleFunctionId: 'RlsSetting',
75
+ rlsSettingsByCurrentRoleIdFunctionId: 'RlsSetting',
76
+ rlsSettingsByCurrentUserAgentFunctionId: 'RlsSetting',
66
77
  triggers: 'Trigger',
67
78
  },
68
79
  ManagedDomain: {
@@ -105,9 +116,16 @@ export const connectionFieldsMap = {
105
116
  enums: 'Enum',
106
117
  functions: 'Function',
107
118
  platformApiSchemas: 'PlatformApiSchema',
119
+ pubkeySettings: 'PubkeySetting',
120
+ rlsSettingsByAuthenticateSchemaId: 'RlsSetting',
121
+ rlsSettingsByRoleSchemaId: 'RlsSetting',
108
122
  schemaGrants: 'SchemaGrant',
109
123
  tables: 'Table',
110
124
  views: 'View',
125
+ webauthnSettings: 'WebauthnSetting',
126
+ webauthnSettingsByCredentialsSchemaId: 'WebauthnSetting',
127
+ webauthnSettingsBySessionSecretsSchemaId: 'WebauthnSetting',
128
+ webauthnSettingsBySessionsSchemaId: 'WebauthnSetting',
111
129
  },
112
130
  Site: {
113
131
  pages: 'Page',
@@ -141,6 +159,10 @@ export const connectionFieldsMap = {
141
159
  uniqueConstraints: 'UniqueConstraint',
142
160
  viewTables: 'ViewTable',
143
161
  views: 'View',
162
+ webauthnSettingsByCredentialsTableId: 'WebauthnSetting',
163
+ webauthnSettingsBySessionCredentialsTableId: 'WebauthnSetting',
164
+ webauthnSettingsBySessionSecretsTableId: 'WebauthnSetting',
165
+ webauthnSettingsBySessionsTableId: 'WebauthnSetting',
144
166
  },
145
167
  UniqueConstraint: {
146
168
  uniqueConstraintBehaviors: 'UniqueConstraintBehavior',
@@ -3557,6 +3557,10 @@ export interface FieldFilter {
3557
3557
  type?: JSONFilter;
3558
3558
  /** Filter by the object’s `updatedAt` field. */
3559
3559
  updatedAt?: DatetimeFilter;
3560
+ /** Filter by the object’s `webauthnSettingsByUserFieldId` relation. */
3561
+ webauthnSettingsByUserFieldId?: FieldToManyWebauthnSettingFilter;
3562
+ /** `webauthnSettingsByUserFieldId` exist. */
3563
+ webauthnSettingsByUserFieldIdExist?: boolean;
3560
3564
  }
3561
3565
  /** An input for mutations affecting `Field` */
3562
3566
  export interface FieldInput {
@@ -3650,6 +3654,15 @@ export interface FieldToManySpatialRelationFilter {
3650
3654
  /** Filters to entities where at least one related entity matches. */
3651
3655
  some?: SpatialRelationFilter;
3652
3656
  }
3657
+ /** A filter to be used against many `WebauthnSetting` object types. All fields are combined with a logical ‘and.’ */
3658
+ export interface FieldToManyWebauthnSettingFilter {
3659
+ /** Filters to entities where every related entity matches. */
3660
+ every?: WebauthnSettingFilter;
3661
+ /** Filters to entities where no related entity matches. */
3662
+ none?: WebauthnSettingFilter;
3663
+ /** Filters to entities where at least one related entity matches. */
3664
+ some?: WebauthnSettingFilter;
3665
+ }
3653
3666
  /** A filter to be used against `ForeignKeyConstraintBehavior` object types. All fields are combined with a logical ‘and.’ */
3654
3667
  export interface ForeignKeyConstraintBehaviorFilter {
3655
3668
  /** Checks for all expressions in this list. */
@@ -3906,8 +3919,48 @@ export interface FunctionFilter {
3906
3919
  not?: FunctionFilter;
3907
3920
  /** Checks for any expressions in this list. */
3908
3921
  or?: FunctionFilter[];
3922
+ /** Filter by the object’s `pubkeySettingsBySignInRecordFailureFunctionId` relation. */
3923
+ pubkeySettingsBySignInRecordFailureFunctionId?: FunctionToManyPubkeySettingFilter;
3924
+ /** `pubkeySettingsBySignInRecordFailureFunctionId` exist. */
3925
+ pubkeySettingsBySignInRecordFailureFunctionIdExist?: boolean;
3926
+ /** Filter by the object’s `pubkeySettingsBySignInRequestChallengeFunctionId` relation. */
3927
+ pubkeySettingsBySignInRequestChallengeFunctionId?: FunctionToManyPubkeySettingFilter;
3928
+ /** `pubkeySettingsBySignInRequestChallengeFunctionId` exist. */
3929
+ pubkeySettingsBySignInRequestChallengeFunctionIdExist?: boolean;
3930
+ /** Filter by the object’s `pubkeySettingsBySignInWithChallengeFunctionId` relation. */
3931
+ pubkeySettingsBySignInWithChallengeFunctionId?: FunctionToManyPubkeySettingFilter;
3932
+ /** `pubkeySettingsBySignInWithChallengeFunctionId` exist. */
3933
+ pubkeySettingsBySignInWithChallengeFunctionIdExist?: boolean;
3934
+ /** Filter by the object’s `pubkeySettingsBySignUpWithKeyFunctionId` relation. */
3935
+ pubkeySettingsBySignUpWithKeyFunctionId?: FunctionToManyPubkeySettingFilter;
3936
+ /** `pubkeySettingsBySignUpWithKeyFunctionId` exist. */
3937
+ pubkeySettingsBySignUpWithKeyFunctionIdExist?: boolean;
3909
3938
  /** Filter by the object’s `returns` field. */
3910
3939
  returns?: JSONFilter;
3940
+ /** Filter by the object’s `rlsSettingsByAuthenticateFunctionId` relation. */
3941
+ rlsSettingsByAuthenticateFunctionId?: FunctionToManyRlsSettingFilter;
3942
+ /** `rlsSettingsByAuthenticateFunctionId` exist. */
3943
+ rlsSettingsByAuthenticateFunctionIdExist?: boolean;
3944
+ /** Filter by the object’s `rlsSettingsByAuthenticateStrictFunctionId` relation. */
3945
+ rlsSettingsByAuthenticateStrictFunctionId?: FunctionToManyRlsSettingFilter;
3946
+ /** `rlsSettingsByAuthenticateStrictFunctionId` exist. */
3947
+ rlsSettingsByAuthenticateStrictFunctionIdExist?: boolean;
3948
+ /** Filter by the object’s `rlsSettingsByCurrentIpAddressFunctionId` relation. */
3949
+ rlsSettingsByCurrentIpAddressFunctionId?: FunctionToManyRlsSettingFilter;
3950
+ /** `rlsSettingsByCurrentIpAddressFunctionId` exist. */
3951
+ rlsSettingsByCurrentIpAddressFunctionIdExist?: boolean;
3952
+ /** Filter by the object’s `rlsSettingsByCurrentRoleFunctionId` relation. */
3953
+ rlsSettingsByCurrentRoleFunctionId?: FunctionToManyRlsSettingFilter;
3954
+ /** `rlsSettingsByCurrentRoleFunctionId` exist. */
3955
+ rlsSettingsByCurrentRoleFunctionIdExist?: boolean;
3956
+ /** Filter by the object’s `rlsSettingsByCurrentRoleIdFunctionId` relation. */
3957
+ rlsSettingsByCurrentRoleIdFunctionId?: FunctionToManyRlsSettingFilter;
3958
+ /** `rlsSettingsByCurrentRoleIdFunctionId` exist. */
3959
+ rlsSettingsByCurrentRoleIdFunctionIdExist?: boolean;
3960
+ /** Filter by the object’s `rlsSettingsByCurrentUserAgentFunctionId` relation. */
3961
+ rlsSettingsByCurrentUserAgentFunctionId?: FunctionToManyRlsSettingFilter;
3962
+ /** `rlsSettingsByCurrentUserAgentFunctionId` exist. */
3963
+ rlsSettingsByCurrentUserAgentFunctionIdExist?: boolean;
3911
3964
  /** Filter by the object’s `schema` relation. */
3912
3965
  schema?: SchemaFilter;
3913
3966
  /** Filter by the object’s `schemaId` field. */
@@ -3965,6 +4018,24 @@ export interface FunctionPatch {
3965
4018
  tags?: string[];
3966
4019
  volatility?: string;
3967
4020
  }
4021
+ /** A filter to be used against many `PubkeySetting` object types. All fields are combined with a logical ‘and.’ */
4022
+ export interface FunctionToManyPubkeySettingFilter {
4023
+ /** Filters to entities where every related entity matches. */
4024
+ every?: PubkeySettingFilter;
4025
+ /** Filters to entities where no related entity matches. */
4026
+ none?: PubkeySettingFilter;
4027
+ /** Filters to entities where at least one related entity matches. */
4028
+ some?: PubkeySettingFilter;
4029
+ }
4030
+ /** A filter to be used against many `RlsSetting` object types. All fields are combined with a logical ‘and.’ */
4031
+ export interface FunctionToManyRlsSettingFilter {
4032
+ /** Filters to entities where every related entity matches. */
4033
+ every?: RlsSettingFilter;
4034
+ /** Filters to entities where no related entity matches. */
4035
+ none?: RlsSettingFilter;
4036
+ /** Filters to entities where at least one related entity matches. */
4037
+ some?: RlsSettingFilter;
4038
+ }
3968
4039
  /** A filter to be used against many `Trigger` object types. All fields are combined with a logical ‘and.’ */
3969
4040
  export interface FunctionToManyTriggerFilter {
3970
4041
  /** Filters to entities where every related entity matches. */
@@ -6631,15 +6702,15 @@ export interface PubkeySettingInput {
6631
6702
  /** Database that owns this resource (database-scoped isolation) */
6632
6703
  databaseId: string;
6633
6704
  id?: string;
6634
- /** Schema containing the crypto auth functions (FK to metaschema_public.schema) */
6705
+ /** Schema containing the crypto auth functions */
6635
6706
  schemaId?: string;
6636
- /** Reference to the sign-in failure recording function (FK to metaschema_public.function) */
6707
+ /** Reference to the sign-in failure recording function */
6637
6708
  signInRecordFailureFunctionId?: string;
6638
- /** Reference to the sign-in challenge request function (FK to metaschema_public.function) */
6709
+ /** Reference to the sign-in challenge request function */
6639
6710
  signInRequestChallengeFunctionId?: string;
6640
- /** Reference to the sign-in-with-challenge function (FK to metaschema_public.function) */
6711
+ /** Reference to the sign-in-with-challenge function */
6641
6712
  signInWithChallengeFunctionId?: string;
6642
- /** Reference to the sign-up-with-key function (FK to metaschema_public.function) */
6713
+ /** Reference to the sign-up-with-key function */
6643
6714
  signUpWithKeyFunctionId?: string;
6644
6715
  updatedAt?: string;
6645
6716
  /** Field name used to identify the user in crypto auth functions */
@@ -6653,15 +6724,15 @@ export interface PubkeySettingPatch {
6653
6724
  /** Database that owns this resource (database-scoped isolation) */
6654
6725
  databaseId?: string;
6655
6726
  id?: string;
6656
- /** Schema containing the crypto auth functions (FK to metaschema_public.schema) */
6727
+ /** Schema containing the crypto auth functions */
6657
6728
  schemaId?: string;
6658
- /** Reference to the sign-in failure recording function (FK to metaschema_public.function) */
6729
+ /** Reference to the sign-in failure recording function */
6659
6730
  signInRecordFailureFunctionId?: string;
6660
- /** Reference to the sign-in challenge request function (FK to metaschema_public.function) */
6731
+ /** Reference to the sign-in challenge request function */
6661
6732
  signInRequestChallengeFunctionId?: string;
6662
- /** Reference to the sign-in-with-challenge function (FK to metaschema_public.function) */
6733
+ /** Reference to the sign-in-with-challenge function */
6663
6734
  signInWithChallengeFunctionId?: string;
6664
- /** Reference to the sign-up-with-key function (FK to metaschema_public.function) */
6735
+ /** Reference to the sign-up-with-key function */
6665
6736
  signUpWithKeyFunctionId?: string;
6666
6737
  updatedAt?: string;
6667
6738
  /** Field name used to identify the user in crypto auth functions */
@@ -6830,49 +6901,49 @@ export interface RlsSettingFilter {
6830
6901
  }
6831
6902
  /** An input for mutations affecting `RlsSetting` */
6832
6903
  export interface RlsSettingInput {
6833
- /** Reference to the authenticate function (FK to metaschema_public.function) */
6904
+ /** Reference to the authenticate function */
6834
6905
  authenticateFunctionId?: string;
6835
- /** Schema containing authenticate/authenticate_strict functions (FK to metaschema_public.schema) */
6906
+ /** Schema containing authenticate/authenticate_strict functions */
6836
6907
  authenticateSchemaId?: string;
6837
- /** Reference to the strict authenticate function (FK to metaschema_public.function) */
6908
+ /** Reference to the strict authenticate function */
6838
6909
  authenticateStrictFunctionId?: string;
6839
6910
  createdAt?: string;
6840
- /** Reference to the current_ip_address function (FK to metaschema_public.function) */
6911
+ /** Reference to the current_ip_address function */
6841
6912
  currentIpAddressFunctionId?: string;
6842
- /** Reference to the current_role function (FK to metaschema_public.function) */
6913
+ /** Reference to the current_role function */
6843
6914
  currentRoleFunctionId?: string;
6844
- /** Reference to the current_role_id function (FK to metaschema_public.function) */
6915
+ /** Reference to the current_role_id function */
6845
6916
  currentRoleIdFunctionId?: string;
6846
- /** Reference to the current_user_agent function (FK to metaschema_public.function) */
6917
+ /** Reference to the current_user_agent function */
6847
6918
  currentUserAgentFunctionId?: string;
6848
6919
  /** Database that owns this resource (database-scoped isolation) */
6849
6920
  databaseId: string;
6850
6921
  id?: string;
6851
- /** Schema containing current_role and related functions (FK to metaschema_public.schema) */
6922
+ /** Schema containing current_role and related functions */
6852
6923
  roleSchemaId?: string;
6853
6924
  updatedAt?: string;
6854
6925
  }
6855
6926
  /** Represents an update to a `RlsSetting`. Fields that are set will be updated. */
6856
6927
  export interface RlsSettingPatch {
6857
- /** Reference to the authenticate function (FK to metaschema_public.function) */
6928
+ /** Reference to the authenticate function */
6858
6929
  authenticateFunctionId?: string;
6859
- /** Schema containing authenticate/authenticate_strict functions (FK to metaschema_public.schema) */
6930
+ /** Schema containing authenticate/authenticate_strict functions */
6860
6931
  authenticateSchemaId?: string;
6861
- /** Reference to the strict authenticate function (FK to metaschema_public.function) */
6932
+ /** Reference to the strict authenticate function */
6862
6933
  authenticateStrictFunctionId?: string;
6863
6934
  createdAt?: string;
6864
- /** Reference to the current_ip_address function (FK to metaschema_public.function) */
6935
+ /** Reference to the current_ip_address function */
6865
6936
  currentIpAddressFunctionId?: string;
6866
- /** Reference to the current_role function (FK to metaschema_public.function) */
6937
+ /** Reference to the current_role function */
6867
6938
  currentRoleFunctionId?: string;
6868
- /** Reference to the current_role_id function (FK to metaschema_public.function) */
6939
+ /** Reference to the current_role_id function */
6869
6940
  currentRoleIdFunctionId?: string;
6870
- /** Reference to the current_user_agent function (FK to metaschema_public.function) */
6941
+ /** Reference to the current_user_agent function */
6871
6942
  currentUserAgentFunctionId?: string;
6872
6943
  /** Database that owns this resource (database-scoped isolation) */
6873
6944
  databaseId?: string;
6874
6945
  id?: string;
6875
- /** Schema containing current_role and related functions (FK to metaschema_public.schema) */
6946
+ /** Schema containing current_role and related functions */
6876
6947
  roleSchemaId?: string;
6877
6948
  updatedAt?: string;
6878
6949
  }
@@ -7073,6 +7144,18 @@ export interface SchemaFilter {
7073
7144
  platformApiSchemas?: SchemaToManyPlatformApiSchemaFilter;
7074
7145
  /** `platformApiSchemas` exist. */
7075
7146
  platformApiSchemasExist?: boolean;
7147
+ /** Filter by the object’s `pubkeySettings` relation. */
7148
+ pubkeySettings?: SchemaToManyPubkeySettingFilter;
7149
+ /** `pubkeySettings` exist. */
7150
+ pubkeySettingsExist?: boolean;
7151
+ /** Filter by the object’s `rlsSettingsByAuthenticateSchemaId` relation. */
7152
+ rlsSettingsByAuthenticateSchemaId?: SchemaToManyRlsSettingFilter;
7153
+ /** `rlsSettingsByAuthenticateSchemaId` exist. */
7154
+ rlsSettingsByAuthenticateSchemaIdExist?: boolean;
7155
+ /** Filter by the object’s `rlsSettingsByRoleSchemaId` relation. */
7156
+ rlsSettingsByRoleSchemaId?: SchemaToManyRlsSettingFilter;
7157
+ /** `rlsSettingsByRoleSchemaId` exist. */
7158
+ rlsSettingsByRoleSchemaIdExist?: boolean;
7076
7159
  /** Filter by the object’s `schemaGrants` relation. */
7077
7160
  schemaGrants?: SchemaToManySchemaGrantFilter;
7078
7161
  /** `schemaGrants` exist. */
@@ -7093,6 +7176,22 @@ export interface SchemaFilter {
7093
7176
  views?: SchemaToManyViewFilter;
7094
7177
  /** `views` exist. */
7095
7178
  viewsExist?: boolean;
7179
+ /** Filter by the object’s `webauthnSettings` relation. */
7180
+ webauthnSettings?: SchemaToManyWebauthnSettingFilter;
7181
+ /** Filter by the object’s `webauthnSettingsByCredentialsSchemaId` relation. */
7182
+ webauthnSettingsByCredentialsSchemaId?: SchemaToManyWebauthnSettingFilter;
7183
+ /** `webauthnSettingsByCredentialsSchemaId` exist. */
7184
+ webauthnSettingsByCredentialsSchemaIdExist?: boolean;
7185
+ /** Filter by the object’s `webauthnSettingsBySessionSecretsSchemaId` relation. */
7186
+ webauthnSettingsBySessionSecretsSchemaId?: SchemaToManyWebauthnSettingFilter;
7187
+ /** `webauthnSettingsBySessionSecretsSchemaId` exist. */
7188
+ webauthnSettingsBySessionSecretsSchemaIdExist?: boolean;
7189
+ /** Filter by the object’s `webauthnSettingsBySessionsSchemaId` relation. */
7190
+ webauthnSettingsBySessionsSchemaId?: SchemaToManyWebauthnSettingFilter;
7191
+ /** `webauthnSettingsBySessionsSchemaId` exist. */
7192
+ webauthnSettingsBySessionsSchemaIdExist?: boolean;
7193
+ /** `webauthnSettings` exist. */
7194
+ webauthnSettingsExist?: boolean;
7096
7195
  }
7097
7196
  /** A filter to be used against `SchemaGrant` object types. All fields are combined with a logical ‘and.’ */
7098
7197
  export interface SchemaGrantFilter {
@@ -7232,6 +7331,24 @@ export interface SchemaToManyPlatformApiSchemaFilter {
7232
7331
  /** Filters to entities where at least one related entity matches. */
7233
7332
  some?: PlatformApiSchemaFilter;
7234
7333
  }
7334
+ /** A filter to be used against many `PubkeySetting` object types. All fields are combined with a logical ‘and.’ */
7335
+ export interface SchemaToManyPubkeySettingFilter {
7336
+ /** Filters to entities where every related entity matches. */
7337
+ every?: PubkeySettingFilter;
7338
+ /** Filters to entities where no related entity matches. */
7339
+ none?: PubkeySettingFilter;
7340
+ /** Filters to entities where at least one related entity matches. */
7341
+ some?: PubkeySettingFilter;
7342
+ }
7343
+ /** A filter to be used against many `RlsSetting` object types. All fields are combined with a logical ‘and.’ */
7344
+ export interface SchemaToManyRlsSettingFilter {
7345
+ /** Filters to entities where every related entity matches. */
7346
+ every?: RlsSettingFilter;
7347
+ /** Filters to entities where no related entity matches. */
7348
+ none?: RlsSettingFilter;
7349
+ /** Filters to entities where at least one related entity matches. */
7350
+ some?: RlsSettingFilter;
7351
+ }
7235
7352
  /** A filter to be used against many `SchemaGrant` object types. All fields are combined with a logical ‘and.’ */
7236
7353
  export interface SchemaToManySchemaGrantFilter {
7237
7354
  /** Filters to entities where every related entity matches. */
@@ -7259,6 +7376,15 @@ export interface SchemaToManyViewFilter {
7259
7376
  /** Filters to entities where at least one related entity matches. */
7260
7377
  some?: ViewFilter;
7261
7378
  }
7379
+ /** A filter to be used against many `WebauthnSetting` object types. All fields are combined with a logical ‘and.’ */
7380
+ export interface SchemaToManyWebauthnSettingFilter {
7381
+ /** Filters to entities where every related entity matches. */
7382
+ every?: WebauthnSettingFilter;
7383
+ /** Filters to entities where no related entity matches. */
7384
+ none?: WebauthnSettingFilter;
7385
+ /** Filters to entities where at least one related entity matches. */
7386
+ some?: WebauthnSettingFilter;
7387
+ }
7262
7388
  export interface SetFieldOrderInput {
7263
7389
  clientMutationId?: string;
7264
7390
  fieldIds?: string[];
@@ -8373,6 +8499,22 @@ export interface TableFilter {
8373
8499
  views?: TableToManyViewFilter;
8374
8500
  /** `views` exist. */
8375
8501
  viewsExist?: boolean;
8502
+ /** Filter by the object’s `webauthnSettingsByCredentialsTableId` relation. */
8503
+ webauthnSettingsByCredentialsTableId?: TableToManyWebauthnSettingFilter;
8504
+ /** `webauthnSettingsByCredentialsTableId` exist. */
8505
+ webauthnSettingsByCredentialsTableIdExist?: boolean;
8506
+ /** Filter by the object’s `webauthnSettingsBySessionCredentialsTableId` relation. */
8507
+ webauthnSettingsBySessionCredentialsTableId?: TableToManyWebauthnSettingFilter;
8508
+ /** `webauthnSettingsBySessionCredentialsTableId` exist. */
8509
+ webauthnSettingsBySessionCredentialsTableIdExist?: boolean;
8510
+ /** Filter by the object’s `webauthnSettingsBySessionSecretsTableId` relation. */
8511
+ webauthnSettingsBySessionSecretsTableId?: TableToManyWebauthnSettingFilter;
8512
+ /** `webauthnSettingsBySessionSecretsTableId` exist. */
8513
+ webauthnSettingsBySessionSecretsTableIdExist?: boolean;
8514
+ /** Filter by the object’s `webauthnSettingsBySessionsTableId` relation. */
8515
+ webauthnSettingsBySessionsTableId?: TableToManyWebauthnSettingFilter;
8516
+ /** `webauthnSettingsBySessionsTableId` exist. */
8517
+ webauthnSettingsBySessionsTableIdExist?: boolean;
8376
8518
  }
8377
8519
  /** A filter to be used against `TableGrant` object types. All fields are combined with a logical ‘and.’ */
8378
8520
  export interface TableGrantFilter {
@@ -8645,6 +8787,15 @@ export interface TableToManyViewTableFilter {
8645
8787
  /** Filters to entities where at least one related entity matches. */
8646
8788
  some?: ViewTableFilter;
8647
8789
  }
8790
+ /** A filter to be used against many `WebauthnSetting` object types. All fields are combined with a logical ‘and.’ */
8791
+ export interface TableToManyWebauthnSettingFilter {
8792
+ /** Filters to entities where every related entity matches. */
8793
+ every?: WebauthnSettingFilter;
8794
+ /** Filters to entities where no related entity matches. */
8795
+ none?: WebauthnSettingFilter;
8796
+ /** Filters to entities where at least one related entity matches. */
8797
+ some?: WebauthnSettingFilter;
8798
+ }
8648
8799
  /** A filter to be used against `Trigger` object types. All fields are combined with a logical ‘and.’ */
8649
8800
  export interface TriggerFilter {
8650
8801
  /** Checks for all expressions in this list. */
@@ -9871,9 +10022,9 @@ export interface WebauthnSettingInput {
9871
10022
  /** Challenge TTL in seconds (default 300 = 5 minutes) */
9872
10023
  challengeExpirySeconds?: string;
9873
10024
  createdAt?: string;
9874
- /** Schema of the webauthn_credentials table (FK to metaschema_public.schema) */
10025
+ /** Schema of the webauthn_credentials table */
9875
10026
  credentialsSchemaId?: string;
9876
- /** Reference to the webauthn_credentials table (FK to metaschema_public.table) */
10027
+ /** Reference to the webauthn_credentials table */
9877
10028
  credentialsTableId?: string;
9878
10029
  /** Database that owns this resource (database-scoped isolation) */
9879
10030
  databaseId: string;
@@ -9888,20 +10039,20 @@ export interface WebauthnSettingInput {
9888
10039
  rpId?: string;
9889
10040
  /** WebAuthn Relying Party display name */
9890
10041
  rpName?: string;
9891
- /** Schema containing WebAuthn auth procedures (FK to metaschema_public.schema) */
10042
+ /** Schema containing WebAuthn auth procedures */
9892
10043
  schemaId?: string;
9893
- /** Reference to the session_credentials table (FK to metaschema_public.table) */
10044
+ /** Reference to the session_credentials table */
9894
10045
  sessionCredentialsTableId?: string;
9895
- /** Schema of the session_secrets table (FK to metaschema_public.schema) */
10046
+ /** Schema of the session_secrets table */
9896
10047
  sessionSecretsSchemaId?: string;
9897
- /** Reference to the session_secrets table (FK to metaschema_public.table) */
10048
+ /** Reference to the session_secrets table */
9898
10049
  sessionSecretsTableId?: string;
9899
- /** Schema of the sessions table (FK to metaschema_public.schema) */
10050
+ /** Schema of the sessions table */
9900
10051
  sessionsSchemaId?: string;
9901
- /** Reference to the sessions table (FK to metaschema_public.table) */
10052
+ /** Reference to the sessions table */
9902
10053
  sessionsTableId?: string;
9903
10054
  updatedAt?: string;
9904
- /** Reference to the user field on webauthn_credentials (FK to metaschema_public.field) */
10055
+ /** Reference to the user field on webauthn_credentials */
9905
10056
  userFieldId?: string;
9906
10057
  }
9907
10058
  /** Represents an update to a `WebauthnSetting`. Fields that are set will be updated. */
@@ -9911,9 +10062,9 @@ export interface WebauthnSettingPatch {
9911
10062
  /** Challenge TTL in seconds (default 300 = 5 minutes) */
9912
10063
  challengeExpirySeconds?: string;
9913
10064
  createdAt?: string;
9914
- /** Schema of the webauthn_credentials table (FK to metaschema_public.schema) */
10065
+ /** Schema of the webauthn_credentials table */
9915
10066
  credentialsSchemaId?: string;
9916
- /** Reference to the webauthn_credentials table (FK to metaschema_public.table) */
10067
+ /** Reference to the webauthn_credentials table */
9917
10068
  credentialsTableId?: string;
9918
10069
  /** Database that owns this resource (database-scoped isolation) */
9919
10070
  databaseId?: string;
@@ -9928,20 +10079,20 @@ export interface WebauthnSettingPatch {
9928
10079
  rpId?: string;
9929
10080
  /** WebAuthn Relying Party display name */
9930
10081
  rpName?: string;
9931
- /** Schema containing WebAuthn auth procedures (FK to metaschema_public.schema) */
10082
+ /** Schema containing WebAuthn auth procedures */
9932
10083
  schemaId?: string;
9933
- /** Reference to the session_credentials table (FK to metaschema_public.table) */
10084
+ /** Reference to the session_credentials table */
9934
10085
  sessionCredentialsTableId?: string;
9935
- /** Schema of the session_secrets table (FK to metaschema_public.schema) */
10086
+ /** Schema of the session_secrets table */
9936
10087
  sessionSecretsSchemaId?: string;
9937
- /** Reference to the session_secrets table (FK to metaschema_public.table) */
10088
+ /** Reference to the session_secrets table */
9938
10089
  sessionSecretsTableId?: string;
9939
- /** Schema of the sessions table (FK to metaschema_public.schema) */
10090
+ /** Schema of the sessions table */
9940
10091
  sessionsSchemaId?: string;
9941
- /** Reference to the sessions table (FK to metaschema_public.table) */
10092
+ /** Reference to the sessions table */
9942
10093
  sessionsTableId?: string;
9943
10094
  updatedAt?: string;
9944
- /** Reference to the user field on webauthn_credentials (FK to metaschema_public.field) */
10095
+ /** Reference to the user field on webauthn_credentials */
9945
10096
  userFieldId?: string;
9946
10097
  }
9947
10098
  /** Root meta schema type */
@@ -13081,10 +13232,14 @@ export interface MetaEnum {
13081
13232
  }
13082
13233
  /** How a field holds files */
13083
13234
  export interface MetaFileField {
13235
+ /** Bucket key the field is bound to; uploads for it must go to this bucket. Null when the field is not bound to one */
13236
+ bucketKey?: string | null;
13084
13237
  /** GraphQL type name of the files table uploads are recorded in, when this API has exactly one; null otherwise */
13085
13238
  filesType?: string | null;
13086
13239
  /** Whether the field holds a list of files */
13087
13240
  isMultiple: boolean;
13241
+ /** Whether the bound bucket must be public (true) or private (false); null when the binding does not say */
13242
+ isPublic?: boolean | null;
13088
13243
  /** image, upload, or attachment. An image or upload holds a file document; an attachment holds a link to a file. */
13089
13244
  kind: string;
13090
13245
  }
@@ -2627,10 +2627,14 @@ export interface MetaEnum {
2627
2627
  }
2628
2628
  /** How a field holds files */
2629
2629
  export interface MetaFileField {
2630
+ /** Bucket key the field is bound to; uploads for it must go to this bucket. Null when the field is not bound to one */
2631
+ bucketKey?: string | null;
2630
2632
  /** GraphQL type name of the files table uploads are recorded in, when this API has exactly one; null otherwise */
2631
2633
  filesType?: string | null;
2632
2634
  /** Whether the field holds a list of files */
2633
2635
  isMultiple: boolean;
2636
+ /** Whether the bound bucket must be public (true) or private (false); null when the binding does not say */
2637
+ isPublic?: boolean | null;
2634
2638
  /** image, upload, or attachment. An image or upload holds a file document; an attachment holds a link to a file. */
2635
2639
  kind: string;
2636
2640
  }
@@ -18452,10 +18452,14 @@ export interface MetaEnum {
18452
18452
  }
18453
18453
  /** How a field holds files */
18454
18454
  export interface MetaFileField {
18455
+ /** Bucket key the field is bound to; uploads for it must go to this bucket. Null when the field is not bound to one */
18456
+ bucketKey?: string | null;
18455
18457
  /** GraphQL type name of the files table uploads are recorded in, when this API has exactly one; null otherwise */
18456
18458
  filesType?: string | null;
18457
18459
  /** Whether the field holds a list of files */
18458
18460
  isMultiple: boolean;
18461
+ /** Whether the bound bucket must be public (true) or private (false); null when the binding does not say */
18462
+ isPublic?: boolean | null;
18459
18463
  /** image, upload, or attachment. An image or upload holds a file document; an attachment holds a link to a file. */
18460
18464
  kind: string;
18461
18465
  }
@@ -1209,10 +1209,14 @@ export interface MetaEnum {
1209
1209
  }
1210
1210
  /** How a field holds files */
1211
1211
  export interface MetaFileField {
1212
+ /** Bucket key the field is bound to; uploads for it must go to this bucket. Null when the field is not bound to one */
1213
+ bucketKey?: string | null;
1212
1214
  /** GraphQL type name of the files table uploads are recorded in, when this API has exactly one; null otherwise */
1213
1215
  filesType?: string | null;
1214
1216
  /** Whether the field holds a list of files */
1215
1217
  isMultiple: boolean;
1218
+ /** Whether the bound bucket must be public (true) or private (false); null when the binding does not say */
1219
+ isPublic?: boolean | null;
1216
1220
  /** image, upload, or attachment. An image or upload holds a file document; an attachment holds a link to a file. */
1217
1221
  kind: string;
1218
1222
  }
@@ -1496,10 +1496,14 @@ export interface MetaEnum {
1496
1496
  }
1497
1497
  /** How a field holds files */
1498
1498
  export interface MetaFileField {
1499
+ /** Bucket key the field is bound to; uploads for it must go to this bucket. Null when the field is not bound to one */
1500
+ bucketKey?: string | null;
1499
1501
  /** GraphQL type name of the files table uploads are recorded in, when this API has exactly one; null otherwise */
1500
1502
  filesType?: string | null;
1501
1503
  /** Whether the field holds a list of files */
1502
1504
  isMultiple: boolean;
1505
+ /** Whether the bound bucket must be public (true) or private (false); null when the binding does not say */
1506
+ isPublic?: boolean | null;
1503
1507
  /** image, upload, or attachment. An image or upload holds a file document; an attachment holds a link to a file. */
1504
1508
  kind: string;
1505
1509
  }
@@ -2,7 +2,7 @@
2
2
  * GraphQL SDK
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  *
5
- * Tables: AgentModule, ApiSurfaceModule, AppModule, BillingModule, BillingProviderModule, Blueprint, BlueprintConstruction, BlueprintTemplate, CapabilitiesModule, CatalogModule, ClusterModule, ComputeLogModule, ConnectedAccountsModule, ContentPresetModule, CryptoAddressesModule, CryptoAuthModule, DataCapabilitiesField, DatabaseProvisionModule, DatabaseSettingsModule, DbPoolConfig, DbPool, DbPresetModule, DbUsageModule, DefaultIdsModule, DenormalizedTableField, DevicesModule, DomainModule, EmailSenderModule, EmailsModule, EntityTypeProvision, EventsModule, FileRefField, FunctionDeploymentModule, FunctionInvocationModule, FunctionModule, GraphExecutionModule, GraphModule, HierarchyModule, I18NModule, IdentityProvidersModule, ImageModule, InferenceLogModule, InfraConfigModule, InfraSecretsModule, IntegrationProvidersModule, InternalConfigModule, InternalSecretsModule, InvitesModule, K8sAdmissionModule, LimitsModule, MachineModule, MembershipTypesModule, MembershipsModule, MerkleStoreModule, NamespaceModule, NotificationsModule, OauthRequestsModule, PagesModule, PhoneNumbersModule, PlansModule, PrincipalAuthModule, ProfilesModule, RateLimitMetersModule, RateLimitsModule, RealtimeModule, RefusalLogModule, RelationProvision, RepositoryModule, ResourceModule, RlsModule, RouteModule, ScopeTypesModule, SecureTableProvision, SessionSecretsModule, SessionsModule, SiteSurfaceModule, StorageLogModule, StorageModule, TransferLogModule, UserAuthModule, UserCredentialsModule, UserSettingsModule, UserSettingsSecurityModule, UserStateModule, UsersModule, WebauthnAuthModule, WebauthnCredentialsModule, WebhookModule
5
+ * Tables: AgentModule, ApiSurfaceModule, AppModule, BillingModule, BillingProviderModule, Blueprint, BlueprintConstruction, BlueprintTemplate, CapabilitiesModule, CatalogModule, ClusterModule, ComputeLogModule, ConnectedAccountsModule, ContentPresetModule, CryptoAddressesModule, CryptoAuthModule, DataCapabilitiesField, DatabaseProvisionModule, DatabaseSettingsModule, DbPoolConfig, DbPool, DbPresetModule, DbUsageModule, DefaultIdsModule, DenormalizedTableField, DevicesModule, DomainModule, EmailSenderModule, EmailsModule, EntityTypeProvision, EventsModule, FileRefField, FunctionDeploymentModule, FunctionInvocationModule, FunctionModule, GraphExecutionModule, GraphModule, HierarchyModule, I18NModule, IdentityProvidersModule, ImageModule, InferenceLogModule, InfraConfigModule, InfraSecretsModule, IntegrationProvidersModule, InternalConfigModule, InternalSecretsModule, InvitesModule, K8sAdmissionModule, LimitsModule, MachineModule, MembershipTypesModule, MembershipsModule, MerkleStoreModule, NamespaceModule, NotificationsModule, OauthRequestsModule, PagesModule, PhoneNumbersModule, PlansModule, PrincipalAuthModule, PrincipalsModule, ProfilesModule, RateLimitMetersModule, RateLimitsModule, RealtimeModule, RefusalLogModule, RelationProvision, RepositoryModule, ResourceModule, RlsModule, RouteModule, ScopeTypesModule, SecureTableProvision, SessionSecretsModule, SessionsModule, SiteSurfaceModule, StorageLogModule, StorageModule, TransferLogModule, UserAuthModule, UserCredentialsModule, UserSettingsModule, UserSettingsSecurityModule, UserStateModule, UsersModule, WebauthnAuthModule, WebauthnCredentialsModule, WebhookModule
6
6
  *
7
7
  * Usage:
8
8
  *
@@ -2,7 +2,7 @@
2
2
  * GraphQL SDK
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  *
5
- * Tables: AgentModule, ApiSurfaceModule, AppModule, BillingModule, BillingProviderModule, Blueprint, BlueprintConstruction, BlueprintTemplate, CapabilitiesModule, CatalogModule, ClusterModule, ComputeLogModule, ConnectedAccountsModule, ContentPresetModule, CryptoAddressesModule, CryptoAuthModule, DataCapabilitiesField, DatabaseProvisionModule, DatabaseSettingsModule, DbPoolConfig, DbPool, DbPresetModule, DbUsageModule, DefaultIdsModule, DenormalizedTableField, DevicesModule, DomainModule, EmailSenderModule, EmailsModule, EntityTypeProvision, EventsModule, FileRefField, FunctionDeploymentModule, FunctionInvocationModule, FunctionModule, GraphExecutionModule, GraphModule, HierarchyModule, I18NModule, IdentityProvidersModule, ImageModule, InferenceLogModule, InfraConfigModule, InfraSecretsModule, IntegrationProvidersModule, InternalConfigModule, InternalSecretsModule, InvitesModule, K8sAdmissionModule, LimitsModule, MachineModule, MembershipTypesModule, MembershipsModule, MerkleStoreModule, NamespaceModule, NotificationsModule, OauthRequestsModule, PagesModule, PhoneNumbersModule, PlansModule, PrincipalAuthModule, ProfilesModule, RateLimitMetersModule, RateLimitsModule, RealtimeModule, RefusalLogModule, RelationProvision, RepositoryModule, ResourceModule, RlsModule, RouteModule, ScopeTypesModule, SecureTableProvision, SessionSecretsModule, SessionsModule, SiteSurfaceModule, StorageLogModule, StorageModule, TransferLogModule, UserAuthModule, UserCredentialsModule, UserSettingsModule, UserSettingsSecurityModule, UserStateModule, UsersModule, WebauthnAuthModule, WebauthnCredentialsModule, WebhookModule
5
+ * Tables: AgentModule, ApiSurfaceModule, AppModule, BillingModule, BillingProviderModule, Blueprint, BlueprintConstruction, BlueprintTemplate, CapabilitiesModule, CatalogModule, ClusterModule, ComputeLogModule, ConnectedAccountsModule, ContentPresetModule, CryptoAddressesModule, CryptoAuthModule, DataCapabilitiesField, DatabaseProvisionModule, DatabaseSettingsModule, DbPoolConfig, DbPool, DbPresetModule, DbUsageModule, DefaultIdsModule, DenormalizedTableField, DevicesModule, DomainModule, EmailSenderModule, EmailsModule, EntityTypeProvision, EventsModule, FileRefField, FunctionDeploymentModule, FunctionInvocationModule, FunctionModule, GraphExecutionModule, GraphModule, HierarchyModule, I18NModule, IdentityProvidersModule, ImageModule, InferenceLogModule, InfraConfigModule, InfraSecretsModule, IntegrationProvidersModule, InternalConfigModule, InternalSecretsModule, InvitesModule, K8sAdmissionModule, LimitsModule, MachineModule, MembershipTypesModule, MembershipsModule, MerkleStoreModule, NamespaceModule, NotificationsModule, OauthRequestsModule, PagesModule, PhoneNumbersModule, PlansModule, PrincipalAuthModule, PrincipalsModule, ProfilesModule, RateLimitMetersModule, RateLimitsModule, RealtimeModule, RefusalLogModule, RelationProvision, RepositoryModule, ResourceModule, RlsModule, RouteModule, ScopeTypesModule, SecureTableProvision, SessionSecretsModule, SessionsModule, SiteSurfaceModule, StorageLogModule, StorageModule, TransferLogModule, UserAuthModule, UserCredentialsModule, UserSettingsModule, UserSettingsSecurityModule, UserStateModule, UsersModule, WebauthnAuthModule, WebauthnCredentialsModule, WebhookModule
6
6
  *
7
7
  * Usage:
8
8
  *
@@ -329,6 +329,11 @@ export declare const invalidate: {
329
329
  /** Invalidate principalAuthModule list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
330
330
  /** Invalidate a specific principalAuthModule */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
331
331
  };
332
+ /** Invalidate principalsModule queries */ readonly principalsModule: {
333
+ /** Invalidate all principalsModule queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
334
+ /** Invalidate principalsModule list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
335
+ /** Invalidate a specific principalsModule */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
336
+ };
332
337
  /** Invalidate profilesModule queries */ readonly profilesModule: {
333
338
  /** Invalidate all profilesModule queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
334
339
  /** Invalidate profilesModule list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
@@ -538,6 +543,7 @@ export declare const remove: {
538
543
  /** Remove phoneNumbersModule from cache */ readonly phoneNumbersModule: (queryClient: QueryClient, id: string | number) => void;
539
544
  /** Remove plansModule from cache */ readonly plansModule: (queryClient: QueryClient, id: string | number) => void;
540
545
  /** Remove principalAuthModule from cache */ readonly principalAuthModule: (queryClient: QueryClient, id: string | number) => void;
546
+ /** Remove principalsModule from cache */ readonly principalsModule: (queryClient: QueryClient, id: string | number) => void;
541
547
  /** Remove profilesModule from cache */ readonly profilesModule: (queryClient: QueryClient, id: string | number) => void;
542
548
  /** Remove rateLimitMetersModule from cache */ readonly rateLimitMetersModule: (queryClient: QueryClient, id: string | number) => void;
543
549
  /** Remove rateLimitsModule from cache */ readonly rateLimitsModule: (queryClient: QueryClient, id: string | number) => void;
@@ -3,7 +3,7 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- import { agentModuleKeys, apiSurfaceModuleKeys, appModuleKeys, billingModuleKeys, billingProviderModuleKeys, blueprintKeys, blueprintConstructionKeys, blueprintTemplateKeys, capabilitiesModuleKeys, catalogModuleKeys, clusterModuleKeys, computeLogModuleKeys, connectedAccountsModuleKeys, contentPresetModuleKeys, cryptoAddressesModuleKeys, cryptoAuthModuleKeys, dataCapabilitiesFieldKeys, databaseProvisionModuleKeys, databaseSettingsModuleKeys, dbPoolConfigKeys, dbPoolKeys, dbPresetModuleKeys, dbUsageModuleKeys, defaultIdsModuleKeys, denormalizedTableFieldKeys, devicesModuleKeys, domainModuleKeys, emailSenderModuleKeys, emailsModuleKeys, entityTypeProvisionKeys, eventsModuleKeys, fileRefFieldKeys, functionDeploymentModuleKeys, functionInvocationModuleKeys, functionModuleKeys, graphExecutionModuleKeys, graphModuleKeys, hierarchyModuleKeys, i18NModuleKeys, identityProvidersModuleKeys, imageModuleKeys, inferenceLogModuleKeys, infraConfigModuleKeys, infraSecretsModuleKeys, integrationProvidersModuleKeys, internalConfigModuleKeys, internalSecretsModuleKeys, invitesModuleKeys, k8sAdmissionModuleKeys, limitsModuleKeys, machineModuleKeys, membershipTypesModuleKeys, membershipsModuleKeys, merkleStoreModuleKeys, namespaceModuleKeys, notificationsModuleKeys, oauthRequestsModuleKeys, pagesModuleKeys, phoneNumbersModuleKeys, plansModuleKeys, principalAuthModuleKeys, profilesModuleKeys, rateLimitMetersModuleKeys, rateLimitsModuleKeys, realtimeModuleKeys, refusalLogModuleKeys, relationProvisionKeys, repositoryModuleKeys, resourceModuleKeys, rlsModuleKeys, routeModuleKeys, scopeTypesModuleKeys, secureTableProvisionKeys, sessionSecretsModuleKeys, sessionsModuleKeys, siteSurfaceModuleKeys, storageLogModuleKeys, storageModuleKeys, transferLogModuleKeys, userAuthModuleKeys, userCredentialsModuleKeys, userSettingsModuleKeys, userSettingsSecurityModuleKeys, userStateModuleKeys, usersModuleKeys, webauthnAuthModuleKeys, webauthnCredentialsModuleKeys, webhookModuleKeys, } from './query-keys';
6
+ import { agentModuleKeys, apiSurfaceModuleKeys, appModuleKeys, billingModuleKeys, billingProviderModuleKeys, blueprintKeys, blueprintConstructionKeys, blueprintTemplateKeys, capabilitiesModuleKeys, catalogModuleKeys, clusterModuleKeys, computeLogModuleKeys, connectedAccountsModuleKeys, contentPresetModuleKeys, cryptoAddressesModuleKeys, cryptoAuthModuleKeys, dataCapabilitiesFieldKeys, databaseProvisionModuleKeys, databaseSettingsModuleKeys, dbPoolConfigKeys, dbPoolKeys, dbPresetModuleKeys, dbUsageModuleKeys, defaultIdsModuleKeys, denormalizedTableFieldKeys, devicesModuleKeys, domainModuleKeys, emailSenderModuleKeys, emailsModuleKeys, entityTypeProvisionKeys, eventsModuleKeys, fileRefFieldKeys, functionDeploymentModuleKeys, functionInvocationModuleKeys, functionModuleKeys, graphExecutionModuleKeys, graphModuleKeys, hierarchyModuleKeys, i18NModuleKeys, identityProvidersModuleKeys, imageModuleKeys, inferenceLogModuleKeys, infraConfigModuleKeys, infraSecretsModuleKeys, integrationProvidersModuleKeys, internalConfigModuleKeys, internalSecretsModuleKeys, invitesModuleKeys, k8sAdmissionModuleKeys, limitsModuleKeys, machineModuleKeys, membershipTypesModuleKeys, membershipsModuleKeys, merkleStoreModuleKeys, namespaceModuleKeys, notificationsModuleKeys, oauthRequestsModuleKeys, pagesModuleKeys, phoneNumbersModuleKeys, plansModuleKeys, principalAuthModuleKeys, principalsModuleKeys, profilesModuleKeys, rateLimitMetersModuleKeys, rateLimitsModuleKeys, realtimeModuleKeys, refusalLogModuleKeys, relationProvisionKeys, repositoryModuleKeys, resourceModuleKeys, rlsModuleKeys, routeModuleKeys, scopeTypesModuleKeys, secureTableProvisionKeys, sessionSecretsModuleKeys, sessionsModuleKeys, siteSurfaceModuleKeys, storageLogModuleKeys, storageModuleKeys, transferLogModuleKeys, userAuthModuleKeys, userCredentialsModuleKeys, userSettingsModuleKeys, userSettingsSecurityModuleKeys, userStateModuleKeys, usersModuleKeys, webauthnAuthModuleKeys, webauthnCredentialsModuleKeys, webhookModuleKeys, } from './query-keys';
7
7
  /**
8
8
  // ============================================================================
9
9
  // Invalidation Helpers
@@ -695,6 +695,17 @@ export const invalidate = {
695
695
  queryKey: principalAuthModuleKeys.detail(id),
696
696
  }),
697
697
  },
698
+ /** Invalidate principalsModule queries */ principalsModule: {
699
+ /** Invalidate all principalsModule queries */ all: (queryClient) => queryClient.invalidateQueries({
700
+ queryKey: principalsModuleKeys.all,
701
+ }),
702
+ /** Invalidate principalsModule list queries */ lists: (queryClient) => queryClient.invalidateQueries({
703
+ queryKey: principalsModuleKeys.lists(),
704
+ }),
705
+ /** Invalidate a specific principalsModule */ detail: (queryClient, id) => queryClient.invalidateQueries({
706
+ queryKey: principalsModuleKeys.detail(id),
707
+ }),
708
+ },
698
709
  /** Invalidate profilesModule queries */ profilesModule: {
699
710
  /** Invalidate all profilesModule queries */ all: (queryClient) => queryClient.invalidateQueries({
700
711
  queryKey: profilesModuleKeys.all,
@@ -1310,6 +1321,11 @@ export const remove = {
1310
1321
  queryKey: principalAuthModuleKeys.detail(id),
1311
1322
  });
1312
1323
  },
1324
+ /** Remove principalsModule from cache */ principalsModule: (queryClient, id) => {
1325
+ queryClient.removeQueries({
1326
+ queryKey: principalsModuleKeys.detail(id),
1327
+ });
1328
+ },
1313
1329
  /** Remove profilesModule from cache */ profilesModule: (queryClient, id) => {
1314
1330
  queryClient.removeQueries({
1315
1331
  queryKey: profilesModuleKeys.detail(id),