@23blocks/block-forms 3.1.5 → 3.1.6
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/dist/index.esm.js +5 -5
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -68,7 +68,7 @@ const formMapper = {
|
|
|
68
68
|
type: 'Form',
|
|
69
69
|
map: (resource)=>({
|
|
70
70
|
id: resource.id,
|
|
71
|
-
uniqueId: parseString(resource.attributes['unique_id'])
|
|
71
|
+
uniqueId: parseString(resource.attributes['unique_id']),
|
|
72
72
|
createdAt: parseDate(resource.attributes['created_at']) || new Date(),
|
|
73
73
|
updatedAt: parseDate(resource.attributes['updated_at']) || new Date(),
|
|
74
74
|
code: parseString(resource.attributes['code']) || '',
|
|
@@ -135,7 +135,7 @@ const formSchemaMapper = {
|
|
|
135
135
|
type: 'FormSchema',
|
|
136
136
|
map: (resource)=>({
|
|
137
137
|
id: resource.id,
|
|
138
|
-
uniqueId: parseString(resource.attributes['unique_id'])
|
|
138
|
+
uniqueId: parseString(resource.attributes['unique_id']),
|
|
139
139
|
createdAt: parseDate(resource.attributes['created_at']) || new Date(),
|
|
140
140
|
updatedAt: parseDate(resource.attributes['updated_at']) || new Date(),
|
|
141
141
|
formUniqueId: parseString(resource.attributes['form_unique_id']) || '',
|
|
@@ -208,7 +208,7 @@ const formSchemaVersionMapper = {
|
|
|
208
208
|
type: 'FormSchemaVersion',
|
|
209
209
|
map: (resource)=>({
|
|
210
210
|
id: resource.id,
|
|
211
|
-
uniqueId: parseString(resource.attributes['unique_id'])
|
|
211
|
+
uniqueId: parseString(resource.attributes['unique_id']),
|
|
212
212
|
createdAt: parseDate(resource.attributes['created_at']) || new Date(),
|
|
213
213
|
updatedAt: parseDate(resource.attributes['updated_at']) || new Date(),
|
|
214
214
|
formUniqueId: parseString(resource.attributes['form_unique_id']) || '',
|
|
@@ -276,7 +276,7 @@ const formInstanceMapper = {
|
|
|
276
276
|
type: 'FormInstance',
|
|
277
277
|
map: (resource)=>({
|
|
278
278
|
id: resource.id,
|
|
279
|
-
uniqueId: parseString(resource.attributes['unique_id'])
|
|
279
|
+
uniqueId: parseString(resource.attributes['unique_id']),
|
|
280
280
|
createdAt: parseDate(resource.attributes['created_at']) || new Date(),
|
|
281
281
|
updatedAt: parseDate(resource.attributes['updated_at']) || new Date(),
|
|
282
282
|
formSchemaUniqueId: parseString(resource.attributes['form_schema_unique_id']) || '',
|
|
@@ -358,7 +358,7 @@ const formSetMapper = {
|
|
|
358
358
|
type: 'FormSet',
|
|
359
359
|
map: (resource)=>({
|
|
360
360
|
id: resource.id,
|
|
361
|
-
uniqueId: parseString(resource.attributes['unique_id'])
|
|
361
|
+
uniqueId: parseString(resource.attributes['unique_id']),
|
|
362
362
|
createdAt: parseDate(resource.attributes['created_at']) || new Date(),
|
|
363
363
|
updatedAt: parseDate(resource.attributes['updated_at']) || new Date(),
|
|
364
364
|
code: parseString(resource.attributes['code']) || '',
|
package/package.json
CHANGED