@omniumretail/shared-resources 0.4.5 → 0.4.6
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import {
|
|
2
|
+
import { VacationPlanByDayResponse } from '../../../../interfaces';
|
|
3
3
|
|
|
4
|
-
interface VacationPlanProps extends
|
|
4
|
+
interface VacationPlanProps extends UseQueryOptions<VacationPlanByDayResponse> {
|
|
5
5
|
page?: number;
|
|
6
6
|
records?: number;
|
|
7
7
|
sortBy?: string;
|
|
@@ -10,5 +10,5 @@ interface VacationPlanProps extends Omit<UseQueryOptions<ResponseList<"VacationP
|
|
|
10
10
|
query?: string;
|
|
11
11
|
queryTemplate?: string;
|
|
12
12
|
}
|
|
13
|
-
export declare const getVacationPlanByDayQueryHook: ({ page, records, sortBy, sortDirection, terms, query, queryTemplate, ...options }: VacationPlanProps) => import('@tanstack/react-query').UseQueryResult<
|
|
13
|
+
export declare const getVacationPlanByDayQueryHook: ({ page, records, sortBy, sortDirection, terms, query, queryTemplate, ...options }: VacationPlanProps) => import('@tanstack/react-query').UseQueryResult<VacationPlanByDayResponse, unknown>;
|
|
14
14
|
export {};
|
|
@@ -10,6 +10,10 @@ export interface VacationPlan {
|
|
|
10
10
|
UpdateDate: boolean;
|
|
11
11
|
VacationPlan: any;
|
|
12
12
|
}
|
|
13
|
+
export interface VacationPlanByDayResponse {
|
|
14
|
+
VacationPlanByDay: VacationPlanByDay[];
|
|
15
|
+
VacationPlanByDayTemplate: VacationDay[];
|
|
16
|
+
}
|
|
13
17
|
export interface VacationPlanByDay {
|
|
14
18
|
VacationPlanId: string;
|
|
15
19
|
UserName: string;
|