jinaga
Version:
Data management for web and mobile applications.
32 lines (24 loc) • 574 B
text/typescript
import { FactRecord, FactReference } from '../storage';
export interface ProfileMessage {
displayName: string;
};
export interface LoginResponse {
userFact: FactRecord,
profile: ProfileMessage
};
export interface SaveMessage {
facts: FactRecord[]
};
export interface LoadMessage {
references: FactReference[]
};
export interface LoadResponse {
facts: FactRecord[]
};
export interface FeedsResponse {
feeds: string[];
}
export interface FeedResponse {
references: FactReference[];
bookmark: string;
}