@constructive-io/graphql-server 2.14.8 → 2.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/codegen/orm/client.d.ts +55 -0
- package/codegen/orm/client.js +75 -0
- package/codegen/orm/index.d.ts +632 -0
- package/codegen/orm/index.js +182 -0
- package/codegen/orm/input-types.d.ts +13248 -0
- package/codegen/orm/input-types.js +7 -0
- package/codegen/orm/models/api.d.ts +42 -0
- package/codegen/orm/models/api.js +77 -0
- package/codegen/orm/models/apiExtension.d.ts +42 -0
- package/codegen/orm/models/apiExtension.js +77 -0
- package/codegen/orm/models/apiModule.d.ts +42 -0
- package/codegen/orm/models/apiModule.js +77 -0
- package/codegen/orm/models/apiSchema.d.ts +42 -0
- package/codegen/orm/models/apiSchema.js +77 -0
- package/codegen/orm/models/app.d.ts +42 -0
- package/codegen/orm/models/app.js +77 -0
- package/codegen/orm/models/checkConstraint.d.ts +42 -0
- package/codegen/orm/models/checkConstraint.js +77 -0
- package/codegen/orm/models/connectedAccountsModule.d.ts +42 -0
- package/codegen/orm/models/connectedAccountsModule.js +77 -0
- package/codegen/orm/models/cryptoAddressesModule.d.ts +42 -0
- package/codegen/orm/models/cryptoAddressesModule.js +77 -0
- package/codegen/orm/models/cryptoAuthModule.d.ts +42 -0
- package/codegen/orm/models/cryptoAuthModule.js +77 -0
- package/codegen/orm/models/database.d.ts +42 -0
- package/codegen/orm/models/database.js +77 -0
- package/codegen/orm/models/databaseExtension.d.ts +42 -0
- package/codegen/orm/models/databaseExtension.js +77 -0
- package/codegen/orm/models/databaseProvision.d.ts +42 -0
- package/codegen/orm/models/databaseProvision.js +77 -0
- package/codegen/orm/models/defaultIdsModule.d.ts +42 -0
- package/codegen/orm/models/defaultIdsModule.js +77 -0
- package/codegen/orm/models/denormalizedTableField.d.ts +42 -0
- package/codegen/orm/models/denormalizedTableField.js +77 -0
- package/codegen/orm/models/domain.d.ts +42 -0
- package/codegen/orm/models/domain.js +77 -0
- package/codegen/orm/models/emailsModule.d.ts +42 -0
- package/codegen/orm/models/emailsModule.js +77 -0
- package/codegen/orm/models/encryptedSecretsModule.d.ts +42 -0
- package/codegen/orm/models/encryptedSecretsModule.js +77 -0
- package/codegen/orm/models/extension.d.ts +42 -0
- package/codegen/orm/models/extension.js +77 -0
- package/codegen/orm/models/field.d.ts +42 -0
- package/codegen/orm/models/field.js +77 -0
- package/codegen/orm/models/fieldModule.d.ts +42 -0
- package/codegen/orm/models/fieldModule.js +77 -0
- package/codegen/orm/models/foreignKeyConstraint.d.ts +42 -0
- package/codegen/orm/models/foreignKeyConstraint.js +77 -0
- package/codegen/orm/models/fullTextSearch.d.ts +42 -0
- package/codegen/orm/models/fullTextSearch.js +77 -0
- package/codegen/orm/models/hierarchyModule.d.ts +42 -0
- package/codegen/orm/models/hierarchyModule.js +77 -0
- package/codegen/orm/models/index.d.ts +64 -0
- package/codegen/orm/models/index.js +127 -0
- package/codegen/orm/models/indexModel.d.ts +42 -0
- package/codegen/orm/models/indexModel.js +77 -0
- package/codegen/orm/models/invitesModule.d.ts +42 -0
- package/codegen/orm/models/invitesModule.js +77 -0
- package/codegen/orm/models/levelsModule.d.ts +42 -0
- package/codegen/orm/models/levelsModule.js +77 -0
- package/codegen/orm/models/limitFunction.d.ts +42 -0
- package/codegen/orm/models/limitFunction.js +77 -0
- package/codegen/orm/models/limitsModule.d.ts +42 -0
- package/codegen/orm/models/limitsModule.js +77 -0
- package/codegen/orm/models/membershipTypesModule.d.ts +42 -0
- package/codegen/orm/models/membershipTypesModule.js +77 -0
- package/codegen/orm/models/membershipsModule.d.ts +42 -0
- package/codegen/orm/models/membershipsModule.js +77 -0
- package/codegen/orm/models/module.d.ts +42 -0
- package/codegen/orm/models/module.js +77 -0
- package/codegen/orm/models/moduleDefinition.d.ts +42 -0
- package/codegen/orm/models/moduleDefinition.js +77 -0
- package/codegen/orm/models/moduleField.d.ts +42 -0
- package/codegen/orm/models/moduleField.js +77 -0
- package/codegen/orm/models/moduleInputRecord.d.ts +42 -0
- package/codegen/orm/models/moduleInputRecord.js +77 -0
- package/codegen/orm/models/moduleOutput.d.ts +42 -0
- package/codegen/orm/models/moduleOutput.js +77 -0
- package/codegen/orm/models/permissionsModule.d.ts +42 -0
- package/codegen/orm/models/permissionsModule.js +77 -0
- package/codegen/orm/models/phoneNumbersModule.d.ts +42 -0
- package/codegen/orm/models/phoneNumbersModule.js +77 -0
- package/codegen/orm/models/policy.d.ts +42 -0
- package/codegen/orm/models/policy.js +77 -0
- package/codegen/orm/models/primaryKeyConstraint.d.ts +42 -0
- package/codegen/orm/models/primaryKeyConstraint.js +77 -0
- package/codegen/orm/models/procedure.d.ts +42 -0
- package/codegen/orm/models/procedure.js +77 -0
- package/codegen/orm/models/profilesModule.d.ts +42 -0
- package/codegen/orm/models/profilesModule.js +77 -0
- package/codegen/orm/models/rlsFunction.d.ts +42 -0
- package/codegen/orm/models/rlsFunction.js +77 -0
- package/codegen/orm/models/rlsModule.d.ts +42 -0
- package/codegen/orm/models/rlsModule.js +77 -0
- package/codegen/orm/models/schema.d.ts +42 -0
- package/codegen/orm/models/schema.js +77 -0
- package/codegen/orm/models/schemaGrant.d.ts +42 -0
- package/codegen/orm/models/schemaGrant.js +77 -0
- package/codegen/orm/models/secretsModule.d.ts +42 -0
- package/codegen/orm/models/secretsModule.js +77 -0
- package/codegen/orm/models/site.d.ts +42 -0
- package/codegen/orm/models/site.js +77 -0
- package/codegen/orm/models/siteMetadatum.d.ts +42 -0
- package/codegen/orm/models/siteMetadatum.js +77 -0
- package/codegen/orm/models/siteModule.d.ts +42 -0
- package/codegen/orm/models/siteModule.js +77 -0
- package/codegen/orm/models/siteTheme.d.ts +42 -0
- package/codegen/orm/models/siteTheme.js +77 -0
- package/codegen/orm/models/table.d.ts +42 -0
- package/codegen/orm/models/table.js +77 -0
- package/codegen/orm/models/tableGrant.d.ts +42 -0
- package/codegen/orm/models/tableGrant.js +77 -0
- package/codegen/orm/models/tokensModule.d.ts +42 -0
- package/codegen/orm/models/tokensModule.js +77 -0
- package/codegen/orm/models/trigger.d.ts +42 -0
- package/codegen/orm/models/trigger.js +77 -0
- package/codegen/orm/models/triggerFunction.d.ts +42 -0
- package/codegen/orm/models/triggerFunction.js +77 -0
- package/codegen/orm/models/uniqueConstraint.d.ts +42 -0
- package/codegen/orm/models/uniqueConstraint.js +77 -0
- package/codegen/orm/models/userAuthModule.d.ts +42 -0
- package/codegen/orm/models/userAuthModule.js +77 -0
- package/codegen/orm/models/usersModule.d.ts +42 -0
- package/codegen/orm/models/usersModule.js +77 -0
- package/codegen/orm/models/uuidModule.d.ts +42 -0
- package/codegen/orm/models/uuidModule.js +77 -0
- package/codegen/orm/mutation/index.d.ts +531 -0
- package/codegen/orm/mutation/index.js +596 -0
- package/codegen/orm/query/index.d.ts +274 -0
- package/codegen/orm/query/index.js +290 -0
- package/codegen/orm/query-builder.d.ts +80 -0
- package/codegen/orm/query-builder.js +249 -0
- package/codegen/orm/select-types.d.ts +50 -0
- package/codegen/orm/select-types.js +7 -0
- package/codegen/orm/types.d.ts +6 -0
- package/codegen/orm/types.js +23 -0
- package/esm/codegen/orm/client.js +70 -0
- package/esm/codegen/orm/index.js +162 -0
- package/esm/codegen/orm/input-types.js +6 -0
- package/esm/codegen/orm/models/api.js +73 -0
- package/esm/codegen/orm/models/apiExtension.js +73 -0
- package/esm/codegen/orm/models/apiModule.js +73 -0
- package/esm/codegen/orm/models/apiSchema.js +73 -0
- package/esm/codegen/orm/models/app.js +73 -0
- package/esm/codegen/orm/models/checkConstraint.js +73 -0
- package/esm/codegen/orm/models/connectedAccountsModule.js +73 -0
- package/esm/codegen/orm/models/cryptoAddressesModule.js +73 -0
- package/esm/codegen/orm/models/cryptoAuthModule.js +73 -0
- package/esm/codegen/orm/models/database.js +73 -0
- package/esm/codegen/orm/models/databaseExtension.js +73 -0
- package/esm/codegen/orm/models/databaseProvision.js +73 -0
- package/esm/codegen/orm/models/defaultIdsModule.js +73 -0
- package/esm/codegen/orm/models/denormalizedTableField.js +73 -0
- package/esm/codegen/orm/models/domain.js +73 -0
- package/esm/codegen/orm/models/emailsModule.js +73 -0
- package/esm/codegen/orm/models/encryptedSecretsModule.js +73 -0
- package/esm/codegen/orm/models/extension.js +73 -0
- package/esm/codegen/orm/models/field.js +73 -0
- package/esm/codegen/orm/models/fieldModule.js +73 -0
- package/esm/codegen/orm/models/foreignKeyConstraint.js +73 -0
- package/esm/codegen/orm/models/fullTextSearch.js +73 -0
- package/esm/codegen/orm/models/hierarchyModule.js +73 -0
- package/esm/codegen/orm/models/index.js +64 -0
- package/esm/codegen/orm/models/indexModel.js +73 -0
- package/esm/codegen/orm/models/invitesModule.js +73 -0
- package/esm/codegen/orm/models/levelsModule.js +73 -0
- package/esm/codegen/orm/models/limitFunction.js +73 -0
- package/esm/codegen/orm/models/limitsModule.js +73 -0
- package/esm/codegen/orm/models/membershipTypesModule.js +73 -0
- package/esm/codegen/orm/models/membershipsModule.js +73 -0
- package/esm/codegen/orm/models/module.js +73 -0
- package/esm/codegen/orm/models/moduleDefinition.js +73 -0
- package/esm/codegen/orm/models/moduleField.js +73 -0
- package/esm/codegen/orm/models/moduleInputRecord.js +73 -0
- package/esm/codegen/orm/models/moduleOutput.js +73 -0
- package/esm/codegen/orm/models/permissionsModule.js +73 -0
- package/esm/codegen/orm/models/phoneNumbersModule.js +73 -0
- package/esm/codegen/orm/models/policy.js +73 -0
- package/esm/codegen/orm/models/primaryKeyConstraint.js +73 -0
- package/esm/codegen/orm/models/procedure.js +73 -0
- package/esm/codegen/orm/models/profilesModule.js +73 -0
- package/esm/codegen/orm/models/rlsFunction.js +73 -0
- package/esm/codegen/orm/models/rlsModule.js +73 -0
- package/esm/codegen/orm/models/schema.js +73 -0
- package/esm/codegen/orm/models/schemaGrant.js +73 -0
- package/esm/codegen/orm/models/secretsModule.js +73 -0
- package/esm/codegen/orm/models/site.js +73 -0
- package/esm/codegen/orm/models/siteMetadatum.js +73 -0
- package/esm/codegen/orm/models/siteModule.js +73 -0
- package/esm/codegen/orm/models/siteTheme.js +73 -0
- package/esm/codegen/orm/models/table.js +73 -0
- package/esm/codegen/orm/models/tableGrant.js +73 -0
- package/esm/codegen/orm/models/tokensModule.js +73 -0
- package/esm/codegen/orm/models/trigger.js +73 -0
- package/esm/codegen/orm/models/triggerFunction.js +73 -0
- package/esm/codegen/orm/models/uniqueConstraint.js +73 -0
- package/esm/codegen/orm/models/userAuthModule.js +73 -0
- package/esm/codegen/orm/models/usersModule.js +73 -0
- package/esm/codegen/orm/models/uuidModule.js +73 -0
- package/esm/codegen/orm/mutation/index.js +593 -0
- package/esm/codegen/orm/query/index.js +287 -0
- package/esm/codegen/orm/query-builder.js +238 -0
- package/esm/codegen/orm/select-types.js +6 -0
- package/esm/codegen/orm/types.js +7 -0
- package/esm/middleware/api.js +10 -9
- package/esm/middleware/gql.js +118 -123
- package/esm/middleware/graphile.js +19 -3
- package/esm/scripts/codegen-schema.js +71 -0
- package/esm/server.js +21 -0
- package/middleware/api.js +9 -8
- package/middleware/gql.d.ts +25 -5
- package/middleware/gql.js +122 -127
- package/middleware/graphile.js +19 -3
- package/middleware/types.d.ts +1 -0
- package/package.json +15 -11
- package/scripts/codegen-schema.d.ts +1 -0
- package/scripts/codegen-schema.js +76 -0
- package/server.js +21 -0
- package/types.d.ts +2 -2
|
@@ -0,0 +1,632 @@
|
|
|
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';
|
|
54
|
+
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';
|
|
66
|
+
export type { OrmClientConfig, QueryResult, GraphQLError } from './client';
|
|
67
|
+
export { GraphQLRequestError } from './client';
|
|
68
|
+
export { QueryBuilder } from './query-builder';
|
|
69
|
+
export * from './select-types';
|
|
70
|
+
/**
|
|
71
|
+
* Create an ORM client instance
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* ```typescript
|
|
75
|
+
* const db = createClient({
|
|
76
|
+
* endpoint: 'https://api.example.com/graphql',
|
|
77
|
+
* headers: { Authorization: 'Bearer token' },
|
|
78
|
+
* });
|
|
79
|
+
*
|
|
80
|
+
* // Query users
|
|
81
|
+
* const users = await db.user.findMany({
|
|
82
|
+
* select: { id: true, name: true },
|
|
83
|
+
* first: 10,
|
|
84
|
+
* }).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
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
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
|
+
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;
|
|
153
|
+
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
|
+
apiByDatabaseIdAndName: <const S extends import("./input-types").ApiSelect>(args: import("./query").ApiByDatabaseIdAndNameVariables, options?: {
|
|
255
|
+
select?: S;
|
|
256
|
+
}) => import("./query-builder").QueryBuilder<{
|
|
257
|
+
apiByDatabaseIdAndName: import("./select-types").InferSelectResult<import("./input-types").Api, S>;
|
|
258
|
+
}>;
|
|
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
|
+
};
|
|
632
|
+
};
|