@resconet/qp-bridge 1.1.0 → 1.1.1-alpha.30
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.js +1 -1
- package/index.mjs +1154 -1356
- package/lib/qp-bridge-types.d.ts +80 -80
- package/package.json +6 -6
package/lib/qp-bridge-types.d.ts
CHANGED
|
@@ -9,14 +9,14 @@ export declare const qpBridgeMessageSchema: z.ZodObject<{
|
|
|
9
9
|
type: "qp-bridge";
|
|
10
10
|
id?: string | undefined;
|
|
11
11
|
}>;
|
|
12
|
-
export declare const onAnswerChangeMessageSchema: z.ZodObject<
|
|
12
|
+
export declare const onAnswerChangeMessageSchema: z.ZodObject<{
|
|
13
13
|
type: z.ZodLiteral<"qp-bridge">;
|
|
14
14
|
id: z.ZodOptional<z.ZodString>;
|
|
15
|
-
}
|
|
15
|
+
} & {
|
|
16
16
|
status: z.ZodLiteral<"answerChanged">;
|
|
17
17
|
question: z.ZodString;
|
|
18
18
|
answer: z.ZodUnknown;
|
|
19
|
-
}
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
20
|
type: "qp-bridge";
|
|
21
21
|
status: "answerChanged";
|
|
22
22
|
question: string;
|
|
@@ -29,12 +29,12 @@ export declare const onAnswerChangeMessageSchema: z.ZodObject<z.objectUtil.exten
|
|
|
29
29
|
id?: string | undefined;
|
|
30
30
|
answer?: unknown;
|
|
31
31
|
}>;
|
|
32
|
-
export declare const responseSuccessMessageSchema: z.ZodObject<
|
|
32
|
+
export declare const responseSuccessMessageSchema: z.ZodObject<{
|
|
33
33
|
type: z.ZodLiteral<"qp-bridge">;
|
|
34
34
|
id: z.ZodOptional<z.ZodString>;
|
|
35
|
-
}
|
|
35
|
+
} & {
|
|
36
36
|
status: z.ZodLiteral<"success">;
|
|
37
|
-
}
|
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
38
|
type: "qp-bridge";
|
|
39
39
|
status: "success";
|
|
40
40
|
id?: string | undefined;
|
|
@@ -43,13 +43,13 @@ export declare const responseSuccessMessageSchema: z.ZodObject<z.objectUtil.exte
|
|
|
43
43
|
status: "success";
|
|
44
44
|
id?: string | undefined;
|
|
45
45
|
}>;
|
|
46
|
-
export declare const responseErrorMessageSchema: z.ZodObject<
|
|
46
|
+
export declare const responseErrorMessageSchema: z.ZodObject<{
|
|
47
47
|
type: z.ZodLiteral<"qp-bridge">;
|
|
48
48
|
id: z.ZodOptional<z.ZodString>;
|
|
49
|
-
}
|
|
49
|
+
} & {
|
|
50
50
|
status: z.ZodLiteral<"error">;
|
|
51
51
|
message: z.ZodString;
|
|
52
|
-
}
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
53
|
type: "qp-bridge";
|
|
54
54
|
status: "error";
|
|
55
55
|
message: string;
|
|
@@ -159,13 +159,13 @@ export declare const groupOptionalScheme: z.ZodObject<{
|
|
|
159
159
|
hidden?: boolean | undefined;
|
|
160
160
|
collapsed?: boolean | undefined;
|
|
161
161
|
}>;
|
|
162
|
-
export declare const getQuestionRequestMessageSchema: z.ZodObject<
|
|
162
|
+
export declare const getQuestionRequestMessageSchema: z.ZodObject<{
|
|
163
163
|
type: z.ZodLiteral<"qp-bridge">;
|
|
164
164
|
id: z.ZodOptional<z.ZodString>;
|
|
165
|
-
}
|
|
165
|
+
} & {
|
|
166
166
|
action: z.ZodLiteral<"getQuestion">;
|
|
167
167
|
question: z.ZodString;
|
|
168
|
-
}
|
|
168
|
+
}, "strip", z.ZodTypeAny, {
|
|
169
169
|
type: "qp-bridge";
|
|
170
170
|
question: string;
|
|
171
171
|
action: "getQuestion";
|
|
@@ -176,12 +176,12 @@ export declare const getQuestionRequestMessageSchema: z.ZodObject<z.objectUtil.e
|
|
|
176
176
|
action: "getQuestion";
|
|
177
177
|
id?: string | undefined;
|
|
178
178
|
}>;
|
|
179
|
-
export declare const getQuestionSuccessResponseMessageSchema: z.ZodObject<
|
|
179
|
+
export declare const getQuestionSuccessResponseMessageSchema: z.ZodObject<{
|
|
180
180
|
type: z.ZodLiteral<"qp-bridge">;
|
|
181
181
|
id: z.ZodOptional<z.ZodString>;
|
|
182
|
-
}
|
|
182
|
+
} & {
|
|
183
183
|
status: z.ZodLiteral<"success">;
|
|
184
|
-
}
|
|
184
|
+
} & {
|
|
185
185
|
question: z.ZodObject<{
|
|
186
186
|
semanticColor: z.ZodOptional<z.ZodString>;
|
|
187
187
|
label: z.ZodString;
|
|
@@ -210,7 +210,7 @@ export declare const getQuestionSuccessResponseMessageSchema: z.ZodObject<z.obje
|
|
|
210
210
|
semanticColor?: string | undefined;
|
|
211
211
|
errorMessage?: string | undefined;
|
|
212
212
|
}>;
|
|
213
|
-
}
|
|
213
|
+
}, "strip", z.ZodTypeAny, {
|
|
214
214
|
type: "qp-bridge";
|
|
215
215
|
status: "success";
|
|
216
216
|
question: {
|
|
@@ -239,10 +239,10 @@ export declare const getQuestionSuccessResponseMessageSchema: z.ZodObject<z.obje
|
|
|
239
239
|
};
|
|
240
240
|
id?: string | undefined;
|
|
241
241
|
}>;
|
|
242
|
-
export declare const setQuestionRequestMessageSchema: z.ZodObject<
|
|
242
|
+
export declare const setQuestionRequestMessageSchema: z.ZodObject<{
|
|
243
243
|
type: z.ZodLiteral<"qp-bridge">;
|
|
244
244
|
id: z.ZodOptional<z.ZodString>;
|
|
245
|
-
}
|
|
245
|
+
} & {
|
|
246
246
|
action: z.ZodLiteral<"setQuestion">;
|
|
247
247
|
question: z.ZodString;
|
|
248
248
|
questionData: z.ZodObject<{
|
|
@@ -273,7 +273,7 @@ export declare const setQuestionRequestMessageSchema: z.ZodObject<z.objectUtil.e
|
|
|
273
273
|
hidden?: boolean | undefined;
|
|
274
274
|
errorMessage?: string | undefined;
|
|
275
275
|
}>;
|
|
276
|
-
}
|
|
276
|
+
}, "strip", z.ZodTypeAny, {
|
|
277
277
|
type: "qp-bridge";
|
|
278
278
|
question: string;
|
|
279
279
|
action: "setQuestion";
|
|
@@ -304,13 +304,13 @@ export declare const setQuestionRequestMessageSchema: z.ZodObject<z.objectUtil.e
|
|
|
304
304
|
};
|
|
305
305
|
id?: string | undefined;
|
|
306
306
|
}>;
|
|
307
|
-
export declare const getGroupRequestMessageSchema: z.ZodObject<
|
|
307
|
+
export declare const getGroupRequestMessageSchema: z.ZodObject<{
|
|
308
308
|
type: z.ZodLiteral<"qp-bridge">;
|
|
309
309
|
id: z.ZodOptional<z.ZodString>;
|
|
310
|
-
}
|
|
310
|
+
} & {
|
|
311
311
|
action: z.ZodLiteral<"getGroup">;
|
|
312
312
|
group: z.ZodString;
|
|
313
|
-
}
|
|
313
|
+
}, "strip", z.ZodTypeAny, {
|
|
314
314
|
type: "qp-bridge";
|
|
315
315
|
action: "getGroup";
|
|
316
316
|
group: string;
|
|
@@ -321,12 +321,12 @@ export declare const getGroupRequestMessageSchema: z.ZodObject<z.objectUtil.exte
|
|
|
321
321
|
group: string;
|
|
322
322
|
id?: string | undefined;
|
|
323
323
|
}>;
|
|
324
|
-
export declare const getGroupSuccessResponseMessageSchema: z.ZodObject<
|
|
324
|
+
export declare const getGroupSuccessResponseMessageSchema: z.ZodObject<{
|
|
325
325
|
type: z.ZodLiteral<"qp-bridge">;
|
|
326
326
|
id: z.ZodOptional<z.ZodString>;
|
|
327
|
-
}
|
|
327
|
+
} & {
|
|
328
328
|
status: z.ZodLiteral<"success">;
|
|
329
|
-
}
|
|
329
|
+
} & {
|
|
330
330
|
group: z.ZodObject<{
|
|
331
331
|
label: z.ZodString;
|
|
332
332
|
hidden: z.ZodBoolean;
|
|
@@ -340,7 +340,7 @@ export declare const getGroupSuccessResponseMessageSchema: z.ZodObject<z.objectU
|
|
|
340
340
|
hidden: boolean;
|
|
341
341
|
collapsed: boolean;
|
|
342
342
|
}>;
|
|
343
|
-
}
|
|
343
|
+
}, "strip", z.ZodTypeAny, {
|
|
344
344
|
type: "qp-bridge";
|
|
345
345
|
status: "success";
|
|
346
346
|
group: {
|
|
@@ -359,14 +359,14 @@ export declare const getGroupSuccessResponseMessageSchema: z.ZodObject<z.objectU
|
|
|
359
359
|
};
|
|
360
360
|
id?: string | undefined;
|
|
361
361
|
}>;
|
|
362
|
-
export declare const canSaveSuccessResponseMessageSchema: z.ZodObject<
|
|
362
|
+
export declare const canSaveSuccessResponseMessageSchema: z.ZodObject<{
|
|
363
363
|
type: z.ZodLiteral<"qp-bridge">;
|
|
364
364
|
id: z.ZodOptional<z.ZodString>;
|
|
365
|
-
}
|
|
365
|
+
} & {
|
|
366
366
|
status: z.ZodLiteral<"success">;
|
|
367
|
-
}
|
|
367
|
+
} & {
|
|
368
368
|
canSave: z.ZodBoolean;
|
|
369
|
-
}
|
|
369
|
+
}, "strip", z.ZodTypeAny, {
|
|
370
370
|
type: "qp-bridge";
|
|
371
371
|
status: "success";
|
|
372
372
|
canSave: boolean;
|
|
@@ -377,12 +377,12 @@ export declare const canSaveSuccessResponseMessageSchema: z.ZodObject<z.objectUt
|
|
|
377
377
|
canSave: boolean;
|
|
378
378
|
id?: string | undefined;
|
|
379
379
|
}>;
|
|
380
|
-
export declare const canSaveRequestMessageSchema: z.ZodObject<
|
|
380
|
+
export declare const canSaveRequestMessageSchema: z.ZodObject<{
|
|
381
381
|
type: z.ZodLiteral<"qp-bridge">;
|
|
382
382
|
id: z.ZodOptional<z.ZodString>;
|
|
383
|
-
}
|
|
383
|
+
} & {
|
|
384
384
|
action: z.ZodLiteral<"canSave">;
|
|
385
|
-
}
|
|
385
|
+
}, "strip", z.ZodTypeAny, {
|
|
386
386
|
type: "qp-bridge";
|
|
387
387
|
action: "canSave";
|
|
388
388
|
id?: string | undefined;
|
|
@@ -391,10 +391,10 @@ export declare const canSaveRequestMessageSchema: z.ZodObject<z.objectUtil.exten
|
|
|
391
391
|
action: "canSave";
|
|
392
392
|
id?: string | undefined;
|
|
393
393
|
}>;
|
|
394
|
-
export declare const setGroupRequestMessageSchema: z.ZodObject<
|
|
394
|
+
export declare const setGroupRequestMessageSchema: z.ZodObject<{
|
|
395
395
|
type: z.ZodLiteral<"qp-bridge">;
|
|
396
396
|
id: z.ZodOptional<z.ZodString>;
|
|
397
|
-
}
|
|
397
|
+
} & {
|
|
398
398
|
action: z.ZodLiteral<"setGroup">;
|
|
399
399
|
group: z.ZodString;
|
|
400
400
|
groupData: z.ZodObject<{
|
|
@@ -410,7 +410,7 @@ export declare const setGroupRequestMessageSchema: z.ZodObject<z.objectUtil.exte
|
|
|
410
410
|
hidden?: boolean | undefined;
|
|
411
411
|
collapsed?: boolean | undefined;
|
|
412
412
|
}>;
|
|
413
|
-
}
|
|
413
|
+
}, "strip", z.ZodTypeAny, {
|
|
414
414
|
type: "qp-bridge";
|
|
415
415
|
action: "setGroup";
|
|
416
416
|
group: string;
|
|
@@ -431,14 +431,14 @@ export declare const setGroupRequestMessageSchema: z.ZodObject<z.objectUtil.exte
|
|
|
431
431
|
};
|
|
432
432
|
id?: string | undefined;
|
|
433
433
|
}>;
|
|
434
|
-
export declare const setAnswerRequestMessageSchema: z.ZodObject<
|
|
434
|
+
export declare const setAnswerRequestMessageSchema: z.ZodObject<{
|
|
435
435
|
type: z.ZodLiteral<"qp-bridge">;
|
|
436
436
|
id: z.ZodOptional<z.ZodString>;
|
|
437
|
-
}
|
|
437
|
+
} & {
|
|
438
438
|
action: z.ZodLiteral<"setAnswer">;
|
|
439
439
|
question: z.ZodString;
|
|
440
440
|
answer: z.ZodUnknown;
|
|
441
|
-
}
|
|
441
|
+
}, "strip", z.ZodTypeAny, {
|
|
442
442
|
type: "qp-bridge";
|
|
443
443
|
question: string;
|
|
444
444
|
action: "setAnswer";
|
|
@@ -451,12 +451,12 @@ export declare const setAnswerRequestMessageSchema: z.ZodObject<z.objectUtil.ext
|
|
|
451
451
|
id?: string | undefined;
|
|
452
452
|
answer?: unknown;
|
|
453
453
|
}>;
|
|
454
|
-
export declare const busyIndicatorStartRequestMessageSchema: z.ZodObject<
|
|
454
|
+
export declare const busyIndicatorStartRequestMessageSchema: z.ZodObject<{
|
|
455
455
|
type: z.ZodLiteral<"qp-bridge">;
|
|
456
456
|
id: z.ZodOptional<z.ZodString>;
|
|
457
|
-
}
|
|
457
|
+
} & {
|
|
458
458
|
action: z.ZodLiteral<"busyIndicatorStart">;
|
|
459
|
-
}
|
|
459
|
+
}, "strip", z.ZodTypeAny, {
|
|
460
460
|
type: "qp-bridge";
|
|
461
461
|
action: "busyIndicatorStart";
|
|
462
462
|
id?: string | undefined;
|
|
@@ -465,12 +465,12 @@ export declare const busyIndicatorStartRequestMessageSchema: z.ZodObject<z.objec
|
|
|
465
465
|
action: "busyIndicatorStart";
|
|
466
466
|
id?: string | undefined;
|
|
467
467
|
}>;
|
|
468
|
-
export declare const busyIndicatorEndRequestMessageSchema: z.ZodObject<
|
|
468
|
+
export declare const busyIndicatorEndRequestMessageSchema: z.ZodObject<{
|
|
469
469
|
type: z.ZodLiteral<"qp-bridge">;
|
|
470
470
|
id: z.ZodOptional<z.ZodString>;
|
|
471
|
-
}
|
|
471
|
+
} & {
|
|
472
472
|
action: z.ZodLiteral<"busyIndicatorEnd">;
|
|
473
|
-
}
|
|
473
|
+
}, "strip", z.ZodTypeAny, {
|
|
474
474
|
type: "qp-bridge";
|
|
475
475
|
action: "busyIndicatorEnd";
|
|
476
476
|
id?: string | undefined;
|
|
@@ -479,12 +479,12 @@ export declare const busyIndicatorEndRequestMessageSchema: z.ZodObject<z.objectU
|
|
|
479
479
|
action: "busyIndicatorEnd";
|
|
480
480
|
id?: string | undefined;
|
|
481
481
|
}>;
|
|
482
|
-
export declare const saveQuestionnaireRequestMessageSchema: z.ZodObject<
|
|
482
|
+
export declare const saveQuestionnaireRequestMessageSchema: z.ZodObject<{
|
|
483
483
|
type: z.ZodLiteral<"qp-bridge">;
|
|
484
484
|
id: z.ZodOptional<z.ZodString>;
|
|
485
|
-
}
|
|
485
|
+
} & {
|
|
486
486
|
action: z.ZodLiteral<"saveQuestionnaire">;
|
|
487
|
-
}
|
|
487
|
+
}, "strip", z.ZodTypeAny, {
|
|
488
488
|
type: "qp-bridge";
|
|
489
489
|
action: "saveQuestionnaire";
|
|
490
490
|
id?: string | undefined;
|
|
@@ -493,12 +493,12 @@ export declare const saveQuestionnaireRequestMessageSchema: z.ZodObject<z.object
|
|
|
493
493
|
action: "saveQuestionnaire";
|
|
494
494
|
id?: string | undefined;
|
|
495
495
|
}>;
|
|
496
|
-
export declare const completeAndCloseQuestionnaireRequestMessageSchema: z.ZodObject<
|
|
496
|
+
export declare const completeAndCloseQuestionnaireRequestMessageSchema: z.ZodObject<{
|
|
497
497
|
type: z.ZodLiteral<"qp-bridge">;
|
|
498
498
|
id: z.ZodOptional<z.ZodString>;
|
|
499
|
-
}
|
|
499
|
+
} & {
|
|
500
500
|
action: z.ZodLiteral<"completeAndCloseQuestionnaire">;
|
|
501
|
-
}
|
|
501
|
+
}, "strip", z.ZodTypeAny, {
|
|
502
502
|
type: "qp-bridge";
|
|
503
503
|
action: "completeAndCloseQuestionnaire";
|
|
504
504
|
id?: string | undefined;
|
|
@@ -507,13 +507,13 @@ export declare const completeAndCloseQuestionnaireRequestMessageSchema: z.ZodObj
|
|
|
507
507
|
action: "completeAndCloseQuestionnaire";
|
|
508
508
|
id?: string | undefined;
|
|
509
509
|
}>;
|
|
510
|
-
export declare const executeCustomCommandRequestMessageSchema: z.ZodObject<
|
|
510
|
+
export declare const executeCustomCommandRequestMessageSchema: z.ZodObject<{
|
|
511
511
|
type: z.ZodLiteral<"qp-bridge">;
|
|
512
512
|
id: z.ZodOptional<z.ZodString>;
|
|
513
|
-
}
|
|
513
|
+
} & {
|
|
514
514
|
action: z.ZodLiteral<"executeCustomCommand">;
|
|
515
515
|
commandName: z.ZodString;
|
|
516
|
-
}
|
|
516
|
+
}, "strip", z.ZodTypeAny, {
|
|
517
517
|
type: "qp-bridge";
|
|
518
518
|
action: "executeCustomCommand";
|
|
519
519
|
commandName: string;
|
|
@@ -524,13 +524,13 @@ export declare const executeCustomCommandRequestMessageSchema: z.ZodObject<z.obj
|
|
|
524
524
|
commandName: string;
|
|
525
525
|
id?: string | undefined;
|
|
526
526
|
}>;
|
|
527
|
-
export declare const fetchEntitiesRequestMessageSchema: z.ZodObject<
|
|
527
|
+
export declare const fetchEntitiesRequestMessageSchema: z.ZodObject<{
|
|
528
528
|
type: z.ZodLiteral<"qp-bridge">;
|
|
529
529
|
id: z.ZodOptional<z.ZodString>;
|
|
530
|
-
}
|
|
530
|
+
} & {
|
|
531
531
|
action: z.ZodLiteral<"fetchEntities">;
|
|
532
532
|
fetchXml: z.ZodString;
|
|
533
|
-
}
|
|
533
|
+
}, "strip", z.ZodTypeAny, {
|
|
534
534
|
type: "qp-bridge";
|
|
535
535
|
action: "fetchEntities";
|
|
536
536
|
fetchXml: string;
|
|
@@ -541,14 +541,14 @@ export declare const fetchEntitiesRequestMessageSchema: z.ZodObject<z.objectUtil
|
|
|
541
541
|
fetchXml: string;
|
|
542
542
|
id?: string | undefined;
|
|
543
543
|
}>;
|
|
544
|
-
export declare const fetchEntitiesSuccessResponseMessageSchema: z.ZodObject<
|
|
544
|
+
export declare const fetchEntitiesSuccessResponseMessageSchema: z.ZodObject<{
|
|
545
545
|
type: z.ZodLiteral<"qp-bridge">;
|
|
546
546
|
id: z.ZodOptional<z.ZodString>;
|
|
547
|
-
}
|
|
547
|
+
} & {
|
|
548
548
|
status: z.ZodLiteral<"success">;
|
|
549
|
-
}
|
|
549
|
+
} & {
|
|
550
550
|
entities: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
551
|
-
}
|
|
551
|
+
}, "strip", z.ZodTypeAny, {
|
|
552
552
|
type: "qp-bridge";
|
|
553
553
|
status: "success";
|
|
554
554
|
entities: Record<string, unknown>[];
|
|
@@ -559,14 +559,14 @@ export declare const fetchEntitiesSuccessResponseMessageSchema: z.ZodObject<z.ob
|
|
|
559
559
|
entities: Record<string, unknown>[];
|
|
560
560
|
id?: string | undefined;
|
|
561
561
|
}>;
|
|
562
|
-
export declare const getEntityByIdRequestMessageSchema: z.ZodObject<
|
|
562
|
+
export declare const getEntityByIdRequestMessageSchema: z.ZodObject<{
|
|
563
563
|
type: z.ZodLiteral<"qp-bridge">;
|
|
564
564
|
id: z.ZodOptional<z.ZodString>;
|
|
565
|
-
}
|
|
565
|
+
} & {
|
|
566
566
|
action: z.ZodLiteral<"getEntityById">;
|
|
567
567
|
entityName: z.ZodString;
|
|
568
568
|
entityId: z.ZodString;
|
|
569
|
-
}
|
|
569
|
+
}, "strip", z.ZodTypeAny, {
|
|
570
570
|
type: "qp-bridge";
|
|
571
571
|
action: "getEntityById";
|
|
572
572
|
entityName: string;
|
|
@@ -579,14 +579,14 @@ export declare const getEntityByIdRequestMessageSchema: z.ZodObject<z.objectUtil
|
|
|
579
579
|
entityId: string;
|
|
580
580
|
id?: string | undefined;
|
|
581
581
|
}>;
|
|
582
|
-
export declare const getEntityByIdSuccessResponseMessageSchema: z.ZodObject<
|
|
582
|
+
export declare const getEntityByIdSuccessResponseMessageSchema: z.ZodObject<{
|
|
583
583
|
type: z.ZodLiteral<"qp-bridge">;
|
|
584
584
|
id: z.ZodOptional<z.ZodString>;
|
|
585
|
-
}
|
|
585
|
+
} & {
|
|
586
586
|
status: z.ZodLiteral<"success">;
|
|
587
|
-
}
|
|
587
|
+
} & {
|
|
588
588
|
entity: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
589
|
-
}
|
|
589
|
+
}, "strip", z.ZodTypeAny, {
|
|
590
590
|
type: "qp-bridge";
|
|
591
591
|
status: "success";
|
|
592
592
|
entity: Record<string, unknown>;
|
|
@@ -597,13 +597,13 @@ export declare const getEntityByIdSuccessResponseMessageSchema: z.ZodObject<z.ob
|
|
|
597
597
|
entity: Record<string, unknown>;
|
|
598
598
|
id?: string | undefined;
|
|
599
599
|
}>;
|
|
600
|
-
export declare const saveEntityRequestMessageSchema: z.ZodObject<
|
|
600
|
+
export declare const saveEntityRequestMessageSchema: z.ZodObject<{
|
|
601
601
|
type: z.ZodLiteral<"qp-bridge">;
|
|
602
602
|
id: z.ZodOptional<z.ZodString>;
|
|
603
|
-
}
|
|
603
|
+
} & {
|
|
604
604
|
action: z.ZodLiteral<"saveEntity">;
|
|
605
605
|
entity: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
606
|
-
}
|
|
606
|
+
}, "strip", z.ZodTypeAny, {
|
|
607
607
|
type: "qp-bridge";
|
|
608
608
|
action: "saveEntity";
|
|
609
609
|
entity: Record<string, unknown>;
|
|
@@ -614,14 +614,14 @@ export declare const saveEntityRequestMessageSchema: z.ZodObject<z.objectUtil.ex
|
|
|
614
614
|
entity: Record<string, unknown>;
|
|
615
615
|
id?: string | undefined;
|
|
616
616
|
}>;
|
|
617
|
-
export declare const repeatGroupRequestMessageSchema: z.ZodObject<
|
|
617
|
+
export declare const repeatGroupRequestMessageSchema: z.ZodObject<{
|
|
618
618
|
type: z.ZodLiteral<"qp-bridge">;
|
|
619
619
|
id: z.ZodOptional<z.ZodString>;
|
|
620
|
-
}
|
|
620
|
+
} & {
|
|
621
621
|
action: z.ZodLiteral<"repeatGroup">;
|
|
622
622
|
parentGroupName: z.ZodString;
|
|
623
623
|
groupIndex: z.ZodNumber;
|
|
624
|
-
}
|
|
624
|
+
}, "strip", z.ZodTypeAny, {
|
|
625
625
|
type: "qp-bridge";
|
|
626
626
|
action: "repeatGroup";
|
|
627
627
|
parentGroupName: string;
|
|
@@ -634,13 +634,13 @@ export declare const repeatGroupRequestMessageSchema: z.ZodObject<z.objectUtil.e
|
|
|
634
634
|
groupIndex: number;
|
|
635
635
|
id?: string | undefined;
|
|
636
636
|
}>;
|
|
637
|
-
export declare const addNewGroupRequestMessageSchema: z.ZodObject<
|
|
637
|
+
export declare const addNewGroupRequestMessageSchema: z.ZodObject<{
|
|
638
638
|
type: z.ZodLiteral<"qp-bridge">;
|
|
639
639
|
id: z.ZodOptional<z.ZodString>;
|
|
640
|
-
}
|
|
640
|
+
} & {
|
|
641
641
|
action: z.ZodLiteral<"addNewGroup">;
|
|
642
642
|
groupName: z.ZodString;
|
|
643
|
-
}
|
|
643
|
+
}, "strip", z.ZodTypeAny, {
|
|
644
644
|
type: "qp-bridge";
|
|
645
645
|
action: "addNewGroup";
|
|
646
646
|
groupName: string;
|
|
@@ -651,14 +651,14 @@ export declare const addNewGroupRequestMessageSchema: z.ZodObject<z.objectUtil.e
|
|
|
651
651
|
groupName: string;
|
|
652
652
|
id?: string | undefined;
|
|
653
653
|
}>;
|
|
654
|
-
export declare const deleteGroupRequestMessageSchema: z.ZodObject<
|
|
654
|
+
export declare const deleteGroupRequestMessageSchema: z.ZodObject<{
|
|
655
655
|
type: z.ZodLiteral<"qp-bridge">;
|
|
656
656
|
id: z.ZodOptional<z.ZodString>;
|
|
657
|
-
}
|
|
657
|
+
} & {
|
|
658
658
|
action: z.ZodLiteral<"deleteGroup">;
|
|
659
659
|
parentGroupName: z.ZodString;
|
|
660
660
|
groupIndex: z.ZodNumber;
|
|
661
|
-
}
|
|
661
|
+
}, "strip", z.ZodTypeAny, {
|
|
662
662
|
type: "qp-bridge";
|
|
663
663
|
action: "deleteGroup";
|
|
664
664
|
parentGroupName: string;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@resconet/qp-bridge",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"dependencies": {
|
|
5
|
-
"zod": "^3.23.8",
|
|
6
|
-
"uuid": "^9.0.1"
|
|
7
|
-
},
|
|
3
|
+
"version": "1.1.1-alpha.30",
|
|
8
4
|
"main": "./index.js",
|
|
9
5
|
"module": "./index.mjs",
|
|
10
|
-
"typings": "./index.d.ts"
|
|
6
|
+
"typings": "./index.d.ts",
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"uuid": "^9.0.1",
|
|
9
|
+
"zod": "^3.23.8"
|
|
10
|
+
}
|
|
11
11
|
}
|