@burdenoff/microfe-timecampus 2026.1028.1 → 2026.1030.1
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/generated/wspace-operations.d.ts +102 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -1
- package/dist/generated/wspace-operations.js +477 -425
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +67 -3
- package/dist/generated/wspace-types.d.ts.map +1 -1
- package/dist/generated/wspace-types.js.map +1 -1
- package/dist/index.js +7 -7
- package/dist/timecampus/index.js +7 -7
- package/dist/timecampus/pages/focus/FocusProtectionPage.d.ts.map +1 -1
- package/dist/timecampus/pages/focus/FocusProtectionPage.js +341 -280
- package/dist/timecampus/pages/focus/FocusProtectionPage.js.map +1 -1
- package/dist/timecampus/pages/focus/focusHelpers.d.ts +19 -0
- package/dist/timecampus/pages/focus/focusHelpers.d.ts.map +1 -1
- package/dist/timecampus/pages/focus/focusHelpers.js +61 -1
- package/dist/timecampus/pages/focus/focusHelpers.js.map +1 -1
- package/dist/timecampus/pages/timeline/TimelinePage.d.ts.map +1 -1
- package/dist/timecampus/pages/timeline/TimelinePage.js +245 -120
- package/dist/timecampus/pages/timeline/TimelinePage.js.map +1 -1
- package/dist/timecampus/pages/timeline/timelineFocus.d.ts +33 -0
- package/dist/timecampus/pages/timeline/timelineFocus.d.ts.map +1 -0
- package/dist/timecampus/pages/timeline/timelineFocus.js +26 -0
- package/dist/timecampus/pages/timeline/timelineFocus.js.map +1 -0
- package/dist/utils/pageContext.d.ts.map +1 -1
- package/dist/utils/pageContext.js +12 -6
- package/dist/utils/pageContext.js.map +1 -1
- package/package.json +1 -1
|
@@ -123,6 +123,9 @@ export type FocusBlockFieldsFragment = {
|
|
|
123
123
|
reasons: Array<Types.TimeCampusFocusBlockReason>;
|
|
124
124
|
snoozedUntil?: string | null;
|
|
125
125
|
focusSessionId?: string | null;
|
|
126
|
+
calendarHoldStatus?: Types.TimeCampusFocusCalendarHoldStatus | null;
|
|
127
|
+
calendarId?: string | null;
|
|
128
|
+
nudgedAt?: string | null;
|
|
126
129
|
};
|
|
127
130
|
export type FocusPreferencesFieldsFragment = {
|
|
128
131
|
__typename?: 'TimeCampusFocusPreferences';
|
|
@@ -136,6 +139,8 @@ export type FocusPreferencesFieldsFragment = {
|
|
|
136
139
|
blockedDomains: Array<string>;
|
|
137
140
|
blockedApps: Array<string>;
|
|
138
141
|
doNotDisturb: boolean;
|
|
142
|
+
calendarHoldEnabled: boolean;
|
|
143
|
+
startNudgeMinutes: number;
|
|
139
144
|
customised: boolean;
|
|
140
145
|
};
|
|
141
146
|
export type FocusScoreFieldsFragment = {
|
|
@@ -591,6 +596,21 @@ export type TimelineSegmentFieldsFragment = {
|
|
|
591
596
|
endTime?: string | null;
|
|
592
597
|
durationSeconds: number;
|
|
593
598
|
isRecategorizable: boolean;
|
|
599
|
+
isPlanned: boolean;
|
|
600
|
+
focus?: {
|
|
601
|
+
__typename?: 'TimeCampusTimelineFocusDetail';
|
|
602
|
+
status: string;
|
|
603
|
+
protectionLevel?: Types.TimeCampusFocusProtectionLevel | null;
|
|
604
|
+
focusSessionId?: string | null;
|
|
605
|
+
focusBlockId?: string | null;
|
|
606
|
+
plannedStartTime?: string | null;
|
|
607
|
+
plannedEndTime?: string | null;
|
|
608
|
+
protectedSeconds: number;
|
|
609
|
+
interruptedSeconds: number;
|
|
610
|
+
interruptionCount: number;
|
|
611
|
+
blockedAttemptCount: number;
|
|
612
|
+
calendarHoldStatus?: Types.TimeCampusFocusCalendarHoldStatus | null;
|
|
613
|
+
} | null;
|
|
594
614
|
};
|
|
595
615
|
export type TimelineSummaryFieldsFragment = {
|
|
596
616
|
__typename?: 'TimeCampusTimelineSummary';
|
|
@@ -1399,6 +1419,9 @@ export type RespondToFocusBlockSuggestionMutation = {
|
|
|
1399
1419
|
reasons: Array<Types.TimeCampusFocusBlockReason>;
|
|
1400
1420
|
snoozedUntil?: string | null;
|
|
1401
1421
|
focusSessionId?: string | null;
|
|
1422
|
+
calendarHoldStatus?: Types.TimeCampusFocusCalendarHoldStatus | null;
|
|
1423
|
+
calendarId?: string | null;
|
|
1424
|
+
nudgedAt?: string | null;
|
|
1402
1425
|
};
|
|
1403
1426
|
};
|
|
1404
1427
|
export type CancelFocusBlockMutationVariables = Types.Exact<{
|
|
@@ -1418,6 +1441,9 @@ export type CancelFocusBlockMutation = {
|
|
|
1418
1441
|
reasons: Array<Types.TimeCampusFocusBlockReason>;
|
|
1419
1442
|
snoozedUntil?: string | null;
|
|
1420
1443
|
focusSessionId?: string | null;
|
|
1444
|
+
calendarHoldStatus?: Types.TimeCampusFocusCalendarHoldStatus | null;
|
|
1445
|
+
calendarId?: string | null;
|
|
1446
|
+
nudgedAt?: string | null;
|
|
1421
1447
|
};
|
|
1422
1448
|
};
|
|
1423
1449
|
export type UpdateFocusPreferencesMutationVariables = Types.Exact<{
|
|
@@ -1437,6 +1463,8 @@ export type UpdateFocusPreferencesMutation = {
|
|
|
1437
1463
|
blockedDomains: Array<string>;
|
|
1438
1464
|
blockedApps: Array<string>;
|
|
1439
1465
|
doNotDisturb: boolean;
|
|
1466
|
+
calendarHoldEnabled: boolean;
|
|
1467
|
+
startNudgeMinutes: number;
|
|
1440
1468
|
customised: boolean;
|
|
1441
1469
|
};
|
|
1442
1470
|
};
|
|
@@ -3775,6 +3803,9 @@ export type ListFocusBlocksQuery = {
|
|
|
3775
3803
|
reasons: Array<Types.TimeCampusFocusBlockReason>;
|
|
3776
3804
|
snoozedUntil?: string | null;
|
|
3777
3805
|
focusSessionId?: string | null;
|
|
3806
|
+
calendarHoldStatus?: Types.TimeCampusFocusCalendarHoldStatus | null;
|
|
3807
|
+
calendarId?: string | null;
|
|
3808
|
+
nudgedAt?: string | null;
|
|
3778
3809
|
}>;
|
|
3779
3810
|
};
|
|
3780
3811
|
export type GetFocusPreferencesQueryVariables = Types.Exact<{
|
|
@@ -3794,6 +3825,8 @@ export type GetFocusPreferencesQuery = {
|
|
|
3794
3825
|
blockedDomains: Array<string>;
|
|
3795
3826
|
blockedApps: Array<string>;
|
|
3796
3827
|
doNotDisturb: boolean;
|
|
3828
|
+
calendarHoldEnabled: boolean;
|
|
3829
|
+
startNudgeMinutes: number;
|
|
3797
3830
|
customised: boolean;
|
|
3798
3831
|
};
|
|
3799
3832
|
};
|
|
@@ -3814,6 +3847,21 @@ export type GetFocusProtectionSummaryQuery = {
|
|
|
3814
3847
|
averageProtectionRatio: number;
|
|
3815
3848
|
};
|
|
3816
3849
|
};
|
|
3850
|
+
export type GetFocusCalendarConnectionQueryVariables = Types.Exact<{
|
|
3851
|
+
[key: string]: never;
|
|
3852
|
+
}>;
|
|
3853
|
+
export type GetFocusCalendarConnectionQuery = {
|
|
3854
|
+
__typename?: 'Query';
|
|
3855
|
+
timeCampusFocusCalendarConnection: {
|
|
3856
|
+
__typename?: 'TimeCampusFocusCalendarConnection';
|
|
3857
|
+
reachable: boolean;
|
|
3858
|
+
connected: boolean;
|
|
3859
|
+
calendarId?: string | null;
|
|
3860
|
+
calendarName?: string | null;
|
|
3861
|
+
provider?: string | null;
|
|
3862
|
+
holdsEnabled: boolean;
|
|
3863
|
+
};
|
|
3864
|
+
};
|
|
3817
3865
|
export type ListFocusScoresQueryVariables = Types.Exact<{
|
|
3818
3866
|
userId?: Types.InputMaybe<Types.Scalars['ID']['input']>;
|
|
3819
3867
|
startDate?: Types.InputMaybe<Types.Scalars['DateTime']['input']>;
|
|
@@ -4162,6 +4210,21 @@ export type LifeTimelineQuery = {
|
|
|
4162
4210
|
endTime?: string | null;
|
|
4163
4211
|
durationSeconds: number;
|
|
4164
4212
|
isRecategorizable: boolean;
|
|
4213
|
+
isPlanned: boolean;
|
|
4214
|
+
focus?: {
|
|
4215
|
+
__typename?: 'TimeCampusTimelineFocusDetail';
|
|
4216
|
+
status: string;
|
|
4217
|
+
protectionLevel?: Types.TimeCampusFocusProtectionLevel | null;
|
|
4218
|
+
focusSessionId?: string | null;
|
|
4219
|
+
focusBlockId?: string | null;
|
|
4220
|
+
plannedStartTime?: string | null;
|
|
4221
|
+
plannedEndTime?: string | null;
|
|
4222
|
+
protectedSeconds: number;
|
|
4223
|
+
interruptedSeconds: number;
|
|
4224
|
+
interruptionCount: number;
|
|
4225
|
+
blockedAttemptCount: number;
|
|
4226
|
+
calendarHoldStatus?: Types.TimeCampusFocusCalendarHoldStatus | null;
|
|
4227
|
+
} | null;
|
|
4165
4228
|
}>;
|
|
4166
4229
|
summary: {
|
|
4167
4230
|
__typename?: 'TimeCampusLifeSummary';
|
|
@@ -5338,6 +5401,21 @@ export type GetTimeCampusTimelineQuery = {
|
|
|
5338
5401
|
endTime?: string | null;
|
|
5339
5402
|
durationSeconds: number;
|
|
5340
5403
|
isRecategorizable: boolean;
|
|
5404
|
+
isPlanned: boolean;
|
|
5405
|
+
focus?: {
|
|
5406
|
+
__typename?: 'TimeCampusTimelineFocusDetail';
|
|
5407
|
+
status: string;
|
|
5408
|
+
protectionLevel?: Types.TimeCampusFocusProtectionLevel | null;
|
|
5409
|
+
focusSessionId?: string | null;
|
|
5410
|
+
focusBlockId?: string | null;
|
|
5411
|
+
plannedStartTime?: string | null;
|
|
5412
|
+
plannedEndTime?: string | null;
|
|
5413
|
+
protectedSeconds: number;
|
|
5414
|
+
interruptedSeconds: number;
|
|
5415
|
+
interruptionCount: number;
|
|
5416
|
+
blockedAttemptCount: number;
|
|
5417
|
+
calendarHoldStatus?: Types.TimeCampusFocusCalendarHoldStatus | null;
|
|
5418
|
+
} | null;
|
|
5341
5419
|
}>;
|
|
5342
5420
|
summary: {
|
|
5343
5421
|
__typename?: 'TimeCampusTimelineSummary';
|
|
@@ -9323,6 +9401,30 @@ export type GetFocusProtectionSummaryQueryHookResult = ReturnType<typeof useGetF
|
|
|
9323
9401
|
export type GetFocusProtectionSummaryLazyQueryHookResult = ReturnType<typeof useGetFocusProtectionSummaryLazyQuery>;
|
|
9324
9402
|
export type GetFocusProtectionSummarySuspenseQueryHookResult = ReturnType<typeof useGetFocusProtectionSummarySuspenseQuery>;
|
|
9325
9403
|
export type GetFocusProtectionSummaryQueryResult = Apollo.QueryResult<Types.GetFocusProtectionSummaryQuery, Types.GetFocusProtectionSummaryQueryVariables>;
|
|
9404
|
+
export declare const GetFocusCalendarConnectionDocument: Apollo.DocumentNode;
|
|
9405
|
+
/**
|
|
9406
|
+
* __useGetFocusCalendarConnectionQuery__
|
|
9407
|
+
*
|
|
9408
|
+
* To run a query within a React component, call `useGetFocusCalendarConnectionQuery` and pass it any options that fit your needs.
|
|
9409
|
+
* When your component renders, `useGetFocusCalendarConnectionQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9410
|
+
* you can use to render your UI.
|
|
9411
|
+
*
|
|
9412
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
9413
|
+
*
|
|
9414
|
+
* @example
|
|
9415
|
+
* const { data, loading, error } = useGetFocusCalendarConnectionQuery({
|
|
9416
|
+
* variables: {
|
|
9417
|
+
* },
|
|
9418
|
+
* });
|
|
9419
|
+
*/
|
|
9420
|
+
export declare function useGetFocusCalendarConnectionQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetFocusCalendarConnectionQuery, Types.GetFocusCalendarConnectionQueryVariables>): ApolloReactHooks.useQuery.ResultForOptions<Types.GetFocusCalendarConnectionQuery, Types.GetFocusCalendarConnectionQueryVariables, ApolloReactHooks.useQuery.Base.Options<TData, import('@apollo/client/utilities/internal').NoInfer<TVariables>>>;
|
|
9421
|
+
export declare function useGetFocusCalendarConnectionLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetFocusCalendarConnectionQuery, Types.GetFocusCalendarConnectionQueryVariables>): ApolloReactHooks.useLazyQuery.ResultForOptions<Types.GetFocusCalendarConnectionQuery, Types.GetFocusCalendarConnectionQueryVariables, ApolloReactHooks.useLazyQuery.Options<import('@apollo/client/utilities/internal').NoInfer<TData>, import('@apollo/client/utilities/internal').NoInfer<TVariables>>>;
|
|
9422
|
+
export declare function useGetFocusCalendarConnectionSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetFocusCalendarConnectionQuery, Types.GetFocusCalendarConnectionQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetFocusCalendarConnectionQuery, Types.GetFocusCalendarConnectionQueryVariables>;
|
|
9423
|
+
export declare function useGetFocusCalendarConnectionSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetFocusCalendarConnectionQuery, Types.GetFocusCalendarConnectionQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetFocusCalendarConnectionQuery | undefined, Types.GetFocusCalendarConnectionQueryVariables>;
|
|
9424
|
+
export type GetFocusCalendarConnectionQueryHookResult = ReturnType<typeof useGetFocusCalendarConnectionQuery>;
|
|
9425
|
+
export type GetFocusCalendarConnectionLazyQueryHookResult = ReturnType<typeof useGetFocusCalendarConnectionLazyQuery>;
|
|
9426
|
+
export type GetFocusCalendarConnectionSuspenseQueryHookResult = ReturnType<typeof useGetFocusCalendarConnectionSuspenseQuery>;
|
|
9427
|
+
export type GetFocusCalendarConnectionQueryResult = Apollo.QueryResult<Types.GetFocusCalendarConnectionQuery, Types.GetFocusCalendarConnectionQueryVariables>;
|
|
9326
9428
|
export declare const ListFocusScoresDocument: Apollo.DocumentNode;
|
|
9327
9429
|
/**
|
|
9328
9430
|
* __useListFocusScoresQuery__
|