fdsafasdffdsaafds/forestry-lab-explorer
0
1 2// Mock database functions3const db = {4 collection: () => ({5 get: () => Promise.resolve({6 docs: []7 }),8 add: () => Promise.resolve(),9 doc: () => ({10 get: () => Promise.resolve({11 exists: false12 }),13 set: () => Promise.resolve()14 })15 })16};17 18// Mock auth functions19const auth = {20 currentUser: {21 uid: 'mock-user-123',22 displayName: 'Test User',23 email: 'test@example.com',24 photoURL: 'http://static.photos/people/200x200/1'25 },26 onAuthStateChanged: (callback) => {27 callback({28 uid: 'mock-user-123',29 displayName: 'Test User',30 email: 'test@example.com',31 photoURL: 'http://static.photos/people/200x200/1'32 });33 return () => {};34 }35};36 