Valentyne Stigloher 9a78a074d8 (ts) add ~ path alias so that the symlinked data directory still resolves to the correct file
Nuxt 2 fails with aliases in serverMiddleware, so I had to use tsconfig-paths-webpack-plugin as workaround
https://github.com/nuxt/typescript/issues/339
2024-05-20 12:53:16 +02:00

8 lines
447 B
TypeScript

import { Event, day, EventLevel } from '~/src/calendar/helpers.ts';
export default [
// --- static date ---
new Event('Годовщина декриминализации гомосексуальности в России (1993)', '_law', 4, day(29), EventLevel.Day),
new Event('Годовщина декриминализации гомосексуальности в Беларуси (1994)', '_law', 3, day(1), EventLevel.Day),
];