Skip to content

Commit 3e396cb

Browse files
committed
Rename localisable and scopable in ref entities attribute
1 parent 9dc8f50 commit 3e396cb

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

content/rest-api/resources.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,8 +1134,8 @@ Format for the `text` attribute type
11341134
"fr_FR": "Description"
11351135
},
11361136
"type": "text",
1137-
"localizable": true,
1138-
"scopable": false,
1137+
"value_per_locale": true,
1138+
"value_per_channel": false,
11391139
"is_required_for_completeness": true,
11401140
"max_characters": null,
11411141
"is_textarea": true,
@@ -1154,8 +1154,8 @@ Format for the `image` attribute type
11541154
"fr_FR": "Photo"
11551155
},
11561156
"type": "image",
1157-
"localizable": false,
1158-
"scopable": false,
1157+
"value_per_locale": false,
1158+
"value_per_channel": false,
11591159
"is_required_for_completeness": true,
11601160
"allowed_extensions": ["jpg"],
11611161
"max_file_size": "10"
@@ -1171,8 +1171,8 @@ Format for the `single option` and `multiple options` attribute types
11711171
"fr_FR": "Nationalité"
11721172
},
11731173
"type": "single_option",
1174-
"localizable": false,
1175-
"scopable": false,
1174+
"value_per_locale": false,
1175+
"value_per_channel": false,
11761176
"is_required_for_completeness": false
11771177
}
11781178
```
@@ -1184,8 +1184,8 @@ Format for the `single option` and `multiple options` attribute types
11841184
"fr_FR": "Zones de vente"
11851185
},
11861186
"type": "multiple_options",
1187-
"localizable": false,
1188-
"scopable": false,
1187+
"value_per_locale": false,
1188+
"value_per_channel": false,
11891189
"is_required_for_completeness": true
11901190
}
11911191
```
@@ -1199,8 +1199,8 @@ Format for the `reference entity single link` and `reference entity multiple lin
11991199
"fr_FR": "Pays"
12001200
},
12011201
"type": "reference_entity_single_link",
1202-
"localizable": false,
1203-
"scopable": false,
1202+
"value_per_locale": false,
1203+
"value_per_channel": false,
12041204
"is_required_for_completeness": false,
12051205
"reference_entity_code": "country"
12061206
}
@@ -1213,8 +1213,8 @@ Format for the `reference entity single link` and `reference entity multiple lin
12131213
"fr_FR": "Designeurs"
12141214
},
12151215
"type": "reference_entity_multiple_links",
1216-
"localizable": false,
1217-
"scopable": false,
1216+
"value_per_locale": false,
1217+
"value_per_channel": false,
12181218
"is_required_for_completeness": true,
12191219
"reference_entity_code": "designer"
12201220
}

content/swagger/resources/reference_entity_attributes/definitions/reference_entity_attribute.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ properties:
1818
type: string
1919
description: Attribute type
2020
enum: ['text', 'image', 'single_option', 'multiple_options', 'reference_entity_single_link', 'reference_entity_multiple_links']
21-
localizable:
21+
value_per_locale:
2222
type: boolean
2323
description: Whether the attribute is localizable, i.e. can have one value by locale
2424
default: false
2525
x-immutable: true
26-
scopable:
26+
value_per_channel:
2727
type: boolean
2828
description: Whether the attribute is scopable, i.e. can have one value by channel
2929
default : false
@@ -83,8 +83,8 @@ example: {
8383
"fr_FR": "Description"
8484
},
8585
"type": "text",
86-
"localizable": true,
87-
"scopable": false,
86+
"value_per_locale": true,
87+
"value_per_channel": false,
8888
"is_required_for_completeness": true,
8989
"max_characters": null,
9090
"is_textarea": true,

content/swagger/resources/reference_entity_attributes/routes/reference_entity_attributes.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ get:
2323
"fr_FR": "Description"
2424
},
2525
"type": "text",
26-
"localizable": true,
27-
"scopable": false,
26+
"value_per_locale": true,
27+
"value_per_channel": false,
2828
"is_required_for_completeness": true,
2929
"max_characters": null,
3030
"is_textarea": true,
@@ -39,8 +39,8 @@ get:
3939
"fr_FR": "Pays"
4040
},
4141
"type": "text",
42-
"localizable": false,
43-
"scopable": false,
42+
"value_per_locale": false,
43+
"value_per_channel": false,
4444
"is_required_for_completeness": false
4545
},
4646
{
@@ -50,8 +50,8 @@ get:
5050
"fr_FR": "Aperçu de la collection"
5151
},
5252
"type": "image",
53-
"localizable": true,
54-
"scopable": false,
53+
"value_per_locale": true,
54+
"value_per_channel": false,
5555
"is_required_for_completeness": true,
5656
"allowed_extensions": ["png"],
5757
"max_file_size": "1000"

0 commit comments

Comments
 (0)