@constructive-io/sdk 0.0.2
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/LICENSE +23 -0
- package/README.md +84 -0
- package/admin/index.d.ts +5 -0
- package/admin/index.js +21 -0
- package/admin/orm/client.d.ts +55 -0
- package/admin/orm/client.js +105 -0
- package/admin/orm/index.d.ts +153 -0
- package/admin/orm/index.js +122 -0
- package/admin/orm/input-types.d.ts +3682 -0
- package/admin/orm/input-types.js +5 -0
- package/admin/orm/models/appAchievement.d.ts +56 -0
- package/admin/orm/models/appAchievement.js +98 -0
- package/admin/orm/models/appAdminGrant.d.ts +56 -0
- package/admin/orm/models/appAdminGrant.js +98 -0
- package/admin/orm/models/appGrant.d.ts +56 -0
- package/admin/orm/models/appGrant.js +98 -0
- package/admin/orm/models/appLevel.d.ts +56 -0
- package/admin/orm/models/appLevel.js +98 -0
- package/admin/orm/models/appLevelRequirement.d.ts +56 -0
- package/admin/orm/models/appLevelRequirement.js +98 -0
- package/admin/orm/models/appLimit.d.ts +56 -0
- package/admin/orm/models/appLimit.js +98 -0
- package/admin/orm/models/appLimitDefault.d.ts +56 -0
- package/admin/orm/models/appLimitDefault.js +98 -0
- package/admin/orm/models/appMembership.d.ts +56 -0
- package/admin/orm/models/appMembership.js +98 -0
- package/admin/orm/models/appMembershipDefault.d.ts +56 -0
- package/admin/orm/models/appMembershipDefault.js +98 -0
- package/admin/orm/models/appOwnerGrant.d.ts +56 -0
- package/admin/orm/models/appOwnerGrant.js +98 -0
- package/admin/orm/models/appPermission.d.ts +56 -0
- package/admin/orm/models/appPermission.js +98 -0
- package/admin/orm/models/appPermissionDefault.d.ts +56 -0
- package/admin/orm/models/appPermissionDefault.js +98 -0
- package/admin/orm/models/appStep.d.ts +56 -0
- package/admin/orm/models/appStep.js +98 -0
- package/admin/orm/models/claimedInvite.d.ts +56 -0
- package/admin/orm/models/claimedInvite.js +98 -0
- package/admin/orm/models/index.d.ts +33 -0
- package/admin/orm/models/index.js +64 -0
- package/admin/orm/models/invite.d.ts +56 -0
- package/admin/orm/models/invite.js +98 -0
- package/admin/orm/models/membershipType.d.ts +56 -0
- package/admin/orm/models/membershipType.js +98 -0
- package/admin/orm/models/orgAdminGrant.d.ts +56 -0
- package/admin/orm/models/orgAdminGrant.js +98 -0
- package/admin/orm/models/orgClaimedInvite.d.ts +56 -0
- package/admin/orm/models/orgClaimedInvite.js +98 -0
- package/admin/orm/models/orgGrant.d.ts +56 -0
- package/admin/orm/models/orgGrant.js +98 -0
- package/admin/orm/models/orgInvite.d.ts +56 -0
- package/admin/orm/models/orgInvite.js +98 -0
- package/admin/orm/models/orgLimit.d.ts +56 -0
- package/admin/orm/models/orgLimit.js +98 -0
- package/admin/orm/models/orgLimitDefault.d.ts +56 -0
- package/admin/orm/models/orgLimitDefault.js +98 -0
- package/admin/orm/models/orgMember.d.ts +56 -0
- package/admin/orm/models/orgMember.js +98 -0
- package/admin/orm/models/orgMembership.d.ts +56 -0
- package/admin/orm/models/orgMembership.js +98 -0
- package/admin/orm/models/orgMembershipDefault.d.ts +56 -0
- package/admin/orm/models/orgMembershipDefault.js +98 -0
- package/admin/orm/models/orgOwnerGrant.d.ts +56 -0
- package/admin/orm/models/orgOwnerGrant.js +98 -0
- package/admin/orm/models/orgPermission.d.ts +56 -0
- package/admin/orm/models/orgPermission.js +98 -0
- package/admin/orm/models/orgPermissionDefault.d.ts +56 -0
- package/admin/orm/models/orgPermissionDefault.js +98 -0
- package/admin/orm/mutation/index.d.ts +27 -0
- package/admin/orm/mutation/index.js +33 -0
- package/admin/orm/query/index.d.ts +101 -0
- package/admin/orm/query/index.js +173 -0
- package/admin/orm/query-builder.d.ts +89 -0
- package/admin/orm/query-builder.js +611 -0
- package/admin/orm/select-types.d.ts +101 -0
- package/admin/orm/select-types.js +2 -0
- package/admin/orm/types.d.ts +6 -0
- package/admin/orm/types.js +23 -0
- package/auth/index.d.ts +5 -0
- package/auth/index.js +21 -0
- package/auth/orm/client.d.ts +55 -0
- package/auth/orm/client.js +105 -0
- package/auth/orm/index.d.ts +151 -0
- package/auth/orm/index.js +80 -0
- package/auth/orm/input-types.d.ts +1412 -0
- package/auth/orm/input-types.js +5 -0
- package/auth/orm/models/auditLog.d.ts +56 -0
- package/auth/orm/models/auditLog.js +98 -0
- package/auth/orm/models/connectedAccount.d.ts +56 -0
- package/auth/orm/models/connectedAccount.js +98 -0
- package/auth/orm/models/cryptoAddress.d.ts +56 -0
- package/auth/orm/models/cryptoAddress.js +98 -0
- package/auth/orm/models/email.d.ts +56 -0
- package/auth/orm/models/email.js +98 -0
- package/auth/orm/models/index.d.ts +12 -0
- package/auth/orm/models/index.js +22 -0
- package/auth/orm/models/phoneNumber.d.ts +56 -0
- package/auth/orm/models/phoneNumber.js +98 -0
- package/auth/orm/models/roleType.d.ts +56 -0
- package/auth/orm/models/roleType.js +98 -0
- package/auth/orm/models/user.d.ts +56 -0
- package/auth/orm/models/user.js +98 -0
- package/auth/orm/mutation/index.d.ts +139 -0
- package/auth/orm/mutation/index.js +201 -0
- package/auth/orm/query/index.d.ts +31 -0
- package/auth/orm/query/index.js +37 -0
- package/auth/orm/query-builder.d.ts +89 -0
- package/auth/orm/query-builder.js +611 -0
- package/auth/orm/select-types.d.ts +101 -0
- package/auth/orm/select-types.js +2 -0
- package/auth/orm/types.d.ts +6 -0
- package/auth/orm/types.js +23 -0
- package/esm/admin/index.d.ts +5 -0
- package/esm/admin/index.js +5 -0
- package/esm/admin/orm/client.d.ts +55 -0
- package/esm/admin/orm/client.js +99 -0
- package/esm/admin/orm/index.d.ts +153 -0
- package/esm/admin/orm/index.js +100 -0
- package/esm/admin/orm/input-types.d.ts +3682 -0
- package/esm/admin/orm/input-types.js +2 -0
- package/esm/admin/orm/models/appAchievement.d.ts +56 -0
- package/esm/admin/orm/models/appAchievement.js +94 -0
- package/esm/admin/orm/models/appAdminGrant.d.ts +56 -0
- package/esm/admin/orm/models/appAdminGrant.js +94 -0
- package/esm/admin/orm/models/appGrant.d.ts +56 -0
- package/esm/admin/orm/models/appGrant.js +94 -0
- package/esm/admin/orm/models/appLevel.d.ts +56 -0
- package/esm/admin/orm/models/appLevel.js +94 -0
- package/esm/admin/orm/models/appLevelRequirement.d.ts +56 -0
- package/esm/admin/orm/models/appLevelRequirement.js +94 -0
- package/esm/admin/orm/models/appLimit.d.ts +56 -0
- package/esm/admin/orm/models/appLimit.js +94 -0
- package/esm/admin/orm/models/appLimitDefault.d.ts +56 -0
- package/esm/admin/orm/models/appLimitDefault.js +94 -0
- package/esm/admin/orm/models/appMembership.d.ts +56 -0
- package/esm/admin/orm/models/appMembership.js +94 -0
- package/esm/admin/orm/models/appMembershipDefault.d.ts +56 -0
- package/esm/admin/orm/models/appMembershipDefault.js +94 -0
- package/esm/admin/orm/models/appOwnerGrant.d.ts +56 -0
- package/esm/admin/orm/models/appOwnerGrant.js +94 -0
- package/esm/admin/orm/models/appPermission.d.ts +56 -0
- package/esm/admin/orm/models/appPermission.js +94 -0
- package/esm/admin/orm/models/appPermissionDefault.d.ts +56 -0
- package/esm/admin/orm/models/appPermissionDefault.js +94 -0
- package/esm/admin/orm/models/appStep.d.ts +56 -0
- package/esm/admin/orm/models/appStep.js +94 -0
- package/esm/admin/orm/models/claimedInvite.d.ts +56 -0
- package/esm/admin/orm/models/claimedInvite.js +94 -0
- package/esm/admin/orm/models/index.d.ts +33 -0
- package/esm/admin/orm/models/index.js +33 -0
- package/esm/admin/orm/models/invite.d.ts +56 -0
- package/esm/admin/orm/models/invite.js +94 -0
- package/esm/admin/orm/models/membershipType.d.ts +56 -0
- package/esm/admin/orm/models/membershipType.js +94 -0
- package/esm/admin/orm/models/orgAdminGrant.d.ts +56 -0
- package/esm/admin/orm/models/orgAdminGrant.js +94 -0
- package/esm/admin/orm/models/orgClaimedInvite.d.ts +56 -0
- package/esm/admin/orm/models/orgClaimedInvite.js +94 -0
- package/esm/admin/orm/models/orgGrant.d.ts +56 -0
- package/esm/admin/orm/models/orgGrant.js +94 -0
- package/esm/admin/orm/models/orgInvite.d.ts +56 -0
- package/esm/admin/orm/models/orgInvite.js +94 -0
- package/esm/admin/orm/models/orgLimit.d.ts +56 -0
- package/esm/admin/orm/models/orgLimit.js +94 -0
- package/esm/admin/orm/models/orgLimitDefault.d.ts +56 -0
- package/esm/admin/orm/models/orgLimitDefault.js +94 -0
- package/esm/admin/orm/models/orgMember.d.ts +56 -0
- package/esm/admin/orm/models/orgMember.js +94 -0
- package/esm/admin/orm/models/orgMembership.d.ts +56 -0
- package/esm/admin/orm/models/orgMembership.js +94 -0
- package/esm/admin/orm/models/orgMembershipDefault.d.ts +56 -0
- package/esm/admin/orm/models/orgMembershipDefault.js +94 -0
- package/esm/admin/orm/models/orgOwnerGrant.d.ts +56 -0
- package/esm/admin/orm/models/orgOwnerGrant.js +94 -0
- package/esm/admin/orm/models/orgPermission.d.ts +56 -0
- package/esm/admin/orm/models/orgPermission.js +94 -0
- package/esm/admin/orm/models/orgPermissionDefault.d.ts +56 -0
- package/esm/admin/orm/models/orgPermissionDefault.js +94 -0
- package/esm/admin/orm/mutation/index.d.ts +27 -0
- package/esm/admin/orm/mutation/index.js +30 -0
- package/esm/admin/orm/query/index.d.ts +101 -0
- package/esm/admin/orm/query/index.js +170 -0
- package/esm/admin/orm/query-builder.d.ts +89 -0
- package/esm/admin/orm/query-builder.js +564 -0
- package/esm/admin/orm/select-types.d.ts +101 -0
- package/esm/admin/orm/select-types.js +1 -0
- package/esm/admin/orm/types.d.ts +6 -0
- package/esm/admin/orm/types.js +7 -0
- package/esm/auth/index.d.ts +5 -0
- package/esm/auth/index.js +5 -0
- package/esm/auth/orm/client.d.ts +55 -0
- package/esm/auth/orm/client.js +99 -0
- package/esm/auth/orm/index.d.ts +151 -0
- package/esm/auth/orm/index.js +58 -0
- package/esm/auth/orm/input-types.d.ts +1412 -0
- package/esm/auth/orm/input-types.js +2 -0
- package/esm/auth/orm/models/auditLog.d.ts +56 -0
- package/esm/auth/orm/models/auditLog.js +94 -0
- package/esm/auth/orm/models/connectedAccount.d.ts +56 -0
- package/esm/auth/orm/models/connectedAccount.js +94 -0
- package/esm/auth/orm/models/cryptoAddress.d.ts +56 -0
- package/esm/auth/orm/models/cryptoAddress.js +94 -0
- package/esm/auth/orm/models/email.d.ts +56 -0
- package/esm/auth/orm/models/email.js +94 -0
- package/esm/auth/orm/models/index.d.ts +12 -0
- package/esm/auth/orm/models/index.js +12 -0
- package/esm/auth/orm/models/phoneNumber.d.ts +56 -0
- package/esm/auth/orm/models/phoneNumber.js +94 -0
- package/esm/auth/orm/models/roleType.d.ts +56 -0
- package/esm/auth/orm/models/roleType.js +94 -0
- package/esm/auth/orm/models/user.d.ts +56 -0
- package/esm/auth/orm/models/user.js +94 -0
- package/esm/auth/orm/mutation/index.d.ts +139 -0
- package/esm/auth/orm/mutation/index.js +198 -0
- package/esm/auth/orm/query/index.d.ts +31 -0
- package/esm/auth/orm/query/index.js +34 -0
- package/esm/auth/orm/query-builder.d.ts +89 -0
- package/esm/auth/orm/query-builder.js +564 -0
- package/esm/auth/orm/select-types.d.ts +101 -0
- package/esm/auth/orm/select-types.js +1 -0
- package/esm/auth/orm/types.d.ts +6 -0
- package/esm/auth/orm/types.js +7 -0
- package/esm/index.d.ts +12 -0
- package/esm/index.js +12 -0
- package/esm/objects/index.d.ts +5 -0
- package/esm/objects/index.js +5 -0
- package/esm/objects/orm/client.d.ts +55 -0
- package/esm/objects/orm/client.js +99 -0
- package/esm/objects/orm/index.d.ts +107 -0
- package/esm/objects/orm/index.js +54 -0
- package/esm/objects/orm/input-types.d.ts +909 -0
- package/esm/objects/orm/input-types.js +2 -0
- package/esm/objects/orm/models/commit.d.ts +56 -0
- package/esm/objects/orm/models/commit.js +94 -0
- package/esm/objects/orm/models/getAllRecord.d.ts +32 -0
- package/esm/objects/orm/models/getAllRecord.js +51 -0
- package/esm/objects/orm/models/index.d.ts +10 -0
- package/esm/objects/orm/models/index.js +10 -0
- package/esm/objects/orm/models/object.d.ts +56 -0
- package/esm/objects/orm/models/object.js +84 -0
- package/esm/objects/orm/models/ref.d.ts +56 -0
- package/esm/objects/orm/models/ref.js +94 -0
- package/esm/objects/orm/models/store.d.ts +56 -0
- package/esm/objects/orm/models/store.js +94 -0
- package/esm/objects/orm/mutation/index.d.ts +75 -0
- package/esm/objects/orm/mutation/index.js +102 -0
- package/esm/objects/orm/query/index.d.ts +57 -0
- package/esm/objects/orm/query/index.js +110 -0
- package/esm/objects/orm/query-builder.d.ts +89 -0
- package/esm/objects/orm/query-builder.js +564 -0
- package/esm/objects/orm/select-types.d.ts +101 -0
- package/esm/objects/orm/select-types.js +1 -0
- package/esm/objects/orm/types.d.ts +6 -0
- package/esm/objects/orm/types.js +7 -0
- package/esm/public/index.d.ts +5 -0
- package/esm/public/index.js +5 -0
- package/esm/public/orm/client.d.ts +55 -0
- package/esm/public/orm/client.js +99 -0
- package/esm/public/orm/index.d.ts +480 -0
- package/esm/public/orm/index.js +242 -0
- package/esm/public/orm/input-types.d.ts +15987 -0
- package/esm/public/orm/input-types.js +128 -0
- package/esm/public/orm/models/api.d.ts +56 -0
- package/esm/public/orm/models/api.js +94 -0
- package/esm/public/orm/models/apiModule.d.ts +56 -0
- package/esm/public/orm/models/apiModule.js +94 -0
- package/esm/public/orm/models/apiSchema.d.ts +56 -0
- package/esm/public/orm/models/apiSchema.js +94 -0
- package/esm/public/orm/models/app.d.ts +56 -0
- package/esm/public/orm/models/app.js +94 -0
- package/esm/public/orm/models/appAchievement.d.ts +56 -0
- package/esm/public/orm/models/appAchievement.js +94 -0
- package/esm/public/orm/models/appAdminGrant.d.ts +56 -0
- package/esm/public/orm/models/appAdminGrant.js +94 -0
- package/esm/public/orm/models/appGrant.d.ts +56 -0
- package/esm/public/orm/models/appGrant.js +94 -0
- package/esm/public/orm/models/appLevel.d.ts +56 -0
- package/esm/public/orm/models/appLevel.js +94 -0
- package/esm/public/orm/models/appLevelRequirement.d.ts +56 -0
- package/esm/public/orm/models/appLevelRequirement.js +94 -0
- package/esm/public/orm/models/appLimit.d.ts +56 -0
- package/esm/public/orm/models/appLimit.js +94 -0
- package/esm/public/orm/models/appLimitDefault.d.ts +56 -0
- package/esm/public/orm/models/appLimitDefault.js +94 -0
- package/esm/public/orm/models/appMembership.d.ts +56 -0
- package/esm/public/orm/models/appMembership.js +94 -0
- package/esm/public/orm/models/appMembershipDefault.d.ts +56 -0
- package/esm/public/orm/models/appMembershipDefault.js +94 -0
- package/esm/public/orm/models/appOwnerGrant.d.ts +56 -0
- package/esm/public/orm/models/appOwnerGrant.js +94 -0
- package/esm/public/orm/models/appPermission.d.ts +56 -0
- package/esm/public/orm/models/appPermission.js +94 -0
- package/esm/public/orm/models/appPermissionDefault.d.ts +56 -0
- package/esm/public/orm/models/appPermissionDefault.js +94 -0
- package/esm/public/orm/models/appStep.d.ts +56 -0
- package/esm/public/orm/models/appStep.js +94 -0
- package/esm/public/orm/models/astMigration.d.ts +38 -0
- package/esm/public/orm/models/astMigration.js +72 -0
- package/esm/public/orm/models/auditLog.d.ts +56 -0
- package/esm/public/orm/models/auditLog.js +94 -0
- package/esm/public/orm/models/checkConstraint.d.ts +56 -0
- package/esm/public/orm/models/checkConstraint.js +94 -0
- package/esm/public/orm/models/claimedInvite.d.ts +56 -0
- package/esm/public/orm/models/claimedInvite.js +94 -0
- package/esm/public/orm/models/commit.d.ts +56 -0
- package/esm/public/orm/models/commit.js +94 -0
- package/esm/public/orm/models/connectedAccount.d.ts +56 -0
- package/esm/public/orm/models/connectedAccount.js +94 -0
- package/esm/public/orm/models/connectedAccountsModule.d.ts +56 -0
- package/esm/public/orm/models/connectedAccountsModule.js +94 -0
- package/esm/public/orm/models/cryptoAddress.d.ts +56 -0
- package/esm/public/orm/models/cryptoAddress.js +94 -0
- package/esm/public/orm/models/cryptoAddressesModule.d.ts +56 -0
- package/esm/public/orm/models/cryptoAddressesModule.js +94 -0
- package/esm/public/orm/models/cryptoAuthModule.d.ts +56 -0
- package/esm/public/orm/models/cryptoAuthModule.js +94 -0
- package/esm/public/orm/models/database.d.ts +56 -0
- package/esm/public/orm/models/database.js +94 -0
- package/esm/public/orm/models/databaseProvisionModule.d.ts +56 -0
- package/esm/public/orm/models/databaseProvisionModule.js +94 -0
- package/esm/public/orm/models/defaultIdsModule.d.ts +56 -0
- package/esm/public/orm/models/defaultIdsModule.js +94 -0
- package/esm/public/orm/models/denormalizedTableField.d.ts +56 -0
- package/esm/public/orm/models/denormalizedTableField.js +94 -0
- package/esm/public/orm/models/domain.d.ts +56 -0
- package/esm/public/orm/models/domain.js +94 -0
- package/esm/public/orm/models/email.d.ts +56 -0
- package/esm/public/orm/models/email.js +94 -0
- package/esm/public/orm/models/emailsModule.d.ts +56 -0
- package/esm/public/orm/models/emailsModule.js +94 -0
- package/esm/public/orm/models/encryptedSecretsModule.d.ts +56 -0
- package/esm/public/orm/models/encryptedSecretsModule.js +94 -0
- package/esm/public/orm/models/field.d.ts +56 -0
- package/esm/public/orm/models/field.js +94 -0
- package/esm/public/orm/models/fieldModule.d.ts +56 -0
- package/esm/public/orm/models/fieldModule.js +94 -0
- package/esm/public/orm/models/foreignKeyConstraint.d.ts +56 -0
- package/esm/public/orm/models/foreignKeyConstraint.js +94 -0
- package/esm/public/orm/models/fullTextSearch.d.ts +56 -0
- package/esm/public/orm/models/fullTextSearch.js +94 -0
- package/esm/public/orm/models/getAllRecord.d.ts +32 -0
- package/esm/public/orm/models/getAllRecord.js +51 -0
- package/esm/public/orm/models/hierarchyModule.d.ts +56 -0
- package/esm/public/orm/models/hierarchyModule.js +94 -0
- package/esm/public/orm/models/index.d.ts +104 -0
- package/esm/public/orm/models/index.js +104 -0
- package/esm/public/orm/models/indexModel.d.ts +56 -0
- package/esm/public/orm/models/indexModel.js +94 -0
- package/esm/public/orm/models/invite.d.ts +56 -0
- package/esm/public/orm/models/invite.js +94 -0
- package/esm/public/orm/models/invitesModule.d.ts +56 -0
- package/esm/public/orm/models/invitesModule.js +94 -0
- package/esm/public/orm/models/levelsModule.d.ts +56 -0
- package/esm/public/orm/models/levelsModule.js +94 -0
- package/esm/public/orm/models/limitFunction.d.ts +56 -0
- package/esm/public/orm/models/limitFunction.js +94 -0
- package/esm/public/orm/models/limitsModule.d.ts +56 -0
- package/esm/public/orm/models/limitsModule.js +94 -0
- package/esm/public/orm/models/membershipType.d.ts +56 -0
- package/esm/public/orm/models/membershipType.js +94 -0
- package/esm/public/orm/models/membershipTypesModule.d.ts +56 -0
- package/esm/public/orm/models/membershipTypesModule.js +94 -0
- package/esm/public/orm/models/membershipsModule.d.ts +56 -0
- package/esm/public/orm/models/membershipsModule.js +94 -0
- package/esm/public/orm/models/nodeTypeRegistry.d.ts +56 -0
- package/esm/public/orm/models/nodeTypeRegistry.js +94 -0
- package/esm/public/orm/models/object.d.ts +56 -0
- package/esm/public/orm/models/object.js +84 -0
- package/esm/public/orm/models/orgAdminGrant.d.ts +56 -0
- package/esm/public/orm/models/orgAdminGrant.js +94 -0
- package/esm/public/orm/models/orgClaimedInvite.d.ts +56 -0
- package/esm/public/orm/models/orgClaimedInvite.js +94 -0
- package/esm/public/orm/models/orgGrant.d.ts +56 -0
- package/esm/public/orm/models/orgGrant.js +94 -0
- package/esm/public/orm/models/orgInvite.d.ts +56 -0
- package/esm/public/orm/models/orgInvite.js +94 -0
- package/esm/public/orm/models/orgLimit.d.ts +56 -0
- package/esm/public/orm/models/orgLimit.js +94 -0
- package/esm/public/orm/models/orgLimitDefault.d.ts +56 -0
- package/esm/public/orm/models/orgLimitDefault.js +94 -0
- package/esm/public/orm/models/orgMember.d.ts +56 -0
- package/esm/public/orm/models/orgMember.js +94 -0
- package/esm/public/orm/models/orgMembership.d.ts +56 -0
- package/esm/public/orm/models/orgMembership.js +94 -0
- package/esm/public/orm/models/orgMembershipDefault.d.ts +56 -0
- package/esm/public/orm/models/orgMembershipDefault.js +94 -0
- package/esm/public/orm/models/orgOwnerGrant.d.ts +56 -0
- package/esm/public/orm/models/orgOwnerGrant.js +94 -0
- package/esm/public/orm/models/orgPermission.d.ts +56 -0
- package/esm/public/orm/models/orgPermission.js +94 -0
- package/esm/public/orm/models/orgPermissionDefault.d.ts +56 -0
- package/esm/public/orm/models/orgPermissionDefault.js +94 -0
- package/esm/public/orm/models/permissionsModule.d.ts +56 -0
- package/esm/public/orm/models/permissionsModule.js +94 -0
- package/esm/public/orm/models/phoneNumber.d.ts +56 -0
- package/esm/public/orm/models/phoneNumber.js +94 -0
- package/esm/public/orm/models/phoneNumbersModule.d.ts +56 -0
- package/esm/public/orm/models/phoneNumbersModule.js +94 -0
- package/esm/public/orm/models/policy.d.ts +56 -0
- package/esm/public/orm/models/policy.js +94 -0
- package/esm/public/orm/models/primaryKeyConstraint.d.ts +56 -0
- package/esm/public/orm/models/primaryKeyConstraint.js +94 -0
- package/esm/public/orm/models/procedure.d.ts +56 -0
- package/esm/public/orm/models/procedure.js +94 -0
- package/esm/public/orm/models/profilesModule.d.ts +56 -0
- package/esm/public/orm/models/profilesModule.js +94 -0
- package/esm/public/orm/models/ref.d.ts +56 -0
- package/esm/public/orm/models/ref.js +94 -0
- package/esm/public/orm/models/rlsModule.d.ts +56 -0
- package/esm/public/orm/models/rlsModule.js +94 -0
- package/esm/public/orm/models/roleType.d.ts +56 -0
- package/esm/public/orm/models/roleType.js +94 -0
- package/esm/public/orm/models/schema.d.ts +56 -0
- package/esm/public/orm/models/schema.js +94 -0
- package/esm/public/orm/models/schemaGrant.d.ts +56 -0
- package/esm/public/orm/models/schemaGrant.js +94 -0
- package/esm/public/orm/models/secretsModule.d.ts +56 -0
- package/esm/public/orm/models/secretsModule.js +94 -0
- package/esm/public/orm/models/sessionsModule.d.ts +56 -0
- package/esm/public/orm/models/sessionsModule.js +94 -0
- package/esm/public/orm/models/site.d.ts +56 -0
- package/esm/public/orm/models/site.js +94 -0
- package/esm/public/orm/models/siteMetadatum.d.ts +56 -0
- package/esm/public/orm/models/siteMetadatum.js +94 -0
- package/esm/public/orm/models/siteModule.d.ts +56 -0
- package/esm/public/orm/models/siteModule.js +94 -0
- package/esm/public/orm/models/siteTheme.d.ts +56 -0
- package/esm/public/orm/models/siteTheme.js +94 -0
- package/esm/public/orm/models/sqlMigration.d.ts +38 -0
- package/esm/public/orm/models/sqlMigration.js +72 -0
- package/esm/public/orm/models/store.d.ts +56 -0
- package/esm/public/orm/models/store.js +94 -0
- package/esm/public/orm/models/table.d.ts +56 -0
- package/esm/public/orm/models/table.js +94 -0
- package/esm/public/orm/models/tableGrant.d.ts +56 -0
- package/esm/public/orm/models/tableGrant.js +94 -0
- package/esm/public/orm/models/tableModule.d.ts +56 -0
- package/esm/public/orm/models/tableModule.js +94 -0
- package/esm/public/orm/models/tableTemplateModule.d.ts +56 -0
- package/esm/public/orm/models/tableTemplateModule.js +94 -0
- package/esm/public/orm/models/trigger.d.ts +56 -0
- package/esm/public/orm/models/trigger.js +94 -0
- package/esm/public/orm/models/triggerFunction.d.ts +56 -0
- package/esm/public/orm/models/triggerFunction.js +94 -0
- package/esm/public/orm/models/uniqueConstraint.d.ts +56 -0
- package/esm/public/orm/models/uniqueConstraint.js +94 -0
- package/esm/public/orm/models/user.d.ts +56 -0
- package/esm/public/orm/models/user.js +94 -0
- package/esm/public/orm/models/userAuthModule.d.ts +56 -0
- package/esm/public/orm/models/userAuthModule.js +94 -0
- package/esm/public/orm/models/usersModule.d.ts +56 -0
- package/esm/public/orm/models/usersModule.js +94 -0
- package/esm/public/orm/models/uuidModule.d.ts +56 -0
- package/esm/public/orm/models/uuidModule.js +94 -0
- package/esm/public/orm/models/view.d.ts +56 -0
- package/esm/public/orm/models/view.js +94 -0
- package/esm/public/orm/models/viewGrant.d.ts +56 -0
- package/esm/public/orm/models/viewGrant.js +94 -0
- package/esm/public/orm/models/viewRule.d.ts +56 -0
- package/esm/public/orm/models/viewRule.js +94 -0
- package/esm/public/orm/models/viewTable.d.ts +56 -0
- package/esm/public/orm/models/viewTable.js +94 -0
- package/esm/public/orm/mutation/index.d.ts +259 -0
- package/esm/public/orm/mutation/index.js +378 -0
- package/esm/public/orm/query/index.d.ts +168 -0
- package/esm/public/orm/query/index.js +302 -0
- package/esm/public/orm/query-builder.d.ts +89 -0
- package/esm/public/orm/query-builder.js +564 -0
- package/esm/public/orm/select-types.d.ts +101 -0
- package/esm/public/orm/select-types.js +1 -0
- package/esm/public/orm/types.d.ts +6 -0
- package/esm/public/orm/types.js +7 -0
- package/index.d.ts +12 -0
- package/index.js +48 -0
- package/objects/index.d.ts +5 -0
- package/objects/index.js +21 -0
- package/objects/orm/client.d.ts +55 -0
- package/objects/orm/client.js +105 -0
- package/objects/orm/index.d.ts +107 -0
- package/objects/orm/index.js +76 -0
- package/objects/orm/input-types.d.ts +909 -0
- package/objects/orm/input-types.js +5 -0
- package/objects/orm/models/commit.d.ts +56 -0
- package/objects/orm/models/commit.js +98 -0
- package/objects/orm/models/getAllRecord.d.ts +32 -0
- package/objects/orm/models/getAllRecord.js +55 -0
- package/objects/orm/models/index.d.ts +10 -0
- package/objects/orm/models/index.js +18 -0
- package/objects/orm/models/object.d.ts +56 -0
- package/objects/orm/models/object.js +88 -0
- package/objects/orm/models/ref.d.ts +56 -0
- package/objects/orm/models/ref.js +98 -0
- package/objects/orm/models/store.d.ts +56 -0
- package/objects/orm/models/store.js +98 -0
- package/objects/orm/mutation/index.d.ts +75 -0
- package/objects/orm/mutation/index.js +105 -0
- package/objects/orm/query/index.d.ts +57 -0
- package/objects/orm/query/index.js +113 -0
- package/objects/orm/query-builder.d.ts +89 -0
- package/objects/orm/query-builder.js +611 -0
- package/objects/orm/select-types.d.ts +101 -0
- package/objects/orm/select-types.js +2 -0
- package/objects/orm/types.d.ts +6 -0
- package/objects/orm/types.js +23 -0
- package/package.json +54 -0
- package/public/index.d.ts +5 -0
- package/public/index.js +21 -0
- package/public/orm/client.d.ts +55 -0
- package/public/orm/client.js +105 -0
- package/public/orm/index.d.ts +480 -0
- package/public/orm/index.js +264 -0
- package/public/orm/input-types.d.ts +15987 -0
- package/public/orm/input-types.js +131 -0
- package/public/orm/models/api.d.ts +56 -0
- package/public/orm/models/api.js +98 -0
- package/public/orm/models/apiModule.d.ts +56 -0
- package/public/orm/models/apiModule.js +98 -0
- package/public/orm/models/apiSchema.d.ts +56 -0
- package/public/orm/models/apiSchema.js +98 -0
- package/public/orm/models/app.d.ts +56 -0
- package/public/orm/models/app.js +98 -0
- package/public/orm/models/appAchievement.d.ts +56 -0
- package/public/orm/models/appAchievement.js +98 -0
- package/public/orm/models/appAdminGrant.d.ts +56 -0
- package/public/orm/models/appAdminGrant.js +98 -0
- package/public/orm/models/appGrant.d.ts +56 -0
- package/public/orm/models/appGrant.js +98 -0
- package/public/orm/models/appLevel.d.ts +56 -0
- package/public/orm/models/appLevel.js +98 -0
- package/public/orm/models/appLevelRequirement.d.ts +56 -0
- package/public/orm/models/appLevelRequirement.js +98 -0
- package/public/orm/models/appLimit.d.ts +56 -0
- package/public/orm/models/appLimit.js +98 -0
- package/public/orm/models/appLimitDefault.d.ts +56 -0
- package/public/orm/models/appLimitDefault.js +98 -0
- package/public/orm/models/appMembership.d.ts +56 -0
- package/public/orm/models/appMembership.js +98 -0
- package/public/orm/models/appMembershipDefault.d.ts +56 -0
- package/public/orm/models/appMembershipDefault.js +98 -0
- package/public/orm/models/appOwnerGrant.d.ts +56 -0
- package/public/orm/models/appOwnerGrant.js +98 -0
- package/public/orm/models/appPermission.d.ts +56 -0
- package/public/orm/models/appPermission.js +98 -0
- package/public/orm/models/appPermissionDefault.d.ts +56 -0
- package/public/orm/models/appPermissionDefault.js +98 -0
- package/public/orm/models/appStep.d.ts +56 -0
- package/public/orm/models/appStep.js +98 -0
- package/public/orm/models/astMigration.d.ts +38 -0
- package/public/orm/models/astMigration.js +76 -0
- package/public/orm/models/auditLog.d.ts +56 -0
- package/public/orm/models/auditLog.js +98 -0
- package/public/orm/models/checkConstraint.d.ts +56 -0
- package/public/orm/models/checkConstraint.js +98 -0
- package/public/orm/models/claimedInvite.d.ts +56 -0
- package/public/orm/models/claimedInvite.js +98 -0
- package/public/orm/models/commit.d.ts +56 -0
- package/public/orm/models/commit.js +98 -0
- package/public/orm/models/connectedAccount.d.ts +56 -0
- package/public/orm/models/connectedAccount.js +98 -0
- package/public/orm/models/connectedAccountsModule.d.ts +56 -0
- package/public/orm/models/connectedAccountsModule.js +98 -0
- package/public/orm/models/cryptoAddress.d.ts +56 -0
- package/public/orm/models/cryptoAddress.js +98 -0
- package/public/orm/models/cryptoAddressesModule.d.ts +56 -0
- package/public/orm/models/cryptoAddressesModule.js +98 -0
- package/public/orm/models/cryptoAuthModule.d.ts +56 -0
- package/public/orm/models/cryptoAuthModule.js +98 -0
- package/public/orm/models/database.d.ts +56 -0
- package/public/orm/models/database.js +98 -0
- package/public/orm/models/databaseProvisionModule.d.ts +56 -0
- package/public/orm/models/databaseProvisionModule.js +98 -0
- package/public/orm/models/defaultIdsModule.d.ts +56 -0
- package/public/orm/models/defaultIdsModule.js +98 -0
- package/public/orm/models/denormalizedTableField.d.ts +56 -0
- package/public/orm/models/denormalizedTableField.js +98 -0
- package/public/orm/models/domain.d.ts +56 -0
- package/public/orm/models/domain.js +98 -0
- package/public/orm/models/email.d.ts +56 -0
- package/public/orm/models/email.js +98 -0
- package/public/orm/models/emailsModule.d.ts +56 -0
- package/public/orm/models/emailsModule.js +98 -0
- package/public/orm/models/encryptedSecretsModule.d.ts +56 -0
- package/public/orm/models/encryptedSecretsModule.js +98 -0
- package/public/orm/models/field.d.ts +56 -0
- package/public/orm/models/field.js +98 -0
- package/public/orm/models/fieldModule.d.ts +56 -0
- package/public/orm/models/fieldModule.js +98 -0
- package/public/orm/models/foreignKeyConstraint.d.ts +56 -0
- package/public/orm/models/foreignKeyConstraint.js +98 -0
- package/public/orm/models/fullTextSearch.d.ts +56 -0
- package/public/orm/models/fullTextSearch.js +98 -0
- package/public/orm/models/getAllRecord.d.ts +32 -0
- package/public/orm/models/getAllRecord.js +55 -0
- package/public/orm/models/hierarchyModule.d.ts +56 -0
- package/public/orm/models/hierarchyModule.js +98 -0
- package/public/orm/models/index.d.ts +104 -0
- package/public/orm/models/index.js +207 -0
- package/public/orm/models/indexModel.d.ts +56 -0
- package/public/orm/models/indexModel.js +98 -0
- package/public/orm/models/invite.d.ts +56 -0
- package/public/orm/models/invite.js +98 -0
- package/public/orm/models/invitesModule.d.ts +56 -0
- package/public/orm/models/invitesModule.js +98 -0
- package/public/orm/models/levelsModule.d.ts +56 -0
- package/public/orm/models/levelsModule.js +98 -0
- package/public/orm/models/limitFunction.d.ts +56 -0
- package/public/orm/models/limitFunction.js +98 -0
- package/public/orm/models/limitsModule.d.ts +56 -0
- package/public/orm/models/limitsModule.js +98 -0
- package/public/orm/models/membershipType.d.ts +56 -0
- package/public/orm/models/membershipType.js +98 -0
- package/public/orm/models/membershipTypesModule.d.ts +56 -0
- package/public/orm/models/membershipTypesModule.js +98 -0
- package/public/orm/models/membershipsModule.d.ts +56 -0
- package/public/orm/models/membershipsModule.js +98 -0
- package/public/orm/models/nodeTypeRegistry.d.ts +56 -0
- package/public/orm/models/nodeTypeRegistry.js +98 -0
- package/public/orm/models/object.d.ts +56 -0
- package/public/orm/models/object.js +88 -0
- package/public/orm/models/orgAdminGrant.d.ts +56 -0
- package/public/orm/models/orgAdminGrant.js +98 -0
- package/public/orm/models/orgClaimedInvite.d.ts +56 -0
- package/public/orm/models/orgClaimedInvite.js +98 -0
- package/public/orm/models/orgGrant.d.ts +56 -0
- package/public/orm/models/orgGrant.js +98 -0
- package/public/orm/models/orgInvite.d.ts +56 -0
- package/public/orm/models/orgInvite.js +98 -0
- package/public/orm/models/orgLimit.d.ts +56 -0
- package/public/orm/models/orgLimit.js +98 -0
- package/public/orm/models/orgLimitDefault.d.ts +56 -0
- package/public/orm/models/orgLimitDefault.js +98 -0
- package/public/orm/models/orgMember.d.ts +56 -0
- package/public/orm/models/orgMember.js +98 -0
- package/public/orm/models/orgMembership.d.ts +56 -0
- package/public/orm/models/orgMembership.js +98 -0
- package/public/orm/models/orgMembershipDefault.d.ts +56 -0
- package/public/orm/models/orgMembershipDefault.js +98 -0
- package/public/orm/models/orgOwnerGrant.d.ts +56 -0
- package/public/orm/models/orgOwnerGrant.js +98 -0
- package/public/orm/models/orgPermission.d.ts +56 -0
- package/public/orm/models/orgPermission.js +98 -0
- package/public/orm/models/orgPermissionDefault.d.ts +56 -0
- package/public/orm/models/orgPermissionDefault.js +98 -0
- package/public/orm/models/permissionsModule.d.ts +56 -0
- package/public/orm/models/permissionsModule.js +98 -0
- package/public/orm/models/phoneNumber.d.ts +56 -0
- package/public/orm/models/phoneNumber.js +98 -0
- package/public/orm/models/phoneNumbersModule.d.ts +56 -0
- package/public/orm/models/phoneNumbersModule.js +98 -0
- package/public/orm/models/policy.d.ts +56 -0
- package/public/orm/models/policy.js +98 -0
- package/public/orm/models/primaryKeyConstraint.d.ts +56 -0
- package/public/orm/models/primaryKeyConstraint.js +98 -0
- package/public/orm/models/procedure.d.ts +56 -0
- package/public/orm/models/procedure.js +98 -0
- package/public/orm/models/profilesModule.d.ts +56 -0
- package/public/orm/models/profilesModule.js +98 -0
- package/public/orm/models/ref.d.ts +56 -0
- package/public/orm/models/ref.js +98 -0
- package/public/orm/models/rlsModule.d.ts +56 -0
- package/public/orm/models/rlsModule.js +98 -0
- package/public/orm/models/roleType.d.ts +56 -0
- package/public/orm/models/roleType.js +98 -0
- package/public/orm/models/schema.d.ts +56 -0
- package/public/orm/models/schema.js +98 -0
- package/public/orm/models/schemaGrant.d.ts +56 -0
- package/public/orm/models/schemaGrant.js +98 -0
- package/public/orm/models/secretsModule.d.ts +56 -0
- package/public/orm/models/secretsModule.js +98 -0
- package/public/orm/models/sessionsModule.d.ts +56 -0
- package/public/orm/models/sessionsModule.js +98 -0
- package/public/orm/models/site.d.ts +56 -0
- package/public/orm/models/site.js +98 -0
- package/public/orm/models/siteMetadatum.d.ts +56 -0
- package/public/orm/models/siteMetadatum.js +98 -0
- package/public/orm/models/siteModule.d.ts +56 -0
- package/public/orm/models/siteModule.js +98 -0
- package/public/orm/models/siteTheme.d.ts +56 -0
- package/public/orm/models/siteTheme.js +98 -0
- package/public/orm/models/sqlMigration.d.ts +38 -0
- package/public/orm/models/sqlMigration.js +76 -0
- package/public/orm/models/store.d.ts +56 -0
- package/public/orm/models/store.js +98 -0
- package/public/orm/models/table.d.ts +56 -0
- package/public/orm/models/table.js +98 -0
- package/public/orm/models/tableGrant.d.ts +56 -0
- package/public/orm/models/tableGrant.js +98 -0
- package/public/orm/models/tableModule.d.ts +56 -0
- package/public/orm/models/tableModule.js +98 -0
- package/public/orm/models/tableTemplateModule.d.ts +56 -0
- package/public/orm/models/tableTemplateModule.js +98 -0
- package/public/orm/models/trigger.d.ts +56 -0
- package/public/orm/models/trigger.js +98 -0
- package/public/orm/models/triggerFunction.d.ts +56 -0
- package/public/orm/models/triggerFunction.js +98 -0
- package/public/orm/models/uniqueConstraint.d.ts +56 -0
- package/public/orm/models/uniqueConstraint.js +98 -0
- package/public/orm/models/user.d.ts +56 -0
- package/public/orm/models/user.js +98 -0
- package/public/orm/models/userAuthModule.d.ts +56 -0
- package/public/orm/models/userAuthModule.js +98 -0
- package/public/orm/models/usersModule.d.ts +56 -0
- package/public/orm/models/usersModule.js +98 -0
- package/public/orm/models/uuidModule.d.ts +56 -0
- package/public/orm/models/uuidModule.js +98 -0
- package/public/orm/models/view.d.ts +56 -0
- package/public/orm/models/view.js +98 -0
- package/public/orm/models/viewGrant.d.ts +56 -0
- package/public/orm/models/viewGrant.js +98 -0
- package/public/orm/models/viewRule.d.ts +56 -0
- package/public/orm/models/viewRule.js +98 -0
- package/public/orm/models/viewTable.d.ts +56 -0
- package/public/orm/models/viewTable.js +98 -0
- package/public/orm/mutation/index.d.ts +259 -0
- package/public/orm/mutation/index.js +381 -0
- package/public/orm/query/index.d.ts +168 -0
- package/public/orm/query/index.js +305 -0
- package/public/orm/query-builder.d.ts +89 -0
- package/public/orm/query-builder.js +611 -0
- package/public/orm/select-types.d.ts +101 -0
- package/public/orm/select-types.js +2 -0
- package/public/orm/types.d.ts +6 -0
- package/public/orm/types.js +23 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AppAchievement 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 { AppAchievementWithRelations, AppAchievementSelect, AppAchievementFilter, AppAchievementOrderBy, CreateAppAchievementInput, AppAchievementPatch } from '../input-types';
|
|
10
|
+
export declare class AppAchievementModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends AppAchievementSelect>(args: FindManyArgs<S, AppAchievementFilter, AppAchievementOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, AppAchievementSelect>): QueryBuilder<{
|
|
16
|
+
appAchievements: ConnectionResult<InferSelectResult<AppAchievementWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends AppAchievementSelect>(args: FindFirstArgs<S, AppAchievementFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, AppAchievementSelect>): QueryBuilder<{
|
|
21
|
+
appAchievements: {
|
|
22
|
+
nodes: InferSelectResult<AppAchievementWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends AppAchievementSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, AppAchievementSelect>): QueryBuilder<{
|
|
29
|
+
appAchievement: InferSelectResult<AppAchievementWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends AppAchievementSelect>(args: CreateArgs<S, CreateAppAchievementInput['appAchievement']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, AppAchievementSelect>): QueryBuilder<{
|
|
34
|
+
createAppAchievement: {
|
|
35
|
+
appAchievement: InferSelectResult<AppAchievementWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends AppAchievementSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, AppAchievementPatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, AppAchievementSelect>): QueryBuilder<{
|
|
43
|
+
updateAppAchievement: {
|
|
44
|
+
appAchievement: InferSelectResult<AppAchievementWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends AppAchievementSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, AppAchievementSelect>): QueryBuilder<{
|
|
52
|
+
deleteAppAchievement: {
|
|
53
|
+
appAchievement: InferSelectResult<AppAchievementWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class AppAchievementModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('AppAchievement', 'appAchievements', 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
|
+
}, 'AppAchievementFilter', 'AppAchievementOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'AppAchievement',
|
|
22
|
+
fieldName: 'appAchievements',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('AppAchievement', 'appAchievements', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
}, 'AppAchievementFilter', connectionFieldsMap);
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'AppAchievement',
|
|
35
|
+
fieldName: 'appAchievements',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
findOne(args) {
|
|
41
|
+
const { document, variables } = buildFindManyDocument('AppAchievement', 'appAchievements', args.select, {
|
|
42
|
+
where: {
|
|
43
|
+
id: {
|
|
44
|
+
equalTo: args.id,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
first: 1,
|
|
48
|
+
}, 'AppAchievementFilter', 'AppAchievementOrderBy', connectionFieldsMap);
|
|
49
|
+
return new QueryBuilder({
|
|
50
|
+
client: this.client,
|
|
51
|
+
operation: 'query',
|
|
52
|
+
operationName: 'AppAchievement',
|
|
53
|
+
fieldName: 'appAchievement',
|
|
54
|
+
document,
|
|
55
|
+
variables,
|
|
56
|
+
transform: (data) => ({
|
|
57
|
+
appAchievement: data.appAchievements?.nodes?.[0] ?? null,
|
|
58
|
+
}),
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
create(args) {
|
|
62
|
+
const { document, variables } = buildCreateDocument('AppAchievement', 'createAppAchievement', 'appAchievement', args.select, args.data, 'CreateAppAchievementInput', connectionFieldsMap);
|
|
63
|
+
return new QueryBuilder({
|
|
64
|
+
client: this.client,
|
|
65
|
+
operation: 'mutation',
|
|
66
|
+
operationName: 'AppAchievement',
|
|
67
|
+
fieldName: 'createAppAchievement',
|
|
68
|
+
document,
|
|
69
|
+
variables,
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
update(args) {
|
|
73
|
+
const { document, variables } = buildUpdateByPkDocument('AppAchievement', 'updateAppAchievement', 'appAchievement', args.select, args.where.id, args.data, 'UpdateAppAchievementInput', 'id', 'appAchievementPatch', connectionFieldsMap);
|
|
74
|
+
return new QueryBuilder({
|
|
75
|
+
client: this.client,
|
|
76
|
+
operation: 'mutation',
|
|
77
|
+
operationName: 'AppAchievement',
|
|
78
|
+
fieldName: 'updateAppAchievement',
|
|
79
|
+
document,
|
|
80
|
+
variables,
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
delete(args) {
|
|
84
|
+
const { document, variables } = buildDeleteByPkDocument('AppAchievement', 'deleteAppAchievement', 'appAchievement', args.where.id, 'DeleteAppAchievementInput', 'id', args.select, connectionFieldsMap);
|
|
85
|
+
return new QueryBuilder({
|
|
86
|
+
client: this.client,
|
|
87
|
+
operation: 'mutation',
|
|
88
|
+
operationName: 'AppAchievement',
|
|
89
|
+
fieldName: 'deleteAppAchievement',
|
|
90
|
+
document,
|
|
91
|
+
variables,
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AppAdminGrant 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 { AppAdminGrantWithRelations, AppAdminGrantSelect, AppAdminGrantFilter, AppAdminGrantOrderBy, CreateAppAdminGrantInput, AppAdminGrantPatch } from '../input-types';
|
|
10
|
+
export declare class AppAdminGrantModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends AppAdminGrantSelect>(args: FindManyArgs<S, AppAdminGrantFilter, AppAdminGrantOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, AppAdminGrantSelect>): QueryBuilder<{
|
|
16
|
+
appAdminGrants: ConnectionResult<InferSelectResult<AppAdminGrantWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends AppAdminGrantSelect>(args: FindFirstArgs<S, AppAdminGrantFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, AppAdminGrantSelect>): QueryBuilder<{
|
|
21
|
+
appAdminGrants: {
|
|
22
|
+
nodes: InferSelectResult<AppAdminGrantWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends AppAdminGrantSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, AppAdminGrantSelect>): QueryBuilder<{
|
|
29
|
+
appAdminGrant: InferSelectResult<AppAdminGrantWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends AppAdminGrantSelect>(args: CreateArgs<S, CreateAppAdminGrantInput['appAdminGrant']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, AppAdminGrantSelect>): QueryBuilder<{
|
|
34
|
+
createAppAdminGrant: {
|
|
35
|
+
appAdminGrant: InferSelectResult<AppAdminGrantWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends AppAdminGrantSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, AppAdminGrantPatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, AppAdminGrantSelect>): QueryBuilder<{
|
|
43
|
+
updateAppAdminGrant: {
|
|
44
|
+
appAdminGrant: InferSelectResult<AppAdminGrantWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends AppAdminGrantSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, AppAdminGrantSelect>): QueryBuilder<{
|
|
52
|
+
deleteAppAdminGrant: {
|
|
53
|
+
appAdminGrant: InferSelectResult<AppAdminGrantWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class AppAdminGrantModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('AppAdminGrant', 'appAdminGrants', 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
|
+
}, 'AppAdminGrantFilter', 'AppAdminGrantOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'AppAdminGrant',
|
|
22
|
+
fieldName: 'appAdminGrants',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('AppAdminGrant', 'appAdminGrants', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
}, 'AppAdminGrantFilter', connectionFieldsMap);
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'AppAdminGrant',
|
|
35
|
+
fieldName: 'appAdminGrants',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
findOne(args) {
|
|
41
|
+
const { document, variables } = buildFindManyDocument('AppAdminGrant', 'appAdminGrants', args.select, {
|
|
42
|
+
where: {
|
|
43
|
+
id: {
|
|
44
|
+
equalTo: args.id,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
first: 1,
|
|
48
|
+
}, 'AppAdminGrantFilter', 'AppAdminGrantOrderBy', connectionFieldsMap);
|
|
49
|
+
return new QueryBuilder({
|
|
50
|
+
client: this.client,
|
|
51
|
+
operation: 'query',
|
|
52
|
+
operationName: 'AppAdminGrant',
|
|
53
|
+
fieldName: 'appAdminGrant',
|
|
54
|
+
document,
|
|
55
|
+
variables,
|
|
56
|
+
transform: (data) => ({
|
|
57
|
+
appAdminGrant: data.appAdminGrants?.nodes?.[0] ?? null,
|
|
58
|
+
}),
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
create(args) {
|
|
62
|
+
const { document, variables } = buildCreateDocument('AppAdminGrant', 'createAppAdminGrant', 'appAdminGrant', args.select, args.data, 'CreateAppAdminGrantInput', connectionFieldsMap);
|
|
63
|
+
return new QueryBuilder({
|
|
64
|
+
client: this.client,
|
|
65
|
+
operation: 'mutation',
|
|
66
|
+
operationName: 'AppAdminGrant',
|
|
67
|
+
fieldName: 'createAppAdminGrant',
|
|
68
|
+
document,
|
|
69
|
+
variables,
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
update(args) {
|
|
73
|
+
const { document, variables } = buildUpdateByPkDocument('AppAdminGrant', 'updateAppAdminGrant', 'appAdminGrant', args.select, args.where.id, args.data, 'UpdateAppAdminGrantInput', 'id', 'appAdminGrantPatch', connectionFieldsMap);
|
|
74
|
+
return new QueryBuilder({
|
|
75
|
+
client: this.client,
|
|
76
|
+
operation: 'mutation',
|
|
77
|
+
operationName: 'AppAdminGrant',
|
|
78
|
+
fieldName: 'updateAppAdminGrant',
|
|
79
|
+
document,
|
|
80
|
+
variables,
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
delete(args) {
|
|
84
|
+
const { document, variables } = buildDeleteByPkDocument('AppAdminGrant', 'deleteAppAdminGrant', 'appAdminGrant', args.where.id, 'DeleteAppAdminGrantInput', 'id', args.select, connectionFieldsMap);
|
|
85
|
+
return new QueryBuilder({
|
|
86
|
+
client: this.client,
|
|
87
|
+
operation: 'mutation',
|
|
88
|
+
operationName: 'AppAdminGrant',
|
|
89
|
+
fieldName: 'deleteAppAdminGrant',
|
|
90
|
+
document,
|
|
91
|
+
variables,
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AppGrant 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 { AppGrantWithRelations, AppGrantSelect, AppGrantFilter, AppGrantOrderBy, CreateAppGrantInput, AppGrantPatch } from '../input-types';
|
|
10
|
+
export declare class AppGrantModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends AppGrantSelect>(args: FindManyArgs<S, AppGrantFilter, AppGrantOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, AppGrantSelect>): QueryBuilder<{
|
|
16
|
+
appGrants: ConnectionResult<InferSelectResult<AppGrantWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends AppGrantSelect>(args: FindFirstArgs<S, AppGrantFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, AppGrantSelect>): QueryBuilder<{
|
|
21
|
+
appGrants: {
|
|
22
|
+
nodes: InferSelectResult<AppGrantWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends AppGrantSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, AppGrantSelect>): QueryBuilder<{
|
|
29
|
+
appGrant: InferSelectResult<AppGrantWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends AppGrantSelect>(args: CreateArgs<S, CreateAppGrantInput['appGrant']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, AppGrantSelect>): QueryBuilder<{
|
|
34
|
+
createAppGrant: {
|
|
35
|
+
appGrant: InferSelectResult<AppGrantWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends AppGrantSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, AppGrantPatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, AppGrantSelect>): QueryBuilder<{
|
|
43
|
+
updateAppGrant: {
|
|
44
|
+
appGrant: InferSelectResult<AppGrantWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends AppGrantSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, AppGrantSelect>): QueryBuilder<{
|
|
52
|
+
deleteAppGrant: {
|
|
53
|
+
appGrant: InferSelectResult<AppGrantWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class AppGrantModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('AppGrant', 'appGrants', 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
|
+
}, 'AppGrantFilter', 'AppGrantOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'AppGrant',
|
|
22
|
+
fieldName: 'appGrants',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('AppGrant', 'appGrants', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
}, 'AppGrantFilter', connectionFieldsMap);
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'AppGrant',
|
|
35
|
+
fieldName: 'appGrants',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
findOne(args) {
|
|
41
|
+
const { document, variables } = buildFindManyDocument('AppGrant', 'appGrants', args.select, {
|
|
42
|
+
where: {
|
|
43
|
+
id: {
|
|
44
|
+
equalTo: args.id,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
first: 1,
|
|
48
|
+
}, 'AppGrantFilter', 'AppGrantOrderBy', connectionFieldsMap);
|
|
49
|
+
return new QueryBuilder({
|
|
50
|
+
client: this.client,
|
|
51
|
+
operation: 'query',
|
|
52
|
+
operationName: 'AppGrant',
|
|
53
|
+
fieldName: 'appGrant',
|
|
54
|
+
document,
|
|
55
|
+
variables,
|
|
56
|
+
transform: (data) => ({
|
|
57
|
+
appGrant: data.appGrants?.nodes?.[0] ?? null,
|
|
58
|
+
}),
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
create(args) {
|
|
62
|
+
const { document, variables } = buildCreateDocument('AppGrant', 'createAppGrant', 'appGrant', args.select, args.data, 'CreateAppGrantInput', connectionFieldsMap);
|
|
63
|
+
return new QueryBuilder({
|
|
64
|
+
client: this.client,
|
|
65
|
+
operation: 'mutation',
|
|
66
|
+
operationName: 'AppGrant',
|
|
67
|
+
fieldName: 'createAppGrant',
|
|
68
|
+
document,
|
|
69
|
+
variables,
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
update(args) {
|
|
73
|
+
const { document, variables } = buildUpdateByPkDocument('AppGrant', 'updateAppGrant', 'appGrant', args.select, args.where.id, args.data, 'UpdateAppGrantInput', 'id', 'appGrantPatch', connectionFieldsMap);
|
|
74
|
+
return new QueryBuilder({
|
|
75
|
+
client: this.client,
|
|
76
|
+
operation: 'mutation',
|
|
77
|
+
operationName: 'AppGrant',
|
|
78
|
+
fieldName: 'updateAppGrant',
|
|
79
|
+
document,
|
|
80
|
+
variables,
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
delete(args) {
|
|
84
|
+
const { document, variables } = buildDeleteByPkDocument('AppGrant', 'deleteAppGrant', 'appGrant', args.where.id, 'DeleteAppGrantInput', 'id', args.select, connectionFieldsMap);
|
|
85
|
+
return new QueryBuilder({
|
|
86
|
+
client: this.client,
|
|
87
|
+
operation: 'mutation',
|
|
88
|
+
operationName: 'AppGrant',
|
|
89
|
+
fieldName: 'deleteAppGrant',
|
|
90
|
+
document,
|
|
91
|
+
variables,
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AppLevel 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 { AppLevelWithRelations, AppLevelSelect, AppLevelFilter, AppLevelOrderBy, CreateAppLevelInput, AppLevelPatch } from '../input-types';
|
|
10
|
+
export declare class AppLevelModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends AppLevelSelect>(args: FindManyArgs<S, AppLevelFilter, AppLevelOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
|
|
16
|
+
appLevels: ConnectionResult<InferSelectResult<AppLevelWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends AppLevelSelect>(args: FindFirstArgs<S, AppLevelFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
|
|
21
|
+
appLevels: {
|
|
22
|
+
nodes: InferSelectResult<AppLevelWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends AppLevelSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
|
|
29
|
+
appLevel: InferSelectResult<AppLevelWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends AppLevelSelect>(args: CreateArgs<S, CreateAppLevelInput['appLevel']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
|
|
34
|
+
createAppLevel: {
|
|
35
|
+
appLevel: InferSelectResult<AppLevelWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends AppLevelSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, AppLevelPatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
|
|
43
|
+
updateAppLevel: {
|
|
44
|
+
appLevel: InferSelectResult<AppLevelWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends AppLevelSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
|
|
52
|
+
deleteAppLevel: {
|
|
53
|
+
appLevel: InferSelectResult<AppLevelWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class AppLevelModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('AppLevel', 'appLevels', 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
|
+
}, 'AppLevelFilter', 'AppLevelOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'AppLevel',
|
|
22
|
+
fieldName: 'appLevels',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('AppLevel', 'appLevels', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
}, 'AppLevelFilter', connectionFieldsMap);
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'AppLevel',
|
|
35
|
+
fieldName: 'appLevels',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
findOne(args) {
|
|
41
|
+
const { document, variables } = buildFindManyDocument('AppLevel', 'appLevels', args.select, {
|
|
42
|
+
where: {
|
|
43
|
+
id: {
|
|
44
|
+
equalTo: args.id,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
first: 1,
|
|
48
|
+
}, 'AppLevelFilter', 'AppLevelOrderBy', connectionFieldsMap);
|
|
49
|
+
return new QueryBuilder({
|
|
50
|
+
client: this.client,
|
|
51
|
+
operation: 'query',
|
|
52
|
+
operationName: 'AppLevel',
|
|
53
|
+
fieldName: 'appLevel',
|
|
54
|
+
document,
|
|
55
|
+
variables,
|
|
56
|
+
transform: (data) => ({
|
|
57
|
+
appLevel: data.appLevels?.nodes?.[0] ?? null,
|
|
58
|
+
}),
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
create(args) {
|
|
62
|
+
const { document, variables } = buildCreateDocument('AppLevel', 'createAppLevel', 'appLevel', args.select, args.data, 'CreateAppLevelInput', connectionFieldsMap);
|
|
63
|
+
return new QueryBuilder({
|
|
64
|
+
client: this.client,
|
|
65
|
+
operation: 'mutation',
|
|
66
|
+
operationName: 'AppLevel',
|
|
67
|
+
fieldName: 'createAppLevel',
|
|
68
|
+
document,
|
|
69
|
+
variables,
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
update(args) {
|
|
73
|
+
const { document, variables } = buildUpdateByPkDocument('AppLevel', 'updateAppLevel', 'appLevel', args.select, args.where.id, args.data, 'UpdateAppLevelInput', 'id', 'appLevelPatch', connectionFieldsMap);
|
|
74
|
+
return new QueryBuilder({
|
|
75
|
+
client: this.client,
|
|
76
|
+
operation: 'mutation',
|
|
77
|
+
operationName: 'AppLevel',
|
|
78
|
+
fieldName: 'updateAppLevel',
|
|
79
|
+
document,
|
|
80
|
+
variables,
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
delete(args) {
|
|
84
|
+
const { document, variables } = buildDeleteByPkDocument('AppLevel', 'deleteAppLevel', 'appLevel', args.where.id, 'DeleteAppLevelInput', 'id', args.select, connectionFieldsMap);
|
|
85
|
+
return new QueryBuilder({
|
|
86
|
+
client: this.client,
|
|
87
|
+
operation: 'mutation',
|
|
88
|
+
operationName: 'AppLevel',
|
|
89
|
+
fieldName: 'deleteAppLevel',
|
|
90
|
+
document,
|
|
91
|
+
variables,
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AppLevelRequirement 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 { AppLevelRequirementWithRelations, AppLevelRequirementSelect, AppLevelRequirementFilter, AppLevelRequirementOrderBy, CreateAppLevelRequirementInput, AppLevelRequirementPatch } from '../input-types';
|
|
10
|
+
export declare class AppLevelRequirementModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends AppLevelRequirementSelect>(args: FindManyArgs<S, AppLevelRequirementFilter, AppLevelRequirementOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
|
|
16
|
+
appLevelRequirements: ConnectionResult<InferSelectResult<AppLevelRequirementWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends AppLevelRequirementSelect>(args: FindFirstArgs<S, AppLevelRequirementFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
|
|
21
|
+
appLevelRequirements: {
|
|
22
|
+
nodes: InferSelectResult<AppLevelRequirementWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends AppLevelRequirementSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
|
|
29
|
+
appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends AppLevelRequirementSelect>(args: CreateArgs<S, CreateAppLevelRequirementInput['appLevelRequirement']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
|
|
34
|
+
createAppLevelRequirement: {
|
|
35
|
+
appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends AppLevelRequirementSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, AppLevelRequirementPatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
|
|
43
|
+
updateAppLevelRequirement: {
|
|
44
|
+
appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends AppLevelRequirementSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
|
|
52
|
+
deleteAppLevelRequirement: {
|
|
53
|
+
appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|