Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
erp5
Commits
babc4ce6
Commit
babc4ce6
authored
Dec 03, 2023
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
monaco_editor: rename json_schema_url -> schema_url
To follow the API as the new JSON editor
parent
6b2e0b92
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
bt5/erp5_monaco_editor/SkinTemplateItem/portal_skins/erp5_monaco_editor/monaco-editor.gadget.js.js
...ortal_skins/erp5_monaco_editor/monaco-editor.gadget.js.js
+4
-4
bt5/erp5_open_api/SkinTemplateItem/portal_skins/erp5_open_api/OpenAPIType_view/my_text_content.xml
..._skins/erp5_open_api/OpenAPIType_view/my_text_content.xml
+1
-1
bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestSuite_view/my_cluster_configuration.xml
...5_test_result/TestSuite_view/my_cluster_configuration.xml
+1
-1
No files found.
bt5/erp5_monaco_editor/SkinTemplateItem/portal_skins/erp5_monaco_editor/monaco-editor.gadget.js.js
View file @
babc4ce6
...
@@ -112,10 +112,10 @@
...
@@ -112,10 +112,10 @@
model_language
=
'
python
'
;
model_language
=
'
python
'
;
}
else
if
(
options
.
content_type
===
'
application/json
'
)
{
}
else
if
(
options
.
content_type
===
'
application/json
'
)
{
model_language
=
'
json
'
;
model_language
=
'
json
'
;
state_dict
.
json_schema_url
=
options
.
json_
schema_url
;
state_dict
.
schema_url
=
options
.
schema_url
;
}
else
if
(
options
.
content_type
===
'
application/x-yaml
'
)
{
}
else
if
(
options
.
content_type
===
'
application/x-yaml
'
)
{
model_language
=
'
yaml
'
;
model_language
=
'
yaml
'
;
state_dict
.
json_schema_url
=
options
.
json_
schema_url
;
state_dict
.
schema_url
=
options
.
schema_url
;
}
}
state_dict
.
model_language
=
model_language
;
state_dict
.
model_language
=
model_language
;
state_dict
.
value
=
options
.
value
||
''
;
state_dict
.
value
=
options
.
value
||
''
;
...
@@ -350,10 +350,10 @@
...
@@ -350,10 +350,10 @@
if
(
this
.
state
.
model_language
===
'
json
'
)
{
if
(
this
.
state
.
model_language
===
'
json
'
)
{
let
schemas
=
[]
let
schemas
=
[]
if
(
this
.
state
.
json_
schema_url
)
{
if
(
this
.
state
.
schema_url
)
{
schemas
.
push
(
schemas
.
push
(
{
{
uri
:
this
.
state
.
json_
schema_url
,
uri
:
this
.
state
.
schema_url
,
fileMatch
:
"
*
"
fileMatch
:
"
*
"
}
}
)
)
...
...
bt5/erp5_open_api/SkinTemplateItem/portal_skins/erp5_open_api/OpenAPIType_view/my_text_content.xml
View file @
babc4ce6
...
@@ -133,7 +133,7 @@
...
@@ -133,7 +133,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
_text
</string>
</key>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: [(\'content_type\', context.getContentType()), (\'
json_
schema_url\', "%s/OpenAPIType_viewOpenAPIJSONSchema" % context.absolute_url())]
</string>
</value>
<value>
<string>
python: [(\'content_type\', context.getContentType()), (\'schema_url\', "%s/OpenAPIType_viewOpenAPIJSONSchema" % context.absolute_url())]
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestSuite_view/my_cluster_configuration.xml
View file @
babc4ce6
...
@@ -138,7 +138,7 @@
...
@@ -138,7 +138,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
_text
</string>
</key>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: [(\'content_type\', \'application/json\'), (\'
json_
schema_url\', context.getSlapOSInstanceParameterSchemaURL())]
</string>
</value>
<value>
<string>
python: [(\'content_type\', \'application/json\'), (\'schema_url\', context.getSlapOSInstanceParameterSchemaURL())]
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment