UNPKG

@tmlmobilidade/interfaces

Version:

This package provides SDK-style connectors for interacting with databases (e.g., stops, plans, rides, alerts) and external providers (e.g., authentication, storage). It simplifies data access and integration across projects.

14 lines (13 loc) 572 B
import { MongoCollectionClass } from '../../common/mongo-collection.js'; import { type District } from '@tmlmobilidade/types'; import { type IndexDescription } from 'mongodb'; declare class DistrictsClass extends MongoCollectionClass<District, District, District> { private static _instance; private constructor(); static getInstance(): Promise<DistrictsClass>; protected getCollectionIndexes(): IndexDescription[]; protected getCollectionName(): string; protected getEnvName(): string; } export declare const districts: DistrictsClass; export {};