@kl1/contracts 1.3.17 → 1.3.19

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.
@@ -26879,32 +26879,32 @@ export declare const apiContract: {
26879
26879
  presenceStatusDurations: import("zod").ZodArray<import("zod").ZodObject<{
26880
26880
  formattedDate: import("zod").ZodString;
26881
26881
  date: import("zod").ZodDate;
26882
- durations: import("zod").ZodArray<import("zod").ZodObject<{
26882
+ presenceStatusDurationLogs: import("zod").ZodArray<import("zod").ZodObject<{
26883
+ presenceStatusId: import("zod").ZodString;
26883
26884
  presenceStatusName: import("zod").ZodString;
26884
26885
  durationSeconds: import("zod").ZodNumber;
26885
- formattedDuration: import("zod").ZodString;
26886
26886
  }, "strip", import("zod").ZodTypeAny, {
26887
- formattedDuration: string;
26887
+ presenceStatusId: string;
26888
26888
  presenceStatusName: string;
26889
26889
  durationSeconds: number;
26890
26890
  }, {
26891
- formattedDuration: string;
26891
+ presenceStatusId: string;
26892
26892
  presenceStatusName: string;
26893
26893
  durationSeconds: number;
26894
26894
  }>, "many">;
26895
26895
  }, "strip", import("zod").ZodTypeAny, {
26896
26896
  date: Date;
26897
26897
  formattedDate: string;
26898
- durations: {
26899
- formattedDuration: string;
26898
+ presenceStatusDurationLogs: {
26899
+ presenceStatusId: string;
26900
26900
  presenceStatusName: string;
26901
26901
  durationSeconds: number;
26902
26902
  }[];
26903
26903
  }, {
26904
26904
  date: Date;
26905
26905
  formattedDate: string;
26906
- durations: {
26907
- formattedDuration: string;
26906
+ presenceStatusDurationLogs: {
26907
+ presenceStatusId: string;
26908
26908
  presenceStatusName: string;
26909
26909
  durationSeconds: number;
26910
26910
  }[];
@@ -26914,8 +26914,8 @@ export declare const apiContract: {
26914
26914
  presenceStatusDurations: {
26915
26915
  date: Date;
26916
26916
  formattedDate: string;
26917
- durations: {
26918
- formattedDuration: string;
26917
+ presenceStatusDurationLogs: {
26918
+ presenceStatusId: string;
26919
26919
  presenceStatusName: string;
26920
26920
  durationSeconds: number;
26921
26921
  }[];
@@ -26925,8 +26925,8 @@ export declare const apiContract: {
26925
26925
  presenceStatusDurations: {
26926
26926
  date: Date;
26927
26927
  formattedDate: string;
26928
- durations: {
26929
- formattedDuration: string;
26928
+ presenceStatusDurationLogs: {
26929
+ presenceStatusId: string;
26930
26930
  presenceStatusName: string;
26931
26931
  durationSeconds: number;
26932
26932
  }[];
@@ -2708,32 +2708,32 @@ export declare const dashboardContract: {
2708
2708
  presenceStatusDurations: z.ZodArray<z.ZodObject<{
2709
2709
  formattedDate: z.ZodString;
2710
2710
  date: z.ZodDate;
2711
- durations: z.ZodArray<z.ZodObject<{
2711
+ presenceStatusDurationLogs: z.ZodArray<z.ZodObject<{
2712
+ presenceStatusId: z.ZodString;
2712
2713
  presenceStatusName: z.ZodString;
2713
2714
  durationSeconds: z.ZodNumber;
2714
- formattedDuration: z.ZodString;
2715
2715
  }, "strip", z.ZodTypeAny, {
2716
- formattedDuration: string;
2716
+ presenceStatusId: string;
2717
2717
  presenceStatusName: string;
2718
2718
  durationSeconds: number;
2719
2719
  }, {
2720
- formattedDuration: string;
2720
+ presenceStatusId: string;
2721
2721
  presenceStatusName: string;
2722
2722
  durationSeconds: number;
2723
2723
  }>, "many">;
2724
2724
  }, "strip", z.ZodTypeAny, {
2725
2725
  date: Date;
2726
2726
  formattedDate: string;
2727
- durations: {
2728
- formattedDuration: string;
2727
+ presenceStatusDurationLogs: {
2728
+ presenceStatusId: string;
2729
2729
  presenceStatusName: string;
2730
2730
  durationSeconds: number;
2731
2731
  }[];
2732
2732
  }, {
2733
2733
  date: Date;
2734
2734
  formattedDate: string;
2735
- durations: {
2736
- formattedDuration: string;
2735
+ presenceStatusDurationLogs: {
2736
+ presenceStatusId: string;
2737
2737
  presenceStatusName: string;
2738
2738
  durationSeconds: number;
2739
2739
  }[];
@@ -2743,8 +2743,8 @@ export declare const dashboardContract: {
2743
2743
  presenceStatusDurations: {
2744
2744
  date: Date;
2745
2745
  formattedDate: string;
2746
- durations: {
2747
- formattedDuration: string;
2746
+ presenceStatusDurationLogs: {
2747
+ presenceStatusId: string;
2748
2748
  presenceStatusName: string;
2749
2749
  durationSeconds: number;
2750
2750
  }[];
@@ -2754,8 +2754,8 @@ export declare const dashboardContract: {
2754
2754
  presenceStatusDurations: {
2755
2755
  date: Date;
2756
2756
  formattedDate: string;
2757
- durations: {
2758
- formattedDuration: string;
2757
+ presenceStatusDurationLogs: {
2758
+ presenceStatusId: string;
2759
2759
  presenceStatusName: string;
2760
2760
  durationSeconds: number;
2761
2761
  }[];
package/dist/index.js CHANGED
@@ -4983,11 +4983,11 @@ var dashboardContract = (0, import_core13.initContract)().router(
4983
4983
  import_zod55.default.object({
4984
4984
  formattedDate: import_zod55.default.string(),
4985
4985
  date: import_zod55.default.date(),
4986
- durations: import_zod55.default.array(
4986
+ presenceStatusDurationLogs: import_zod55.default.array(
4987
4987
  import_zod55.default.object({
4988
+ presenceStatusId: import_zod55.default.string().uuid(),
4988
4989
  presenceStatusName: import_zod55.default.string(),
4989
- durationSeconds: import_zod55.default.number().positive(),
4990
- formattedDuration: import_zod55.default.string()
4990
+ durationSeconds: import_zod55.default.number().positive()
4991
4991
  })
4992
4992
  )
4993
4993
  })