andoncloud-dashboard-toolkit 1.5.13 → 1.5.14
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.
- package/dist/helpers/periods.d.ts +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Shift } from '../graphql-request';
|
|
2
|
+
import type { PeriodDefinition } from '../components/DashboardFilters/types';
|
|
3
|
+
export declare const periods: PeriodDefinition[];
|
|
4
|
+
export declare const findPeriodById: (id: string) => PeriodDefinition | undefined;
|
|
5
|
+
export declare const getTimeRangeLabel: (shifts: Shift[], selectedShiftIds: string[]) => string | null;
|
|
6
|
+
export declare const getShiftTimeRange: (shift: Shift) => string;
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './graphql-request';
|
|
|
3
3
|
export * from './graphql-ws';
|
|
4
4
|
export * from './helpers/sdk';
|
|
5
5
|
export * from './helpers/shifts';
|
|
6
|
+
export * from './helpers/periods';
|
|
6
7
|
export * from './helpers/time';
|
|
7
8
|
export * from './types';
|
|
8
9
|
export { default as GraphqlWsClient } from './utils/graphql-ws-client';
|