Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
strapi-setup-file
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit e0fd10ad
authored
2022-09-16 14:16:49 +0530
by
Harish Patel
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Changes on project detail page
1 parent
16066801
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
8 deletions
backup/pg.dump
backup/strapi.config
src/api/amenity/content-types/amenity/schema.json
src/api/project/content-types/project/schema.json
backup/pg.dump
View file @
e0fd10a
No preview for this file type
backup/strapi.config
View file @
e0fd10a
This diff could not be displayed because it is too large.
src/api/amenity/content-types/amenity/schema.json
View file @
e0fd10a
...
@@ -4,7 +4,8 @@
...
@@ -4,7 +4,8 @@
"info"
:
{
"info"
:
{
"singularName"
:
"amenity"
,
"singularName"
:
"amenity"
,
"pluralName"
:
"amenities"
,
"pluralName"
:
"amenities"
,
"displayName"
:
"Amenity"
"displayName"
:
"Amenity"
,
"description"
:
""
},
},
"options"
:
{
"options"
:
{
"draftAndPublish"
:
true
"draftAndPublish"
:
true
...
@@ -15,11 +16,20 @@
...
@@ -15,11 +16,20 @@
"type"
:
"string"
"type"
:
"string"
},
},
"icon"
:
{
"icon"
:
{
"type"
:
"media"
,
"multiple"
:
false
,
"required"
:
false
,
"allowedTypes"
:
[
"allowedTypes"
:
[
"images"
"images"
],
]
"type"
:
"media"
,
},
"multiple"
:
false
"type"
:
{
"type"
:
"enumeration"
,
"enum"
:
[
"Internal"
,
"External"
,
"Common"
]
}
}
}
}
}
}
src/api/project/content-types/project/schema.json
View file @
e0fd10a
...
@@ -44,10 +44,6 @@
...
@@ -44,10 +44,6 @@
"videos"
"videos"
]
]
},
},
"details"
:
{
"type"
:
"richtext"
,
"required"
:
true
},
"featuredOnHome"
:
{
"featuredOnHome"
:
{
"type"
:
"boolean"
,
"type"
:
"boolean"
,
"default"
:
false
,
"default"
:
false
,
...
@@ -131,6 +127,24 @@
...
@@ -131,6 +127,24 @@
"type"
:
"uid"
,
"type"
:
"uid"
,
"targetField"
:
"projectName"
,
"targetField"
:
"projectName"
,
"required"
:
true
"required"
:
true
},
"details1"
:
{
"type"
:
"richtext"
,
"required"
:
true
},
"details2"
:
{
"type"
:
"richtext"
,
"required"
:
true
},
"details3"
:
{
"type"
:
"richtext"
,
"required"
:
true
},
"storeys"
:
{
"type"
:
"integer"
},
"posession"
:
{
"type"
:
"string"
}
}
}
}
}
}
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment