@planning-inspectorate/dynamic-forms 3.10.7 → 3.10.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/package.json
CHANGED
|
@@ -41,7 +41,7 @@ import { booleanToYesNoValue } from '../components/boolean/question.js';
|
|
|
41
41
|
* @param {Object} opts
|
|
42
42
|
* @param {string} [opts.reqParam]
|
|
43
43
|
* - optional request parameter to use as a key
|
|
44
|
-
* @returns {import('../controller').SaveDataFn}
|
|
44
|
+
* @returns {import('../controller.js').SaveDataFn}
|
|
45
45
|
*/
|
|
46
46
|
export function buildSaveDataToSession({ reqParam } = {}) {
|
|
47
47
|
return async ({
|
|
@@ -92,7 +92,7 @@ export function buildSaveDataToSession({ reqParam } = {}) {
|
|
|
92
92
|
/**
|
|
93
93
|
* Default save-to-session function with no request parameter
|
|
94
94
|
*
|
|
95
|
-
* @type {import('../controller').SaveDataFn}
|
|
95
|
+
* @type {import('../controller.js').SaveDataFn}
|
|
96
96
|
*/
|
|
97
97
|
export const saveDataToSession = buildSaveDataToSession();
|
|
98
98
|
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
* @param {Object} opts
|
|
37
37
|
* @param {string} [opts.reqParam]
|
|
38
38
|
* - optional request parameter to use as a key
|
|
39
|
-
* @returns {import('../controller').SaveDataFn}
|
|
39
|
+
* @returns {import('../controller.js').SaveDataFn}
|
|
40
40
|
*/
|
|
41
41
|
export function buildSaveDataToSession({ reqParam }?: {
|
|
42
42
|
reqParam?: string | undefined;
|
|
43
|
-
}):
|
|
43
|
+
}): import("../controller.js").SaveDataFn;
|
|
44
44
|
/**
|
|
45
45
|
* A function to clear journey answers from the session
|
|
46
46
|
*
|
|
@@ -82,7 +82,7 @@ export function buildGetJourneyResponseFromSession(journeyId: string, reqParam?:
|
|
|
82
82
|
/**
|
|
83
83
|
* Default save-to-session function with no request parameter
|
|
84
84
|
*
|
|
85
|
-
* @type {import('../controller').SaveDataFn}
|
|
85
|
+
* @type {import('../controller.js').SaveDataFn}
|
|
86
86
|
*/
|
|
87
|
-
export const saveDataToSession:
|
|
87
|
+
export const saveDataToSession: import("../controller.js").SaveDataFn;
|
|
88
88
|
//# sourceMappingURL=session-answer-store.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-answer-store.d.ts","sourceRoot":"","sources":["../../../src/lib/session-answer-store.js"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,sDAJG;IAAsB,QAAQ;CAE9B,
|
|
1
|
+
{"version":3,"file":"session-answer-store.d.ts","sourceRoot":"","sources":["../../../src/lib/session-answer-store.js"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,sDAJG;IAAsB,QAAQ;CAE9B,GAAU,OAAO,kBAAkB,EAAE,UAAU,CA8CjD;AASD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,gFANG;IAA0C,GAAG,EAArC,OAAO,SAAS,EAAE,OAAO;IACV,SAAS,EAAxB,MAAM;IACuB,WAAW;;;IACxB,QAAQ;CAChC,GAAU,IAAI,CAkBhB;AAED;;;;;;GAMG;AACH,8DAJW,MAAM,aACN,MAAM,GACJ,OAAO,SAAS,EAAE,OAAO,CA2BrC;AA/ED;;;;GAIG;AACH,gCAFU,OAAO,kBAAkB,EAAE,UAAU,CAEW"}
|