@constructive-sdk/cli 0.13.1 → 0.13.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/cli/utils.d.ts +1 -1
- package/admin/cli/utils.js +1 -5
- 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/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 +4 -6
- package/admin/orm/query-builder.js +2 -12
- package/admin/orm/select-types.d.ts +2 -4
- package/auth/cli/utils.d.ts +1 -1
- package/auth/cli/utils.js +1 -5
- 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/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 +4 -6
- package/auth/orm/query-builder.js +2 -12
- package/auth/orm/select-types.d.ts +2 -4
- package/esm/admin/cli/utils.d.ts +1 -1
- package/esm/admin/cli/utils.js +1 -5
- 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/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 +4 -6
- package/esm/admin/orm/query-builder.js +2 -12
- package/esm/admin/orm/select-types.d.ts +2 -4
- package/esm/auth/cli/utils.d.ts +1 -1
- package/esm/auth/cli/utils.js +1 -5
- 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/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 +4 -6
- package/esm/auth/orm/query-builder.js +2 -12
- package/esm/auth/orm/select-types.d.ts +2 -4
- package/esm/objects/cli/utils.d.ts +1 -1
- package/esm/objects/cli/utils.js +1 -5
- 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 +4 -6
- package/esm/objects/orm/query-builder.js +2 -12
- package/esm/objects/orm/select-types.d.ts +2 -4
- package/esm/public/cli/commands/construct-blueprint.js +1 -1
- package/esm/public/cli/commands.js +1 -1
- package/esm/public/cli/utils.d.ts +1 -1
- package/esm/public/cli/utils.js +1 -5
- 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/blueprint.d.ts +1 -1
- package/esm/public/orm/models/blueprintConstruction.d.ts +1 -1
- package/esm/public/orm/models/blueprintTemplate.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/databaseTransfer.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/embeddingChunk.d.ts +1 -1
- package/esm/public/orm/models/encryptedSecretsModule.d.ts +1 -1
- package/esm/public/orm/models/enum.d.ts +1 -1
- package/esm/public/orm/models/field.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/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/migrateFile.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/sqlAction.d.ts +1 -1
- package/esm/public/orm/models/storageModule.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/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 +1 -1
- package/esm/public/orm/query-builder.d.ts +4 -6
- package/esm/public/orm/query-builder.js +2 -12
- package/esm/public/orm/select-types.d.ts +2 -4
- package/objects/cli/utils.d.ts +1 -1
- package/objects/cli/utils.js +1 -5
- 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 +4 -6
- package/objects/orm/query-builder.js +2 -12
- package/objects/orm/select-types.d.ts +2 -4
- package/package.json +3 -3
- package/public/cli/commands/construct-blueprint.js +1 -1
- package/public/cli/commands.js +1 -1
- package/public/cli/utils.d.ts +1 -1
- package/public/cli/utils.js +1 -5
- 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/blueprint.d.ts +1 -1
- package/public/orm/models/blueprintConstruction.d.ts +1 -1
- package/public/orm/models/blueprintTemplate.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/databaseTransfer.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/embeddingChunk.d.ts +1 -1
- package/public/orm/models/encryptedSecretsModule.d.ts +1 -1
- package/public/orm/models/enum.d.ts +1 -1
- package/public/orm/models/field.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/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/migrateFile.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/sqlAction.d.ts +1 -1
- package/public/orm/models/storageModule.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/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 +1 -1
- package/public/orm/query-builder.d.ts +4 -6
- package/public/orm/query-builder.js +2 -12
- package/public/orm/select-types.d.ts +2 -4
|
@@ -10,7 +10,7 @@ import type { SqlActionWithRelations, SqlActionSelect, SqlActionFilter, SqlActio
|
|
|
10
10
|
export declare class SqlActionModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends SqlActionSelect>(args: FindManyArgs<S, SqlActionFilter,
|
|
13
|
+
findMany<S extends SqlActionSelect>(args: FindManyArgs<S, SqlActionFilter, SqlActionOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, SqlActionSelect>): QueryBuilder<{
|
|
16
16
|
sqlActions: ConnectionResult<InferSelectResult<SqlActionWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { StorageModuleWithRelations, StorageModuleSelect, StorageModuleFilt
|
|
|
10
10
|
export declare class StorageModuleModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends StorageModuleSelect>(args: FindManyArgs<S, StorageModuleFilter,
|
|
13
|
+
findMany<S extends StorageModuleSelect>(args: FindManyArgs<S, StorageModuleFilter, StorageModuleOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, StorageModuleSelect>): QueryBuilder<{
|
|
16
16
|
storageModules: ConnectionResult<InferSelectResult<StorageModuleWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { StoreWithRelations, StoreSelect, StoreFilter, StoreOrderBy, Create
|
|
|
10
10
|
export declare class StoreModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends StoreSelect>(args: FindManyArgs<S, StoreFilter,
|
|
13
|
+
findMany<S extends StoreSelect>(args: FindManyArgs<S, StoreFilter, StoreOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, StoreSelect>): QueryBuilder<{
|
|
16
16
|
stores: ConnectionResult<InferSelectResult<StoreWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { TableWithRelations, TableSelect, TableFilter, TableOrderBy, Create
|
|
|
10
10
|
export declare class TableModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends TableSelect>(args: FindManyArgs<S, TableFilter,
|
|
13
|
+
findMany<S extends TableSelect>(args: FindManyArgs<S, TableFilter, TableOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, TableSelect>): QueryBuilder<{
|
|
16
16
|
tables: ConnectionResult<InferSelectResult<TableWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { TableGrantWithRelations, TableGrantSelect, TableGrantFilter, Table
|
|
|
10
10
|
export declare class TableGrantModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends TableGrantSelect>(args: FindManyArgs<S, TableGrantFilter,
|
|
13
|
+
findMany<S extends TableGrantSelect>(args: FindManyArgs<S, TableGrantFilter, TableGrantOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, TableGrantSelect>): QueryBuilder<{
|
|
16
16
|
tableGrants: ConnectionResult<InferSelectResult<TableGrantWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { TableTemplateModuleWithRelations, TableTemplateModuleSelect, Table
|
|
|
10
10
|
export declare class TableTemplateModuleModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends TableTemplateModuleSelect>(args: FindManyArgs<S, TableTemplateModuleFilter,
|
|
13
|
+
findMany<S extends TableTemplateModuleSelect>(args: FindManyArgs<S, TableTemplateModuleFilter, TableTemplateModuleOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, TableTemplateModuleSelect>): QueryBuilder<{
|
|
16
16
|
tableTemplateModules: ConnectionResult<InferSelectResult<TableTemplateModuleWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { TriggerWithRelations, TriggerSelect, TriggerFilter, TriggerOrderBy
|
|
|
10
10
|
export declare class TriggerModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends TriggerSelect>(args: FindManyArgs<S, TriggerFilter,
|
|
13
|
+
findMany<S extends TriggerSelect>(args: FindManyArgs<S, TriggerFilter, TriggerOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, TriggerSelect>): QueryBuilder<{
|
|
16
16
|
triggers: ConnectionResult<InferSelectResult<TriggerWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { TriggerFunctionWithRelations, TriggerFunctionSelect, TriggerFuncti
|
|
|
10
10
|
export declare class TriggerFunctionModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends TriggerFunctionSelect>(args: FindManyArgs<S, TriggerFunctionFilter,
|
|
13
|
+
findMany<S extends TriggerFunctionSelect>(args: FindManyArgs<S, TriggerFunctionFilter, TriggerFunctionOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, TriggerFunctionSelect>): QueryBuilder<{
|
|
16
16
|
triggerFunctions: ConnectionResult<InferSelectResult<TriggerFunctionWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { UniqueConstraintWithRelations, UniqueConstraintSelect, UniqueConst
|
|
|
10
10
|
export declare class UniqueConstraintModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends UniqueConstraintSelect>(args: FindManyArgs<S, UniqueConstraintFilter,
|
|
13
|
+
findMany<S extends UniqueConstraintSelect>(args: FindManyArgs<S, UniqueConstraintFilter, UniqueConstraintOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, UniqueConstraintSelect>): QueryBuilder<{
|
|
16
16
|
uniqueConstraints: ConnectionResult<InferSelectResult<UniqueConstraintWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { UserWithRelations, UserSelect, UserFilter, UserOrderBy, CreateUser
|
|
|
10
10
|
export declare class UserModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends UserSelect>(args: FindManyArgs<S, UserFilter,
|
|
13
|
+
findMany<S extends UserSelect>(args: FindManyArgs<S, UserFilter, UserOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, UserSelect>): QueryBuilder<{
|
|
16
16
|
users: ConnectionResult<InferSelectResult<UserWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { UserAuthModuleWithRelations, UserAuthModuleSelect, UserAuthModuleF
|
|
|
10
10
|
export declare class UserAuthModuleModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends UserAuthModuleSelect>(args: FindManyArgs<S, UserAuthModuleFilter,
|
|
13
|
+
findMany<S extends UserAuthModuleSelect>(args: FindManyArgs<S, UserAuthModuleFilter, UserAuthModuleOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, UserAuthModuleSelect>): QueryBuilder<{
|
|
16
16
|
userAuthModules: ConnectionResult<InferSelectResult<UserAuthModuleWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { UsersModuleWithRelations, UsersModuleSelect, UsersModuleFilter, Us
|
|
|
10
10
|
export declare class UsersModuleModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends UsersModuleSelect>(args: FindManyArgs<S, UsersModuleFilter,
|
|
13
|
+
findMany<S extends UsersModuleSelect>(args: FindManyArgs<S, UsersModuleFilter, UsersModuleOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, UsersModuleSelect>): QueryBuilder<{
|
|
16
16
|
usersModules: ConnectionResult<InferSelectResult<UsersModuleWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { ViewWithRelations, ViewSelect, ViewFilter, ViewOrderBy, CreateView
|
|
|
10
10
|
export declare class ViewModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ViewSelect>(args: FindManyArgs<S, ViewFilter,
|
|
13
|
+
findMany<S extends ViewSelect>(args: FindManyArgs<S, ViewFilter, ViewOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, ViewSelect>): QueryBuilder<{
|
|
16
16
|
views: ConnectionResult<InferSelectResult<ViewWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { ViewGrantWithRelations, ViewGrantSelect, ViewGrantFilter, ViewGran
|
|
|
10
10
|
export declare class ViewGrantModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ViewGrantSelect>(args: FindManyArgs<S, ViewGrantFilter,
|
|
13
|
+
findMany<S extends ViewGrantSelect>(args: FindManyArgs<S, ViewGrantFilter, ViewGrantOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, ViewGrantSelect>): QueryBuilder<{
|
|
16
16
|
viewGrants: ConnectionResult<InferSelectResult<ViewGrantWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { ViewRuleWithRelations, ViewRuleSelect, ViewRuleFilter, ViewRuleOrd
|
|
|
10
10
|
export declare class ViewRuleModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ViewRuleSelect>(args: FindManyArgs<S, ViewRuleFilter,
|
|
13
|
+
findMany<S extends ViewRuleSelect>(args: FindManyArgs<S, ViewRuleFilter, ViewRuleOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, ViewRuleSelect>): QueryBuilder<{
|
|
16
16
|
viewRules: ConnectionResult<InferSelectResult<ViewRuleWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { ViewTableWithRelations, ViewTableSelect, ViewTableFilter, ViewTabl
|
|
|
10
10
|
export declare class ViewTableModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ViewTableSelect>(args: FindManyArgs<S, ViewTableFilter,
|
|
13
|
+
findMany<S extends ViewTableSelect>(args: FindManyArgs<S, ViewTableFilter, ViewTableOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, ViewTableSelect>): QueryBuilder<{
|
|
16
16
|
viewTables: ConnectionResult<InferSelectResult<ViewTableWithRelations, S>>;
|
|
@@ -48,7 +48,7 @@ export interface InitEmptyRepoVariables {
|
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Variables for constructBlueprint
|
|
51
|
-
* Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Five phases: (1) provision_table() for each table with
|
|
51
|
+
* Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Five phases: (1) provision_table() for each table with nodes[], fields[], policies[], and grants (table-level indexes/fts/unique_constraints are deferred), (2) provision_relation() for each relation, (3) provision_index() for top-level + deferred indexes, (4) provision_full_text_search() for top-level + deferred FTS, (5) provision_unique_constraint() for top-level + deferred unique constraints. Table-level indexes/fts/unique_constraints are deferred to phases 3-5 so they can reference columns created by relations in phase 2. Tables are identified by table_name with optional per-table schema_name. Relations use $type for relation_type with source_table/target_table. Returns the construction record ID on success, NULL on failure.
|
|
52
52
|
*/
|
|
53
53
|
export interface ConstructBlueprintVariables {
|
|
54
54
|
input: ConstructBlueprintInput;
|
|
@@ -34,23 +34,21 @@ 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
|
|
37
|
+
export declare function buildFindManyDocument<TSelect, TWhere>(operationName: string, queryField: string, select: TSelect, args: {
|
|
38
38
|
where?: TWhere;
|
|
39
|
-
condition?: TCondition;
|
|
40
39
|
orderBy?: string[];
|
|
41
40
|
first?: number;
|
|
42
41
|
last?: number;
|
|
43
42
|
after?: string;
|
|
44
43
|
before?: string;
|
|
45
44
|
offset?: number;
|
|
46
|
-
}, filterTypeName: string, orderByTypeName: string, connectionFieldsMap?: Record<string, Record<string, string
|
|
45
|
+
}, filterTypeName: string, orderByTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
47
46
|
document: string;
|
|
48
47
|
variables: Record<string, unknown>;
|
|
49
48
|
};
|
|
50
|
-
export declare function buildFindFirstDocument<TSelect, TWhere
|
|
49
|
+
export declare function buildFindFirstDocument<TSelect, TWhere>(operationName: string, queryField: string, select: TSelect, args: {
|
|
51
50
|
where?: TWhere;
|
|
52
|
-
|
|
53
|
-
}, filterTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>, conditionTypeName?: string): {
|
|
51
|
+
}, filterTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
54
52
|
document: string;
|
|
55
53
|
variables: Record<string, unknown>;
|
|
56
54
|
};
|
|
@@ -179,18 +179,13 @@ function buildSelections(select, connectionFieldsMap, entityType) {
|
|
|
179
179
|
// ============================================================================
|
|
180
180
|
// Document Builders
|
|
181
181
|
// ============================================================================
|
|
182
|
-
function buildFindManyDocument(operationName, queryField, select, args, filterTypeName, orderByTypeName, connectionFieldsMap
|
|
182
|
+
function buildFindManyDocument(operationName, queryField, select, args, filterTypeName, orderByTypeName, connectionFieldsMap) {
|
|
183
183
|
const selections = select
|
|
184
184
|
? buildSelections(select, connectionFieldsMap, operationName)
|
|
185
185
|
: [t.field({ name: 'id' })];
|
|
186
186
|
const variableDefinitions = [];
|
|
187
187
|
const queryArgs = [];
|
|
188
188
|
const variables = {};
|
|
189
|
-
addVariable({
|
|
190
|
-
varName: 'condition',
|
|
191
|
-
typeName: conditionTypeName,
|
|
192
|
-
value: args.condition,
|
|
193
|
-
}, variableDefinitions, queryArgs, variables);
|
|
194
189
|
addVariable({
|
|
195
190
|
varName: 'where',
|
|
196
191
|
typeName: filterTypeName,
|
|
@@ -228,7 +223,7 @@ function buildFindManyDocument(operationName, queryField, select, args, filterTy
|
|
|
228
223
|
});
|
|
229
224
|
return { document: (0, graphql_web_1.print)(document), variables };
|
|
230
225
|
}
|
|
231
|
-
function buildFindFirstDocument(operationName, queryField, select, args, filterTypeName, connectionFieldsMap
|
|
226
|
+
function buildFindFirstDocument(operationName, queryField, select, args, filterTypeName, connectionFieldsMap) {
|
|
232
227
|
const selections = select
|
|
233
228
|
? buildSelections(select, connectionFieldsMap, operationName)
|
|
234
229
|
: [t.field({ name: 'id' })];
|
|
@@ -237,11 +232,6 @@ function buildFindFirstDocument(operationName, queryField, select, args, filterT
|
|
|
237
232
|
const variables = {};
|
|
238
233
|
// Always add first: 1 for findFirst
|
|
239
234
|
addVariable({ varName: 'first', typeName: 'Int', value: 1 }, variableDefinitions, queryArgs, variables);
|
|
240
|
-
addVariable({
|
|
241
|
-
varName: 'condition',
|
|
242
|
-
typeName: conditionTypeName,
|
|
243
|
-
value: args.condition,
|
|
244
|
-
}, variableDefinitions, queryArgs, variables);
|
|
245
235
|
addVariable({
|
|
246
236
|
varName: 'where',
|
|
247
237
|
typeName: filterTypeName,
|
|
@@ -14,10 +14,9 @@ export interface PageInfo {
|
|
|
14
14
|
startCursor?: string | null;
|
|
15
15
|
endCursor?: string | null;
|
|
16
16
|
}
|
|
17
|
-
export interface FindManyArgs<TSelect, TWhere,
|
|
17
|
+
export interface FindManyArgs<TSelect, TWhere, TOrderBy = never> {
|
|
18
18
|
select?: TSelect;
|
|
19
19
|
where?: TWhere;
|
|
20
|
-
condition?: TCondition;
|
|
21
20
|
orderBy?: TOrderBy[];
|
|
22
21
|
first?: number;
|
|
23
22
|
last?: number;
|
|
@@ -25,10 +24,9 @@ export interface FindManyArgs<TSelect, TWhere, TCondition = never, TOrderBy = ne
|
|
|
25
24
|
before?: string;
|
|
26
25
|
offset?: number;
|
|
27
26
|
}
|
|
28
|
-
export interface FindFirstArgs<TSelect, TWhere
|
|
27
|
+
export interface FindFirstArgs<TSelect, TWhere> {
|
|
29
28
|
select?: TSelect;
|
|
30
29
|
where?: TWhere;
|
|
31
|
-
condition?: TCondition;
|
|
32
30
|
}
|
|
33
31
|
export interface CreateArgs<TSelect, TData> {
|
|
34
32
|
data: TData;
|