Is it possible to have a object in typeDefs without having to declare it explicitly

hi there im new to apollo server, im doing the backend of a cooking site, the thing is that in my mongo schema i got this code

const recipeSchema = new Schema({
 title: {
        type: String,
        required: true
    },
    ingredients: {
        type: Object,
        required: true,
    },
    preparation: {
        type: String,
        required: true
    },
    author: {
        type: Object,
        required: true
    },
    thumbnail: String
})
//of course i exported the model and schema correctly

and the question is, in typeDefs can i have ingredients as an object without having to declare it e.g

type Receta{
      id:ID!
      title:String!
  /* i don't know how many ingredients the recipe will have so i don't want to do
ingredients:[Ingredient!]! then type Ingredient{i1:String i2:String,etc} beacuse
as i stated before i don't know how many ingredients a recipe will have, and i want to
have ingredients as an object, so then i can map it with react and have and output like
cheese:"200gr",pasta:"400gr",etc
*/
      ingredients:[!]!

its that posible, or can i solve this problem