@factorialco/f0-react 1.281.0 → 1.282.0

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.
@@ -1337,13 +1337,7 @@ export declare const ChartWidgetEmptyState: ForwardRefExoticComponent<Props_5 &
1337
1337
 
1338
1338
  export declare type ChatWidgetEmptyStateProps = Props_5;
1339
1339
 
1340
- declare type ChildrenResponse<R extends RecordType> = BaseResponse<R> | R[] | {
1341
- records: R[] & {
1342
- type?: ChildrenResponseType;
1343
- };
1344
- };
1345
-
1346
- declare type ChildrenResponseType = "basic" | "detailed";
1340
+ declare type ChildrenResponse<R extends RecordType> = BaseResponse<R> | R[] | NestedResponseWithType<R>;
1347
1341
 
1348
1342
  export declare function ClockInControls({ trackedMinutes, remainingMinutes, data, labels, locationId, locations, canShowLocation, locationSelectorDisabled, onClockIn, onClockOut, onBreak, breakTypes, onChangeBreakTypeId, canShowBreakButton, canSeeGraph, canSeeRemainingTime, onChangeLocationId, canShowProject, projectSelectorElement, breakTypeName, }: ClockInControlsProps): JSX_2.Element;
1349
1343
 
@@ -3896,6 +3890,13 @@ declare type NestedKeyOf<T> = {
3896
3890
  } ? `${K}` | `${K}-${NestedKeyOf<T[K]>}` : `${K}-${NestedKeyOf<T[K]>}` : K extends "DEFAULT" ? never : `${K}`;
3897
3891
  }[keyof T & string];
3898
3892
 
3893
+ declare type NestedResponseWithType<R extends RecordType> = {
3894
+ records: R[];
3895
+ type?: NestedVariant;
3896
+ };
3897
+
3898
+ declare type NestedVariant = "basic" | "detailed";
3899
+
3899
3900
  declare type NewColor = Extract<BaseColor, "viridian" | "malibu" | "yellow" | "purple" | "lilac" | "barbie" | "smoke" | "army" | "flubber" | "indigo" | "camel">;
3900
3901
 
3901
3902
  declare type NextDepth<T> = T extends 1 ? 2 : T extends 2 ? 3 : T extends 3 ? 4 : never;
@@ -6182,11 +6183,6 @@ declare module "@tiptap/core" {
6182
6183
  }
6183
6184
 
6184
6185
 
6185
- declare namespace Calendar {
6186
- var displayName: string;
6187
- }
6188
-
6189
-
6190
6186
  declare module "@tiptap/core" {
6191
6187
  interface Commands<ReturnType> {
6192
6188
  moodTracker: {
@@ -6194,3 +6190,8 @@ declare module "@tiptap/core" {
6194
6190
  };
6195
6191
  }
6196
6192
  }
6193
+
6194
+
6195
+ declare namespace Calendar {
6196
+ var displayName: string;
6197
+ }