@@ -118,10 +118,17 @@ type Organization {
118118 first : Int
119119 includeRecurring : Boolean
120120 last : Int
121+ onlyStartOnDay : Boolean
121122 startDate : DateTime
122123 upcomingOnly : Boolean
123124 ): OrganizationEventsConnection
124125 eventsCount : Int
126+ eventsPreview (
127+ endDate : DateTime
128+ includeRecurring : Boolean
129+ perDayLimit : Int
130+ startDate : DateTime
131+ ): [OrganizationEventPreviewDay ! ]
125132 funds (
126133 after : String
127134 before : String
@@ -304,6 +311,10 @@ Whether to include materialized instances from recurring events (default: true)
304311
305312##### [<code style={{ fontWeight: 'normal' }}>Organization.events.<b>last</b></code>](#)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>Int</b></code>](/auto-schema/types/scalars/int.mdx) <Badge class="badge badge--secondary " text="scalar"/>
306313
314+ ##### [<code style={{ fontWeight: 'normal' }}>Organization.events.<b>onlyStartOnDay</b></code>](#)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>Boolean</b></code>](/auto-schema/types/scalars/boolean.mdx) <Badge class="badge badge--secondary " text="scalar"/>
315+
316+ When true , return only events whose start day matches the requested day window .
317+
307318##### [<code style={{ fontWeight: 'normal' }}>Organization.events.<b>startDate</b></code>](#)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>DateTime</b></code>](/auto-schema/types/scalars/date-time.mdx) <Badge class="badge badge--secondary " text="scalar"/>
308319
309320Start date for filtering events (defaults to today)
@@ -316,6 +327,26 @@ Filter to only show upcoming events (events that haven't ended yet). When true,
316327
317328Total number of events in the organization .
318329
330+ #### [<code style={{ fontWeight: 'normal' }}>Organization.<b>eventsPreview</b></code>](#)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>[OrganizationEventPreviewDay!]</b></code>](/auto-schema/types/objects/organization-event-preview-day.mdx) <Badge class="badge badge--secondary " text="list"/> <Badge class="badge badge--secondary " text="object"/>
331+
332+ Calendar preview grouped by day with a capped number of events per day .
333+
334+ ##### [<code style={{ fontWeight: 'normal' }}>Organization.eventsPreview.<b>endDate</b></code>](#)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>DateTime</b></code>](/auto-schema/types/scalars/date-time.mdx) <Badge class="badge badge--secondary " text="scalar"/>
335+
336+ End date for preview filtering (defaults to one month from start date)
337+
338+ ##### [<code style={{ fontWeight: 'normal' }}>Organization.eventsPreview.<b>includeRecurring</b></code>](#)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>Boolean</b></code>](/auto-schema/types/scalars/boolean.mdx) <Badge class="badge badge--secondary " text="scalar"/>
339+
340+ Whether recurring event instances should be included in preview .
341+
342+ ##### [<code style={{ fontWeight: 'normal' }}>Organization.eventsPreview.<b>perDayLimit</b></code>](#)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>Int</b></code>](/auto-schema/types/scalars/int.mdx) <Badge class="badge badge--secondary " text="scalar"/>
343+
344+ Maximum events returned per day in preview .
345+
346+ ##### [<code style={{ fontWeight: 'normal' }}>Organization.eventsPreview.<b>startDate</b></code>](#)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>DateTime</b></code>](/auto-schema/types/scalars/date-time.mdx) <Badge class="badge badge--secondary " text="scalar"/>
347+
348+ Start date for preview filtering (defaults to current day)
349+
319350#### [<code style={{ fontWeight: 'normal' }}>Organization.<b>funds</b></code>](#)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>OrganizationFundsConnection</b></code>](/auto-schema/types/objects/organization-funds-connection.mdx) <Badge class="badge badge--secondary " text="object"/>
320351
321352GraphQL connection to traverse through the funds belonging to the organization .
0 commit comments