@pocketprep/types 1.19.13 → 1.19.15

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.
@@ -0,0 +1,20 @@
1
+ name: Claude Code PR Review
2
+ on:
3
+ issue_comment: { types: [created] }
4
+ pull_request_review_comment: { types: [created] }
5
+ issues: { types: [opened, assigned] }
6
+ pull_request_review: { types: [submitted] }
7
+ pull_request: { types: [opened, ready_for_review] }
8
+
9
+ jobs:
10
+ claude:
11
+ uses: Pocket-Prep/.github-workflows/.github/workflows/claude.yml@main
12
+ secrets: inherit
13
+ permissions:
14
+ contents: read
15
+ pull-requests: write
16
+ issues: write
17
+ id-token: write
18
+ actions: read
19
+ checks: read
20
+ statuses: read
package/CMS/Class.d.ts CHANGED
@@ -391,6 +391,11 @@ export type ExamContentPlan = Parse.Object<{
391
391
  expectedExport?: 'major' | 'minor' | 'patch'
392
392
  examLinks?: string
393
393
  lead?: User | Parse.Pointer
394
+ expectedJobStartDate?: Date
395
+ updateToExamLinks?: boolean
396
+ newExamLinks?: string
397
+ addingReferences?: boolean
398
+ removingReferences?: boolean
394
399
  }>
395
400
 
396
401
  export type ExamContentPlanJSON = ReturnType<ExamContentPlan['toJSON']>
package/Study/Class.d.ts CHANGED
@@ -337,6 +337,12 @@ export interface SubscriptionBase {
337
337
  source?: SubscriptionSource[keyof SubscriptionSource]
338
338
  days?: number
339
339
  paymentPlatform?: Platform
340
+ /**
341
+ * The user's `currentExamGuid` captured when this Subscription was created (the exam they were
342
+ * studying when they subscribed). Distinct from `SubscriptionExam.examGuid`, which is the exam
343
+ * a subscription grants access to. Backs the exam breakout on the Subscription Created event.
344
+ */
345
+ currentExamGuid?: string
340
346
  }
341
347
 
342
348
  export type SubscriptionExam = Parse.Object<SubscriptionBase & {
@@ -472,7 +478,14 @@ export type User = Parse.User<{
472
478
  quizSettings?: UserQuizSettings
473
479
  deleteRequestedDate?: Date
474
480
  currentUserExamMetadata?: UserExamMetadata | Parse.Pointer
475
- currentExamGuid?: string // DEPRECATED
481
+ /**
482
+ * The examGuid the user is currently studying. Kept in sync with `currentUserExamMetadata`
483
+ * on every exam switch (see App Server `user-utils.updateCurrentExam`).
484
+ * Actively used by analytics: read live when aggregating the Active Subscriptions event,
485
+ * captured onto the Subscription Created event, and persisted on each Subscription at creation
486
+ * (`Subscription.currentExamGuid`). Do not remove without updating those flows.
487
+ */
488
+ currentExamGuid?: string
476
489
  currentApp?: string // DEPRECATED
477
490
  customerIOBackup?: CustomerIOBackup | Parse.Pointer
478
491
  onboardingCompleted?: boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.19.13",
3
+ "version": "1.19.15",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",