# config/agenda.config.ts

> 15 lines of code and 5 definitions.

Tree: Coordination tree
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/coordination#file-coordination-config-agenda-config-ts
Source text: https://banes-lab.com/assets/sources/source.359114d758e8c470e84fdc56dfd8d7abf5b362dbb59462d2bedf5a2fc6270364.generated.txt

## Definitions

- `SCHEDULE_STATES` (lexical_declaration, line 1, exported)
- `ScheduleState` (type_alias_declaration, line 3, exported)
- `SchedulePlan` (interface_declaration, line 5, exported)
- `defineSchedule` (function_declaration, line 15, exported)
- `schedule` (lexical_declaration, line 19, exported)

## Source

```typescript
export const SCHEDULE_STATES = ["planned", "created", "open", "archived"] as const;

export type ScheduleState = (typeof SCHEDULE_STATES)[number];

export interface SchedulePlan {
    readonly ordinal: string;
    readonly invariant: string;
    readonly merged?: string;
    readonly establishes: string;
    readonly note?: string;
    readonly declaredState?: ScheduleState;
    readonly declaredBecause?: string;
}

export function defineSchedule(rows: readonly SchedulePlan[]): readonly SchedulePlan[] {
    return rows;
}

export const schedule: readonly SchedulePlan[] = defineSchedule([]);
```
