| 17 | * count never reaches a counter and the seed is never visible as a fact. |
| 18 | */ |
| 19 | export const buildUnbuiltWorld = (userId: string): WorldModel => { |
| 20 | /* A day apart, in taxonomy order, and never shown: islands are packed in the |
| 21 | order their realms were first read and the rail lists them the same way, so |
| 22 | without this the six realms come out ordered by the slug of a seed district |
| 23 | nobody can see. */ |
| 24 | const ground = REALMS.map((realm, index) => { |
| 25 | const day = new Date(Date.UTC(2026, 0, 1 + index)).toISOString(); |
| 26 | |
| 27 | return { |
| 28 | niche: { slug: realm.niches[0].id }, |
| 29 | reads: 1, |
| 30 | firstReadAt: day, |
| 31 | lastReadAt: day, |
| 32 | activeDays: 0, |
| 33 | }; |
| 34 | }); |
| 35 | |
| 36 | const model = buildWorld(userId, ground, []) as unknown as WorldModel; |
| 37 | model.unbuilt = true; |
| 38 | |
| 39 | return model; |
| 40 | }; |