All files / app/src/entities/files/lib constants.ts

100% Statements 8/8
100% Branches 0/0
100% Functions 0/0
100% Lines 8/8

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 151x     1x   1x   1x   1x   1x 1x 1x  
import { BASE_URL } from '@/shared/config'
import { Nullable } from '@tmk/ui-kit'
 
export const FILES_TARGET = BASE_URL + '/files'
 
export const GET_FILES_COLLECTION_PRIMARY_KEY = [FILES_TARGET, 'get-files']
 
export const FILES_SINGLE_TARGET = '/files/:id'
 
export const GET_FILE_PRIMARY_KEY = [FILES_SINGLE_TARGET, 'get-file']
 
export const FILES_INITIAL_FILTERS = {
  id: null as Nullable<string[]>,
}