generated from tailored/router-db-template
temp
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { XhsClient } from '@/libs/xhs.ts';
|
||||
import { XhsClient } from '@kevisual/xhs/libs/xhs.ts';
|
||||
import { Sequelize } from 'sequelize';
|
||||
import { createSequelize } from '@/services/xhs-db/db.ts';
|
||||
import { createSequelize } from '@kevisual/xhs/services/xhs-db/db.ts';
|
||||
import path from 'node:path';
|
||||
import fs from 'node:fs';
|
||||
|
||||
@@ -22,6 +22,10 @@ type XhsClientMap = {
|
||||
type XhsServicesOptions = {
|
||||
root?: string;
|
||||
};
|
||||
/**
|
||||
* @description XhsServices is a singleton class that manages the XhsClient instances.
|
||||
* It is used to create and manage the XhsClient instances.
|
||||
*/
|
||||
export class XhsServices {
|
||||
map: Map<string, XhsClientMap> = new Map();
|
||||
root: string = 'root';
|
||||
|
||||
Reference in New Issue
Block a user