Skip to content

Commit 30f70ef

Browse files
Merge pull request #6 from foundersandcoders/feature/ap-10-events-table-schema
feat: add Events table schema
2 parents 0e6867f + 982eb18 commit 30f70ef

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

docs/schema.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Apprentices (tbl0HJM700Jmd5Oob) - primary learner record
1414
├── Support log (tblWINmz4JDtVUucD)
1515
├── Learner Touchpoint Log (tbl2O3QcYpss1SaP4)
1616
└── Cohorts (tbllAnSw8VPYFAa1a)
17+
└── Events - Apprentice Pulse (tblkbskw4fuTq0E9p)
1718
1819
Progress Reviews (Employer Feedback) (tblwdSYGgGMXJ1DX7)
1920
└── Apprentice record → links to Apprentices
@@ -202,6 +203,22 @@ Cohort reference for filtering and grouping.
202203

203204
---
204205

206+
## Events - Apprentice Pulse
207+
208+
**Table ID:** `tblkbskw4fuTq0E9p`
209+
210+
Scheduled events/sessions for attendance tracking.
211+
212+
| Field | ID | Type | Purpose |
213+
|-------|-----|------|---------|
214+
| Name | `fldMCZijN6TJeUdFR` | singleLineText | Event name |
215+
| FAC Cohort | `fldcXDEDkeHvWTnxE` | multipleRecordLinks | Links to Cohorts |
216+
| Date Time | `fld8AkM3EanzZa5QX` | dateTime | Event start date and time |
217+
| Event Type | `fldo7fwAsFhkA1icC` | singleSelect | Regular class, Workshop, Hackathon |
218+
| Survey | `fld9XBHnCWBtZiZah` | url | Optional survey form URL |
219+
220+
---
221+
205222
## Learner Touchpoint Log
206223

207224
**Table ID:** `tbl2O3QcYpss1SaP4`

src/lib/airtable/config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export const TABLES = {
88
COHORTS: 'tbllAnSw8VPYFAa1a',
99
APPRENTICES: 'tbl0HJM700Jmd5Oob',
1010
STAFF: 'tblJjn62ExE1LVjmx',
11+
EVENTS: 'tblkbskw4fuTq0E9p',
1112
} as const;
1213

1314
// Fields - Cohorts
@@ -27,3 +28,12 @@ export const APPRENTICE_FIELDS = {
2728
export const STAFF_FIELDS = {
2829
COLLABORATOR: 'fldHEHhQInmSdipn8', // singleCollaborator with { id, email, name }
2930
} as const;
31+
32+
// Fields - Events
33+
export const EVENT_FIELDS = {
34+
NAME: 'fldMCZijN6TJeUdFR',
35+
COHORT: 'fldcXDEDkeHvWTnxE', // multipleRecordLinks to Cohorts
36+
DATE_TIME: 'fld8AkM3EanzZa5QX', // dateTime (combined date and time)
37+
EVENT_TYPE: 'fldo7fwAsFhkA1icC', // singleSelect (Regular class, Workshop, Hackathon)
38+
SURVEY: 'fld9XBHnCWBtZiZah', // url (optional survey form)
39+
} as const;

0 commit comments

Comments
 (0)