mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-12 23:36:00 +00:00
type event seed using flex layout (#355)
This commit is contained in:
parent
6793a33fac
commit
55f9bb514b
@ -12,6 +12,10 @@
|
||||
{
|
||||
"_sync_id": "ea97b565-037c-4d0c-bcec-5e38793a6e7f",
|
||||
"hideInputLabel": false
|
||||
},
|
||||
{
|
||||
"_sync_id": "b0c52d6e-b3d2-4e3b-89e2-065be324e27b",
|
||||
"hideInputLabel": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
{
|
||||
"collection": "startEnd",
|
||||
"meta": {
|
||||
"insert_order": 1,
|
||||
"create": true,
|
||||
"update": true,
|
||||
"delete": true,
|
||||
"preserve_ids": true,
|
||||
"ignore_on_update": []
|
||||
},
|
||||
"data": [
|
||||
{
|
||||
"_sync_id": "0b5e5f0a-76a4-407f-84ab-2fd718965909"
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -16,6 +16,14 @@
|
||||
"hideWhenEmpty": true,
|
||||
"showMarkdownHint": true,
|
||||
"size": "full"
|
||||
},
|
||||
{
|
||||
"_sync_id": "94f6af1d-77e5-49ed-937b-6b9addc4f8ac",
|
||||
"dataField": "text",
|
||||
"heading": null,
|
||||
"hideWhenEmpty": true,
|
||||
"showMarkdownHint": true,
|
||||
"size": "full"
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -28,7 +28,7 @@
|
||||
"date_created": "2025-01-01T00:00:00.000Z",
|
||||
"user_updated": null,
|
||||
"date_updated": null,
|
||||
"template": "tabs",
|
||||
"template": "flex",
|
||||
"show_text": true,
|
||||
"show_profile_button" : true,
|
||||
"show_start_end" : true
|
||||
|
||||
@ -23,4 +23,44 @@ ON CONFLICT (id) DO UPDATE
|
||||
SET collection = excluded.collection,
|
||||
item = excluded.item,
|
||||
sort = excluded.sort,
|
||||
types_id = excluded.types_id;
|
||||
types_id = excluded.types_id;
|
||||
|
||||
-- Type: event
|
||||
INSERT INTO public."types_profileTemplate" (collection, id, item, sort, types_id)
|
||||
SELECT
|
||||
'startEnd', '1', '0b5e5f0a-76a4-407f-84ab-2fd718965909' , '1', types.id
|
||||
FROM
|
||||
public.types as types
|
||||
WHERE
|
||||
name = 'event'
|
||||
ON CONFLICT (id) DO UPDATE
|
||||
SET collection = excluded.collection,
|
||||
item = excluded.item,
|
||||
sort = excluded.sort,
|
||||
types_id = excluded.types_id;
|
||||
|
||||
INSERT INTO public."types_profileTemplate" (collection, id, item, sort, types_id)
|
||||
SELECT
|
||||
'texts', '2', '94f6af1d-77e5-49ed-937b-6b9addc4f8ac' , '2', types.id
|
||||
FROM
|
||||
public.types as types
|
||||
WHERE
|
||||
name = 'event'
|
||||
ON CONFLICT (id) DO UPDATE
|
||||
SET collection = excluded.collection,
|
||||
item = excluded.item,
|
||||
sort = excluded.sort,
|
||||
types_id = excluded.types_id;
|
||||
|
||||
INSERT INTO public."types_profileTemplate" (collection, id, item, sort, types_id)
|
||||
SELECT
|
||||
'gallery', '3', 'b0c52d6e-b3d2-4e3b-89e2-065be324e27b' , '3', types.id
|
||||
FROM
|
||||
public.types as types
|
||||
WHERE
|
||||
name = 'event'
|
||||
ON CONFLICT (id) DO UPDATE
|
||||
SET collection = excluded.collection,
|
||||
item = excluded.item,
|
||||
sort = excluded.sort,
|
||||
types_id = excluded.types_id;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user