Remove meeting feature

Drop meetings and meeting_attendees tables, remove all meeting-related
code across GraphQL, MCP, CLI, N8N, webhooks, frontend, and e2e tests.

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2026-04-16 17:57:34 +02:00
parent c32aff5e9e
commit 6c5c1fa818
45 changed files with 24 additions and 4906 deletions

View File

@@ -755,77 +755,6 @@ func (b *DatumBuilder) Create() string {
return CreateDatum(b.client, b.ownerID, b.attrs)
}
func CreateMeeting(c *testutil.Client, attrs ...Attrs) string {
c.T.Helper()
var a Attrs
if len(attrs) > 0 {
a = attrs[0]
}
const query = `
mutation($input: CreateMeetingInput!) {
createMeeting(input: $input) {
meetingEdge {
node { id }
}
}
}
`
input := map[string]any{
"organizationId": c.GetOrganizationID().String(),
"name": a.getString("name", SafeName("Meeting")),
"date": a.getString("date", "2025-01-15T10:00:00Z"),
}
if minutes := a.getStringPtr("minutes"); minutes != nil {
input["minutes"] = *minutes
}
var result struct {
CreateMeeting struct {
MeetingEdge struct {
Node struct {
ID string `json:"id"`
} `json:"node"`
} `json:"meetingEdge"`
} `json:"createMeeting"`
}
err := c.Execute(query, map[string]any{"input": input}, &result)
require.NoError(c.T, err, "createMeeting mutation failed")
return result.CreateMeeting.MeetingEdge.Node.ID
}
type MeetingBuilder struct {
client *testutil.Client
attrs Attrs
}
func NewMeeting(c *testutil.Client) *MeetingBuilder {
return &MeetingBuilder{client: c, attrs: Attrs{}}
}
func (b *MeetingBuilder) WithName(name string) *MeetingBuilder {
b.attrs["name"] = name
return b
}
func (b *MeetingBuilder) WithDate(date string) *MeetingBuilder {
b.attrs["date"] = date
return b
}
func (b *MeetingBuilder) WithMinutes(minutes string) *MeetingBuilder {
b.attrs["minutes"] = minutes
return b
}
func (b *MeetingBuilder) Create() string {
return CreateMeeting(b.client, b.attrs)
}
type DocumentBuilder struct {
client *testutil.Client
attrs Attrs