@burdenoff/microfe-timecampus 2026.1028.1 → 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/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/package.json +1 -1
|
@@ -49968,7 +49968,7 @@ export type Mutation = {
|
|
|
49968
49968
|
/** Cancel a scheduled comment */
|
|
49969
49969
|
cancelScheduledComment: Scalars['Boolean']['output'];
|
|
49970
49970
|
cancelSecurityScan: SecurityScanRun;
|
|
49971
|
-
/** Withdraw one of the caller's own ACCEPTED focus blocks. */
|
|
49971
|
+
/** Withdraw one of the caller's own ACCEPTED focus blocks and delete its calendar hold. */
|
|
49972
49972
|
cancelTimeCampusFocusBlock: TimeCampusFocusBlock;
|
|
49973
49973
|
/**
|
|
49974
49974
|
* Cancel a workflow generation that is still PROCESSING. The generation is
|
|
@@ -53638,7 +53638,7 @@ export type Mutation = {
|
|
|
53638
53638
|
respondGgnomadReview: GgnomadReview;
|
|
53639
53639
|
respondHousingvistaOffer: HousingVistaOffer;
|
|
53640
53640
|
respondToEvent: EventAttendee;
|
|
53641
|
-
/** Accept, snooze or dismiss a suggested focus block (or schedule a manual one with ACCEPT). */
|
|
53641
|
+
/** Accept, snooze or dismiss a suggested focus block (or schedule a manual one with ACCEPT). An accepted block is held on the connected calendar. */
|
|
53642
53642
|
respondToTimeCampusFocusBlockSuggestion: TimeCampusFocusBlock;
|
|
53643
53643
|
/**
|
|
53644
53644
|
* Answer an in-app ask and continue the run. Only the users the ask names (any
|
|
@@ -86121,6 +86121,8 @@ export type Query = {
|
|
|
86121
86121
|
timeCampusFocusBlockingState: TimeCampusFocusBlockingState;
|
|
86122
86122
|
/** The caller's focus blocks overlapping [from, to). Defaults to scheduled blocks (ACCEPTED + STARTED); pass a status to list another kind. */
|
|
86123
86123
|
timeCampusFocusBlocks: Array<TimeCampusFocusBlock>;
|
|
86124
|
+
/** The caller's connected calendar, where accepted blocks are held. Self-scoped, no identity arg. */
|
|
86125
|
+
timeCampusFocusCalendarConnection: TimeCampusFocusCalendarConnection;
|
|
86124
86126
|
/** The caller's focus preferences (defaults when nothing is saved). Self-scoped, no identity arg. */
|
|
86125
86127
|
timeCampusFocusPreferences: TimeCampusFocusPreferences;
|
|
86126
86128
|
/** Self-scoped: NOT_FOUND (never FORBIDDEN) if the id isn't the caller's own session. */
|
|
@@ -86142,7 +86144,7 @@ export type Query = {
|
|
|
86142
86144
|
timeCampusProject?: Maybe<TimeCampusProject>;
|
|
86143
86145
|
timeCampusProjectStats: ProjectStats;
|
|
86144
86146
|
timeCampusProjects: TimeCampusProjectListResponse;
|
|
86145
|
-
/** The self-assembling timeline: capture events, time entries, meetings, pomodoro sessions
|
|
86147
|
+
/** The self-assembling timeline: capture events, time entries, meetings, pomodoro sessions, email activity and (on your own timeline) focus sessions and planned focus blocks merged into one chronological, categorized view with an honest summary (focus ratio, context switches). Planned blocks are shown but never counted in the summary. */
|
|
86146
86148
|
timeCampusTimeline: TimeCampusTimeline;
|
|
86147
86149
|
timeCampusWorkspaceQuotaOverview: TimeCampusWorkspaceQuotaOverview;
|
|
86148
86150
|
timeEntries: TimeEntryListResponse;
|
|
@@ -109160,11 +109162,17 @@ export type TimeCampusFiniteLifeView = {
|
|
|
109160
109162
|
/** A focus block the caller responded to: scheduled (ACCEPTED/STARTED), or a SNOOZED/DISMISSED slot the planner now plans around. */
|
|
109161
109163
|
export type TimeCampusFocusBlock = {
|
|
109162
109164
|
__typename?: 'TimeCampusFocusBlock';
|
|
109165
|
+
calendarEventId?: Maybe<Scalars['ID']['output']>;
|
|
109166
|
+
/** The busy hold on the connected calendar; null for snoozed/dismissed blocks and blocks accepted before calendar holds existed. */
|
|
109167
|
+
calendarHoldStatus?: Maybe<TimeCampusFocusCalendarHoldStatus>;
|
|
109168
|
+
calendarId?: Maybe<Scalars['ID']['output']>;
|
|
109163
109169
|
createdAt: Scalars['DateTime']['output'];
|
|
109164
109170
|
durationMinutes: Scalars['Int']['output'];
|
|
109165
109171
|
endTime: Scalars['DateTime']['output'];
|
|
109166
109172
|
focusSessionId?: Maybe<Scalars['ID']['output']>;
|
|
109167
109173
|
id: Scalars['ID']['output'];
|
|
109174
|
+
/** When the "starts soon" notification was sent, if it was. */
|
|
109175
|
+
nudgedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
109168
109176
|
reasons: Array<TimeCampusFocusBlockReason>;
|
|
109169
109177
|
score?: Maybe<Scalars['Float']['output']>;
|
|
109170
109178
|
snoozedUntil?: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -109238,6 +109246,31 @@ export type TimeCampusFocusBlockingState = {
|
|
|
109238
109246
|
protectionLevel?: Maybe<TimeCampusFocusProtectionLevel>;
|
|
109239
109247
|
startedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
109240
109248
|
};
|
|
109249
|
+
/** The caller's connected calendar: their own personal calendar in the platform calendar module (preferring one an active external sync pushes to). */
|
|
109250
|
+
export type TimeCampusFocusCalendarConnection = {
|
|
109251
|
+
__typename?: 'TimeCampusFocusCalendarConnection';
|
|
109252
|
+
calendarId?: Maybe<Scalars['ID']['output']>;
|
|
109253
|
+
calendarName?: Maybe<Scalars['String']['output']>;
|
|
109254
|
+
connected: Scalars['Boolean']['output'];
|
|
109255
|
+
holdsEnabled: Scalars['Boolean']['output'];
|
|
109256
|
+
/** External provider the calendar syncs to (e.g. GOOGLE_CALENDAR), or null. */
|
|
109257
|
+
provider?: Maybe<Scalars['String']['output']>;
|
|
109258
|
+
/** False when the calendar module could not be reached just now. */
|
|
109259
|
+
reachable: Scalars['Boolean']['output'];
|
|
109260
|
+
};
|
|
109261
|
+
/** Where an accepted block's busy hold on the connected calendar stands. */
|
|
109262
|
+
export declare enum TimeCampusFocusCalendarHoldStatus {
|
|
109263
|
+
/** The caller turned calendar holds off in their focus preferences. */
|
|
109264
|
+
Disabled = "DISABLED",
|
|
109265
|
+
/** The calendar could not be reached or refused the event. */
|
|
109266
|
+
Failed = "FAILED",
|
|
109267
|
+
/** The hold is on the connected calendar. */
|
|
109268
|
+
Held = "HELD",
|
|
109269
|
+
/** The caller has no personal calendar to hold the block on. */
|
|
109270
|
+
NotConnected = "NOT_CONNECTED",
|
|
109271
|
+
/** The hold was deleted when the block was canceled. */
|
|
109272
|
+
Removed = "REMOVED"
|
|
109273
|
+
}
|
|
109241
109274
|
export type TimeCampusFocusInterruption = {
|
|
109242
109275
|
__typename?: 'TimeCampusFocusInterruption';
|
|
109243
109276
|
app?: Maybe<Scalars['String']['output']>;
|
|
@@ -109266,6 +109299,8 @@ export type TimeCampusFocusPreferences = {
|
|
|
109266
109299
|
blockedDomains: Array<Scalars['String']['output']>;
|
|
109267
109300
|
/** Whether the browser extension blocks sites during focus sessions. */
|
|
109268
109301
|
blockingEnabled: Scalars['Boolean']['output'];
|
|
109302
|
+
/** Whether accepted blocks are held as busy "Focus" events on the connected calendar. */
|
|
109303
|
+
calendarHoldEnabled: Scalars['Boolean']['output'];
|
|
109269
109304
|
/** False while the defaults are in effect (nothing saved yet). */
|
|
109270
109305
|
customised: Scalars['Boolean']['output'];
|
|
109271
109306
|
/** Whether the desktop app turns on the OS do-not-disturb mode during focus sessions. */
|
|
@@ -109275,6 +109310,8 @@ export type TimeCampusFocusPreferences = {
|
|
|
109275
109310
|
meetingBufferMinutes: Scalars['Int']['output'];
|
|
109276
109311
|
minBlockMinutes: Scalars['Int']['output'];
|
|
109277
109312
|
preferredBlockMinutes: Scalars['Int']['output'];
|
|
109313
|
+
/** Minutes before an accepted block starts to send the "starts soon" notification (0 = off). */
|
|
109314
|
+
startNudgeMinutes: Scalars['Int']['output'];
|
|
109278
109315
|
/** Workday end, minutes after local midnight (default 1080 = 18:00). */
|
|
109279
109316
|
workdayEndMinute: Scalars['Int']['output'];
|
|
109280
109317
|
/** Workday start, minutes after local midnight (default 540 = 09:00). */
|
|
@@ -109286,11 +109323,14 @@ export type TimeCampusFocusPreferencesInput = {
|
|
|
109286
109323
|
/** Replaces the whole list. Entries are normalised to bare hostnames ("https://www.youtube.com/feed" becomes "youtube.com"). */
|
|
109287
109324
|
blockedDomains?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
109288
109325
|
blockingEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
109326
|
+
calendarHoldEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
109289
109327
|
doNotDisturb?: InputMaybe<Scalars['Boolean']['input']>;
|
|
109290
109328
|
maxBlocksPerDay?: InputMaybe<Scalars['Int']['input']>;
|
|
109291
109329
|
meetingBufferMinutes?: InputMaybe<Scalars['Int']['input']>;
|
|
109292
109330
|
minBlockMinutes?: InputMaybe<Scalars['Int']['input']>;
|
|
109293
109331
|
preferredBlockMinutes?: InputMaybe<Scalars['Int']['input']>;
|
|
109332
|
+
/** 0..60; 0 turns the start notification off. */
|
|
109333
|
+
startNudgeMinutes?: InputMaybe<Scalars['Int']['input']>;
|
|
109294
109334
|
workdayEndMinute?: InputMaybe<Scalars['Int']['input']>;
|
|
109295
109335
|
workdayStartMinute?: InputMaybe<Scalars['Int']['input']>;
|
|
109296
109336
|
};
|
|
@@ -109749,6 +109789,22 @@ export type TimeCampusTimelineCategoryTotal = {
|
|
|
109749
109789
|
segmentCount: Scalars['Int']['output'];
|
|
109750
109790
|
totalSeconds: Scalars['Int']['output'];
|
|
109751
109791
|
};
|
|
109792
|
+
export type TimeCampusTimelineFocusDetail = {
|
|
109793
|
+
__typename?: 'TimeCampusTimelineFocusDetail';
|
|
109794
|
+
blockedAttemptCount: Scalars['Int']['output'];
|
|
109795
|
+
calendarHoldStatus?: Maybe<TimeCampusFocusCalendarHoldStatus>;
|
|
109796
|
+
focusBlockId?: Maybe<Scalars['ID']['output']>;
|
|
109797
|
+
focusSessionId?: Maybe<Scalars['ID']['output']>;
|
|
109798
|
+
interruptedSeconds: Scalars['Int']['output'];
|
|
109799
|
+
interruptionCount: Scalars['Int']['output'];
|
|
109800
|
+
plannedEndTime?: Maybe<Scalars['DateTime']['output']>;
|
|
109801
|
+
/** The accepted block's window (or the session's planned duration from its start). */
|
|
109802
|
+
plannedStartTime?: Maybe<Scalars['DateTime']['output']>;
|
|
109803
|
+
protectedSeconds: Scalars['Int']['output'];
|
|
109804
|
+
protectionLevel?: Maybe<TimeCampusFocusProtectionLevel>;
|
|
109805
|
+
/** Session status (ACTIVE, COMPLETED, ABANDONED) or, for a planned block, ACCEPTED. */
|
|
109806
|
+
status: Scalars['String']['output'];
|
|
109807
|
+
};
|
|
109752
109808
|
export type TimeCampusTimelineSegment = {
|
|
109753
109809
|
__typename?: 'TimeCampusTimelineSegment';
|
|
109754
109810
|
app?: Maybe<Scalars['String']['output']>;
|
|
@@ -109757,7 +109813,11 @@ export type TimeCampusTimelineSegment = {
|
|
|
109757
109813
|
channelId?: Maybe<Scalars['ID']['output']>;
|
|
109758
109814
|
durationSeconds: Scalars['Int']['output'];
|
|
109759
109815
|
endTime?: Maybe<Scalars['DateTime']['output']>;
|
|
109816
|
+
/** Planned vs actual and protected vs interrupted time, on FOCUS_SESSION and FOCUS_BLOCK segments only (null for every other source). Focus segments appear only on the caller's own timeline. */
|
|
109817
|
+
focus?: Maybe<TimeCampusTimelineFocusDetail>;
|
|
109760
109818
|
id: Scalars['ID']['output'];
|
|
109819
|
+
/** True for a planned FOCUS_BLOCK: shown on the timeline, not counted as tracked time. */
|
|
109820
|
+
isPlanned: Scalars['Boolean']['output'];
|
|
109761
109821
|
isRecategorizable: Scalars['Boolean']['output'];
|
|
109762
109822
|
lifeDomain: TimeCampusLifeDomain;
|
|
109763
109823
|
ownershipContext: TimeCampusOwnershipContext;
|
|
@@ -109771,6 +109831,10 @@ export type TimeCampusTimelineSegment = {
|
|
|
109771
109831
|
export declare enum TimeCampusTimelineSource {
|
|
109772
109832
|
Capture = "CAPTURE",
|
|
109773
109833
|
Email = "EMAIL",
|
|
109834
|
+
/** An accepted focus block that has not been started yet (planned time; never counted in the summary). */
|
|
109835
|
+
FocusBlock = "FOCUS_BLOCK",
|
|
109836
|
+
/** A focus session (what actually happened), with protected vs interrupted time. */
|
|
109837
|
+
FocusSession = "FOCUS_SESSION",
|
|
109774
109838
|
Meeting = "MEETING",
|
|
109775
109839
|
Pomodoro = "POMODORO",
|
|
109776
109840
|
TimeEntry = "TIME_ENTRY"
|