mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 10:24:05 +00:00
782e613506
- GPX files drop onto the map or a day; the import lands on that day - wanderer connection per user in Integrations; the workspace offers the user's own trails only, behind an admin switch under the Tours addon - wanderer difficulty is stored on the SAC scale (T1 to T3), backfilled - a GPX or wanderer import can be planned as an editable tour, either in place (the recorded track is kept and can be restored) or as a new tour that remembers the import it came from - rails, rows and detail dialog follow the plan sidebar's cards and badges - admin addon shelves with more than one row fold, collapsed by default - reverse-geocoded waypoint names are cached on the device
22 lines
920 B
TypeScript
22 lines
920 B
TypeScript
import { WandererConnections } from '../../db/entities/WandererConnections.entity';
|
|
import { AddonsModule } from '../addons/addons.module';
|
|
import { AuditModule } from '../audit/audit.module';
|
|
import { WandererClient } from './wanderer.client';
|
|
import { WandererController } from './wanderer.controller';
|
|
import { WandererService } from './wanderer.service';
|
|
import { MikroOrmModule } from '@mikro-orm/nestjs';
|
|
import { Module } from '@nestjs/common';
|
|
|
|
/**
|
|
* The wanderer integration: a user's own connection to their wanderer
|
|
* instance and the reads the Tours import builds on. Tours imports this module
|
|
* for `WandererService`; the trip-side routes live there.
|
|
*/
|
|
@Module({
|
|
imports: [MikroOrmModule.forFeature([WandererConnections]), AddonsModule, AuditModule],
|
|
controllers: [WandererController],
|
|
providers: [WandererClient, WandererService],
|
|
exports: [WandererService],
|
|
})
|
|
export class WandererModule {}
|