@constructive-io/sdk 0.7.2 → 0.7.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/orm/index.d.ts +6 -6
- package/admin/orm/index.js +6 -6
- package/admin/orm/input-types.d.ts +481 -386
- 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.js +0 -2
- package/auth/orm/index.d.ts +2 -2
- package/auth/orm/index.js +2 -2
- package/auth/orm/input-types.d.ts +189 -99
- 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.js +0 -2
- 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 +481 -386
- 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.js +0 -2
- 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 +189 -99
- 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.js +0 -2
- package/esm/objects/orm/input-types.d.ts +33 -3
- 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.js +0 -2
- 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 +2363 -927
- 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.js +0 -2
- package/objects/orm/input-types.d.ts +33 -3
- 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.js +0 -2
- package/package.json +3 -3
- package/public/orm/index.d.ts +17 -19
- package/public/orm/index.js +12 -14
- package/public/orm/input-types.d.ts +2363 -927
- 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.js +0 -2
- package/esm/public/orm/models/tableModule.d.ts +0 -56
- package/esm/public/orm/models/tableModule.js +0 -94
- package/public/orm/models/tableModule.d.ts +0 -56
- package/public/orm/models/tableModule.js +0 -98
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
8
|
import type { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { SignOutInput, SendAccountDeletionEmailInput, CheckPasswordInput, SubmitInviteCodeInput, SubmitOrgInviteCodeInput, FreezeObjectsInput, InitEmptyRepoInput, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, ResetPasswordInput,
|
|
9
|
+
import type { SignOutInput, SendAccountDeletionEmailInput, CheckPasswordInput, SubmitInviteCodeInput, SubmitOrgInviteCodeInput, FreezeObjectsInput, InitEmptyRepoInput, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, ResetPasswordInput, BootstrapUserInput, RemoveNodeAtPathInput, SetDataAtPathInput, SetPropsAndCommitInput, ProvisionDatabaseWithUserInput, SignInOneTimeTokenInput, CreateUserDatabaseInput, ExtendTokenExpiresInput, SignInInput, SignUpInput, SetFieldOrderInput, OneTimeTokenInput, InsertNodeAtPathInput, UpdateNodeAtPathInput, SetAndCommitInput, ApplyRlsInput, ForgotPasswordInput, SendVerificationEmailInput, VerifyPasswordInput, VerifyTotpInput, SignOutPayload, SendAccountDeletionEmailPayload, CheckPasswordPayload, SubmitInviteCodePayload, SubmitOrgInviteCodePayload, FreezeObjectsPayload, InitEmptyRepoPayload, ConfirmDeleteAccountPayload, SetPasswordPayload, VerifyEmailPayload, ResetPasswordPayload, BootstrapUserPayload, RemoveNodeAtPathPayload, SetDataAtPathPayload, SetPropsAndCommitPayload, ProvisionDatabaseWithUserPayload, SignInOneTimeTokenPayload, CreateUserDatabasePayload, ExtendTokenExpiresPayload, SignInPayload, SignUpPayload, SetFieldOrderPayload, OneTimeTokenPayload, InsertNodeAtPathPayload, UpdateNodeAtPathPayload, SetAndCommitPayload, ApplyRlsPayload, ForgotPasswordPayload, SendVerificationEmailPayload, VerifyPasswordPayload, VerifyTotpPayload, SignOutPayloadSelect, SendAccountDeletionEmailPayloadSelect, CheckPasswordPayloadSelect, SubmitInviteCodePayloadSelect, SubmitOrgInviteCodePayloadSelect, FreezeObjectsPayloadSelect, InitEmptyRepoPayloadSelect, ConfirmDeleteAccountPayloadSelect, SetPasswordPayloadSelect, VerifyEmailPayloadSelect, ResetPasswordPayloadSelect, BootstrapUserPayloadSelect, RemoveNodeAtPathPayloadSelect, SetDataAtPathPayloadSelect, SetPropsAndCommitPayloadSelect, ProvisionDatabaseWithUserPayloadSelect, SignInOneTimeTokenPayloadSelect, CreateUserDatabasePayloadSelect, ExtendTokenExpiresPayloadSelect, SignInPayloadSelect, SignUpPayloadSelect, SetFieldOrderPayloadSelect, OneTimeTokenPayloadSelect, InsertNodeAtPathPayloadSelect, UpdateNodeAtPathPayloadSelect, SetAndCommitPayloadSelect, ApplyRlsPayloadSelect, ForgotPasswordPayloadSelect, SendVerificationEmailPayloadSelect, VerifyPasswordPayloadSelect, VerifyTotpPayloadSelect } from '../input-types';
|
|
10
10
|
export interface SignOutVariables {
|
|
11
11
|
input: SignOutInput;
|
|
12
12
|
}
|
|
@@ -40,12 +40,12 @@ export interface VerifyEmailVariables {
|
|
|
40
40
|
export interface ResetPasswordVariables {
|
|
41
41
|
input: ResetPasswordInput;
|
|
42
42
|
}
|
|
43
|
-
export interface RemoveNodeAtPathVariables {
|
|
44
|
-
input: RemoveNodeAtPathInput;
|
|
45
|
-
}
|
|
46
43
|
export interface BootstrapUserVariables {
|
|
47
44
|
input: BootstrapUserInput;
|
|
48
45
|
}
|
|
46
|
+
export interface RemoveNodeAtPathVariables {
|
|
47
|
+
input: RemoveNodeAtPathInput;
|
|
48
|
+
}
|
|
49
49
|
export interface SetDataAtPathVariables {
|
|
50
50
|
input: SetDataAtPathInput;
|
|
51
51
|
}
|
|
@@ -175,16 +175,16 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
175
175
|
} & StrictSelect<S, ResetPasswordPayloadSelect>) => QueryBuilder<{
|
|
176
176
|
resetPassword: InferSelectResult<ResetPasswordPayload, S> | null;
|
|
177
177
|
}>;
|
|
178
|
-
removeNodeAtPath: <S extends RemoveNodeAtPathPayloadSelect>(args: RemoveNodeAtPathVariables, options: {
|
|
179
|
-
select: S;
|
|
180
|
-
} & StrictSelect<S, RemoveNodeAtPathPayloadSelect>) => QueryBuilder<{
|
|
181
|
-
removeNodeAtPath: InferSelectResult<RemoveNodeAtPathPayload, S> | null;
|
|
182
|
-
}>;
|
|
183
178
|
bootstrapUser: <S extends BootstrapUserPayloadSelect>(args: BootstrapUserVariables, options: {
|
|
184
179
|
select: S;
|
|
185
180
|
} & StrictSelect<S, BootstrapUserPayloadSelect>) => QueryBuilder<{
|
|
186
181
|
bootstrapUser: InferSelectResult<BootstrapUserPayload, S> | null;
|
|
187
182
|
}>;
|
|
183
|
+
removeNodeAtPath: <S extends RemoveNodeAtPathPayloadSelect>(args: RemoveNodeAtPathVariables, options: {
|
|
184
|
+
select: S;
|
|
185
|
+
} & StrictSelect<S, RemoveNodeAtPathPayloadSelect>) => QueryBuilder<{
|
|
186
|
+
removeNodeAtPath: InferSelectResult<RemoveNodeAtPathPayload, S> | null;
|
|
187
|
+
}>;
|
|
188
188
|
setDataAtPath: <S extends SetDataAtPathPayloadSelect>(args: SetDataAtPathVariables, options: {
|
|
189
189
|
select: S;
|
|
190
190
|
} & StrictSelect<S, SetDataAtPathPayloadSelect>) => QueryBuilder<{
|
|
@@ -134,18 +134,6 @@ export function createMutationOperations(client) {
|
|
|
134
134
|
},
|
|
135
135
|
], connectionFieldsMap, 'ResetPasswordPayload'),
|
|
136
136
|
}),
|
|
137
|
-
removeNodeAtPath: (args, options) => new QueryBuilder({
|
|
138
|
-
client,
|
|
139
|
-
operation: 'mutation',
|
|
140
|
-
operationName: 'RemoveNodeAtPath',
|
|
141
|
-
fieldName: 'removeNodeAtPath',
|
|
142
|
-
...buildCustomDocument('mutation', 'RemoveNodeAtPath', 'removeNodeAtPath', options.select, args, [
|
|
143
|
-
{
|
|
144
|
-
name: 'input',
|
|
145
|
-
type: 'RemoveNodeAtPathInput!',
|
|
146
|
-
},
|
|
147
|
-
], connectionFieldsMap, 'RemoveNodeAtPathPayload'),
|
|
148
|
-
}),
|
|
149
137
|
bootstrapUser: (args, options) => new QueryBuilder({
|
|
150
138
|
client,
|
|
151
139
|
operation: 'mutation',
|
|
@@ -158,6 +146,18 @@ export function createMutationOperations(client) {
|
|
|
158
146
|
},
|
|
159
147
|
], connectionFieldsMap, 'BootstrapUserPayload'),
|
|
160
148
|
}),
|
|
149
|
+
removeNodeAtPath: (args, options) => new QueryBuilder({
|
|
150
|
+
client,
|
|
151
|
+
operation: 'mutation',
|
|
152
|
+
operationName: 'RemoveNodeAtPath',
|
|
153
|
+
fieldName: 'removeNodeAtPath',
|
|
154
|
+
...buildCustomDocument('mutation', 'RemoveNodeAtPath', 'removeNodeAtPath', options.select, args, [
|
|
155
|
+
{
|
|
156
|
+
name: 'input',
|
|
157
|
+
type: 'RemoveNodeAtPathInput!',
|
|
158
|
+
},
|
|
159
|
+
], connectionFieldsMap, 'RemoveNodeAtPathPayload'),
|
|
160
|
+
}),
|
|
161
161
|
setDataAtPath: (args, options) => new QueryBuilder({
|
|
162
162
|
client,
|
|
163
163
|
operation: 'mutation',
|
|
@@ -145,7 +145,6 @@ export function buildFindManyDocument(operationName, queryField, select, args, f
|
|
|
145
145
|
}, variableDefinitions, queryArgs, variables);
|
|
146
146
|
addVariable({
|
|
147
147
|
varName: 'where',
|
|
148
|
-
argName: 'filter',
|
|
149
148
|
typeName: filterTypeName,
|
|
150
149
|
value: args.where,
|
|
151
150
|
}, variableDefinitions, queryArgs, variables);
|
|
@@ -197,7 +196,6 @@ export function buildFindFirstDocument(operationName, queryField, select, args,
|
|
|
197
196
|
}, variableDefinitions, queryArgs, variables);
|
|
198
197
|
addVariable({
|
|
199
198
|
varName: 'where',
|
|
200
|
-
argName: 'filter',
|
|
201
199
|
typeName: filterTypeName,
|
|
202
200
|
value: args.where,
|
|
203
201
|
}, variableDefinitions, queryArgs, variables);
|
|
@@ -252,6 +252,10 @@ export interface Ref {
|
|
|
252
252
|
databaseId?: string | null;
|
|
253
253
|
storeId?: string | null;
|
|
254
254
|
commitId?: string | null;
|
|
255
|
+
/** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */
|
|
256
|
+
nameTrgmSimilarity?: number | null;
|
|
257
|
+
/** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
|
|
258
|
+
searchScore?: number | null;
|
|
255
259
|
}
|
|
256
260
|
/** A store represents an isolated object repository within a database. */
|
|
257
261
|
export interface Store {
|
|
@@ -264,6 +268,10 @@ export interface Store {
|
|
|
264
268
|
/** The current head tree_id for this store. */
|
|
265
269
|
hash?: string | null;
|
|
266
270
|
createdAt?: string | null;
|
|
271
|
+
/** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */
|
|
272
|
+
nameTrgmSimilarity?: number | null;
|
|
273
|
+
/** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
|
|
274
|
+
searchScore?: number | null;
|
|
267
275
|
}
|
|
268
276
|
/** A commit records changes to the repository. */
|
|
269
277
|
export interface Commit {
|
|
@@ -283,6 +291,10 @@ export interface Commit {
|
|
|
283
291
|
/** The root of the tree */
|
|
284
292
|
treeId?: string | null;
|
|
285
293
|
date?: string | null;
|
|
294
|
+
/** TRGM similarity when searching `message`. Returns null when no trgm search filter is active. */
|
|
295
|
+
messageTrgmSimilarity?: number | null;
|
|
296
|
+
/** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
|
|
297
|
+
searchScore?: number | null;
|
|
286
298
|
}
|
|
287
299
|
export interface ConnectionResult<T> {
|
|
288
300
|
nodes: T[];
|
|
@@ -330,6 +342,8 @@ export type RefSelect = {
|
|
|
330
342
|
databaseId?: boolean;
|
|
331
343
|
storeId?: boolean;
|
|
332
344
|
commitId?: boolean;
|
|
345
|
+
nameTrgmSimilarity?: boolean;
|
|
346
|
+
searchScore?: boolean;
|
|
333
347
|
};
|
|
334
348
|
export type StoreSelect = {
|
|
335
349
|
id?: boolean;
|
|
@@ -337,6 +351,8 @@ export type StoreSelect = {
|
|
|
337
351
|
databaseId?: boolean;
|
|
338
352
|
hash?: boolean;
|
|
339
353
|
createdAt?: boolean;
|
|
354
|
+
nameTrgmSimilarity?: boolean;
|
|
355
|
+
searchScore?: boolean;
|
|
340
356
|
};
|
|
341
357
|
export type CommitSelect = {
|
|
342
358
|
id?: boolean;
|
|
@@ -348,6 +364,8 @@ export type CommitSelect = {
|
|
|
348
364
|
committerId?: boolean;
|
|
349
365
|
treeId?: boolean;
|
|
350
366
|
date?: boolean;
|
|
367
|
+
messageTrgmSimilarity?: boolean;
|
|
368
|
+
searchScore?: boolean;
|
|
351
369
|
};
|
|
352
370
|
export interface GetAllRecordFilter {
|
|
353
371
|
path?: StringFilter;
|
|
@@ -375,6 +393,8 @@ export interface RefFilter {
|
|
|
375
393
|
databaseId?: UUIDFilter;
|
|
376
394
|
storeId?: UUIDFilter;
|
|
377
395
|
commitId?: UUIDFilter;
|
|
396
|
+
nameTrgmSimilarity?: FloatFilter;
|
|
397
|
+
searchScore?: FloatFilter;
|
|
378
398
|
and?: RefFilter[];
|
|
379
399
|
or?: RefFilter[];
|
|
380
400
|
not?: RefFilter;
|
|
@@ -385,6 +405,8 @@ export interface StoreFilter {
|
|
|
385
405
|
databaseId?: UUIDFilter;
|
|
386
406
|
hash?: UUIDFilter;
|
|
387
407
|
createdAt?: DatetimeFilter;
|
|
408
|
+
nameTrgmSimilarity?: FloatFilter;
|
|
409
|
+
searchScore?: FloatFilter;
|
|
388
410
|
and?: StoreFilter[];
|
|
389
411
|
or?: StoreFilter[];
|
|
390
412
|
not?: StoreFilter;
|
|
@@ -399,15 +421,17 @@ export interface CommitFilter {
|
|
|
399
421
|
committerId?: UUIDFilter;
|
|
400
422
|
treeId?: UUIDFilter;
|
|
401
423
|
date?: DatetimeFilter;
|
|
424
|
+
messageTrgmSimilarity?: FloatFilter;
|
|
425
|
+
searchScore?: FloatFilter;
|
|
402
426
|
and?: CommitFilter[];
|
|
403
427
|
or?: CommitFilter[];
|
|
404
428
|
not?: CommitFilter;
|
|
405
429
|
}
|
|
406
430
|
export type GetAllRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'PATH_ASC' | 'PATH_DESC' | 'DATA_ASC' | 'DATA_DESC';
|
|
407
431
|
export type ObjectOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'HASH_UUID_ASC' | 'HASH_UUID_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'KIDS_ASC' | 'KIDS_DESC' | 'KTREE_ASC' | 'KTREE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'FRZN_ASC' | 'FRZN_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
|
|
408
|
-
export type RefOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'COMMIT_ID_ASC' | 'COMMIT_ID_DESC';
|
|
409
|
-
export type StoreOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'HASH_ASC' | 'HASH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
|
|
410
|
-
export type CommitOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'PARENT_IDS_ASC' | 'PARENT_IDS_DESC' | 'AUTHOR_ID_ASC' | 'AUTHOR_ID_DESC' | 'COMMITTER_ID_ASC' | 'COMMITTER_ID_DESC' | 'TREE_ID_ASC' | 'TREE_ID_DESC' | 'DATE_ASC' | 'DATE_DESC';
|
|
432
|
+
export type RefOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'COMMIT_ID_ASC' | 'COMMIT_ID_DESC' | 'NAME_TRGM_SIMILARITY_ASC' | 'NAME_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
|
|
433
|
+
export type StoreOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'HASH_ASC' | 'HASH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'NAME_TRGM_SIMILARITY_ASC' | 'NAME_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
|
|
434
|
+
export type CommitOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'PARENT_IDS_ASC' | 'PARENT_IDS_DESC' | 'AUTHOR_ID_ASC' | 'AUTHOR_ID_DESC' | 'COMMITTER_ID_ASC' | 'COMMITTER_ID_DESC' | 'TREE_ID_ASC' | 'TREE_ID_DESC' | 'DATE_ASC' | 'DATE_DESC' | 'MESSAGE_TRGM_SIMILARITY_ASC' | 'MESSAGE_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
|
|
411
435
|
export interface CreateGetAllRecordInput {
|
|
412
436
|
clientMutationId?: string;
|
|
413
437
|
getAllRecord: {
|
|
@@ -469,6 +493,8 @@ export interface RefPatch {
|
|
|
469
493
|
databaseId?: string | null;
|
|
470
494
|
storeId?: string | null;
|
|
471
495
|
commitId?: string | null;
|
|
496
|
+
nameTrgmSimilarity?: number | null;
|
|
497
|
+
searchScore?: number | null;
|
|
472
498
|
}
|
|
473
499
|
export interface UpdateRefInput {
|
|
474
500
|
clientMutationId?: string;
|
|
@@ -491,6 +517,8 @@ export interface StorePatch {
|
|
|
491
517
|
name?: string | null;
|
|
492
518
|
databaseId?: string | null;
|
|
493
519
|
hash?: string | null;
|
|
520
|
+
nameTrgmSimilarity?: number | null;
|
|
521
|
+
searchScore?: number | null;
|
|
494
522
|
}
|
|
495
523
|
export interface UpdateStoreInput {
|
|
496
524
|
clientMutationId?: string;
|
|
@@ -523,6 +551,8 @@ export interface CommitPatch {
|
|
|
523
551
|
committerId?: string | null;
|
|
524
552
|
treeId?: string | null;
|
|
525
553
|
date?: string | null;
|
|
554
|
+
messageTrgmSimilarity?: number | null;
|
|
555
|
+
searchScore?: number | null;
|
|
526
556
|
}
|
|
527
557
|
export interface UpdateCommitInput {
|
|
528
558
|
clientMutationId?: string;
|
|
@@ -10,7 +10,7 @@ import type { CommitWithRelations, CommitSelect, CommitFilter, CommitOrderBy, Cr
|
|
|
10
10
|
export declare class CommitModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends CommitSelect>(args: FindManyArgs<S, CommitFilter, CommitOrderBy> & {
|
|
13
|
+
findMany<S extends CommitSelect>(args: FindManyArgs<S, CommitFilter, never, CommitOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, CommitSelect>): QueryBuilder<{
|
|
16
16
|
commits: ConnectionResult<InferSelectResult<CommitWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { GetAllRecordWithRelations, GetAllRecordSelect, GetAllRecordFilter,
|
|
|
10
10
|
export declare class GetAllRecordModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends GetAllRecordSelect>(args: FindManyArgs<S, GetAllRecordFilter, GetAllRecordsOrderBy> & {
|
|
13
|
+
findMany<S extends GetAllRecordSelect>(args: FindManyArgs<S, GetAllRecordFilter, never, GetAllRecordsOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, GetAllRecordSelect>): QueryBuilder<{
|
|
16
16
|
getAll: ConnectionResult<InferSelectResult<GetAllRecordWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { ObjectWithRelations, ObjectSelect, ObjectFilter, ObjectOrderBy, Cr
|
|
|
10
10
|
export declare class ObjectModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ObjectSelect>(args: FindManyArgs<S, ObjectFilter, ObjectOrderBy> & {
|
|
13
|
+
findMany<S extends ObjectSelect>(args: FindManyArgs<S, ObjectFilter, never, ObjectOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, ObjectSelect>): QueryBuilder<{
|
|
16
16
|
objects: ConnectionResult<InferSelectResult<ObjectWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { RefWithRelations, RefSelect, RefFilter, RefOrderBy, CreateRefInput
|
|
|
10
10
|
export declare class RefModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends RefSelect>(args: FindManyArgs<S, RefFilter, RefOrderBy> & {
|
|
13
|
+
findMany<S extends RefSelect>(args: FindManyArgs<S, RefFilter, never, RefOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, RefSelect>): QueryBuilder<{
|
|
16
16
|
refs: ConnectionResult<InferSelectResult<RefWithRelations, 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, StoreOrderBy> & {
|
|
13
|
+
findMany<S extends StoreSelect>(args: FindManyArgs<S, StoreFilter, never, StoreOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, StoreSelect>): QueryBuilder<{
|
|
16
16
|
stores: ConnectionResult<InferSelectResult<StoreWithRelations, S>>;
|
|
@@ -192,7 +192,6 @@ function buildFindManyDocument(operationName, queryField, select, args, filterTy
|
|
|
192
192
|
}, variableDefinitions, queryArgs, variables);
|
|
193
193
|
addVariable({
|
|
194
194
|
varName: 'where',
|
|
195
|
-
argName: 'filter',
|
|
196
195
|
typeName: filterTypeName,
|
|
197
196
|
value: args.where,
|
|
198
197
|
}, variableDefinitions, queryArgs, variables);
|
|
@@ -244,7 +243,6 @@ function buildFindFirstDocument(operationName, queryField, select, args, filterT
|
|
|
244
243
|
}, variableDefinitions, queryArgs, variables);
|
|
245
244
|
addVariable({
|
|
246
245
|
varName: 'where',
|
|
247
|
-
argName: 'filter',
|
|
248
246
|
typeName: filterTypeName,
|
|
249
247
|
value: args.where,
|
|
250
248
|
}, variableDefinitions, queryArgs, variables);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/sdk",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "Constructive SDK - Auto-generated GraphQL types and ORM client",
|
|
6
6
|
"main": "index.js",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"graphql": "^16.13.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@constructive-io/graphql-codegen": "^4.14.
|
|
47
|
+
"@constructive-io/graphql-codegen": "^4.14.3",
|
|
48
48
|
"@types/node": "^22.19.11",
|
|
49
49
|
"makage": "^0.1.12",
|
|
50
50
|
"tsx": "^4.19.0",
|
|
51
51
|
"typescript": "^5.9.3"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "edb69fc817642476636394a89b47293b6a0c7c43"
|
|
54
54
|
}
|
package/public/orm/index.d.ts
CHANGED
|
@@ -23,7 +23,6 @@ import { ViewModel } from './models/view';
|
|
|
23
23
|
import { ViewTableModel } from './models/viewTable';
|
|
24
24
|
import { ViewGrantModel } from './models/viewGrant';
|
|
25
25
|
import { ViewRuleModel } from './models/viewRule';
|
|
26
|
-
import { TableModuleModel } from './models/tableModule';
|
|
27
26
|
import { TableTemplateModuleModel } from './models/tableTemplateModule';
|
|
28
27
|
import { SecureTableProvisionModel } from './models/secureTableProvision';
|
|
29
28
|
import { RelationProvisionModel } from './models/relationProvision';
|
|
@@ -55,7 +54,6 @@ import { MembershipsModuleModel } from './models/membershipsModule';
|
|
|
55
54
|
import { PermissionsModuleModel } from './models/permissionsModule';
|
|
56
55
|
import { PhoneNumbersModuleModel } from './models/phoneNumbersModule';
|
|
57
56
|
import { ProfilesModuleModel } from './models/profilesModule';
|
|
58
|
-
import { RlsModuleModel } from './models/rlsModule';
|
|
59
57
|
import { SecretsModuleModel } from './models/secretsModule';
|
|
60
58
|
import { SessionsModuleModel } from './models/sessionsModule';
|
|
61
59
|
import { UserAuthModuleModel } from './models/userAuthModule';
|
|
@@ -83,25 +81,26 @@ import { OrgClaimedInviteModel } from './models/orgClaimedInvite';
|
|
|
83
81
|
import { RefModel } from './models/ref';
|
|
84
82
|
import { StoreModel } from './models/store';
|
|
85
83
|
import { AppPermissionDefaultModel } from './models/appPermissionDefault';
|
|
84
|
+
import { CryptoAddressModel } from './models/cryptoAddress';
|
|
86
85
|
import { RoleTypeModel } from './models/roleType';
|
|
87
86
|
import { OrgPermissionDefaultModel } from './models/orgPermissionDefault';
|
|
88
|
-
import {
|
|
87
|
+
import { PhoneNumberModel } from './models/phoneNumber';
|
|
89
88
|
import { AppLimitDefaultModel } from './models/appLimitDefault';
|
|
90
89
|
import { OrgLimitDefaultModel } from './models/orgLimitDefault';
|
|
91
90
|
import { ConnectedAccountModel } from './models/connectedAccount';
|
|
92
|
-
import { PhoneNumberModel } from './models/phoneNumber';
|
|
93
|
-
import { MembershipTypeModel } from './models/membershipType';
|
|
94
91
|
import { NodeTypeRegistryModel } from './models/nodeTypeRegistry';
|
|
92
|
+
import { MembershipTypeModel } from './models/membershipType';
|
|
95
93
|
import { AppMembershipDefaultModel } from './models/appMembershipDefault';
|
|
94
|
+
import { RlsModuleModel } from './models/rlsModule';
|
|
96
95
|
import { CommitModel } from './models/commit';
|
|
97
96
|
import { OrgMembershipDefaultModel } from './models/orgMembershipDefault';
|
|
98
97
|
import { AuditLogModel } from './models/auditLog';
|
|
99
98
|
import { AppLevelModel } from './models/appLevel';
|
|
100
|
-
import { EmailModel } from './models/email';
|
|
101
99
|
import { SqlMigrationModel } from './models/sqlMigration';
|
|
100
|
+
import { EmailModel } from './models/email';
|
|
102
101
|
import { AstMigrationModel } from './models/astMigration';
|
|
103
|
-
import { UserModel } from './models/user';
|
|
104
102
|
import { AppMembershipModel } from './models/appMembership';
|
|
103
|
+
import { UserModel } from './models/user';
|
|
105
104
|
import { HierarchyModuleModel } from './models/hierarchyModule';
|
|
106
105
|
export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
|
|
107
106
|
export { GraphQLRequestError } from './client';
|
|
@@ -158,7 +157,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
158
157
|
viewTable: ViewTableModel;
|
|
159
158
|
viewGrant: ViewGrantModel;
|
|
160
159
|
viewRule: ViewRuleModel;
|
|
161
|
-
tableModule: TableModuleModel;
|
|
162
160
|
tableTemplateModule: TableTemplateModuleModel;
|
|
163
161
|
secureTableProvision: SecureTableProvisionModel;
|
|
164
162
|
relationProvision: RelationProvisionModel;
|
|
@@ -190,7 +188,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
190
188
|
permissionsModule: PermissionsModuleModel;
|
|
191
189
|
phoneNumbersModule: PhoneNumbersModuleModel;
|
|
192
190
|
profilesModule: ProfilesModuleModel;
|
|
193
|
-
rlsModule: RlsModuleModel;
|
|
194
191
|
secretsModule: SecretsModuleModel;
|
|
195
192
|
sessionsModule: SessionsModuleModel;
|
|
196
193
|
userAuthModule: UserAuthModuleModel;
|
|
@@ -218,25 +215,26 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
218
215
|
ref: RefModel;
|
|
219
216
|
store: StoreModel;
|
|
220
217
|
appPermissionDefault: AppPermissionDefaultModel;
|
|
218
|
+
cryptoAddress: CryptoAddressModel;
|
|
221
219
|
roleType: RoleTypeModel;
|
|
222
220
|
orgPermissionDefault: OrgPermissionDefaultModel;
|
|
223
|
-
|
|
221
|
+
phoneNumber: PhoneNumberModel;
|
|
224
222
|
appLimitDefault: AppLimitDefaultModel;
|
|
225
223
|
orgLimitDefault: OrgLimitDefaultModel;
|
|
226
224
|
connectedAccount: ConnectedAccountModel;
|
|
227
|
-
phoneNumber: PhoneNumberModel;
|
|
228
|
-
membershipType: MembershipTypeModel;
|
|
229
225
|
nodeTypeRegistry: NodeTypeRegistryModel;
|
|
226
|
+
membershipType: MembershipTypeModel;
|
|
230
227
|
appMembershipDefault: AppMembershipDefaultModel;
|
|
228
|
+
rlsModule: RlsModuleModel;
|
|
231
229
|
commit: CommitModel;
|
|
232
230
|
orgMembershipDefault: OrgMembershipDefaultModel;
|
|
233
231
|
auditLog: AuditLogModel;
|
|
234
232
|
appLevel: AppLevelModel;
|
|
235
|
-
email: EmailModel;
|
|
236
233
|
sqlMigration: SqlMigrationModel;
|
|
234
|
+
email: EmailModel;
|
|
237
235
|
astMigration: AstMigrationModel;
|
|
238
|
-
user: UserModel;
|
|
239
236
|
appMembership: AppMembershipModel;
|
|
237
|
+
user: UserModel;
|
|
240
238
|
hierarchyModule: HierarchyModuleModel;
|
|
241
239
|
query: {
|
|
242
240
|
currentUserId: (options?: {
|
|
@@ -391,16 +389,16 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
391
389
|
} & import("./select-types").StrictSelect<S, import("./input-types").ResetPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
392
390
|
resetPassword: import("./select-types").InferSelectResult<import("./input-types").ResetPasswordPayload, S> | null;
|
|
393
391
|
}>;
|
|
394
|
-
removeNodeAtPath: <S extends import("./input-types").RemoveNodeAtPathPayloadSelect>(args: import("./mutation").RemoveNodeAtPathVariables, options: {
|
|
395
|
-
select: S;
|
|
396
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").RemoveNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
397
|
-
removeNodeAtPath: import("./select-types").InferSelectResult<import("./input-types").RemoveNodeAtPathPayload, S> | null;
|
|
398
|
-
}>;
|
|
399
392
|
bootstrapUser: <S extends import("./input-types").BootstrapUserPayloadSelect>(args: import("./mutation").BootstrapUserVariables, options: {
|
|
400
393
|
select: S;
|
|
401
394
|
} & import("./select-types").StrictSelect<S, import("./input-types").BootstrapUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
402
395
|
bootstrapUser: import("./select-types").InferSelectResult<import("./input-types").BootstrapUserPayload, S> | null;
|
|
403
396
|
}>;
|
|
397
|
+
removeNodeAtPath: <S extends import("./input-types").RemoveNodeAtPathPayloadSelect>(args: import("./mutation").RemoveNodeAtPathVariables, options: {
|
|
398
|
+
select: S;
|
|
399
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").RemoveNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
400
|
+
removeNodeAtPath: import("./select-types").InferSelectResult<import("./input-types").RemoveNodeAtPathPayload, S> | null;
|
|
401
|
+
}>;
|
|
404
402
|
setDataAtPath: <S extends import("./input-types").SetDataAtPathPayloadSelect>(args: import("./mutation").SetDataAtPathVariables, options: {
|
|
405
403
|
select: S;
|
|
406
404
|
} & import("./select-types").StrictSelect<S, import("./input-types").SetDataAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
package/public/orm/index.js
CHANGED
|
@@ -46,7 +46,6 @@ const view_1 = require("./models/view");
|
|
|
46
46
|
const viewTable_1 = require("./models/viewTable");
|
|
47
47
|
const viewGrant_1 = require("./models/viewGrant");
|
|
48
48
|
const viewRule_1 = require("./models/viewRule");
|
|
49
|
-
const tableModule_1 = require("./models/tableModule");
|
|
50
49
|
const tableTemplateModule_1 = require("./models/tableTemplateModule");
|
|
51
50
|
const secureTableProvision_1 = require("./models/secureTableProvision");
|
|
52
51
|
const relationProvision_1 = require("./models/relationProvision");
|
|
@@ -78,7 +77,6 @@ const membershipsModule_1 = require("./models/membershipsModule");
|
|
|
78
77
|
const permissionsModule_1 = require("./models/permissionsModule");
|
|
79
78
|
const phoneNumbersModule_1 = require("./models/phoneNumbersModule");
|
|
80
79
|
const profilesModule_1 = require("./models/profilesModule");
|
|
81
|
-
const rlsModule_1 = require("./models/rlsModule");
|
|
82
80
|
const secretsModule_1 = require("./models/secretsModule");
|
|
83
81
|
const sessionsModule_1 = require("./models/sessionsModule");
|
|
84
82
|
const userAuthModule_1 = require("./models/userAuthModule");
|
|
@@ -106,25 +104,26 @@ const orgClaimedInvite_1 = require("./models/orgClaimedInvite");
|
|
|
106
104
|
const ref_1 = require("./models/ref");
|
|
107
105
|
const store_1 = require("./models/store");
|
|
108
106
|
const appPermissionDefault_1 = require("./models/appPermissionDefault");
|
|
107
|
+
const cryptoAddress_1 = require("./models/cryptoAddress");
|
|
109
108
|
const roleType_1 = require("./models/roleType");
|
|
110
109
|
const orgPermissionDefault_1 = require("./models/orgPermissionDefault");
|
|
111
|
-
const
|
|
110
|
+
const phoneNumber_1 = require("./models/phoneNumber");
|
|
112
111
|
const appLimitDefault_1 = require("./models/appLimitDefault");
|
|
113
112
|
const orgLimitDefault_1 = require("./models/orgLimitDefault");
|
|
114
113
|
const connectedAccount_1 = require("./models/connectedAccount");
|
|
115
|
-
const phoneNumber_1 = require("./models/phoneNumber");
|
|
116
|
-
const membershipType_1 = require("./models/membershipType");
|
|
117
114
|
const nodeTypeRegistry_1 = require("./models/nodeTypeRegistry");
|
|
115
|
+
const membershipType_1 = require("./models/membershipType");
|
|
118
116
|
const appMembershipDefault_1 = require("./models/appMembershipDefault");
|
|
117
|
+
const rlsModule_1 = require("./models/rlsModule");
|
|
119
118
|
const commit_1 = require("./models/commit");
|
|
120
119
|
const orgMembershipDefault_1 = require("./models/orgMembershipDefault");
|
|
121
120
|
const auditLog_1 = require("./models/auditLog");
|
|
122
121
|
const appLevel_1 = require("./models/appLevel");
|
|
123
|
-
const email_1 = require("./models/email");
|
|
124
122
|
const sqlMigration_1 = require("./models/sqlMigration");
|
|
123
|
+
const email_1 = require("./models/email");
|
|
125
124
|
const astMigration_1 = require("./models/astMigration");
|
|
126
|
-
const user_1 = require("./models/user");
|
|
127
125
|
const appMembership_1 = require("./models/appMembership");
|
|
126
|
+
const user_1 = require("./models/user");
|
|
128
127
|
const hierarchyModule_1 = require("./models/hierarchyModule");
|
|
129
128
|
const query_1 = require("./query");
|
|
130
129
|
const mutation_1 = require("./mutation");
|
|
@@ -188,7 +187,6 @@ function createClient(config) {
|
|
|
188
187
|
viewTable: new viewTable_1.ViewTableModel(client),
|
|
189
188
|
viewGrant: new viewGrant_1.ViewGrantModel(client),
|
|
190
189
|
viewRule: new viewRule_1.ViewRuleModel(client),
|
|
191
|
-
tableModule: new tableModule_1.TableModuleModel(client),
|
|
192
190
|
tableTemplateModule: new tableTemplateModule_1.TableTemplateModuleModel(client),
|
|
193
191
|
secureTableProvision: new secureTableProvision_1.SecureTableProvisionModel(client),
|
|
194
192
|
relationProvision: new relationProvision_1.RelationProvisionModel(client),
|
|
@@ -220,7 +218,6 @@ function createClient(config) {
|
|
|
220
218
|
permissionsModule: new permissionsModule_1.PermissionsModuleModel(client),
|
|
221
219
|
phoneNumbersModule: new phoneNumbersModule_1.PhoneNumbersModuleModel(client),
|
|
222
220
|
profilesModule: new profilesModule_1.ProfilesModuleModel(client),
|
|
223
|
-
rlsModule: new rlsModule_1.RlsModuleModel(client),
|
|
224
221
|
secretsModule: new secretsModule_1.SecretsModuleModel(client),
|
|
225
222
|
sessionsModule: new sessionsModule_1.SessionsModuleModel(client),
|
|
226
223
|
userAuthModule: new userAuthModule_1.UserAuthModuleModel(client),
|
|
@@ -248,25 +245,26 @@ function createClient(config) {
|
|
|
248
245
|
ref: new ref_1.RefModel(client),
|
|
249
246
|
store: new store_1.StoreModel(client),
|
|
250
247
|
appPermissionDefault: new appPermissionDefault_1.AppPermissionDefaultModel(client),
|
|
248
|
+
cryptoAddress: new cryptoAddress_1.CryptoAddressModel(client),
|
|
251
249
|
roleType: new roleType_1.RoleTypeModel(client),
|
|
252
250
|
orgPermissionDefault: new orgPermissionDefault_1.OrgPermissionDefaultModel(client),
|
|
253
|
-
|
|
251
|
+
phoneNumber: new phoneNumber_1.PhoneNumberModel(client),
|
|
254
252
|
appLimitDefault: new appLimitDefault_1.AppLimitDefaultModel(client),
|
|
255
253
|
orgLimitDefault: new orgLimitDefault_1.OrgLimitDefaultModel(client),
|
|
256
254
|
connectedAccount: new connectedAccount_1.ConnectedAccountModel(client),
|
|
257
|
-
phoneNumber: new phoneNumber_1.PhoneNumberModel(client),
|
|
258
|
-
membershipType: new membershipType_1.MembershipTypeModel(client),
|
|
259
255
|
nodeTypeRegistry: new nodeTypeRegistry_1.NodeTypeRegistryModel(client),
|
|
256
|
+
membershipType: new membershipType_1.MembershipTypeModel(client),
|
|
260
257
|
appMembershipDefault: new appMembershipDefault_1.AppMembershipDefaultModel(client),
|
|
258
|
+
rlsModule: new rlsModule_1.RlsModuleModel(client),
|
|
261
259
|
commit: new commit_1.CommitModel(client),
|
|
262
260
|
orgMembershipDefault: new orgMembershipDefault_1.OrgMembershipDefaultModel(client),
|
|
263
261
|
auditLog: new auditLog_1.AuditLogModel(client),
|
|
264
262
|
appLevel: new appLevel_1.AppLevelModel(client),
|
|
265
|
-
email: new email_1.EmailModel(client),
|
|
266
263
|
sqlMigration: new sqlMigration_1.SqlMigrationModel(client),
|
|
264
|
+
email: new email_1.EmailModel(client),
|
|
267
265
|
astMigration: new astMigration_1.AstMigrationModel(client),
|
|
268
|
-
user: new user_1.UserModel(client),
|
|
269
266
|
appMembership: new appMembership_1.AppMembershipModel(client),
|
|
267
|
+
user: new user_1.UserModel(client),
|
|
270
268
|
hierarchyModule: new hierarchyModule_1.HierarchyModuleModel(client),
|
|
271
269
|
query: (0, query_1.createQueryOperations)(client),
|
|
272
270
|
mutation: (0, mutation_1.createMutationOperations)(client),
|