@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,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StoreModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class StoreModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('Store', 'stores', 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
|
+
}, 'StoreFilter', 'StoreOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'Store',
|
|
25
|
+
fieldName: 'stores',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('Store', 'stores', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
}, 'StoreFilter', input_types_1.connectionFieldsMap);
|
|
34
|
+
return new query_builder_1.QueryBuilder({
|
|
35
|
+
client: this.client,
|
|
36
|
+
operation: 'query',
|
|
37
|
+
operationName: 'Store',
|
|
38
|
+
fieldName: 'stores',
|
|
39
|
+
document,
|
|
40
|
+
variables,
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
findOne(args) {
|
|
44
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('Store', 'stores', args.select, {
|
|
45
|
+
where: {
|
|
46
|
+
id: {
|
|
47
|
+
equalTo: args.id,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
first: 1,
|
|
51
|
+
}, 'StoreFilter', 'StoreOrderBy', input_types_1.connectionFieldsMap);
|
|
52
|
+
return new query_builder_1.QueryBuilder({
|
|
53
|
+
client: this.client,
|
|
54
|
+
operation: 'query',
|
|
55
|
+
operationName: 'Store',
|
|
56
|
+
fieldName: 'store',
|
|
57
|
+
document,
|
|
58
|
+
variables,
|
|
59
|
+
transform: (data) => ({
|
|
60
|
+
store: data.stores?.nodes?.[0] ?? null,
|
|
61
|
+
}),
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
create(args) {
|
|
65
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('Store', 'createStore', 'store', args.select, args.data, 'CreateStoreInput', input_types_1.connectionFieldsMap);
|
|
66
|
+
return new query_builder_1.QueryBuilder({
|
|
67
|
+
client: this.client,
|
|
68
|
+
operation: 'mutation',
|
|
69
|
+
operationName: 'Store',
|
|
70
|
+
fieldName: 'createStore',
|
|
71
|
+
document,
|
|
72
|
+
variables,
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
update(args) {
|
|
76
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('Store', 'updateStore', 'store', args.select, args.where.id, args.data, 'UpdateStoreInput', 'id', 'storePatch', input_types_1.connectionFieldsMap);
|
|
77
|
+
return new query_builder_1.QueryBuilder({
|
|
78
|
+
client: this.client,
|
|
79
|
+
operation: 'mutation',
|
|
80
|
+
operationName: 'Store',
|
|
81
|
+
fieldName: 'updateStore',
|
|
82
|
+
document,
|
|
83
|
+
variables,
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
delete(args) {
|
|
87
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('Store', 'deleteStore', 'store', args.where.id, 'DeleteStoreInput', 'id', args.select, input_types_1.connectionFieldsMap);
|
|
88
|
+
return new query_builder_1.QueryBuilder({
|
|
89
|
+
client: this.client,
|
|
90
|
+
operation: 'mutation',
|
|
91
|
+
operationName: 'Store',
|
|
92
|
+
fieldName: 'deleteStore',
|
|
93
|
+
document,
|
|
94
|
+
variables,
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.StoreModel = StoreModel;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation operations
|
|
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 { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { FreezeObjectsInput, InitEmptyRepoInput, RemoveNodeAtPathInput, SetDataAtPathInput, SetPropsAndCommitInput, InsertNodeAtPathInput, UpdateNodeAtPathInput, SetAndCommitInput, FreezeObjectsPayload, InitEmptyRepoPayload, RemoveNodeAtPathPayload, SetDataAtPathPayload, SetPropsAndCommitPayload, InsertNodeAtPathPayload, UpdateNodeAtPathPayload, SetAndCommitPayload, FreezeObjectsPayloadSelect, InitEmptyRepoPayloadSelect, RemoveNodeAtPathPayloadSelect, SetDataAtPathPayloadSelect, SetPropsAndCommitPayloadSelect, InsertNodeAtPathPayloadSelect, UpdateNodeAtPathPayloadSelect, SetAndCommitPayloadSelect } from '../input-types';
|
|
10
|
+
export interface FreezeObjectsVariables {
|
|
11
|
+
input: FreezeObjectsInput;
|
|
12
|
+
}
|
|
13
|
+
export interface InitEmptyRepoVariables {
|
|
14
|
+
input: InitEmptyRepoInput;
|
|
15
|
+
}
|
|
16
|
+
export interface RemoveNodeAtPathVariables {
|
|
17
|
+
input: RemoveNodeAtPathInput;
|
|
18
|
+
}
|
|
19
|
+
export interface SetDataAtPathVariables {
|
|
20
|
+
input: SetDataAtPathInput;
|
|
21
|
+
}
|
|
22
|
+
export interface SetPropsAndCommitVariables {
|
|
23
|
+
input: SetPropsAndCommitInput;
|
|
24
|
+
}
|
|
25
|
+
export interface InsertNodeAtPathVariables {
|
|
26
|
+
input: InsertNodeAtPathInput;
|
|
27
|
+
}
|
|
28
|
+
export interface UpdateNodeAtPathVariables {
|
|
29
|
+
input: UpdateNodeAtPathInput;
|
|
30
|
+
}
|
|
31
|
+
export interface SetAndCommitVariables {
|
|
32
|
+
input: SetAndCommitInput;
|
|
33
|
+
}
|
|
34
|
+
export declare function createMutationOperations(client: OrmClient): {
|
|
35
|
+
freezeObjects: <S extends FreezeObjectsPayloadSelect>(args: FreezeObjectsVariables, options: {
|
|
36
|
+
select: S;
|
|
37
|
+
} & StrictSelect<S, FreezeObjectsPayloadSelect>) => QueryBuilder<{
|
|
38
|
+
freezeObjects: InferSelectResult<FreezeObjectsPayload, S> | null;
|
|
39
|
+
}>;
|
|
40
|
+
initEmptyRepo: <S extends InitEmptyRepoPayloadSelect>(args: InitEmptyRepoVariables, options: {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, InitEmptyRepoPayloadSelect>) => QueryBuilder<{
|
|
43
|
+
initEmptyRepo: InferSelectResult<InitEmptyRepoPayload, S> | null;
|
|
44
|
+
}>;
|
|
45
|
+
removeNodeAtPath: <S extends RemoveNodeAtPathPayloadSelect>(args: RemoveNodeAtPathVariables, options: {
|
|
46
|
+
select: S;
|
|
47
|
+
} & StrictSelect<S, RemoveNodeAtPathPayloadSelect>) => QueryBuilder<{
|
|
48
|
+
removeNodeAtPath: InferSelectResult<RemoveNodeAtPathPayload, S> | null;
|
|
49
|
+
}>;
|
|
50
|
+
setDataAtPath: <S extends SetDataAtPathPayloadSelect>(args: SetDataAtPathVariables, options: {
|
|
51
|
+
select: S;
|
|
52
|
+
} & StrictSelect<S, SetDataAtPathPayloadSelect>) => QueryBuilder<{
|
|
53
|
+
setDataAtPath: InferSelectResult<SetDataAtPathPayload, S> | null;
|
|
54
|
+
}>;
|
|
55
|
+
setPropsAndCommit: <S extends SetPropsAndCommitPayloadSelect>(args: SetPropsAndCommitVariables, options: {
|
|
56
|
+
select: S;
|
|
57
|
+
} & StrictSelect<S, SetPropsAndCommitPayloadSelect>) => QueryBuilder<{
|
|
58
|
+
setPropsAndCommit: InferSelectResult<SetPropsAndCommitPayload, S> | null;
|
|
59
|
+
}>;
|
|
60
|
+
insertNodeAtPath: <S extends InsertNodeAtPathPayloadSelect>(args: InsertNodeAtPathVariables, options: {
|
|
61
|
+
select: S;
|
|
62
|
+
} & StrictSelect<S, InsertNodeAtPathPayloadSelect>) => QueryBuilder<{
|
|
63
|
+
insertNodeAtPath: InferSelectResult<InsertNodeAtPathPayload, S> | null;
|
|
64
|
+
}>;
|
|
65
|
+
updateNodeAtPath: <S extends UpdateNodeAtPathPayloadSelect>(args: UpdateNodeAtPathVariables, options: {
|
|
66
|
+
select: S;
|
|
67
|
+
} & StrictSelect<S, UpdateNodeAtPathPayloadSelect>) => QueryBuilder<{
|
|
68
|
+
updateNodeAtPath: InferSelectResult<UpdateNodeAtPathPayload, S> | null;
|
|
69
|
+
}>;
|
|
70
|
+
setAndCommit: <S extends SetAndCommitPayloadSelect>(args: SetAndCommitVariables, options: {
|
|
71
|
+
select: S;
|
|
72
|
+
} & StrictSelect<S, SetAndCommitPayloadSelect>) => QueryBuilder<{
|
|
73
|
+
setAndCommit: InferSelectResult<SetAndCommitPayload, S> | null;
|
|
74
|
+
}>;
|
|
75
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createMutationOperations = createMutationOperations;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
function createMutationOperations(client) {
|
|
7
|
+
return {
|
|
8
|
+
freezeObjects: (args, options) => new query_builder_1.QueryBuilder({
|
|
9
|
+
client,
|
|
10
|
+
operation: 'mutation',
|
|
11
|
+
operationName: 'FreezeObjects',
|
|
12
|
+
fieldName: 'freezeObjects',
|
|
13
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'FreezeObjects', 'freezeObjects', options.select, args, [
|
|
14
|
+
{
|
|
15
|
+
name: 'input',
|
|
16
|
+
type: 'FreezeObjectsInput!',
|
|
17
|
+
},
|
|
18
|
+
], input_types_1.connectionFieldsMap, 'FreezeObjectsPayload'),
|
|
19
|
+
}),
|
|
20
|
+
initEmptyRepo: (args, options) => new query_builder_1.QueryBuilder({
|
|
21
|
+
client,
|
|
22
|
+
operation: 'mutation',
|
|
23
|
+
operationName: 'InitEmptyRepo',
|
|
24
|
+
fieldName: 'initEmptyRepo',
|
|
25
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'InitEmptyRepo', 'initEmptyRepo', options.select, args, [
|
|
26
|
+
{
|
|
27
|
+
name: 'input',
|
|
28
|
+
type: 'InitEmptyRepoInput!',
|
|
29
|
+
},
|
|
30
|
+
], input_types_1.connectionFieldsMap, 'InitEmptyRepoPayload'),
|
|
31
|
+
}),
|
|
32
|
+
removeNodeAtPath: (args, options) => new query_builder_1.QueryBuilder({
|
|
33
|
+
client,
|
|
34
|
+
operation: 'mutation',
|
|
35
|
+
operationName: 'RemoveNodeAtPath',
|
|
36
|
+
fieldName: 'removeNodeAtPath',
|
|
37
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'RemoveNodeAtPath', 'removeNodeAtPath', options.select, args, [
|
|
38
|
+
{
|
|
39
|
+
name: 'input',
|
|
40
|
+
type: 'RemoveNodeAtPathInput!',
|
|
41
|
+
},
|
|
42
|
+
], input_types_1.connectionFieldsMap, 'RemoveNodeAtPathPayload'),
|
|
43
|
+
}),
|
|
44
|
+
setDataAtPath: (args, options) => new query_builder_1.QueryBuilder({
|
|
45
|
+
client,
|
|
46
|
+
operation: 'mutation',
|
|
47
|
+
operationName: 'SetDataAtPath',
|
|
48
|
+
fieldName: 'setDataAtPath',
|
|
49
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'SetDataAtPath', 'setDataAtPath', options.select, args, [
|
|
50
|
+
{
|
|
51
|
+
name: 'input',
|
|
52
|
+
type: 'SetDataAtPathInput!',
|
|
53
|
+
},
|
|
54
|
+
], input_types_1.connectionFieldsMap, 'SetDataAtPathPayload'),
|
|
55
|
+
}),
|
|
56
|
+
setPropsAndCommit: (args, options) => new query_builder_1.QueryBuilder({
|
|
57
|
+
client,
|
|
58
|
+
operation: 'mutation',
|
|
59
|
+
operationName: 'SetPropsAndCommit',
|
|
60
|
+
fieldName: 'setPropsAndCommit',
|
|
61
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'SetPropsAndCommit', 'setPropsAndCommit', options.select, args, [
|
|
62
|
+
{
|
|
63
|
+
name: 'input',
|
|
64
|
+
type: 'SetPropsAndCommitInput!',
|
|
65
|
+
},
|
|
66
|
+
], input_types_1.connectionFieldsMap, 'SetPropsAndCommitPayload'),
|
|
67
|
+
}),
|
|
68
|
+
insertNodeAtPath: (args, options) => new query_builder_1.QueryBuilder({
|
|
69
|
+
client,
|
|
70
|
+
operation: 'mutation',
|
|
71
|
+
operationName: 'InsertNodeAtPath',
|
|
72
|
+
fieldName: 'insertNodeAtPath',
|
|
73
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'InsertNodeAtPath', 'insertNodeAtPath', options.select, args, [
|
|
74
|
+
{
|
|
75
|
+
name: 'input',
|
|
76
|
+
type: 'InsertNodeAtPathInput!',
|
|
77
|
+
},
|
|
78
|
+
], input_types_1.connectionFieldsMap, 'InsertNodeAtPathPayload'),
|
|
79
|
+
}),
|
|
80
|
+
updateNodeAtPath: (args, options) => new query_builder_1.QueryBuilder({
|
|
81
|
+
client,
|
|
82
|
+
operation: 'mutation',
|
|
83
|
+
operationName: 'UpdateNodeAtPath',
|
|
84
|
+
fieldName: 'updateNodeAtPath',
|
|
85
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'UpdateNodeAtPath', 'updateNodeAtPath', options.select, args, [
|
|
86
|
+
{
|
|
87
|
+
name: 'input',
|
|
88
|
+
type: 'UpdateNodeAtPathInput!',
|
|
89
|
+
},
|
|
90
|
+
], input_types_1.connectionFieldsMap, 'UpdateNodeAtPathPayload'),
|
|
91
|
+
}),
|
|
92
|
+
setAndCommit: (args, options) => new query_builder_1.QueryBuilder({
|
|
93
|
+
client,
|
|
94
|
+
operation: 'mutation',
|
|
95
|
+
operationName: 'SetAndCommit',
|
|
96
|
+
fieldName: 'setAndCommit',
|
|
97
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'SetAndCommit', 'setAndCommit', options.select, args, [
|
|
98
|
+
{
|
|
99
|
+
name: 'input',
|
|
100
|
+
type: 'SetAndCommitInput!',
|
|
101
|
+
},
|
|
102
|
+
], input_types_1.connectionFieldsMap, 'SetAndCommitPayload'),
|
|
103
|
+
}),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom query operations
|
|
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 { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { Object, ObjectSelect, ObjectConnection } from '../input-types';
|
|
10
|
+
export interface RevParseVariables {
|
|
11
|
+
dbId?: string;
|
|
12
|
+
storeId?: string;
|
|
13
|
+
refname?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface GetAllObjectsFromRootVariables {
|
|
16
|
+
databaseId?: string;
|
|
17
|
+
id?: string;
|
|
18
|
+
first?: number;
|
|
19
|
+
offset?: number;
|
|
20
|
+
after?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface GetPathObjectsFromRootVariables {
|
|
23
|
+
databaseId?: string;
|
|
24
|
+
id?: string;
|
|
25
|
+
path?: string[];
|
|
26
|
+
first?: number;
|
|
27
|
+
offset?: number;
|
|
28
|
+
after?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface GetObjectAtPathVariables {
|
|
31
|
+
dbId?: string;
|
|
32
|
+
storeId?: string;
|
|
33
|
+
path?: string[];
|
|
34
|
+
refname?: string;
|
|
35
|
+
}
|
|
36
|
+
export declare function createQueryOperations(client: OrmClient): {
|
|
37
|
+
revParse: (args: RevParseVariables, options?: {
|
|
38
|
+
select?: Record<string, unknown>;
|
|
39
|
+
}) => QueryBuilder<{
|
|
40
|
+
revParse: string | null;
|
|
41
|
+
}>;
|
|
42
|
+
getAllObjectsFromRoot: (args: GetAllObjectsFromRootVariables, options?: {
|
|
43
|
+
select?: Record<string, unknown>;
|
|
44
|
+
}) => QueryBuilder<{
|
|
45
|
+
getAllObjectsFromRoot: ObjectConnection | null;
|
|
46
|
+
}>;
|
|
47
|
+
getPathObjectsFromRoot: (args: GetPathObjectsFromRootVariables, options?: {
|
|
48
|
+
select?: Record<string, unknown>;
|
|
49
|
+
}) => QueryBuilder<{
|
|
50
|
+
getPathObjectsFromRoot: ObjectConnection | null;
|
|
51
|
+
}>;
|
|
52
|
+
getObjectAtPath: <S extends ObjectSelect>(args: GetObjectAtPathVariables, options: {
|
|
53
|
+
select: S;
|
|
54
|
+
} & StrictSelect<S, ObjectSelect>) => QueryBuilder<{
|
|
55
|
+
getObjectAtPath: InferSelectResult<Object, S> | null;
|
|
56
|
+
}>;
|
|
57
|
+
};
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createQueryOperations = createQueryOperations;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
function createQueryOperations(client) {
|
|
7
|
+
return {
|
|
8
|
+
revParse: (args, options) => new query_builder_1.QueryBuilder({
|
|
9
|
+
client,
|
|
10
|
+
operation: 'query',
|
|
11
|
+
operationName: 'RevParse',
|
|
12
|
+
fieldName: 'revParse',
|
|
13
|
+
...(0, query_builder_1.buildCustomDocument)('query', 'RevParse', 'revParse', options?.select, args, [
|
|
14
|
+
{
|
|
15
|
+
name: 'dbId',
|
|
16
|
+
type: 'UUID',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: 'storeId',
|
|
20
|
+
type: 'UUID',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: 'refname',
|
|
24
|
+
type: 'String',
|
|
25
|
+
},
|
|
26
|
+
], input_types_1.connectionFieldsMap, undefined),
|
|
27
|
+
}),
|
|
28
|
+
getAllObjectsFromRoot: (args, options) => new query_builder_1.QueryBuilder({
|
|
29
|
+
client,
|
|
30
|
+
operation: 'query',
|
|
31
|
+
operationName: 'GetAllObjectsFromRoot',
|
|
32
|
+
fieldName: 'getAllObjectsFromRoot',
|
|
33
|
+
...(0, query_builder_1.buildCustomDocument)('query', 'GetAllObjectsFromRoot', 'getAllObjectsFromRoot', options?.select, args, [
|
|
34
|
+
{
|
|
35
|
+
name: 'databaseId',
|
|
36
|
+
type: 'UUID',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'id',
|
|
40
|
+
type: 'UUID',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: 'first',
|
|
44
|
+
type: 'Int',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'offset',
|
|
48
|
+
type: 'Int',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: 'after',
|
|
52
|
+
type: 'Cursor',
|
|
53
|
+
},
|
|
54
|
+
], input_types_1.connectionFieldsMap, undefined),
|
|
55
|
+
}),
|
|
56
|
+
getPathObjectsFromRoot: (args, options) => new query_builder_1.QueryBuilder({
|
|
57
|
+
client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'GetPathObjectsFromRoot',
|
|
60
|
+
fieldName: 'getPathObjectsFromRoot',
|
|
61
|
+
...(0, query_builder_1.buildCustomDocument)('query', 'GetPathObjectsFromRoot', 'getPathObjectsFromRoot', options?.select, args, [
|
|
62
|
+
{
|
|
63
|
+
name: 'databaseId',
|
|
64
|
+
type: 'UUID',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: 'id',
|
|
68
|
+
type: 'UUID',
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
name: 'path',
|
|
72
|
+
type: '[String]',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
name: 'first',
|
|
76
|
+
type: 'Int',
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name: 'offset',
|
|
80
|
+
type: 'Int',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
name: 'after',
|
|
84
|
+
type: 'Cursor',
|
|
85
|
+
},
|
|
86
|
+
], input_types_1.connectionFieldsMap, undefined),
|
|
87
|
+
}),
|
|
88
|
+
getObjectAtPath: (args, options) => new query_builder_1.QueryBuilder({
|
|
89
|
+
client,
|
|
90
|
+
operation: 'query',
|
|
91
|
+
operationName: 'GetObjectAtPath',
|
|
92
|
+
fieldName: 'getObjectAtPath',
|
|
93
|
+
...(0, query_builder_1.buildCustomDocument)('query', 'GetObjectAtPath', 'getObjectAtPath', options.select, args, [
|
|
94
|
+
{
|
|
95
|
+
name: 'dbId',
|
|
96
|
+
type: 'UUID',
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
name: 'storeId',
|
|
100
|
+
type: 'UUID',
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
name: 'path',
|
|
104
|
+
type: '[String]',
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
name: 'refname',
|
|
108
|
+
type: 'String',
|
|
109
|
+
},
|
|
110
|
+
], input_types_1.connectionFieldsMap, 'Object'),
|
|
111
|
+
}),
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import type { FieldNode } from 'graphql';
|
|
2
|
+
import { OrmClient, QueryResult } from './client';
|
|
3
|
+
export interface QueryBuilderConfig<TResult> {
|
|
4
|
+
client: OrmClient;
|
|
5
|
+
operation: 'query' | 'mutation';
|
|
6
|
+
operationName: string;
|
|
7
|
+
fieldName: string;
|
|
8
|
+
document: string;
|
|
9
|
+
variables?: Record<string, unknown>;
|
|
10
|
+
transform?: (data: any) => TResult;
|
|
11
|
+
}
|
|
12
|
+
export declare class QueryBuilder<TResult> {
|
|
13
|
+
private config;
|
|
14
|
+
constructor(config: QueryBuilderConfig<TResult>);
|
|
15
|
+
/**
|
|
16
|
+
* Execute the query and return a discriminated union result
|
|
17
|
+
* Use result.ok to check success, or .unwrap() to throw on error
|
|
18
|
+
*/
|
|
19
|
+
execute(): Promise<QueryResult<TResult>>;
|
|
20
|
+
/**
|
|
21
|
+
* Execute and unwrap the result, throwing GraphQLRequestError on failure
|
|
22
|
+
* @throws {GraphQLRequestError} If the query returns errors
|
|
23
|
+
*/
|
|
24
|
+
unwrap(): Promise<TResult>;
|
|
25
|
+
/**
|
|
26
|
+
* Execute and unwrap, returning defaultValue on error instead of throwing
|
|
27
|
+
*/
|
|
28
|
+
unwrapOr<D>(defaultValue: D): Promise<TResult | D>;
|
|
29
|
+
/**
|
|
30
|
+
* Execute and unwrap, calling onError callback on failure
|
|
31
|
+
*/
|
|
32
|
+
unwrapOrElse<D>(onError: (errors: import('./client').GraphQLError[]) => D): Promise<TResult | D>;
|
|
33
|
+
toGraphQL(): string;
|
|
34
|
+
getVariables(): Record<string, unknown> | undefined;
|
|
35
|
+
}
|
|
36
|
+
export declare function buildSelections(select: Record<string, unknown> | undefined, connectionFieldsMap?: Record<string, Record<string, string>>, entityType?: string): FieldNode[];
|
|
37
|
+
export declare function buildFindManyDocument<TSelect, TWhere>(operationName: string, queryField: string, select: TSelect, args: {
|
|
38
|
+
where?: TWhere;
|
|
39
|
+
orderBy?: string[];
|
|
40
|
+
first?: number;
|
|
41
|
+
last?: number;
|
|
42
|
+
after?: string;
|
|
43
|
+
before?: string;
|
|
44
|
+
offset?: number;
|
|
45
|
+
}, filterTypeName: string, orderByTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
46
|
+
document: string;
|
|
47
|
+
variables: Record<string, unknown>;
|
|
48
|
+
};
|
|
49
|
+
export declare function buildFindFirstDocument<TSelect, TWhere>(operationName: string, queryField: string, select: TSelect, args: {
|
|
50
|
+
where?: TWhere;
|
|
51
|
+
}, filterTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
52
|
+
document: string;
|
|
53
|
+
variables: Record<string, unknown>;
|
|
54
|
+
};
|
|
55
|
+
export declare function buildCreateDocument<TSelect, TData>(operationName: string, mutationField: string, entityField: string, select: TSelect, data: TData, inputTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
56
|
+
document: string;
|
|
57
|
+
variables: Record<string, unknown>;
|
|
58
|
+
};
|
|
59
|
+
export declare function buildUpdateDocument<TSelect, TWhere extends {
|
|
60
|
+
id: string;
|
|
61
|
+
}, TData>(operationName: string, mutationField: string, entityField: string, select: TSelect, where: TWhere, data: TData, inputTypeName: string, patchFieldName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
62
|
+
document: string;
|
|
63
|
+
variables: Record<string, unknown>;
|
|
64
|
+
};
|
|
65
|
+
export declare function buildUpdateByPkDocument<TSelect, TData>(operationName: string, mutationField: string, entityField: string, select: TSelect, id: string | number, data: TData, inputTypeName: string, idFieldName: string, patchFieldName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
66
|
+
document: string;
|
|
67
|
+
variables: Record<string, unknown>;
|
|
68
|
+
};
|
|
69
|
+
export declare function buildFindOneDocument<TSelect>(operationName: string, queryField: string, id: string | number, select: TSelect, idArgName: string, idTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
70
|
+
document: string;
|
|
71
|
+
variables: Record<string, unknown>;
|
|
72
|
+
};
|
|
73
|
+
export declare function buildDeleteDocument<TWhere extends {
|
|
74
|
+
id: string;
|
|
75
|
+
}, TSelect = undefined>(operationName: string, mutationField: string, entityField: string, where: TWhere, inputTypeName: string, select?: TSelect, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
76
|
+
document: string;
|
|
77
|
+
variables: Record<string, unknown>;
|
|
78
|
+
};
|
|
79
|
+
export declare function buildDeleteByPkDocument<TSelect = undefined>(operationName: string, mutationField: string, entityField: string, id: string | number, inputTypeName: string, idFieldName: string, select?: TSelect, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
80
|
+
document: string;
|
|
81
|
+
variables: Record<string, unknown>;
|
|
82
|
+
};
|
|
83
|
+
export declare function buildCustomDocument<TSelect, TArgs>(operationType: 'query' | 'mutation', operationName: string, fieldName: string, select: TSelect, args: TArgs, variableDefinitions: Array<{
|
|
84
|
+
name: string;
|
|
85
|
+
type: string;
|
|
86
|
+
}>, connectionFieldsMap?: Record<string, Record<string, string>>, entityType?: string): {
|
|
87
|
+
document: string;
|
|
88
|
+
variables: Record<string, unknown>;
|
|
89
|
+
};
|