mirror of
https://github.com/strapi/strapi.git
synced 2025-12-25 06:04:29 +00:00
update getComponents typing
This commit is contained in:
parent
4efd991865
commit
84352c1e88
@ -104,7 +104,7 @@ const createComponents = async (uid, data) => {
|
||||
/**
|
||||
* @param {str} uid
|
||||
* @param {object} entity
|
||||
* @return {Promise<{uid: string, data: object}[]>}
|
||||
* @return {Promise<{uid: string, entity: object}[]>}
|
||||
*/
|
||||
const getComponents = async (uid, entity) => {
|
||||
const componentAttributes = getComponentAttributes(strapi.getModel(uid));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user