{"version":3,"sources":["../../../src/transform/write/types.ts"],"sourcesContent":["export type ArrayRowToInsert = {\n arrays: {\n [tableName: string]: ArrayRowToInsert[]\n }\n arraysToPush: {\n [tableName: string]: ArrayRowToInsert[]\n }\n locales: {\n [locale: string]: Record\n }\n row: Record\n}\n\nexport type BlockRowToInsert = {\n arrays: {\n [tableName: string]: ArrayRowToInsert[]\n }\n arraysToPush: {\n [tableName: string]: ArrayRowToInsert[]\n }\n locales: {\n [locale: string]: Record\n }\n row: Record\n}\n\nexport type RelationshipToDelete = {\n itemToRemove?: any // For $remove operations - stores the item data to match\n locale?: string\n path: string\n relationTo?: string // For simple relationships - stores the relationTo field\n}\n\nexport type RelationshipToAppend = {\n locale?: string\n path: string\n relationTo?: string // For polymorphic relationships\n value: any\n}\n\nexport type TextToDelete = {\n locale?: string\n path: string\n}\n\nexport type NumberToDelete = {\n locale?: string\n path: string\n}\n\nexport type RowToInsert = {\n arrays: {\n [tableName: string]: ArrayRowToInsert[]\n }\n arraysToPush: {\n [tableName: string]: ArrayRowToInsert[]\n }\n blocks: {\n [tableName: string]: BlockRowToInsert[]\n }\n blocksToDelete: Set\n locales: {\n [locale: string]: Record\n }\n numbers: Record[]\n numbersToDelete: NumberToDelete[]\n relationships: Record[]\n relationshipsToAppend: RelationshipToAppend[]\n relationshipsToDelete: RelationshipToDelete[]\n row: Record\n selects: {\n [tableName: string]: Record[]\n }\n texts: Record[]\n textsToDelete: TextToDelete[]\n}\n"],"names":[],"mappings":"AAkDA,WAyBC"}