EZQMS-602: Moved Rank type to core (utilities stay in its own package) (#5019)

This commit is contained in:
Pete Anøther
2024-03-20 09:39:30 +07:00
committed by GitHub
parent 23a3c8e94f
commit b2d3256df0
19 changed files with 49 additions and 170 deletions
@@ -13,7 +13,7 @@
// limitations under the License.
-->
<script lang="ts">
import core, { AttachedData, FindOptions, Ref, SortingOrder } from '@hcengineering/core'
import core, { AttachedData, FindOptions, type Rank, Ref, SortingOrder } from '@hcengineering/core'
import { ObjectPopup, getClient } from '@hcengineering/presentation'
import { makeRank } from '@hcengineering/task'
import { Issue, IssueDraft } from '@hcengineering/tracker'
@@ -42,7 +42,7 @@
parentIssue?._id !== docValue.attachedTo &&
parentIssue?._id !== docValue._id
) {
let rank: string | null = null
let rank: Rank | null = null
if (parentIssue) {
const lastAttachedIssue = await client.findOne<Issue>(