type Note @model @auth(rules: [{ allow: custom }, { allow: public, provider: iam }]) { noteId: String! @primaryKey note: String @auth(rules: [{ allow: public, provider: iam }, { allow: custom, operations: [create, update] }]) }