mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 18:19:43 +00:00
Merge remote-tracking branch 'origin/master' into task/self-hosted-backend
# Conflicts: # apps/mobile/app/(app)/onboarding.tsx # apps/mobile/src/__tests__/stores/packsStore.test.ts # apps/mobile/src/features/profile/hooks/useProfileSettings.ts # apps/mobile/src/store/packsStore.ts
This commit is contained in:
commit
be20391788
77 files changed
+48548
-671
No files matched your search
@@ -40,6 +40,17 @@ export interface ApiErrorResponse {
|
||||
};
|
||||
}
|
||||
|
||||
/** Editorial catalogue state. Customer applications do not enforce it yet. */
|
||||
export type ContentReviewStatus = 'unreviewed' | 'allowed' | 'archived';
|
||||
|
||||
export interface ContentReviewMetadata {
|
||||
/** Optional until the additive migration has reached every environment. */
|
||||
content_status?: ContentReviewStatus;
|
||||
content_review_reason?: string | null;
|
||||
content_reviewed_at?: string | null;
|
||||
content_reviewed_by?: string | null;
|
||||
}
|
||||
|
||||
// Couple pairing
|
||||
export interface Couple {
|
||||
id: string;
|
||||
@@ -48,7 +59,7 @@ export interface Couple {
|
||||
}
|
||||
|
||||
// Question pack
|
||||
export interface QuestionPack {
|
||||
export interface QuestionPack extends ContentReviewMetadata {
|
||||
id: string;
|
||||
name: string;
|
||||
description: string | null;
|
||||
@@ -60,7 +71,7 @@ export interface QuestionPack {
|
||||
}
|
||||
|
||||
// Individual question
|
||||
export interface Question {
|
||||
export interface Question extends ContentReviewMetadata {
|
||||
id: string;
|
||||
pack_id: string;
|
||||
text: string;
|
||||
|
||||
Reference in new issue
Block a user