@opencrvs/toolkit 1.8.1-rc.032a7f2 → 1.8.1-rc.06c1a33

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.
@@ -45,7 +45,7 @@ export declare function eventPayloadGenerator(rng: () => number): {
45
45
  };
46
46
  draft: ({ eventId, actionType, annotation }: {
47
47
  eventId: UUID;
48
- actionType: Draft["action"]["type"];
48
+ actionType: ActionType;
49
49
  annotation?: Record<string, any>;
50
50
  }, input?: Partial<Draft>) => Draft;
51
51
  actions: {
@@ -93,6 +93,13 @@ export declare function eventPayloadGenerator(rng: () => number): {
93
93
  path: string;
94
94
  originalFilename: string;
95
95
  }[] | {
96
+ data?: any;
97
+ error?: {
98
+ message: string;
99
+ statusCode: number | null;
100
+ } | null | undefined;
101
+ loading?: boolean | null | undefined;
102
+ } | {
96
103
  start: string;
97
104
  end: string;
98
105
  } | null | undefined>;
@@ -149,6 +156,13 @@ export declare function eventPayloadGenerator(rng: () => number): {
149
156
  path: string;
150
157
  originalFilename: string;
151
158
  }[] | {
159
+ data?: any;
160
+ error?: {
161
+ message: string;
162
+ statusCode: number | null;
163
+ } | null | undefined;
164
+ loading?: boolean | null | undefined;
165
+ } | {
152
166
  start: string;
153
167
  end: string;
154
168
  } | null | undefined>;
@@ -199,6 +213,13 @@ export declare function eventPayloadGenerator(rng: () => number): {
199
213
  path: string;
200
214
  originalFilename: string;
201
215
  }[] | {
216
+ data?: any;
217
+ error?: {
218
+ message: string;
219
+ statusCode: number | null;
220
+ } | null | undefined;
221
+ loading?: boolean | null | undefined;
222
+ } | {
202
223
  start: string;
203
224
  end: string;
204
225
  } | null | undefined>;
@@ -266,6 +287,13 @@ export declare function eventPayloadGenerator(rng: () => number): {
266
287
  path: string;
267
288
  originalFilename: string;
268
289
  }[] | {
290
+ data?: any;
291
+ error?: {
292
+ message: string;
293
+ statusCode: number | null;
294
+ } | null | undefined;
295
+ loading?: boolean | null | undefined;
296
+ } | {
269
297
  start: string;
270
298
  end: string;
271
299
  } | null | undefined>;
@@ -335,6 +363,13 @@ export declare function eventPayloadGenerator(rng: () => number): {
335
363
  path: string;
336
364
  originalFilename: string;
337
365
  }[] | {
366
+ data?: any;
367
+ error?: {
368
+ message: string;
369
+ statusCode: number | null;
370
+ } | null | undefined;
371
+ loading?: boolean | null | undefined;
372
+ } | {
338
373
  start: string;
339
374
  end: string;
340
375
  } | null | undefined>;
@@ -398,6 +433,13 @@ export declare function eventPayloadGenerator(rng: () => number): {
398
433
  path: string;
399
434
  originalFilename: string;
400
435
  }[] | {
436
+ data?: any;
437
+ error?: {
438
+ message: string;
439
+ statusCode: number | null;
440
+ } | null | undefined;
441
+ loading?: boolean | null | undefined;
442
+ } | {
401
443
  start: string;
402
444
  end: string;
403
445
  } | null | undefined>;
@@ -458,7 +500,6 @@ export declare function generateEventDraftDocument({ eventId, actionType, rng, d
458
500
  actionType: ActionType;
459
501
  rng?: () => number;
460
502
  declaration?: EventState;
461
- annotation?: EventState;
462
503
  }): Draft;
463
504
  export declare function getRandomDatetime(rng: () => number, start: Date, end: Date): string;
464
505
  export declare function getRandomDate(rng: () => number, start: string, end: string): string;