mirror of
https://github.com/wassname/talk.git
synced 2026-07-24 13:20:47 +08:00
added tenant + graph support
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
export type Cursor = Date | number | string;
|
||||
|
||||
export interface Edge<T> {
|
||||
node: T;
|
||||
cursor: Cursor;
|
||||
}
|
||||
|
||||
export interface PageInfo {
|
||||
hasNextPage: boolean;
|
||||
}
|
||||
|
||||
export interface Connection<T> {
|
||||
edges: Edge<T>[];
|
||||
pageInfo: PageInfo;
|
||||
}
|
||||
Reference in New Issue
Block a user