web3.db-fileconnector
Version:
GraphQL System Built on web3 technologies. Web3.DB is an open database built on top of web3 technologies. It is a decentralized, open-source database that allows users to store and query data in a secure and efficient manner. The system is designed to be
14 lines (12 loc) • 357 B
text/typescript
// ipfs.ts
// This file is currently not in use and has been replaced with a placeholder to prevent build errors
// Export a dummy function to prevent TypeScript errors
export const createIPFS = async () => {
return {
add: async (fileBuffer: Buffer) => ({
cid: {
toString: () => "placeholder-cid",
},
}),
};
};