@uio-appu/nettskjema-utils
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -18,2 +18,6 @@ "use strict"; | ||
case 'DATE': | ||
case 'EMAIL': | ||
case 'NAME': | ||
case 'PHONE': | ||
case 'SUBMISSION_REFERENCE': | ||
case 'NUMBER': | ||
@@ -20,0 +24,0 @@ case 'text': |
@@ -34,2 +34,6 @@ "use strict"; | ||
case 'DATE': | ||
case 'EMAIL': | ||
case 'NAME': | ||
case 'PHONE': | ||
case 'SUBMISSION_REFERENCE': | ||
case 'NUMBER': | ||
@@ -36,0 +40,0 @@ case 'text': |
@@ -40,3 +40,3 @@ export type NettskjemaInstance = 'dev' | 'dev2' | 'test' | 'prod'; | ||
type TextField = { | ||
type: 'QUESTION' | 'QUESTION_MULTILINE' | 'NUMBER' | 'LINEAR_SCALE' | 'DATE' | 'text' | 'linearScale' | 'number'; | ||
type: 'QUESTION' | 'QUESTION_MULTILINE' | 'NUMBER' | 'LINEAR_SCALE' | 'DATE' | 'EMAIL' | 'NAME' | 'PHONE' | 'SUBMISSION_REFERENCE' | 'text' | 'linearScale' | 'number'; | ||
name: string; | ||
@@ -43,0 +43,0 @@ answer: string; |
{ | ||
"name": "@uio-appu/nettskjema-utils", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Utility functions for webapps integrating with Nettskjema", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
54349
843