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
44 lines (37 loc) • 613 B
text/typescript
export type Profile = {
id?: any;
name?: string;
username?: string;
description?: string;
gender?: string;
emoji?: string;
};
export type Posts = {
edges: Array<{
node: {
body: string;
id: string;
};
}>;
};
export type PostProps = {
author: Author;
post: Post;
};
export type SidebarProps = {
name?: string;
username?: string;
id?: string;
};
export type Author = {
id: string;
name: string;
username: string;
emoji: string;
};
type Post = {
body: string;
id: string;
tag: string;
created?: string;
};