Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
volar committed Nov 16, 2023
1 parent 517be98 commit 0aae0e8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/dam/uploadQueue/uploadQueuesStore.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineStore } from 'pinia'
import { ref } from 'vue'
import type { IntegerId } from '@/types/common'
import type { DocId, IntegerId } from '@/types/common'
import { damFileTypeFix } from '@/components/file/composables/fileType'
import {
type UploadQueue,
Expand All @@ -14,6 +14,7 @@ import { getAssetTypeByMimeType } from '@/components/dam/uploadQueue/mimeTypeHel
import { useDamConfigState } from '@/components/dam/uploadQueue/damConfigState'
import { useUpload } from '@/components/dam/uploadQueue/uploadService'
import { DamAssetType } from '@/types/coreDam/Asset'
import type { AssetFileFailReason } from '@/types/coreDam/AssetFile'

const QUEUE_MAX_PARALLEL_UPLOADS = 2
const QUEUE_CHUNK_SIZE = 10485760
Expand Down Expand Up @@ -130,9 +131,9 @@ export const useUploadQueuesStore = defineStore('commonUploadQueuesStore', () =>
item.progress.speed = speed
}

function queueItemProcessed () {}
function queueItemDuplicate () {}
function queueItemFailed () {}
function queueItemProcessed (assetId: DocId) {}
function queueItemDuplicate (assetId: DocId) {}
function queueItemFailed (assetId: DocId, failReason: AssetFileFailReason) {}

return {
getQueue,
Expand Down

0 comments on commit 0aae0e8

Please sign in to comment.