jsm-utilities
Version:
A utilities library.
15 lines (14 loc) • 513 B
TypeScript
import { type Model } from "mongoose";
/**
* @generator Jsm
* @author dr. Salmi <reevosolutions@gmail.com>
* @since 27-02-2024 21:13:56
*/
declare const createTrackingId: (entity: string, shortcuts: {
[key: string]: string;
}, model?: Model<{
[StringKey: string]: any;
[NumberKey: number]: any;
}> | null, custom_prefix?: string | null, parent_tracking_id?: string | null) => Promise<string>;
export declare const isTrackingId: (str: string | null) => false | string;
export { createTrackingId };