@community-kitchens/apiinterfaces 1.0.12 → 1.0.13

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/index.ts CHANGED
@@ -5,3 +5,4 @@ export * from "./mealProgram/types";
5
5
  export * from "./text/types";
6
6
  export * from "./volunteer/types";
7
7
  export * from "./homeChef/types";
8
+ export * from "./sign/types";
@@ -188,17 +188,12 @@ export interface ClientMeal {
188
188
  logged: boolean;
189
189
  }
190
190
 
191
- export type AddMealsArgs =
192
- | {
193
- meals: number;
194
- clientId: string;
195
- }
196
- | {
197
- meals: number;
198
- clientId: string;
199
- findByCCode: boolean;
200
- date: string;
201
- };
191
+ export type AddMealsArgs = {
192
+ meals: number;
193
+ clientId: string;
194
+ findByCCode?: boolean;
195
+ date?: string;
196
+ };
202
197
 
203
198
  export interface GetClientMealsResponse {
204
199
  clientMeals: ClientMeal[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@community-kitchens/apiinterfaces",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "",
package/sign/types.ts ADDED
@@ -0,0 +1,5 @@
1
+ export interface SignArgs {
2
+ doc?: string;
3
+ contactId?: string;
4
+ hoursId?: string;
5
+ }