@burdenoff/microfe-timecampus 2026.1030.2 → 2026.1030.4

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.
Files changed (36) hide show
  1. package/dist/generated/wspace-operations.d.ts +305 -0
  2. package/dist/generated/wspace-operations.d.ts.map +1 -1
  3. package/dist/generated/wspace-operations.js +1236 -1112
  4. package/dist/generated/wspace-operations.js.map +1 -1
  5. package/dist/generated/wspace-types.d.ts +433 -65
  6. package/dist/generated/wspace-types.d.ts.map +1 -1
  7. package/dist/generated/wspace-types.js +15 -8
  8. package/dist/generated/wspace-types.js.map +1 -1
  9. package/dist/index.js +7 -7
  10. package/dist/timecampus/TimeCampusRoot.d.ts.map +1 -1
  11. package/dist/timecampus/TimeCampusRoot.js +86 -78
  12. package/dist/timecampus/TimeCampusRoot.js.map +1 -1
  13. package/dist/timecampus/TimeCampusRoutes.d.ts.map +1 -1
  14. package/dist/timecampus/TimeCampusRoutes.js +15 -11
  15. package/dist/timecampus/TimeCampusRoutes.js.map +1 -1
  16. package/dist/timecampus/index.js +7 -7
  17. package/dist/timecampus/pages/channels/ChannelsPage.d.ts +2 -0
  18. package/dist/timecampus/pages/channels/ChannelsPage.d.ts.map +1 -0
  19. package/dist/timecampus/pages/channels/ChannelsPage.js +673 -0
  20. package/dist/timecampus/pages/channels/ChannelsPage.js.map +1 -0
  21. package/dist/timecampus/pages/channels/channelCatalog.d.ts +49 -0
  22. package/dist/timecampus/pages/channels/channelCatalog.d.ts.map +1 -0
  23. package/dist/timecampus/pages/channels/channelCatalog.js +125 -0
  24. package/dist/timecampus/pages/channels/channelCatalog.js.map +1 -0
  25. package/dist/timecampus/pages/timeline/TimelinePage.d.ts.map +1 -1
  26. package/dist/timecampus/pages/timeline/TimelinePage.js +173 -151
  27. package/dist/timecampus/pages/timeline/TimelinePage.js.map +1 -1
  28. package/dist/timecampus/pages/timeline/timelineProvenance.d.ts +27 -0
  29. package/dist/timecampus/pages/timeline/timelineProvenance.d.ts.map +1 -0
  30. package/dist/timecampus/pages/timeline/timelineProvenance.js +46 -0
  31. package/dist/timecampus/pages/timeline/timelineProvenance.js.map +1 -0
  32. package/dist/types/external-enums.d.ts +17 -0
  33. package/dist/types/external-enums.d.ts.map +1 -0
  34. package/dist/types/external-enums.js +4 -0
  35. package/dist/types/external-enums.js.map +1 -0
  36. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
+ import { BigConsoleWidgetType } from '../types/external-enums';
1
2
  export type Maybe<T> = T | null;
2
3
  export type InputMaybe<T> = Maybe<T>;
3
4
  export type Exact<T extends {
@@ -7657,69 +7658,7 @@ export type BigConsoleWidgetTranslationInput = {
7657
7658
  /** Translated widget title */
7658
7659
  title: Scalars['String']['input'];
7659
7660
  };
7660
- /** BigConsole widget type enumeration. This enum is owned by the bigconsole subgraph alone (BOFF-3550). It used to be co-defined with wspace-analytics-svc as the generic `WidgetType`, which forced Federation to keep both value sets identical and hid every bigconsole-only value behind `@inaccessible`. Forking it under the BigConsole prefix makes every native value addressable through the gateway and lets bigconsole add widget types without coordinating with analytics. Dynamically registered store/custom widget types are not enum members; they are carried by `BigConsoleWidget.widgetTypeKey`. */
7661
- export declare enum BigConsoleWidgetType {
7662
- /** Microsoft Adaptive Cards renderer (bigconsole-native) */
7663
- AdaptiveCard = "ADAPTIVE_CARD",
7664
- /** Area chart visualization */
7665
- AreaChart = "AREA_CHART",
7666
- /** Bar chart visualization */
7667
- BarChart = "BAR_CHART",
7668
- BoxPlot = "BOX_PLOT",
7669
- /** Multi-type chart wrapper (bigconsole-native) */
7670
- Chart = "CHART",
7671
- /** Custom widget (bigconsole-native) */
7672
- Custom = "CUSTOM",
7673
- /** Funnel visualization */
7674
- Funnel = "FUNNEL",
7675
- /** Gauge indicator (bigconsole-native) */
7676
- Gauge = "GAUGE",
7677
- /** Heatmap visualization */
7678
- Heatmap = "HEATMAP",
7679
- /** KPI card */
7680
- Kpi = "KPI",
7681
- /** Line chart visualization */
7682
- LineChart = "LINE_CHART",
7683
- /** Scrollable list (bigconsole-native) */
7684
- List = "LIST",
7685
- Map = "MAP",
7686
- /** Metric card with trend (bigconsole-native) */
7687
- MetricCard = "METRIC_CARD",
7688
- /** Pie chart visualization */
7689
- PieChart = "PIE_CHART",
7690
- /** Progress bar (bigconsole-native) */
7691
- Progress = "PROGRESS",
7692
- /** Retention analysis */
7693
- Retention = "RETENTION",
7694
- Sankey = "SANKEY",
7695
- /** Data table */
7696
- Table = "TABLE",
7697
- Waterfall = "WATERFALL",
7698
- /** Calendar view for events/schedules */
7699
- Calendar = "calendar",
7700
- /** Multi-type chart wrapper (v2.0 internal) */
7701
- ChartV2 = "chart_v2",
7702
- /** Form widget for data input */
7703
- Form = "form",
7704
- /** Funnel/pipeline visualization (v2.0 internal) */
7705
- FunnelChart = "funnel_chart",
7706
- /** Embedded external content */
7707
- Iframe = "iframe",
7708
- /** Kanban board for task management */
7709
- Kanban = "kanban",
7710
- /** KPI Card with comparison metrics (v2.0 internal) */
7711
- KpiCardComparison = "kpi_card_comparison",
7712
- /** Geographic map visualization */
7713
- LowercaseMap = "map",
7714
- /** Single metric display with trend (v2.0 internal) */
7715
- MetricCardV2 = "metric_card_v2",
7716
- /** Pivot table for data analysis */
7717
- PivotTable = "pivot_table",
7718
- /** Rich text or markdown content */
7719
- Text = "text",
7720
- /** Timeline/Gantt visualization */
7721
- Timeline = "timeline"
7722
- }
7661
+ export { BigConsoleWidgetType };
7723
7662
  /** Metadata about a widget type for the widget palette */
7724
7663
  export type BigConsoleWidgetTypeInfo = {
7725
7664
  __typename?: 'BigConsoleWidgetTypeInfo';
@@ -53308,6 +53247,8 @@ export type Mutation = {
53308
53247
  applyHeadshotmarketingAdBudgetRecommendation: HeadshotmarketingAdBudgetRecommendation;
53309
53248
  applyHealthyBowlCertificationStandard: CertificationDetail;
53310
53249
  applyHealthyBowlCompostBatch: CompostBatch;
53250
+ /** Apply a workspace template: create its projects and tasks and install its applets. */
53251
+ applyTimeCampusWorkspaceTemplate: TimeCampusTemplateApplication;
53311
53252
  /** Apply a template's metrics to an entity, creating its scorecard if needed. Existing metrics with the same name are left untouched. */
53312
53253
  applyVibecontrolsScorecardTemplate?: Maybe<VibecontrolsScorecard>;
53313
53254
  /**
@@ -56047,6 +55988,8 @@ export type Mutation = {
56047
55988
  installProviderPlugin: IntegrationProvider;
56048
55989
  /** Install a plugin on an agent sourced from the Burdenoff store. Bridges store-svc ↔ vibecontrols-agent: the backend validates the caller's entitlement via store-svc, reads the product manifest for the npm package name + version, then calls the agent's /api/plugins/install endpoint. Records an AppInstallation in store-svc on success. */
56049
55990
  installStorePluginOnAgent: AgentPluginActionResult;
55991
+ /** Install an applet for the whole workspace. Idempotent. */
55992
+ installTimeCampusApplet: TimeCampusApplet;
56050
55993
  /** Install (enable) a registered widget type for a workspace, so it appears in that workspace's builder palette. */
56051
55994
  installWidgetType: BigConsoleWidgetTypeRegistration;
56052
55995
  /** Install an app in one or more workspaces Pass single workspaceId in array for single workspace installation */
@@ -57580,6 +57523,8 @@ export type Mutation = {
57580
57523
  /** Reset settings for a category back to defaults. For user-scoped categories, deletes the user's overrides. For workspace-scoped categories, deletes the workspace overrides. */
57581
57524
  resetSettings: Scalars['Boolean']['output'];
57582
57525
  resetTimeCampusDemoData: TimeCampusAdminMutationResult;
57526
+ /** Self-scoped: drop the caller's saved layout and return to the default. */
57527
+ resetTimeCampusMyWidgetLayout: TimeCampusWidgetLayout;
57583
57528
  /** Wipe the agent's local state via POST /api/agent/reset on the agent. Deletes config.json, the encrypted Skalex DB, logs, and the plugins manifest, then transitions the agent back to 'awaiting-config' WITHOUT exiting the process — HTTP server + tunnel stay alive so the platform can re-onboard via addVibecontrolsAgentFromTunnel. Returns the new agent API key generated during reset; the platform must rotate its stored credentials to the returned value before re-onboarding, otherwise subsequent calls will get 401. */
57584
57529
  resetVibecontrolsAgent: ResetAgentResult;
57585
57530
  /** Reset webhook failure count */
@@ -58292,6 +58237,7 @@ export type Mutation = {
58292
58237
  tecAddPortfolioItem: TecPortfolioItem;
58293
58238
  /** Approve a pending mentor profile (PENDING -> ACTIVE). */
58294
58239
  tecApproveMentor: TecMentor;
58240
+ /** DESTRUCTIVE: archives the course, removing it from the learner catalog. An agent or UI must get explicit user confirmation before calling this. */
58295
58241
  tecArchiveCourse: Scalars['Boolean']['output'];
58296
58242
  /** Archive (soft-delete) a plan the calling learner owns. */
58297
58243
  tecArchiveStudyPlan: Scalars['Boolean']['output'];
@@ -58299,9 +58245,12 @@ export type Mutation = {
58299
58245
  tecBecomeMentor: TecMentor;
58300
58246
  /** Book a 1:1 session with a mentor as the calling mentee. */
58301
58247
  tecBookSession: TecMentorSession;
58248
+ /** DESTRUCTIVE: cancels a booked mentoring session for both the mentor and the mentee; a cancelled session cannot be reinstated. An agent or UI must get explicit user confirmation before calling this. */
58302
58249
  tecCancelSession: TecMentorSession;
58303
- /** Complete a hackathon after judging (JUDGING -> COMPLETED). */
58250
+ /** DESTRUCTIVE: completes a hackathon after judging (JUDGING -> COMPLETED), locking judging and final results. An agent or UI must get explicit user confirmation before calling this. */
58304
58251
  tecCompleteHackathon: TecHackathon;
58252
+ /** Mark one lesson complete for the calling learner (BOFF-4107) and recompute their enrollment progress from completed lessons. Self-scoped (Type B): the enrollment is looked up by the authenticated actor, and a learner who is not enrolled gets NOT_FOUND. QUIZ lessons and INTERACTIVE lessons with an expected output cannot be completed manually; they are completed by tecSubmitLessonQuiz / tecRunLessonCode. Idempotent. */
58253
+ tecCompleteLesson: TecEnrollment;
58305
58254
  tecCompleteSession: TecMentorSession;
58306
58255
  tecConfirmSession: TecMentorSession;
58307
58256
  tecCreateCourse: TecCourse;
@@ -58310,6 +58259,7 @@ export type Mutation = {
58310
58259
  tecCreateProblem: TecProblem;
58311
58260
  /** Add a test-case fixture to a problem. Authoring permission on the problem. */
58312
58261
  tecCreateProblemTestCase: TecProblemTestCase;
58262
+ /** DESTRUCTIVE: deletes a test-case fixture from a problem, changing how every future submission is graded. An agent or UI must get explicit user confirmation before calling this. */
58313
58263
  tecDeleteProblemTestCase: Scalars['Boolean']['output'];
58314
58264
  tecEnroll: TecEnrollment;
58315
58265
  /** Generate a new, deterministic study plan for the calling learner (see the module honesty note above -- this is rule-based, not AI-personalized). */
@@ -58335,13 +58285,20 @@ export type Mutation = {
58335
58285
  tecRemovePortfolioItem: Scalars['Boolean']['output'];
58336
58286
  /** Reorder the calling learner's portfolio items. */
58337
58287
  tecReorderPortfolioItems: TecPortfolio;
58288
+ /** Explain one of the calling learner's own graded submissions: what failed, why, which concepts to revisit and which problems to practise next. Self-scoped (Type B): the submission is read with the authenticated actor as owner in the same query, so another learner's submission is NOT_FOUND. Returns the stored review when one exists for the current verdict; otherwise writes a new one (rate limited per learner). PENDING submissions are rejected with BAD_USER_INPUT. */
58289
+ tecReviewSubmission: TecSubmissionReview;
58290
+ /** DESTRUCTIVE: rescinds a learner's issued certificate, their proof of completed work. An agent or UI must get explicit user confirmation before calling this. */
58338
58291
  tecRevokeCertificate: TecCertificate;
58339
- /** Record a judge score for a team and optionally mark it WINNER. */
58292
+ /** Run the calling learner's code for an INTERACTIVE lesson in the isolated code sandbox (BOFF-4107). Never executes in this service. When the lesson has an expected output and stdout matches it, the lesson is completed for the learner. Rate limited per actor. */
58293
+ tecRunLessonCode: TecLessonCodeRun;
58294
+ /** DESTRUCTIVE: records a judge score for a team and optionally marks it WINNER, overwriting any previous score. An agent or UI must get explicit user confirmation before calling this. */
58340
58295
  tecScoreTeam: TecHackathonTeam;
58341
58296
  /** Move a hackathon into its running window (REGISTRATION_OPEN -> IN_PROGRESS). */
58342
58297
  tecStartHackathon: TecHackathon;
58343
58298
  /** Move a hackathon into judging (IN_PROGRESS -> JUDGING). */
58344
58299
  tecStartJudging: TecHackathon;
58300
+ /** Grade a QUIZ lesson attempt server-side (BOFF-4107). A passing attempt completes the lesson for the calling learner when they are enrolled. */
58301
+ tecSubmitLessonQuiz: TecQuizResult;
58345
58302
  /** Submit a team's project for judging (sets status SUBMITTED). */
58346
58303
  tecSubmitProject: TecHackathonTeam;
58347
58304
  /** Submit a solution to a problem; the grader runs it against the problem's test cases and the returned row already carries the verdict. If the problem has no test cases yet, the language isn't supported by the grader, or the sandbox call fails, the submission is returned PENDING and can be retried with tecRegradeSubmission. */
@@ -58491,6 +58448,8 @@ export type Mutation = {
58491
58448
  uninstallParserType: Scalars['Boolean']['output'];
58492
58449
  uninstallProviderPlugin: Scalars['Boolean']['output'];
58493
58450
  uninstallRemoteAgent: Scalars['Boolean']['output'];
58451
+ /** Uninstall an applet from the workspace. Idempotent; its widgets leave every layout. */
58452
+ uninstallTimeCampusApplet: TimeCampusApplet;
58494
58453
  /** Uninstall (disable) a widget type for a workspace, removing it from the palette. */
58495
58454
  uninstallWidgetType: Scalars['Boolean']['output'];
58496
58455
  /** Uninstall a workspace app by ID */
@@ -58992,6 +58951,8 @@ export type Mutation = {
58992
58951
  updateTimeCampusFocusPreferences: TimeCampusFocusPreferences;
58993
58952
  /** Moves an invoice forward through DRAFT -> SENT -> PAID. Backward transitions are rejected. */
58994
58953
  updateTimeCampusInvoiceStatus: TimeCampusInvoice;
58954
+ /** Self-scoped: save the caller's widget layout (ordered widget keys). */
58955
+ updateTimeCampusMyWidgetLayout: TimeCampusWidgetLayout;
58995
58956
  updateTimeCampusProject: TimeCampusProject;
58996
58957
  updateTimeEntry: TimeEntry;
58997
58958
  /** Update an existing tunnel (metadata, target host/port, basic auth, etc.). */
@@ -59791,6 +59752,11 @@ export type MutationApplyHealthyBowlCompostBatchArgs = {
59791
59752
  input: ApplyCompostBatchInput;
59792
59753
  };
59793
59754
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
59755
+ export type MutationApplyTimeCampusWorkspaceTemplateArgs = {
59756
+ input?: InputMaybe<TimeCampusApplyTemplateInput>;
59757
+ key: Scalars['ID']['input'];
59758
+ };
59759
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
59794
59760
  export type MutationApplyVibecontrolsScorecardTemplateArgs = {
59795
59761
  ownerId: Scalars['ID']['input'];
59796
59762
  ownerType: ScorecardOwnerType;
@@ -67631,6 +67597,10 @@ export type MutationInstallStorePluginOnAgentArgs = {
67631
67597
  productId: Scalars['ID']['input'];
67632
67598
  };
67633
67599
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
67600
+ export type MutationInstallTimeCampusAppletArgs = {
67601
+ key: Scalars['ID']['input'];
67602
+ };
67603
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
67634
67604
  export type MutationInstallWidgetTypeArgs = {
67635
67605
  input: BigConsoleInstallWidgetTypeInput;
67636
67606
  };
@@ -73609,6 +73579,10 @@ export type MutationTecCompleteHackathonArgs = {
73609
73579
  id: Scalars['ID']['input'];
73610
73580
  };
73611
73581
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73582
+ export type MutationTecCompleteLessonArgs = {
73583
+ lessonId: Scalars['ID']['input'];
73584
+ };
73585
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73612
73586
  export type MutationTecCompleteSessionArgs = {
73613
73587
  feedback?: InputMaybe<Scalars['String']['input']>;
73614
73588
  id: Scalars['ID']['input'];
@@ -73696,11 +73670,19 @@ export type MutationTecReorderPortfolioItemsArgs = {
73696
73670
  input: TecReorderPortfolioItemsInput;
73697
73671
  };
73698
73672
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73673
+ export type MutationTecReviewSubmissionArgs = {
73674
+ submissionId: Scalars['ID']['input'];
73675
+ };
73676
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73699
73677
  export type MutationTecRevokeCertificateArgs = {
73700
73678
  id: Scalars['ID']['input'];
73701
73679
  reason?: InputMaybe<Scalars['String']['input']>;
73702
73680
  };
73703
73681
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73682
+ export type MutationTecRunLessonCodeArgs = {
73683
+ input: TecRunLessonCodeInput;
73684
+ };
73685
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73704
73686
  export type MutationTecScoreTeamArgs = {
73705
73687
  id: Scalars['ID']['input'];
73706
73688
  score: Scalars['Int']['input'];
@@ -73715,6 +73697,11 @@ export type MutationTecStartJudgingArgs = {
73715
73697
  id: Scalars['ID']['input'];
73716
73698
  };
73717
73699
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73700
+ export type MutationTecSubmitLessonQuizArgs = {
73701
+ answers: Array<Scalars['Int']['input']>;
73702
+ lessonId: Scalars['ID']['input'];
73703
+ };
73704
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73718
73705
  export type MutationTecSubmitProjectArgs = {
73719
73706
  input: TecSubmitProjectInput;
73720
73707
  };
@@ -74125,6 +74112,10 @@ export type MutationUninstallRemoteAgentArgs = {
74125
74112
  sshTargetId: Scalars['ID']['input'];
74126
74113
  };
74127
74114
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74115
+ export type MutationUninstallTimeCampusAppletArgs = {
74116
+ key: Scalars['ID']['input'];
74117
+ };
74118
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74128
74119
  export type MutationUninstallWidgetTypeArgs = {
74129
74120
  input: BigConsoleUninstallWidgetTypeInput;
74130
74121
  };
@@ -75919,6 +75910,10 @@ export type MutationUpdateTimeCampusInvoiceStatusArgs = {
75919
75910
  input: UpdateTimeCampusInvoiceStatusInput;
75920
75911
  };
75921
75912
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75913
+ export type MutationUpdateTimeCampusMyWidgetLayoutArgs = {
75914
+ widgetKeys: Array<Scalars['String']['input']>;
75915
+ };
75916
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75922
75917
  export type MutationUpdateTimeCampusProjectArgs = {
75923
75918
  id: Scalars['ID']['input'];
75924
75919
  input: UpdateTimeCampusProjectInput;
@@ -90942,10 +90937,18 @@ export type Query = {
90942
90937
  teamWorkPatterns: Array<TeamWorkPatternEntry>;
90943
90938
  /** Preview the cost of a session with a mentor before booking it -- does not create anything. Read access mirrors tecMentor (reading the mentor's rate). */
90944
90939
  tecCalculateSessionCost: TecSessionCostEstimate;
90940
+ /** A single certificate by id, for the instructor/admin view (BOFF-3863). Same "list-all" gating as tecListCertificates. A learner reading their own certificate must use tecMyCertificate instead. */
90941
+ tecCertificate?: Maybe<TecCertificate>;
90945
90942
  tecCourse?: Maybe<TecCourse>;
90943
+ /** A single enrollment by id, for the instructor/admin view (BOFF-3863). Gated behind "list-all" like tecListEnrollments, because it can return any learner's enrollment. A learner reading their own enrollment must use tecMyEnrollment instead. Returns null for an id outside the workspace. */
90944
+ tecEnrollment?: Maybe<TecEnrollment>;
90946
90945
  tecHackathon?: Maybe<TecHackathon>;
90947
90946
  /** Liveness/identity probe for the Technospam subgraph. */
90948
90947
  tecHealth: Scalars['String']['output'];
90948
+ /** A single lesson by id (BOFF-3863). Same read gate as tecListLessons; premium-gated lesson content is still locked by the TecLesson field resolvers. Returns null for an id outside the caller's workspace. */
90949
+ tecLesson?: Maybe<TecLesson>;
90950
+ /** Lesson-author view of a QUIZ lesson including the answer key (BOFF-4107). Gated on technospam-lesson update, the same permission that edits it, so a learner can never read the key. Empty for a lesson without a quiz. */
90951
+ tecLessonQuizKey: Array<TecQuizQuestionKey>;
90949
90952
  /** Cross-learner, instructor/admin view of certificates — same "list-all" gating as tecListEnrollments. A learner viewing their own certificates must use tecMyCertificates instead. */
90950
90953
  tecListCertificates: Array<TecCertificate>;
90951
90954
  tecListCourses: TecCourseConnection;
@@ -90967,8 +90970,12 @@ export type Query = {
90967
90970
  tecListSubmissions: TecSubmissionConnection;
90968
90971
  tecListTeams: TecHackathonTeamConnection;
90969
90972
  tecMentor?: Maybe<TecMentor>;
90973
+ /** One of the calling learner's own certificates (BOFF-3863). Self-scoped (Type B): owner-filtered by the authenticated actor; null otherwise. */
90974
+ tecMyCertificate?: Maybe<TecCertificate>;
90970
90975
  /** The calling learner's own certificates. Self-scoped (Type C): identity comes from the authenticated actor, never from a client-supplied argument — the resolver forces learnerId = ctx.actor.id server-side. */
90971
90976
  tecMyCertificates: Array<TecCertificate>;
90977
+ /** One of the calling learner's own enrollments (BOFF-3863). Self-scoped (Type B): the id is a client argument, but the resolver owner-filters by the authenticated actor and returns null for an enrollment that does not exist or belongs to someone else, so existence is never leaked. */
90978
+ tecMyEnrollment?: Maybe<TecEnrollment>;
90972
90979
  /** The calling learner's own enrollments. Self-scoped (Type C): identity comes from the authenticated actor, never from a client-supplied argument — the resolver forces learnerId = ctx.actor.id server-side. */
90973
90980
  tecMyEnrollments: TecEnrollmentConnection;
90974
90981
  /** Return the most recent acceptance of each type for the calling actor in the current workspace. Self-scoped: result is always filtered by ctx.actorId. */
@@ -90977,17 +90984,29 @@ export type Query = {
90977
90984
  tecMyPayouts: TecMentorPayoutConnection;
90978
90985
  /** The calling learner's own portfolio. Self-scoped (Type C). Get-or-create: auto-provisions an (unpublished) portfolio the first time a learner touches this surface, so the client never has to branch on "no portfolio yet". */
90979
90986
  tecMyPortfolio: TecPortfolio;
90987
+ /** A session the calling actor takes part in (BOFF-3863), as mentee directly or as mentor via their TecMentor profile, mirroring tecMySessions. Self-scoped (Type B): returns null for any other session. */
90988
+ tecMySession?: Maybe<TecMentorSession>;
90980
90989
  /** The calling actor's own sessions — as mentee directly, or as mentor via their TecMentor profile. Self-scoped (Type C): identity comes from the authenticated actor, never from a client-supplied mentorId/menteeId — the resolver filters server-side. */
90981
90990
  tecMySessions: TecMentorSessionConnection;
90982
90991
  /** A single plan owned by the calling learner. Self-scoped (Type B): the id is a client argument, but the resolver owner-filters by `learnerId = ctx.actor.id` and throws NOT_FOUND (never FORBIDDEN) for a plan belonging to someone else -- never leaking whether it exists. */
90983
90992
  tecMyStudyPlan?: Maybe<TecStudyPlan>;
90984
90993
  /** The calling learner's own study plans. Self-scoped (Type C): identity comes from the authenticated actor, never from a client-supplied argument. */
90985
90994
  tecMyStudyPlans: TecStudyPlanConnection;
90995
+ /** One of the calling learner's own submissions (BOFF-3863). Self-scoped (Type B): the id is a client argument, but the resolver owner-filters by the authenticated actor and returns null for a submission that does not exist or belongs to someone else. */
90996
+ tecMySubmission?: Maybe<TecSubmission>;
90997
+ /** The stored review of one of the calling learner's own submissions, or null when none has been requested yet. Self-scoped (Type B): owner-filtered by the authenticated actor; another learner's submission resolves to null. */
90998
+ tecMySubmissionReview?: Maybe<TecSubmissionReview>;
90986
90999
  /** The calling learner's own submissions. Self-scoped (Type C — RBAC guide §"scopeType: self"): identity comes from the authenticated actor, never from a client-supplied argument. The resolver forces learnerId = ctx.actor.id server-side. Available to every authenticated workspace member, including a plain Viewer — no elevated permission required. */
90987
91000
  tecMySubmissions: TecSubmissionConnection;
90988
91001
  tecProblem?: Maybe<TecProblem>;
90989
91002
  /** Public, unauthenticated read of a published portfolio by its shareable slug. Returns null for an unknown slug or an unpublished portfolio -- never distinguishes the two, so a guessed slug cannot be used to probe for the existence of an unpublished portfolio. */
90990
91003
  tecPublicPortfolio?: Maybe<TecPublicPortfolio>;
91004
+ /** A single mentoring session by id, for the instructor/admin view (BOFF-3863). Same "list-all" gating as tecListSessions. A mentor or mentee reading their own session must use tecMySession instead. */
91005
+ tecSession?: Maybe<TecMentorSession>;
91006
+ /** A single submission by id, for the instructor/admin view (BOFF-3863). Same "list-all" gating as tecListSubmissions, because it can return any learner's submission. A learner reading their own submission (for example an assistant explaining "why was this rejected?") must use tecMySubmission instead. Returns null for an id outside the workspace. */
91007
+ tecSubmission?: Maybe<TecSubmission>;
91008
+ /** A single hackathon team by id (BOFF-3863). Same read gate as tecListTeams. Returns null for an id outside the caller's workspace. */
91009
+ tecTeam?: Maybe<TecHackathonTeam>;
90991
91010
  testParserExpression: ParserTestResult;
90992
91011
  theAsset?: Maybe<TheAsset>;
90993
91012
  theComplianceCert?: Maybe<TheComplianceCert>;
@@ -91014,6 +91033,9 @@ export type Query = {
91014
91033
  /** The caller's currently ACTIVE focus session, if any. Self-scoped, no arg. */
91015
91034
  timeCampusActiveFocusSession?: Maybe<TimeCampusFocusSession>;
91016
91035
  timeCampusAdminWorkspaceState: TimeCampusAdminWorkspaceState;
91036
+ timeCampusApplet: TimeCampusApplet;
91037
+ /** The applet store with this workspace's install state. */
91038
+ timeCampusApplets: Array<TimeCampusApplet>;
91017
91039
  timeCampusCaptureEvent?: Maybe<TimeCampusCaptureEvent>;
91018
91040
  timeCampusCaptureEvents: TimeCampusCaptureEventListResponse;
91019
91041
  timeCampusDataErasureRequests: Array<TimeCampusDataErasureRequest>;
@@ -91044,12 +91066,20 @@ export type Query = {
91044
91066
  timeCampusInvoices: TimeCampusInvoiceListResponse;
91045
91067
  timeCampusLakeDatasets: Array<TimeCampusLakeDataset>;
91046
91068
  timeCampusLakeRows?: Maybe<TimeCampusLakePage>;
91069
+ /** Self-scoped: the caller's own widget layout (the default until they save one). */
91070
+ timeCampusMyWidgetLayout: TimeCampusWidgetLayout;
91047
91071
  timeCampusProject?: Maybe<TimeCampusProject>;
91048
91072
  timeCampusProjectStats: ProjectStats;
91049
91073
  timeCampusProjects: TimeCampusProjectListResponse;
91074
+ /** Templates applied to this workspace, newest first. */
91075
+ timeCampusTemplateApplications: Array<TimeCampusTemplateApplication>;
91050
91076
  /** 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. */
91051
91077
  timeCampusTimeline: TimeCampusTimeline;
91078
+ /** The widget catalogue, with which widgets can be placed in this workspace. */
91079
+ timeCampusWidgets: Array<TimeCampusWidget>;
91052
91080
  timeCampusWorkspaceQuotaOverview: TimeCampusWorkspaceQuotaOverview;
91081
+ timeCampusWorkspaceTemplate: TimeCampusWorkspaceTemplate;
91082
+ timeCampusWorkspaceTemplates: Array<TimeCampusWorkspaceTemplate>;
91053
91083
  timeEntries: TimeEntryListResponse;
91054
91084
  timeEntriesByDate: Array<TimeEntry>;
91055
91085
  timeEntry?: Maybe<TimeEntry>;
@@ -102363,14 +102393,30 @@ export type QueryTecCalculateSessionCostArgs = {
102363
102393
  mentorId: Scalars['ID']['input'];
102364
102394
  };
102365
102395
  /** Base Query type with placeholder field. Extended by individual query files. */
102396
+ export type QueryTecCertificateArgs = {
102397
+ id: Scalars['ID']['input'];
102398
+ };
102399
+ /** Base Query type with placeholder field. Extended by individual query files. */
102366
102400
  export type QueryTecCourseArgs = {
102367
102401
  id: Scalars['ID']['input'];
102368
102402
  };
102369
102403
  /** Base Query type with placeholder field. Extended by individual query files. */
102404
+ export type QueryTecEnrollmentArgs = {
102405
+ id: Scalars['ID']['input'];
102406
+ };
102407
+ /** Base Query type with placeholder field. Extended by individual query files. */
102370
102408
  export type QueryTecHackathonArgs = {
102371
102409
  id: Scalars['ID']['input'];
102372
102410
  };
102373
102411
  /** Base Query type with placeholder field. Extended by individual query files. */
102412
+ export type QueryTecLessonArgs = {
102413
+ id: Scalars['ID']['input'];
102414
+ };
102415
+ /** Base Query type with placeholder field. Extended by individual query files. */
102416
+ export type QueryTecLessonQuizKeyArgs = {
102417
+ lessonId: Scalars['ID']['input'];
102418
+ };
102419
+ /** Base Query type with placeholder field. Extended by individual query files. */
102374
102420
  export type QueryTecListCertificatesArgs = {
102375
102421
  courseId?: InputMaybe<Scalars['ID']['input']>;
102376
102422
  learnerId?: InputMaybe<Scalars['ID']['input']>;
@@ -102454,11 +102500,19 @@ export type QueryTecMentorArgs = {
102454
102500
  id: Scalars['ID']['input'];
102455
102501
  };
102456
102502
  /** Base Query type with placeholder field. Extended by individual query files. */
102503
+ export type QueryTecMyCertificateArgs = {
102504
+ id: Scalars['ID']['input'];
102505
+ };
102506
+ /** Base Query type with placeholder field. Extended by individual query files. */
102457
102507
  export type QueryTecMyCertificatesArgs = {
102458
102508
  courseId?: InputMaybe<Scalars['ID']['input']>;
102459
102509
  pagination?: InputMaybe<PaginationInput>;
102460
102510
  };
102461
102511
  /** Base Query type with placeholder field. Extended by individual query files. */
102512
+ export type QueryTecMyEnrollmentArgs = {
102513
+ id: Scalars['ID']['input'];
102514
+ };
102515
+ /** Base Query type with placeholder field. Extended by individual query files. */
102462
102516
  export type QueryTecMyEnrollmentsArgs = {
102463
102517
  courseId?: InputMaybe<Scalars['ID']['input']>;
102464
102518
  endDate?: InputMaybe<Scalars['DateTime']['input']>;
@@ -102471,6 +102525,10 @@ export type QueryTecMyPayoutsArgs = {
102471
102525
  status?: InputMaybe<TecPayoutStatus>;
102472
102526
  };
102473
102527
  /** Base Query type with placeholder field. Extended by individual query files. */
102528
+ export type QueryTecMySessionArgs = {
102529
+ id: Scalars['ID']['input'];
102530
+ };
102531
+ /** Base Query type with placeholder field. Extended by individual query files. */
102474
102532
  export type QueryTecMySessionsArgs = {
102475
102533
  pagination?: InputMaybe<PaginationInput>;
102476
102534
  status?: InputMaybe<TecSessionStatus>;
@@ -102484,6 +102542,14 @@ export type QueryTecMyStudyPlansArgs = {
102484
102542
  pagination?: InputMaybe<PaginationInput>;
102485
102543
  };
102486
102544
  /** Base Query type with placeholder field. Extended by individual query files. */
102545
+ export type QueryTecMySubmissionArgs = {
102546
+ id: Scalars['ID']['input'];
102547
+ };
102548
+ /** Base Query type with placeholder field. Extended by individual query files. */
102549
+ export type QueryTecMySubmissionReviewArgs = {
102550
+ submissionId: Scalars['ID']['input'];
102551
+ };
102552
+ /** Base Query type with placeholder field. Extended by individual query files. */
102487
102553
  export type QueryTecMySubmissionsArgs = {
102488
102554
  endDate?: InputMaybe<Scalars['DateTime']['input']>;
102489
102555
  pagination?: InputMaybe<PaginationInput>;
@@ -102499,6 +102565,18 @@ export type QueryTecPublicPortfolioArgs = {
102499
102565
  slug: Scalars['String']['input'];
102500
102566
  };
102501
102567
  /** Base Query type with placeholder field. Extended by individual query files. */
102568
+ export type QueryTecSessionArgs = {
102569
+ id: Scalars['ID']['input'];
102570
+ };
102571
+ /** Base Query type with placeholder field. Extended by individual query files. */
102572
+ export type QueryTecSubmissionArgs = {
102573
+ id: Scalars['ID']['input'];
102574
+ };
102575
+ /** Base Query type with placeholder field. Extended by individual query files. */
102576
+ export type QueryTecTeamArgs = {
102577
+ id: Scalars['ID']['input'];
102578
+ };
102579
+ /** Base Query type with placeholder field. Extended by individual query files. */
102502
102580
  export type QueryTestParserExpressionArgs = {
102503
102581
  input: TestParserInput;
102504
102582
  };
@@ -102607,6 +102685,14 @@ export type QueryTimeCampusAdminWorkspaceStateArgs = {
102607
102685
  workspaceId: Scalars['ID']['input'];
102608
102686
  };
102609
102687
  /** Base Query type with placeholder field. Extended by individual query files. */
102688
+ export type QueryTimeCampusAppletArgs = {
102689
+ key: Scalars['ID']['input'];
102690
+ };
102691
+ /** Base Query type with placeholder field. Extended by individual query files. */
102692
+ export type QueryTimeCampusAppletsArgs = {
102693
+ filter?: InputMaybe<TimeCampusAppletFilterInput>;
102694
+ };
102695
+ /** Base Query type with placeholder field. Extended by individual query files. */
102610
102696
  export type QueryTimeCampusCaptureEventArgs = {
102611
102697
  id: Scalars['ID']['input'];
102612
102698
  };
@@ -102702,6 +102788,10 @@ export type QueryTimeCampusProjectsArgs = {
102702
102788
  pagination?: InputMaybe<PaginationInput>;
102703
102789
  };
102704
102790
  /** Base Query type with placeholder field. Extended by individual query files. */
102791
+ export type QueryTimeCampusTemplateApplicationsArgs = {
102792
+ pagination?: InputMaybe<PaginationInput>;
102793
+ };
102794
+ /** Base Query type with placeholder field. Extended by individual query files. */
102705
102795
  export type QueryTimeCampusTimelineArgs = {
102706
102796
  from: Scalars['DateTime']['input'];
102707
102797
  to: Scalars['DateTime']['input'];
@@ -102712,6 +102802,14 @@ export type QueryTimeCampusWorkspaceQuotaOverviewArgs = {
102712
102802
  workspaceId: Scalars['ID']['input'];
102713
102803
  };
102714
102804
  /** Base Query type with placeholder field. Extended by individual query files. */
102805
+ export type QueryTimeCampusWorkspaceTemplateArgs = {
102806
+ key: Scalars['ID']['input'];
102807
+ };
102808
+ /** Base Query type with placeholder field. Extended by individual query files. */
102809
+ export type QueryTimeCampusWorkspaceTemplatesArgs = {
102810
+ category?: InputMaybe<TimeCampusTemplateCategory>;
102811
+ };
102812
+ /** Base Query type with placeholder field. Extended by individual query files. */
102715
102813
  export type QueryTimeEntriesArgs = {
102716
102814
  filter?: InputMaybe<TimeEntryFilterInput>;
102717
102815
  orderBy?: InputMaybe<TimeEntryOrderByInput>;
@@ -112909,10 +113007,15 @@ export type TecCreateLessonInput = {
112909
113007
  content?: InputMaybe<Scalars['String']['input']>;
112910
113008
  courseId: Scalars['ID']['input'];
112911
113009
  estimatedMinutes?: InputMaybe<Scalars['Int']['input']>;
113010
+ expectedOutput?: InputMaybe<Scalars['String']['input']>;
112912
113011
  fileId?: InputMaybe<Scalars['ID']['input']>;
112913
113012
  isPreview?: InputMaybe<Scalars['Boolean']['input']>;
112914
113013
  kind?: InputMaybe<TecLessonKind>;
113014
+ language?: InputMaybe<Scalars['String']['input']>;
112915
113015
  position?: InputMaybe<Scalars['Int']['input']>;
113016
+ quizQuestions?: InputMaybe<Array<TecQuizQuestionInput>>;
113017
+ sampleInput?: InputMaybe<Scalars['String']['input']>;
113018
+ starterCode?: InputMaybe<Scalars['String']['input']>;
112916
113019
  title: Scalars['String']['input'];
112917
113020
  };
112918
113021
  export type TecCreateMentorInput = {
@@ -112955,6 +113058,8 @@ export type TecEnrollInput = {
112955
113058
  export type TecEnrollment = {
112956
113059
  __typename?: 'TecEnrollment';
112957
113060
  completedAt?: Maybe<Scalars['DateTime']['output']>;
113061
+ /** Lessons finished in this enrollment (BOFF-4107), oldest first. */
113062
+ completions: Array<TecLessonCompletion>;
112958
113063
  course?: Maybe<TecCourse>;
112959
113064
  courseId: Scalars['ID']['output'];
112960
113065
  createdAt: Scalars['DateTime']['output'];
@@ -112962,6 +113067,8 @@ export type TecEnrollment = {
112962
113067
  lastActiveAt?: Maybe<Scalars['DateTime']['output']>;
112963
113068
  learnerId: Scalars['ID']['output'];
112964
113069
  lessonsCompleted: Scalars['Int']['output'];
113070
+ /** The first lesson (by position) not yet completed; null when every lesson is done. "Resume" / "Continue learning" deep-link here. */
113071
+ nextLessonId?: Maybe<Scalars['ID']['output']>;
112965
113072
  progressPct: Scalars['Int']['output'];
112966
113073
  startedAt: Scalars['DateTime']['output'];
112967
113074
  status: TecEnrollmentStatus;
@@ -113076,12 +113183,16 @@ export declare enum TecLegalAcceptanceType {
113076
113183
  }
113077
113184
  export type TecLesson = {
113078
113185
  __typename?: 'TecLesson';
113186
+ /** True when the calling learner has completed this lesson. */
113187
+ completedByMe: Scalars['Boolean']['output'];
113079
113188
  /** Null when `isLocked` is true (BOFF-4416 free-tier gating) -- the gate is enforced here at the API layer, not left to the client to respect. */
113080
113189
  content?: Maybe<Scalars['String']['output']>;
113081
113190
  course?: Maybe<TecCourse>;
113082
113191
  courseId: Scalars['ID']['output'];
113083
113192
  createdAt: Scalars['DateTime']['output'];
113084
113193
  estimatedMinutes: Scalars['Int']['output'];
113194
+ /** INTERACTIVE lessons: the output a correct program prints. When set, a matching run completes the lesson automatically. Null when `isLocked`. */
113195
+ expectedOutput?: Maybe<Scalars['String']['output']>;
113085
113196
  /** Reference to a wspace-files-svc File (video / attachment). Null when `isLocked` is true. */
113086
113197
  file?: Maybe<File>;
113087
113198
  id: Scalars['ID']['output'];
@@ -113089,11 +113200,58 @@ export type TecLesson = {
113089
113200
  isLocked: Scalars['Boolean']['output'];
113090
113201
  isPreview: Scalars['Boolean']['output'];
113091
113202
  kind: TecLessonKind;
113203
+ /** INTERACTIVE lessons (BOFF-4107): language slug the runnable workspace executes, e.g. "python". Null for other kinds. */
113204
+ language?: Maybe<Scalars['String']['output']>;
113092
113205
  position: Scalars['Int']['output'];
113206
+ /** QUIZ lessons: the questions, without the answer key (grading happens server-side in tecSubmitLessonQuiz). Empty when `isLocked`. */
113207
+ quizQuestions: Array<TecQuizQuestion>;
113208
+ /** INTERACTIVE lessons: default stdin for a run. Null when `isLocked`. */
113209
+ sampleInput?: Maybe<Scalars['String']['output']>;
113210
+ /** INTERACTIVE lessons: code pre-filled in the editor. Null when `isLocked`. */
113211
+ starterCode?: Maybe<Scalars['String']['output']>;
113093
113212
  title: Scalars['String']['output'];
113094
113213
  updatedAt: Scalars['DateTime']['output'];
113095
113214
  workspaceId: Scalars['ID']['output'];
113096
113215
  };
113216
+ /** Result of tecRunLessonCode. */
113217
+ export type TecLessonCodeRun = {
113218
+ __typename?: 'TecLessonCodeRun';
113219
+ compileFailed: Scalars['Boolean']['output'];
113220
+ durationMs: Scalars['Int']['output'];
113221
+ /** The learner's enrollment after the run. Null when not enrolled. */
113222
+ enrollment?: Maybe<TecEnrollment>;
113223
+ exitCode: Scalars['Int']['output'];
113224
+ language: Scalars['String']['output'];
113225
+ /** True when this run completed the lesson (first matching run). */
113226
+ lessonCompleted: Scalars['Boolean']['output'];
113227
+ lessonId: Scalars['ID']['output'];
113228
+ /** Null when the lesson has no expected output or nothing ran; otherwise whether stdout matched it. */
113229
+ matchedExpected?: Maybe<Scalars['Boolean']['output']>;
113230
+ memoryLimitExceeded: Scalars['Boolean']['output'];
113231
+ status: TecLessonRunStatus;
113232
+ stderr: Scalars['String']['output'];
113233
+ stdout: Scalars['String']['output'];
113234
+ timedOut: Scalars['Boolean']['output'];
113235
+ };
113236
+ /** A lesson the learner finished inside an enrollment (BOFF-4107). */
113237
+ export type TecLessonCompletion = {
113238
+ __typename?: 'TecLessonCompletion';
113239
+ completedAt: Scalars['DateTime']['output'];
113240
+ enrollmentId: Scalars['ID']['output'];
113241
+ id: Scalars['ID']['output'];
113242
+ lessonId: Scalars['ID']['output'];
113243
+ method: TecLessonCompletionMethod;
113244
+ score?: Maybe<Scalars['Int']['output']>;
113245
+ };
113246
+ /** How a lesson was completed (BOFF-4107). */
113247
+ export declare enum TecLessonCompletionMethod {
113248
+ /** The learner's code produced the lesson's expected output (tecRunLessonCode). */
113249
+ CodePassed = "CODE_PASSED",
113250
+ /** The learner marked an ARTICLE / VIDEO / PROJECT lesson (or an INTERACTIVE lesson with no expected output) as done. */
113251
+ Manual = "MANUAL",
113252
+ /** The learner passed the lesson's quiz (tecSubmitLessonQuiz). */
113253
+ QuizPassed = "QUIZ_PASSED"
113254
+ }
113097
113255
  export type TecLessonConnection = {
113098
113256
  __typename?: 'TecLessonConnection';
113099
113257
  items: Array<TecLesson>;
@@ -113106,6 +113264,15 @@ export declare enum TecLessonKind {
113106
113264
  Quiz = "QUIZ",
113107
113265
  Video = "VIDEO"
113108
113266
  }
113267
+ /** Outcome of one tecRunLessonCode call (BOFF-4107). */
113268
+ export declare enum TecLessonRunStatus {
113269
+ /** The code ran in the sandbox; see stdout/stderr/exitCode. */
113270
+ Completed = "COMPLETED",
113271
+ /** The sandbox could not be reached or failed. Nothing ran; retry later. */
113272
+ Unavailable = "UNAVAILABLE",
113273
+ /** The code sandbox was cold and is starting. Nothing ran; call tecRunLessonCode again in a few seconds. */
113274
+ Warming = "WARMING"
113275
+ }
113109
113276
  export type TecMentor = {
113110
113277
  __typename?: 'TecMentor';
113111
113278
  bio?: Maybe<Scalars['String']['output']>;
@@ -113327,6 +113494,52 @@ export type TecPublicPortfolioItem = {
113327
113494
  order: Scalars['Int']['output'];
113328
113495
  title: Scalars['String']['output'];
113329
113496
  };
113497
+ /** One multiple-choice question of a QUIZ lesson, as a learner sees it. */
113498
+ export type TecQuizQuestion = {
113499
+ __typename?: 'TecQuizQuestion';
113500
+ options: Array<Scalars['String']['output']>;
113501
+ prompt: Scalars['String']['output'];
113502
+ };
113503
+ /** One quiz question with its answer key, as a lesson author writes it. */
113504
+ export type TecQuizQuestionInput = {
113505
+ /** Zero-based index into `options` of the correct answer. */
113506
+ correctOption: Scalars['Int']['input'];
113507
+ explanation?: InputMaybe<Scalars['String']['input']>;
113508
+ /** Two to eight answer options. */
113509
+ options: Array<Scalars['String']['input']>;
113510
+ prompt: Scalars['String']['input'];
113511
+ };
113512
+ /** One quiz question with its answer key (lesson-author view). */
113513
+ export type TecQuizQuestionKey = {
113514
+ __typename?: 'TecQuizQuestionKey';
113515
+ correctOption: Scalars['Int']['output'];
113516
+ explanation?: Maybe<Scalars['String']['output']>;
113517
+ options: Array<Scalars['String']['output']>;
113518
+ prompt: Scalars['String']['output'];
113519
+ };
113520
+ /** Per-question feedback returned after a quiz attempt. */
113521
+ export type TecQuizQuestionResult = {
113522
+ __typename?: 'TecQuizQuestionResult';
113523
+ correct: Scalars['Boolean']['output'];
113524
+ correctOption: Scalars['Int']['output'];
113525
+ explanation?: Maybe<Scalars['String']['output']>;
113526
+ index: Scalars['Int']['output'];
113527
+ selectedOption?: Maybe<Scalars['Int']['output']>;
113528
+ };
113529
+ /** Result of tecSubmitLessonQuiz. */
113530
+ export type TecQuizResult = {
113531
+ __typename?: 'TecQuizResult';
113532
+ correctCount: Scalars['Int']['output'];
113533
+ /** The learner's enrollment after the attempt (progress updated when passed). Null when the learner is not enrolled (preview lessons). */
113534
+ enrollment?: Maybe<TecEnrollment>;
113535
+ lessonId: Scalars['ID']['output'];
113536
+ passed: Scalars['Boolean']['output'];
113537
+ /** Minimum score (percent) needed to pass. */
113538
+ passingScore: Scalars['Int']['output'];
113539
+ results: Array<TecQuizQuestionResult>;
113540
+ score: Scalars['Int']['output'];
113541
+ totalCount: Scalars['Int']['output'];
113542
+ };
113330
113543
  export type TecRecordLegalAcceptanceInput = {
113331
113544
  acceptanceType: TecLegalAcceptanceType;
113332
113545
  acceptedAt?: InputMaybe<Scalars['DateTime']['input']>;
@@ -113346,6 +113559,19 @@ export type TecReorderPortfolioItemsInput = {
113346
113559
  /** Every existing item id for the calling learner's portfolio, in the desired display order. Must be a permutation of the current item set. */
113347
113560
  itemIds: Array<Scalars['ID']['input']>;
113348
113561
  };
113562
+ /** Who wrote a review: AI when a language model wrote the explanation, RULES when the service built it from the grader output alone (no model provider configured, or every provider failed). */
113563
+ export declare enum TecReviewSource {
113564
+ Ai = "AI",
113565
+ Rules = "RULES"
113566
+ }
113567
+ export type TecRunLessonCodeInput = {
113568
+ code: Scalars['String']['input'];
113569
+ /** Defaults to the lesson's language. */
113570
+ language?: InputMaybe<Scalars['String']['input']>;
113571
+ lessonId: Scalars['ID']['input'];
113572
+ /** Defaults to the lesson's sampleInput. */
113573
+ stdin?: InputMaybe<Scalars['String']['input']>;
113574
+ };
113349
113575
  /** Read-only preview of what a session with a given mentor and duration would cost, computed from the mentor's real current hourlyRate -- lets the booking UI show the learner the price (and the platform-fee breakdown) before they commit to tecBookSession. Never persists anything. */
113350
113576
  export type TecSessionCostEstimate = {
113351
113577
  __typename?: 'TecSessionCostEstimate';
@@ -113456,6 +113682,30 @@ export type TecSubmissionConnection = {
113456
113682
  items: Array<TecSubmission>;
113457
113683
  pageInfo: TecPracticePageInfo;
113458
113684
  };
113685
+ export type TecSubmissionReview = {
113686
+ __typename?: 'TecSubmissionReview';
113687
+ /** Up to five short concept names to revisit. */
113688
+ conceptsToRevisit: Array<Scalars['String']['output']>;
113689
+ createdAt: Scalars['DateTime']['output'];
113690
+ /** What failed and what to look at, grounded in the failing test case and grader diagnostics. Never contains a complete solution. */
113691
+ failureExplanation: Scalars['String']['output'];
113692
+ id: Scalars['ID']['output'];
113693
+ /** Model that wrote the explanation; null for a RULES review. */
113694
+ model?: Maybe<Scalars['String']['output']>;
113695
+ problemId: Scalars['ID']['output'];
113696
+ source: TecReviewSource;
113697
+ submissionId: Scalars['ID']['output'];
113698
+ /** Ids of real, published problems in this workspace to practise next, chosen from the catalog by the service (never by the model). */
113699
+ suggestedProblemIds: Array<Scalars['ID']['output']>;
113700
+ /** The suggested problems that are still published. */
113701
+ suggestedProblems: Array<TecProblem>;
113702
+ /** One or two sentences on the outcome. */
113703
+ summary: Scalars['String']['output'];
113704
+ updatedAt: Scalars['DateTime']['output'];
113705
+ /** The submission's verdict when this review was written. */
113706
+ verdict: TecSubmissionVerdict;
113707
+ workspaceId: Scalars['ID']['output'];
113708
+ };
113459
113709
  export declare enum TecSubmissionVerdict {
113460
113710
  Accepted = "ACCEPTED",
113461
113711
  CompileError = "COMPILE_ERROR",
@@ -113535,10 +113785,15 @@ export type TecUpdateHackathonInput = {
113535
113785
  export type TecUpdateLessonInput = {
113536
113786
  content?: InputMaybe<Scalars['String']['input']>;
113537
113787
  estimatedMinutes?: InputMaybe<Scalars['Int']['input']>;
113788
+ expectedOutput?: InputMaybe<Scalars['String']['input']>;
113538
113789
  fileId?: InputMaybe<Scalars['ID']['input']>;
113539
113790
  isPreview?: InputMaybe<Scalars['Boolean']['input']>;
113540
113791
  kind?: InputMaybe<TecLessonKind>;
113792
+ language?: InputMaybe<Scalars['String']['input']>;
113541
113793
  position?: InputMaybe<Scalars['Int']['input']>;
113794
+ quizQuestions?: InputMaybe<Array<TecQuizQuestionInput>>;
113795
+ sampleInput?: InputMaybe<Scalars['String']['input']>;
113796
+ starterCode?: InputMaybe<Scalars['String']['input']>;
113542
113797
  title?: InputMaybe<Scalars['String']['input']>;
113543
113798
  };
113544
113799
  export type TecUpdateMentorInput = {
@@ -114416,6 +114671,50 @@ export type TimeCampusAiRevertResult = {
114416
114671
  reverted: Scalars['Int']['output'];
114417
114672
  to: Scalars['DateTime']['output'];
114418
114673
  };
114674
+ /** A first-party applet and whether this workspace has it installed. */
114675
+ export type TimeCampusApplet = {
114676
+ __typename?: 'TimeCampusApplet';
114677
+ category: TimeCampusAppletCategory;
114678
+ description: Scalars['String']['output'];
114679
+ /** lucide icon name. */
114680
+ icon: Scalars['String']['output'];
114681
+ installSource?: Maybe<TimeCampusAppletInstallSource>;
114682
+ installed: Scalars['Boolean']['output'];
114683
+ installedAt?: Maybe<Scalars['DateTime']['output']>;
114684
+ key: Scalars['ID']['output'];
114685
+ name: Scalars['String']['output'];
114686
+ /** App-shell path that opens the applet (/timecampus/... or a platform module). */
114687
+ route: Scalars['String']['output'];
114688
+ /** Template that installed the applet, when installSource is TEMPLATE. */
114689
+ templateKey?: Maybe<Scalars['String']['output']>;
114690
+ /** Widgets this applet adds to the widget catalogue. */
114691
+ widgetKeys: Array<Scalars['String']['output']>;
114692
+ };
114693
+ export declare enum TimeCampusAppletCategory {
114694
+ Analytics = "ANALYTICS",
114695
+ Automation = "AUTOMATION",
114696
+ Clients = "CLIENTS",
114697
+ Finance = "FINANCE",
114698
+ Focus = "FOCUS",
114699
+ Location = "LOCATION",
114700
+ Meetings = "MEETINGS",
114701
+ Team = "TEAM"
114702
+ }
114703
+ export type TimeCampusAppletFilterInput = {
114704
+ category?: InputMaybe<TimeCampusAppletCategory>;
114705
+ installedOnly?: InputMaybe<Scalars['Boolean']['input']>;
114706
+ search?: InputMaybe<Scalars['String']['input']>;
114707
+ };
114708
+ export declare enum TimeCampusAppletInstallSource {
114709
+ Manual = "MANUAL",
114710
+ Template = "TEMPLATE"
114711
+ }
114712
+ export type TimeCampusApplyTemplateInput = {
114713
+ /** ISO 4217 currency for the created projects (default USD). */
114714
+ currency?: InputMaybe<Scalars['String']['input']>;
114715
+ /** Hourly rate for the template's billable projects; omitted leaves them without a rate. */
114716
+ hourlyRate?: InputMaybe<Scalars['Float']['input']>;
114717
+ };
114419
114718
  export type TimeCampusBalanceTarget = {
114420
114719
  __typename?: 'TimeCampusBalanceTarget';
114421
114720
  createdAt: Scalars['DateTime']['output'];
@@ -115285,6 +115584,37 @@ export type TimeCampusSourceConsent = {
115285
115584
  userId: Scalars['ID']['output'];
115286
115585
  workspaceId: Scalars['ID']['output'];
115287
115586
  };
115587
+ export type TimeCampusTemplateApplication = {
115588
+ __typename?: 'TimeCampusTemplateApplication';
115589
+ appliedBy: Scalars['ID']['output'];
115590
+ createdAt: Scalars['DateTime']['output'];
115591
+ createdProjectIds: Array<Scalars['ID']['output']>;
115592
+ createdTaskCount: Scalars['Int']['output'];
115593
+ id: Scalars['ID']['output'];
115594
+ /** Applets this application newly installed (already-installed ones are not listed). */
115595
+ installedAppletKeys: Array<Scalars['String']['output']>;
115596
+ /** Template projects left alone because a project with that name already existed. */
115597
+ skippedProjectNames: Array<Scalars['String']['output']>;
115598
+ templateKey: Scalars['String']['output'];
115599
+ templateName: Scalars['String']['output'];
115600
+ };
115601
+ export declare enum TimeCampusTemplateCategory {
115602
+ Creative = "CREATIVE",
115603
+ Independent = "INDEPENDENT",
115604
+ ProfessionalServices = "PROFESSIONAL_SERVICES",
115605
+ Research = "RESEARCH",
115606
+ Technology = "TECHNOLOGY"
115607
+ }
115608
+ export type TimeCampusTemplateProject = {
115609
+ __typename?: 'TimeCampusTemplateProject';
115610
+ /** Billable projects receive the hourly rate given when the template is applied. */
115611
+ billable: Scalars['Boolean']['output'];
115612
+ /** Accent token name (blue, indigo, purple, teal). */
115613
+ color: Scalars['String']['output'];
115614
+ description: Scalars['String']['output'];
115615
+ name: Scalars['String']['output'];
115616
+ tasks: Array<Scalars['String']['output']>;
115617
+ };
115288
115618
  export type TimeCampusTimeWellSpent = {
115289
115619
  __typename?: 'TimeCampusTimeWellSpent';
115290
115620
  byDomain: Array<TimeCampusDomainAlignment>;
@@ -115333,6 +115663,10 @@ export type TimeCampusTimelineSegment = {
115333
115663
  __typename?: 'TimeCampusTimelineSegment';
115334
115664
  app?: Maybe<Scalars['String']['output']>;
115335
115665
  category: TimeCampusTimelineCategory;
115666
+ /** Model confidence (0..1) for `category`. Set only when `categorySource` is "ai"; null for channel, user and rule-based categories and for every non-capture segment. */
115667
+ categoryConfidence?: Maybe<Scalars['Float']['output']>;
115668
+ /** The "provider:model" that decided `category` when `categorySource` is "ai". */
115669
+ categoryModel?: Maybe<Scalars['String']['output']>;
115336
115670
  categorySource?: Maybe<Scalars['String']['output']>;
115337
115671
  channelId?: Maybe<Scalars['ID']['output']>;
115338
115672
  durationSeconds: Scalars['Int']['output'];
@@ -115383,6 +115717,25 @@ export type TimeCampusUpdateCaptureChannelInput = {
115383
115717
  status?: InputMaybe<TimeCampusCaptureChannelStatus>;
115384
115718
  syncIntervalMinutes?: InputMaybe<Scalars['Int']['input']>;
115385
115719
  };
115720
+ export type TimeCampusWidget = {
115721
+ __typename?: 'TimeCampusWidget';
115722
+ /** Applet that must be installed to place the widget; null for core widgets. */
115723
+ appletKey?: Maybe<Scalars['String']['output']>;
115724
+ /** Whether the widget can be placed now (core, or its applet is installed). */
115725
+ available: Scalars['Boolean']['output'];
115726
+ description: Scalars['String']['output'];
115727
+ key: Scalars['ID']['output'];
115728
+ name: Scalars['String']['output'];
115729
+ };
115730
+ /** The caller's own dashboard widget layout. */
115731
+ export type TimeCampusWidgetLayout = {
115732
+ __typename?: 'TimeCampusWidgetLayout';
115733
+ /** True until the caller saves a layout of their own. */
115734
+ isDefault: Scalars['Boolean']['output'];
115735
+ updatedAt?: Maybe<Scalars['DateTime']['output']>;
115736
+ /** Widget keys in display order. */
115737
+ widgetKeys: Array<Scalars['String']['output']>;
115738
+ };
115386
115739
  export type TimeCampusWorkspaceQuotaAssignment = {
115387
115740
  __typename?: 'TimeCampusWorkspaceQuotaAssignment';
115388
115741
  id: Scalars['ID']['output'];
@@ -115401,6 +115754,21 @@ export type TimeCampusWorkspaceQuotaOverview = {
115401
115754
  assignments: Array<TimeCampusWorkspaceQuotaAssignment>;
115402
115755
  workspaceId: Scalars['ID']['output'];
115403
115756
  };
115757
+ export type TimeCampusWorkspaceTemplate = {
115758
+ __typename?: 'TimeCampusWorkspaceTemplate';
115759
+ appletKeys: Array<Scalars['String']['output']>;
115760
+ category: TimeCampusTemplateCategory;
115761
+ description: Scalars['String']['output'];
115762
+ highlights: Array<Scalars['String']['output']>;
115763
+ icon: Scalars['String']['output'];
115764
+ key: Scalars['ID']['output'];
115765
+ /** When this workspace last applied the template. */
115766
+ lastAppliedAt?: Maybe<Scalars['DateTime']['output']>;
115767
+ name: Scalars['String']['output'];
115768
+ projects: Array<TimeCampusTemplateProject>;
115769
+ taskCount: Scalars['Int']['output'];
115770
+ widgetKeys: Array<Scalars['String']['output']>;
115771
+ };
115404
115772
  export type TimeEntry = {
115405
115773
  __typename?: 'TimeEntry';
115406
115774
  billable: Scalars['Boolean']['output'];