- Add rename media file - add delete media file - Add many load functions - add user bookmarks (no tests yet) - user bookmarks - fixes and unit tests - user rating - Add analytics - add beta keys endpoints - add comments endpoints - Add conversion endpoint - Add featured items endpoints - Add to Jobs enpoints - Add moderation endpoint - Initial weights endpoints - All weight enpoints, no unit tests - unit tests for weights extra fixes from wil: - turn off proxy settings for node_env === development - audit packages --------- Co-authored-by: Christopher Oliphant <christopheroliphant@christophersmbp.home> Co-authored-by: wil <wil@storyteller.ai>
27 lines
502 B
TypeScript
27 lines
502 B
TypeScript
interface DefaultAvatar {
|
|
color_index: number;
|
|
image_index: number;
|
|
}
|
|
|
|
interface User {
|
|
default_avatar: DefaultAvatar;
|
|
display_name: string;
|
|
gravatar_hash: string;
|
|
user_token: string;
|
|
username: string;
|
|
}
|
|
|
|
export interface BetaKey {
|
|
created_at: string;
|
|
creator: User;
|
|
is_distributed: boolean;
|
|
key_value: string;
|
|
maybe_note?: string;
|
|
maybe_note_html?: string;
|
|
maybe_redeemed_at?: string;
|
|
maybe_redeemer?: User;
|
|
maybe_referrer?: User;
|
|
product: string;
|
|
token: string;
|
|
}
|