Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
zango-strapi
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 2fc3d85f
authored
2024-06-05 10:59:17 +0530
by
jaymehta
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
gift card end user
1 parent
9b181c92
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletions
src/api/end-user/content-types/end-user/schema.json
src/api/gift-card/content-types/gift-card/schema.json
src/extensions/users-permissions/content-types/user/schema.json
src/api/end-user/content-types/end-user/schema.json
View file @
2fc3d85
...
...
@@ -47,6 +47,12 @@
"relation"
:
"oneToMany"
,
"target"
:
"api::review.review"
,
"mappedBy"
:
"endUser"
},
"giftCards"
:
{
"type"
:
"relation"
,
"relation"
:
"oneToMany"
,
"target"
:
"api::gift-card.gift-card"
,
"mappedBy"
:
"endUser"
}
}
}
src/api/gift-card/content-types/gift-card/schema.json
View file @
2fc3d85
...
...
@@ -45,6 +45,12 @@
"type"
:
"media"
,
"multiple"
:
false
,
"required"
:
true
},
"endUser"
:
{
"type"
:
"relation"
,
"relation"
:
"manyToOne"
,
"target"
:
"api::end-user.end-user"
,
"inversedBy"
:
"giftCards"
}
}
}
src/extensions/users-permissions/content-types/user/schema.json
View file @
2fc3d85
...
...
@@ -87,7 +87,7 @@
"type"
:
"relation"
,
"relation"
:
"oneToOne"
,
"target"
:
"api::end-user.end-user"
,
"
invers
edBy"
:
"user"
"
mapp
edBy"
:
"user"
}
}
}
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