rnrnstar
rnrnstar
Thank you for working on this issue. The type of setup you guys are thinking of is very nice. I think having those type definitions will greatly improve the development...
``` import { useEffect, useState } from "react"; import { generateClient } from "aws-amplify/data"; import { type Schema } from "@shared-backend/amplify/data/resource"; type Team = Schema["Team"]; const client = generateClient(); //...
I have a similar problem. Clicking does not fix it.
``` "@aws-amplify/backend": "^1.0.3", "@aws-amplify/backend-cli": "^1.0.4", ``` Although I am updating to the latest version like this, the @aws-amplify/data-schema version does not become 1.3.0. Updating with `npm update @aws-amplify/data-schema` does not...
``` import { type ClientSchema, a, defineData } from "@aws-amplify/backend"; import { oripaPostConfirmation } from "../functions/OripaPostConfirmation/resource"; const schema = a .schema({ Team: a .model({ name: a.string().required(), s3ImgKey: a.string(), shops: a.hasMany("Shop",...