@constructive-io/sdk 0.13.1 → 0.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/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/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/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/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/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/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/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 { 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>>;
|
|
@@ -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
|
};
|
|
@@ -131,18 +131,13 @@ 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) {
|
|
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);
|
|
146
141
|
addVariable({
|
|
147
142
|
varName: 'where',
|
|
148
143
|
typeName: filterTypeName,
|
|
@@ -180,7 +175,7 @@ export function buildFindManyDocument(operationName, queryField, select, args, f
|
|
|
180
175
|
});
|
|
181
176
|
return { document: print(document), variables };
|
|
182
177
|
}
|
|
183
|
-
export function buildFindFirstDocument(operationName, queryField, select, args, filterTypeName, connectionFieldsMap
|
|
178
|
+
export function buildFindFirstDocument(operationName, queryField, select, args, filterTypeName, connectionFieldsMap) {
|
|
184
179
|
const selections = select
|
|
185
180
|
? buildSelections(select, connectionFieldsMap, operationName)
|
|
186
181
|
: [t.field({ name: 'id' })];
|
|
@@ -189,11 +184,6 @@ export function buildFindFirstDocument(operationName, queryField, select, args,
|
|
|
189
184
|
const variables = {};
|
|
190
185
|
// Always add first: 1 for findFirst
|
|
191
186
|
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);
|
|
197
187
|
addVariable({
|
|
198
188
|
varName: 'where',
|
|
199
189
|
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;
|
|
@@ -10,7 +10,7 @@ import type { ApiWithRelations, ApiSelect, ApiFilter, ApiOrderBy, CreateApiInput
|
|
|
10
10
|
export declare class ApiModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ApiSelect>(args: FindManyArgs<S, ApiFilter,
|
|
13
|
+
findMany<S extends ApiSelect>(args: FindManyArgs<S, ApiFilter, ApiOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, ApiSelect>): QueryBuilder<{
|
|
16
16
|
apis: ConnectionResult<InferSelectResult<ApiWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { ApiModuleWithRelations, ApiModuleSelect, ApiModuleFilter, ApiModul
|
|
|
10
10
|
export declare class ApiModuleModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ApiModuleSelect>(args: FindManyArgs<S, ApiModuleFilter,
|
|
13
|
+
findMany<S extends ApiModuleSelect>(args: FindManyArgs<S, ApiModuleFilter, ApiModuleOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
16
16
|
apiModules: ConnectionResult<InferSelectResult<ApiModuleWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { ApiSchemaWithRelations, ApiSchemaSelect, ApiSchemaFilter, ApiSchem
|
|
|
10
10
|
export declare class ApiSchemaModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ApiSchemaSelect>(args: FindManyArgs<S, ApiSchemaFilter,
|
|
13
|
+
findMany<S extends ApiSchemaSelect>(args: FindManyArgs<S, ApiSchemaFilter, ApiSchemaOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, ApiSchemaSelect>): QueryBuilder<{
|
|
16
16
|
apiSchemas: ConnectionResult<InferSelectResult<ApiSchemaWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { AppWithRelations, AppSelect, AppFilter, AppOrderBy, CreateAppInput
|
|
|
10
10
|
export declare class AppModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppSelect>(args: FindManyArgs<S, AppFilter,
|
|
13
|
+
findMany<S extends AppSelect>(args: FindManyArgs<S, AppFilter, AppOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, AppSelect>): QueryBuilder<{
|
|
16
16
|
apps: ConnectionResult<InferSelectResult<AppWithRelations, S>>;
|
|
@@ -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,
|
|
13
|
+
findMany<S extends AppAchievementSelect>(args: FindManyArgs<S, AppAchievementFilter, 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,
|
|
13
|
+
findMany<S extends AppAdminGrantSelect>(args: FindManyArgs<S, AppAdminGrantFilter, 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,
|
|
13
|
+
findMany<S extends AppGrantSelect>(args: FindManyArgs<S, AppGrantFilter, 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,
|
|
13
|
+
findMany<S extends AppLevelSelect>(args: FindManyArgs<S, AppLevelFilter, 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,
|
|
13
|
+
findMany<S extends AppLevelRequirementSelect>(args: FindManyArgs<S, AppLevelRequirementFilter, 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,
|
|
13
|
+
findMany<S extends AppLimitSelect>(args: FindManyArgs<S, AppLimitFilter, 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,
|
|
13
|
+
findMany<S extends AppLimitDefaultSelect>(args: FindManyArgs<S, AppLimitDefaultFilter, 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,
|
|
13
|
+
findMany<S extends AppMembershipSelect>(args: FindManyArgs<S, AppMembershipFilter, 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,
|
|
13
|
+
findMany<S extends AppMembershipDefaultSelect>(args: FindManyArgs<S, AppMembershipDefaultFilter, 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,
|
|
13
|
+
findMany<S extends AppOwnerGrantSelect>(args: FindManyArgs<S, AppOwnerGrantFilter, 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,
|
|
13
|
+
findMany<S extends AppPermissionSelect>(args: FindManyArgs<S, AppPermissionFilter, 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,
|
|
13
|
+
findMany<S extends AppPermissionDefaultSelect>(args: FindManyArgs<S, AppPermissionDefaultFilter, 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,
|
|
13
|
+
findMany<S extends AppStepSelect>(args: FindManyArgs<S, AppStepFilter, AppStepOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, AppStepSelect>): QueryBuilder<{
|
|
16
16
|
appSteps: ConnectionResult<InferSelectResult<AppStepWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { AstMigrationWithRelations, AstMigrationSelect, AstMigrationFilter,
|
|
|
10
10
|
export declare class AstMigrationModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AstMigrationSelect>(args: FindManyArgs<S, AstMigrationFilter,
|
|
13
|
+
findMany<S extends AstMigrationSelect>(args: FindManyArgs<S, AstMigrationFilter, AstMigrationOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, AstMigrationSelect>): QueryBuilder<{
|
|
16
16
|
astMigrations: ConnectionResult<InferSelectResult<AstMigrationWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { AuditLogWithRelations, AuditLogSelect, AuditLogFilter, AuditLogOrd
|
|
|
10
10
|
export declare class AuditLogModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AuditLogSelect>(args: FindManyArgs<S, AuditLogFilter,
|
|
13
|
+
findMany<S extends AuditLogSelect>(args: FindManyArgs<S, AuditLogFilter, AuditLogOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
|
|
16
16
|
auditLogs: ConnectionResult<InferSelectResult<AuditLogWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { BlueprintWithRelations, BlueprintSelect, BlueprintFilter, Blueprin
|
|
|
10
10
|
export declare class BlueprintModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends BlueprintSelect>(args: FindManyArgs<S, BlueprintFilter,
|
|
13
|
+
findMany<S extends BlueprintSelect>(args: FindManyArgs<S, BlueprintFilter, BlueprintOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, BlueprintSelect>): QueryBuilder<{
|
|
16
16
|
blueprints: ConnectionResult<InferSelectResult<BlueprintWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { BlueprintConstructionWithRelations, BlueprintConstructionSelect, B
|
|
|
10
10
|
export declare class BlueprintConstructionModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends BlueprintConstructionSelect>(args: FindManyArgs<S, BlueprintConstructionFilter,
|
|
13
|
+
findMany<S extends BlueprintConstructionSelect>(args: FindManyArgs<S, BlueprintConstructionFilter, BlueprintConstructionOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, BlueprintConstructionSelect>): QueryBuilder<{
|
|
16
16
|
blueprintConstructions: ConnectionResult<InferSelectResult<BlueprintConstructionWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { BlueprintTemplateWithRelations, BlueprintTemplateSelect, Blueprint
|
|
|
10
10
|
export declare class BlueprintTemplateModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends BlueprintTemplateSelect>(args: FindManyArgs<S, BlueprintTemplateFilter,
|
|
13
|
+
findMany<S extends BlueprintTemplateSelect>(args: FindManyArgs<S, BlueprintTemplateFilter, BlueprintTemplateOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, BlueprintTemplateSelect>): QueryBuilder<{
|
|
16
16
|
blueprintTemplates: ConnectionResult<InferSelectResult<BlueprintTemplateWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { CheckConstraintWithRelations, CheckConstraintSelect, CheckConstrai
|
|
|
10
10
|
export declare class CheckConstraintModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends CheckConstraintSelect>(args: FindManyArgs<S, CheckConstraintFilter,
|
|
13
|
+
findMany<S extends CheckConstraintSelect>(args: FindManyArgs<S, CheckConstraintFilter, CheckConstraintOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, CheckConstraintSelect>): QueryBuilder<{
|
|
16
16
|
checkConstraints: ConnectionResult<InferSelectResult<CheckConstraintWithRelations, 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,
|
|
13
|
+
findMany<S extends ClaimedInviteSelect>(args: FindManyArgs<S, ClaimedInviteFilter, ClaimedInviteOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, ClaimedInviteSelect>): QueryBuilder<{
|
|
16
16
|
claimedInvites: ConnectionResult<InferSelectResult<ClaimedInviteWithRelations, S>>;
|
|
@@ -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,
|
|
13
|
+
findMany<S extends CommitSelect>(args: FindManyArgs<S, CommitFilter, CommitOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, CommitSelect>): QueryBuilder<{
|
|
16
16
|
commits: ConnectionResult<InferSelectResult<CommitWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { ConnectedAccountWithRelations, ConnectedAccountSelect, ConnectedAc
|
|
|
10
10
|
export declare class ConnectedAccountModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ConnectedAccountSelect>(args: FindManyArgs<S, ConnectedAccountFilter,
|
|
13
|
+
findMany<S extends ConnectedAccountSelect>(args: FindManyArgs<S, ConnectedAccountFilter, ConnectedAccountOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, ConnectedAccountSelect>): QueryBuilder<{
|
|
16
16
|
connectedAccounts: ConnectionResult<InferSelectResult<ConnectedAccountWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { ConnectedAccountsModuleWithRelations, ConnectedAccountsModuleSelec
|
|
|
10
10
|
export declare class ConnectedAccountsModuleModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ConnectedAccountsModuleSelect>(args: FindManyArgs<S, ConnectedAccountsModuleFilter,
|
|
13
|
+
findMany<S extends ConnectedAccountsModuleSelect>(args: FindManyArgs<S, ConnectedAccountsModuleFilter, ConnectedAccountsModuleOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, ConnectedAccountsModuleSelect>): QueryBuilder<{
|
|
16
16
|
connectedAccountsModules: ConnectionResult<InferSelectResult<ConnectedAccountsModuleWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { CryptoAddressWithRelations, CryptoAddressSelect, CryptoAddressFilt
|
|
|
10
10
|
export declare class CryptoAddressModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends CryptoAddressSelect>(args: FindManyArgs<S, CryptoAddressFilter,
|
|
13
|
+
findMany<S extends CryptoAddressSelect>(args: FindManyArgs<S, CryptoAddressFilter, CryptoAddressOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, CryptoAddressSelect>): QueryBuilder<{
|
|
16
16
|
cryptoAddresses: ConnectionResult<InferSelectResult<CryptoAddressWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { CryptoAddressesModuleWithRelations, CryptoAddressesModuleSelect, C
|
|
|
10
10
|
export declare class CryptoAddressesModuleModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends CryptoAddressesModuleSelect>(args: FindManyArgs<S, CryptoAddressesModuleFilter,
|
|
13
|
+
findMany<S extends CryptoAddressesModuleSelect>(args: FindManyArgs<S, CryptoAddressesModuleFilter, CryptoAddressesModuleOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, CryptoAddressesModuleSelect>): QueryBuilder<{
|
|
16
16
|
cryptoAddressesModules: ConnectionResult<InferSelectResult<CryptoAddressesModuleWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { CryptoAuthModuleWithRelations, CryptoAuthModuleSelect, CryptoAuthM
|
|
|
10
10
|
export declare class CryptoAuthModuleModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends CryptoAuthModuleSelect>(args: FindManyArgs<S, CryptoAuthModuleFilter,
|
|
13
|
+
findMany<S extends CryptoAuthModuleSelect>(args: FindManyArgs<S, CryptoAuthModuleFilter, CryptoAuthModuleOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, CryptoAuthModuleSelect>): QueryBuilder<{
|
|
16
16
|
cryptoAuthModules: ConnectionResult<InferSelectResult<CryptoAuthModuleWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { DatabaseWithRelations, DatabaseSelect, DatabaseFilter, DatabaseOrd
|
|
|
10
10
|
export declare class DatabaseModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends DatabaseSelect>(args: FindManyArgs<S, DatabaseFilter,
|
|
13
|
+
findMany<S extends DatabaseSelect>(args: FindManyArgs<S, DatabaseFilter, DatabaseOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, DatabaseSelect>): QueryBuilder<{
|
|
16
16
|
databases: ConnectionResult<InferSelectResult<DatabaseWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { DatabaseProvisionModuleWithRelations, DatabaseProvisionModuleSelec
|
|
|
10
10
|
export declare class DatabaseProvisionModuleModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends DatabaseProvisionModuleSelect>(args: FindManyArgs<S, DatabaseProvisionModuleFilter,
|
|
13
|
+
findMany<S extends DatabaseProvisionModuleSelect>(args: FindManyArgs<S, DatabaseProvisionModuleFilter, DatabaseProvisionModuleOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, DatabaseProvisionModuleSelect>): QueryBuilder<{
|
|
16
16
|
databaseProvisionModules: ConnectionResult<InferSelectResult<DatabaseProvisionModuleWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { DatabaseTransferWithRelations, DatabaseTransferSelect, DatabaseTra
|
|
|
10
10
|
export declare class DatabaseTransferModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends DatabaseTransferSelect>(args: FindManyArgs<S, DatabaseTransferFilter,
|
|
13
|
+
findMany<S extends DatabaseTransferSelect>(args: FindManyArgs<S, DatabaseTransferFilter, DatabaseTransferOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, DatabaseTransferSelect>): QueryBuilder<{
|
|
16
16
|
databaseTransfers: ConnectionResult<InferSelectResult<DatabaseTransferWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { DefaultIdsModuleWithRelations, DefaultIdsModuleSelect, DefaultIdsM
|
|
|
10
10
|
export declare class DefaultIdsModuleModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends DefaultIdsModuleSelect>(args: FindManyArgs<S, DefaultIdsModuleFilter,
|
|
13
|
+
findMany<S extends DefaultIdsModuleSelect>(args: FindManyArgs<S, DefaultIdsModuleFilter, DefaultIdsModuleOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, DefaultIdsModuleSelect>): QueryBuilder<{
|
|
16
16
|
defaultIdsModules: ConnectionResult<InferSelectResult<DefaultIdsModuleWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { DefaultPrivilegeWithRelations, DefaultPrivilegeSelect, DefaultPriv
|
|
|
10
10
|
export declare class DefaultPrivilegeModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends DefaultPrivilegeSelect>(args: FindManyArgs<S, DefaultPrivilegeFilter,
|
|
13
|
+
findMany<S extends DefaultPrivilegeSelect>(args: FindManyArgs<S, DefaultPrivilegeFilter, DefaultPrivilegeOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, DefaultPrivilegeSelect>): QueryBuilder<{
|
|
16
16
|
defaultPrivileges: ConnectionResult<InferSelectResult<DefaultPrivilegeWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { DenormalizedTableFieldWithRelations, DenormalizedTableFieldSelect,
|
|
|
10
10
|
export declare class DenormalizedTableFieldModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends DenormalizedTableFieldSelect>(args: FindManyArgs<S, DenormalizedTableFieldFilter,
|
|
13
|
+
findMany<S extends DenormalizedTableFieldSelect>(args: FindManyArgs<S, DenormalizedTableFieldFilter, DenormalizedTableFieldOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, DenormalizedTableFieldSelect>): QueryBuilder<{
|
|
16
16
|
denormalizedTableFields: ConnectionResult<InferSelectResult<DenormalizedTableFieldWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { DomainWithRelations, DomainSelect, DomainFilter, DomainOrderBy, Cr
|
|
|
10
10
|
export declare class DomainModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends DomainSelect>(args: FindManyArgs<S, DomainFilter,
|
|
13
|
+
findMany<S extends DomainSelect>(args: FindManyArgs<S, DomainFilter, DomainOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, DomainSelect>): QueryBuilder<{
|
|
16
16
|
domains: ConnectionResult<InferSelectResult<DomainWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { EmailWithRelations, EmailSelect, EmailFilter, EmailOrderBy, Create
|
|
|
10
10
|
export declare class EmailModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends EmailSelect>(args: FindManyArgs<S, EmailFilter,
|
|
13
|
+
findMany<S extends EmailSelect>(args: FindManyArgs<S, EmailFilter, EmailOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, EmailSelect>): QueryBuilder<{
|
|
16
16
|
emails: ConnectionResult<InferSelectResult<EmailWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { EmailsModuleWithRelations, EmailsModuleSelect, EmailsModuleFilter,
|
|
|
10
10
|
export declare class EmailsModuleModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends EmailsModuleSelect>(args: FindManyArgs<S, EmailsModuleFilter,
|
|
13
|
+
findMany<S extends EmailsModuleSelect>(args: FindManyArgs<S, EmailsModuleFilter, EmailsModuleOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, EmailsModuleSelect>): QueryBuilder<{
|
|
16
16
|
emailsModules: ConnectionResult<InferSelectResult<EmailsModuleWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { EmbeddingChunkWithRelations, EmbeddingChunkSelect, EmbeddingChunkF
|
|
|
10
10
|
export declare class EmbeddingChunkModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends EmbeddingChunkSelect>(args: FindManyArgs<S, EmbeddingChunkFilter,
|
|
13
|
+
findMany<S extends EmbeddingChunkSelect>(args: FindManyArgs<S, EmbeddingChunkFilter, EmbeddingChunkOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, EmbeddingChunkSelect>): QueryBuilder<{
|
|
16
16
|
embeddingChunks: ConnectionResult<InferSelectResult<EmbeddingChunkWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { EncryptedSecretsModuleWithRelations, EncryptedSecretsModuleSelect,
|
|
|
10
10
|
export declare class EncryptedSecretsModuleModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends EncryptedSecretsModuleSelect>(args: FindManyArgs<S, EncryptedSecretsModuleFilter,
|
|
13
|
+
findMany<S extends EncryptedSecretsModuleSelect>(args: FindManyArgs<S, EncryptedSecretsModuleFilter, EncryptedSecretsModuleOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, EncryptedSecretsModuleSelect>): QueryBuilder<{
|
|
16
16
|
encryptedSecretsModules: ConnectionResult<InferSelectResult<EncryptedSecretsModuleWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { EnumWithRelations, EnumSelect, EnumFilter, EnumOrderBy, CreateEnum
|
|
|
10
10
|
export declare class EnumModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends EnumSelect>(args: FindManyArgs<S, EnumFilter,
|
|
13
|
+
findMany<S extends EnumSelect>(args: FindManyArgs<S, EnumFilter, EnumOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, EnumSelect>): QueryBuilder<{
|
|
16
16
|
enums: ConnectionResult<InferSelectResult<EnumWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { FieldWithRelations, FieldSelect, FieldFilter, FieldOrderBy, Create
|
|
|
10
10
|
export declare class FieldModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends FieldSelect>(args: FindManyArgs<S, FieldFilter,
|
|
13
|
+
findMany<S extends FieldSelect>(args: FindManyArgs<S, FieldFilter, FieldOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, FieldSelect>): QueryBuilder<{
|
|
16
16
|
fields: ConnectionResult<InferSelectResult<FieldWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { ForeignKeyConstraintWithRelations, ForeignKeyConstraintSelect, For
|
|
|
10
10
|
export declare class ForeignKeyConstraintModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ForeignKeyConstraintSelect>(args: FindManyArgs<S, ForeignKeyConstraintFilter,
|
|
13
|
+
findMany<S extends ForeignKeyConstraintSelect>(args: FindManyArgs<S, ForeignKeyConstraintFilter, ForeignKeyConstraintOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, ForeignKeyConstraintSelect>): QueryBuilder<{
|
|
16
16
|
foreignKeyConstraints: ConnectionResult<InferSelectResult<ForeignKeyConstraintWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { FullTextSearchWithRelations, FullTextSearchSelect, FullTextSearchF
|
|
|
10
10
|
export declare class FullTextSearchModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends FullTextSearchSelect>(args: FindManyArgs<S, FullTextSearchFilter,
|
|
13
|
+
findMany<S extends FullTextSearchSelect>(args: FindManyArgs<S, FullTextSearchFilter, FullTextSearchOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, FullTextSearchSelect>): QueryBuilder<{
|
|
16
16
|
fullTextSearches: ConnectionResult<InferSelectResult<FullTextSearchWithRelations, 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,
|
|
13
|
+
findMany<S extends GetAllRecordSelect>(args: FindManyArgs<S, GetAllRecordFilter, GetAllRecordsOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, GetAllRecordSelect>): QueryBuilder<{
|
|
16
16
|
getAll: ConnectionResult<InferSelectResult<GetAllRecordWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { HierarchyModuleWithRelations, HierarchyModuleSelect, HierarchyModu
|
|
|
10
10
|
export declare class HierarchyModuleModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends HierarchyModuleSelect>(args: FindManyArgs<S, HierarchyModuleFilter,
|
|
13
|
+
findMany<S extends HierarchyModuleSelect>(args: FindManyArgs<S, HierarchyModuleFilter, HierarchyModuleOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, HierarchyModuleSelect>): QueryBuilder<{
|
|
16
16
|
hierarchyModules: ConnectionResult<InferSelectResult<HierarchyModuleWithRelations, S>>;
|
|
@@ -10,7 +10,7 @@ import type { IndexWithRelations, IndexSelect, IndexFilter, IndexOrderBy, Create
|
|
|
10
10
|
export declare class IndexModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends IndexSelect>(args: FindManyArgs<S, IndexFilter,
|
|
13
|
+
findMany<S extends IndexSelect>(args: FindManyArgs<S, IndexFilter, IndexOrderBy> & {
|
|
14
14
|
select: S;
|
|
15
15
|
} & StrictSelect<S, IndexSelect>): QueryBuilder<{
|
|
16
16
|
indices: ConnectionResult<InferSelectResult<IndexWithRelations, S>>;
|