@burdenoff/microfe-timecampus 2026.1025.2 → 2026.1028.2
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/global-types.d.ts +363 -2
- package/dist/generated/global-types.d.ts.map +1 -1
- package/dist/generated/wspace-operations.d.ts +108 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -1
- package/dist/generated/wspace-operations.js +479 -425
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +3261 -122
- 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 +283 -168
- package/dist/timecampus/pages/focus/FocusProtectionPage.js.map +1 -1
- package/dist/timecampus/pages/focus/focusHelpers.d.ts +28 -0
- package/dist/timecampus/pages/focus/focusHelpers.d.ts.map +1 -1
- package/dist/timecampus/pages/focus/focusHelpers.js +68 -1
- package/dist/timecampus/pages/focus/focusHelpers.js.map +1 -1
- package/dist/timecampus/pages/focus/useDesktopFocusStatus.d.ts +14 -0
- package/dist/timecampus/pages/focus/useDesktopFocusStatus.d.ts.map +1 -0
- package/dist/timecampus/pages/focus/useDesktopFocusStatus.js +26 -0
- package/dist/timecampus/pages/focus/useDesktopFocusStatus.js.map +1 -0
- 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/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';
|
|
@@ -134,6 +137,10 @@ export type FocusPreferencesFieldsFragment = {
|
|
|
134
137
|
meetingBufferMinutes: number;
|
|
135
138
|
blockingEnabled: boolean;
|
|
136
139
|
blockedDomains: Array<string>;
|
|
140
|
+
blockedApps: Array<string>;
|
|
141
|
+
doNotDisturb: boolean;
|
|
142
|
+
calendarHoldEnabled: boolean;
|
|
143
|
+
startNudgeMinutes: number;
|
|
137
144
|
customised: boolean;
|
|
138
145
|
};
|
|
139
146
|
export type FocusScoreFieldsFragment = {
|
|
@@ -589,6 +596,21 @@ export type TimelineSegmentFieldsFragment = {
|
|
|
589
596
|
endTime?: string | null;
|
|
590
597
|
durationSeconds: number;
|
|
591
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;
|
|
592
614
|
};
|
|
593
615
|
export type TimelineSummaryFieldsFragment = {
|
|
594
616
|
__typename?: 'TimeCampusTimelineSummary';
|
|
@@ -1397,6 +1419,9 @@ export type RespondToFocusBlockSuggestionMutation = {
|
|
|
1397
1419
|
reasons: Array<Types.TimeCampusFocusBlockReason>;
|
|
1398
1420
|
snoozedUntil?: string | null;
|
|
1399
1421
|
focusSessionId?: string | null;
|
|
1422
|
+
calendarHoldStatus?: Types.TimeCampusFocusCalendarHoldStatus | null;
|
|
1423
|
+
calendarId?: string | null;
|
|
1424
|
+
nudgedAt?: string | null;
|
|
1400
1425
|
};
|
|
1401
1426
|
};
|
|
1402
1427
|
export type CancelFocusBlockMutationVariables = Types.Exact<{
|
|
@@ -1416,6 +1441,9 @@ export type CancelFocusBlockMutation = {
|
|
|
1416
1441
|
reasons: Array<Types.TimeCampusFocusBlockReason>;
|
|
1417
1442
|
snoozedUntil?: string | null;
|
|
1418
1443
|
focusSessionId?: string | null;
|
|
1444
|
+
calendarHoldStatus?: Types.TimeCampusFocusCalendarHoldStatus | null;
|
|
1445
|
+
calendarId?: string | null;
|
|
1446
|
+
nudgedAt?: string | null;
|
|
1419
1447
|
};
|
|
1420
1448
|
};
|
|
1421
1449
|
export type UpdateFocusPreferencesMutationVariables = Types.Exact<{
|
|
@@ -1433,6 +1461,10 @@ export type UpdateFocusPreferencesMutation = {
|
|
|
1433
1461
|
meetingBufferMinutes: number;
|
|
1434
1462
|
blockingEnabled: boolean;
|
|
1435
1463
|
blockedDomains: Array<string>;
|
|
1464
|
+
blockedApps: Array<string>;
|
|
1465
|
+
doNotDisturb: boolean;
|
|
1466
|
+
calendarHoldEnabled: boolean;
|
|
1467
|
+
startNudgeMinutes: number;
|
|
1436
1468
|
customised: boolean;
|
|
1437
1469
|
};
|
|
1438
1470
|
};
|
|
@@ -3771,6 +3803,9 @@ export type ListFocusBlocksQuery = {
|
|
|
3771
3803
|
reasons: Array<Types.TimeCampusFocusBlockReason>;
|
|
3772
3804
|
snoozedUntil?: string | null;
|
|
3773
3805
|
focusSessionId?: string | null;
|
|
3806
|
+
calendarHoldStatus?: Types.TimeCampusFocusCalendarHoldStatus | null;
|
|
3807
|
+
calendarId?: string | null;
|
|
3808
|
+
nudgedAt?: string | null;
|
|
3774
3809
|
}>;
|
|
3775
3810
|
};
|
|
3776
3811
|
export type GetFocusPreferencesQueryVariables = Types.Exact<{
|
|
@@ -3788,6 +3823,10 @@ export type GetFocusPreferencesQuery = {
|
|
|
3788
3823
|
meetingBufferMinutes: number;
|
|
3789
3824
|
blockingEnabled: boolean;
|
|
3790
3825
|
blockedDomains: Array<string>;
|
|
3826
|
+
blockedApps: Array<string>;
|
|
3827
|
+
doNotDisturb: boolean;
|
|
3828
|
+
calendarHoldEnabled: boolean;
|
|
3829
|
+
startNudgeMinutes: number;
|
|
3791
3830
|
customised: boolean;
|
|
3792
3831
|
};
|
|
3793
3832
|
};
|
|
@@ -3808,6 +3847,21 @@ export type GetFocusProtectionSummaryQuery = {
|
|
|
3808
3847
|
averageProtectionRatio: number;
|
|
3809
3848
|
};
|
|
3810
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
|
+
};
|
|
3811
3865
|
export type ListFocusScoresQueryVariables = Types.Exact<{
|
|
3812
3866
|
userId?: Types.InputMaybe<Types.Scalars['ID']['input']>;
|
|
3813
3867
|
startDate?: Types.InputMaybe<Types.Scalars['DateTime']['input']>;
|
|
@@ -4156,6 +4210,21 @@ export type LifeTimelineQuery = {
|
|
|
4156
4210
|
endTime?: string | null;
|
|
4157
4211
|
durationSeconds: number;
|
|
4158
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;
|
|
4159
4228
|
}>;
|
|
4160
4229
|
summary: {
|
|
4161
4230
|
__typename?: 'TimeCampusLifeSummary';
|
|
@@ -5332,6 +5401,21 @@ export type GetTimeCampusTimelineQuery = {
|
|
|
5332
5401
|
endTime?: string | null;
|
|
5333
5402
|
durationSeconds: number;
|
|
5334
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;
|
|
5335
5419
|
}>;
|
|
5336
5420
|
summary: {
|
|
5337
5421
|
__typename?: 'TimeCampusTimelineSummary';
|
|
@@ -9317,6 +9401,30 @@ export type GetFocusProtectionSummaryQueryHookResult = ReturnType<typeof useGetF
|
|
|
9317
9401
|
export type GetFocusProtectionSummaryLazyQueryHookResult = ReturnType<typeof useGetFocusProtectionSummaryLazyQuery>;
|
|
9318
9402
|
export type GetFocusProtectionSummarySuspenseQueryHookResult = ReturnType<typeof useGetFocusProtectionSummarySuspenseQuery>;
|
|
9319
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>;
|
|
9320
9428
|
export declare const ListFocusScoresDocument: Apollo.DocumentNode;
|
|
9321
9429
|
/**
|
|
9322
9430
|
* __useListFocusScoresQuery__
|