feat: Implement is_test_data flag system

This commit is contained in:
gpt-engineer-app[bot]
2025-10-30 15:02:17 +00:00
parent f5b358aaf5
commit 6a30a9e568
6 changed files with 310 additions and 4 deletions

View File

@@ -194,6 +194,7 @@ export type Database = {
founded_year: number | null
headquarters_location: string | null
id: string
is_test_data: boolean | null
logo_url: string | null
name: string
person_type: string | null
@@ -219,6 +220,7 @@ export type Database = {
founded_year?: number | null
headquarters_location?: string | null
id?: string
is_test_data?: boolean | null
logo_url?: string | null
name: string
person_type?: string | null
@@ -244,6 +246,7 @@ export type Database = {
founded_year?: number | null
headquarters_location?: string | null
id?: string
is_test_data?: boolean | null
logo_url?: string | null
name?: string
person_type?: string | null
@@ -349,6 +352,7 @@ export type Database = {
founded_year: number | null
headquarters_location: string | null
is_current: boolean
is_test_data: boolean | null
logo_url: string | null
name: string
person_type: string | null
@@ -375,6 +379,7 @@ export type Database = {
founded_year?: number | null
headquarters_location?: string | null
is_current?: boolean
is_test_data?: boolean | null
logo_url?: string | null
name: string
person_type?: string | null
@@ -401,6 +406,7 @@ export type Database = {
founded_year?: number | null
headquarters_location?: string | null
is_current?: boolean
is_test_data?: boolean | null
logo_url?: string | null
name?: string
person_type?: string | null
@@ -628,6 +634,7 @@ export type Database = {
escalation_reason: string | null
first_reviewed_at: string | null
id: string
is_test_data: boolean | null
locked_until: string | null
original_submission_id: string | null
resolved_at: string | null
@@ -653,6 +660,7 @@ export type Database = {
escalation_reason?: string | null
first_reviewed_at?: string | null
id?: string
is_test_data?: boolean | null
locked_until?: string | null
original_submission_id?: string | null
resolved_at?: string | null
@@ -678,6 +686,7 @@ export type Database = {
escalation_reason?: string | null
first_reviewed_at?: string | null
id?: string
is_test_data?: boolean | null
locked_until?: string | null
original_submission_id?: string | null
resolved_at?: string | null
@@ -1509,6 +1518,7 @@ export type Database = {
description: string | null
email: string | null
is_current: boolean
is_test_data: boolean | null
location_id: string | null
name: string
opening_date: string | null
@@ -1539,6 +1549,7 @@ export type Database = {
description?: string | null
email?: string | null
is_current?: boolean
is_test_data?: boolean | null
location_id?: string | null
name: string
opening_date?: string | null
@@ -1569,6 +1580,7 @@ export type Database = {
description?: string | null
email?: string | null
is_current?: boolean
is_test_data?: boolean | null
location_id?: string | null
name?: string
opening_date?: string | null
@@ -1651,6 +1663,7 @@ export type Database = {
description: string | null
email: string | null
id: string
is_test_data: boolean | null
location_id: string | null
name: string
opening_date: string | null
@@ -1682,6 +1695,7 @@ export type Database = {
description?: string | null
email?: string | null
id?: string
is_test_data?: boolean | null
location_id?: string | null
name: string
opening_date?: string | null
@@ -1713,6 +1727,7 @@ export type Database = {
description?: string | null
email?: string | null
id?: string
is_test_data?: boolean | null
location_id?: string | null
name?: string
opening_date?: string | null
@@ -1866,6 +1881,7 @@ export type Database = {
entity_type: string
id: string
is_featured: boolean | null
is_test_data: boolean | null
order_index: number | null
photographer_credit: string | null
submission_id: string | null
@@ -1886,6 +1902,7 @@ export type Database = {
entity_type: string
id?: string
is_featured?: boolean | null
is_test_data?: boolean | null
order_index?: number | null
photographer_credit?: string | null
submission_id?: string | null
@@ -1906,6 +1923,7 @@ export type Database = {
entity_type?: string
id?: string
is_featured?: boolean | null
is_test_data?: boolean | null
order_index?: number | null
photographer_credit?: string | null
submission_id?: string | null
@@ -2301,6 +2319,7 @@ export type Database = {
created_at: string
helpful_votes: number | null
id: string
is_test_data: boolean | null
moderated_at: string | null
moderated_by: string | null
moderation_status: string
@@ -2321,6 +2340,7 @@ export type Database = {
created_at?: string
helpful_votes?: number | null
id?: string
is_test_data?: boolean | null
moderated_at?: string | null
moderated_by?: string | null
moderation_status?: string
@@ -2341,6 +2361,7 @@ export type Database = {
created_at?: string
helpful_votes?: number | null
id?: string
is_test_data?: boolean | null
moderated_at?: string | null
moderated_by?: string | null
moderation_status?: string
@@ -2788,6 +2809,7 @@ export type Database = {
created_by: string | null
description: string | null
is_current: boolean
is_test_data: boolean | null
manufacturer_id: string | null
name: string
ride_model_id: string
@@ -2809,6 +2831,7 @@ export type Database = {
created_by?: string | null
description?: string | null
is_current?: boolean
is_test_data?: boolean | null
manufacturer_id?: string | null
name: string
ride_model_id: string
@@ -2830,6 +2853,7 @@ export type Database = {
created_by?: string | null
description?: string | null
is_current?: boolean
is_test_data?: boolean | null
manufacturer_id?: string | null
name?: string
ride_model_id?: string
@@ -2887,6 +2911,7 @@ export type Database = {
created_at: string
description: string | null
id: string
is_test_data: boolean | null
manufacturer_id: string
name: string
ride_type: string
@@ -2902,6 +2927,7 @@ export type Database = {
created_at?: string
description?: string | null
id?: string
is_test_data?: boolean | null
manufacturer_id: string
name: string
ride_type: string
@@ -2917,6 +2943,7 @@ export type Database = {
created_at?: string
description?: string | null
id?: string
is_test_data?: boolean | null
manufacturer_id?: string
name?: string
ride_type?: string
@@ -3364,6 +3391,7 @@ export type Database = {
intensity_level: string | null
inversions_count: number | null
is_current: boolean
is_test_data: boolean | null
length_meters: number | null
manufacturer_id: string | null
max_age: number | null
@@ -3439,6 +3467,7 @@ export type Database = {
intensity_level?: string | null
inversions_count?: number | null
is_current?: boolean
is_test_data?: boolean | null
length_meters?: number | null
manufacturer_id?: string | null
max_age?: number | null
@@ -3514,6 +3543,7 @@ export type Database = {
intensity_level?: string | null
inversions_count?: number | null
is_current?: boolean
is_test_data?: boolean | null
length_meters?: number | null
manufacturer_id?: string | null
max_age?: number | null
@@ -3688,6 +3718,7 @@ export type Database = {
image_url: string | null
intensity_level: string | null
inversions: number | null
is_test_data: boolean | null
length_meters: number | null
manufacturer_id: string | null
max_age: number | null
@@ -3762,6 +3793,7 @@ export type Database = {
image_url?: string | null
intensity_level?: string | null
inversions?: number | null
is_test_data?: boolean | null
length_meters?: number | null
manufacturer_id?: string | null
max_age?: number | null
@@ -3836,6 +3868,7 @@ export type Database = {
image_url?: string | null
intensity_level?: string | null
inversions?: number | null
is_test_data?: boolean | null
length_meters?: number | null
manufacturer_id?: string | null
max_age?: number | null
@@ -3950,6 +3983,7 @@ export type Database = {
created_at: string
depends_on: string | null
id: string
is_test_data: boolean | null
item_data: Json
item_type: string
order_index: number | null
@@ -3965,6 +3999,7 @@ export type Database = {
created_at?: string
depends_on?: string | null
id?: string
is_test_data?: boolean | null
item_data: Json
item_type: string
order_index?: number | null
@@ -3980,6 +4015,7 @@ export type Database = {
created_at?: string
depends_on?: string | null
id?: string
is_test_data?: boolean | null
item_data?: Json
item_type?: string
order_index?: number | null
@@ -4013,6 +4049,7 @@ export type Database = {
entity_slug: string
entity_type: string
id: string
is_test_data: boolean | null
metadata: Json | null
submission_item_id: string | null
test_session_id: string | null
@@ -4023,6 +4060,7 @@ export type Database = {
entity_slug: string
entity_type: string
id?: string
is_test_data?: boolean | null
metadata?: Json | null
submission_item_id?: string | null
test_session_id?: string | null
@@ -4033,6 +4071,7 @@ export type Database = {
entity_slug?: string
entity_type?: string
id?: string
is_test_data?: boolean | null
metadata?: Json | null
submission_item_id?: string | null
test_session_id?: string | null