@constructive-io/graphql-server 2.19.2 → 2.19.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/codegen/orm/index.d.ts +7 -603
  2. package/codegen/orm/index.js +4 -127
  3. package/codegen/orm/input-types.d.ts +14682 -7790
  4. package/codegen/orm/input-types.js +0 -5
  5. package/codegen/orm/models/api.d.ts +6 -6
  6. package/codegen/orm/models/api.js +3 -4
  7. package/codegen/orm/models/domain.d.ts +6 -6
  8. package/codegen/orm/models/domain.js +3 -4
  9. package/codegen/orm/models/index.d.ts +1 -58
  10. package/codegen/orm/models/index.js +3 -118
  11. package/codegen/orm/mutation/index.d.ts +1 -525
  12. package/codegen/orm/mutation/index.js +2 -591
  13. package/codegen/orm/query/index.d.ts +3 -257
  14. package/codegen/orm/query/index.js +8 -274
  15. package/codegen/orm/query-builder.d.ts +2 -1
  16. package/codegen/orm/query-builder.js +376 -129
  17. package/codegen/orm/select-types.d.ts +33 -0
  18. package/esm/codegen/orm/index.js +4 -127
  19. package/esm/codegen/orm/input-types.js +0 -5
  20. package/esm/codegen/orm/models/api.js +3 -4
  21. package/esm/codegen/orm/models/domain.js +3 -4
  22. package/esm/codegen/orm/models/index.js +1 -58
  23. package/esm/codegen/orm/mutation/index.js +2 -591
  24. package/esm/codegen/orm/query/index.js +8 -274
  25. package/esm/codegen/orm/query-builder.js +343 -129
  26. package/esm/middleware/api.js +145 -173
  27. package/esm/middleware/gql.js +72 -71
  28. package/middleware/api.d.ts +16 -3
  29. package/middleware/api.js +148 -173
  30. package/middleware/gql.d.ts +174 -24
  31. package/middleware/gql.js +76 -76
  32. package/middleware/types.d.ts +3 -19
  33. package/package.json +17 -14
  34. package/types.d.ts +17 -44
  35. package/codegen/orm/models/apiExtension.d.ts +0 -42
  36. package/codegen/orm/models/apiExtension.js +0 -77
  37. package/codegen/orm/models/apiModule.d.ts +0 -42
  38. package/codegen/orm/models/apiModule.js +0 -77
  39. package/codegen/orm/models/apiSchema.d.ts +0 -42
  40. package/codegen/orm/models/apiSchema.js +0 -77
  41. package/codegen/orm/models/app.d.ts +0 -42
  42. package/codegen/orm/models/app.js +0 -77
  43. package/codegen/orm/models/checkConstraint.d.ts +0 -42
  44. package/codegen/orm/models/checkConstraint.js +0 -77
  45. package/codegen/orm/models/connectedAccountsModule.d.ts +0 -42
  46. package/codegen/orm/models/connectedAccountsModule.js +0 -77
  47. package/codegen/orm/models/cryptoAddressesModule.d.ts +0 -42
  48. package/codegen/orm/models/cryptoAddressesModule.js +0 -77
  49. package/codegen/orm/models/cryptoAuthModule.d.ts +0 -42
  50. package/codegen/orm/models/cryptoAuthModule.js +0 -77
  51. package/codegen/orm/models/database.d.ts +0 -42
  52. package/codegen/orm/models/database.js +0 -77
  53. package/codegen/orm/models/databaseExtension.d.ts +0 -42
  54. package/codegen/orm/models/databaseExtension.js +0 -77
  55. package/codegen/orm/models/databaseProvision.d.ts +0 -42
  56. package/codegen/orm/models/databaseProvision.js +0 -77
  57. package/codegen/orm/models/defaultIdsModule.d.ts +0 -42
  58. package/codegen/orm/models/defaultIdsModule.js +0 -77
  59. package/codegen/orm/models/denormalizedTableField.d.ts +0 -42
  60. package/codegen/orm/models/denormalizedTableField.js +0 -77
  61. package/codegen/orm/models/emailsModule.d.ts +0 -42
  62. package/codegen/orm/models/emailsModule.js +0 -77
  63. package/codegen/orm/models/encryptedSecretsModule.d.ts +0 -42
  64. package/codegen/orm/models/encryptedSecretsModule.js +0 -77
  65. package/codegen/orm/models/extension.d.ts +0 -42
  66. package/codegen/orm/models/extension.js +0 -77
  67. package/codegen/orm/models/field.d.ts +0 -42
  68. package/codegen/orm/models/field.js +0 -77
  69. package/codegen/orm/models/fieldModule.d.ts +0 -42
  70. package/codegen/orm/models/fieldModule.js +0 -77
  71. package/codegen/orm/models/foreignKeyConstraint.d.ts +0 -42
  72. package/codegen/orm/models/foreignKeyConstraint.js +0 -77
  73. package/codegen/orm/models/fullTextSearch.d.ts +0 -42
  74. package/codegen/orm/models/fullTextSearch.js +0 -77
  75. package/codegen/orm/models/hierarchyModule.d.ts +0 -42
  76. package/codegen/orm/models/hierarchyModule.js +0 -77
  77. package/codegen/orm/models/indexModel.d.ts +0 -42
  78. package/codegen/orm/models/indexModel.js +0 -77
  79. package/codegen/orm/models/invitesModule.d.ts +0 -42
  80. package/codegen/orm/models/invitesModule.js +0 -77
  81. package/codegen/orm/models/levelsModule.d.ts +0 -42
  82. package/codegen/orm/models/levelsModule.js +0 -77
  83. package/codegen/orm/models/limitFunction.d.ts +0 -42
  84. package/codegen/orm/models/limitFunction.js +0 -77
  85. package/codegen/orm/models/limitsModule.d.ts +0 -42
  86. package/codegen/orm/models/limitsModule.js +0 -77
  87. package/codegen/orm/models/membershipTypesModule.d.ts +0 -42
  88. package/codegen/orm/models/membershipTypesModule.js +0 -77
  89. package/codegen/orm/models/membershipsModule.d.ts +0 -42
  90. package/codegen/orm/models/membershipsModule.js +0 -77
  91. package/codegen/orm/models/module.d.ts +0 -42
  92. package/codegen/orm/models/module.js +0 -77
  93. package/codegen/orm/models/moduleDefinition.d.ts +0 -42
  94. package/codegen/orm/models/moduleDefinition.js +0 -77
  95. package/codegen/orm/models/moduleField.d.ts +0 -42
  96. package/codegen/orm/models/moduleField.js +0 -77
  97. package/codegen/orm/models/moduleInputRecord.d.ts +0 -42
  98. package/codegen/orm/models/moduleInputRecord.js +0 -77
  99. package/codegen/orm/models/moduleOutput.d.ts +0 -42
  100. package/codegen/orm/models/moduleOutput.js +0 -77
  101. package/codegen/orm/models/permissionsModule.d.ts +0 -42
  102. package/codegen/orm/models/permissionsModule.js +0 -77
  103. package/codegen/orm/models/phoneNumbersModule.d.ts +0 -42
  104. package/codegen/orm/models/phoneNumbersModule.js +0 -77
  105. package/codegen/orm/models/policy.d.ts +0 -42
  106. package/codegen/orm/models/policy.js +0 -77
  107. package/codegen/orm/models/primaryKeyConstraint.d.ts +0 -42
  108. package/codegen/orm/models/primaryKeyConstraint.js +0 -77
  109. package/codegen/orm/models/procedure.d.ts +0 -42
  110. package/codegen/orm/models/procedure.js +0 -77
  111. package/codegen/orm/models/profilesModule.d.ts +0 -42
  112. package/codegen/orm/models/profilesModule.js +0 -77
  113. package/codegen/orm/models/rlsFunction.d.ts +0 -42
  114. package/codegen/orm/models/rlsFunction.js +0 -77
  115. package/codegen/orm/models/rlsModule.d.ts +0 -42
  116. package/codegen/orm/models/rlsModule.js +0 -77
  117. package/codegen/orm/models/schema.d.ts +0 -42
  118. package/codegen/orm/models/schema.js +0 -77
  119. package/codegen/orm/models/schemaGrant.d.ts +0 -42
  120. package/codegen/orm/models/schemaGrant.js +0 -77
  121. package/codegen/orm/models/secretsModule.d.ts +0 -42
  122. package/codegen/orm/models/secretsModule.js +0 -77
  123. package/codegen/orm/models/site.d.ts +0 -42
  124. package/codegen/orm/models/site.js +0 -77
  125. package/codegen/orm/models/siteMetadatum.d.ts +0 -42
  126. package/codegen/orm/models/siteMetadatum.js +0 -77
  127. package/codegen/orm/models/siteModule.d.ts +0 -42
  128. package/codegen/orm/models/siteModule.js +0 -77
  129. package/codegen/orm/models/siteTheme.d.ts +0 -42
  130. package/codegen/orm/models/siteTheme.js +0 -77
  131. package/codegen/orm/models/table.d.ts +0 -42
  132. package/codegen/orm/models/table.js +0 -77
  133. package/codegen/orm/models/tableGrant.d.ts +0 -42
  134. package/codegen/orm/models/tableGrant.js +0 -77
  135. package/codegen/orm/models/tokensModule.d.ts +0 -42
  136. package/codegen/orm/models/tokensModule.js +0 -77
  137. package/codegen/orm/models/trigger.d.ts +0 -42
  138. package/codegen/orm/models/trigger.js +0 -77
  139. package/codegen/orm/models/triggerFunction.d.ts +0 -42
  140. package/codegen/orm/models/triggerFunction.js +0 -77
  141. package/codegen/orm/models/uniqueConstraint.d.ts +0 -42
  142. package/codegen/orm/models/uniqueConstraint.js +0 -77
  143. package/codegen/orm/models/userAuthModule.d.ts +0 -42
  144. package/codegen/orm/models/userAuthModule.js +0 -77
  145. package/codegen/orm/models/usersModule.d.ts +0 -42
  146. package/codegen/orm/models/usersModule.js +0 -77
  147. package/codegen/orm/models/uuidModule.d.ts +0 -42
  148. package/codegen/orm/models/uuidModule.js +0 -77
  149. package/esm/codegen/orm/models/apiExtension.js +0 -73
  150. package/esm/codegen/orm/models/apiModule.js +0 -73
  151. package/esm/codegen/orm/models/apiSchema.js +0 -73
  152. package/esm/codegen/orm/models/app.js +0 -73
  153. package/esm/codegen/orm/models/checkConstraint.js +0 -73
  154. package/esm/codegen/orm/models/connectedAccountsModule.js +0 -73
  155. package/esm/codegen/orm/models/cryptoAddressesModule.js +0 -73
  156. package/esm/codegen/orm/models/cryptoAuthModule.js +0 -73
  157. package/esm/codegen/orm/models/database.js +0 -73
  158. package/esm/codegen/orm/models/databaseExtension.js +0 -73
  159. package/esm/codegen/orm/models/databaseProvision.js +0 -73
  160. package/esm/codegen/orm/models/defaultIdsModule.js +0 -73
  161. package/esm/codegen/orm/models/denormalizedTableField.js +0 -73
  162. package/esm/codegen/orm/models/emailsModule.js +0 -73
  163. package/esm/codegen/orm/models/encryptedSecretsModule.js +0 -73
  164. package/esm/codegen/orm/models/extension.js +0 -73
  165. package/esm/codegen/orm/models/field.js +0 -73
  166. package/esm/codegen/orm/models/fieldModule.js +0 -73
  167. package/esm/codegen/orm/models/foreignKeyConstraint.js +0 -73
  168. package/esm/codegen/orm/models/fullTextSearch.js +0 -73
  169. package/esm/codegen/orm/models/hierarchyModule.js +0 -73
  170. package/esm/codegen/orm/models/indexModel.js +0 -73
  171. package/esm/codegen/orm/models/invitesModule.js +0 -73
  172. package/esm/codegen/orm/models/levelsModule.js +0 -73
  173. package/esm/codegen/orm/models/limitFunction.js +0 -73
  174. package/esm/codegen/orm/models/limitsModule.js +0 -73
  175. package/esm/codegen/orm/models/membershipTypesModule.js +0 -73
  176. package/esm/codegen/orm/models/membershipsModule.js +0 -73
  177. package/esm/codegen/orm/models/module.js +0 -73
  178. package/esm/codegen/orm/models/moduleDefinition.js +0 -73
  179. package/esm/codegen/orm/models/moduleField.js +0 -73
  180. package/esm/codegen/orm/models/moduleInputRecord.js +0 -73
  181. package/esm/codegen/orm/models/moduleOutput.js +0 -73
  182. package/esm/codegen/orm/models/permissionsModule.js +0 -73
  183. package/esm/codegen/orm/models/phoneNumbersModule.js +0 -73
  184. package/esm/codegen/orm/models/policy.js +0 -73
  185. package/esm/codegen/orm/models/primaryKeyConstraint.js +0 -73
  186. package/esm/codegen/orm/models/procedure.js +0 -73
  187. package/esm/codegen/orm/models/profilesModule.js +0 -73
  188. package/esm/codegen/orm/models/rlsFunction.js +0 -73
  189. package/esm/codegen/orm/models/rlsModule.js +0 -73
  190. package/esm/codegen/orm/models/schema.js +0 -73
  191. package/esm/codegen/orm/models/schemaGrant.js +0 -73
  192. package/esm/codegen/orm/models/secretsModule.js +0 -73
  193. package/esm/codegen/orm/models/site.js +0 -73
  194. package/esm/codegen/orm/models/siteMetadatum.js +0 -73
  195. package/esm/codegen/orm/models/siteModule.js +0 -73
  196. package/esm/codegen/orm/models/siteTheme.js +0 -73
  197. package/esm/codegen/orm/models/table.js +0 -73
  198. package/esm/codegen/orm/models/tableGrant.js +0 -73
  199. package/esm/codegen/orm/models/tokensModule.js +0 -73
  200. package/esm/codegen/orm/models/trigger.js +0 -73
  201. package/esm/codegen/orm/models/triggerFunction.js +0 -73
  202. package/esm/codegen/orm/models/uniqueConstraint.js +0 -73
  203. package/esm/codegen/orm/models/userAuthModule.js +0 -73
  204. package/esm/codegen/orm/models/usersModule.js +0 -73
  205. package/esm/codegen/orm/models/uuidModule.js +0 -73
@@ -1,68 +1,6 @@
1
- /**
2
- * ORM Client - createClient factory
3
- * @generated by @constructive-io/graphql-codegen
4
- * DO NOT EDIT - changes will be overwritten
5
- */
6
- import { type OrmClientConfig } from './client';
7
- import { CheckConstraintModel } from './models/checkConstraint';
8
- import { SchemaModel } from './models/schema';
9
- import { TableModel } from './models/table';
10
- import { FieldModel } from './models/field';
11
- import { DenormalizedTableFieldModel } from './models/denormalizedTableField';
12
- import { FieldModuleModel } from './models/fieldModule';
13
- import { MembershipsModuleModel } from './models/membershipsModule';
14
- import { ForeignKeyConstraintModel } from './models/foreignKeyConstraint';
15
- import { FullTextSearchModel } from './models/fullTextSearch';
16
- import { IndexModel } from './models/index';
17
- import { LimitFunctionModel } from './models/limitFunction';
18
- import { PolicyModel } from './models/policy';
19
- import { PrimaryKeyConstraintModel } from './models/primaryKeyConstraint';
20
- import { RlsFunctionModel } from './models/rlsFunction';
21
- import { TableGrantModel } from './models/tableGrant';
22
- import { TriggerModel } from './models/trigger';
23
- import { UniqueConstraintModel } from './models/uniqueConstraint';
24
- import { ConnectedAccountsModuleModel } from './models/connectedAccountsModule';
25
- import { CryptoAddressesModuleModel } from './models/cryptoAddressesModule';
26
- import { CryptoAuthModuleModel } from './models/cryptoAuthModule';
27
- import { EmailsModuleModel } from './models/emailsModule';
28
- import { EncryptedSecretsModuleModel } from './models/encryptedSecretsModule';
29
- import { InvitesModuleModel } from './models/invitesModule';
30
- import { LevelsModuleModel } from './models/levelsModule';
31
- import { LimitsModuleModel } from './models/limitsModule';
32
- import { MembershipTypesModuleModel } from './models/membershipTypesModule';
33
- import { PermissionsModuleModel } from './models/permissionsModule';
34
- import { PhoneNumbersModuleModel } from './models/phoneNumbersModule';
35
- import { ProfilesModuleModel } from './models/profilesModule';
36
- import { SecretsModuleModel } from './models/secretsModule';
37
- import { TokensModuleModel } from './models/tokensModule';
38
- import { UsersModuleModel } from './models/usersModule';
39
- import { HierarchyModuleModel } from './models/hierarchyModule';
40
- import { SchemaGrantModel } from './models/schemaGrant';
41
- import { ApiSchemaModel } from './models/apiSchema';
42
- import { ApiExtensionModel } from './models/apiExtension';
43
- import { ApiModuleModel } from './models/apiModule';
44
- import { DomainModel } from './models/domain';
45
- import { SiteMetadatumModel } from './models/siteMetadatum';
46
- import { SiteModuleModel } from './models/siteModule';
47
- import { SiteThemeModel } from './models/siteTheme';
48
- import { RlsModuleModel } from './models/rlsModule';
49
- import { UserAuthModuleModel } from './models/userAuthModule';
50
- import { UuidModuleModel } from './models/uuidModule';
51
- import { DatabaseExtensionModel } from './models/databaseExtension';
52
- import { ProcedureModel } from './models/procedure';
53
- import { TriggerFunctionModel } from './models/triggerFunction';
1
+ import type { OrmClientConfig } from './client';
54
2
  import { ApiModel } from './models/api';
55
- import { SiteModel } from './models/site';
56
- import { AppModel } from './models/app';
57
- import { DefaultIdsModuleModel } from './models/defaultIdsModule';
58
- import { DatabaseProvisionModel } from './models/databaseProvision';
59
- import { ModuleModel } from './models/module';
60
- import { ModuleFieldModel } from './models/moduleField';
61
- import { ModuleInputRecordModel } from './models/moduleInputRecord';
62
- import { ModuleOutputModel } from './models/moduleOutput';
63
- import { DatabaseModel } from './models/database';
64
- import { ExtensionModel } from './models/extension';
65
- import { ModuleDefinitionModel } from './models/moduleDefinition';
3
+ import { DomainModel } from './models/domain';
66
4
  export type { OrmClientConfig, QueryResult, GraphQLError } from './client';
67
5
  export { GraphQLRequestError } from './client';
68
6
  export { QueryBuilder } from './query-builder';
@@ -77,556 +15,22 @@ export * from './select-types';
77
15
  * headers: { Authorization: 'Bearer token' },
78
16
  * });
79
17
  *
80
- * // Query users
81
- * const users = await db.user.findMany({
18
+ * // Query apis
19
+ * const apis = await db.api.findMany({
82
20
  * select: { id: true, name: true },
83
21
  * first: 10,
84
22
  * }).execute();
85
- *
86
- * // Create a user
87
- * const newUser = await db.user.create({
88
- * data: { name: 'John', email: 'john@example.com' },
89
- * select: { id: true },
90
- * }).execute();
91
23
  * ```
92
24
  */
93
25
  export declare function createClient(config: OrmClientConfig): {
94
- checkConstraint: CheckConstraintModel;
95
- schema: SchemaModel;
96
- table: TableModel;
97
- field: FieldModel;
98
- denormalizedTableField: DenormalizedTableFieldModel;
99
- fieldModule: FieldModuleModel;
100
- membershipsModule: MembershipsModuleModel;
101
- foreignKeyConstraint: ForeignKeyConstraintModel;
102
- fullTextSearch: FullTextSearchModel;
103
- index: IndexModel;
104
- limitFunction: LimitFunctionModel;
105
- policy: PolicyModel;
106
- primaryKeyConstraint: PrimaryKeyConstraintModel;
107
- rlsFunction: RlsFunctionModel;
108
- tableGrant: TableGrantModel;
109
- trigger: TriggerModel;
110
- uniqueConstraint: UniqueConstraintModel;
111
- connectedAccountsModule: ConnectedAccountsModuleModel;
112
- cryptoAddressesModule: CryptoAddressesModuleModel;
113
- cryptoAuthModule: CryptoAuthModuleModel;
114
- emailsModule: EmailsModuleModel;
115
- encryptedSecretsModule: EncryptedSecretsModuleModel;
116
- invitesModule: InvitesModuleModel;
117
- levelsModule: LevelsModuleModel;
118
- limitsModule: LimitsModuleModel;
119
- membershipTypesModule: MembershipTypesModuleModel;
120
- permissionsModule: PermissionsModuleModel;
121
- phoneNumbersModule: PhoneNumbersModuleModel;
122
- profilesModule: ProfilesModuleModel;
123
- secretsModule: SecretsModuleModel;
124
- tokensModule: TokensModuleModel;
125
- usersModule: UsersModuleModel;
126
- hierarchyModule: HierarchyModuleModel;
127
- schemaGrant: SchemaGrantModel;
128
- apiSchema: ApiSchemaModel;
129
- apiExtension: ApiExtensionModel;
130
- apiModule: ApiModuleModel;
131
- domain: DomainModel;
132
- siteMetadatum: SiteMetadatumModel;
133
- siteModule: SiteModuleModel;
134
- siteTheme: SiteThemeModel;
135
- rlsModule: RlsModuleModel;
136
- userAuthModule: UserAuthModuleModel;
137
- uuidModule: UuidModuleModel;
138
- databaseExtension: DatabaseExtensionModel;
139
- procedure: ProcedureModel;
140
- triggerFunction: TriggerFunctionModel;
141
26
  api: ApiModel;
142
- site: SiteModel;
143
- app: AppModel;
144
- defaultIdsModule: DefaultIdsModuleModel;
145
- databaseProvision: DatabaseProvisionModel;
146
- module: ModuleModel;
147
- moduleField: ModuleFieldModel;
148
- moduleInputRecord: ModuleInputRecordModel;
149
- moduleOutput: ModuleOutputModel;
150
- database: DatabaseModel;
151
- extension: ExtensionModel;
152
- moduleDefinition: ModuleDefinitionModel;
27
+ domain: DomainModel;
153
28
  query: {
154
- checkConstraintByTableIdAndName: <const S extends import("./input-types").CheckConstraintSelect>(args: import("./query").CheckConstraintByTableIdAndNameVariables, options?: {
155
- select?: S;
156
- }) => import("./query-builder").QueryBuilder<{
157
- checkConstraintByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").CheckConstraint, S>;
158
- }>;
159
- databaseBySchemaName: <const S extends import("./input-types").DatabaseSelect>(args: import("./query").DatabaseBySchemaNameVariables, options?: {
160
- select?: S;
161
- }) => import("./query-builder").QueryBuilder<{
162
- databaseBySchemaName: import("./select-types").InferSelectResult<import("./input-types").Database, S>;
163
- }>;
164
- databaseByPrivateSchemaName: <const S extends import("./input-types").DatabaseSelect>(args: import("./query").DatabaseByPrivateSchemaNameVariables, options?: {
165
- select?: S;
166
- }) => import("./query-builder").QueryBuilder<{
167
- databaseByPrivateSchemaName: import("./select-types").InferSelectResult<import("./input-types").Database, S>;
168
- }>;
169
- databaseExtension: <const S extends import("./input-types").DatabaseExtensionSelect>(args: import("./query").DatabaseExtensionVariables, options?: {
170
- select?: S;
171
- }) => import("./query-builder").QueryBuilder<{
172
- databaseExtension: import("./select-types").InferSelectResult<import("./input-types").DatabaseExtension, S>;
173
- }>;
174
- fieldByTableIdAndName: <const S extends import("./input-types").FieldSelect>(args: import("./query").FieldByTableIdAndNameVariables, options?: {
175
- select?: S;
176
- }) => import("./query-builder").QueryBuilder<{
177
- fieldByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").Field, S>;
178
- }>;
179
- foreignKeyConstraintByTableIdAndName: <const S extends import("./input-types").ForeignKeyConstraintSelect>(args: import("./query").ForeignKeyConstraintByTableIdAndNameVariables, options?: {
180
- select?: S;
181
- }) => import("./query-builder").QueryBuilder<{
182
- foreignKeyConstraintByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").ForeignKeyConstraint, S>;
183
- }>;
184
- indexByDatabaseIdAndName: <const S extends import("./input-types").IndexSelect>(args: import("./query").IndexByDatabaseIdAndNameVariables, options?: {
185
- select?: S;
186
- }) => import("./query-builder").QueryBuilder<{
187
- indexByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").Index, S>;
188
- }>;
189
- limitFunctionByDatabaseIdAndName: <const S extends import("./input-types").LimitFunctionSelect>(args: import("./query").LimitFunctionByDatabaseIdAndNameVariables, options?: {
190
- select?: S;
191
- }) => import("./query-builder").QueryBuilder<{
192
- limitFunctionByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").LimitFunction, S>;
193
- }>;
194
- policyByTableIdAndName: <const S extends import("./input-types").PolicySelect>(args: import("./query").PolicyByTableIdAndNameVariables, options?: {
195
- select?: S;
196
- }) => import("./query-builder").QueryBuilder<{
197
- policyByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").Policy, S>;
198
- }>;
199
- primaryKeyConstraintByTableIdAndName: <const S extends import("./input-types").PrimaryKeyConstraintSelect>(args: import("./query").PrimaryKeyConstraintByTableIdAndNameVariables, options?: {
200
- select?: S;
201
- }) => import("./query-builder").QueryBuilder<{
202
- primaryKeyConstraintByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").PrimaryKeyConstraint, S>;
203
- }>;
204
- procedureByDatabaseIdAndName: <const S extends import("./input-types").ProcedureSelect>(args: import("./query").ProcedureByDatabaseIdAndNameVariables, options?: {
205
- select?: S;
206
- }) => import("./query-builder").QueryBuilder<{
207
- procedureByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").Procedure, S>;
208
- }>;
209
- rlsFunctionByDatabaseIdAndName: <const S extends import("./input-types").RlsFunctionSelect>(args: import("./query").RlsFunctionByDatabaseIdAndNameVariables, options?: {
210
- select?: S;
211
- }) => import("./query-builder").QueryBuilder<{
212
- rlsFunctionByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").RlsFunction, S>;
213
- }>;
214
- schemaByDatabaseIdAndName: <const S extends import("./input-types").SchemaSelect>(args: import("./query").SchemaByDatabaseIdAndNameVariables, options?: {
215
- select?: S;
216
- }) => import("./query-builder").QueryBuilder<{
217
- schemaByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").Schema, S>;
218
- }>;
219
- schemaBySchemaName: <const S extends import("./input-types").SchemaSelect>(args: import("./query").SchemaBySchemaNameVariables, options?: {
220
- select?: S;
221
- }) => import("./query-builder").QueryBuilder<{
222
- schemaBySchemaName: import("./select-types").InferSelectResult<import("./input-types").Schema, S>;
223
- }>;
224
- tableByDatabaseIdAndName: <const S extends import("./input-types").TableSelect>(args: import("./query").TableByDatabaseIdAndNameVariables, options?: {
225
- select?: S;
226
- }) => import("./query-builder").QueryBuilder<{
227
- tableByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").Table, S>;
228
- }>;
229
- triggerByTableIdAndName: <const S extends import("./input-types").TriggerSelect>(args: import("./query").TriggerByTableIdAndNameVariables, options?: {
230
- select?: S;
231
- }) => import("./query-builder").QueryBuilder<{
232
- triggerByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").Trigger, S>;
233
- }>;
234
- triggerFunctionByDatabaseIdAndName: <const S extends import("./input-types").TriggerFunctionSelect>(args: import("./query").TriggerFunctionByDatabaseIdAndNameVariables, options?: {
235
- select?: S;
236
- }) => import("./query-builder").QueryBuilder<{
237
- triggerFunctionByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").TriggerFunction, S>;
238
- }>;
239
- uniqueConstraintByTableIdAndName: <const S extends import("./input-types").UniqueConstraintSelect>(args: import("./query").UniqueConstraintByTableIdAndNameVariables, options?: {
240
- select?: S;
241
- }) => import("./query-builder").QueryBuilder<{
242
- uniqueConstraintByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").UniqueConstraint, S>;
243
- }>;
244
- apiExtensionBySchemaNameAndApiId: <const S extends import("./input-types").ApiExtensionSelect>(args: import("./query").ApiExtensionBySchemaNameAndApiIdVariables, options?: {
245
- select?: S;
246
- }) => import("./query-builder").QueryBuilder<{
247
- apiExtensionBySchemaNameAndApiId: import("./select-types").InferSelectResult<import("./input-types").ApiExtension, S>;
248
- }>;
249
- apiSchemaByApiIdAndSchemaId: <const S extends import("./input-types").ApiSchemaSelect>(args: import("./query").ApiSchemaByApiIdAndSchemaIdVariables, options?: {
250
- select?: S;
251
- }) => import("./query-builder").QueryBuilder<{
252
- apiSchemaByApiIdAndSchemaId: import("./select-types").InferSelectResult<import("./input-types").ApiSchema, S>;
253
- }>;
254
29
  apiByDatabaseIdAndName: <const S extends import("./input-types").ApiSelect>(args: import("./query").ApiByDatabaseIdAndNameVariables, options?: {
255
- select?: S;
30
+ select?: import("./select-types").DeepExact<S, import("./input-types").ApiSelect>;
256
31
  }) => import("./query-builder").QueryBuilder<{
257
32
  apiByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").Api, S>;
258
33
  }>;
259
- appBySiteId: <const S extends import("./input-types").AppSelect>(args: import("./query").AppBySiteIdVariables, options?: {
260
- select?: S;
261
- }) => import("./query-builder").QueryBuilder<{
262
- appBySiteId: import("./select-types").InferSelectResult<import("./input-types").App, S>;
263
- }>;
264
- domainBySubdomainAndDomain: <const S extends import("./input-types").DomainSelect>(args: import("./query").DomainBySubdomainAndDomainVariables, options?: {
265
- select?: S;
266
- }) => import("./query-builder").QueryBuilder<{
267
- domainBySubdomainAndDomain: import("./select-types").InferSelectResult<import("./input-types").Domain, S>;
268
- }>;
269
- hierarchyModuleByDatabaseId: <const S extends import("./input-types").HierarchyModuleSelect>(args: import("./query").HierarchyModuleByDatabaseIdVariables, options?: {
270
- select?: S;
271
- }) => import("./query-builder").QueryBuilder<{
272
- hierarchyModuleByDatabaseId: import("./select-types").InferSelectResult<import("./input-types").HierarchyModule, S>;
273
- }>;
274
- moduleDefinitionByNameAndContext: <const S extends import("./input-types").ModuleDefinitionSelect>(args: import("./query").ModuleDefinitionByNameAndContextVariables, options?: {
275
- select?: S;
276
- }) => import("./query-builder").QueryBuilder<{
277
- moduleDefinitionByNameAndContext: import("./select-types").InferSelectResult<import("./input-types").ModuleDefinition, S>;
278
- }>;
279
- moduleFieldByModuleDefnIdAndName: <const S extends import("./input-types").ModuleFieldSelect>(args: import("./query").ModuleFieldByModuleDefnIdAndNameVariables, options?: {
280
- select?: S;
281
- }) => import("./query-builder").QueryBuilder<{
282
- moduleFieldByModuleDefnIdAndName: import("./select-types").InferSelectResult<import("./input-types").ModuleField, S>;
283
- }>;
284
- moduleInputRecordByModuleIdAndName: <const S extends import("./input-types").ModuleInputRecordSelect>(args: import("./query").ModuleInputRecordByModuleIdAndNameVariables, options?: {
285
- select?: S;
286
- }) => import("./query-builder").QueryBuilder<{
287
- moduleInputRecordByModuleIdAndName: import("./select-types").InferSelectResult<import("./input-types").ModuleInputRecord, S>;
288
- }>;
289
- moduleOutputByModuleIdAndName: <const S extends import("./input-types").ModuleOutputSelect>(args: import("./query").ModuleOutputByModuleIdAndNameVariables, options?: {
290
- select?: S;
291
- }) => import("./query-builder").QueryBuilder<{
292
- moduleOutputByModuleIdAndName: import("./select-types").InferSelectResult<import("./input-types").ModuleOutput, S>;
293
- }>;
294
- profilesModuleByDatabaseIdAndMembershipType: <const S extends import("./input-types").ProfilesModuleSelect>(args: import("./query").ProfilesModuleByDatabaseIdAndMembershipTypeVariables, options?: {
295
- select?: S;
296
- }) => import("./query-builder").QueryBuilder<{
297
- profilesModuleByDatabaseIdAndMembershipType: import("./select-types").InferSelectResult<import("./input-types").ProfilesModule, S>;
298
- }>;
299
- rlsModuleByApiId: <const S extends import("./input-types").RlsModuleSelect>(args: import("./query").RlsModuleByApiIdVariables, options?: {
300
- select?: S;
301
- }) => import("./query-builder").QueryBuilder<{
302
- rlsModuleByApiId: import("./select-types").InferSelectResult<import("./input-types").RlsModule, S>;
303
- }>;
304
- };
305
- mutation: {
306
- updateCheckConstraintByTableIdAndName: <const S extends import("./input-types").UpdateCheckConstraintPayloadSelect>(args: import("./mutation").UpdateCheckConstraintByTableIdAndNameVariables, options?: {
307
- select?: S;
308
- }) => import("./query-builder").QueryBuilder<{
309
- updateCheckConstraintByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").UpdateCheckConstraintPayload, S>;
310
- }>;
311
- updateDatabaseBySchemaName: <const S extends import("./input-types").UpdateDatabasePayloadSelect>(args: import("./mutation").UpdateDatabaseBySchemaNameVariables, options?: {
312
- select?: S;
313
- }) => import("./query-builder").QueryBuilder<{
314
- updateDatabaseBySchemaName: import("./select-types").InferSelectResult<import("./input-types").UpdateDatabasePayload, S>;
315
- }>;
316
- updateDatabaseByPrivateSchemaName: <const S extends import("./input-types").UpdateDatabasePayloadSelect>(args: import("./mutation").UpdateDatabaseByPrivateSchemaNameVariables, options?: {
317
- select?: S;
318
- }) => import("./query-builder").QueryBuilder<{
319
- updateDatabaseByPrivateSchemaName: import("./select-types").InferSelectResult<import("./input-types").UpdateDatabasePayload, S>;
320
- }>;
321
- updateDatabaseExtensionByDatabaseIdAndName: <const S extends import("./input-types").UpdateDatabaseExtensionPayloadSelect>(args: import("./mutation").UpdateDatabaseExtensionByDatabaseIdAndNameVariables, options?: {
322
- select?: S;
323
- }) => import("./query-builder").QueryBuilder<{
324
- updateDatabaseExtensionByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").UpdateDatabaseExtensionPayload, S>;
325
- }>;
326
- updateFieldByTableIdAndName: <const S extends import("./input-types").UpdateFieldPayloadSelect>(args: import("./mutation").UpdateFieldByTableIdAndNameVariables, options?: {
327
- select?: S;
328
- }) => import("./query-builder").QueryBuilder<{
329
- updateFieldByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").UpdateFieldPayload, S>;
330
- }>;
331
- updateForeignKeyConstraintByTableIdAndName: <const S extends import("./input-types").UpdateForeignKeyConstraintPayloadSelect>(args: import("./mutation").UpdateForeignKeyConstraintByTableIdAndNameVariables, options?: {
332
- select?: S;
333
- }) => import("./query-builder").QueryBuilder<{
334
- updateForeignKeyConstraintByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").UpdateForeignKeyConstraintPayload, S>;
335
- }>;
336
- updateIndexByDatabaseIdAndName: <const S extends import("./input-types").UpdateIndexPayloadSelect>(args: import("./mutation").UpdateIndexByDatabaseIdAndNameVariables, options?: {
337
- select?: S;
338
- }) => import("./query-builder").QueryBuilder<{
339
- updateIndexByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").UpdateIndexPayload, S>;
340
- }>;
341
- updateLimitFunctionByDatabaseIdAndName: <const S extends import("./input-types").UpdateLimitFunctionPayloadSelect>(args: import("./mutation").UpdateLimitFunctionByDatabaseIdAndNameVariables, options?: {
342
- select?: S;
343
- }) => import("./query-builder").QueryBuilder<{
344
- updateLimitFunctionByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").UpdateLimitFunctionPayload, S>;
345
- }>;
346
- updatePolicyByTableIdAndName: <const S extends import("./input-types").UpdatePolicyPayloadSelect>(args: import("./mutation").UpdatePolicyByTableIdAndNameVariables, options?: {
347
- select?: S;
348
- }) => import("./query-builder").QueryBuilder<{
349
- updatePolicyByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").UpdatePolicyPayload, S>;
350
- }>;
351
- updatePrimaryKeyConstraintByTableIdAndName: <const S extends import("./input-types").UpdatePrimaryKeyConstraintPayloadSelect>(args: import("./mutation").UpdatePrimaryKeyConstraintByTableIdAndNameVariables, options?: {
352
- select?: S;
353
- }) => import("./query-builder").QueryBuilder<{
354
- updatePrimaryKeyConstraintByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").UpdatePrimaryKeyConstraintPayload, S>;
355
- }>;
356
- updateProcedureByDatabaseIdAndName: <const S extends import("./input-types").UpdateProcedurePayloadSelect>(args: import("./mutation").UpdateProcedureByDatabaseIdAndNameVariables, options?: {
357
- select?: S;
358
- }) => import("./query-builder").QueryBuilder<{
359
- updateProcedureByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").UpdateProcedurePayload, S>;
360
- }>;
361
- updateRlsFunctionByDatabaseIdAndName: <const S extends import("./input-types").UpdateRlsFunctionPayloadSelect>(args: import("./mutation").UpdateRlsFunctionByDatabaseIdAndNameVariables, options?: {
362
- select?: S;
363
- }) => import("./query-builder").QueryBuilder<{
364
- updateRlsFunctionByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").UpdateRlsFunctionPayload, S>;
365
- }>;
366
- updateSchemaByDatabaseIdAndName: <const S extends import("./input-types").UpdateSchemaPayloadSelect>(args: import("./mutation").UpdateSchemaByDatabaseIdAndNameVariables, options?: {
367
- select?: S;
368
- }) => import("./query-builder").QueryBuilder<{
369
- updateSchemaByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").UpdateSchemaPayload, S>;
370
- }>;
371
- updateSchemaBySchemaName: <const S extends import("./input-types").UpdateSchemaPayloadSelect>(args: import("./mutation").UpdateSchemaBySchemaNameVariables, options?: {
372
- select?: S;
373
- }) => import("./query-builder").QueryBuilder<{
374
- updateSchemaBySchemaName: import("./select-types").InferSelectResult<import("./input-types").UpdateSchemaPayload, S>;
375
- }>;
376
- updateTableByDatabaseIdAndName: <const S extends import("./input-types").UpdateTablePayloadSelect>(args: import("./mutation").UpdateTableByDatabaseIdAndNameVariables, options?: {
377
- select?: S;
378
- }) => import("./query-builder").QueryBuilder<{
379
- updateTableByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").UpdateTablePayload, S>;
380
- }>;
381
- updateTriggerByTableIdAndName: <const S extends import("./input-types").UpdateTriggerPayloadSelect>(args: import("./mutation").UpdateTriggerByTableIdAndNameVariables, options?: {
382
- select?: S;
383
- }) => import("./query-builder").QueryBuilder<{
384
- updateTriggerByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").UpdateTriggerPayload, S>;
385
- }>;
386
- updateTriggerFunctionByDatabaseIdAndName: <const S extends import("./input-types").UpdateTriggerFunctionPayloadSelect>(args: import("./mutation").UpdateTriggerFunctionByDatabaseIdAndNameVariables, options?: {
387
- select?: S;
388
- }) => import("./query-builder").QueryBuilder<{
389
- updateTriggerFunctionByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").UpdateTriggerFunctionPayload, S>;
390
- }>;
391
- updateUniqueConstraintByTableIdAndName: <const S extends import("./input-types").UpdateUniqueConstraintPayloadSelect>(args: import("./mutation").UpdateUniqueConstraintByTableIdAndNameVariables, options?: {
392
- select?: S;
393
- }) => import("./query-builder").QueryBuilder<{
394
- updateUniqueConstraintByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").UpdateUniqueConstraintPayload, S>;
395
- }>;
396
- updateApiExtensionBySchemaNameAndApiId: <const S extends import("./input-types").UpdateApiExtensionPayloadSelect>(args: import("./mutation").UpdateApiExtensionBySchemaNameAndApiIdVariables, options?: {
397
- select?: S;
398
- }) => import("./query-builder").QueryBuilder<{
399
- updateApiExtensionBySchemaNameAndApiId: import("./select-types").InferSelectResult<import("./input-types").UpdateApiExtensionPayload, S>;
400
- }>;
401
- updateApiSchemaByApiIdAndSchemaId: <const S extends import("./input-types").UpdateApiSchemaPayloadSelect>(args: import("./mutation").UpdateApiSchemaByApiIdAndSchemaIdVariables, options?: {
402
- select?: S;
403
- }) => import("./query-builder").QueryBuilder<{
404
- updateApiSchemaByApiIdAndSchemaId: import("./select-types").InferSelectResult<import("./input-types").UpdateApiSchemaPayload, S>;
405
- }>;
406
- updateApiByDatabaseIdAndName: <const S extends import("./input-types").UpdateApiPayloadSelect>(args: import("./mutation").UpdateApiByDatabaseIdAndNameVariables, options?: {
407
- select?: S;
408
- }) => import("./query-builder").QueryBuilder<{
409
- updateApiByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").UpdateApiPayload, S>;
410
- }>;
411
- updateAppBySiteId: <const S extends import("./input-types").UpdateAppPayloadSelect>(args: import("./mutation").UpdateAppBySiteIdVariables, options?: {
412
- select?: S;
413
- }) => import("./query-builder").QueryBuilder<{
414
- updateAppBySiteId: import("./select-types").InferSelectResult<import("./input-types").UpdateAppPayload, S>;
415
- }>;
416
- updateDomainBySubdomainAndDomain: <const S extends import("./input-types").UpdateDomainPayloadSelect>(args: import("./mutation").UpdateDomainBySubdomainAndDomainVariables, options?: {
417
- select?: S;
418
- }) => import("./query-builder").QueryBuilder<{
419
- updateDomainBySubdomainAndDomain: import("./select-types").InferSelectResult<import("./input-types").UpdateDomainPayload, S>;
420
- }>;
421
- updateHierarchyModuleByDatabaseId: <const S extends import("./input-types").UpdateHierarchyModulePayloadSelect>(args: import("./mutation").UpdateHierarchyModuleByDatabaseIdVariables, options?: {
422
- select?: S;
423
- }) => import("./query-builder").QueryBuilder<{
424
- updateHierarchyModuleByDatabaseId: import("./select-types").InferSelectResult<import("./input-types").UpdateHierarchyModulePayload, S>;
425
- }>;
426
- updateModuleDefinitionByNameAndContext: <const S extends import("./input-types").UpdateModuleDefinitionPayloadSelect>(args: import("./mutation").UpdateModuleDefinitionByNameAndContextVariables, options?: {
427
- select?: S;
428
- }) => import("./query-builder").QueryBuilder<{
429
- updateModuleDefinitionByNameAndContext: import("./select-types").InferSelectResult<import("./input-types").UpdateModuleDefinitionPayload, S>;
430
- }>;
431
- updateModuleFieldByModuleDefnIdAndName: <const S extends import("./input-types").UpdateModuleFieldPayloadSelect>(args: import("./mutation").UpdateModuleFieldByModuleDefnIdAndNameVariables, options?: {
432
- select?: S;
433
- }) => import("./query-builder").QueryBuilder<{
434
- updateModuleFieldByModuleDefnIdAndName: import("./select-types").InferSelectResult<import("./input-types").UpdateModuleFieldPayload, S>;
435
- }>;
436
- updateModuleInputRecordByModuleIdAndName: <const S extends import("./input-types").UpdateModuleInputRecordPayloadSelect>(args: import("./mutation").UpdateModuleInputRecordByModuleIdAndNameVariables, options?: {
437
- select?: S;
438
- }) => import("./query-builder").QueryBuilder<{
439
- updateModuleInputRecordByModuleIdAndName: import("./select-types").InferSelectResult<import("./input-types").UpdateModuleInputRecordPayload, S>;
440
- }>;
441
- updateModuleOutputByModuleIdAndName: <const S extends import("./input-types").UpdateModuleOutputPayloadSelect>(args: import("./mutation").UpdateModuleOutputByModuleIdAndNameVariables, options?: {
442
- select?: S;
443
- }) => import("./query-builder").QueryBuilder<{
444
- updateModuleOutputByModuleIdAndName: import("./select-types").InferSelectResult<import("./input-types").UpdateModuleOutputPayload, S>;
445
- }>;
446
- updateProfilesModuleByDatabaseIdAndMembershipType: <const S extends import("./input-types").UpdateProfilesModulePayloadSelect>(args: import("./mutation").UpdateProfilesModuleByDatabaseIdAndMembershipTypeVariables, options?: {
447
- select?: S;
448
- }) => import("./query-builder").QueryBuilder<{
449
- updateProfilesModuleByDatabaseIdAndMembershipType: import("./select-types").InferSelectResult<import("./input-types").UpdateProfilesModulePayload, S>;
450
- }>;
451
- updateRlsModuleByApiId: <const S extends import("./input-types").UpdateRlsModulePayloadSelect>(args: import("./mutation").UpdateRlsModuleByApiIdVariables, options?: {
452
- select?: S;
453
- }) => import("./query-builder").QueryBuilder<{
454
- updateRlsModuleByApiId: import("./select-types").InferSelectResult<import("./input-types").UpdateRlsModulePayload, S>;
455
- }>;
456
- deleteCheckConstraintByTableIdAndName: <const S extends import("./input-types").DeleteCheckConstraintPayloadSelect>(args: import("./mutation").DeleteCheckConstraintByTableIdAndNameVariables, options?: {
457
- select?: S;
458
- }) => import("./query-builder").QueryBuilder<{
459
- deleteCheckConstraintByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").DeleteCheckConstraintPayload, S>;
460
- }>;
461
- deleteDatabaseBySchemaName: <const S extends import("./input-types").DeleteDatabasePayloadSelect>(args: import("./mutation").DeleteDatabaseBySchemaNameVariables, options?: {
462
- select?: S;
463
- }) => import("./query-builder").QueryBuilder<{
464
- deleteDatabaseBySchemaName: import("./select-types").InferSelectResult<import("./input-types").DeleteDatabasePayload, S>;
465
- }>;
466
- deleteDatabaseByPrivateSchemaName: <const S extends import("./input-types").DeleteDatabasePayloadSelect>(args: import("./mutation").DeleteDatabaseByPrivateSchemaNameVariables, options?: {
467
- select?: S;
468
- }) => import("./query-builder").QueryBuilder<{
469
- deleteDatabaseByPrivateSchemaName: import("./select-types").InferSelectResult<import("./input-types").DeleteDatabasePayload, S>;
470
- }>;
471
- deleteDatabaseExtensionByDatabaseIdAndName: <const S extends import("./input-types").DeleteDatabaseExtensionPayloadSelect>(args: import("./mutation").DeleteDatabaseExtensionByDatabaseIdAndNameVariables, options?: {
472
- select?: S;
473
- }) => import("./query-builder").QueryBuilder<{
474
- deleteDatabaseExtensionByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").DeleteDatabaseExtensionPayload, S>;
475
- }>;
476
- deleteFieldByTableIdAndName: <const S extends import("./input-types").DeleteFieldPayloadSelect>(args: import("./mutation").DeleteFieldByTableIdAndNameVariables, options?: {
477
- select?: S;
478
- }) => import("./query-builder").QueryBuilder<{
479
- deleteFieldByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").DeleteFieldPayload, S>;
480
- }>;
481
- deleteForeignKeyConstraintByTableIdAndName: <const S extends import("./input-types").DeleteForeignKeyConstraintPayloadSelect>(args: import("./mutation").DeleteForeignKeyConstraintByTableIdAndNameVariables, options?: {
482
- select?: S;
483
- }) => import("./query-builder").QueryBuilder<{
484
- deleteForeignKeyConstraintByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").DeleteForeignKeyConstraintPayload, S>;
485
- }>;
486
- deleteIndexByDatabaseIdAndName: <const S extends import("./input-types").DeleteIndexPayloadSelect>(args: import("./mutation").DeleteIndexByDatabaseIdAndNameVariables, options?: {
487
- select?: S;
488
- }) => import("./query-builder").QueryBuilder<{
489
- deleteIndexByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").DeleteIndexPayload, S>;
490
- }>;
491
- deleteLimitFunctionByDatabaseIdAndName: <const S extends import("./input-types").DeleteLimitFunctionPayloadSelect>(args: import("./mutation").DeleteLimitFunctionByDatabaseIdAndNameVariables, options?: {
492
- select?: S;
493
- }) => import("./query-builder").QueryBuilder<{
494
- deleteLimitFunctionByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").DeleteLimitFunctionPayload, S>;
495
- }>;
496
- deletePolicyByTableIdAndName: <const S extends import("./input-types").DeletePolicyPayloadSelect>(args: import("./mutation").DeletePolicyByTableIdAndNameVariables, options?: {
497
- select?: S;
498
- }) => import("./query-builder").QueryBuilder<{
499
- deletePolicyByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").DeletePolicyPayload, S>;
500
- }>;
501
- deletePrimaryKeyConstraintByTableIdAndName: <const S extends import("./input-types").DeletePrimaryKeyConstraintPayloadSelect>(args: import("./mutation").DeletePrimaryKeyConstraintByTableIdAndNameVariables, options?: {
502
- select?: S;
503
- }) => import("./query-builder").QueryBuilder<{
504
- deletePrimaryKeyConstraintByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").DeletePrimaryKeyConstraintPayload, S>;
505
- }>;
506
- deleteProcedureByDatabaseIdAndName: <const S extends import("./input-types").DeleteProcedurePayloadSelect>(args: import("./mutation").DeleteProcedureByDatabaseIdAndNameVariables, options?: {
507
- select?: S;
508
- }) => import("./query-builder").QueryBuilder<{
509
- deleteProcedureByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").DeleteProcedurePayload, S>;
510
- }>;
511
- deleteRlsFunctionByDatabaseIdAndName: <const S extends import("./input-types").DeleteRlsFunctionPayloadSelect>(args: import("./mutation").DeleteRlsFunctionByDatabaseIdAndNameVariables, options?: {
512
- select?: S;
513
- }) => import("./query-builder").QueryBuilder<{
514
- deleteRlsFunctionByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").DeleteRlsFunctionPayload, S>;
515
- }>;
516
- deleteSchemaByDatabaseIdAndName: <const S extends import("./input-types").DeleteSchemaPayloadSelect>(args: import("./mutation").DeleteSchemaByDatabaseIdAndNameVariables, options?: {
517
- select?: S;
518
- }) => import("./query-builder").QueryBuilder<{
519
- deleteSchemaByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").DeleteSchemaPayload, S>;
520
- }>;
521
- deleteSchemaBySchemaName: <const S extends import("./input-types").DeleteSchemaPayloadSelect>(args: import("./mutation").DeleteSchemaBySchemaNameVariables, options?: {
522
- select?: S;
523
- }) => import("./query-builder").QueryBuilder<{
524
- deleteSchemaBySchemaName: import("./select-types").InferSelectResult<import("./input-types").DeleteSchemaPayload, S>;
525
- }>;
526
- deleteTableByDatabaseIdAndName: <const S extends import("./input-types").DeleteTablePayloadSelect>(args: import("./mutation").DeleteTableByDatabaseIdAndNameVariables, options?: {
527
- select?: S;
528
- }) => import("./query-builder").QueryBuilder<{
529
- deleteTableByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").DeleteTablePayload, S>;
530
- }>;
531
- deleteTriggerByTableIdAndName: <const S extends import("./input-types").DeleteTriggerPayloadSelect>(args: import("./mutation").DeleteTriggerByTableIdAndNameVariables, options?: {
532
- select?: S;
533
- }) => import("./query-builder").QueryBuilder<{
534
- deleteTriggerByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").DeleteTriggerPayload, S>;
535
- }>;
536
- deleteTriggerFunctionByDatabaseIdAndName: <const S extends import("./input-types").DeleteTriggerFunctionPayloadSelect>(args: import("./mutation").DeleteTriggerFunctionByDatabaseIdAndNameVariables, options?: {
537
- select?: S;
538
- }) => import("./query-builder").QueryBuilder<{
539
- deleteTriggerFunctionByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").DeleteTriggerFunctionPayload, S>;
540
- }>;
541
- deleteUniqueConstraintByTableIdAndName: <const S extends import("./input-types").DeleteUniqueConstraintPayloadSelect>(args: import("./mutation").DeleteUniqueConstraintByTableIdAndNameVariables, options?: {
542
- select?: S;
543
- }) => import("./query-builder").QueryBuilder<{
544
- deleteUniqueConstraintByTableIdAndName: import("./select-types").InferSelectResult<import("./input-types").DeleteUniqueConstraintPayload, S>;
545
- }>;
546
- deleteApiExtensionBySchemaNameAndApiId: <const S extends import("./input-types").DeleteApiExtensionPayloadSelect>(args: import("./mutation").DeleteApiExtensionBySchemaNameAndApiIdVariables, options?: {
547
- select?: S;
548
- }) => import("./query-builder").QueryBuilder<{
549
- deleteApiExtensionBySchemaNameAndApiId: import("./select-types").InferSelectResult<import("./input-types").DeleteApiExtensionPayload, S>;
550
- }>;
551
- deleteApiSchemaByApiIdAndSchemaId: <const S extends import("./input-types").DeleteApiSchemaPayloadSelect>(args: import("./mutation").DeleteApiSchemaByApiIdAndSchemaIdVariables, options?: {
552
- select?: S;
553
- }) => import("./query-builder").QueryBuilder<{
554
- deleteApiSchemaByApiIdAndSchemaId: import("./select-types").InferSelectResult<import("./input-types").DeleteApiSchemaPayload, S>;
555
- }>;
556
- deleteApiByDatabaseIdAndName: <const S extends import("./input-types").DeleteApiPayloadSelect>(args: import("./mutation").DeleteApiByDatabaseIdAndNameVariables, options?: {
557
- select?: S;
558
- }) => import("./query-builder").QueryBuilder<{
559
- deleteApiByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").DeleteApiPayload, S>;
560
- }>;
561
- deleteAppBySiteId: <const S extends import("./input-types").DeleteAppPayloadSelect>(args: import("./mutation").DeleteAppBySiteIdVariables, options?: {
562
- select?: S;
563
- }) => import("./query-builder").QueryBuilder<{
564
- deleteAppBySiteId: import("./select-types").InferSelectResult<import("./input-types").DeleteAppPayload, S>;
565
- }>;
566
- deleteDomainBySubdomainAndDomain: <const S extends import("./input-types").DeleteDomainPayloadSelect>(args: import("./mutation").DeleteDomainBySubdomainAndDomainVariables, options?: {
567
- select?: S;
568
- }) => import("./query-builder").QueryBuilder<{
569
- deleteDomainBySubdomainAndDomain: import("./select-types").InferSelectResult<import("./input-types").DeleteDomainPayload, S>;
570
- }>;
571
- deleteHierarchyModuleByDatabaseId: <const S extends import("./input-types").DeleteHierarchyModulePayloadSelect>(args: import("./mutation").DeleteHierarchyModuleByDatabaseIdVariables, options?: {
572
- select?: S;
573
- }) => import("./query-builder").QueryBuilder<{
574
- deleteHierarchyModuleByDatabaseId: import("./select-types").InferSelectResult<import("./input-types").DeleteHierarchyModulePayload, S>;
575
- }>;
576
- deleteModuleDefinitionByNameAndContext: <const S extends import("./input-types").DeleteModuleDefinitionPayloadSelect>(args: import("./mutation").DeleteModuleDefinitionByNameAndContextVariables, options?: {
577
- select?: S;
578
- }) => import("./query-builder").QueryBuilder<{
579
- deleteModuleDefinitionByNameAndContext: import("./select-types").InferSelectResult<import("./input-types").DeleteModuleDefinitionPayload, S>;
580
- }>;
581
- deleteModuleFieldByModuleDefnIdAndName: <const S extends import("./input-types").DeleteModuleFieldPayloadSelect>(args: import("./mutation").DeleteModuleFieldByModuleDefnIdAndNameVariables, options?: {
582
- select?: S;
583
- }) => import("./query-builder").QueryBuilder<{
584
- deleteModuleFieldByModuleDefnIdAndName: import("./select-types").InferSelectResult<import("./input-types").DeleteModuleFieldPayload, S>;
585
- }>;
586
- deleteModuleInputRecordByModuleIdAndName: <const S extends import("./input-types").DeleteModuleInputRecordPayloadSelect>(args: import("./mutation").DeleteModuleInputRecordByModuleIdAndNameVariables, options?: {
587
- select?: S;
588
- }) => import("./query-builder").QueryBuilder<{
589
- deleteModuleInputRecordByModuleIdAndName: import("./select-types").InferSelectResult<import("./input-types").DeleteModuleInputRecordPayload, S>;
590
- }>;
591
- deleteModuleOutputByModuleIdAndName: <const S extends import("./input-types").DeleteModuleOutputPayloadSelect>(args: import("./mutation").DeleteModuleOutputByModuleIdAndNameVariables, options?: {
592
- select?: S;
593
- }) => import("./query-builder").QueryBuilder<{
594
- deleteModuleOutputByModuleIdAndName: import("./select-types").InferSelectResult<import("./input-types").DeleteModuleOutputPayload, S>;
595
- }>;
596
- deleteProfilesModuleByDatabaseIdAndMembershipType: <const S extends import("./input-types").DeleteProfilesModulePayloadSelect>(args: import("./mutation").DeleteProfilesModuleByDatabaseIdAndMembershipTypeVariables, options?: {
597
- select?: S;
598
- }) => import("./query-builder").QueryBuilder<{
599
- deleteProfilesModuleByDatabaseIdAndMembershipType: import("./select-types").InferSelectResult<import("./input-types").DeleteProfilesModulePayload, S>;
600
- }>;
601
- deleteRlsModuleByApiId: <const S extends import("./input-types").DeleteRlsModulePayloadSelect>(args: import("./mutation").DeleteRlsModuleByApiIdVariables, options?: {
602
- select?: S;
603
- }) => import("./query-builder").QueryBuilder<{
604
- deleteRlsModuleByApiId: import("./select-types").InferSelectResult<import("./input-types").DeleteRlsModulePayload, S>;
605
- }>;
606
- applyRls: <const S extends import("./input-types").ApplyRlsPayloadSelect>(args: import("./mutation").ApplyRlsVariables, options?: {
607
- select?: S;
608
- }) => import("./query-builder").QueryBuilder<{
609
- applyRls: import("./select-types").InferSelectResult<import("./input-types").ApplyRlsPayload, S>;
610
- }>;
611
- createUserDatabase: <const S extends import("./input-types").CreateUserDatabasePayloadSelect>(args: import("./mutation").CreateUserDatabaseVariables, options?: {
612
- select?: S;
613
- }) => import("./query-builder").QueryBuilder<{
614
- createUserDatabase: import("./select-types").InferSelectResult<import("./input-types").CreateUserDatabasePayload, S>;
615
- }>;
616
- setFieldOrder: <const S extends import("./input-types").SetFieldOrderPayloadSelect>(args: import("./mutation").SetFieldOrderVariables, options?: {
617
- select?: S;
618
- }) => import("./query-builder").QueryBuilder<{
619
- setFieldOrder: import("./select-types").InferSelectResult<import("./input-types").SetFieldOrderPayload, S>;
620
- }>;
621
- installModule: <const S extends import("./input-types").InstallModulePayloadSelect>(args: import("./mutation").InstallModuleVariables, options?: {
622
- select?: S;
623
- }) => import("./query-builder").QueryBuilder<{
624
- installModule: import("./select-types").InferSelectResult<import("./input-types").InstallModulePayload, S>;
625
- }>;
626
- installModuleByName: <const S extends import("./input-types").InstallModuleByNamePayloadSelect>(args: import("./mutation").InstallModuleByNameVariables, options?: {
627
- select?: S;
628
- }) => import("./query-builder").QueryBuilder<{
629
- installModuleByName: import("./select-types").InferSelectResult<import("./input-types").InstallModuleByNamePayload, S>;
630
- }>;
631
34
  };
35
+ mutation: {};
632
36
  };