Compare commits
3 Commits
b0c5e4c20f
...
193b357d9c
| Author | SHA1 | Date | |
|---|---|---|---|
| 193b357d9c | |||
| 470857305b | |||
| 431433a3a0 |
@@ -1,5 +1,23 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## v0.1.14
|
||||||
|
|
||||||
|
[compare changes](https://gitea.websimple.com/wp-sites/wp-headless/compare/v0.1.13...v0.1.14)
|
||||||
|
|
||||||
|
### 🚀 Enhancements
|
||||||
|
|
||||||
|
- Replace eslint => oxlint + oxfmt (9bb09b8)
|
||||||
|
- VSCode launch configurations (fdf32bb)
|
||||||
|
- Project.code-workspace (71a48de)
|
||||||
|
- UseLayoutWrapper (3ec98fd)
|
||||||
|
- Auth middleware (fc6168e)
|
||||||
|
- UiLoadMore (e9d6ca2)
|
||||||
|
|
||||||
|
### 🩹 Fixes
|
||||||
|
|
||||||
|
- Wrangler config (db83170)
|
||||||
|
- Abstract social profiles should not be non-null (b0c5e4c)
|
||||||
|
|
||||||
## v0.1.13
|
## v0.1.13
|
||||||
|
|
||||||
[compare changes](https://gitea.websimple.com/wp-sites/wp-headless/compare/v0.1.12...v0.1.13)
|
[compare changes](https://gitea.websimple.com/wp-sites/wp-headless/compare/v0.1.12...v0.1.13)
|
||||||
|
|||||||
@@ -1,86 +1,84 @@
|
|||||||
{
|
{
|
||||||
"key": "group_abstract_social",
|
"key": "group_abstract_social",
|
||||||
"title": "Abstract - Social",
|
"title": "Abstract - Social",
|
||||||
"fields": [
|
"fields": [
|
||||||
|
{
|
||||||
|
"key": "field_6855a1d643408",
|
||||||
|
"label": "Médias sociaux",
|
||||||
|
"name": "profiles",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "repeater",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 0,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"acfe_repeater_stylised_button": 0,
|
||||||
|
"layout": "table",
|
||||||
|
"pagination": 0,
|
||||||
|
"min": 0,
|
||||||
|
"max": 0,
|
||||||
|
"collapsed": "",
|
||||||
|
"button_label": "Ajouter un élément",
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "profiles",
|
||||||
|
"graphql_non_null": 0,
|
||||||
|
"rows_per_page": 20,
|
||||||
|
"sub_fields": [
|
||||||
{
|
{
|
||||||
"key": "field_6855a1d643408",
|
"key": "field_6855a7e143409",
|
||||||
"label": "Médias sociaux",
|
"label": "URL",
|
||||||
"name": "profiles",
|
"name": "url",
|
||||||
"aria-label": "",
|
"aria-label": "",
|
||||||
"type": "repeater",
|
"type": "url",
|
||||||
"instructions": "",
|
"instructions": "",
|
||||||
"required": 0,
|
"required": 1,
|
||||||
"conditional_logic": 0,
|
"conditional_logic": 0,
|
||||||
"wrapper": {
|
"wrapper": {
|
||||||
"width": "",
|
"width": "",
|
||||||
"class": "",
|
"class": "",
|
||||||
"id": ""
|
"id": ""
|
||||||
},
|
},
|
||||||
"acfe_repeater_stylised_button": 0,
|
"default_value": "",
|
||||||
"layout": "table",
|
"allow_in_bindings": 0,
|
||||||
"pagination": 0,
|
"placeholder": "",
|
||||||
"min": 0,
|
"show_in_graphql": 1,
|
||||||
"max": 0,
|
"graphql_description": "",
|
||||||
"collapsed": "",
|
"graphql_field_name": "url",
|
||||||
"button_label": "Ajouter un élément",
|
"graphql_non_null": 1,
|
||||||
"show_in_graphql": 1,
|
"parent_repeater": "field_6855a1d643408"
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "profiles",
|
|
||||||
"graphql_non_null": 0,
|
|
||||||
"rows_per_page": 20,
|
|
||||||
"sub_fields": [
|
|
||||||
{
|
|
||||||
"key": "field_6855a7e143409",
|
|
||||||
"label": "URL",
|
|
||||||
"name": "url",
|
|
||||||
"aria-label": "",
|
|
||||||
"type": "url",
|
|
||||||
"instructions": "",
|
|
||||||
"required": 1,
|
|
||||||
"conditional_logic": 0,
|
|
||||||
"wrapper": {
|
|
||||||
"width": "",
|
|
||||||
"class": "",
|
|
||||||
"id": ""
|
|
||||||
},
|
|
||||||
"default_value": "",
|
|
||||||
"allow_in_bindings": 0,
|
|
||||||
"placeholder": "",
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "url",
|
|
||||||
"graphql_non_null": 1,
|
|
||||||
"parent_repeater": "field_6855a1d643408"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"location": [
|
}
|
||||||
[
|
],
|
||||||
{
|
"location": [
|
||||||
"param": "abstract"
|
[
|
||||||
}
|
{
|
||||||
]
|
"param": "abstract"
|
||||||
],
|
}
|
||||||
"menu_order": 0,
|
]
|
||||||
"position": "normal",
|
],
|
||||||
"style": "seamless",
|
"menu_order": 0,
|
||||||
"label_placement": "top",
|
"position": "normal",
|
||||||
"instruction_placement": "label",
|
"style": "seamless",
|
||||||
"hide_on_screen": "",
|
"label_placement": "top",
|
||||||
"active": true,
|
"instruction_placement": "label",
|
||||||
"description": "",
|
"hide_on_screen": "",
|
||||||
"show_in_rest": 0,
|
"active": true,
|
||||||
"display_title": "",
|
"description": "",
|
||||||
"acfe_autosync": [
|
"show_in_rest": 0,
|
||||||
"json"
|
"display_title": "",
|
||||||
],
|
"acfe_autosync": ["json"],
|
||||||
"acfe_form": 0,
|
"acfe_form": 0,
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "GroupAbstractSocial",
|
"graphql_field_name": "GroupAbstractSocial",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1770821599
|
"modified": 1770821599
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,158 +1,154 @@
|
|||||||
{
|
{
|
||||||
"key": "group_options_site",
|
"key": "group_options_site",
|
||||||
"title": "Options - Site",
|
"title": "Options - Site",
|
||||||
"fields": [
|
"fields": [
|
||||||
|
{
|
||||||
|
"key": "field_697220310aaaf",
|
||||||
|
"label": "Courriel",
|
||||||
|
"name": "email",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "email",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 1,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"default_value": "",
|
||||||
|
"allow_in_bindings": 0,
|
||||||
|
"placeholder": "",
|
||||||
|
"prepend": "",
|
||||||
|
"append": "",
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "email",
|
||||||
|
"graphql_non_null": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "field_697cbf414fdd5",
|
||||||
|
"label": "Numéro de téléphone",
|
||||||
|
"name": "phone_number",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "phone",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 1,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"initial_country": "CA",
|
||||||
|
"return_format": "national",
|
||||||
|
"allow_in_bindings": 0,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "phoneNumber",
|
||||||
|
"graphql_non_null": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "field_697cd4c5fc56a",
|
||||||
|
"label": "Médias sociaux",
|
||||||
|
"name": "social",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "clone",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 0,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"graphql_field_name": "social",
|
||||||
|
"clone": ["group_abstract_social"],
|
||||||
|
"display": "seamless",
|
||||||
|
"layout": "block",
|
||||||
|
"prefix_label": 0,
|
||||||
|
"prefix_name": 0,
|
||||||
|
"acfe_seamless_style": 0,
|
||||||
|
"acfe_clone_modal": 0,
|
||||||
|
"acfe_clone_modal_close": 0,
|
||||||
|
"acfe_clone_modal_button": "",
|
||||||
|
"acfe_clone_modal_size": "large"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "field_697cc921234cc",
|
||||||
|
"label": "Liens globaux",
|
||||||
|
"name": "links",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "group",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 0,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"layout": "row",
|
||||||
|
"acfe_seamless_style": 0,
|
||||||
|
"acfe_group_modal": 0,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "links",
|
||||||
|
"graphql_non_null": 0,
|
||||||
|
"acfe_group_modal_close": 0,
|
||||||
|
"acfe_group_modal_button": "",
|
||||||
|
"acfe_group_modal_size": "large",
|
||||||
|
"sub_fields": [
|
||||||
{
|
{
|
||||||
"key": "field_697220310aaaf",
|
"key": "field_697cc93e234cd",
|
||||||
"label": "Courriel",
|
"label": "Contact",
|
||||||
"name": "email",
|
"name": "contact",
|
||||||
"aria-label": "",
|
"aria-label": "",
|
||||||
"type": "email",
|
"type": "link",
|
||||||
"instructions": "",
|
"instructions": "",
|
||||||
"required": 1,
|
"required": 1,
|
||||||
"conditional_logic": 0,
|
"conditional_logic": 0,
|
||||||
"wrapper": {
|
"wrapper": {
|
||||||
"width": "",
|
"width": "",
|
||||||
"class": "",
|
"class": "",
|
||||||
"id": ""
|
"id": ""
|
||||||
},
|
},
|
||||||
"default_value": "",
|
"return_format": "array",
|
||||||
"allow_in_bindings": 0,
|
"allow_in_bindings": 0,
|
||||||
"placeholder": "",
|
"show_in_graphql": 1,
|
||||||
"prepend": "",
|
"graphql_description": "",
|
||||||
"append": "",
|
"graphql_field_name": "contact",
|
||||||
"show_in_graphql": 1,
|
"graphql_non_null": 1
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "email",
|
|
||||||
"graphql_non_null": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "field_697cbf414fdd5",
|
|
||||||
"label": "Numéro de téléphone",
|
|
||||||
"name": "phone_number",
|
|
||||||
"aria-label": "",
|
|
||||||
"type": "phone",
|
|
||||||
"instructions": "",
|
|
||||||
"required": 1,
|
|
||||||
"conditional_logic": 0,
|
|
||||||
"wrapper": {
|
|
||||||
"width": "",
|
|
||||||
"class": "",
|
|
||||||
"id": ""
|
|
||||||
},
|
|
||||||
"initial_country": "CA",
|
|
||||||
"return_format": "national",
|
|
||||||
"allow_in_bindings": 0,
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "phoneNumber",
|
|
||||||
"graphql_non_null": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "field_697cd4c5fc56a",
|
|
||||||
"label": "Médias sociaux",
|
|
||||||
"name": "social",
|
|
||||||
"aria-label": "",
|
|
||||||
"type": "clone",
|
|
||||||
"instructions": "",
|
|
||||||
"required": 0,
|
|
||||||
"conditional_logic": 0,
|
|
||||||
"wrapper": {
|
|
||||||
"width": "",
|
|
||||||
"class": "",
|
|
||||||
"id": ""
|
|
||||||
},
|
|
||||||
"graphql_field_name": "social",
|
|
||||||
"clone": [
|
|
||||||
"group_abstract_social"
|
|
||||||
],
|
|
||||||
"display": "seamless",
|
|
||||||
"layout": "block",
|
|
||||||
"prefix_label": 0,
|
|
||||||
"prefix_name": 0,
|
|
||||||
"acfe_seamless_style": 0,
|
|
||||||
"acfe_clone_modal": 0,
|
|
||||||
"acfe_clone_modal_close": 0,
|
|
||||||
"acfe_clone_modal_button": "",
|
|
||||||
"acfe_clone_modal_size": "large"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "field_697cc921234cc",
|
|
||||||
"label": "Liens globaux",
|
|
||||||
"name": "links",
|
|
||||||
"aria-label": "",
|
|
||||||
"type": "group",
|
|
||||||
"instructions": "",
|
|
||||||
"required": 0,
|
|
||||||
"conditional_logic": 0,
|
|
||||||
"wrapper": {
|
|
||||||
"width": "",
|
|
||||||
"class": "",
|
|
||||||
"id": ""
|
|
||||||
},
|
|
||||||
"layout": "row",
|
|
||||||
"acfe_seamless_style": 0,
|
|
||||||
"acfe_group_modal": 0,
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "links",
|
|
||||||
"graphql_non_null": 0,
|
|
||||||
"acfe_group_modal_close": 0,
|
|
||||||
"acfe_group_modal_button": "",
|
|
||||||
"acfe_group_modal_size": "large",
|
|
||||||
"sub_fields": [
|
|
||||||
{
|
|
||||||
"key": "field_697cc93e234cd",
|
|
||||||
"label": "Contact",
|
|
||||||
"name": "contact",
|
|
||||||
"aria-label": "",
|
|
||||||
"type": "link",
|
|
||||||
"instructions": "",
|
|
||||||
"required": 1,
|
|
||||||
"conditional_logic": 0,
|
|
||||||
"wrapper": {
|
|
||||||
"width": "",
|
|
||||||
"class": "",
|
|
||||||
"id": ""
|
|
||||||
},
|
|
||||||
"return_format": "array",
|
|
||||||
"allow_in_bindings": 0,
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "contact",
|
|
||||||
"graphql_non_null": 1
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"location": [
|
}
|
||||||
[
|
],
|
||||||
{
|
"location": [
|
||||||
"param": "options_page",
|
[
|
||||||
"operator": "==",
|
{
|
||||||
"value": "site-options"
|
"param": "options_page",
|
||||||
}
|
"operator": "==",
|
||||||
]
|
"value": "site-options"
|
||||||
],
|
}
|
||||||
"menu_order": 0,
|
]
|
||||||
"position": "normal",
|
],
|
||||||
"style": "seamless",
|
"menu_order": 0,
|
||||||
"label_placement": "top",
|
"position": "normal",
|
||||||
"instruction_placement": "label",
|
"style": "seamless",
|
||||||
"hide_on_screen": "",
|
"label_placement": "top",
|
||||||
"active": true,
|
"instruction_placement": "label",
|
||||||
"description": "",
|
"hide_on_screen": "",
|
||||||
"show_in_rest": 0,
|
"active": true,
|
||||||
"display_title": "",
|
"description": "",
|
||||||
"acfe_autosync": [
|
"show_in_rest": 0,
|
||||||
"json"
|
"display_title": "",
|
||||||
],
|
"acfe_autosync": ["json"],
|
||||||
"acfe_form": 0,
|
"acfe_form": 0,
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "GroupSiteOptions",
|
"graphql_field_name": "GroupSiteOptions",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1770820358
|
"modified": 1770820358
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ export const useGeneralSettings = () =>
|
|||||||
{},
|
{},
|
||||||
{
|
{
|
||||||
transform: ({ generalSettings }) => generalSettings,
|
transform: ({ generalSettings }) => generalSettings,
|
||||||
}
|
},
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ export const useSiteOptions = () =>
|
|||||||
{},
|
{},
|
||||||
{
|
{
|
||||||
transform: ({ siteOptions }) => siteOptions?.groupSiteOptions,
|
transform: ({ siteOptions }) => siteOptions?.groupSiteOptions,
|
||||||
}
|
},
|
||||||
);
|
);
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"schema": "./.nuxt/graphql/schema.gql",
|
"schema": "./.nuxt/graphql/schema.gql",
|
||||||
"documents": "**/*.gql"
|
"documents": "**/*.gql"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@lewebsimple/moonshine",
|
"name": "@lewebsimple/moonshine",
|
||||||
"version": "0.1.13",
|
"version": "0.1.14",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Headless WordPress theme based on Nuxt.",
|
"description": "Headless WordPress theme based on Nuxt.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
Reference in New Issue
Block a user