@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,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.connectionFieldsMap = void 0;
|
|
4
|
+
// ============ Connection Fields Map ============
|
|
5
|
+
exports.connectionFieldsMap = {
|
|
6
|
+
Database: {
|
|
7
|
+
schemas: 'Schema',
|
|
8
|
+
tables: 'Table',
|
|
9
|
+
checkConstraints: 'CheckConstraint',
|
|
10
|
+
fields: 'Field',
|
|
11
|
+
foreignKeyConstraints: 'ForeignKeyConstraint',
|
|
12
|
+
fullTextSearches: 'FullTextSearch',
|
|
13
|
+
indices: 'Index',
|
|
14
|
+
limitFunctions: 'LimitFunction',
|
|
15
|
+
policies: 'Policy',
|
|
16
|
+
primaryKeyConstraints: 'PrimaryKeyConstraint',
|
|
17
|
+
procedures: 'Procedure',
|
|
18
|
+
schemaGrants: 'SchemaGrant',
|
|
19
|
+
tableGrants: 'TableGrant',
|
|
20
|
+
triggerFunctions: 'TriggerFunction',
|
|
21
|
+
triggers: 'Trigger',
|
|
22
|
+
uniqueConstraints: 'UniqueConstraint',
|
|
23
|
+
views: 'View',
|
|
24
|
+
viewGrants: 'ViewGrant',
|
|
25
|
+
viewRules: 'ViewRule',
|
|
26
|
+
apis: 'Api',
|
|
27
|
+
apiModules: 'ApiModule',
|
|
28
|
+
apiSchemas: 'ApiSchema',
|
|
29
|
+
sites: 'Site',
|
|
30
|
+
apps: 'App',
|
|
31
|
+
domains: 'Domain',
|
|
32
|
+
siteMetadata: 'SiteMetadatum',
|
|
33
|
+
siteModules: 'SiteModule',
|
|
34
|
+
siteThemes: 'SiteTheme',
|
|
35
|
+
connectedAccountsModules: 'ConnectedAccountsModule',
|
|
36
|
+
cryptoAddressesModules: 'CryptoAddressesModule',
|
|
37
|
+
cryptoAuthModules: 'CryptoAuthModule',
|
|
38
|
+
defaultIdsModules: 'DefaultIdsModule',
|
|
39
|
+
denormalizedTableFields: 'DenormalizedTableField',
|
|
40
|
+
emailsModules: 'EmailsModule',
|
|
41
|
+
encryptedSecretsModules: 'EncryptedSecretsModule',
|
|
42
|
+
fieldModules: 'FieldModule',
|
|
43
|
+
tableModules: 'TableModule',
|
|
44
|
+
invitesModules: 'InvitesModule',
|
|
45
|
+
levelsModules: 'LevelsModule',
|
|
46
|
+
limitsModules: 'LimitsModule',
|
|
47
|
+
membershipTypesModules: 'MembershipTypesModule',
|
|
48
|
+
membershipsModules: 'MembershipsModule',
|
|
49
|
+
permissionsModules: 'PermissionsModule',
|
|
50
|
+
phoneNumbersModules: 'PhoneNumbersModule',
|
|
51
|
+
profilesModules: 'ProfilesModule',
|
|
52
|
+
rlsModules: 'RlsModule',
|
|
53
|
+
secretsModules: 'SecretsModule',
|
|
54
|
+
sessionsModules: 'SessionsModule',
|
|
55
|
+
userAuthModules: 'UserAuthModule',
|
|
56
|
+
usersModules: 'UsersModule',
|
|
57
|
+
uuidModules: 'UuidModule',
|
|
58
|
+
tableTemplateModules: 'TableTemplateModule',
|
|
59
|
+
databaseProvisionModules: 'DatabaseProvisionModule',
|
|
60
|
+
},
|
|
61
|
+
Schema: {
|
|
62
|
+
tables: 'Table',
|
|
63
|
+
schemaGrants: 'SchemaGrant',
|
|
64
|
+
views: 'View',
|
|
65
|
+
apiSchemas: 'ApiSchema',
|
|
66
|
+
tableTemplateModulesByPrivateSchemaId: 'TableTemplateModule',
|
|
67
|
+
tableTemplateModules: 'TableTemplateModule',
|
|
68
|
+
},
|
|
69
|
+
Table: {
|
|
70
|
+
checkConstraints: 'CheckConstraint',
|
|
71
|
+
fields: 'Field',
|
|
72
|
+
foreignKeyConstraints: 'ForeignKeyConstraint',
|
|
73
|
+
fullTextSearches: 'FullTextSearch',
|
|
74
|
+
indices: 'Index',
|
|
75
|
+
limitFunctions: 'LimitFunction',
|
|
76
|
+
policies: 'Policy',
|
|
77
|
+
primaryKeyConstraints: 'PrimaryKeyConstraint',
|
|
78
|
+
tableGrants: 'TableGrant',
|
|
79
|
+
triggers: 'Trigger',
|
|
80
|
+
uniqueConstraints: 'UniqueConstraint',
|
|
81
|
+
views: 'View',
|
|
82
|
+
viewTables: 'ViewTable',
|
|
83
|
+
tableModules: 'TableModule',
|
|
84
|
+
tableTemplateModulesByOwnerTableId: 'TableTemplateModule',
|
|
85
|
+
tableTemplateModules: 'TableTemplateModule',
|
|
86
|
+
},
|
|
87
|
+
View: {
|
|
88
|
+
viewTables: 'ViewTable',
|
|
89
|
+
viewGrants: 'ViewGrant',
|
|
90
|
+
viewRules: 'ViewRule',
|
|
91
|
+
},
|
|
92
|
+
Api: {
|
|
93
|
+
apiModules: 'ApiModule',
|
|
94
|
+
apiSchemas: 'ApiSchema',
|
|
95
|
+
domains: 'Domain',
|
|
96
|
+
},
|
|
97
|
+
Site: {
|
|
98
|
+
domains: 'Domain',
|
|
99
|
+
siteMetadata: 'SiteMetadatum',
|
|
100
|
+
siteModules: 'SiteModule',
|
|
101
|
+
siteThemes: 'SiteTheme',
|
|
102
|
+
},
|
|
103
|
+
User: {
|
|
104
|
+
ownedDatabases: 'Database',
|
|
105
|
+
appAdminGrantsByGrantorId: 'AppAdminGrant',
|
|
106
|
+
appOwnerGrantsByGrantorId: 'AppOwnerGrant',
|
|
107
|
+
appGrantsByGrantorId: 'AppGrant',
|
|
108
|
+
orgMembershipsByActorId: 'OrgMembership',
|
|
109
|
+
orgMembershipsByEntityId: 'OrgMembership',
|
|
110
|
+
orgMembersByActorId: 'OrgMember',
|
|
111
|
+
orgMembersByEntityId: 'OrgMember',
|
|
112
|
+
orgAdminGrantsByEntityId: 'OrgAdminGrant',
|
|
113
|
+
orgAdminGrantsByGrantorId: 'OrgAdminGrant',
|
|
114
|
+
orgOwnerGrantsByEntityId: 'OrgOwnerGrant',
|
|
115
|
+
orgOwnerGrantsByGrantorId: 'OrgOwnerGrant',
|
|
116
|
+
orgGrantsByEntityId: 'OrgGrant',
|
|
117
|
+
orgGrantsByGrantorId: 'OrgGrant',
|
|
118
|
+
appLimitsByActorId: 'AppLimit',
|
|
119
|
+
orgLimitsByActorId: 'OrgLimit',
|
|
120
|
+
orgLimitsByEntityId: 'OrgLimit',
|
|
121
|
+
appStepsByActorId: 'AppStep',
|
|
122
|
+
appAchievementsByActorId: 'AppAchievement',
|
|
123
|
+
invitesBySenderId: 'Invite',
|
|
124
|
+
claimedInvitesByReceiverId: 'ClaimedInvite',
|
|
125
|
+
claimedInvitesBySenderId: 'ClaimedInvite',
|
|
126
|
+
orgInvitesByEntityId: 'OrgInvite',
|
|
127
|
+
orgInvitesBySenderId: 'OrgInvite',
|
|
128
|
+
orgClaimedInvitesByReceiverId: 'OrgClaimedInvite',
|
|
129
|
+
orgClaimedInvitesBySenderId: 'OrgClaimedInvite',
|
|
130
|
+
},
|
|
131
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Api 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 { ApiWithRelations, ApiSelect, ApiFilter, ApiOrderBy, CreateApiInput, ApiPatch } from '../input-types';
|
|
10
|
+
export declare class ApiModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends ApiSelect>(args: FindManyArgs<S, ApiFilter, ApiOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, ApiSelect>): QueryBuilder<{
|
|
16
|
+
apis: ConnectionResult<InferSelectResult<ApiWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends ApiSelect>(args: FindFirstArgs<S, ApiFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, ApiSelect>): QueryBuilder<{
|
|
21
|
+
apis: {
|
|
22
|
+
nodes: InferSelectResult<ApiWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends ApiSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, ApiSelect>): QueryBuilder<{
|
|
29
|
+
api: InferSelectResult<ApiWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends ApiSelect>(args: CreateArgs<S, CreateApiInput['api']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, ApiSelect>): QueryBuilder<{
|
|
34
|
+
createApi: {
|
|
35
|
+
api: InferSelectResult<ApiWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends ApiSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, ApiPatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, ApiSelect>): QueryBuilder<{
|
|
43
|
+
updateApi: {
|
|
44
|
+
api: InferSelectResult<ApiWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends ApiSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, ApiSelect>): QueryBuilder<{
|
|
52
|
+
deleteApi: {
|
|
53
|
+
api: InferSelectResult<ApiWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApiModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class ApiModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('Api', 'apis', 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
|
+
}, 'ApiFilter', 'ApiOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'Api',
|
|
25
|
+
fieldName: 'apis',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('Api', 'apis', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
}, 'ApiFilter', input_types_1.connectionFieldsMap);
|
|
34
|
+
return new query_builder_1.QueryBuilder({
|
|
35
|
+
client: this.client,
|
|
36
|
+
operation: 'query',
|
|
37
|
+
operationName: 'Api',
|
|
38
|
+
fieldName: 'apis',
|
|
39
|
+
document,
|
|
40
|
+
variables,
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
findOne(args) {
|
|
44
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('Api', 'apis', args.select, {
|
|
45
|
+
where: {
|
|
46
|
+
id: {
|
|
47
|
+
equalTo: args.id,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
first: 1,
|
|
51
|
+
}, 'ApiFilter', 'ApiOrderBy', input_types_1.connectionFieldsMap);
|
|
52
|
+
return new query_builder_1.QueryBuilder({
|
|
53
|
+
client: this.client,
|
|
54
|
+
operation: 'query',
|
|
55
|
+
operationName: 'Api',
|
|
56
|
+
fieldName: 'api',
|
|
57
|
+
document,
|
|
58
|
+
variables,
|
|
59
|
+
transform: (data) => ({
|
|
60
|
+
api: data.apis?.nodes?.[0] ?? null,
|
|
61
|
+
}),
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
create(args) {
|
|
65
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('Api', 'createApi', 'api', args.select, args.data, 'CreateApiInput', input_types_1.connectionFieldsMap);
|
|
66
|
+
return new query_builder_1.QueryBuilder({
|
|
67
|
+
client: this.client,
|
|
68
|
+
operation: 'mutation',
|
|
69
|
+
operationName: 'Api',
|
|
70
|
+
fieldName: 'createApi',
|
|
71
|
+
document,
|
|
72
|
+
variables,
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
update(args) {
|
|
76
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('Api', 'updateApi', 'api', args.select, args.where.id, args.data, 'UpdateApiInput', 'id', 'apiPatch', input_types_1.connectionFieldsMap);
|
|
77
|
+
return new query_builder_1.QueryBuilder({
|
|
78
|
+
client: this.client,
|
|
79
|
+
operation: 'mutation',
|
|
80
|
+
operationName: 'Api',
|
|
81
|
+
fieldName: 'updateApi',
|
|
82
|
+
document,
|
|
83
|
+
variables,
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
delete(args) {
|
|
87
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('Api', 'deleteApi', 'api', args.where.id, 'DeleteApiInput', 'id', args.select, input_types_1.connectionFieldsMap);
|
|
88
|
+
return new query_builder_1.QueryBuilder({
|
|
89
|
+
client: this.client,
|
|
90
|
+
operation: 'mutation',
|
|
91
|
+
operationName: 'Api',
|
|
92
|
+
fieldName: 'deleteApi',
|
|
93
|
+
document,
|
|
94
|
+
variables,
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.ApiModel = ApiModel;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ApiModule 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 { ApiModuleWithRelations, ApiModuleSelect, ApiModuleFilter, ApiModuleOrderBy, CreateApiModuleInput, ApiModulePatch } from '../input-types';
|
|
10
|
+
export declare class ApiModuleModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends ApiModuleSelect>(args: FindManyArgs<S, ApiModuleFilter, ApiModuleOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
16
|
+
apiModules: ConnectionResult<InferSelectResult<ApiModuleWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends ApiModuleSelect>(args: FindFirstArgs<S, ApiModuleFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
21
|
+
apiModules: {
|
|
22
|
+
nodes: InferSelectResult<ApiModuleWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends ApiModuleSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
29
|
+
apiModule: InferSelectResult<ApiModuleWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends ApiModuleSelect>(args: CreateArgs<S, CreateApiModuleInput['apiModule']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
34
|
+
createApiModule: {
|
|
35
|
+
apiModule: InferSelectResult<ApiModuleWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends ApiModuleSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, ApiModulePatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
43
|
+
updateApiModule: {
|
|
44
|
+
apiModule: InferSelectResult<ApiModuleWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends ApiModuleSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
52
|
+
deleteApiModule: {
|
|
53
|
+
apiModule: InferSelectResult<ApiModuleWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApiModuleModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class ApiModuleModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('ApiModule', 'apiModules', 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
|
+
}, 'ApiModuleFilter', 'ApiModuleOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'ApiModule',
|
|
25
|
+
fieldName: 'apiModules',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('ApiModule', 'apiModules', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
}, 'ApiModuleFilter', input_types_1.connectionFieldsMap);
|
|
34
|
+
return new query_builder_1.QueryBuilder({
|
|
35
|
+
client: this.client,
|
|
36
|
+
operation: 'query',
|
|
37
|
+
operationName: 'ApiModule',
|
|
38
|
+
fieldName: 'apiModules',
|
|
39
|
+
document,
|
|
40
|
+
variables,
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
findOne(args) {
|
|
44
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('ApiModule', 'apiModules', args.select, {
|
|
45
|
+
where: {
|
|
46
|
+
id: {
|
|
47
|
+
equalTo: args.id,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
first: 1,
|
|
51
|
+
}, 'ApiModuleFilter', 'ApiModuleOrderBy', input_types_1.connectionFieldsMap);
|
|
52
|
+
return new query_builder_1.QueryBuilder({
|
|
53
|
+
client: this.client,
|
|
54
|
+
operation: 'query',
|
|
55
|
+
operationName: 'ApiModule',
|
|
56
|
+
fieldName: 'apiModule',
|
|
57
|
+
document,
|
|
58
|
+
variables,
|
|
59
|
+
transform: (data) => ({
|
|
60
|
+
apiModule: data.apiModules?.nodes?.[0] ?? null,
|
|
61
|
+
}),
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
create(args) {
|
|
65
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('ApiModule', 'createApiModule', 'apiModule', args.select, args.data, 'CreateApiModuleInput', input_types_1.connectionFieldsMap);
|
|
66
|
+
return new query_builder_1.QueryBuilder({
|
|
67
|
+
client: this.client,
|
|
68
|
+
operation: 'mutation',
|
|
69
|
+
operationName: 'ApiModule',
|
|
70
|
+
fieldName: 'createApiModule',
|
|
71
|
+
document,
|
|
72
|
+
variables,
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
update(args) {
|
|
76
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('ApiModule', 'updateApiModule', 'apiModule', args.select, args.where.id, args.data, 'UpdateApiModuleInput', 'id', 'apiModulePatch', input_types_1.connectionFieldsMap);
|
|
77
|
+
return new query_builder_1.QueryBuilder({
|
|
78
|
+
client: this.client,
|
|
79
|
+
operation: 'mutation',
|
|
80
|
+
operationName: 'ApiModule',
|
|
81
|
+
fieldName: 'updateApiModule',
|
|
82
|
+
document,
|
|
83
|
+
variables,
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
delete(args) {
|
|
87
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('ApiModule', 'deleteApiModule', 'apiModule', args.where.id, 'DeleteApiModuleInput', 'id', args.select, input_types_1.connectionFieldsMap);
|
|
88
|
+
return new query_builder_1.QueryBuilder({
|
|
89
|
+
client: this.client,
|
|
90
|
+
operation: 'mutation',
|
|
91
|
+
operationName: 'ApiModule',
|
|
92
|
+
fieldName: 'deleteApiModule',
|
|
93
|
+
document,
|
|
94
|
+
variables,
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.ApiModuleModel = ApiModuleModel;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ApiSchema 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 { ApiSchemaWithRelations, ApiSchemaSelect, ApiSchemaFilter, ApiSchemaOrderBy, CreateApiSchemaInput, ApiSchemaPatch } from '../input-types';
|
|
10
|
+
export declare class ApiSchemaModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends ApiSchemaSelect>(args: FindManyArgs<S, ApiSchemaFilter, ApiSchemaOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, ApiSchemaSelect>): QueryBuilder<{
|
|
16
|
+
apiSchemas: ConnectionResult<InferSelectResult<ApiSchemaWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends ApiSchemaSelect>(args: FindFirstArgs<S, ApiSchemaFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, ApiSchemaSelect>): QueryBuilder<{
|
|
21
|
+
apiSchemas: {
|
|
22
|
+
nodes: InferSelectResult<ApiSchemaWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends ApiSchemaSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, ApiSchemaSelect>): QueryBuilder<{
|
|
29
|
+
apiSchema: InferSelectResult<ApiSchemaWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends ApiSchemaSelect>(args: CreateArgs<S, CreateApiSchemaInput['apiSchema']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, ApiSchemaSelect>): QueryBuilder<{
|
|
34
|
+
createApiSchema: {
|
|
35
|
+
apiSchema: InferSelectResult<ApiSchemaWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends ApiSchemaSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, ApiSchemaPatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, ApiSchemaSelect>): QueryBuilder<{
|
|
43
|
+
updateApiSchema: {
|
|
44
|
+
apiSchema: InferSelectResult<ApiSchemaWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends ApiSchemaSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, ApiSchemaSelect>): QueryBuilder<{
|
|
52
|
+
deleteApiSchema: {
|
|
53
|
+
apiSchema: InferSelectResult<ApiSchemaWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApiSchemaModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class ApiSchemaModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('ApiSchema', 'apiSchemas', 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
|
+
}, 'ApiSchemaFilter', 'ApiSchemaOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'ApiSchema',
|
|
25
|
+
fieldName: 'apiSchemas',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('ApiSchema', 'apiSchemas', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
}, 'ApiSchemaFilter', input_types_1.connectionFieldsMap);
|
|
34
|
+
return new query_builder_1.QueryBuilder({
|
|
35
|
+
client: this.client,
|
|
36
|
+
operation: 'query',
|
|
37
|
+
operationName: 'ApiSchema',
|
|
38
|
+
fieldName: 'apiSchemas',
|
|
39
|
+
document,
|
|
40
|
+
variables,
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
findOne(args) {
|
|
44
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('ApiSchema', 'apiSchemas', args.select, {
|
|
45
|
+
where: {
|
|
46
|
+
id: {
|
|
47
|
+
equalTo: args.id,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
first: 1,
|
|
51
|
+
}, 'ApiSchemaFilter', 'ApiSchemaOrderBy', input_types_1.connectionFieldsMap);
|
|
52
|
+
return new query_builder_1.QueryBuilder({
|
|
53
|
+
client: this.client,
|
|
54
|
+
operation: 'query',
|
|
55
|
+
operationName: 'ApiSchema',
|
|
56
|
+
fieldName: 'apiSchema',
|
|
57
|
+
document,
|
|
58
|
+
variables,
|
|
59
|
+
transform: (data) => ({
|
|
60
|
+
apiSchema: data.apiSchemas?.nodes?.[0] ?? null,
|
|
61
|
+
}),
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
create(args) {
|
|
65
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('ApiSchema', 'createApiSchema', 'apiSchema', args.select, args.data, 'CreateApiSchemaInput', input_types_1.connectionFieldsMap);
|
|
66
|
+
return new query_builder_1.QueryBuilder({
|
|
67
|
+
client: this.client,
|
|
68
|
+
operation: 'mutation',
|
|
69
|
+
operationName: 'ApiSchema',
|
|
70
|
+
fieldName: 'createApiSchema',
|
|
71
|
+
document,
|
|
72
|
+
variables,
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
update(args) {
|
|
76
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('ApiSchema', 'updateApiSchema', 'apiSchema', args.select, args.where.id, args.data, 'UpdateApiSchemaInput', 'id', 'apiSchemaPatch', input_types_1.connectionFieldsMap);
|
|
77
|
+
return new query_builder_1.QueryBuilder({
|
|
78
|
+
client: this.client,
|
|
79
|
+
operation: 'mutation',
|
|
80
|
+
operationName: 'ApiSchema',
|
|
81
|
+
fieldName: 'updateApiSchema',
|
|
82
|
+
document,
|
|
83
|
+
variables,
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
delete(args) {
|
|
87
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('ApiSchema', 'deleteApiSchema', 'apiSchema', args.where.id, 'DeleteApiSchemaInput', 'id', args.select, input_types_1.connectionFieldsMap);
|
|
88
|
+
return new query_builder_1.QueryBuilder({
|
|
89
|
+
client: this.client,
|
|
90
|
+
operation: 'mutation',
|
|
91
|
+
operationName: 'ApiSchema',
|
|
92
|
+
fieldName: 'deleteApiSchema',
|
|
93
|
+
document,
|
|
94
|
+
variables,
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.ApiSchemaModel = ApiSchemaModel;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* App 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 { AppWithRelations, AppSelect, AppFilter, AppOrderBy, CreateAppInput, AppPatch } from '../input-types';
|
|
10
|
+
export declare class AppModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends AppSelect>(args: FindManyArgs<S, AppFilter, AppOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, AppSelect>): QueryBuilder<{
|
|
16
|
+
apps: ConnectionResult<InferSelectResult<AppWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends AppSelect>(args: FindFirstArgs<S, AppFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, AppSelect>): QueryBuilder<{
|
|
21
|
+
apps: {
|
|
22
|
+
nodes: InferSelectResult<AppWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends AppSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, AppSelect>): QueryBuilder<{
|
|
29
|
+
app: InferSelectResult<AppWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends AppSelect>(args: CreateArgs<S, CreateAppInput['app']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, AppSelect>): QueryBuilder<{
|
|
34
|
+
createApp: {
|
|
35
|
+
app: InferSelectResult<AppWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends AppSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, AppPatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, AppSelect>): QueryBuilder<{
|
|
43
|
+
updateApp: {
|
|
44
|
+
app: InferSelectResult<AppWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends AppSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, AppSelect>): QueryBuilder<{
|
|
52
|
+
deleteApp: {
|
|
53
|
+
app: InferSelectResult<AppWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|