@saasquatch/program-boilerplate 3.10.1-2 → 3.10.1-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.
@@ -3,6 +3,13 @@
3
3
  */
4
4
  export type ProgramType = "ACQUISITION" | "LOYALTY" | "RETENTION";
5
5
  export type RSJsonNode = any;
6
+ export type ProgramGoal = {
7
+ goalId: string;
8
+ programId?: string;
9
+ count: number;
10
+ firstDate: number;
11
+ lastDate: number;
12
+ };
6
13
  /**
7
14
  * Defined in core under ProgramTriggerQuery.graphql
8
15
  */
@@ -12,6 +19,7 @@ export type User = {
12
19
  firstName?: string;
13
20
  lastName?: string;
14
21
  referredByReferral?: Referral;
22
+ programGoals: ProgramGoal[];
15
23
  [key: string]: any;
16
24
  };
17
25
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasquatch/program-boilerplate",
3
- "version": "3.10.1-2",
3
+ "version": "3.10.1-4",
4
4
  "description": "Boilerplate for writing programs",
5
5
  "main": "dist/index.js",
6
6
  "files": [