fix(timesheet): ajusted imports to type
This commit is contained in:
parent
04b5778dd4
commit
8f3a4c13d1
|
|
@ -1,8 +1,8 @@
|
|||
<script setup lang="ts">
|
||||
/* eslint-disable */
|
||||
import { computed } from 'vue';
|
||||
import { CreateShiftPayload } from '../../types/timesheet-shifts-payload-interface';
|
||||
import { Shift } from '../../types/timesheet-shift-interface';
|
||||
import type { CreateShiftPayload } from '../../types/timesheet-shifts-payload-interface';
|
||||
import type { Shift } from '../../types/timesheet-shift-interface';
|
||||
|
||||
|
||||
const props = defineProps<{
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ import { useI18n } from 'vue-i18n';
|
|||
import { useTimesheetStore } from 'src/stores/timesheet-store';
|
||||
import TimesheetShiftComment from '../shift/timesheet-shift-comment.vue';
|
||||
import TimesheetSavePayload from './timesheet-save-payload.vue';
|
||||
import { Shift } from '../../types/timesheet-shift-interface';
|
||||
import { CreateShiftPayload } from '../../types/timesheet-shifts-payload-interface';
|
||||
import type { Shift } from '../../types/timesheet-shift-interface';
|
||||
import type { CreateShiftPayload } from '../../types/timesheet-shifts-payload-interface';
|
||||
|
||||
const timesheet_store = useTimesheetStore();
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { useAuthStore } from "src/stores/auth-store";
|
|||
import { useTimesheetStore } from "src/stores/timesheet-store"
|
||||
import { ref } from "vue";
|
||||
import { timesheetTempService } from "../services/timesheet-services";
|
||||
import { CreateShiftPayload } from "../types/timesheet-shifts-payload-interface";
|
||||
import type { CreateShiftPayload } from "../types/timesheet-shifts-payload-interface";
|
||||
|
||||
|
||||
export const useTimesheetApi = () => {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import { useI18n } from 'vue-i18n';
|
|||
import TimesheetShiftForm from '../components/timesheet/timesheet-shift-form.vue';
|
||||
import TimesheetNavigation from '../components/timesheet/timesheet-navigation.vue';
|
||||
import { date as qdate } from 'quasar';
|
||||
import { CreateShiftPayload } from '../types/timesheet-shifts-payload-interface';
|
||||
import type { CreateShiftPayload } from '../types/timesheet-shifts-payload-interface';
|
||||
|
||||
const { locale } = useI18n();
|
||||
const timesheet_store = useTimesheetStore();
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { api } from "src/boot/axios";
|
||||
import type {Timesheet} from "src/modules/timesheets/types/timesheet-interface";
|
||||
import type { CreateShiftPayload, CreateWeekShiftPayload } from "../types/timesheet-shift-interface";
|
||||
import type { CreateShiftPayload, CreateWeekShiftPayload } from "../types/timesheet-shifts-payload-interface";
|
||||
|
||||
export const timesheetTempService = {
|
||||
//GET
|
||||
|
|
|
|||
|
|
@ -2,12 +2,12 @@ import { defineStore } from 'pinia';
|
|||
import { ref } from 'vue';
|
||||
import { timesheetApprovalService } from 'src/modules/timesheet-approval/services/services-timesheet-approval';
|
||||
import { timesheetTempService } from 'src/modules/timesheets/services/timesheet-services';
|
||||
import { default_pay_period_employee_details, type PayPeriodEmployeeDetails } from 'src/modules/timesheet-approval/types/timesheet-approval-pay-period-employee-details-interface';
|
||||
import type { PayPeriod } from 'src/modules/shared/types/pay-period-interface';
|
||||
import type { PayPeriodOverviewEmployee } from "src/modules/timesheet-approval/types/timesheet-approval-pay-period-overview-employee-interface";
|
||||
import { default_pay_period_employee_details, type PayPeriodEmployeeDetails } from 'src/modules/timesheet-approval/types/timesheet-approval-pay-period-employee-details-interface';
|
||||
import type { PayPeriodReportFilters } from 'src/modules/timesheet-approval/types/timesheet-approval-pay-period-report-interface';
|
||||
import type { Timesheet } from 'src/modules/timesheets/types/timesheet-interface';
|
||||
import type { CreateShiftPayload } from 'src/modules/timesheets/types/timesheet-shift-interface';
|
||||
import type{ CreateShiftPayload } from 'src/modules/timesheets/types/timesheet-shifts-payload-interface';
|
||||
|
||||
const default_pay_period: PayPeriod = {
|
||||
pay_period_no: -1,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user