@constructive-io/react 0.19.5 → 0.19.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/hooks/index.d.ts +1 -1
- package/admin/hooks/index.js +1 -1
- package/admin/hooks/invalidation.d.ts +6 -6
- package/admin/hooks/invalidation.js +15 -15
- package/admin/hooks/mutation-keys.d.ts +12 -12
- package/admin/hooks/mutation-keys.js +8 -8
- package/admin/hooks/mutations/index.d.ts +3 -3
- package/admin/hooks/mutations/index.js +3 -3
- package/admin/hooks/queries/index.d.ts +2 -2
- package/admin/hooks/queries/index.js +2 -2
- package/admin/hooks/query-keys.d.ts +14 -14
- package/admin/hooks/query-keys.js +9 -9
- package/admin/orm/index.d.ts +2 -2
- package/admin/orm/index.js +2 -2
- package/admin/orm/input-types.d.ts +190 -183
- package/admin/orm/models/appAchievement.d.ts +2 -4
- package/admin/orm/models/appAchievement.js +6 -2
- package/admin/orm/models/appAdminGrant.d.ts +2 -4
- package/admin/orm/models/appAdminGrant.js +6 -2
- package/admin/orm/models/appClaimedInvite.d.ts +2 -4
- package/admin/orm/models/appClaimedInvite.js +6 -2
- package/admin/orm/models/appGrant.d.ts +2 -4
- package/admin/orm/models/appGrant.js +6 -2
- package/admin/orm/models/appInvite.d.ts +2 -4
- package/admin/orm/models/appInvite.js +6 -2
- package/admin/orm/models/appLevel.d.ts +2 -4
- package/admin/orm/models/appLevel.js +6 -2
- package/admin/orm/models/appLevelRequirement.d.ts +2 -4
- package/admin/orm/models/appLevelRequirement.js +6 -2
- package/admin/orm/models/appLimit.d.ts +2 -4
- package/admin/orm/models/appLimit.js +6 -2
- package/admin/orm/models/appLimitCap.d.ts +2 -4
- package/admin/orm/models/appLimitCap.js +6 -2
- package/admin/orm/models/appLimitCapsDefault.d.ts +2 -4
- package/admin/orm/models/appLimitCapsDefault.js +6 -2
- package/admin/orm/models/appLimitCredit.d.ts +2 -4
- package/admin/orm/models/appLimitCredit.js +6 -2
- package/admin/orm/models/appLimitCreditCode.d.ts +2 -4
- package/admin/orm/models/appLimitCreditCode.js +6 -2
- package/admin/orm/models/appLimitCreditCodeItem.d.ts +2 -4
- package/admin/orm/models/appLimitCreditCodeItem.js +6 -2
- package/admin/orm/models/appLimitCreditRedemption.d.ts +2 -4
- package/admin/orm/models/appLimitCreditRedemption.js +6 -2
- package/admin/orm/models/appLimitDefault.d.ts +2 -4
- package/admin/orm/models/appLimitDefault.js +6 -2
- package/admin/orm/models/appLimitEvent.d.ts +2 -4
- package/admin/orm/models/appLimitEvent.js +6 -2
- package/admin/orm/models/appMembership.d.ts +2 -4
- package/admin/orm/models/appMembership.js +6 -2
- package/admin/orm/models/appMembershipDefault.d.ts +2 -4
- package/admin/orm/models/appMembershipDefault.js +6 -2
- package/admin/orm/models/appOwnerGrant.d.ts +2 -4
- package/admin/orm/models/appOwnerGrant.js +6 -2
- package/admin/orm/models/appPermission.d.ts +2 -4
- package/admin/orm/models/appPermission.js +6 -2
- package/admin/orm/models/appPermissionDefault.d.ts +2 -4
- package/admin/orm/models/appPermissionDefault.js +6 -2
- package/admin/orm/models/appStep.d.ts +2 -4
- package/admin/orm/models/appStep.js +6 -2
- package/admin/orm/models/index.d.ts +1 -1
- package/admin/orm/models/index.js +3 -3
- package/admin/orm/models/membershipType.d.ts +2 -4
- package/admin/orm/models/membershipType.js +6 -2
- package/admin/orm/models/orgAdminGrant.d.ts +2 -4
- package/admin/orm/models/orgAdminGrant.js +6 -2
- package/admin/orm/models/orgChartEdge.d.ts +2 -4
- package/admin/orm/models/orgChartEdge.js +6 -2
- package/admin/orm/models/orgChartEdgeGrant.d.ts +2 -4
- package/admin/orm/models/orgChartEdgeGrant.js +6 -2
- package/admin/orm/models/orgClaimedInvite.d.ts +2 -4
- package/admin/orm/models/orgClaimedInvite.js +6 -2
- package/admin/orm/models/orgGetManagersRecord.d.ts +2 -4
- package/admin/orm/models/orgGetManagersRecord.js +6 -2
- package/admin/orm/models/orgGetSubordinatesRecord.d.ts +2 -4
- package/admin/orm/models/orgGetSubordinatesRecord.js +6 -2
- package/admin/orm/models/orgGrant.d.ts +2 -4
- package/admin/orm/models/orgGrant.js +6 -2
- package/admin/orm/models/orgInvite.d.ts +2 -4
- package/admin/orm/models/orgInvite.js +6 -2
- package/admin/orm/models/orgLimit.d.ts +2 -4
- package/admin/orm/models/orgLimit.js +6 -2
- package/admin/orm/models/orgLimitAggregate.d.ts +2 -4
- package/admin/orm/models/orgLimitAggregate.js +6 -2
- package/admin/orm/models/orgLimitCap.d.ts +2 -4
- package/admin/orm/models/orgLimitCap.js +6 -2
- package/admin/orm/models/orgLimitCapsDefault.d.ts +2 -4
- package/admin/orm/models/orgLimitCapsDefault.js +6 -2
- package/admin/orm/models/orgLimitCredit.d.ts +2 -4
- package/admin/orm/models/orgLimitCredit.js +6 -2
- package/admin/orm/models/orgLimitDefault.d.ts +2 -4
- package/admin/orm/models/orgLimitDefault.js +6 -2
- package/admin/orm/models/orgLimitEvent.d.ts +2 -4
- package/admin/orm/models/orgLimitEvent.js +6 -2
- package/admin/orm/models/orgMember.d.ts +2 -4
- package/admin/orm/models/orgMember.js +6 -2
- package/admin/orm/models/orgMemberProfile.d.ts +2 -4
- package/admin/orm/models/orgMemberProfile.js +6 -2
- package/admin/orm/models/orgMembership.d.ts +2 -4
- package/admin/orm/models/orgMembership.js +6 -2
- package/admin/orm/models/orgMembershipDefault.d.ts +2 -4
- package/admin/orm/models/orgMembershipDefault.js +6 -2
- package/admin/orm/models/orgMembershipSetting.d.ts +2 -4
- package/admin/orm/models/orgMembershipSetting.js +6 -2
- package/admin/orm/models/orgOwnerGrant.d.ts +2 -4
- package/admin/orm/models/orgOwnerGrant.js +6 -2
- package/admin/orm/models/orgPermission.d.ts +2 -4
- package/admin/orm/models/orgPermission.js +6 -2
- package/admin/orm/models/orgPermissionDefault.d.ts +2 -4
- package/admin/orm/models/orgPermissionDefault.js +6 -2
- package/admin/orm/models/usageSnapshot.d.ts +2 -4
- package/admin/orm/models/usageSnapshot.js +6 -2
- package/admin/orm/query-builder.d.ts +18 -1
- package/admin/orm/query-builder.js +112 -1
- package/admin/orm/select-types.d.ts +25 -1
- package/admin/schema-types.d.ts +147 -141
- package/admin/types.d.ts +18 -17
- package/auth/orm/models/auditLog.d.ts +2 -4
- package/auth/orm/models/auditLog.js +6 -2
- package/auth/orm/models/cryptoAddress.d.ts +2 -4
- package/auth/orm/models/cryptoAddress.js +6 -2
- package/auth/orm/models/email.d.ts +2 -4
- package/auth/orm/models/email.js +6 -2
- package/auth/orm/models/identityProvider.d.ts +2 -4
- package/auth/orm/models/identityProvider.js +6 -2
- package/auth/orm/models/phoneNumber.d.ts +2 -4
- package/auth/orm/models/phoneNumber.js +6 -2
- package/auth/orm/models/roleType.d.ts +2 -4
- package/auth/orm/models/roleType.js +6 -2
- package/auth/orm/models/user.d.ts +2 -4
- package/auth/orm/models/user.js +6 -2
- package/auth/orm/models/userConnectedAccount.d.ts +2 -4
- package/auth/orm/models/userConnectedAccount.js +6 -2
- package/auth/orm/models/webauthnCredential.d.ts +2 -4
- package/auth/orm/models/webauthnCredential.js +6 -2
- package/auth/orm/query-builder.d.ts +18 -1
- package/auth/orm/query-builder.js +112 -1
- package/auth/orm/select-types.d.ts +25 -1
- package/esm/admin/hooks/index.d.ts +1 -1
- package/esm/admin/hooks/index.js +1 -1
- package/esm/admin/hooks/invalidation.d.ts +6 -6
- package/esm/admin/hooks/invalidation.js +16 -16
- package/esm/admin/hooks/mutation-keys.d.ts +12 -12
- package/esm/admin/hooks/mutation-keys.js +7 -7
- package/esm/admin/hooks/mutations/index.d.ts +3 -3
- package/esm/admin/hooks/mutations/index.js +3 -3
- package/esm/admin/hooks/queries/index.d.ts +2 -2
- package/esm/admin/hooks/queries/index.js +2 -2
- package/esm/admin/hooks/query-keys.d.ts +14 -14
- package/esm/admin/hooks/query-keys.js +8 -8
- package/esm/admin/orm/index.d.ts +2 -2
- package/esm/admin/orm/index.js +2 -2
- package/esm/admin/orm/input-types.d.ts +190 -183
- package/esm/admin/orm/models/appAchievement.d.ts +2 -4
- package/esm/admin/orm/models/appAchievement.js +6 -2
- package/esm/admin/orm/models/appAdminGrant.d.ts +2 -4
- package/esm/admin/orm/models/appAdminGrant.js +6 -2
- package/esm/admin/orm/models/appClaimedInvite.d.ts +2 -4
- package/esm/admin/orm/models/appClaimedInvite.js +6 -2
- package/esm/admin/orm/models/appGrant.d.ts +2 -4
- package/esm/admin/orm/models/appGrant.js +6 -2
- package/esm/admin/orm/models/appInvite.d.ts +2 -4
- package/esm/admin/orm/models/appInvite.js +6 -2
- package/esm/admin/orm/models/appLevel.d.ts +2 -4
- package/esm/admin/orm/models/appLevel.js +6 -2
- package/esm/admin/orm/models/appLevelRequirement.d.ts +2 -4
- package/esm/admin/orm/models/appLevelRequirement.js +6 -2
- package/esm/admin/orm/models/appLimit.d.ts +2 -4
- package/esm/admin/orm/models/appLimit.js +6 -2
- package/esm/admin/orm/models/appLimitCap.d.ts +2 -4
- package/esm/admin/orm/models/appLimitCap.js +6 -2
- package/esm/admin/orm/models/appLimitCapsDefault.d.ts +2 -4
- package/esm/admin/orm/models/appLimitCapsDefault.js +6 -2
- package/esm/admin/orm/models/appLimitCredit.d.ts +2 -4
- package/esm/admin/orm/models/appLimitCredit.js +6 -2
- package/esm/admin/orm/models/appLimitCreditCode.d.ts +2 -4
- package/esm/admin/orm/models/appLimitCreditCode.js +6 -2
- package/esm/admin/orm/models/appLimitCreditCodeItem.d.ts +2 -4
- package/esm/admin/orm/models/appLimitCreditCodeItem.js +6 -2
- package/esm/admin/orm/models/appLimitCreditRedemption.d.ts +2 -4
- package/esm/admin/orm/models/appLimitCreditRedemption.js +6 -2
- package/esm/admin/orm/models/appLimitDefault.d.ts +2 -4
- package/esm/admin/orm/models/appLimitDefault.js +6 -2
- package/esm/admin/orm/models/appLimitEvent.d.ts +2 -4
- package/esm/admin/orm/models/appLimitEvent.js +6 -2
- package/esm/admin/orm/models/appMembership.d.ts +2 -4
- package/esm/admin/orm/models/appMembership.js +6 -2
- package/esm/admin/orm/models/appMembershipDefault.d.ts +2 -4
- package/esm/admin/orm/models/appMembershipDefault.js +6 -2
- package/esm/admin/orm/models/appOwnerGrant.d.ts +2 -4
- package/esm/admin/orm/models/appOwnerGrant.js +6 -2
- package/esm/admin/orm/models/appPermission.d.ts +2 -4
- package/esm/admin/orm/models/appPermission.js +6 -2
- package/esm/admin/orm/models/appPermissionDefault.d.ts +2 -4
- package/esm/admin/orm/models/appPermissionDefault.js +6 -2
- package/esm/admin/orm/models/appStep.d.ts +2 -4
- package/esm/admin/orm/models/appStep.js +6 -2
- package/esm/admin/orm/models/index.d.ts +1 -1
- package/esm/admin/orm/models/index.js +1 -1
- package/esm/admin/orm/models/membershipType.d.ts +2 -4
- package/esm/admin/orm/models/membershipType.js +6 -2
- package/esm/admin/orm/models/orgAdminGrant.d.ts +2 -4
- package/esm/admin/orm/models/orgAdminGrant.js +6 -2
- package/esm/admin/orm/models/orgChartEdge.d.ts +2 -4
- package/esm/admin/orm/models/orgChartEdge.js +6 -2
- package/esm/admin/orm/models/orgChartEdgeGrant.d.ts +2 -4
- package/esm/admin/orm/models/orgChartEdgeGrant.js +6 -2
- package/esm/admin/orm/models/orgClaimedInvite.d.ts +2 -4
- package/esm/admin/orm/models/orgClaimedInvite.js +6 -2
- package/esm/admin/orm/models/orgGetManagersRecord.d.ts +2 -4
- package/esm/admin/orm/models/orgGetManagersRecord.js +6 -2
- package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +2 -4
- package/esm/admin/orm/models/orgGetSubordinatesRecord.js +6 -2
- package/esm/admin/orm/models/orgGrant.d.ts +2 -4
- package/esm/admin/orm/models/orgGrant.js +6 -2
- package/esm/admin/orm/models/orgInvite.d.ts +2 -4
- package/esm/admin/orm/models/orgInvite.js +6 -2
- package/esm/admin/orm/models/orgLimit.d.ts +2 -4
- package/esm/admin/orm/models/orgLimit.js +6 -2
- package/esm/admin/orm/models/orgLimitAggregate.d.ts +2 -4
- package/esm/admin/orm/models/orgLimitAggregate.js +6 -2
- package/esm/admin/orm/models/orgLimitCap.d.ts +2 -4
- package/esm/admin/orm/models/orgLimitCap.js +6 -2
- package/esm/admin/orm/models/orgLimitCapsDefault.d.ts +2 -4
- package/esm/admin/orm/models/orgLimitCapsDefault.js +6 -2
- package/esm/admin/orm/models/orgLimitCredit.d.ts +2 -4
- package/esm/admin/orm/models/orgLimitCredit.js +6 -2
- package/esm/admin/orm/models/orgLimitDefault.d.ts +2 -4
- package/esm/admin/orm/models/orgLimitDefault.js +6 -2
- package/esm/admin/orm/models/orgLimitEvent.d.ts +2 -4
- package/esm/admin/orm/models/orgLimitEvent.js +6 -2
- package/esm/admin/orm/models/orgMember.d.ts +2 -4
- package/esm/admin/orm/models/orgMember.js +6 -2
- package/esm/admin/orm/models/orgMemberProfile.d.ts +2 -4
- package/esm/admin/orm/models/orgMemberProfile.js +6 -2
- package/esm/admin/orm/models/orgMembership.d.ts +2 -4
- package/esm/admin/orm/models/orgMembership.js +6 -2
- package/esm/admin/orm/models/orgMembershipDefault.d.ts +2 -4
- package/esm/admin/orm/models/orgMembershipDefault.js +6 -2
- package/esm/admin/orm/models/orgMembershipSetting.d.ts +2 -4
- package/esm/admin/orm/models/orgMembershipSetting.js +6 -2
- package/esm/admin/orm/models/orgOwnerGrant.d.ts +2 -4
- package/esm/admin/orm/models/orgOwnerGrant.js +6 -2
- package/esm/admin/orm/models/orgPermission.d.ts +2 -4
- package/esm/admin/orm/models/orgPermission.js +6 -2
- package/esm/admin/orm/models/orgPermissionDefault.d.ts +2 -4
- package/esm/admin/orm/models/orgPermissionDefault.js +6 -2
- package/esm/admin/orm/models/usageSnapshot.d.ts +2 -4
- package/esm/admin/orm/models/usageSnapshot.js +6 -2
- package/esm/admin/orm/query-builder.d.ts +18 -1
- package/esm/admin/orm/query-builder.js +108 -1
- package/esm/admin/orm/select-types.d.ts +25 -1
- package/esm/admin/schema-types.d.ts +147 -141
- package/esm/admin/types.d.ts +18 -17
- package/esm/auth/orm/models/auditLog.d.ts +2 -4
- package/esm/auth/orm/models/auditLog.js +6 -2
- package/esm/auth/orm/models/cryptoAddress.d.ts +2 -4
- package/esm/auth/orm/models/cryptoAddress.js +6 -2
- package/esm/auth/orm/models/email.d.ts +2 -4
- package/esm/auth/orm/models/email.js +6 -2
- package/esm/auth/orm/models/identityProvider.d.ts +2 -4
- package/esm/auth/orm/models/identityProvider.js +6 -2
- package/esm/auth/orm/models/phoneNumber.d.ts +2 -4
- package/esm/auth/orm/models/phoneNumber.js +6 -2
- package/esm/auth/orm/models/roleType.d.ts +2 -4
- package/esm/auth/orm/models/roleType.js +6 -2
- package/esm/auth/orm/models/user.d.ts +2 -4
- package/esm/auth/orm/models/user.js +6 -2
- package/esm/auth/orm/models/userConnectedAccount.d.ts +2 -4
- package/esm/auth/orm/models/userConnectedAccount.js +6 -2
- package/esm/auth/orm/models/webauthnCredential.d.ts +2 -4
- package/esm/auth/orm/models/webauthnCredential.js +6 -2
- package/esm/auth/orm/query-builder.d.ts +18 -1
- package/esm/auth/orm/query-builder.js +108 -1
- package/esm/auth/orm/select-types.d.ts +25 -1
- package/esm/objects/orm/models/commit.d.ts +2 -4
- package/esm/objects/orm/models/commit.js +6 -2
- package/esm/objects/orm/models/getAllRecord.d.ts +2 -4
- package/esm/objects/orm/models/getAllRecord.js +6 -2
- package/esm/objects/orm/models/object.d.ts +3 -5
- package/esm/objects/orm/models/object.js +7 -3
- package/esm/objects/orm/models/ref.d.ts +2 -4
- package/esm/objects/orm/models/ref.js +6 -2
- package/esm/objects/orm/models/store.d.ts +2 -4
- package/esm/objects/orm/models/store.js +6 -2
- package/esm/objects/orm/query-builder.d.ts +18 -1
- package/esm/objects/orm/query-builder.js +108 -1
- package/esm/objects/orm/select-types.d.ts +25 -1
- package/esm/public/orm/input-types.d.ts +10 -1
- package/esm/public/orm/models/agentMessage.d.ts +2 -4
- package/esm/public/orm/models/agentMessage.js +6 -2
- package/esm/public/orm/models/agentTask.d.ts +2 -4
- package/esm/public/orm/models/agentTask.js +6 -2
- package/esm/public/orm/models/agentThread.d.ts +2 -4
- package/esm/public/orm/models/agentThread.js +6 -2
- package/esm/public/orm/models/api.d.ts +2 -4
- package/esm/public/orm/models/api.js +6 -2
- package/esm/public/orm/models/apiModule.d.ts +2 -4
- package/esm/public/orm/models/apiModule.js +6 -2
- package/esm/public/orm/models/apiSchema.d.ts +2 -4
- package/esm/public/orm/models/apiSchema.js +6 -2
- package/esm/public/orm/models/apiSetting.d.ts +2 -4
- package/esm/public/orm/models/apiSetting.js +6 -2
- package/esm/public/orm/models/app.d.ts +2 -4
- package/esm/public/orm/models/app.js +6 -2
- package/esm/public/orm/models/appAchievement.d.ts +2 -4
- package/esm/public/orm/models/appAchievement.js +6 -2
- package/esm/public/orm/models/appAdminGrant.d.ts +2 -4
- package/esm/public/orm/models/appAdminGrant.js +6 -2
- package/esm/public/orm/models/appClaimedInvite.d.ts +2 -4
- package/esm/public/orm/models/appClaimedInvite.js +6 -2
- package/esm/public/orm/models/appGrant.d.ts +2 -4
- package/esm/public/orm/models/appGrant.js +6 -2
- package/esm/public/orm/models/appInvite.d.ts +2 -4
- package/esm/public/orm/models/appInvite.js +6 -2
- package/esm/public/orm/models/appLevel.d.ts +2 -4
- package/esm/public/orm/models/appLevel.js +6 -2
- package/esm/public/orm/models/appLevelRequirement.d.ts +2 -4
- package/esm/public/orm/models/appLevelRequirement.js +6 -2
- package/esm/public/orm/models/appLimit.d.ts +2 -4
- package/esm/public/orm/models/appLimit.js +6 -2
- package/esm/public/orm/models/appLimitCap.d.ts +2 -4
- package/esm/public/orm/models/appLimitCap.js +6 -2
- package/esm/public/orm/models/appLimitCapsDefault.d.ts +2 -4
- package/esm/public/orm/models/appLimitCapsDefault.js +6 -2
- package/esm/public/orm/models/appLimitCredit.d.ts +2 -4
- package/esm/public/orm/models/appLimitCredit.js +6 -2
- package/esm/public/orm/models/appLimitCreditCode.d.ts +2 -4
- package/esm/public/orm/models/appLimitCreditCode.js +6 -2
- package/esm/public/orm/models/appLimitCreditCodeItem.d.ts +2 -4
- package/esm/public/orm/models/appLimitCreditCodeItem.js +6 -2
- package/esm/public/orm/models/appLimitCreditRedemption.d.ts +2 -4
- package/esm/public/orm/models/appLimitCreditRedemption.js +6 -2
- package/esm/public/orm/models/appLimitDefault.d.ts +2 -4
- package/esm/public/orm/models/appLimitDefault.js +6 -2
- package/esm/public/orm/models/appLimitEvent.d.ts +2 -4
- package/esm/public/orm/models/appLimitEvent.js +6 -2
- package/esm/public/orm/models/appMembership.d.ts +2 -4
- package/esm/public/orm/models/appMembership.js +6 -2
- package/esm/public/orm/models/appMembershipDefault.d.ts +2 -4
- package/esm/public/orm/models/appMembershipDefault.js +6 -2
- package/esm/public/orm/models/appOwnerGrant.d.ts +2 -4
- package/esm/public/orm/models/appOwnerGrant.js +6 -2
- package/esm/public/orm/models/appPermission.d.ts +2 -4
- package/esm/public/orm/models/appPermission.js +6 -2
- package/esm/public/orm/models/appPermissionDefault.d.ts +2 -4
- package/esm/public/orm/models/appPermissionDefault.js +6 -2
- package/esm/public/orm/models/appStep.d.ts +2 -4
- package/esm/public/orm/models/appStep.js +6 -2
- package/esm/public/orm/models/astMigration.d.ts +2 -4
- package/esm/public/orm/models/astMigration.js +6 -2
- package/esm/public/orm/models/auditLog.d.ts +2 -4
- package/esm/public/orm/models/auditLog.js +6 -2
- package/esm/public/orm/models/billingModule.d.ts +2 -4
- package/esm/public/orm/models/billingModule.js +6 -2
- package/esm/public/orm/models/billingProviderModule.d.ts +2 -4
- package/esm/public/orm/models/billingProviderModule.js +6 -2
- package/esm/public/orm/models/blueprint.d.ts +2 -4
- package/esm/public/orm/models/blueprint.js +6 -2
- package/esm/public/orm/models/blueprintConstruction.d.ts +2 -4
- package/esm/public/orm/models/blueprintConstruction.js +6 -2
- package/esm/public/orm/models/blueprintTemplate.d.ts +2 -4
- package/esm/public/orm/models/blueprintTemplate.js +6 -2
- package/esm/public/orm/models/checkConstraint.d.ts +2 -4
- package/esm/public/orm/models/checkConstraint.js +6 -2
- package/esm/public/orm/models/commit.d.ts +2 -4
- package/esm/public/orm/models/commit.js +6 -2
- package/esm/public/orm/models/connectedAccountsModule.d.ts +2 -4
- package/esm/public/orm/models/connectedAccountsModule.js +6 -2
- package/esm/public/orm/models/corsSetting.d.ts +2 -4
- package/esm/public/orm/models/corsSetting.js +6 -2
- package/esm/public/orm/models/cryptoAddress.d.ts +2 -4
- package/esm/public/orm/models/cryptoAddress.js +6 -2
- package/esm/public/orm/models/cryptoAddressesModule.d.ts +2 -4
- package/esm/public/orm/models/cryptoAddressesModule.js +6 -2
- package/esm/public/orm/models/cryptoAuthModule.d.ts +2 -4
- package/esm/public/orm/models/cryptoAuthModule.js +6 -2
- package/esm/public/orm/models/database.d.ts +2 -4
- package/esm/public/orm/models/database.js +6 -2
- package/esm/public/orm/models/databaseProvisionModule.d.ts +2 -4
- package/esm/public/orm/models/databaseProvisionModule.js +6 -2
- package/esm/public/orm/models/databaseSetting.d.ts +2 -4
- package/esm/public/orm/models/databaseSetting.js +6 -2
- package/esm/public/orm/models/databaseTransfer.d.ts +2 -4
- package/esm/public/orm/models/databaseTransfer.js +6 -2
- package/esm/public/orm/models/defaultIdsModule.d.ts +2 -4
- package/esm/public/orm/models/defaultIdsModule.js +6 -2
- package/esm/public/orm/models/defaultPrivilege.d.ts +2 -4
- package/esm/public/orm/models/defaultPrivilege.js +6 -2
- package/esm/public/orm/models/denormalizedTableField.d.ts +2 -4
- package/esm/public/orm/models/denormalizedTableField.js +6 -2
- package/esm/public/orm/models/devicesModule.d.ts +2 -4
- package/esm/public/orm/models/devicesModule.js +6 -2
- package/esm/public/orm/models/domain.d.ts +2 -4
- package/esm/public/orm/models/domain.js +6 -2
- package/esm/public/orm/models/email.d.ts +2 -4
- package/esm/public/orm/models/email.js +6 -2
- package/esm/public/orm/models/emailsModule.d.ts +2 -4
- package/esm/public/orm/models/emailsModule.js +6 -2
- package/esm/public/orm/models/embeddingChunk.d.ts +2 -4
- package/esm/public/orm/models/embeddingChunk.js +6 -2
- package/esm/public/orm/models/encryptedSecretsModule.d.ts +2 -4
- package/esm/public/orm/models/encryptedSecretsModule.js +6 -2
- package/esm/public/orm/models/entityTypeProvision.d.ts +2 -4
- package/esm/public/orm/models/entityTypeProvision.js +6 -2
- package/esm/public/orm/models/enum.d.ts +2 -4
- package/esm/public/orm/models/enum.js +6 -2
- package/esm/public/orm/models/field.d.ts +2 -4
- package/esm/public/orm/models/field.js +6 -2
- package/esm/public/orm/models/foreignKeyConstraint.d.ts +2 -4
- package/esm/public/orm/models/foreignKeyConstraint.js +6 -2
- package/esm/public/orm/models/fullTextSearch.d.ts +2 -4
- package/esm/public/orm/models/fullTextSearch.js +6 -2
- package/esm/public/orm/models/function.d.ts +2 -4
- package/esm/public/orm/models/function.js +6 -2
- package/esm/public/orm/models/getAllRecord.d.ts +2 -4
- package/esm/public/orm/models/getAllRecord.js +6 -2
- package/esm/public/orm/models/hierarchyModule.d.ts +2 -4
- package/esm/public/orm/models/hierarchyModule.js +6 -2
- package/esm/public/orm/models/identityProvider.d.ts +2 -4
- package/esm/public/orm/models/identityProvider.js +6 -2
- package/esm/public/orm/models/identityProvidersModule.d.ts +2 -4
- package/esm/public/orm/models/identityProvidersModule.js +6 -2
- package/esm/public/orm/models/indexModel.d.ts +2 -4
- package/esm/public/orm/models/indexModel.js +6 -2
- package/esm/public/orm/models/invitesModule.d.ts +2 -4
- package/esm/public/orm/models/invitesModule.js +6 -2
- package/esm/public/orm/models/levelsModule.d.ts +2 -4
- package/esm/public/orm/models/levelsModule.js +6 -2
- package/esm/public/orm/models/limitsModule.d.ts +2 -4
- package/esm/public/orm/models/limitsModule.js +6 -2
- package/esm/public/orm/models/membershipType.d.ts +2 -4
- package/esm/public/orm/models/membershipType.js +6 -2
- package/esm/public/orm/models/membershipTypesModule.d.ts +2 -4
- package/esm/public/orm/models/membershipTypesModule.js +6 -2
- package/esm/public/orm/models/membershipsModule.d.ts +2 -4
- package/esm/public/orm/models/membershipsModule.js +6 -2
- package/esm/public/orm/models/migrateFile.d.ts +2 -4
- package/esm/public/orm/models/migrateFile.js +6 -2
- package/esm/public/orm/models/nodeTypeRegistry.d.ts +2 -4
- package/esm/public/orm/models/nodeTypeRegistry.js +6 -2
- package/esm/public/orm/models/notificationsModule.d.ts +2 -4
- package/esm/public/orm/models/notificationsModule.js +6 -2
- package/esm/public/orm/models/object.d.ts +3 -5
- package/esm/public/orm/models/object.js +7 -3
- package/esm/public/orm/models/orgAdminGrant.d.ts +2 -4
- package/esm/public/orm/models/orgAdminGrant.js +6 -2
- package/esm/public/orm/models/orgChartEdge.d.ts +2 -4
- package/esm/public/orm/models/orgChartEdge.js +6 -2
- package/esm/public/orm/models/orgChartEdgeGrant.d.ts +2 -4
- package/esm/public/orm/models/orgChartEdgeGrant.js +6 -2
- package/esm/public/orm/models/orgClaimedInvite.d.ts +2 -4
- package/esm/public/orm/models/orgClaimedInvite.js +6 -2
- package/esm/public/orm/models/orgGetManagersRecord.d.ts +2 -4
- package/esm/public/orm/models/orgGetManagersRecord.js +6 -2
- package/esm/public/orm/models/orgGetSubordinatesRecord.d.ts +2 -4
- package/esm/public/orm/models/orgGetSubordinatesRecord.js +6 -2
- package/esm/public/orm/models/orgGrant.d.ts +2 -4
- package/esm/public/orm/models/orgGrant.js +6 -2
- package/esm/public/orm/models/orgInvite.d.ts +2 -4
- package/esm/public/orm/models/orgInvite.js +6 -2
- package/esm/public/orm/models/orgLimit.d.ts +2 -4
- package/esm/public/orm/models/orgLimit.js +6 -2
- package/esm/public/orm/models/orgLimitAggregate.d.ts +2 -4
- package/esm/public/orm/models/orgLimitAggregate.js +6 -2
- package/esm/public/orm/models/orgLimitCap.d.ts +2 -4
- package/esm/public/orm/models/orgLimitCap.js +6 -2
- package/esm/public/orm/models/orgLimitCapsDefault.d.ts +2 -4
- package/esm/public/orm/models/orgLimitCapsDefault.js +6 -2
- package/esm/public/orm/models/orgLimitCredit.d.ts +2 -4
- package/esm/public/orm/models/orgLimitCredit.js +6 -2
- package/esm/public/orm/models/orgLimitDefault.d.ts +2 -4
- package/esm/public/orm/models/orgLimitDefault.js +6 -2
- package/esm/public/orm/models/orgLimitEvent.d.ts +2 -4
- package/esm/public/orm/models/orgLimitEvent.js +6 -2
- package/esm/public/orm/models/orgMember.d.ts +2 -4
- package/esm/public/orm/models/orgMember.js +6 -2
- package/esm/public/orm/models/orgMemberProfile.d.ts +2 -4
- package/esm/public/orm/models/orgMemberProfile.js +6 -2
- package/esm/public/orm/models/orgMembership.d.ts +2 -4
- package/esm/public/orm/models/orgMembership.js +6 -2
- package/esm/public/orm/models/orgMembershipDefault.d.ts +2 -4
- package/esm/public/orm/models/orgMembershipDefault.js +6 -2
- package/esm/public/orm/models/orgMembershipSetting.d.ts +2 -4
- package/esm/public/orm/models/orgMembershipSetting.js +6 -2
- package/esm/public/orm/models/orgOwnerGrant.d.ts +2 -4
- package/esm/public/orm/models/orgOwnerGrant.js +6 -2
- package/esm/public/orm/models/orgPermission.d.ts +2 -4
- package/esm/public/orm/models/orgPermission.js +6 -2
- package/esm/public/orm/models/orgPermissionDefault.d.ts +2 -4
- package/esm/public/orm/models/orgPermissionDefault.js +6 -2
- package/esm/public/orm/models/partition.d.ts +2 -4
- package/esm/public/orm/models/partition.js +6 -2
- package/esm/public/orm/models/permissionsModule.d.ts +2 -4
- package/esm/public/orm/models/permissionsModule.js +6 -2
- package/esm/public/orm/models/phoneNumber.d.ts +2 -4
- package/esm/public/orm/models/phoneNumber.js +6 -2
- package/esm/public/orm/models/phoneNumbersModule.d.ts +2 -4
- package/esm/public/orm/models/phoneNumbersModule.js +6 -2
- package/esm/public/orm/models/plansModule.d.ts +2 -4
- package/esm/public/orm/models/plansModule.js +6 -2
- package/esm/public/orm/models/policy.d.ts +2 -4
- package/esm/public/orm/models/policy.js +6 -2
- package/esm/public/orm/models/primaryKeyConstraint.d.ts +2 -4
- package/esm/public/orm/models/primaryKeyConstraint.js +6 -2
- package/esm/public/orm/models/profilesModule.d.ts +2 -4
- package/esm/public/orm/models/profilesModule.js +6 -2
- package/esm/public/orm/models/pubkeySetting.d.ts +2 -4
- package/esm/public/orm/models/pubkeySetting.js +6 -2
- package/esm/public/orm/models/rateLimitsModule.d.ts +2 -4
- package/esm/public/orm/models/rateLimitsModule.js +6 -2
- package/esm/public/orm/models/realtimeModule.d.ts +2 -4
- package/esm/public/orm/models/realtimeModule.js +6 -2
- package/esm/public/orm/models/ref.d.ts +2 -4
- package/esm/public/orm/models/ref.js +6 -2
- package/esm/public/orm/models/relationProvision.d.ts +2 -4
- package/esm/public/orm/models/relationProvision.js +6 -2
- package/esm/public/orm/models/rlsModule.d.ts +2 -4
- package/esm/public/orm/models/rlsModule.js +6 -2
- package/esm/public/orm/models/rlsSetting.d.ts +2 -4
- package/esm/public/orm/models/rlsSetting.js +6 -2
- package/esm/public/orm/models/roleType.d.ts +2 -4
- package/esm/public/orm/models/roleType.js +6 -2
- package/esm/public/orm/models/schema.d.ts +2 -4
- package/esm/public/orm/models/schema.js +6 -2
- package/esm/public/orm/models/schemaGrant.d.ts +2 -4
- package/esm/public/orm/models/schemaGrant.js +6 -2
- package/esm/public/orm/models/secretsModule.d.ts +2 -4
- package/esm/public/orm/models/secretsModule.js +6 -2
- package/esm/public/orm/models/secureTableProvision.d.ts +2 -4
- package/esm/public/orm/models/secureTableProvision.js +6 -2
- package/esm/public/orm/models/sessionSecretsModule.d.ts +2 -4
- package/esm/public/orm/models/sessionSecretsModule.js +6 -2
- package/esm/public/orm/models/sessionsModule.d.ts +2 -4
- package/esm/public/orm/models/sessionsModule.js +6 -2
- package/esm/public/orm/models/site.d.ts +2 -4
- package/esm/public/orm/models/site.js +6 -2
- package/esm/public/orm/models/siteMetadatum.d.ts +2 -4
- package/esm/public/orm/models/siteMetadatum.js +6 -2
- package/esm/public/orm/models/siteModule.d.ts +2 -4
- package/esm/public/orm/models/siteModule.js +6 -2
- package/esm/public/orm/models/siteTheme.d.ts +2 -4
- package/esm/public/orm/models/siteTheme.js +6 -2
- package/esm/public/orm/models/spatialRelation.d.ts +2 -4
- package/esm/public/orm/models/spatialRelation.js +6 -2
- package/esm/public/orm/models/sqlAction.d.ts +2 -4
- package/esm/public/orm/models/sqlAction.js +6 -2
- package/esm/public/orm/models/storageModule.d.ts +2 -4
- package/esm/public/orm/models/storageModule.js +6 -2
- package/esm/public/orm/models/store.d.ts +2 -4
- package/esm/public/orm/models/store.js +6 -2
- package/esm/public/orm/models/table.d.ts +2 -4
- package/esm/public/orm/models/table.js +6 -2
- package/esm/public/orm/models/tableGrant.d.ts +2 -4
- package/esm/public/orm/models/tableGrant.js +6 -2
- package/esm/public/orm/models/trigger.d.ts +2 -4
- package/esm/public/orm/models/trigger.js +6 -2
- package/esm/public/orm/models/triggerFunction.d.ts +2 -4
- package/esm/public/orm/models/triggerFunction.js +6 -2
- package/esm/public/orm/models/uniqueConstraint.d.ts +2 -4
- package/esm/public/orm/models/uniqueConstraint.js +6 -2
- package/esm/public/orm/models/usageSnapshot.d.ts +2 -4
- package/esm/public/orm/models/usageSnapshot.js +6 -2
- package/esm/public/orm/models/user.d.ts +2 -4
- package/esm/public/orm/models/user.js +6 -2
- package/esm/public/orm/models/userAuthModule.d.ts +2 -4
- package/esm/public/orm/models/userAuthModule.js +6 -2
- package/esm/public/orm/models/userConnectedAccount.d.ts +2 -4
- package/esm/public/orm/models/userConnectedAccount.js +6 -2
- package/esm/public/orm/models/usersModule.d.ts +2 -4
- package/esm/public/orm/models/usersModule.js +6 -2
- package/esm/public/orm/models/view.d.ts +2 -4
- package/esm/public/orm/models/view.js +6 -2
- package/esm/public/orm/models/viewGrant.d.ts +2 -4
- package/esm/public/orm/models/viewGrant.js +6 -2
- package/esm/public/orm/models/viewRule.d.ts +2 -4
- package/esm/public/orm/models/viewRule.js +6 -2
- package/esm/public/orm/models/viewTable.d.ts +2 -4
- package/esm/public/orm/models/viewTable.js +6 -2
- package/esm/public/orm/models/webauthnAuthModule.d.ts +2 -4
- package/esm/public/orm/models/webauthnAuthModule.js +6 -2
- package/esm/public/orm/models/webauthnCredential.d.ts +2 -4
- package/esm/public/orm/models/webauthnCredential.js +6 -2
- package/esm/public/orm/models/webauthnCredentialsModule.d.ts +2 -4
- package/esm/public/orm/models/webauthnCredentialsModule.js +6 -2
- package/esm/public/orm/models/webauthnSetting.d.ts +2 -4
- package/esm/public/orm/models/webauthnSetting.js +6 -2
- package/esm/public/orm/query-builder.d.ts +18 -1
- package/esm/public/orm/query-builder.js +108 -1
- package/esm/public/orm/select-types.d.ts +25 -1
- package/esm/public/schema-types.d.ts +111 -105
- package/esm/public/types.d.ts +1 -0
- package/objects/orm/models/commit.d.ts +2 -4
- package/objects/orm/models/commit.js +6 -2
- package/objects/orm/models/getAllRecord.d.ts +2 -4
- package/objects/orm/models/getAllRecord.js +6 -2
- package/objects/orm/models/object.d.ts +3 -5
- package/objects/orm/models/object.js +7 -3
- package/objects/orm/models/ref.d.ts +2 -4
- package/objects/orm/models/ref.js +6 -2
- package/objects/orm/models/store.d.ts +2 -4
- package/objects/orm/models/store.js +6 -2
- package/objects/orm/query-builder.d.ts +18 -1
- package/objects/orm/query-builder.js +112 -1
- package/objects/orm/select-types.d.ts +25 -1
- package/package.json +4 -4
- package/public/orm/input-types.d.ts +10 -1
- package/public/orm/models/agentMessage.d.ts +2 -4
- package/public/orm/models/agentMessage.js +6 -2
- package/public/orm/models/agentTask.d.ts +2 -4
- package/public/orm/models/agentTask.js +6 -2
- package/public/orm/models/agentThread.d.ts +2 -4
- package/public/orm/models/agentThread.js +6 -2
- package/public/orm/models/api.d.ts +2 -4
- package/public/orm/models/api.js +6 -2
- package/public/orm/models/apiModule.d.ts +2 -4
- package/public/orm/models/apiModule.js +6 -2
- package/public/orm/models/apiSchema.d.ts +2 -4
- package/public/orm/models/apiSchema.js +6 -2
- package/public/orm/models/apiSetting.d.ts +2 -4
- package/public/orm/models/apiSetting.js +6 -2
- package/public/orm/models/app.d.ts +2 -4
- package/public/orm/models/app.js +6 -2
- package/public/orm/models/appAchievement.d.ts +2 -4
- package/public/orm/models/appAchievement.js +6 -2
- package/public/orm/models/appAdminGrant.d.ts +2 -4
- package/public/orm/models/appAdminGrant.js +6 -2
- package/public/orm/models/appClaimedInvite.d.ts +2 -4
- package/public/orm/models/appClaimedInvite.js +6 -2
- package/public/orm/models/appGrant.d.ts +2 -4
- package/public/orm/models/appGrant.js +6 -2
- package/public/orm/models/appInvite.d.ts +2 -4
- package/public/orm/models/appInvite.js +6 -2
- package/public/orm/models/appLevel.d.ts +2 -4
- package/public/orm/models/appLevel.js +6 -2
- package/public/orm/models/appLevelRequirement.d.ts +2 -4
- package/public/orm/models/appLevelRequirement.js +6 -2
- package/public/orm/models/appLimit.d.ts +2 -4
- package/public/orm/models/appLimit.js +6 -2
- package/public/orm/models/appLimitCap.d.ts +2 -4
- package/public/orm/models/appLimitCap.js +6 -2
- package/public/orm/models/appLimitCapsDefault.d.ts +2 -4
- package/public/orm/models/appLimitCapsDefault.js +6 -2
- package/public/orm/models/appLimitCredit.d.ts +2 -4
- package/public/orm/models/appLimitCredit.js +6 -2
- package/public/orm/models/appLimitCreditCode.d.ts +2 -4
- package/public/orm/models/appLimitCreditCode.js +6 -2
- package/public/orm/models/appLimitCreditCodeItem.d.ts +2 -4
- package/public/orm/models/appLimitCreditCodeItem.js +6 -2
- package/public/orm/models/appLimitCreditRedemption.d.ts +2 -4
- package/public/orm/models/appLimitCreditRedemption.js +6 -2
- package/public/orm/models/appLimitDefault.d.ts +2 -4
- package/public/orm/models/appLimitDefault.js +6 -2
- package/public/orm/models/appLimitEvent.d.ts +2 -4
- package/public/orm/models/appLimitEvent.js +6 -2
- package/public/orm/models/appMembership.d.ts +2 -4
- package/public/orm/models/appMembership.js +6 -2
- package/public/orm/models/appMembershipDefault.d.ts +2 -4
- package/public/orm/models/appMembershipDefault.js +6 -2
- package/public/orm/models/appOwnerGrant.d.ts +2 -4
- package/public/orm/models/appOwnerGrant.js +6 -2
- package/public/orm/models/appPermission.d.ts +2 -4
- package/public/orm/models/appPermission.js +6 -2
- package/public/orm/models/appPermissionDefault.d.ts +2 -4
- package/public/orm/models/appPermissionDefault.js +6 -2
- package/public/orm/models/appStep.d.ts +2 -4
- package/public/orm/models/appStep.js +6 -2
- package/public/orm/models/astMigration.d.ts +2 -4
- package/public/orm/models/astMigration.js +6 -2
- package/public/orm/models/auditLog.d.ts +2 -4
- package/public/orm/models/auditLog.js +6 -2
- package/public/orm/models/billingModule.d.ts +2 -4
- package/public/orm/models/billingModule.js +6 -2
- package/public/orm/models/billingProviderModule.d.ts +2 -4
- package/public/orm/models/billingProviderModule.js +6 -2
- package/public/orm/models/blueprint.d.ts +2 -4
- package/public/orm/models/blueprint.js +6 -2
- package/public/orm/models/blueprintConstruction.d.ts +2 -4
- package/public/orm/models/blueprintConstruction.js +6 -2
- package/public/orm/models/blueprintTemplate.d.ts +2 -4
- package/public/orm/models/blueprintTemplate.js +6 -2
- package/public/orm/models/checkConstraint.d.ts +2 -4
- package/public/orm/models/checkConstraint.js +6 -2
- package/public/orm/models/commit.d.ts +2 -4
- package/public/orm/models/commit.js +6 -2
- package/public/orm/models/connectedAccountsModule.d.ts +2 -4
- package/public/orm/models/connectedAccountsModule.js +6 -2
- package/public/orm/models/corsSetting.d.ts +2 -4
- package/public/orm/models/corsSetting.js +6 -2
- package/public/orm/models/cryptoAddress.d.ts +2 -4
- package/public/orm/models/cryptoAddress.js +6 -2
- package/public/orm/models/cryptoAddressesModule.d.ts +2 -4
- package/public/orm/models/cryptoAddressesModule.js +6 -2
- package/public/orm/models/cryptoAuthModule.d.ts +2 -4
- package/public/orm/models/cryptoAuthModule.js +6 -2
- package/public/orm/models/database.d.ts +2 -4
- package/public/orm/models/database.js +6 -2
- package/public/orm/models/databaseProvisionModule.d.ts +2 -4
- package/public/orm/models/databaseProvisionModule.js +6 -2
- package/public/orm/models/databaseSetting.d.ts +2 -4
- package/public/orm/models/databaseSetting.js +6 -2
- package/public/orm/models/databaseTransfer.d.ts +2 -4
- package/public/orm/models/databaseTransfer.js +6 -2
- package/public/orm/models/defaultIdsModule.d.ts +2 -4
- package/public/orm/models/defaultIdsModule.js +6 -2
- package/public/orm/models/defaultPrivilege.d.ts +2 -4
- package/public/orm/models/defaultPrivilege.js +6 -2
- package/public/orm/models/denormalizedTableField.d.ts +2 -4
- package/public/orm/models/denormalizedTableField.js +6 -2
- package/public/orm/models/devicesModule.d.ts +2 -4
- package/public/orm/models/devicesModule.js +6 -2
- package/public/orm/models/domain.d.ts +2 -4
- package/public/orm/models/domain.js +6 -2
- package/public/orm/models/email.d.ts +2 -4
- package/public/orm/models/email.js +6 -2
- package/public/orm/models/emailsModule.d.ts +2 -4
- package/public/orm/models/emailsModule.js +6 -2
- package/public/orm/models/embeddingChunk.d.ts +2 -4
- package/public/orm/models/embeddingChunk.js +6 -2
- package/public/orm/models/encryptedSecretsModule.d.ts +2 -4
- package/public/orm/models/encryptedSecretsModule.js +6 -2
- package/public/orm/models/entityTypeProvision.d.ts +2 -4
- package/public/orm/models/entityTypeProvision.js +6 -2
- package/public/orm/models/enum.d.ts +2 -4
- package/public/orm/models/enum.js +6 -2
- package/public/orm/models/field.d.ts +2 -4
- package/public/orm/models/field.js +6 -2
- package/public/orm/models/foreignKeyConstraint.d.ts +2 -4
- package/public/orm/models/foreignKeyConstraint.js +6 -2
- package/public/orm/models/fullTextSearch.d.ts +2 -4
- package/public/orm/models/fullTextSearch.js +6 -2
- package/public/orm/models/function.d.ts +2 -4
- package/public/orm/models/function.js +6 -2
- package/public/orm/models/getAllRecord.d.ts +2 -4
- package/public/orm/models/getAllRecord.js +6 -2
- package/public/orm/models/hierarchyModule.d.ts +2 -4
- package/public/orm/models/hierarchyModule.js +6 -2
- package/public/orm/models/identityProvider.d.ts +2 -4
- package/public/orm/models/identityProvider.js +6 -2
- package/public/orm/models/identityProvidersModule.d.ts +2 -4
- package/public/orm/models/identityProvidersModule.js +6 -2
- package/public/orm/models/indexModel.d.ts +2 -4
- package/public/orm/models/indexModel.js +6 -2
- package/public/orm/models/invitesModule.d.ts +2 -4
- package/public/orm/models/invitesModule.js +6 -2
- package/public/orm/models/levelsModule.d.ts +2 -4
- package/public/orm/models/levelsModule.js +6 -2
- package/public/orm/models/limitsModule.d.ts +2 -4
- package/public/orm/models/limitsModule.js +6 -2
- package/public/orm/models/membershipType.d.ts +2 -4
- package/public/orm/models/membershipType.js +6 -2
- package/public/orm/models/membershipTypesModule.d.ts +2 -4
- package/public/orm/models/membershipTypesModule.js +6 -2
- package/public/orm/models/membershipsModule.d.ts +2 -4
- package/public/orm/models/membershipsModule.js +6 -2
- package/public/orm/models/migrateFile.d.ts +2 -4
- package/public/orm/models/migrateFile.js +6 -2
- package/public/orm/models/nodeTypeRegistry.d.ts +2 -4
- package/public/orm/models/nodeTypeRegistry.js +6 -2
- package/public/orm/models/notificationsModule.d.ts +2 -4
- package/public/orm/models/notificationsModule.js +6 -2
- package/public/orm/models/object.d.ts +3 -5
- package/public/orm/models/object.js +7 -3
- package/public/orm/models/orgAdminGrant.d.ts +2 -4
- package/public/orm/models/orgAdminGrant.js +6 -2
- package/public/orm/models/orgChartEdge.d.ts +2 -4
- package/public/orm/models/orgChartEdge.js +6 -2
- package/public/orm/models/orgChartEdgeGrant.d.ts +2 -4
- package/public/orm/models/orgChartEdgeGrant.js +6 -2
- package/public/orm/models/orgClaimedInvite.d.ts +2 -4
- package/public/orm/models/orgClaimedInvite.js +6 -2
- package/public/orm/models/orgGetManagersRecord.d.ts +2 -4
- package/public/orm/models/orgGetManagersRecord.js +6 -2
- package/public/orm/models/orgGetSubordinatesRecord.d.ts +2 -4
- package/public/orm/models/orgGetSubordinatesRecord.js +6 -2
- package/public/orm/models/orgGrant.d.ts +2 -4
- package/public/orm/models/orgGrant.js +6 -2
- package/public/orm/models/orgInvite.d.ts +2 -4
- package/public/orm/models/orgInvite.js +6 -2
- package/public/orm/models/orgLimit.d.ts +2 -4
- package/public/orm/models/orgLimit.js +6 -2
- package/public/orm/models/orgLimitAggregate.d.ts +2 -4
- package/public/orm/models/orgLimitAggregate.js +6 -2
- package/public/orm/models/orgLimitCap.d.ts +2 -4
- package/public/orm/models/orgLimitCap.js +6 -2
- package/public/orm/models/orgLimitCapsDefault.d.ts +2 -4
- package/public/orm/models/orgLimitCapsDefault.js +6 -2
- package/public/orm/models/orgLimitCredit.d.ts +2 -4
- package/public/orm/models/orgLimitCredit.js +6 -2
- package/public/orm/models/orgLimitDefault.d.ts +2 -4
- package/public/orm/models/orgLimitDefault.js +6 -2
- package/public/orm/models/orgLimitEvent.d.ts +2 -4
- package/public/orm/models/orgLimitEvent.js +6 -2
- package/public/orm/models/orgMember.d.ts +2 -4
- package/public/orm/models/orgMember.js +6 -2
- package/public/orm/models/orgMemberProfile.d.ts +2 -4
- package/public/orm/models/orgMemberProfile.js +6 -2
- package/public/orm/models/orgMembership.d.ts +2 -4
- package/public/orm/models/orgMembership.js +6 -2
- package/public/orm/models/orgMembershipDefault.d.ts +2 -4
- package/public/orm/models/orgMembershipDefault.js +6 -2
- package/public/orm/models/orgMembershipSetting.d.ts +2 -4
- package/public/orm/models/orgMembershipSetting.js +6 -2
- package/public/orm/models/orgOwnerGrant.d.ts +2 -4
- package/public/orm/models/orgOwnerGrant.js +6 -2
- package/public/orm/models/orgPermission.d.ts +2 -4
- package/public/orm/models/orgPermission.js +6 -2
- package/public/orm/models/orgPermissionDefault.d.ts +2 -4
- package/public/orm/models/orgPermissionDefault.js +6 -2
- package/public/orm/models/partition.d.ts +2 -4
- package/public/orm/models/partition.js +6 -2
- package/public/orm/models/permissionsModule.d.ts +2 -4
- package/public/orm/models/permissionsModule.js +6 -2
- package/public/orm/models/phoneNumber.d.ts +2 -4
- package/public/orm/models/phoneNumber.js +6 -2
- package/public/orm/models/phoneNumbersModule.d.ts +2 -4
- package/public/orm/models/phoneNumbersModule.js +6 -2
- package/public/orm/models/plansModule.d.ts +2 -4
- package/public/orm/models/plansModule.js +6 -2
- package/public/orm/models/policy.d.ts +2 -4
- package/public/orm/models/policy.js +6 -2
- package/public/orm/models/primaryKeyConstraint.d.ts +2 -4
- package/public/orm/models/primaryKeyConstraint.js +6 -2
- package/public/orm/models/profilesModule.d.ts +2 -4
- package/public/orm/models/profilesModule.js +6 -2
- package/public/orm/models/pubkeySetting.d.ts +2 -4
- package/public/orm/models/pubkeySetting.js +6 -2
- package/public/orm/models/rateLimitsModule.d.ts +2 -4
- package/public/orm/models/rateLimitsModule.js +6 -2
- package/public/orm/models/realtimeModule.d.ts +2 -4
- package/public/orm/models/realtimeModule.js +6 -2
- package/public/orm/models/ref.d.ts +2 -4
- package/public/orm/models/ref.js +6 -2
- package/public/orm/models/relationProvision.d.ts +2 -4
- package/public/orm/models/relationProvision.js +6 -2
- package/public/orm/models/rlsModule.d.ts +2 -4
- package/public/orm/models/rlsModule.js +6 -2
- package/public/orm/models/rlsSetting.d.ts +2 -4
- package/public/orm/models/rlsSetting.js +6 -2
- package/public/orm/models/roleType.d.ts +2 -4
- package/public/orm/models/roleType.js +6 -2
- package/public/orm/models/schema.d.ts +2 -4
- package/public/orm/models/schema.js +6 -2
- package/public/orm/models/schemaGrant.d.ts +2 -4
- package/public/orm/models/schemaGrant.js +6 -2
- package/public/orm/models/secretsModule.d.ts +2 -4
- package/public/orm/models/secretsModule.js +6 -2
- package/public/orm/models/secureTableProvision.d.ts +2 -4
- package/public/orm/models/secureTableProvision.js +6 -2
- package/public/orm/models/sessionSecretsModule.d.ts +2 -4
- package/public/orm/models/sessionSecretsModule.js +6 -2
- package/public/orm/models/sessionsModule.d.ts +2 -4
- package/public/orm/models/sessionsModule.js +6 -2
- package/public/orm/models/site.d.ts +2 -4
- package/public/orm/models/site.js +6 -2
- package/public/orm/models/siteMetadatum.d.ts +2 -4
- package/public/orm/models/siteMetadatum.js +6 -2
- package/public/orm/models/siteModule.d.ts +2 -4
- package/public/orm/models/siteModule.js +6 -2
- package/public/orm/models/siteTheme.d.ts +2 -4
- package/public/orm/models/siteTheme.js +6 -2
- package/public/orm/models/spatialRelation.d.ts +2 -4
- package/public/orm/models/spatialRelation.js +6 -2
- package/public/orm/models/sqlAction.d.ts +2 -4
- package/public/orm/models/sqlAction.js +6 -2
- package/public/orm/models/storageModule.d.ts +2 -4
- package/public/orm/models/storageModule.js +6 -2
- package/public/orm/models/store.d.ts +2 -4
- package/public/orm/models/store.js +6 -2
- package/public/orm/models/table.d.ts +2 -4
- package/public/orm/models/table.js +6 -2
- package/public/orm/models/tableGrant.d.ts +2 -4
- package/public/orm/models/tableGrant.js +6 -2
- package/public/orm/models/trigger.d.ts +2 -4
- package/public/orm/models/trigger.js +6 -2
- package/public/orm/models/triggerFunction.d.ts +2 -4
- package/public/orm/models/triggerFunction.js +6 -2
- package/public/orm/models/uniqueConstraint.d.ts +2 -4
- package/public/orm/models/uniqueConstraint.js +6 -2
- package/public/orm/models/usageSnapshot.d.ts +2 -4
- package/public/orm/models/usageSnapshot.js +6 -2
- package/public/orm/models/user.d.ts +2 -4
- package/public/orm/models/user.js +6 -2
- package/public/orm/models/userAuthModule.d.ts +2 -4
- package/public/orm/models/userAuthModule.js +6 -2
- package/public/orm/models/userConnectedAccount.d.ts +2 -4
- package/public/orm/models/userConnectedAccount.js +6 -2
- package/public/orm/models/usersModule.d.ts +2 -4
- package/public/orm/models/usersModule.js +6 -2
- package/public/orm/models/view.d.ts +2 -4
- package/public/orm/models/view.js +6 -2
- package/public/orm/models/viewGrant.d.ts +2 -4
- package/public/orm/models/viewGrant.js +6 -2
- package/public/orm/models/viewRule.d.ts +2 -4
- package/public/orm/models/viewRule.js +6 -2
- package/public/orm/models/viewTable.d.ts +2 -4
- package/public/orm/models/viewTable.js +6 -2
- package/public/orm/models/webauthnAuthModule.d.ts +2 -4
- package/public/orm/models/webauthnAuthModule.js +6 -2
- package/public/orm/models/webauthnCredential.d.ts +2 -4
- package/public/orm/models/webauthnCredential.js +6 -2
- package/public/orm/models/webauthnCredentialsModule.d.ts +2 -4
- package/public/orm/models/webauthnCredentialsModule.js +6 -2
- package/public/orm/models/webauthnSetting.d.ts +2 -4
- package/public/orm/models/webauthnSetting.js +6 -2
- package/public/orm/query-builder.d.ts +18 -1
- package/public/orm/query-builder.js +112 -1
- package/public/orm/select-types.d.ts +25 -1
- package/public/schema-types.d.ts +111 -105
- package/public/types.d.ts +1 -0
|
@@ -45,6 +45,10 @@ exports.buildDeleteDocument = buildDeleteDocument;
|
|
|
45
45
|
exports.buildDeleteByPkDocument = buildDeleteByPkDocument;
|
|
46
46
|
exports.buildJunctionRemoveDocument = buildJunctionRemoveDocument;
|
|
47
47
|
exports.buildCustomDocument = buildCustomDocument;
|
|
48
|
+
exports.buildBulkInsertDocument = buildBulkInsertDocument;
|
|
49
|
+
exports.buildBulkUpsertDocument = buildBulkUpsertDocument;
|
|
50
|
+
exports.buildBulkUpdateDocument = buildBulkUpdateDocument;
|
|
51
|
+
exports.buildBulkDeleteDocument = buildBulkDeleteDocument;
|
|
48
52
|
/**
|
|
49
53
|
* Query Builder - Builds and executes GraphQL operations
|
|
50
54
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -247,7 +251,7 @@ function buildFindManyDocument(operationName, queryField, select, args, filterTy
|
|
|
247
251
|
});
|
|
248
252
|
return { document: (0, runtime_1.print)(document), variables };
|
|
249
253
|
}
|
|
250
|
-
function buildFindFirstDocument(operationName, queryField, select, args, filterTypeName, connectionFieldsMap) {
|
|
254
|
+
function buildFindFirstDocument(operationName, queryField, select, args, filterTypeName, orderByTypeName, connectionFieldsMap) {
|
|
251
255
|
const selections = select
|
|
252
256
|
? buildSelections(select, connectionFieldsMap, operationName)
|
|
253
257
|
: [t.field({ name: 'id' })];
|
|
@@ -261,6 +265,11 @@ function buildFindFirstDocument(operationName, queryField, select, args, filterT
|
|
|
261
265
|
typeName: filterTypeName,
|
|
262
266
|
value: args.where,
|
|
263
267
|
}, variableDefinitions, queryArgs, variables);
|
|
268
|
+
addVariable({
|
|
269
|
+
varName: 'orderBy',
|
|
270
|
+
typeName: '[' + orderByTypeName + '!]',
|
|
271
|
+
value: args.orderBy?.length ? args.orderBy : undefined,
|
|
272
|
+
}, variableDefinitions, queryArgs, variables);
|
|
264
273
|
const document = t.document({
|
|
265
274
|
definitions: [
|
|
266
275
|
t.operationDefinition({
|
|
@@ -643,3 +652,105 @@ function buildValueAst(value) {
|
|
|
643
652
|
}
|
|
644
653
|
throw new Error('Unsupported value type: ' + typeof value);
|
|
645
654
|
}
|
|
655
|
+
// ============================================================================
|
|
656
|
+
// Bulk Mutation Document Builders
|
|
657
|
+
// ============================================================================
|
|
658
|
+
function buildBulkInsertDocument(operationName, mutationField, select, data, inputTypeName, onConflict, connectionFieldsMap) {
|
|
659
|
+
const selections = select
|
|
660
|
+
? buildSelections(select, connectionFieldsMap, operationName)
|
|
661
|
+
: [t.field({ name: 'id' })];
|
|
662
|
+
return {
|
|
663
|
+
document: buildInputMutationDocument({
|
|
664
|
+
operationName,
|
|
665
|
+
mutationField,
|
|
666
|
+
inputTypeName,
|
|
667
|
+
resultSelections: [
|
|
668
|
+
t.field({ name: 'affectedCount' }),
|
|
669
|
+
t.field({
|
|
670
|
+
name: 'returning',
|
|
671
|
+
selectionSet: t.selectionSet({ selections }),
|
|
672
|
+
}),
|
|
673
|
+
],
|
|
674
|
+
}),
|
|
675
|
+
variables: {
|
|
676
|
+
input: {
|
|
677
|
+
values: data,
|
|
678
|
+
...(onConflict ? { onConflict } : {}),
|
|
679
|
+
},
|
|
680
|
+
},
|
|
681
|
+
};
|
|
682
|
+
}
|
|
683
|
+
function buildBulkUpsertDocument(operationName, mutationField, select, data, inputTypeName, onConflict, connectionFieldsMap) {
|
|
684
|
+
const selections = select
|
|
685
|
+
? buildSelections(select, connectionFieldsMap, operationName)
|
|
686
|
+
: [t.field({ name: 'id' })];
|
|
687
|
+
return {
|
|
688
|
+
document: buildInputMutationDocument({
|
|
689
|
+
operationName,
|
|
690
|
+
mutationField,
|
|
691
|
+
inputTypeName,
|
|
692
|
+
resultSelections: [
|
|
693
|
+
t.field({ name: 'affectedCount' }),
|
|
694
|
+
t.field({
|
|
695
|
+
name: 'returning',
|
|
696
|
+
selectionSet: t.selectionSet({ selections }),
|
|
697
|
+
}),
|
|
698
|
+
],
|
|
699
|
+
}),
|
|
700
|
+
variables: {
|
|
701
|
+
input: {
|
|
702
|
+
values: data,
|
|
703
|
+
onConflict,
|
|
704
|
+
},
|
|
705
|
+
},
|
|
706
|
+
};
|
|
707
|
+
}
|
|
708
|
+
function buildBulkUpdateDocument(operationName, mutationField, select, where, data, inputTypeName, connectionFieldsMap) {
|
|
709
|
+
const selections = select
|
|
710
|
+
? buildSelections(select, connectionFieldsMap, operationName)
|
|
711
|
+
: [t.field({ name: 'id' })];
|
|
712
|
+
return {
|
|
713
|
+
document: buildInputMutationDocument({
|
|
714
|
+
operationName,
|
|
715
|
+
mutationField,
|
|
716
|
+
inputTypeName,
|
|
717
|
+
resultSelections: [
|
|
718
|
+
t.field({ name: 'affectedCount' }),
|
|
719
|
+
t.field({
|
|
720
|
+
name: 'returning',
|
|
721
|
+
selectionSet: t.selectionSet({ selections }),
|
|
722
|
+
}),
|
|
723
|
+
],
|
|
724
|
+
}),
|
|
725
|
+
variables: {
|
|
726
|
+
input: {
|
|
727
|
+
where,
|
|
728
|
+
patch: data,
|
|
729
|
+
},
|
|
730
|
+
},
|
|
731
|
+
};
|
|
732
|
+
}
|
|
733
|
+
function buildBulkDeleteDocument(operationName, mutationField, select, where, inputTypeName, connectionFieldsMap) {
|
|
734
|
+
const selections = select
|
|
735
|
+
? buildSelections(select, connectionFieldsMap, operationName)
|
|
736
|
+
: [t.field({ name: 'id' })];
|
|
737
|
+
return {
|
|
738
|
+
document: buildInputMutationDocument({
|
|
739
|
+
operationName,
|
|
740
|
+
mutationField,
|
|
741
|
+
inputTypeName,
|
|
742
|
+
resultSelections: [
|
|
743
|
+
t.field({ name: 'affectedCount' }),
|
|
744
|
+
t.field({
|
|
745
|
+
name: 'returning',
|
|
746
|
+
selectionSet: t.selectionSet({ selections }),
|
|
747
|
+
}),
|
|
748
|
+
],
|
|
749
|
+
}),
|
|
750
|
+
variables: {
|
|
751
|
+
input: {
|
|
752
|
+
where,
|
|
753
|
+
},
|
|
754
|
+
},
|
|
755
|
+
};
|
|
756
|
+
}
|
|
@@ -24,9 +24,10 @@ export interface FindManyArgs<TSelect, TWhere, TOrderBy = never> {
|
|
|
24
24
|
before?: string;
|
|
25
25
|
offset?: number;
|
|
26
26
|
}
|
|
27
|
-
export interface FindFirstArgs<TSelect, TWhere> {
|
|
27
|
+
export interface FindFirstArgs<TSelect, TWhere, TOrderBy> {
|
|
28
28
|
select?: TSelect;
|
|
29
29
|
where?: TWhere;
|
|
30
|
+
orderBy?: TOrderBy[];
|
|
30
31
|
}
|
|
31
32
|
export interface CreateArgs<TSelect, TData> {
|
|
32
33
|
data: TData;
|
|
@@ -44,6 +45,29 @@ export interface DeleteArgs<TWhere, TSelect = undefined> {
|
|
|
44
45
|
where: TWhere;
|
|
45
46
|
select?: TSelect;
|
|
46
47
|
}
|
|
48
|
+
export interface BulkInsertArgs<TSelect, TData, TOnConflict = unknown> {
|
|
49
|
+
data: TData[];
|
|
50
|
+
select?: TSelect;
|
|
51
|
+
onConflict?: TOnConflict;
|
|
52
|
+
}
|
|
53
|
+
export interface BulkUpsertArgs<TSelect, TData, TOnConflict = unknown> {
|
|
54
|
+
data: TData[];
|
|
55
|
+
select?: TSelect;
|
|
56
|
+
onConflict: TOnConflict;
|
|
57
|
+
}
|
|
58
|
+
export interface BulkUpdateArgs<TSelect, TWhere, TData> {
|
|
59
|
+
where: TWhere;
|
|
60
|
+
data: TData;
|
|
61
|
+
select?: TSelect;
|
|
62
|
+
}
|
|
63
|
+
export interface BulkDeleteArgs<TSelect, TWhere> {
|
|
64
|
+
where: TWhere;
|
|
65
|
+
select?: TSelect;
|
|
66
|
+
}
|
|
67
|
+
export interface BulkMutationResult<T> {
|
|
68
|
+
affectedCount: number;
|
|
69
|
+
returning: T[];
|
|
70
|
+
}
|
|
47
71
|
type DepthLevel = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
48
72
|
type DecrementDepth = {
|
|
49
73
|
0: 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/react",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.7",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "Constructive React - Auto-generated React Query hooks and ORM client",
|
|
6
6
|
"main": "index.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@0no-co/graphql.web": "^1.1.2",
|
|
45
|
-
"@constructive-io/graphql-query": "^3.
|
|
45
|
+
"@constructive-io/graphql-query": "^3.24.0",
|
|
46
46
|
"@constructive-io/graphql-types": "^3.9.1",
|
|
47
47
|
"@tanstack/react-query": "^5.90.21",
|
|
48
48
|
"gql-ast": "^3.9.1",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"react": "^18.0.0 || ^19.0.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@constructive-io/graphql-codegen": "^4.
|
|
55
|
+
"@constructive-io/graphql-codegen": "^4.41.0",
|
|
56
56
|
"@types/node": "^22.19.11",
|
|
57
57
|
"@types/react": "^19.2.14",
|
|
58
58
|
"makage": "^0.3.0",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"tsx": "^4.19.0",
|
|
61
61
|
"typescript": "^5.9.3"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "70f9d2052fe9218c65b82e896d1660d4dc6a51c8"
|
|
64
64
|
}
|
|
@@ -2218,6 +2218,8 @@ export interface OrgInvite {
|
|
|
2218
2218
|
data?: Record<string, unknown> | null;
|
|
2219
2219
|
/** Optional profile (role) to assign to the member when they claim this invite. Only allowed on email invites. */
|
|
2220
2220
|
profileId?: string | null;
|
|
2221
|
+
/** Whether the resulting membership should be read-only when this invite is claimed */
|
|
2222
|
+
isReadOnly?: boolean | null;
|
|
2221
2223
|
/** Timestamp after which this invitation can no longer be redeemed */
|
|
2222
2224
|
expiresAt?: string | null;
|
|
2223
2225
|
createdAt?: string | null;
|
|
@@ -7024,6 +7026,7 @@ export type OrgInviteSelect = {
|
|
|
7024
7026
|
multiple?: boolean;
|
|
7025
7027
|
data?: boolean;
|
|
7026
7028
|
profileId?: boolean;
|
|
7029
|
+
isReadOnly?: boolean;
|
|
7027
7030
|
expiresAt?: boolean;
|
|
7028
7031
|
createdAt?: boolean;
|
|
7029
7032
|
updatedAt?: boolean;
|
|
@@ -12512,6 +12515,8 @@ export interface OrgInviteFilter {
|
|
|
12512
12515
|
multiple?: BooleanFilter;
|
|
12513
12516
|
/** Filter by the object’s `profileId` field. */
|
|
12514
12517
|
profileId?: UUIDFilter;
|
|
12518
|
+
/** Filter by the object’s `isReadOnly` field. */
|
|
12519
|
+
isReadOnly?: BooleanFilter;
|
|
12515
12520
|
/** Filter by the object’s `expiresAt` field. */
|
|
12516
12521
|
expiresAt?: DatetimeFilter;
|
|
12517
12522
|
/** Filter by the object’s `createdAt` field. */
|
|
@@ -14235,7 +14240,7 @@ export type CryptoAddressOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_
|
|
|
14235
14240
|
export type WebauthnCredentialOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CREDENTIAL_ID_ASC' | 'CREDENTIAL_ID_DESC' | 'PUBLIC_KEY_ASC' | 'PUBLIC_KEY_DESC' | 'SIGN_COUNT_ASC' | 'SIGN_COUNT_DESC' | 'WEBAUTHN_USER_ID_ASC' | 'WEBAUTHN_USER_ID_DESC' | 'TRANSPORTS_ASC' | 'TRANSPORTS_DESC' | 'CREDENTIAL_DEVICE_TYPE_ASC' | 'CREDENTIAL_DEVICE_TYPE_DESC' | 'BACKUP_ELIGIBLE_ASC' | 'BACKUP_ELIGIBLE_DESC' | 'BACKUP_STATE_ASC' | 'BACKUP_STATE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LAST_USED_AT_ASC' | 'LAST_USED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
14236
14241
|
export type AppInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
14237
14242
|
export type AppClaimedInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
14238
|
-
export type OrgInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
|
|
14243
|
+
export type OrgInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
|
|
14239
14244
|
export type OrgClaimedInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
|
|
14240
14245
|
export type AuditLogOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ORIGIN_ASC' | 'ORIGIN_DESC' | 'USER_AGENT_ASC' | 'USER_AGENT_DESC' | 'IP_ADDRESS_ASC' | 'IP_ADDRESS_DESC' | 'SUCCESS_ASC' | 'SUCCESS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
|
|
14241
14246
|
export type AgentThreadOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'MODE_ASC' | 'MODE_DESC' | 'MODEL_ASC' | 'MODEL_DESC' | 'SYSTEM_PROMPT_ASC' | 'SYSTEM_PROMPT_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC';
|
|
@@ -17834,6 +17839,7 @@ export interface CreateOrgInviteInput {
|
|
|
17834
17839
|
multiple?: boolean;
|
|
17835
17840
|
data?: Record<string, unknown>;
|
|
17836
17841
|
profileId?: string;
|
|
17842
|
+
isReadOnly?: boolean;
|
|
17837
17843
|
expiresAt?: string;
|
|
17838
17844
|
entityId: string;
|
|
17839
17845
|
};
|
|
@@ -17849,6 +17855,7 @@ export interface OrgInvitePatch {
|
|
|
17849
17855
|
multiple?: boolean | null;
|
|
17850
17856
|
data?: Record<string, unknown> | null;
|
|
17851
17857
|
profileId?: string | null;
|
|
17858
|
+
isReadOnly?: boolean | null;
|
|
17852
17859
|
expiresAt?: string | null;
|
|
17853
17860
|
entityId?: string | null;
|
|
17854
17861
|
}
|
|
@@ -25925,6 +25932,8 @@ export interface OrgInviteFilter {
|
|
|
25925
25932
|
multiple?: BooleanFilter;
|
|
25926
25933
|
/** Filter by the object’s `profileId` field. */
|
|
25927
25934
|
profileId?: UUIDFilter;
|
|
25935
|
+
/** Filter by the object’s `isReadOnly` field. */
|
|
25936
|
+
isReadOnly?: BooleanFilter;
|
|
25928
25937
|
/** Filter by the object’s `expiresAt` field. */
|
|
25929
25938
|
expiresAt?: DatetimeFilter;
|
|
25930
25939
|
/** Filter by the object’s `createdAt` field. */
|
|
@@ -15,12 +15,10 @@ export declare class AgentMessageModel {
|
|
|
15
15
|
} & StrictSelect<S, AgentMessageSelect>): QueryBuilder<{
|
|
16
16
|
agentMessages: ConnectionResult<InferSelectResult<AgentMessageWithRelations, S>>;
|
|
17
17
|
}>;
|
|
18
|
-
findFirst<S extends AgentMessageSelect>(args: FindFirstArgs<S, AgentMessageFilter> & {
|
|
18
|
+
findFirst<S extends AgentMessageSelect>(args: FindFirstArgs<S, AgentMessageFilter, AgentMessageOrderBy> & {
|
|
19
19
|
select: S;
|
|
20
20
|
} & StrictSelect<S, AgentMessageSelect>): QueryBuilder<{
|
|
21
|
-
|
|
22
|
-
nodes: InferSelectResult<AgentMessageWithRelations, S>[];
|
|
23
|
-
};
|
|
21
|
+
agentMessage: InferSelectResult<AgentMessageWithRelations, S> | null;
|
|
24
22
|
}>;
|
|
25
23
|
findOne<S extends AgentMessageSelect>(args: {
|
|
26
24
|
id: string;
|
|
@@ -30,14 +30,18 @@ class AgentMessageModel {
|
|
|
30
30
|
findFirst(args) {
|
|
31
31
|
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('AgentMessage', 'agentMessages', args.select, {
|
|
32
32
|
where: args?.where,
|
|
33
|
-
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'AgentMessageFilter', 'AgentMessageOrderBy', input_types_1.connectionFieldsMap);
|
|
34
35
|
return new query_builder_1.QueryBuilder({
|
|
35
36
|
client: this.client,
|
|
36
37
|
operation: 'query',
|
|
37
38
|
operationName: 'AgentMessage',
|
|
38
|
-
fieldName: '
|
|
39
|
+
fieldName: 'agentMessage',
|
|
39
40
|
document,
|
|
40
41
|
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
agentMessage: data.agentMessages?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
41
45
|
});
|
|
42
46
|
}
|
|
43
47
|
findOne(args) {
|
|
@@ -15,12 +15,10 @@ export declare class AgentTaskModel {
|
|
|
15
15
|
} & StrictSelect<S, AgentTaskSelect>): QueryBuilder<{
|
|
16
16
|
agentTasks: ConnectionResult<InferSelectResult<AgentTaskWithRelations, S>>;
|
|
17
17
|
}>;
|
|
18
|
-
findFirst<S extends AgentTaskSelect>(args: FindFirstArgs<S, AgentTaskFilter> & {
|
|
18
|
+
findFirst<S extends AgentTaskSelect>(args: FindFirstArgs<S, AgentTaskFilter, AgentTaskOrderBy> & {
|
|
19
19
|
select: S;
|
|
20
20
|
} & StrictSelect<S, AgentTaskSelect>): QueryBuilder<{
|
|
21
|
-
|
|
22
|
-
nodes: InferSelectResult<AgentTaskWithRelations, S>[];
|
|
23
|
-
};
|
|
21
|
+
agentTask: InferSelectResult<AgentTaskWithRelations, S> | null;
|
|
24
22
|
}>;
|
|
25
23
|
findOne<S extends AgentTaskSelect>(args: {
|
|
26
24
|
id: string;
|
|
@@ -30,14 +30,18 @@ class AgentTaskModel {
|
|
|
30
30
|
findFirst(args) {
|
|
31
31
|
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('AgentTask', 'agentTasks', args.select, {
|
|
32
32
|
where: args?.where,
|
|
33
|
-
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'AgentTaskFilter', 'AgentTaskOrderBy', input_types_1.connectionFieldsMap);
|
|
34
35
|
return new query_builder_1.QueryBuilder({
|
|
35
36
|
client: this.client,
|
|
36
37
|
operation: 'query',
|
|
37
38
|
operationName: 'AgentTask',
|
|
38
|
-
fieldName: '
|
|
39
|
+
fieldName: 'agentTask',
|
|
39
40
|
document,
|
|
40
41
|
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
agentTask: data.agentTasks?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
41
45
|
});
|
|
42
46
|
}
|
|
43
47
|
findOne(args) {
|
|
@@ -15,12 +15,10 @@ export declare class AgentThreadModel {
|
|
|
15
15
|
} & StrictSelect<S, AgentThreadSelect>): QueryBuilder<{
|
|
16
16
|
agentThreads: ConnectionResult<InferSelectResult<AgentThreadWithRelations, S>>;
|
|
17
17
|
}>;
|
|
18
|
-
findFirst<S extends AgentThreadSelect>(args: FindFirstArgs<S, AgentThreadFilter> & {
|
|
18
|
+
findFirst<S extends AgentThreadSelect>(args: FindFirstArgs<S, AgentThreadFilter, AgentThreadOrderBy> & {
|
|
19
19
|
select: S;
|
|
20
20
|
} & StrictSelect<S, AgentThreadSelect>): QueryBuilder<{
|
|
21
|
-
|
|
22
|
-
nodes: InferSelectResult<AgentThreadWithRelations, S>[];
|
|
23
|
-
};
|
|
21
|
+
agentThread: InferSelectResult<AgentThreadWithRelations, S> | null;
|
|
24
22
|
}>;
|
|
25
23
|
findOne<S extends AgentThreadSelect>(args: {
|
|
26
24
|
id: string;
|
|
@@ -30,14 +30,18 @@ class AgentThreadModel {
|
|
|
30
30
|
findFirst(args) {
|
|
31
31
|
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('AgentThread', 'agentThreads', args.select, {
|
|
32
32
|
where: args?.where,
|
|
33
|
-
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'AgentThreadFilter', 'AgentThreadOrderBy', input_types_1.connectionFieldsMap);
|
|
34
35
|
return new query_builder_1.QueryBuilder({
|
|
35
36
|
client: this.client,
|
|
36
37
|
operation: 'query',
|
|
37
38
|
operationName: 'AgentThread',
|
|
38
|
-
fieldName: '
|
|
39
|
+
fieldName: 'agentThread',
|
|
39
40
|
document,
|
|
40
41
|
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
agentThread: data.agentThreads?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
41
45
|
});
|
|
42
46
|
}
|
|
43
47
|
findOne(args) {
|
|
@@ -15,12 +15,10 @@ export declare class ApiModel {
|
|
|
15
15
|
} & StrictSelect<S, ApiSelect>): QueryBuilder<{
|
|
16
16
|
apis: ConnectionResult<InferSelectResult<ApiWithRelations, S>>;
|
|
17
17
|
}>;
|
|
18
|
-
findFirst<S extends ApiSelect>(args: FindFirstArgs<S, ApiFilter> & {
|
|
18
|
+
findFirst<S extends ApiSelect>(args: FindFirstArgs<S, ApiFilter, ApiOrderBy> & {
|
|
19
19
|
select: S;
|
|
20
20
|
} & StrictSelect<S, ApiSelect>): QueryBuilder<{
|
|
21
|
-
|
|
22
|
-
nodes: InferSelectResult<ApiWithRelations, S>[];
|
|
23
|
-
};
|
|
21
|
+
api: InferSelectResult<ApiWithRelations, S> | null;
|
|
24
22
|
}>;
|
|
25
23
|
findOne<S extends ApiSelect>(args: {
|
|
26
24
|
id: string;
|
package/public/orm/models/api.js
CHANGED
|
@@ -30,14 +30,18 @@ class ApiModel {
|
|
|
30
30
|
findFirst(args) {
|
|
31
31
|
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('Api', 'apis', args.select, {
|
|
32
32
|
where: args?.where,
|
|
33
|
-
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'ApiFilter', 'ApiOrderBy', input_types_1.connectionFieldsMap);
|
|
34
35
|
return new query_builder_1.QueryBuilder({
|
|
35
36
|
client: this.client,
|
|
36
37
|
operation: 'query',
|
|
37
38
|
operationName: 'Api',
|
|
38
|
-
fieldName: '
|
|
39
|
+
fieldName: 'api',
|
|
39
40
|
document,
|
|
40
41
|
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
api: data.apis?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
41
45
|
});
|
|
42
46
|
}
|
|
43
47
|
findOne(args) {
|
|
@@ -15,12 +15,10 @@ export declare class ApiModuleModel {
|
|
|
15
15
|
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
16
16
|
apiModules: ConnectionResult<InferSelectResult<ApiModuleWithRelations, S>>;
|
|
17
17
|
}>;
|
|
18
|
-
findFirst<S extends ApiModuleSelect>(args: FindFirstArgs<S, ApiModuleFilter> & {
|
|
18
|
+
findFirst<S extends ApiModuleSelect>(args: FindFirstArgs<S, ApiModuleFilter, ApiModuleOrderBy> & {
|
|
19
19
|
select: S;
|
|
20
20
|
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
21
|
-
|
|
22
|
-
nodes: InferSelectResult<ApiModuleWithRelations, S>[];
|
|
23
|
-
};
|
|
21
|
+
apiModule: InferSelectResult<ApiModuleWithRelations, S> | null;
|
|
24
22
|
}>;
|
|
25
23
|
findOne<S extends ApiModuleSelect>(args: {
|
|
26
24
|
id: string;
|
|
@@ -30,14 +30,18 @@ class ApiModuleModel {
|
|
|
30
30
|
findFirst(args) {
|
|
31
31
|
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('ApiModule', 'apiModules', args.select, {
|
|
32
32
|
where: args?.where,
|
|
33
|
-
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'ApiModuleFilter', 'ApiModuleOrderBy', input_types_1.connectionFieldsMap);
|
|
34
35
|
return new query_builder_1.QueryBuilder({
|
|
35
36
|
client: this.client,
|
|
36
37
|
operation: 'query',
|
|
37
38
|
operationName: 'ApiModule',
|
|
38
|
-
fieldName: '
|
|
39
|
+
fieldName: 'apiModule',
|
|
39
40
|
document,
|
|
40
41
|
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
apiModule: data.apiModules?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
41
45
|
});
|
|
42
46
|
}
|
|
43
47
|
findOne(args) {
|
|
@@ -15,12 +15,10 @@ export declare class ApiSchemaModel {
|
|
|
15
15
|
} & StrictSelect<S, ApiSchemaSelect>): QueryBuilder<{
|
|
16
16
|
apiSchemas: ConnectionResult<InferSelectResult<ApiSchemaWithRelations, S>>;
|
|
17
17
|
}>;
|
|
18
|
-
findFirst<S extends ApiSchemaSelect>(args: FindFirstArgs<S, ApiSchemaFilter> & {
|
|
18
|
+
findFirst<S extends ApiSchemaSelect>(args: FindFirstArgs<S, ApiSchemaFilter, ApiSchemaOrderBy> & {
|
|
19
19
|
select: S;
|
|
20
20
|
} & StrictSelect<S, ApiSchemaSelect>): QueryBuilder<{
|
|
21
|
-
|
|
22
|
-
nodes: InferSelectResult<ApiSchemaWithRelations, S>[];
|
|
23
|
-
};
|
|
21
|
+
apiSchema: InferSelectResult<ApiSchemaWithRelations, S> | null;
|
|
24
22
|
}>;
|
|
25
23
|
findOne<S extends ApiSchemaSelect>(args: {
|
|
26
24
|
id: string;
|
|
@@ -30,14 +30,18 @@ class ApiSchemaModel {
|
|
|
30
30
|
findFirst(args) {
|
|
31
31
|
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('ApiSchema', 'apiSchemas', args.select, {
|
|
32
32
|
where: args?.where,
|
|
33
|
-
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'ApiSchemaFilter', 'ApiSchemaOrderBy', input_types_1.connectionFieldsMap);
|
|
34
35
|
return new query_builder_1.QueryBuilder({
|
|
35
36
|
client: this.client,
|
|
36
37
|
operation: 'query',
|
|
37
38
|
operationName: 'ApiSchema',
|
|
38
|
-
fieldName: '
|
|
39
|
+
fieldName: 'apiSchema',
|
|
39
40
|
document,
|
|
40
41
|
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
apiSchema: data.apiSchemas?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
41
45
|
});
|
|
42
46
|
}
|
|
43
47
|
findOne(args) {
|
|
@@ -15,12 +15,10 @@ export declare class ApiSettingModel {
|
|
|
15
15
|
} & StrictSelect<S, ApiSettingSelect>): QueryBuilder<{
|
|
16
16
|
apiSettings: ConnectionResult<InferSelectResult<ApiSettingWithRelations, S>>;
|
|
17
17
|
}>;
|
|
18
|
-
findFirst<S extends ApiSettingSelect>(args: FindFirstArgs<S, ApiSettingFilter> & {
|
|
18
|
+
findFirst<S extends ApiSettingSelect>(args: FindFirstArgs<S, ApiSettingFilter, ApiSettingOrderBy> & {
|
|
19
19
|
select: S;
|
|
20
20
|
} & StrictSelect<S, ApiSettingSelect>): QueryBuilder<{
|
|
21
|
-
|
|
22
|
-
nodes: InferSelectResult<ApiSettingWithRelations, S>[];
|
|
23
|
-
};
|
|
21
|
+
apiSetting: InferSelectResult<ApiSettingWithRelations, S> | null;
|
|
24
22
|
}>;
|
|
25
23
|
findOne<S extends ApiSettingSelect>(args: {
|
|
26
24
|
id: string;
|
|
@@ -30,14 +30,18 @@ class ApiSettingModel {
|
|
|
30
30
|
findFirst(args) {
|
|
31
31
|
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('ApiSetting', 'apiSettings', args.select, {
|
|
32
32
|
where: args?.where,
|
|
33
|
-
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'ApiSettingFilter', 'ApiSettingOrderBy', input_types_1.connectionFieldsMap);
|
|
34
35
|
return new query_builder_1.QueryBuilder({
|
|
35
36
|
client: this.client,
|
|
36
37
|
operation: 'query',
|
|
37
38
|
operationName: 'ApiSetting',
|
|
38
|
-
fieldName: '
|
|
39
|
+
fieldName: 'apiSetting',
|
|
39
40
|
document,
|
|
40
41
|
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
apiSetting: data.apiSettings?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
41
45
|
});
|
|
42
46
|
}
|
|
43
47
|
findOne(args) {
|
|
@@ -15,12 +15,10 @@ export declare class AppModel {
|
|
|
15
15
|
} & StrictSelect<S, AppSelect>): QueryBuilder<{
|
|
16
16
|
apps: ConnectionResult<InferSelectResult<AppWithRelations, S>>;
|
|
17
17
|
}>;
|
|
18
|
-
findFirst<S extends AppSelect>(args: FindFirstArgs<S, AppFilter> & {
|
|
18
|
+
findFirst<S extends AppSelect>(args: FindFirstArgs<S, AppFilter, AppOrderBy> & {
|
|
19
19
|
select: S;
|
|
20
20
|
} & StrictSelect<S, AppSelect>): QueryBuilder<{
|
|
21
|
-
|
|
22
|
-
nodes: InferSelectResult<AppWithRelations, S>[];
|
|
23
|
-
};
|
|
21
|
+
app: InferSelectResult<AppWithRelations, S> | null;
|
|
24
22
|
}>;
|
|
25
23
|
findOne<S extends AppSelect>(args: {
|
|
26
24
|
id: string;
|
package/public/orm/models/app.js
CHANGED
|
@@ -30,14 +30,18 @@ class AppModel {
|
|
|
30
30
|
findFirst(args) {
|
|
31
31
|
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('App', 'apps', args.select, {
|
|
32
32
|
where: args?.where,
|
|
33
|
-
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'AppFilter', 'AppOrderBy', input_types_1.connectionFieldsMap);
|
|
34
35
|
return new query_builder_1.QueryBuilder({
|
|
35
36
|
client: this.client,
|
|
36
37
|
operation: 'query',
|
|
37
38
|
operationName: 'App',
|
|
38
|
-
fieldName: '
|
|
39
|
+
fieldName: 'app',
|
|
39
40
|
document,
|
|
40
41
|
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
app: data.apps?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
41
45
|
});
|
|
42
46
|
}
|
|
43
47
|
findOne(args) {
|
|
@@ -15,12 +15,10 @@ export declare class AppAchievementModel {
|
|
|
15
15
|
} & StrictSelect<S, AppAchievementSelect>): QueryBuilder<{
|
|
16
16
|
appAchievements: ConnectionResult<InferSelectResult<AppAchievementWithRelations, S>>;
|
|
17
17
|
}>;
|
|
18
|
-
findFirst<S extends AppAchievementSelect>(args: FindFirstArgs<S, AppAchievementFilter> & {
|
|
18
|
+
findFirst<S extends AppAchievementSelect>(args: FindFirstArgs<S, AppAchievementFilter, AppAchievementOrderBy> & {
|
|
19
19
|
select: S;
|
|
20
20
|
} & StrictSelect<S, AppAchievementSelect>): QueryBuilder<{
|
|
21
|
-
|
|
22
|
-
nodes: InferSelectResult<AppAchievementWithRelations, S>[];
|
|
23
|
-
};
|
|
21
|
+
appAchievement: InferSelectResult<AppAchievementWithRelations, S> | null;
|
|
24
22
|
}>;
|
|
25
23
|
findOne<S extends AppAchievementSelect>(args: {
|
|
26
24
|
id: string;
|
|
@@ -30,14 +30,18 @@ class AppAchievementModel {
|
|
|
30
30
|
findFirst(args) {
|
|
31
31
|
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('AppAchievement', 'appAchievements', args.select, {
|
|
32
32
|
where: args?.where,
|
|
33
|
-
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'AppAchievementFilter', 'AppAchievementOrderBy', input_types_1.connectionFieldsMap);
|
|
34
35
|
return new query_builder_1.QueryBuilder({
|
|
35
36
|
client: this.client,
|
|
36
37
|
operation: 'query',
|
|
37
38
|
operationName: 'AppAchievement',
|
|
38
|
-
fieldName: '
|
|
39
|
+
fieldName: 'appAchievement',
|
|
39
40
|
document,
|
|
40
41
|
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
appAchievement: data.appAchievements?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
41
45
|
});
|
|
42
46
|
}
|
|
43
47
|
findOne(args) {
|
|
@@ -15,12 +15,10 @@ export declare class AppAdminGrantModel {
|
|
|
15
15
|
} & StrictSelect<S, AppAdminGrantSelect>): QueryBuilder<{
|
|
16
16
|
appAdminGrants: ConnectionResult<InferSelectResult<AppAdminGrantWithRelations, S>>;
|
|
17
17
|
}>;
|
|
18
|
-
findFirst<S extends AppAdminGrantSelect>(args: FindFirstArgs<S, AppAdminGrantFilter> & {
|
|
18
|
+
findFirst<S extends AppAdminGrantSelect>(args: FindFirstArgs<S, AppAdminGrantFilter, AppAdminGrantOrderBy> & {
|
|
19
19
|
select: S;
|
|
20
20
|
} & StrictSelect<S, AppAdminGrantSelect>): QueryBuilder<{
|
|
21
|
-
|
|
22
|
-
nodes: InferSelectResult<AppAdminGrantWithRelations, S>[];
|
|
23
|
-
};
|
|
21
|
+
appAdminGrant: InferSelectResult<AppAdminGrantWithRelations, S> | null;
|
|
24
22
|
}>;
|
|
25
23
|
findOne<S extends AppAdminGrantSelect>(args: {
|
|
26
24
|
id: string;
|