@constructive-io/react 0.6.1 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/hooks/index.d.ts +1 -1
- package/admin/hooks/index.js +1 -1
- package/admin/hooks/invalidation.d.ts +18 -18
- package/admin/hooks/invalidation.js +45 -45
- package/admin/hooks/mutation-keys.d.ts +36 -36
- package/admin/hooks/mutation-keys.js +22 -22
- package/admin/hooks/mutations/index.d.ts +9 -9
- package/admin/hooks/mutations/index.js +9 -9
- package/admin/hooks/queries/index.d.ts +6 -6
- package/admin/hooks/queries/index.js +6 -6
- package/admin/hooks/query-keys.d.ts +42 -42
- package/admin/hooks/query-keys.js +25 -25
- package/admin/orm/index.d.ts +6 -6
- package/admin/orm/index.js +6 -6
- package/admin/orm/input-types.d.ts +489 -667
- package/admin/orm/models/appAchievement.d.ts +1 -1
- package/admin/orm/models/appAdminGrant.d.ts +1 -1
- package/admin/orm/models/appGrant.d.ts +1 -1
- package/admin/orm/models/appLevel.d.ts +1 -1
- package/admin/orm/models/appLevelRequirement.d.ts +1 -1
- package/admin/orm/models/appLimit.d.ts +1 -1
- package/admin/orm/models/appLimitDefault.d.ts +1 -1
- package/admin/orm/models/appMembership.d.ts +1 -1
- package/admin/orm/models/appMembershipDefault.d.ts +1 -1
- package/admin/orm/models/appOwnerGrant.d.ts +1 -1
- package/admin/orm/models/appPermission.d.ts +1 -1
- package/admin/orm/models/appPermissionDefault.d.ts +1 -1
- package/admin/orm/models/appStep.d.ts +1 -1
- package/admin/orm/models/claimedInvite.d.ts +1 -1
- package/admin/orm/models/index.d.ts +3 -3
- package/admin/orm/models/index.js +7 -7
- package/admin/orm/models/invite.d.ts +1 -1
- package/admin/orm/models/membershipType.d.ts +1 -1
- package/admin/orm/models/orgAdminGrant.d.ts +1 -1
- package/admin/orm/models/orgChartEdge.d.ts +1 -1
- package/admin/orm/models/orgChartEdgeGrant.d.ts +1 -1
- package/admin/orm/models/orgClaimedInvite.d.ts +1 -1
- package/admin/orm/models/orgGetManagersRecord.d.ts +1 -1
- package/admin/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
- package/admin/orm/models/orgGrant.d.ts +1 -1
- package/admin/orm/models/orgInvite.d.ts +1 -1
- package/admin/orm/models/orgLimit.d.ts +1 -1
- package/admin/orm/models/orgLimitDefault.d.ts +1 -1
- package/admin/orm/models/orgMember.d.ts +1 -1
- package/admin/orm/models/orgMembership.d.ts +1 -1
- package/admin/orm/models/orgMembershipDefault.d.ts +1 -1
- package/admin/orm/models/orgOwnerGrant.d.ts +1 -1
- package/admin/orm/models/orgPermission.d.ts +1 -1
- package/admin/orm/models/orgPermissionDefault.d.ts +1 -1
- package/admin/orm/query-builder.d.ts +6 -4
- package/admin/orm/query-builder.js +13 -5
- package/admin/orm/select-types.d.ts +4 -2
- package/admin/schema-types.d.ts +475 -983
- package/admin/types.d.ts +55 -29
- package/auth/hooks/index.d.ts +1 -1
- package/auth/hooks/index.js +1 -1
- package/auth/hooks/invalidation.d.ts +6 -6
- package/auth/hooks/invalidation.js +15 -15
- package/auth/hooks/mutation-keys.d.ts +12 -12
- package/auth/hooks/mutation-keys.js +8 -8
- package/auth/hooks/mutations/index.d.ts +3 -3
- package/auth/hooks/mutations/index.js +3 -3
- package/auth/hooks/queries/index.d.ts +2 -2
- package/auth/hooks/queries/index.js +2 -2
- package/auth/hooks/query-keys.d.ts +14 -14
- package/auth/hooks/query-keys.js +9 -9
- package/auth/orm/index.d.ts +2 -2
- package/auth/orm/index.js +2 -2
- package/auth/orm/input-types.d.ts +196 -162
- package/auth/orm/models/auditLog.d.ts +1 -1
- package/auth/orm/models/connectedAccount.d.ts +1 -1
- package/auth/orm/models/cryptoAddress.d.ts +1 -1
- package/auth/orm/models/email.d.ts +1 -1
- package/auth/orm/models/index.d.ts +1 -1
- package/auth/orm/models/index.js +3 -3
- package/auth/orm/models/phoneNumber.d.ts +1 -1
- package/auth/orm/models/roleType.d.ts +1 -1
- package/auth/orm/models/user.d.ts +1 -1
- package/auth/orm/query-builder.d.ts +6 -4
- package/auth/orm/query-builder.js +13 -5
- package/auth/orm/select-types.d.ts +4 -2
- package/auth/schema-types.d.ts +226 -270
- package/auth/types.d.ts +23 -4
- package/esm/admin/hooks/index.d.ts +1 -1
- package/esm/admin/hooks/index.js +1 -1
- package/esm/admin/hooks/invalidation.d.ts +18 -18
- package/esm/admin/hooks/invalidation.js +46 -46
- package/esm/admin/hooks/mutation-keys.d.ts +36 -36
- package/esm/admin/hooks/mutation-keys.js +21 -21
- package/esm/admin/hooks/mutations/index.d.ts +9 -9
- package/esm/admin/hooks/mutations/index.js +9 -9
- package/esm/admin/hooks/queries/index.d.ts +6 -6
- package/esm/admin/hooks/queries/index.js +6 -6
- package/esm/admin/hooks/query-keys.d.ts +42 -42
- package/esm/admin/hooks/query-keys.js +24 -24
- package/esm/admin/orm/index.d.ts +6 -6
- package/esm/admin/orm/index.js +6 -6
- package/esm/admin/orm/input-types.d.ts +489 -667
- package/esm/admin/orm/models/appAchievement.d.ts +1 -1
- package/esm/admin/orm/models/appAdminGrant.d.ts +1 -1
- package/esm/admin/orm/models/appGrant.d.ts +1 -1
- package/esm/admin/orm/models/appLevel.d.ts +1 -1
- package/esm/admin/orm/models/appLevelRequirement.d.ts +1 -1
- package/esm/admin/orm/models/appLimit.d.ts +1 -1
- package/esm/admin/orm/models/appLimitDefault.d.ts +1 -1
- package/esm/admin/orm/models/appMembership.d.ts +1 -1
- package/esm/admin/orm/models/appMembershipDefault.d.ts +1 -1
- package/esm/admin/orm/models/appOwnerGrant.d.ts +1 -1
- package/esm/admin/orm/models/appPermission.d.ts +1 -1
- package/esm/admin/orm/models/appPermissionDefault.d.ts +1 -1
- package/esm/admin/orm/models/appStep.d.ts +1 -1
- package/esm/admin/orm/models/claimedInvite.d.ts +1 -1
- package/esm/admin/orm/models/index.d.ts +3 -3
- package/esm/admin/orm/models/index.js +3 -3
- package/esm/admin/orm/models/invite.d.ts +1 -1
- package/esm/admin/orm/models/membershipType.d.ts +1 -1
- package/esm/admin/orm/models/orgAdminGrant.d.ts +1 -1
- package/esm/admin/orm/models/orgChartEdge.d.ts +1 -1
- package/esm/admin/orm/models/orgChartEdgeGrant.d.ts +1 -1
- package/esm/admin/orm/models/orgClaimedInvite.d.ts +1 -1
- package/esm/admin/orm/models/orgGetManagersRecord.d.ts +1 -1
- package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
- package/esm/admin/orm/models/orgGrant.d.ts +1 -1
- package/esm/admin/orm/models/orgInvite.d.ts +1 -1
- package/esm/admin/orm/models/orgLimit.d.ts +1 -1
- package/esm/admin/orm/models/orgLimitDefault.d.ts +1 -1
- package/esm/admin/orm/models/orgMember.d.ts +1 -1
- package/esm/admin/orm/models/orgMembership.d.ts +1 -1
- package/esm/admin/orm/models/orgMembershipDefault.d.ts +1 -1
- package/esm/admin/orm/models/orgOwnerGrant.d.ts +1 -1
- package/esm/admin/orm/models/orgPermission.d.ts +1 -1
- package/esm/admin/orm/models/orgPermissionDefault.d.ts +1 -1
- package/esm/admin/orm/query-builder.d.ts +6 -4
- package/esm/admin/orm/query-builder.js +13 -5
- package/esm/admin/orm/select-types.d.ts +4 -2
- package/esm/admin/schema-types.d.ts +475 -983
- package/esm/admin/types.d.ts +55 -29
- package/esm/auth/hooks/index.d.ts +1 -1
- package/esm/auth/hooks/index.js +1 -1
- package/esm/auth/hooks/invalidation.d.ts +6 -6
- package/esm/auth/hooks/invalidation.js +16 -16
- package/esm/auth/hooks/mutation-keys.d.ts +12 -12
- package/esm/auth/hooks/mutation-keys.js +7 -7
- package/esm/auth/hooks/mutations/index.d.ts +3 -3
- package/esm/auth/hooks/mutations/index.js +3 -3
- package/esm/auth/hooks/queries/index.d.ts +2 -2
- package/esm/auth/hooks/queries/index.js +2 -2
- package/esm/auth/hooks/query-keys.d.ts +14 -14
- package/esm/auth/hooks/query-keys.js +8 -8
- package/esm/auth/orm/index.d.ts +2 -2
- package/esm/auth/orm/index.js +2 -2
- package/esm/auth/orm/input-types.d.ts +196 -162
- package/esm/auth/orm/models/auditLog.d.ts +1 -1
- package/esm/auth/orm/models/connectedAccount.d.ts +1 -1
- package/esm/auth/orm/models/cryptoAddress.d.ts +1 -1
- package/esm/auth/orm/models/email.d.ts +1 -1
- package/esm/auth/orm/models/index.d.ts +1 -1
- package/esm/auth/orm/models/index.js +1 -1
- package/esm/auth/orm/models/phoneNumber.d.ts +1 -1
- package/esm/auth/orm/models/roleType.d.ts +1 -1
- package/esm/auth/orm/models/user.d.ts +1 -1
- package/esm/auth/orm/query-builder.d.ts +6 -4
- package/esm/auth/orm/query-builder.js +13 -5
- package/esm/auth/orm/select-types.d.ts +4 -2
- package/esm/auth/schema-types.d.ts +226 -270
- package/esm/auth/types.d.ts +23 -4
- package/esm/objects/orm/input-types.d.ts +40 -42
- package/esm/objects/orm/models/commit.d.ts +1 -1
- package/esm/objects/orm/models/getAllRecord.d.ts +1 -1
- package/esm/objects/orm/models/object.d.ts +1 -1
- package/esm/objects/orm/models/ref.d.ts +1 -1
- package/esm/objects/orm/models/store.d.ts +1 -1
- package/esm/objects/orm/query-builder.d.ts +6 -4
- package/esm/objects/orm/query-builder.js +13 -5
- package/esm/objects/orm/select-types.d.ts +4 -2
- package/esm/objects/schema-types.d.ts +37 -67
- package/esm/objects/types.d.ts +13 -0
- package/esm/public/hooks/index.d.ts +1 -1
- package/esm/public/hooks/index.js +1 -1
- package/esm/public/hooks/invalidation.d.ts +34 -40
- package/esm/public/hooks/invalidation.js +80 -96
- package/esm/public/hooks/mutation-keys.d.ts +70 -82
- package/esm/public/hooks/mutation-keys.js +43 -50
- package/esm/public/hooks/mutations/index.d.ts +17 -20
- package/esm/public/hooks/mutations/index.js +17 -20
- package/esm/public/hooks/queries/index.d.ts +12 -14
- package/esm/public/hooks/queries/index.js +12 -14
- package/esm/public/hooks/query-keys.d.ts +80 -94
- package/esm/public/hooks/query-keys.js +46 -54
- package/esm/public/orm/index.d.ts +17 -19
- package/esm/public/orm/index.js +12 -14
- package/esm/public/orm/input-types.d.ts +2426 -2179
- package/esm/public/orm/input-types.js +0 -3
- package/esm/public/orm/models/api.d.ts +1 -1
- package/esm/public/orm/models/apiModule.d.ts +1 -1
- package/esm/public/orm/models/apiSchema.d.ts +1 -1
- package/esm/public/orm/models/app.d.ts +1 -1
- package/esm/public/orm/models/appAchievement.d.ts +1 -1
- package/esm/public/orm/models/appAdminGrant.d.ts +1 -1
- package/esm/public/orm/models/appGrant.d.ts +1 -1
- package/esm/public/orm/models/appLevel.d.ts +1 -1
- package/esm/public/orm/models/appLevelRequirement.d.ts +1 -1
- package/esm/public/orm/models/appLimit.d.ts +1 -1
- package/esm/public/orm/models/appLimitDefault.d.ts +1 -1
- package/esm/public/orm/models/appMembership.d.ts +1 -1
- package/esm/public/orm/models/appMembershipDefault.d.ts +1 -1
- package/esm/public/orm/models/appOwnerGrant.d.ts +1 -1
- package/esm/public/orm/models/appPermission.d.ts +1 -1
- package/esm/public/orm/models/appPermissionDefault.d.ts +1 -1
- package/esm/public/orm/models/appStep.d.ts +1 -1
- package/esm/public/orm/models/astMigration.d.ts +1 -1
- package/esm/public/orm/models/auditLog.d.ts +1 -1
- package/esm/public/orm/models/checkConstraint.d.ts +1 -1
- package/esm/public/orm/models/claimedInvite.d.ts +1 -1
- package/esm/public/orm/models/commit.d.ts +1 -1
- package/esm/public/orm/models/connectedAccount.d.ts +1 -1
- package/esm/public/orm/models/connectedAccountsModule.d.ts +1 -1
- package/esm/public/orm/models/cryptoAddress.d.ts +1 -1
- package/esm/public/orm/models/cryptoAddressesModule.d.ts +1 -1
- package/esm/public/orm/models/cryptoAuthModule.d.ts +1 -1
- package/esm/public/orm/models/database.d.ts +1 -1
- package/esm/public/orm/models/databaseProvisionModule.d.ts +1 -1
- package/esm/public/orm/models/defaultIdsModule.d.ts +1 -1
- package/esm/public/orm/models/defaultPrivilege.d.ts +1 -1
- package/esm/public/orm/models/denormalizedTableField.d.ts +1 -1
- package/esm/public/orm/models/domain.d.ts +1 -1
- package/esm/public/orm/models/email.d.ts +1 -1
- package/esm/public/orm/models/emailsModule.d.ts +1 -1
- package/esm/public/orm/models/encryptedSecretsModule.d.ts +1 -1
- package/esm/public/orm/models/field.d.ts +1 -1
- package/esm/public/orm/models/fieldModule.d.ts +1 -1
- package/esm/public/orm/models/foreignKeyConstraint.d.ts +1 -1
- package/esm/public/orm/models/fullTextSearch.d.ts +1 -1
- package/esm/public/orm/models/getAllRecord.d.ts +1 -1
- package/esm/public/orm/models/hierarchyModule.d.ts +1 -1
- package/esm/public/orm/models/index.d.ts +6 -7
- package/esm/public/orm/models/index.js +6 -7
- package/esm/public/orm/models/indexModel.d.ts +1 -1
- package/esm/public/orm/models/invite.d.ts +1 -1
- package/esm/public/orm/models/invitesModule.d.ts +1 -1
- package/esm/public/orm/models/levelsModule.d.ts +1 -1
- package/esm/public/orm/models/limitsModule.d.ts +1 -1
- package/esm/public/orm/models/membershipType.d.ts +1 -1
- package/esm/public/orm/models/membershipTypesModule.d.ts +1 -1
- package/esm/public/orm/models/membershipsModule.d.ts +1 -1
- package/esm/public/orm/models/nodeTypeRegistry.d.ts +1 -1
- package/esm/public/orm/models/object.d.ts +1 -1
- package/esm/public/orm/models/orgAdminGrant.d.ts +1 -1
- package/esm/public/orm/models/orgChartEdge.d.ts +1 -1
- package/esm/public/orm/models/orgChartEdgeGrant.d.ts +1 -1
- package/esm/public/orm/models/orgClaimedInvite.d.ts +1 -1
- package/esm/public/orm/models/orgGetManagersRecord.d.ts +1 -1
- package/esm/public/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
- package/esm/public/orm/models/orgGrant.d.ts +1 -1
- package/esm/public/orm/models/orgInvite.d.ts +1 -1
- package/esm/public/orm/models/orgLimit.d.ts +1 -1
- package/esm/public/orm/models/orgLimitDefault.d.ts +1 -1
- package/esm/public/orm/models/orgMember.d.ts +1 -1
- package/esm/public/orm/models/orgMembership.d.ts +1 -1
- package/esm/public/orm/models/orgMembershipDefault.d.ts +1 -1
- package/esm/public/orm/models/orgOwnerGrant.d.ts +1 -1
- package/esm/public/orm/models/orgPermission.d.ts +1 -1
- package/esm/public/orm/models/orgPermissionDefault.d.ts +1 -1
- package/esm/public/orm/models/permissionsModule.d.ts +1 -1
- package/esm/public/orm/models/phoneNumber.d.ts +1 -1
- package/esm/public/orm/models/phoneNumbersModule.d.ts +1 -1
- package/esm/public/orm/models/policy.d.ts +1 -1
- package/esm/public/orm/models/primaryKeyConstraint.d.ts +1 -1
- package/esm/public/orm/models/profilesModule.d.ts +1 -1
- package/esm/public/orm/models/ref.d.ts +1 -1
- package/esm/public/orm/models/relationProvision.d.ts +1 -1
- package/esm/public/orm/models/rlsModule.d.ts +1 -1
- package/esm/public/orm/models/roleType.d.ts +1 -1
- package/esm/public/orm/models/schema.d.ts +1 -1
- package/esm/public/orm/models/schemaGrant.d.ts +1 -1
- package/esm/public/orm/models/secretsModule.d.ts +1 -1
- package/esm/public/orm/models/secureTableProvision.d.ts +1 -1
- package/esm/public/orm/models/sessionsModule.d.ts +1 -1
- package/esm/public/orm/models/site.d.ts +1 -1
- package/esm/public/orm/models/siteMetadatum.d.ts +1 -1
- package/esm/public/orm/models/siteModule.d.ts +1 -1
- package/esm/public/orm/models/siteTheme.d.ts +1 -1
- package/esm/public/orm/models/sqlMigration.d.ts +1 -1
- package/esm/public/orm/models/store.d.ts +1 -1
- package/esm/public/orm/models/table.d.ts +1 -1
- package/esm/public/orm/models/tableGrant.d.ts +1 -1
- package/esm/public/orm/models/tableTemplateModule.d.ts +1 -1
- package/esm/public/orm/models/trigger.d.ts +1 -1
- package/esm/public/orm/models/triggerFunction.d.ts +1 -1
- package/esm/public/orm/models/uniqueConstraint.d.ts +1 -1
- package/esm/public/orm/models/user.d.ts +1 -1
- package/esm/public/orm/models/userAuthModule.d.ts +1 -1
- package/esm/public/orm/models/usersModule.d.ts +1 -1
- package/esm/public/orm/models/uuidModule.d.ts +1 -1
- package/esm/public/orm/models/view.d.ts +1 -1
- package/esm/public/orm/models/viewGrant.d.ts +1 -1
- package/esm/public/orm/models/viewRule.d.ts +1 -1
- package/esm/public/orm/models/viewTable.d.ts +1 -1
- package/esm/public/orm/mutation/index.d.ts +9 -9
- package/esm/public/orm/mutation/index.js +12 -12
- package/esm/public/orm/query-builder.d.ts +6 -4
- package/esm/public/orm/query-builder.js +13 -5
- package/esm/public/orm/select-types.d.ts +4 -2
- package/esm/public/schema-types.d.ts +6895 -6506
- package/esm/public/types.d.ts +369 -63
- package/objects/orm/input-types.d.ts +40 -42
- package/objects/orm/models/commit.d.ts +1 -1
- package/objects/orm/models/getAllRecord.d.ts +1 -1
- package/objects/orm/models/object.d.ts +1 -1
- package/objects/orm/models/ref.d.ts +1 -1
- package/objects/orm/models/store.d.ts +1 -1
- package/objects/orm/query-builder.d.ts +6 -4
- package/objects/orm/query-builder.js +13 -5
- package/objects/orm/select-types.d.ts +4 -2
- package/objects/schema-types.d.ts +37 -67
- package/objects/types.d.ts +13 -0
- package/package.json +3 -3
- package/public/hooks/index.d.ts +1 -1
- package/public/hooks/index.js +1 -1
- package/public/hooks/invalidation.d.ts +34 -40
- package/public/hooks/invalidation.js +79 -95
- package/public/hooks/mutation-keys.d.ts +70 -82
- package/public/hooks/mutation-keys.js +46 -53
- package/public/hooks/mutations/index.d.ts +17 -20
- package/public/hooks/mutations/index.js +17 -20
- package/public/hooks/queries/index.d.ts +12 -14
- package/public/hooks/queries/index.js +12 -14
- package/public/hooks/query-keys.d.ts +80 -94
- package/public/hooks/query-keys.js +49 -57
- package/public/orm/index.d.ts +17 -19
- package/public/orm/index.js +12 -14
- package/public/orm/input-types.d.ts +2426 -2179
- package/public/orm/input-types.js +0 -3
- package/public/orm/models/api.d.ts +1 -1
- package/public/orm/models/apiModule.d.ts +1 -1
- package/public/orm/models/apiSchema.d.ts +1 -1
- package/public/orm/models/app.d.ts +1 -1
- package/public/orm/models/appAchievement.d.ts +1 -1
- package/public/orm/models/appAdminGrant.d.ts +1 -1
- package/public/orm/models/appGrant.d.ts +1 -1
- package/public/orm/models/appLevel.d.ts +1 -1
- package/public/orm/models/appLevelRequirement.d.ts +1 -1
- package/public/orm/models/appLimit.d.ts +1 -1
- package/public/orm/models/appLimitDefault.d.ts +1 -1
- package/public/orm/models/appMembership.d.ts +1 -1
- package/public/orm/models/appMembershipDefault.d.ts +1 -1
- package/public/orm/models/appOwnerGrant.d.ts +1 -1
- package/public/orm/models/appPermission.d.ts +1 -1
- package/public/orm/models/appPermissionDefault.d.ts +1 -1
- package/public/orm/models/appStep.d.ts +1 -1
- package/public/orm/models/astMigration.d.ts +1 -1
- package/public/orm/models/auditLog.d.ts +1 -1
- package/public/orm/models/checkConstraint.d.ts +1 -1
- package/public/orm/models/claimedInvite.d.ts +1 -1
- package/public/orm/models/commit.d.ts +1 -1
- package/public/orm/models/connectedAccount.d.ts +1 -1
- package/public/orm/models/connectedAccountsModule.d.ts +1 -1
- package/public/orm/models/cryptoAddress.d.ts +1 -1
- package/public/orm/models/cryptoAddressesModule.d.ts +1 -1
- package/public/orm/models/cryptoAuthModule.d.ts +1 -1
- package/public/orm/models/database.d.ts +1 -1
- package/public/orm/models/databaseProvisionModule.d.ts +1 -1
- package/public/orm/models/defaultIdsModule.d.ts +1 -1
- package/public/orm/models/defaultPrivilege.d.ts +1 -1
- package/public/orm/models/denormalizedTableField.d.ts +1 -1
- package/public/orm/models/domain.d.ts +1 -1
- package/public/orm/models/email.d.ts +1 -1
- package/public/orm/models/emailsModule.d.ts +1 -1
- package/public/orm/models/encryptedSecretsModule.d.ts +1 -1
- package/public/orm/models/field.d.ts +1 -1
- package/public/orm/models/fieldModule.d.ts +1 -1
- package/public/orm/models/foreignKeyConstraint.d.ts +1 -1
- package/public/orm/models/fullTextSearch.d.ts +1 -1
- package/public/orm/models/getAllRecord.d.ts +1 -1
- package/public/orm/models/hierarchyModule.d.ts +1 -1
- package/public/orm/models/index.d.ts +6 -7
- package/public/orm/models/index.js +15 -17
- package/public/orm/models/indexModel.d.ts +1 -1
- package/public/orm/models/invite.d.ts +1 -1
- package/public/orm/models/invitesModule.d.ts +1 -1
- package/public/orm/models/levelsModule.d.ts +1 -1
- package/public/orm/models/limitsModule.d.ts +1 -1
- package/public/orm/models/membershipType.d.ts +1 -1
- package/public/orm/models/membershipTypesModule.d.ts +1 -1
- package/public/orm/models/membershipsModule.d.ts +1 -1
- package/public/orm/models/nodeTypeRegistry.d.ts +1 -1
- package/public/orm/models/object.d.ts +1 -1
- package/public/orm/models/orgAdminGrant.d.ts +1 -1
- package/public/orm/models/orgChartEdge.d.ts +1 -1
- package/public/orm/models/orgChartEdgeGrant.d.ts +1 -1
- package/public/orm/models/orgClaimedInvite.d.ts +1 -1
- package/public/orm/models/orgGetManagersRecord.d.ts +1 -1
- package/public/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
- package/public/orm/models/orgGrant.d.ts +1 -1
- package/public/orm/models/orgInvite.d.ts +1 -1
- package/public/orm/models/orgLimit.d.ts +1 -1
- package/public/orm/models/orgLimitDefault.d.ts +1 -1
- package/public/orm/models/orgMember.d.ts +1 -1
- package/public/orm/models/orgMembership.d.ts +1 -1
- package/public/orm/models/orgMembershipDefault.d.ts +1 -1
- package/public/orm/models/orgOwnerGrant.d.ts +1 -1
- package/public/orm/models/orgPermission.d.ts +1 -1
- package/public/orm/models/orgPermissionDefault.d.ts +1 -1
- package/public/orm/models/permissionsModule.d.ts +1 -1
- package/public/orm/models/phoneNumber.d.ts +1 -1
- package/public/orm/models/phoneNumbersModule.d.ts +1 -1
- package/public/orm/models/policy.d.ts +1 -1
- package/public/orm/models/primaryKeyConstraint.d.ts +1 -1
- package/public/orm/models/profilesModule.d.ts +1 -1
- package/public/orm/models/ref.d.ts +1 -1
- package/public/orm/models/relationProvision.d.ts +1 -1
- package/public/orm/models/rlsModule.d.ts +1 -1
- package/public/orm/models/roleType.d.ts +1 -1
- package/public/orm/models/schema.d.ts +1 -1
- package/public/orm/models/schemaGrant.d.ts +1 -1
- package/public/orm/models/secretsModule.d.ts +1 -1
- package/public/orm/models/secureTableProvision.d.ts +1 -1
- package/public/orm/models/sessionsModule.d.ts +1 -1
- package/public/orm/models/site.d.ts +1 -1
- package/public/orm/models/siteMetadatum.d.ts +1 -1
- package/public/orm/models/siteModule.d.ts +1 -1
- package/public/orm/models/siteTheme.d.ts +1 -1
- package/public/orm/models/sqlMigration.d.ts +1 -1
- package/public/orm/models/store.d.ts +1 -1
- package/public/orm/models/table.d.ts +1 -1
- package/public/orm/models/tableGrant.d.ts +1 -1
- package/public/orm/models/tableTemplateModule.d.ts +1 -1
- package/public/orm/models/trigger.d.ts +1 -1
- package/public/orm/models/triggerFunction.d.ts +1 -1
- package/public/orm/models/uniqueConstraint.d.ts +1 -1
- package/public/orm/models/user.d.ts +1 -1
- package/public/orm/models/userAuthModule.d.ts +1 -1
- package/public/orm/models/usersModule.d.ts +1 -1
- package/public/orm/models/uuidModule.d.ts +1 -1
- package/public/orm/models/view.d.ts +1 -1
- package/public/orm/models/viewGrant.d.ts +1 -1
- package/public/orm/models/viewRule.d.ts +1 -1
- package/public/orm/models/viewTable.d.ts +1 -1
- package/public/orm/mutation/index.d.ts +9 -9
- package/public/orm/mutation/index.js +12 -12
- package/public/orm/query-builder.d.ts +6 -4
- package/public/orm/query-builder.js +13 -5
- package/public/orm/select-types.d.ts +4 -2
- package/public/schema-types.d.ts +6895 -6506
- package/public/types.d.ts +369 -63
- package/esm/public/hooks/mutations/useCreateTableModuleMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useCreateTableModuleMutation.js +0 -31
- package/esm/public/hooks/mutations/useDeleteTableModuleMutation.d.ts +0 -38
- package/esm/public/hooks/mutations/useDeleteTableModuleMutation.js +0 -36
- package/esm/public/hooks/mutations/useUpdateTableModuleMutation.d.ts +0 -40
- package/esm/public/hooks/mutations/useUpdateTableModuleMutation.js +0 -37
- package/esm/public/hooks/queries/useTableModuleQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useTableModuleQuery.js +0 -47
- package/esm/public/hooks/queries/useTableModulesQuery.d.ts +0 -69
- package/esm/public/hooks/queries/useTableModulesQuery.js +0 -32
- package/esm/public/orm/models/tableModule.d.ts +0 -56
- package/esm/public/orm/models/tableModule.js +0 -94
- package/public/hooks/mutations/useCreateTableModuleMutation.d.ts +0 -34
- package/public/hooks/mutations/useCreateTableModuleMutation.js +0 -34
- package/public/hooks/mutations/useDeleteTableModuleMutation.d.ts +0 -38
- package/public/hooks/mutations/useDeleteTableModuleMutation.js +0 -39
- package/public/hooks/mutations/useUpdateTableModuleMutation.d.ts +0 -40
- package/public/hooks/mutations/useUpdateTableModuleMutation.js +0 -40
- package/public/hooks/queries/useTableModuleQuery.d.ts +0 -65
- package/public/hooks/queries/useTableModuleQuery.js +0 -53
- package/public/hooks/queries/useTableModulesQuery.d.ts +0 -69
- package/public/hooks/queries/useTableModulesQuery.js +0 -38
- package/public/orm/models/tableModule.d.ts +0 -56
- package/public/orm/models/tableModule.js +0 -98
|
@@ -10,7 +10,7 @@ import type { AppAchievementWithRelations, AppAchievementSelect, AppAchievementF
|
|
|
10
10
|
export declare class AppAchievementModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppAchievementSelect>(args: FindManyArgs<S, AppAchievementFilter, AppAchievementOrderBy> & {
|
|
13
|
+
findMany<S extends AppAchievementSelect>(args: FindManyArgs<S, AppAchievementFilter, never, AppAchievementOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, AppAchievementSelect>): QueryBuilder<{
|
|
16
16
|
appAchievements: ConnectionResult<InferSelectResult<AppAchievementWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { AppAdminGrantWithRelations, AppAdminGrantSelect, AppAdminGrantFilt
|
|
|
10
10
|
export declare class AppAdminGrantModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppAdminGrantSelect>(args: FindManyArgs<S, AppAdminGrantFilter, AppAdminGrantOrderBy> & {
|
|
13
|
+
findMany<S extends AppAdminGrantSelect>(args: FindManyArgs<S, AppAdminGrantFilter, never, AppAdminGrantOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, AppAdminGrantSelect>): QueryBuilder<{
|
|
16
16
|
appAdminGrants: ConnectionResult<InferSelectResult<AppAdminGrantWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { AppGrantWithRelations, AppGrantSelect, AppGrantFilter, AppGrantOrd
|
|
|
10
10
|
export declare class AppGrantModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppGrantSelect>(args: FindManyArgs<S, AppGrantFilter, AppGrantOrderBy> & {
|
|
13
|
+
findMany<S extends AppGrantSelect>(args: FindManyArgs<S, AppGrantFilter, never, AppGrantOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, AppGrantSelect>): QueryBuilder<{
|
|
16
16
|
appGrants: ConnectionResult<InferSelectResult<AppGrantWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { AppLevelWithRelations, AppLevelSelect, AppLevelFilter, AppLevelOrd
|
|
|
10
10
|
export declare class AppLevelModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppLevelSelect>(args: FindManyArgs<S, AppLevelFilter, AppLevelOrderBy> & {
|
|
13
|
+
findMany<S extends AppLevelSelect>(args: FindManyArgs<S, AppLevelFilter, never, AppLevelOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
|
|
16
16
|
appLevels: ConnectionResult<InferSelectResult<AppLevelWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { AppLevelRequirementWithRelations, AppLevelRequirementSelect, AppLe
|
|
|
10
10
|
export declare class AppLevelRequirementModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppLevelRequirementSelect>(args: FindManyArgs<S, AppLevelRequirementFilter, AppLevelRequirementOrderBy> & {
|
|
13
|
+
findMany<S extends AppLevelRequirementSelect>(args: FindManyArgs<S, AppLevelRequirementFilter, never, AppLevelRequirementOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
|
|
16
16
|
appLevelRequirements: ConnectionResult<InferSelectResult<AppLevelRequirementWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { AppLimitWithRelations, AppLimitSelect, AppLimitFilter, AppLimitOrd
|
|
|
10
10
|
export declare class AppLimitModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppLimitSelect>(args: FindManyArgs<S, AppLimitFilter, AppLimitOrderBy> & {
|
|
13
|
+
findMany<S extends AppLimitSelect>(args: FindManyArgs<S, AppLimitFilter, never, AppLimitOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, AppLimitSelect>): QueryBuilder<{
|
|
16
16
|
appLimits: ConnectionResult<InferSelectResult<AppLimitWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { AppLimitDefaultWithRelations, AppLimitDefaultSelect, AppLimitDefau
|
|
|
10
10
|
export declare class AppLimitDefaultModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppLimitDefaultSelect>(args: FindManyArgs<S, AppLimitDefaultFilter, AppLimitDefaultOrderBy> & {
|
|
13
|
+
findMany<S extends AppLimitDefaultSelect>(args: FindManyArgs<S, AppLimitDefaultFilter, never, AppLimitDefaultOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, AppLimitDefaultSelect>): QueryBuilder<{
|
|
16
16
|
appLimitDefaults: ConnectionResult<InferSelectResult<AppLimitDefaultWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { AppMembershipWithRelations, AppMembershipSelect, AppMembershipFilt
|
|
|
10
10
|
export declare class AppMembershipModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppMembershipSelect>(args: FindManyArgs<S, AppMembershipFilter, AppMembershipOrderBy> & {
|
|
13
|
+
findMany<S extends AppMembershipSelect>(args: FindManyArgs<S, AppMembershipFilter, never, AppMembershipOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, AppMembershipSelect>): QueryBuilder<{
|
|
16
16
|
appMemberships: ConnectionResult<InferSelectResult<AppMembershipWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { AppMembershipDefaultWithRelations, AppMembershipDefaultSelect, App
|
|
|
10
10
|
export declare class AppMembershipDefaultModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppMembershipDefaultSelect>(args: FindManyArgs<S, AppMembershipDefaultFilter, AppMembershipDefaultOrderBy> & {
|
|
13
|
+
findMany<S extends AppMembershipDefaultSelect>(args: FindManyArgs<S, AppMembershipDefaultFilter, never, AppMembershipDefaultOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, AppMembershipDefaultSelect>): QueryBuilder<{
|
|
16
16
|
appMembershipDefaults: ConnectionResult<InferSelectResult<AppMembershipDefaultWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { AppOwnerGrantWithRelations, AppOwnerGrantSelect, AppOwnerGrantFilt
|
|
|
10
10
|
export declare class AppOwnerGrantModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppOwnerGrantSelect>(args: FindManyArgs<S, AppOwnerGrantFilter, AppOwnerGrantOrderBy> & {
|
|
13
|
+
findMany<S extends AppOwnerGrantSelect>(args: FindManyArgs<S, AppOwnerGrantFilter, never, AppOwnerGrantOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, AppOwnerGrantSelect>): QueryBuilder<{
|
|
16
16
|
appOwnerGrants: ConnectionResult<InferSelectResult<AppOwnerGrantWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { AppPermissionWithRelations, AppPermissionSelect, AppPermissionFilt
|
|
|
10
10
|
export declare class AppPermissionModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppPermissionSelect>(args: FindManyArgs<S, AppPermissionFilter, AppPermissionOrderBy> & {
|
|
13
|
+
findMany<S extends AppPermissionSelect>(args: FindManyArgs<S, AppPermissionFilter, never, AppPermissionOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, AppPermissionSelect>): QueryBuilder<{
|
|
16
16
|
appPermissions: ConnectionResult<InferSelectResult<AppPermissionWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { AppPermissionDefaultWithRelations, AppPermissionDefaultSelect, App
|
|
|
10
10
|
export declare class AppPermissionDefaultModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppPermissionDefaultSelect>(args: FindManyArgs<S, AppPermissionDefaultFilter, AppPermissionDefaultOrderBy> & {
|
|
13
|
+
findMany<S extends AppPermissionDefaultSelect>(args: FindManyArgs<S, AppPermissionDefaultFilter, never, AppPermissionDefaultOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, AppPermissionDefaultSelect>): QueryBuilder<{
|
|
16
16
|
appPermissionDefaults: ConnectionResult<InferSelectResult<AppPermissionDefaultWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { AppStepWithRelations, AppStepSelect, AppStepFilter, AppStepOrderBy
|
|
|
10
10
|
export declare class AppStepModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppStepSelect>(args: FindManyArgs<S, AppStepFilter, AppStepOrderBy> & {
|
|
13
|
+
findMany<S extends AppStepSelect>(args: FindManyArgs<S, AppStepFilter, never, AppStepOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, AppStepSelect>): QueryBuilder<{
|
|
16
16
|
appSteps: ConnectionResult<InferSelectResult<AppStepWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { ClaimedInviteWithRelations, ClaimedInviteSelect, ClaimedInviteFilt
|
|
|
10
10
|
export declare class ClaimedInviteModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ClaimedInviteSelect>(args: FindManyArgs<S, ClaimedInviteFilter, ClaimedInviteOrderBy> & {
|
|
13
|
+
findMany<S extends ClaimedInviteSelect>(args: FindManyArgs<S, ClaimedInviteFilter, never, ClaimedInviteOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, ClaimedInviteSelect>): QueryBuilder<{
|
|
16
16
|
claimedInvites: ConnectionResult<InferSelectResult<ClaimedInviteWithRelations, S>>;
|
|
@@ -17,8 +17,8 @@ export { OrgAdminGrantModel } from './orgAdminGrant';
|
|
|
17
17
|
export { OrgOwnerGrantModel } from './orgOwnerGrant';
|
|
18
18
|
export { AppLimitDefaultModel } from './appLimitDefault';
|
|
19
19
|
export { OrgLimitDefaultModel } from './orgLimitDefault';
|
|
20
|
-
export { MembershipTypeModel } from './membershipType';
|
|
21
20
|
export { OrgChartEdgeGrantModel } from './orgChartEdgeGrant';
|
|
21
|
+
export { MembershipTypeModel } from './membershipType';
|
|
22
22
|
export { AppLimitModel } from './appLimit';
|
|
23
23
|
export { AppAchievementModel } from './appAchievement';
|
|
24
24
|
export { AppStepModel } from './appStep';
|
|
@@ -30,8 +30,8 @@ export { OrgClaimedInviteModel } from './orgClaimedInvite';
|
|
|
30
30
|
export { OrgGrantModel } from './orgGrant';
|
|
31
31
|
export { OrgChartEdgeModel } from './orgChartEdge';
|
|
32
32
|
export { OrgMembershipDefaultModel } from './orgMembershipDefault';
|
|
33
|
-
export { InviteModel } from './invite';
|
|
34
|
-
export { AppLevelModel } from './appLevel';
|
|
35
33
|
export { AppMembershipModel } from './appMembership';
|
|
36
34
|
export { OrgMembershipModel } from './orgMembership';
|
|
35
|
+
export { InviteModel } from './invite';
|
|
36
|
+
export { AppLevelModel } from './appLevel';
|
|
37
37
|
export { OrgInviteModel } from './orgInvite';
|
|
@@ -17,8 +17,8 @@ export { OrgAdminGrantModel } from './orgAdminGrant';
|
|
|
17
17
|
export { OrgOwnerGrantModel } from './orgOwnerGrant';
|
|
18
18
|
export { AppLimitDefaultModel } from './appLimitDefault';
|
|
19
19
|
export { OrgLimitDefaultModel } from './orgLimitDefault';
|
|
20
|
-
export { MembershipTypeModel } from './membershipType';
|
|
21
20
|
export { OrgChartEdgeGrantModel } from './orgChartEdgeGrant';
|
|
21
|
+
export { MembershipTypeModel } from './membershipType';
|
|
22
22
|
export { AppLimitModel } from './appLimit';
|
|
23
23
|
export { AppAchievementModel } from './appAchievement';
|
|
24
24
|
export { AppStepModel } from './appStep';
|
|
@@ -30,8 +30,8 @@ export { OrgClaimedInviteModel } from './orgClaimedInvite';
|
|
|
30
30
|
export { OrgGrantModel } from './orgGrant';
|
|
31
31
|
export { OrgChartEdgeModel } from './orgChartEdge';
|
|
32
32
|
export { OrgMembershipDefaultModel } from './orgMembershipDefault';
|
|
33
|
-
export { InviteModel } from './invite';
|
|
34
|
-
export { AppLevelModel } from './appLevel';
|
|
35
33
|
export { AppMembershipModel } from './appMembership';
|
|
36
34
|
export { OrgMembershipModel } from './orgMembership';
|
|
35
|
+
export { InviteModel } from './invite';
|
|
36
|
+
export { AppLevelModel } from './appLevel';
|
|
37
37
|
export { OrgInviteModel } from './orgInvite';
|
|
@@ -10,7 +10,7 @@ import type { InviteWithRelations, InviteSelect, InviteFilter, InviteOrderBy, Cr
|
|
|
10
10
|
export declare class InviteModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends InviteSelect>(args: FindManyArgs<S, InviteFilter, InviteOrderBy> & {
|
|
13
|
+
findMany<S extends InviteSelect>(args: FindManyArgs<S, InviteFilter, never, InviteOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, InviteSelect>): QueryBuilder<{
|
|
16
16
|
invites: ConnectionResult<InferSelectResult<InviteWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { MembershipTypeWithRelations, MembershipTypeSelect, MembershipTypeF
|
|
|
10
10
|
export declare class MembershipTypeModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends MembershipTypeSelect>(args: FindManyArgs<S, MembershipTypeFilter, MembershipTypeOrderBy> & {
|
|
13
|
+
findMany<S extends MembershipTypeSelect>(args: FindManyArgs<S, MembershipTypeFilter, never, MembershipTypeOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, MembershipTypeSelect>): QueryBuilder<{
|
|
16
16
|
membershipTypes: ConnectionResult<InferSelectResult<MembershipTypeWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { OrgAdminGrantWithRelations, OrgAdminGrantSelect, OrgAdminGrantFilt
|
|
|
10
10
|
export declare class OrgAdminGrantModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends OrgAdminGrantSelect>(args: FindManyArgs<S, OrgAdminGrantFilter, OrgAdminGrantOrderBy> & {
|
|
13
|
+
findMany<S extends OrgAdminGrantSelect>(args: FindManyArgs<S, OrgAdminGrantFilter, never, OrgAdminGrantOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, OrgAdminGrantSelect>): QueryBuilder<{
|
|
16
16
|
orgAdminGrants: ConnectionResult<InferSelectResult<OrgAdminGrantWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { OrgChartEdgeWithRelations, OrgChartEdgeSelect, OrgChartEdgeFilter,
|
|
|
10
10
|
export declare class OrgChartEdgeModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends OrgChartEdgeSelect>(args: FindManyArgs<S, OrgChartEdgeFilter, OrgChartEdgeOrderBy> & {
|
|
13
|
+
findMany<S extends OrgChartEdgeSelect>(args: FindManyArgs<S, OrgChartEdgeFilter, never, OrgChartEdgeOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, OrgChartEdgeSelect>): QueryBuilder<{
|
|
16
16
|
orgChartEdges: ConnectionResult<InferSelectResult<OrgChartEdgeWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { OrgChartEdgeGrantWithRelations, OrgChartEdgeGrantSelect, OrgChartE
|
|
|
10
10
|
export declare class OrgChartEdgeGrantModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends OrgChartEdgeGrantSelect>(args: FindManyArgs<S, OrgChartEdgeGrantFilter, OrgChartEdgeGrantOrderBy> & {
|
|
13
|
+
findMany<S extends OrgChartEdgeGrantSelect>(args: FindManyArgs<S, OrgChartEdgeGrantFilter, never, OrgChartEdgeGrantOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, OrgChartEdgeGrantSelect>): QueryBuilder<{
|
|
16
16
|
orgChartEdgeGrants: ConnectionResult<InferSelectResult<OrgChartEdgeGrantWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { OrgClaimedInviteWithRelations, OrgClaimedInviteSelect, OrgClaimedI
|
|
|
10
10
|
export declare class OrgClaimedInviteModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends OrgClaimedInviteSelect>(args: FindManyArgs<S, OrgClaimedInviteFilter, OrgClaimedInviteOrderBy> & {
|
|
13
|
+
findMany<S extends OrgClaimedInviteSelect>(args: FindManyArgs<S, OrgClaimedInviteFilter, never, OrgClaimedInviteOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, OrgClaimedInviteSelect>): QueryBuilder<{
|
|
16
16
|
orgClaimedInvites: ConnectionResult<InferSelectResult<OrgClaimedInviteWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { OrgGetManagersRecordWithRelations, OrgGetManagersRecordSelect, Org
|
|
|
10
10
|
export declare class OrgGetManagersRecordModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends OrgGetManagersRecordSelect>(args: FindManyArgs<S, OrgGetManagersRecordFilter, OrgGetManagersRecordsOrderBy> & {
|
|
13
|
+
findMany<S extends OrgGetManagersRecordSelect>(args: FindManyArgs<S, OrgGetManagersRecordFilter, never, OrgGetManagersRecordsOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, OrgGetManagersRecordSelect>): QueryBuilder<{
|
|
16
16
|
orgGetManagers: ConnectionResult<InferSelectResult<OrgGetManagersRecordWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { OrgGetSubordinatesRecordWithRelations, OrgGetSubordinatesRecordSel
|
|
|
10
10
|
export declare class OrgGetSubordinatesRecordModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends OrgGetSubordinatesRecordSelect>(args: FindManyArgs<S, OrgGetSubordinatesRecordFilter, OrgGetSubordinatesRecordsOrderBy> & {
|
|
13
|
+
findMany<S extends OrgGetSubordinatesRecordSelect>(args: FindManyArgs<S, OrgGetSubordinatesRecordFilter, never, OrgGetSubordinatesRecordsOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, OrgGetSubordinatesRecordSelect>): QueryBuilder<{
|
|
16
16
|
orgGetSubordinates: ConnectionResult<InferSelectResult<OrgGetSubordinatesRecordWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { OrgGrantWithRelations, OrgGrantSelect, OrgGrantFilter, OrgGrantOrd
|
|
|
10
10
|
export declare class OrgGrantModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends OrgGrantSelect>(args: FindManyArgs<S, OrgGrantFilter, OrgGrantOrderBy> & {
|
|
13
|
+
findMany<S extends OrgGrantSelect>(args: FindManyArgs<S, OrgGrantFilter, never, OrgGrantOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, OrgGrantSelect>): QueryBuilder<{
|
|
16
16
|
orgGrants: ConnectionResult<InferSelectResult<OrgGrantWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { OrgInviteWithRelations, OrgInviteSelect, OrgInviteFilter, OrgInvit
|
|
|
10
10
|
export declare class OrgInviteModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends OrgInviteSelect>(args: FindManyArgs<S, OrgInviteFilter, OrgInviteOrderBy> & {
|
|
13
|
+
findMany<S extends OrgInviteSelect>(args: FindManyArgs<S, OrgInviteFilter, never, OrgInviteOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, OrgInviteSelect>): QueryBuilder<{
|
|
16
16
|
orgInvites: ConnectionResult<InferSelectResult<OrgInviteWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { OrgLimitWithRelations, OrgLimitSelect, OrgLimitFilter, OrgLimitOrd
|
|
|
10
10
|
export declare class OrgLimitModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends OrgLimitSelect>(args: FindManyArgs<S, OrgLimitFilter, OrgLimitOrderBy> & {
|
|
13
|
+
findMany<S extends OrgLimitSelect>(args: FindManyArgs<S, OrgLimitFilter, never, OrgLimitOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, OrgLimitSelect>): QueryBuilder<{
|
|
16
16
|
orgLimits: ConnectionResult<InferSelectResult<OrgLimitWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { OrgLimitDefaultWithRelations, OrgLimitDefaultSelect, OrgLimitDefau
|
|
|
10
10
|
export declare class OrgLimitDefaultModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends OrgLimitDefaultSelect>(args: FindManyArgs<S, OrgLimitDefaultFilter, OrgLimitDefaultOrderBy> & {
|
|
13
|
+
findMany<S extends OrgLimitDefaultSelect>(args: FindManyArgs<S, OrgLimitDefaultFilter, never, OrgLimitDefaultOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, OrgLimitDefaultSelect>): QueryBuilder<{
|
|
16
16
|
orgLimitDefaults: ConnectionResult<InferSelectResult<OrgLimitDefaultWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { OrgMemberWithRelations, OrgMemberSelect, OrgMemberFilter, OrgMembe
|
|
|
10
10
|
export declare class OrgMemberModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends OrgMemberSelect>(args: FindManyArgs<S, OrgMemberFilter, OrgMemberOrderBy> & {
|
|
13
|
+
findMany<S extends OrgMemberSelect>(args: FindManyArgs<S, OrgMemberFilter, never, OrgMemberOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, OrgMemberSelect>): QueryBuilder<{
|
|
16
16
|
orgMembers: ConnectionResult<InferSelectResult<OrgMemberWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { OrgMembershipWithRelations, OrgMembershipSelect, OrgMembershipFilt
|
|
|
10
10
|
export declare class OrgMembershipModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends OrgMembershipSelect>(args: FindManyArgs<S, OrgMembershipFilter, OrgMembershipOrderBy> & {
|
|
13
|
+
findMany<S extends OrgMembershipSelect>(args: FindManyArgs<S, OrgMembershipFilter, never, OrgMembershipOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, OrgMembershipSelect>): QueryBuilder<{
|
|
16
16
|
orgMemberships: ConnectionResult<InferSelectResult<OrgMembershipWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { OrgMembershipDefaultWithRelations, OrgMembershipDefaultSelect, Org
|
|
|
10
10
|
export declare class OrgMembershipDefaultModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends OrgMembershipDefaultSelect>(args: FindManyArgs<S, OrgMembershipDefaultFilter, OrgMembershipDefaultOrderBy> & {
|
|
13
|
+
findMany<S extends OrgMembershipDefaultSelect>(args: FindManyArgs<S, OrgMembershipDefaultFilter, never, OrgMembershipDefaultOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, OrgMembershipDefaultSelect>): QueryBuilder<{
|
|
16
16
|
orgMembershipDefaults: ConnectionResult<InferSelectResult<OrgMembershipDefaultWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { OrgOwnerGrantWithRelations, OrgOwnerGrantSelect, OrgOwnerGrantFilt
|
|
|
10
10
|
export declare class OrgOwnerGrantModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends OrgOwnerGrantSelect>(args: FindManyArgs<S, OrgOwnerGrantFilter, OrgOwnerGrantOrderBy> & {
|
|
13
|
+
findMany<S extends OrgOwnerGrantSelect>(args: FindManyArgs<S, OrgOwnerGrantFilter, never, OrgOwnerGrantOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, OrgOwnerGrantSelect>): QueryBuilder<{
|
|
16
16
|
orgOwnerGrants: ConnectionResult<InferSelectResult<OrgOwnerGrantWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { OrgPermissionWithRelations, OrgPermissionSelect, OrgPermissionFilt
|
|
|
10
10
|
export declare class OrgPermissionModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends OrgPermissionSelect>(args: FindManyArgs<S, OrgPermissionFilter, OrgPermissionOrderBy> & {
|
|
13
|
+
findMany<S extends OrgPermissionSelect>(args: FindManyArgs<S, OrgPermissionFilter, never, OrgPermissionOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, OrgPermissionSelect>): QueryBuilder<{
|
|
16
16
|
orgPermissions: ConnectionResult<InferSelectResult<OrgPermissionWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { OrgPermissionDefaultWithRelations, OrgPermissionDefaultSelect, Org
|
|
|
10
10
|
export declare class OrgPermissionDefaultModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends OrgPermissionDefaultSelect>(args: FindManyArgs<S, OrgPermissionDefaultFilter, OrgPermissionDefaultOrderBy> & {
|
|
13
|
+
findMany<S extends OrgPermissionDefaultSelect>(args: FindManyArgs<S, OrgPermissionDefaultFilter, never, OrgPermissionDefaultOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, OrgPermissionDefaultSelect>): QueryBuilder<{
|
|
16
16
|
orgPermissionDefaults: ConnectionResult<InferSelectResult<OrgPermissionDefaultWithRelations, S>>;
|
|
@@ -34,21 +34,23 @@ export declare class QueryBuilder<TResult> {
|
|
|
34
34
|
getVariables(): Record<string, unknown> | undefined;
|
|
35
35
|
}
|
|
36
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: {
|
|
37
|
+
export declare function buildFindManyDocument<TSelect, TWhere, TCondition = never>(operationName: string, queryField: string, select: TSelect, args: {
|
|
38
38
|
where?: TWhere;
|
|
39
|
+
condition?: TCondition;
|
|
39
40
|
orderBy?: string[];
|
|
40
41
|
first?: number;
|
|
41
42
|
last?: number;
|
|
42
43
|
after?: string;
|
|
43
44
|
before?: string;
|
|
44
45
|
offset?: number;
|
|
45
|
-
}, filterTypeName: string, orderByTypeName: string, connectionFieldsMap?: Record<string, Record<string, string
|
|
46
|
+
}, filterTypeName: string, orderByTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>, conditionTypeName?: string): {
|
|
46
47
|
document: string;
|
|
47
48
|
variables: Record<string, unknown>;
|
|
48
49
|
};
|
|
49
|
-
export declare function buildFindFirstDocument<TSelect, TWhere>(operationName: string, queryField: string, select: TSelect, args: {
|
|
50
|
+
export declare function buildFindFirstDocument<TSelect, TWhere, TCondition = never>(operationName: string, queryField: string, select: TSelect, args: {
|
|
50
51
|
where?: TWhere;
|
|
51
|
-
|
|
52
|
+
condition?: TCondition;
|
|
53
|
+
}, filterTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>, conditionTypeName?: string): {
|
|
52
54
|
document: string;
|
|
53
55
|
variables: Record<string, unknown>;
|
|
54
56
|
};
|
|
@@ -131,16 +131,20 @@ export function buildSelections(select, connectionFieldsMap, entityType) {
|
|
|
131
131
|
// ============================================================================
|
|
132
132
|
// Document Builders
|
|
133
133
|
// ============================================================================
|
|
134
|
-
export function buildFindManyDocument(operationName, queryField, select, args, filterTypeName, orderByTypeName, connectionFieldsMap) {
|
|
134
|
+
export function buildFindManyDocument(operationName, queryField, select, args, filterTypeName, orderByTypeName, connectionFieldsMap, conditionTypeName) {
|
|
135
135
|
const selections = select
|
|
136
136
|
? buildSelections(select, connectionFieldsMap, operationName)
|
|
137
137
|
: [t.field({ name: 'id' })];
|
|
138
138
|
const variableDefinitions = [];
|
|
139
139
|
const queryArgs = [];
|
|
140
140
|
const variables = {};
|
|
141
|
+
addVariable({
|
|
142
|
+
varName: 'condition',
|
|
143
|
+
typeName: conditionTypeName,
|
|
144
|
+
value: args.condition,
|
|
145
|
+
}, variableDefinitions, queryArgs, variables);
|
|
141
146
|
addVariable({
|
|
142
147
|
varName: 'where',
|
|
143
|
-
argName: 'filter',
|
|
144
148
|
typeName: filterTypeName,
|
|
145
149
|
value: args.where,
|
|
146
150
|
}, variableDefinitions, queryArgs, variables);
|
|
@@ -176,7 +180,7 @@ export function buildFindManyDocument(operationName, queryField, select, args, f
|
|
|
176
180
|
});
|
|
177
181
|
return { document: print(document), variables };
|
|
178
182
|
}
|
|
179
|
-
export function buildFindFirstDocument(operationName, queryField, select, args, filterTypeName, connectionFieldsMap) {
|
|
183
|
+
export function buildFindFirstDocument(operationName, queryField, select, args, filterTypeName, connectionFieldsMap, conditionTypeName) {
|
|
180
184
|
const selections = select
|
|
181
185
|
? buildSelections(select, connectionFieldsMap, operationName)
|
|
182
186
|
: [t.field({ name: 'id' })];
|
|
@@ -185,9 +189,13 @@ export function buildFindFirstDocument(operationName, queryField, select, args,
|
|
|
185
189
|
const variables = {};
|
|
186
190
|
// Always add first: 1 for findFirst
|
|
187
191
|
addVariable({ varName: 'first', typeName: 'Int', value: 1 }, variableDefinitions, queryArgs, variables);
|
|
192
|
+
addVariable({
|
|
193
|
+
varName: 'condition',
|
|
194
|
+
typeName: conditionTypeName,
|
|
195
|
+
value: args.condition,
|
|
196
|
+
}, variableDefinitions, queryArgs, variables);
|
|
188
197
|
addVariable({
|
|
189
198
|
varName: 'where',
|
|
190
|
-
argName: 'filter',
|
|
191
199
|
typeName: filterTypeName,
|
|
192
200
|
value: args.where,
|
|
193
201
|
}, variableDefinitions, queryArgs, variables);
|
|
@@ -519,7 +527,7 @@ function buildInputMutationDocument(config) {
|
|
|
519
527
|
return print(document);
|
|
520
528
|
}
|
|
521
529
|
function addVariable(spec, definitions, args, variables) {
|
|
522
|
-
if (spec.value === undefined)
|
|
530
|
+
if (spec.value === undefined || !spec.typeName)
|
|
523
531
|
return;
|
|
524
532
|
definitions.push(t.variableDefinition({
|
|
525
533
|
variable: t.variable({ name: spec.varName }),
|
|
@@ -14,9 +14,10 @@ export interface PageInfo {
|
|
|
14
14
|
startCursor?: string | null;
|
|
15
15
|
endCursor?: string | null;
|
|
16
16
|
}
|
|
17
|
-
export interface FindManyArgs<TSelect, TWhere, TOrderBy> {
|
|
17
|
+
export interface FindManyArgs<TSelect, TWhere, TCondition = never, TOrderBy = never> {
|
|
18
18
|
select?: TSelect;
|
|
19
19
|
where?: TWhere;
|
|
20
|
+
condition?: TCondition;
|
|
20
21
|
orderBy?: TOrderBy[];
|
|
21
22
|
first?: number;
|
|
22
23
|
last?: number;
|
|
@@ -24,9 +25,10 @@ export interface FindManyArgs<TSelect, TWhere, TOrderBy> {
|
|
|
24
25
|
before?: string;
|
|
25
26
|
offset?: number;
|
|
26
27
|
}
|
|
27
|
-
export interface FindFirstArgs<TSelect, TWhere> {
|
|
28
|
+
export interface FindFirstArgs<TSelect, TWhere, TCondition = never> {
|
|
28
29
|
select?: TSelect;
|
|
29
30
|
where?: TWhere;
|
|
31
|
+
condition?: TCondition;
|
|
30
32
|
}
|
|
31
33
|
export interface CreateArgs<TSelect, TData> {
|
|
32
34
|
data: TData;
|