Add NocoDB events/RSVPs table config and improve session handling
All checks were successful
Build And Push Image / docker (push) Successful in 3m24s
All checks were successful
Build And Push Image / docker (push) Successful in 3m24s
- Add events and rsvps table ID fields to NocoDB settings dialog - Replace mock getUserSession with proper SessionManager integration - Improve type safety with explicit type casting and error handling - Add comprehensive events system bug analysis documentation
This commit is contained in:
@@ -145,7 +145,12 @@ export interface NocoDBSettings {
|
||||
url: string;
|
||||
apiKey: string;
|
||||
baseId: string;
|
||||
tables: { [tableName: string]: string }; // e.g., { "members": "m2sri3jqfqutiy5", "events": "evt123abc", ... }
|
||||
tables: {
|
||||
members: string;
|
||||
events: string;
|
||||
rsvps: string;
|
||||
[tableName: string]: string;
|
||||
}; // e.g., { "members": "m2sri3jqfqutiy5", "events": "evt123abc", "rsvps": "rsvp456def" }
|
||||
}
|
||||
|
||||
export interface MemberResponse {
|
||||
@@ -452,11 +457,11 @@ export interface Event {
|
||||
visibility: 'public' | 'board-only' | 'admin-only';
|
||||
status: 'active' | 'cancelled' | 'completed' | 'draft';
|
||||
creator: string; // member_id who created event
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
created_time: string; // Updated to match database schema
|
||||
updated_time: string; // Updated to match database schema
|
||||
|
||||
// Computed fields
|
||||
current_attendees?: number;
|
||||
current_attendees?: string; // Changed to string to match database
|
||||
user_rsvp?: EventRSVP;
|
||||
attendee_list?: EventRSVP[];
|
||||
}
|
||||
@@ -470,8 +475,8 @@ export interface EventRSVP {
|
||||
payment_reference: string; // EVT-{member_id}-{date}
|
||||
attended: string; // 'true' or 'false' as string
|
||||
rsvp_notes?: string;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
created_time: string; // Updated to match database schema
|
||||
updated_time: string; // Updated to match database schema
|
||||
|
||||
// Computed fields
|
||||
member_details?: Member;
|
||||
|
||||
Reference in New Issue
Block a user