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) 560 B
import { MongoCollectionClass } from '../../common/mongo-collection.js'; import { type Parish } from '@tmlmobilidade/types'; import { type IndexDescription } from 'mongodb'; declare class ParishesClass extends MongoCollectionClass<Parish, Parish, Parish> { private static _instance; private constructor(); static getInstance(): Promise<ParishesClass>; protected getCollectionIndexes(): IndexDescription[]; protected getCollectionName(): string; protected getEnvName(): string; } export declare const parishes: ParishesClass; export {};