@constructive-io/sdk 0.7.1 → 0.7.3
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/admin/orm/index.d.ts +6 -6
- package/admin/orm/index.js +6 -6
- package/admin/orm/input-types.d.ts +481 -386
- package/admin/orm/models/appAchievement.d.ts +1 -1
- package/admin/orm/models/appAdminGrant.d.ts +1 -1
- package/admin/orm/models/appGrant.d.ts +1 -1
- package/admin/orm/models/appLevel.d.ts +1 -1
- package/admin/orm/models/appLevelRequirement.d.ts +1 -1
- package/admin/orm/models/appLimit.d.ts +1 -1
- package/admin/orm/models/appLimitDefault.d.ts +1 -1
- package/admin/orm/models/appMembership.d.ts +1 -1
- package/admin/orm/models/appMembershipDefault.d.ts +1 -1
- package/admin/orm/models/appOwnerGrant.d.ts +1 -1
- package/admin/orm/models/appPermission.d.ts +1 -1
- package/admin/orm/models/appPermissionDefault.d.ts +1 -1
- package/admin/orm/models/appStep.d.ts +1 -1
- package/admin/orm/models/claimedInvite.d.ts +1 -1
- package/admin/orm/models/index.d.ts +3 -3
- package/admin/orm/models/index.js +7 -7
- package/admin/orm/models/invite.d.ts +1 -1
- package/admin/orm/models/membershipType.d.ts +1 -1
- package/admin/orm/models/orgAdminGrant.d.ts +1 -1
- package/admin/orm/models/orgChartEdge.d.ts +1 -1
- package/admin/orm/models/orgChartEdgeGrant.d.ts +1 -1
- package/admin/orm/models/orgClaimedInvite.d.ts +1 -1
- package/admin/orm/models/orgGetManagersRecord.d.ts +1 -1
- package/admin/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
- package/admin/orm/models/orgGrant.d.ts +1 -1
- package/admin/orm/models/orgInvite.d.ts +1 -1
- package/admin/orm/models/orgLimit.d.ts +1 -1
- package/admin/orm/models/orgLimitDefault.d.ts +1 -1
- package/admin/orm/models/orgMember.d.ts +1 -1
- package/admin/orm/models/orgMembership.d.ts +1 -1
- package/admin/orm/models/orgMembershipDefault.d.ts +1 -1
- package/admin/orm/models/orgOwnerGrant.d.ts +1 -1
- package/admin/orm/models/orgPermission.d.ts +1 -1
- package/admin/orm/models/orgPermissionDefault.d.ts +1 -1
- package/admin/orm/query-builder.js +0 -2
- package/auth/orm/index.d.ts +2 -2
- package/auth/orm/index.js +2 -2
- package/auth/orm/input-types.d.ts +189 -99
- package/auth/orm/models/auditLog.d.ts +1 -1
- package/auth/orm/models/connectedAccount.d.ts +1 -1
- package/auth/orm/models/cryptoAddress.d.ts +1 -1
- package/auth/orm/models/email.d.ts +1 -1
- package/auth/orm/models/index.d.ts +1 -1
- package/auth/orm/models/index.js +3 -3
- package/auth/orm/models/phoneNumber.d.ts +1 -1
- package/auth/orm/models/roleType.d.ts +1 -1
- package/auth/orm/models/user.d.ts +1 -1
- package/auth/orm/query-builder.js +0 -2
- package/esm/admin/orm/index.d.ts +6 -6
- package/esm/admin/orm/index.js +6 -6
- package/esm/admin/orm/input-types.d.ts +481 -386
- package/esm/admin/orm/models/appAchievement.d.ts +1 -1
- package/esm/admin/orm/models/appAdminGrant.d.ts +1 -1
- package/esm/admin/orm/models/appGrant.d.ts +1 -1
- package/esm/admin/orm/models/appLevel.d.ts +1 -1
- package/esm/admin/orm/models/appLevelRequirement.d.ts +1 -1
- package/esm/admin/orm/models/appLimit.d.ts +1 -1
- package/esm/admin/orm/models/appLimitDefault.d.ts +1 -1
- package/esm/admin/orm/models/appMembership.d.ts +1 -1
- package/esm/admin/orm/models/appMembershipDefault.d.ts +1 -1
- package/esm/admin/orm/models/appOwnerGrant.d.ts +1 -1
- package/esm/admin/orm/models/appPermission.d.ts +1 -1
- package/esm/admin/orm/models/appPermissionDefault.d.ts +1 -1
- package/esm/admin/orm/models/appStep.d.ts +1 -1
- package/esm/admin/orm/models/claimedInvite.d.ts +1 -1
- package/esm/admin/orm/models/index.d.ts +3 -3
- package/esm/admin/orm/models/index.js +3 -3
- package/esm/admin/orm/models/invite.d.ts +1 -1
- package/esm/admin/orm/models/membershipType.d.ts +1 -1
- package/esm/admin/orm/models/orgAdminGrant.d.ts +1 -1
- package/esm/admin/orm/models/orgChartEdge.d.ts +1 -1
- package/esm/admin/orm/models/orgChartEdgeGrant.d.ts +1 -1
- package/esm/admin/orm/models/orgClaimedInvite.d.ts +1 -1
- package/esm/admin/orm/models/orgGetManagersRecord.d.ts +1 -1
- package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
- package/esm/admin/orm/models/orgGrant.d.ts +1 -1
- package/esm/admin/orm/models/orgInvite.d.ts +1 -1
- package/esm/admin/orm/models/orgLimit.d.ts +1 -1
- package/esm/admin/orm/models/orgLimitDefault.d.ts +1 -1
- package/esm/admin/orm/models/orgMember.d.ts +1 -1
- package/esm/admin/orm/models/orgMembership.d.ts +1 -1
- package/esm/admin/orm/models/orgMembershipDefault.d.ts +1 -1
- package/esm/admin/orm/models/orgOwnerGrant.d.ts +1 -1
- package/esm/admin/orm/models/orgPermission.d.ts +1 -1
- package/esm/admin/orm/models/orgPermissionDefault.d.ts +1 -1
- package/esm/admin/orm/query-builder.js +0 -2
- package/esm/auth/orm/index.d.ts +2 -2
- package/esm/auth/orm/index.js +2 -2
- package/esm/auth/orm/input-types.d.ts +189 -99
- package/esm/auth/orm/models/auditLog.d.ts +1 -1
- package/esm/auth/orm/models/connectedAccount.d.ts +1 -1
- package/esm/auth/orm/models/cryptoAddress.d.ts +1 -1
- package/esm/auth/orm/models/email.d.ts +1 -1
- package/esm/auth/orm/models/index.d.ts +1 -1
- package/esm/auth/orm/models/index.js +1 -1
- package/esm/auth/orm/models/phoneNumber.d.ts +1 -1
- package/esm/auth/orm/models/roleType.d.ts +1 -1
- package/esm/auth/orm/models/user.d.ts +1 -1
- package/esm/auth/orm/query-builder.js +0 -2
- package/esm/objects/orm/input-types.d.ts +33 -3
- package/esm/objects/orm/models/commit.d.ts +1 -1
- package/esm/objects/orm/models/getAllRecord.d.ts +1 -1
- package/esm/objects/orm/models/object.d.ts +1 -1
- package/esm/objects/orm/models/ref.d.ts +1 -1
- package/esm/objects/orm/models/store.d.ts +1 -1
- package/esm/objects/orm/query-builder.js +0 -2
- package/esm/public/orm/index.d.ts +17 -19
- package/esm/public/orm/index.js +12 -14
- package/esm/public/orm/input-types.d.ts +2363 -927
- package/esm/public/orm/input-types.js +0 -3
- package/esm/public/orm/models/api.d.ts +1 -1
- package/esm/public/orm/models/apiModule.d.ts +1 -1
- package/esm/public/orm/models/apiSchema.d.ts +1 -1
- package/esm/public/orm/models/app.d.ts +1 -1
- package/esm/public/orm/models/appAchievement.d.ts +1 -1
- package/esm/public/orm/models/appAdminGrant.d.ts +1 -1
- package/esm/public/orm/models/appGrant.d.ts +1 -1
- package/esm/public/orm/models/appLevel.d.ts +1 -1
- package/esm/public/orm/models/appLevelRequirement.d.ts +1 -1
- package/esm/public/orm/models/appLimit.d.ts +1 -1
- package/esm/public/orm/models/appLimitDefault.d.ts +1 -1
- package/esm/public/orm/models/appMembership.d.ts +1 -1
- package/esm/public/orm/models/appMembershipDefault.d.ts +1 -1
- package/esm/public/orm/models/appOwnerGrant.d.ts +1 -1
- package/esm/public/orm/models/appPermission.d.ts +1 -1
- package/esm/public/orm/models/appPermissionDefault.d.ts +1 -1
- package/esm/public/orm/models/appStep.d.ts +1 -1
- package/esm/public/orm/models/astMigration.d.ts +1 -1
- package/esm/public/orm/models/auditLog.d.ts +1 -1
- package/esm/public/orm/models/checkConstraint.d.ts +1 -1
- package/esm/public/orm/models/claimedInvite.d.ts +1 -1
- package/esm/public/orm/models/commit.d.ts +1 -1
- package/esm/public/orm/models/connectedAccount.d.ts +1 -1
- package/esm/public/orm/models/connectedAccountsModule.d.ts +1 -1
- package/esm/public/orm/models/cryptoAddress.d.ts +1 -1
- package/esm/public/orm/models/cryptoAddressesModule.d.ts +1 -1
- package/esm/public/orm/models/cryptoAuthModule.d.ts +1 -1
- package/esm/public/orm/models/database.d.ts +1 -1
- package/esm/public/orm/models/databaseProvisionModule.d.ts +1 -1
- package/esm/public/orm/models/defaultIdsModule.d.ts +1 -1
- package/esm/public/orm/models/defaultPrivilege.d.ts +1 -1
- package/esm/public/orm/models/denormalizedTableField.d.ts +1 -1
- package/esm/public/orm/models/domain.d.ts +1 -1
- package/esm/public/orm/models/email.d.ts +1 -1
- package/esm/public/orm/models/emailsModule.d.ts +1 -1
- package/esm/public/orm/models/encryptedSecretsModule.d.ts +1 -1
- package/esm/public/orm/models/field.d.ts +1 -1
- package/esm/public/orm/models/fieldModule.d.ts +1 -1
- package/esm/public/orm/models/foreignKeyConstraint.d.ts +1 -1
- package/esm/public/orm/models/fullTextSearch.d.ts +1 -1
- package/esm/public/orm/models/getAllRecord.d.ts +1 -1
- package/esm/public/orm/models/hierarchyModule.d.ts +1 -1
- package/esm/public/orm/models/index.d.ts +6 -7
- package/esm/public/orm/models/index.js +6 -7
- package/esm/public/orm/models/indexModel.d.ts +1 -1
- package/esm/public/orm/models/invite.d.ts +1 -1
- package/esm/public/orm/models/invitesModule.d.ts +1 -1
- package/esm/public/orm/models/levelsModule.d.ts +1 -1
- package/esm/public/orm/models/limitsModule.d.ts +1 -1
- package/esm/public/orm/models/membershipType.d.ts +1 -1
- package/esm/public/orm/models/membershipTypesModule.d.ts +1 -1
- package/esm/public/orm/models/membershipsModule.d.ts +1 -1
- package/esm/public/orm/models/nodeTypeRegistry.d.ts +1 -1
- package/esm/public/orm/models/object.d.ts +1 -1
- package/esm/public/orm/models/orgAdminGrant.d.ts +1 -1
- package/esm/public/orm/models/orgChartEdge.d.ts +1 -1
- package/esm/public/orm/models/orgChartEdgeGrant.d.ts +1 -1
- package/esm/public/orm/models/orgClaimedInvite.d.ts +1 -1
- package/esm/public/orm/models/orgGetManagersRecord.d.ts +1 -1
- package/esm/public/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
- package/esm/public/orm/models/orgGrant.d.ts +1 -1
- package/esm/public/orm/models/orgInvite.d.ts +1 -1
- package/esm/public/orm/models/orgLimit.d.ts +1 -1
- package/esm/public/orm/models/orgLimitDefault.d.ts +1 -1
- package/esm/public/orm/models/orgMember.d.ts +1 -1
- package/esm/public/orm/models/orgMembership.d.ts +1 -1
- package/esm/public/orm/models/orgMembershipDefault.d.ts +1 -1
- package/esm/public/orm/models/orgOwnerGrant.d.ts +1 -1
- package/esm/public/orm/models/orgPermission.d.ts +1 -1
- package/esm/public/orm/models/orgPermissionDefault.d.ts +1 -1
- package/esm/public/orm/models/permissionsModule.d.ts +1 -1
- package/esm/public/orm/models/phoneNumber.d.ts +1 -1
- package/esm/public/orm/models/phoneNumbersModule.d.ts +1 -1
- package/esm/public/orm/models/policy.d.ts +1 -1
- package/esm/public/orm/models/primaryKeyConstraint.d.ts +1 -1
- package/esm/public/orm/models/profilesModule.d.ts +1 -1
- package/esm/public/orm/models/ref.d.ts +1 -1
- package/esm/public/orm/models/relationProvision.d.ts +1 -1
- package/esm/public/orm/models/rlsModule.d.ts +1 -1
- package/esm/public/orm/models/roleType.d.ts +1 -1
- package/esm/public/orm/models/schema.d.ts +1 -1
- package/esm/public/orm/models/schemaGrant.d.ts +1 -1
- package/esm/public/orm/models/secretsModule.d.ts +1 -1
- package/esm/public/orm/models/secureTableProvision.d.ts +1 -1
- package/esm/public/orm/models/sessionsModule.d.ts +1 -1
- package/esm/public/orm/models/site.d.ts +1 -1
- package/esm/public/orm/models/siteMetadatum.d.ts +1 -1
- package/esm/public/orm/models/siteModule.d.ts +1 -1
- package/esm/public/orm/models/siteTheme.d.ts +1 -1
- package/esm/public/orm/models/sqlMigration.d.ts +1 -1
- package/esm/public/orm/models/store.d.ts +1 -1
- package/esm/public/orm/models/table.d.ts +1 -1
- package/esm/public/orm/models/tableGrant.d.ts +1 -1
- package/esm/public/orm/models/tableTemplateModule.d.ts +1 -1
- package/esm/public/orm/models/trigger.d.ts +1 -1
- package/esm/public/orm/models/triggerFunction.d.ts +1 -1
- package/esm/public/orm/models/uniqueConstraint.d.ts +1 -1
- package/esm/public/orm/models/user.d.ts +1 -1
- package/esm/public/orm/models/userAuthModule.d.ts +1 -1
- package/esm/public/orm/models/usersModule.d.ts +1 -1
- package/esm/public/orm/models/uuidModule.d.ts +1 -1
- package/esm/public/orm/models/view.d.ts +1 -1
- package/esm/public/orm/models/viewGrant.d.ts +1 -1
- package/esm/public/orm/models/viewRule.d.ts +1 -1
- package/esm/public/orm/models/viewTable.d.ts +1 -1
- package/esm/public/orm/mutation/index.d.ts +9 -9
- package/esm/public/orm/mutation/index.js +12 -12
- package/esm/public/orm/query-builder.js +0 -2
- package/objects/orm/input-types.d.ts +33 -3
- package/objects/orm/models/commit.d.ts +1 -1
- package/objects/orm/models/getAllRecord.d.ts +1 -1
- package/objects/orm/models/object.d.ts +1 -1
- package/objects/orm/models/ref.d.ts +1 -1
- package/objects/orm/models/store.d.ts +1 -1
- package/objects/orm/query-builder.js +0 -2
- package/package.json +3 -3
- package/public/orm/index.d.ts +17 -19
- package/public/orm/index.js +12 -14
- package/public/orm/input-types.d.ts +2363 -927
- package/public/orm/input-types.js +0 -3
- package/public/orm/models/api.d.ts +1 -1
- package/public/orm/models/apiModule.d.ts +1 -1
- package/public/orm/models/apiSchema.d.ts +1 -1
- package/public/orm/models/app.d.ts +1 -1
- package/public/orm/models/appAchievement.d.ts +1 -1
- package/public/orm/models/appAdminGrant.d.ts +1 -1
- package/public/orm/models/appGrant.d.ts +1 -1
- package/public/orm/models/appLevel.d.ts +1 -1
- package/public/orm/models/appLevelRequirement.d.ts +1 -1
- package/public/orm/models/appLimit.d.ts +1 -1
- package/public/orm/models/appLimitDefault.d.ts +1 -1
- package/public/orm/models/appMembership.d.ts +1 -1
- package/public/orm/models/appMembershipDefault.d.ts +1 -1
- package/public/orm/models/appOwnerGrant.d.ts +1 -1
- package/public/orm/models/appPermission.d.ts +1 -1
- package/public/orm/models/appPermissionDefault.d.ts +1 -1
- package/public/orm/models/appStep.d.ts +1 -1
- package/public/orm/models/astMigration.d.ts +1 -1
- package/public/orm/models/auditLog.d.ts +1 -1
- package/public/orm/models/checkConstraint.d.ts +1 -1
- package/public/orm/models/claimedInvite.d.ts +1 -1
- package/public/orm/models/commit.d.ts +1 -1
- package/public/orm/models/connectedAccount.d.ts +1 -1
- package/public/orm/models/connectedAccountsModule.d.ts +1 -1
- package/public/orm/models/cryptoAddress.d.ts +1 -1
- package/public/orm/models/cryptoAddressesModule.d.ts +1 -1
- package/public/orm/models/cryptoAuthModule.d.ts +1 -1
- package/public/orm/models/database.d.ts +1 -1
- package/public/orm/models/databaseProvisionModule.d.ts +1 -1
- package/public/orm/models/defaultIdsModule.d.ts +1 -1
- package/public/orm/models/defaultPrivilege.d.ts +1 -1
- package/public/orm/models/denormalizedTableField.d.ts +1 -1
- package/public/orm/models/domain.d.ts +1 -1
- package/public/orm/models/email.d.ts +1 -1
- package/public/orm/models/emailsModule.d.ts +1 -1
- package/public/orm/models/encryptedSecretsModule.d.ts +1 -1
- package/public/orm/models/field.d.ts +1 -1
- package/public/orm/models/fieldModule.d.ts +1 -1
- package/public/orm/models/foreignKeyConstraint.d.ts +1 -1
- package/public/orm/models/fullTextSearch.d.ts +1 -1
- package/public/orm/models/getAllRecord.d.ts +1 -1
- package/public/orm/models/hierarchyModule.d.ts +1 -1
- package/public/orm/models/index.d.ts +6 -7
- package/public/orm/models/index.js +15 -17
- package/public/orm/models/indexModel.d.ts +1 -1
- package/public/orm/models/invite.d.ts +1 -1
- package/public/orm/models/invitesModule.d.ts +1 -1
- package/public/orm/models/levelsModule.d.ts +1 -1
- package/public/orm/models/limitsModule.d.ts +1 -1
- package/public/orm/models/membershipType.d.ts +1 -1
- package/public/orm/models/membershipTypesModule.d.ts +1 -1
- package/public/orm/models/membershipsModule.d.ts +1 -1
- package/public/orm/models/nodeTypeRegistry.d.ts +1 -1
- package/public/orm/models/object.d.ts +1 -1
- package/public/orm/models/orgAdminGrant.d.ts +1 -1
- package/public/orm/models/orgChartEdge.d.ts +1 -1
- package/public/orm/models/orgChartEdgeGrant.d.ts +1 -1
- package/public/orm/models/orgClaimedInvite.d.ts +1 -1
- package/public/orm/models/orgGetManagersRecord.d.ts +1 -1
- package/public/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
- package/public/orm/models/orgGrant.d.ts +1 -1
- package/public/orm/models/orgInvite.d.ts +1 -1
- package/public/orm/models/orgLimit.d.ts +1 -1
- package/public/orm/models/orgLimitDefault.d.ts +1 -1
- package/public/orm/models/orgMember.d.ts +1 -1
- package/public/orm/models/orgMembership.d.ts +1 -1
- package/public/orm/models/orgMembershipDefault.d.ts +1 -1
- package/public/orm/models/orgOwnerGrant.d.ts +1 -1
- package/public/orm/models/orgPermission.d.ts +1 -1
- package/public/orm/models/orgPermissionDefault.d.ts +1 -1
- package/public/orm/models/permissionsModule.d.ts +1 -1
- package/public/orm/models/phoneNumber.d.ts +1 -1
- package/public/orm/models/phoneNumbersModule.d.ts +1 -1
- package/public/orm/models/policy.d.ts +1 -1
- package/public/orm/models/primaryKeyConstraint.d.ts +1 -1
- package/public/orm/models/profilesModule.d.ts +1 -1
- package/public/orm/models/ref.d.ts +1 -1
- package/public/orm/models/relationProvision.d.ts +1 -1
- package/public/orm/models/rlsModule.d.ts +1 -1
- package/public/orm/models/roleType.d.ts +1 -1
- package/public/orm/models/schema.d.ts +1 -1
- package/public/orm/models/schemaGrant.d.ts +1 -1
- package/public/orm/models/secretsModule.d.ts +1 -1
- package/public/orm/models/secureTableProvision.d.ts +1 -1
- package/public/orm/models/sessionsModule.d.ts +1 -1
- package/public/orm/models/site.d.ts +1 -1
- package/public/orm/models/siteMetadatum.d.ts +1 -1
- package/public/orm/models/siteModule.d.ts +1 -1
- package/public/orm/models/siteTheme.d.ts +1 -1
- package/public/orm/models/sqlMigration.d.ts +1 -1
- package/public/orm/models/store.d.ts +1 -1
- package/public/orm/models/table.d.ts +1 -1
- package/public/orm/models/tableGrant.d.ts +1 -1
- package/public/orm/models/tableTemplateModule.d.ts +1 -1
- package/public/orm/models/trigger.d.ts +1 -1
- package/public/orm/models/triggerFunction.d.ts +1 -1
- package/public/orm/models/uniqueConstraint.d.ts +1 -1
- package/public/orm/models/user.d.ts +1 -1
- package/public/orm/models/userAuthModule.d.ts +1 -1
- package/public/orm/models/usersModule.d.ts +1 -1
- package/public/orm/models/uuidModule.d.ts +1 -1
- package/public/orm/models/view.d.ts +1 -1
- package/public/orm/models/viewGrant.d.ts +1 -1
- package/public/orm/models/viewRule.d.ts +1 -1
- package/public/orm/models/viewTable.d.ts +1 -1
- package/public/orm/mutation/index.d.ts +9 -9
- package/public/orm/mutation/index.js +12 -12
- package/public/orm/query-builder.js +0 -2
- package/esm/public/orm/models/tableModule.d.ts +0 -56
- package/esm/public/orm/models/tableModule.js +0 -94
- package/public/orm/models/tableModule.d.ts +0 -56
- package/public/orm/models/tableModule.js +0 -98
|
@@ -10,7 +10,7 @@ import type { ViewGrantWithRelations, ViewGrantSelect, ViewGrantFilter, ViewGran
|
|
|
10
10
|
export declare class ViewGrantModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ViewGrantSelect>(args: FindManyArgs<S, ViewGrantFilter, ViewGrantOrderBy> & {
|
|
13
|
+
findMany<S extends ViewGrantSelect>(args: FindManyArgs<S, ViewGrantFilter, never, ViewGrantOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, ViewGrantSelect>): QueryBuilder<{
|
|
16
16
|
viewGrants: ConnectionResult<InferSelectResult<ViewGrantWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { ViewRuleWithRelations, ViewRuleSelect, ViewRuleFilter, ViewRuleOrd
|
|
|
10
10
|
export declare class ViewRuleModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ViewRuleSelect>(args: FindManyArgs<S, ViewRuleFilter, ViewRuleOrderBy> & {
|
|
13
|
+
findMany<S extends ViewRuleSelect>(args: FindManyArgs<S, ViewRuleFilter, never, ViewRuleOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, ViewRuleSelect>): QueryBuilder<{
|
|
16
16
|
viewRules: ConnectionResult<InferSelectResult<ViewRuleWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { ViewTableWithRelations, ViewTableSelect, ViewTableFilter, ViewTabl
|
|
|
10
10
|
export declare class ViewTableModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ViewTableSelect>(args: FindManyArgs<S, ViewTableFilter, ViewTableOrderBy> & {
|
|
13
|
+
findMany<S extends ViewTableSelect>(args: FindManyArgs<S, ViewTableFilter, never, ViewTableOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, ViewTableSelect>): QueryBuilder<{
|
|
16
16
|
viewTables: ConnectionResult<InferSelectResult<ViewTableWithRelations, S>>;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
8
|
import type { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { SignOutInput, SendAccountDeletionEmailInput, CheckPasswordInput, SubmitInviteCodeInput, SubmitOrgInviteCodeInput, FreezeObjectsInput, InitEmptyRepoInput, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, ResetPasswordInput,
|
|
9
|
+
import type { SignOutInput, SendAccountDeletionEmailInput, CheckPasswordInput, SubmitInviteCodeInput, SubmitOrgInviteCodeInput, FreezeObjectsInput, InitEmptyRepoInput, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, ResetPasswordInput, BootstrapUserInput, RemoveNodeAtPathInput, SetDataAtPathInput, SetPropsAndCommitInput, ProvisionDatabaseWithUserInput, SignInOneTimeTokenInput, CreateUserDatabaseInput, ExtendTokenExpiresInput, SignInInput, SignUpInput, SetFieldOrderInput, OneTimeTokenInput, InsertNodeAtPathInput, UpdateNodeAtPathInput, SetAndCommitInput, ApplyRlsInput, ForgotPasswordInput, SendVerificationEmailInput, VerifyPasswordInput, VerifyTotpInput, SignOutPayload, SendAccountDeletionEmailPayload, CheckPasswordPayload, SubmitInviteCodePayload, SubmitOrgInviteCodePayload, FreezeObjectsPayload, InitEmptyRepoPayload, ConfirmDeleteAccountPayload, SetPasswordPayload, VerifyEmailPayload, ResetPasswordPayload, BootstrapUserPayload, RemoveNodeAtPathPayload, SetDataAtPathPayload, SetPropsAndCommitPayload, ProvisionDatabaseWithUserPayload, SignInOneTimeTokenPayload, CreateUserDatabasePayload, ExtendTokenExpiresPayload, SignInPayload, SignUpPayload, SetFieldOrderPayload, OneTimeTokenPayload, InsertNodeAtPathPayload, UpdateNodeAtPathPayload, SetAndCommitPayload, ApplyRlsPayload, ForgotPasswordPayload, SendVerificationEmailPayload, VerifyPasswordPayload, VerifyTotpPayload, SignOutPayloadSelect, SendAccountDeletionEmailPayloadSelect, CheckPasswordPayloadSelect, SubmitInviteCodePayloadSelect, SubmitOrgInviteCodePayloadSelect, FreezeObjectsPayloadSelect, InitEmptyRepoPayloadSelect, ConfirmDeleteAccountPayloadSelect, SetPasswordPayloadSelect, VerifyEmailPayloadSelect, ResetPasswordPayloadSelect, BootstrapUserPayloadSelect, RemoveNodeAtPathPayloadSelect, SetDataAtPathPayloadSelect, SetPropsAndCommitPayloadSelect, ProvisionDatabaseWithUserPayloadSelect, SignInOneTimeTokenPayloadSelect, CreateUserDatabasePayloadSelect, ExtendTokenExpiresPayloadSelect, SignInPayloadSelect, SignUpPayloadSelect, SetFieldOrderPayloadSelect, OneTimeTokenPayloadSelect, InsertNodeAtPathPayloadSelect, UpdateNodeAtPathPayloadSelect, SetAndCommitPayloadSelect, ApplyRlsPayloadSelect, ForgotPasswordPayloadSelect, SendVerificationEmailPayloadSelect, VerifyPasswordPayloadSelect, VerifyTotpPayloadSelect } from '../input-types';
|
|
10
10
|
export interface SignOutVariables {
|
|
11
11
|
input: SignOutInput;
|
|
12
12
|
}
|
|
@@ -40,12 +40,12 @@ export interface VerifyEmailVariables {
|
|
|
40
40
|
export interface ResetPasswordVariables {
|
|
41
41
|
input: ResetPasswordInput;
|
|
42
42
|
}
|
|
43
|
-
export interface RemoveNodeAtPathVariables {
|
|
44
|
-
input: RemoveNodeAtPathInput;
|
|
45
|
-
}
|
|
46
43
|
export interface BootstrapUserVariables {
|
|
47
44
|
input: BootstrapUserInput;
|
|
48
45
|
}
|
|
46
|
+
export interface RemoveNodeAtPathVariables {
|
|
47
|
+
input: RemoveNodeAtPathInput;
|
|
48
|
+
}
|
|
49
49
|
export interface SetDataAtPathVariables {
|
|
50
50
|
input: SetDataAtPathInput;
|
|
51
51
|
}
|
|
@@ -175,16 +175,16 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
175
175
|
} & StrictSelect<S, ResetPasswordPayloadSelect>) => QueryBuilder<{
|
|
176
176
|
resetPassword: InferSelectResult<ResetPasswordPayload, S> | null;
|
|
177
177
|
}>;
|
|
178
|
-
removeNodeAtPath: <S extends RemoveNodeAtPathPayloadSelect>(args: RemoveNodeAtPathVariables, options: {
|
|
179
|
-
select: S;
|
|
180
|
-
} & StrictSelect<S, RemoveNodeAtPathPayloadSelect>) => QueryBuilder<{
|
|
181
|
-
removeNodeAtPath: InferSelectResult<RemoveNodeAtPathPayload, S> | null;
|
|
182
|
-
}>;
|
|
183
178
|
bootstrapUser: <S extends BootstrapUserPayloadSelect>(args: BootstrapUserVariables, options: {
|
|
184
179
|
select: S;
|
|
185
180
|
} & StrictSelect<S, BootstrapUserPayloadSelect>) => QueryBuilder<{
|
|
186
181
|
bootstrapUser: InferSelectResult<BootstrapUserPayload, S> | null;
|
|
187
182
|
}>;
|
|
183
|
+
removeNodeAtPath: <S extends RemoveNodeAtPathPayloadSelect>(args: RemoveNodeAtPathVariables, options: {
|
|
184
|
+
select: S;
|
|
185
|
+
} & StrictSelect<S, RemoveNodeAtPathPayloadSelect>) => QueryBuilder<{
|
|
186
|
+
removeNodeAtPath: InferSelectResult<RemoveNodeAtPathPayload, S> | null;
|
|
187
|
+
}>;
|
|
188
188
|
setDataAtPath: <S extends SetDataAtPathPayloadSelect>(args: SetDataAtPathVariables, options: {
|
|
189
189
|
select: S;
|
|
190
190
|
} & StrictSelect<S, SetDataAtPathPayloadSelect>) => QueryBuilder<{
|
|
@@ -137,18 +137,6 @@ function createMutationOperations(client) {
|
|
|
137
137
|
},
|
|
138
138
|
], input_types_1.connectionFieldsMap, 'ResetPasswordPayload'),
|
|
139
139
|
}),
|
|
140
|
-
removeNodeAtPath: (args, options) => new query_builder_1.QueryBuilder({
|
|
141
|
-
client,
|
|
142
|
-
operation: 'mutation',
|
|
143
|
-
operationName: 'RemoveNodeAtPath',
|
|
144
|
-
fieldName: 'removeNodeAtPath',
|
|
145
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'RemoveNodeAtPath', 'removeNodeAtPath', options.select, args, [
|
|
146
|
-
{
|
|
147
|
-
name: 'input',
|
|
148
|
-
type: 'RemoveNodeAtPathInput!',
|
|
149
|
-
},
|
|
150
|
-
], input_types_1.connectionFieldsMap, 'RemoveNodeAtPathPayload'),
|
|
151
|
-
}),
|
|
152
140
|
bootstrapUser: (args, options) => new query_builder_1.QueryBuilder({
|
|
153
141
|
client,
|
|
154
142
|
operation: 'mutation',
|
|
@@ -161,6 +149,18 @@ function createMutationOperations(client) {
|
|
|
161
149
|
},
|
|
162
150
|
], input_types_1.connectionFieldsMap, 'BootstrapUserPayload'),
|
|
163
151
|
}),
|
|
152
|
+
removeNodeAtPath: (args, options) => new query_builder_1.QueryBuilder({
|
|
153
|
+
client,
|
|
154
|
+
operation: 'mutation',
|
|
155
|
+
operationName: 'RemoveNodeAtPath',
|
|
156
|
+
fieldName: 'removeNodeAtPath',
|
|
157
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'RemoveNodeAtPath', 'removeNodeAtPath', options.select, args, [
|
|
158
|
+
{
|
|
159
|
+
name: 'input',
|
|
160
|
+
type: 'RemoveNodeAtPathInput!',
|
|
161
|
+
},
|
|
162
|
+
], input_types_1.connectionFieldsMap, 'RemoveNodeAtPathPayload'),
|
|
163
|
+
}),
|
|
164
164
|
setDataAtPath: (args, options) => new query_builder_1.QueryBuilder({
|
|
165
165
|
client,
|
|
166
166
|
operation: 'mutation',
|
|
@@ -192,7 +192,6 @@ function buildFindManyDocument(operationName, queryField, select, args, filterTy
|
|
|
192
192
|
}, variableDefinitions, queryArgs, variables);
|
|
193
193
|
addVariable({
|
|
194
194
|
varName: 'where',
|
|
195
|
-
argName: 'filter',
|
|
196
195
|
typeName: filterTypeName,
|
|
197
196
|
value: args.where,
|
|
198
197
|
}, variableDefinitions, queryArgs, variables);
|
|
@@ -244,7 +243,6 @@ function buildFindFirstDocument(operationName, queryField, select, args, filterT
|
|
|
244
243
|
}, variableDefinitions, queryArgs, variables);
|
|
245
244
|
addVariable({
|
|
246
245
|
varName: 'where',
|
|
247
|
-
argName: 'filter',
|
|
248
246
|
typeName: filterTypeName,
|
|
249
247
|
value: args.where,
|
|
250
248
|
}, variableDefinitions, queryArgs, variables);
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TableModule model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { TableModuleWithRelations, TableModuleSelect, TableModuleFilter, TableModuleOrderBy, CreateTableModuleInput, TableModulePatch } from '../input-types';
|
|
10
|
-
export declare class TableModuleModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends TableModuleSelect>(args: FindManyArgs<S, TableModuleFilter, TableModuleOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, TableModuleSelect>): QueryBuilder<{
|
|
16
|
-
tableModules: ConnectionResult<InferSelectResult<TableModuleWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends TableModuleSelect>(args: FindFirstArgs<S, TableModuleFilter> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, TableModuleSelect>): QueryBuilder<{
|
|
21
|
-
tableModules: {
|
|
22
|
-
nodes: InferSelectResult<TableModuleWithRelations, S>[];
|
|
23
|
-
};
|
|
24
|
-
}>;
|
|
25
|
-
findOne<S extends TableModuleSelect>(args: {
|
|
26
|
-
id: string;
|
|
27
|
-
select: S;
|
|
28
|
-
} & StrictSelect<S, TableModuleSelect>): QueryBuilder<{
|
|
29
|
-
tableModule: InferSelectResult<TableModuleWithRelations, S> | null;
|
|
30
|
-
}>;
|
|
31
|
-
create<S extends TableModuleSelect>(args: CreateArgs<S, CreateTableModuleInput['tableModule']> & {
|
|
32
|
-
select: S;
|
|
33
|
-
} & StrictSelect<S, TableModuleSelect>): QueryBuilder<{
|
|
34
|
-
createTableModule: {
|
|
35
|
-
tableModule: InferSelectResult<TableModuleWithRelations, S>;
|
|
36
|
-
};
|
|
37
|
-
}>;
|
|
38
|
-
update<S extends TableModuleSelect>(args: UpdateArgs<S, {
|
|
39
|
-
id: string;
|
|
40
|
-
}, TableModulePatch> & {
|
|
41
|
-
select: S;
|
|
42
|
-
} & StrictSelect<S, TableModuleSelect>): QueryBuilder<{
|
|
43
|
-
updateTableModule: {
|
|
44
|
-
tableModule: InferSelectResult<TableModuleWithRelations, S>;
|
|
45
|
-
};
|
|
46
|
-
}>;
|
|
47
|
-
delete<S extends TableModuleSelect>(args: DeleteArgs<{
|
|
48
|
-
id: string;
|
|
49
|
-
}, S> & {
|
|
50
|
-
select: S;
|
|
51
|
-
} & StrictSelect<S, TableModuleSelect>): QueryBuilder<{
|
|
52
|
-
deleteTableModule: {
|
|
53
|
-
tableModule: InferSelectResult<TableModuleWithRelations, S>;
|
|
54
|
-
};
|
|
55
|
-
}>;
|
|
56
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
-
import { connectionFieldsMap } from '../input-types';
|
|
3
|
-
export class TableModuleModel {
|
|
4
|
-
client;
|
|
5
|
-
constructor(client) {
|
|
6
|
-
this.client = client;
|
|
7
|
-
}
|
|
8
|
-
findMany(args) {
|
|
9
|
-
const { document, variables } = buildFindManyDocument('TableModule', 'tableModules', args.select, {
|
|
10
|
-
where: args?.where,
|
|
11
|
-
orderBy: args?.orderBy,
|
|
12
|
-
first: args?.first,
|
|
13
|
-
last: args?.last,
|
|
14
|
-
after: args?.after,
|
|
15
|
-
before: args?.before,
|
|
16
|
-
offset: args?.offset,
|
|
17
|
-
}, 'TableModuleFilter', 'TableModuleOrderBy', connectionFieldsMap);
|
|
18
|
-
return new QueryBuilder({
|
|
19
|
-
client: this.client,
|
|
20
|
-
operation: 'query',
|
|
21
|
-
operationName: 'TableModule',
|
|
22
|
-
fieldName: 'tableModules',
|
|
23
|
-
document,
|
|
24
|
-
variables,
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
findFirst(args) {
|
|
28
|
-
const { document, variables } = buildFindFirstDocument('TableModule', 'tableModules', args.select, {
|
|
29
|
-
where: args?.where,
|
|
30
|
-
}, 'TableModuleFilter', connectionFieldsMap);
|
|
31
|
-
return new QueryBuilder({
|
|
32
|
-
client: this.client,
|
|
33
|
-
operation: 'query',
|
|
34
|
-
operationName: 'TableModule',
|
|
35
|
-
fieldName: 'tableModules',
|
|
36
|
-
document,
|
|
37
|
-
variables,
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
findOne(args) {
|
|
41
|
-
const { document, variables } = buildFindManyDocument('TableModule', 'tableModules', args.select, {
|
|
42
|
-
where: {
|
|
43
|
-
id: {
|
|
44
|
-
equalTo: args.id,
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
first: 1,
|
|
48
|
-
}, 'TableModuleFilter', 'TableModuleOrderBy', connectionFieldsMap);
|
|
49
|
-
return new QueryBuilder({
|
|
50
|
-
client: this.client,
|
|
51
|
-
operation: 'query',
|
|
52
|
-
operationName: 'TableModule',
|
|
53
|
-
fieldName: 'tableModule',
|
|
54
|
-
document,
|
|
55
|
-
variables,
|
|
56
|
-
transform: (data) => ({
|
|
57
|
-
tableModule: data.tableModules?.nodes?.[0] ?? null,
|
|
58
|
-
}),
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
create(args) {
|
|
62
|
-
const { document, variables } = buildCreateDocument('TableModule', 'createTableModule', 'tableModule', args.select, args.data, 'CreateTableModuleInput', connectionFieldsMap);
|
|
63
|
-
return new QueryBuilder({
|
|
64
|
-
client: this.client,
|
|
65
|
-
operation: 'mutation',
|
|
66
|
-
operationName: 'TableModule',
|
|
67
|
-
fieldName: 'createTableModule',
|
|
68
|
-
document,
|
|
69
|
-
variables,
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
update(args) {
|
|
73
|
-
const { document, variables } = buildUpdateByPkDocument('TableModule', 'updateTableModule', 'tableModule', args.select, args.where.id, args.data, 'UpdateTableModuleInput', 'id', 'tableModulePatch', connectionFieldsMap);
|
|
74
|
-
return new QueryBuilder({
|
|
75
|
-
client: this.client,
|
|
76
|
-
operation: 'mutation',
|
|
77
|
-
operationName: 'TableModule',
|
|
78
|
-
fieldName: 'updateTableModule',
|
|
79
|
-
document,
|
|
80
|
-
variables,
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
delete(args) {
|
|
84
|
-
const { document, variables } = buildDeleteByPkDocument('TableModule', 'deleteTableModule', 'tableModule', args.where.id, 'DeleteTableModuleInput', 'id', args.select, connectionFieldsMap);
|
|
85
|
-
return new QueryBuilder({
|
|
86
|
-
client: this.client,
|
|
87
|
-
operation: 'mutation',
|
|
88
|
-
operationName: 'TableModule',
|
|
89
|
-
fieldName: 'deleteTableModule',
|
|
90
|
-
document,
|
|
91
|
-
variables,
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TableModule model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { TableModuleWithRelations, TableModuleSelect, TableModuleFilter, TableModuleOrderBy, CreateTableModuleInput, TableModulePatch } from '../input-types';
|
|
10
|
-
export declare class TableModuleModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends TableModuleSelect>(args: FindManyArgs<S, TableModuleFilter, TableModuleOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, TableModuleSelect>): QueryBuilder<{
|
|
16
|
-
tableModules: ConnectionResult<InferSelectResult<TableModuleWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends TableModuleSelect>(args: FindFirstArgs<S, TableModuleFilter> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, TableModuleSelect>): QueryBuilder<{
|
|
21
|
-
tableModules: {
|
|
22
|
-
nodes: InferSelectResult<TableModuleWithRelations, S>[];
|
|
23
|
-
};
|
|
24
|
-
}>;
|
|
25
|
-
findOne<S extends TableModuleSelect>(args: {
|
|
26
|
-
id: string;
|
|
27
|
-
select: S;
|
|
28
|
-
} & StrictSelect<S, TableModuleSelect>): QueryBuilder<{
|
|
29
|
-
tableModule: InferSelectResult<TableModuleWithRelations, S> | null;
|
|
30
|
-
}>;
|
|
31
|
-
create<S extends TableModuleSelect>(args: CreateArgs<S, CreateTableModuleInput['tableModule']> & {
|
|
32
|
-
select: S;
|
|
33
|
-
} & StrictSelect<S, TableModuleSelect>): QueryBuilder<{
|
|
34
|
-
createTableModule: {
|
|
35
|
-
tableModule: InferSelectResult<TableModuleWithRelations, S>;
|
|
36
|
-
};
|
|
37
|
-
}>;
|
|
38
|
-
update<S extends TableModuleSelect>(args: UpdateArgs<S, {
|
|
39
|
-
id: string;
|
|
40
|
-
}, TableModulePatch> & {
|
|
41
|
-
select: S;
|
|
42
|
-
} & StrictSelect<S, TableModuleSelect>): QueryBuilder<{
|
|
43
|
-
updateTableModule: {
|
|
44
|
-
tableModule: InferSelectResult<TableModuleWithRelations, S>;
|
|
45
|
-
};
|
|
46
|
-
}>;
|
|
47
|
-
delete<S extends TableModuleSelect>(args: DeleteArgs<{
|
|
48
|
-
id: string;
|
|
49
|
-
}, S> & {
|
|
50
|
-
select: S;
|
|
51
|
-
} & StrictSelect<S, TableModuleSelect>): QueryBuilder<{
|
|
52
|
-
deleteTableModule: {
|
|
53
|
-
tableModule: InferSelectResult<TableModuleWithRelations, S>;
|
|
54
|
-
};
|
|
55
|
-
}>;
|
|
56
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TableModuleModel = void 0;
|
|
4
|
-
const query_builder_1 = require("../query-builder");
|
|
5
|
-
const input_types_1 = require("../input-types");
|
|
6
|
-
class TableModuleModel {
|
|
7
|
-
client;
|
|
8
|
-
constructor(client) {
|
|
9
|
-
this.client = client;
|
|
10
|
-
}
|
|
11
|
-
findMany(args) {
|
|
12
|
-
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('TableModule', 'tableModules', args.select, {
|
|
13
|
-
where: args?.where,
|
|
14
|
-
orderBy: args?.orderBy,
|
|
15
|
-
first: args?.first,
|
|
16
|
-
last: args?.last,
|
|
17
|
-
after: args?.after,
|
|
18
|
-
before: args?.before,
|
|
19
|
-
offset: args?.offset,
|
|
20
|
-
}, 'TableModuleFilter', 'TableModuleOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
-
return new query_builder_1.QueryBuilder({
|
|
22
|
-
client: this.client,
|
|
23
|
-
operation: 'query',
|
|
24
|
-
operationName: 'TableModule',
|
|
25
|
-
fieldName: 'tableModules',
|
|
26
|
-
document,
|
|
27
|
-
variables,
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
findFirst(args) {
|
|
31
|
-
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('TableModule', 'tableModules', args.select, {
|
|
32
|
-
where: args?.where,
|
|
33
|
-
}, 'TableModuleFilter', input_types_1.connectionFieldsMap);
|
|
34
|
-
return new query_builder_1.QueryBuilder({
|
|
35
|
-
client: this.client,
|
|
36
|
-
operation: 'query',
|
|
37
|
-
operationName: 'TableModule',
|
|
38
|
-
fieldName: 'tableModules',
|
|
39
|
-
document,
|
|
40
|
-
variables,
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
findOne(args) {
|
|
44
|
-
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('TableModule', 'tableModules', args.select, {
|
|
45
|
-
where: {
|
|
46
|
-
id: {
|
|
47
|
-
equalTo: args.id,
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
first: 1,
|
|
51
|
-
}, 'TableModuleFilter', 'TableModuleOrderBy', input_types_1.connectionFieldsMap);
|
|
52
|
-
return new query_builder_1.QueryBuilder({
|
|
53
|
-
client: this.client,
|
|
54
|
-
operation: 'query',
|
|
55
|
-
operationName: 'TableModule',
|
|
56
|
-
fieldName: 'tableModule',
|
|
57
|
-
document,
|
|
58
|
-
variables,
|
|
59
|
-
transform: (data) => ({
|
|
60
|
-
tableModule: data.tableModules?.nodes?.[0] ?? null,
|
|
61
|
-
}),
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
create(args) {
|
|
65
|
-
const { document, variables } = (0, query_builder_1.buildCreateDocument)('TableModule', 'createTableModule', 'tableModule', args.select, args.data, 'CreateTableModuleInput', input_types_1.connectionFieldsMap);
|
|
66
|
-
return new query_builder_1.QueryBuilder({
|
|
67
|
-
client: this.client,
|
|
68
|
-
operation: 'mutation',
|
|
69
|
-
operationName: 'TableModule',
|
|
70
|
-
fieldName: 'createTableModule',
|
|
71
|
-
document,
|
|
72
|
-
variables,
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
update(args) {
|
|
76
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('TableModule', 'updateTableModule', 'tableModule', args.select, args.where.id, args.data, 'UpdateTableModuleInput', 'id', 'tableModulePatch', input_types_1.connectionFieldsMap);
|
|
77
|
-
return new query_builder_1.QueryBuilder({
|
|
78
|
-
client: this.client,
|
|
79
|
-
operation: 'mutation',
|
|
80
|
-
operationName: 'TableModule',
|
|
81
|
-
fieldName: 'updateTableModule',
|
|
82
|
-
document,
|
|
83
|
-
variables,
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
delete(args) {
|
|
87
|
-
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('TableModule', 'deleteTableModule', 'tableModule', args.where.id, 'DeleteTableModuleInput', 'id', args.select, input_types_1.connectionFieldsMap);
|
|
88
|
-
return new query_builder_1.QueryBuilder({
|
|
89
|
-
client: this.client,
|
|
90
|
-
operation: 'mutation',
|
|
91
|
-
operationName: 'TableModule',
|
|
92
|
-
fieldName: 'deleteTableModule',
|
|
93
|
-
document,
|
|
94
|
-
variables,
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
exports.TableModuleModel = TableModuleModel;
|