@oxyhq/services
Version:
53 lines (45 loc) • 1.05 kB
text/typescript
import type { Animated } from 'react-native';
export interface FeedbackData {
type: 'bug' | 'feature' | 'general' | 'support';
title: string;
description: string;
priority: 'low' | 'medium' | 'high' | 'critical';
category: string;
contactEmail: string;
systemInfo: boolean;
}
export interface FeedbackState {
status: 'idle' | 'submitting' | 'success' | 'error';
message: string;
}
export interface FeedbackType {
id: string;
label: string;
icon: string;
color: string;
description: string;
}
export interface PriorityLevel {
id: string;
label: string;
icon: string;
color: string;
}
export interface FeedbackColors {
primary: string;
text: string;
secondaryText: string;
border: string;
background: string;
inputBackground: string;
success?: string;
}
export interface FeedbackStepAnimations {
fadeAnim: Animated.Value;
slideAnim: Animated.Value;
}
export interface User {
id?: string;
email?: string;
username?: string;
}