@community-kitchens/apiinterfaces 1.0.6 → 1.0.8

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/auth/types.ts CHANGED
@@ -30,8 +30,8 @@ export interface ContactInfo {
30
30
  }
31
31
  export interface CreateUserArgs {
32
32
  username: string;
33
- password?: string;
34
- salesforceId?: string;
33
+ password: string;
34
+ salesforceId: string;
35
35
  }
36
36
 
37
37
  export type EditUserArgs = CreateUserArgs & {
package/form/formTypes.ts CHANGED
@@ -8,7 +8,7 @@ export type Service = {
8
8
  instructions?: string;
9
9
  };
10
10
 
11
- interface MealsPlusArgs {
11
+ export interface MealsPlusArgs {
12
12
  formData: {
13
13
  firstName: string;
14
14
  lastName: string;
@@ -19,12 +19,12 @@ interface MealsPlusArgs {
19
19
  name: "MEALS_PLUS";
20
20
  }
21
21
 
22
- interface CBOReportArgs {
22
+ export interface CBOReportArgs {
23
23
  formData: CBOReport;
24
24
  name: "CBO_REPORT";
25
25
  }
26
26
 
27
- interface VolunteerInterestFormArgs {
27
+ export interface VolunteerInterestFormArgs {
28
28
  formData: {
29
29
  email: string;
30
30
  firstName: string;
@@ -75,7 +75,7 @@ export interface FavoriteOptions {
75
75
  // name: "MEAL_SURVEY_V2";
76
76
  // }
77
77
 
78
- interface MealSurveyArgsV3 {
78
+ export interface MealSurveyArgsV3 {
79
79
  formData: {
80
80
  language: Language;
81
81
  age?: string;
@@ -107,7 +107,7 @@ interface MealSurveyArgsV3 {
107
107
  name: "MEAL_SURVEY_V3";
108
108
  }
109
109
 
110
- interface CulinaryTrainingArgs {
110
+ export interface CulinaryTrainingArgs {
111
111
  formData: {
112
112
  email: string;
113
113
  firstName: string;
@@ -121,7 +121,7 @@ interface CulinaryTrainingArgs {
121
121
  name: "CULINARY_TRAINING";
122
122
  }
123
123
 
124
- interface SNAPSurveyArgs {
124
+ export interface SNAPSurveyArgs {
125
125
  formData: {
126
126
  receiveSNAP: boolean;
127
127
  november?: boolean;
@@ -132,7 +132,7 @@ interface SNAPSurveyArgs {
132
132
  name: "SNAP_SURVEY";
133
133
  }
134
134
 
135
- interface HomeChefPollArgs {
135
+ export interface HomeChefPollArgs {
136
136
  formData: {
137
137
  city: string;
138
138
  miles: string;
@@ -142,7 +142,7 @@ interface HomeChefPollArgs {
142
142
  name: "HOME_CHEF_POLL";
143
143
  }
144
144
 
145
- interface HomeChefOrientationArgs {
145
+ export interface HomeChefOrientationArgs {
146
146
  formData: {
147
147
  email: string;
148
148
  firstName: string;
package/homeChef/types.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Job, Shift, VolunteerHours } from "../types";
1
+ import { Job, Shift, VolunteerHours } from "../volunteer/types";
2
2
 
3
3
  export interface AppNotification {
4
4
  payload: { title: string; body: string };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@community-kitchens/apiinterfaces",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "",