silverwolf-x's picture
download
raw
428 Bytes
import { Resolvers } from "./resolvers-types";
const userProfile = {
id: String(1),
name: "John Smith",
status: "cached",
};
const resolvers: Resolvers = {
Query: {
viewer(_parent, _args, _context, _info) {
return userProfile;
},
},
Mutation: {
updateName(_parent, _args, _context, _info) {
userProfile.name = _args.name;
return userProfile;
},
},
};
export default resolvers;

Xet Storage Details

Size:
428 Bytes
·
Xet hash:
be574161bca589beba61d7ff45ba78acacd4aadab07d0570ebe4169b8a577e20

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.