()
| 157 | // ── Session shape helpers ──────────────────────────────────────── |
| 158 | |
| 159 | function createSession(): SessionState { |
| 160 | const now = new Date(); |
| 161 | return { |
| 162 | mediaBuys: new Map(), |
| 163 | governancePlans: new Map(), |
| 164 | governanceChecks: new Map(), |
| 165 | governanceOutcomes: new Map(), |
| 166 | propertyLists: new Map(), |
| 167 | collectionLists: new Map(), |
| 168 | contentStandards: new Map(), |
| 169 | rightsGrants: new Map(), |
| 170 | creatives: new Map(), |
| 171 | signalActivations: new Map(), |
| 172 | usageRecords: [], |
| 173 | complyExtensions: { |
| 174 | accountStatuses: new Map(), |
| 175 | siSessions: new Map(), |
| 176 | deliverySimulations: new Map(), |
| 177 | budgetSimulations: new Map(), |
| 178 | seededProducts: new Map(), |
| 179 | seededPricingOptions: new Map(), |
| 180 | seededCreativeFormats: new Map(), |
| 181 | }, |
| 182 | createdAt: now, |
| 183 | lastAccessedAt: now, |
| 184 | }; |
| 185 | } |
| 186 | |
| 187 | /** |
| 188 | * Canonical compliance creative fixtures. |
no outgoing calls
no test coverage detected