26 lines
972 B
TypeScript
26 lines
972 B
TypeScript
import { DATASQUIREL_LoggedInUser, UserType } from "../../../types";
|
|
type Param = {
|
|
user?: DATASQUIREL_LoggedInUser | UserType;
|
|
userId?: string | number | null;
|
|
};
|
|
export default function grabDirNames(param?: Param): {
|
|
schemasDir: string;
|
|
userDirPath: string | undefined;
|
|
mainShemaJSONFilePath: string;
|
|
mainDbTypeDefFile: string;
|
|
tempDirName: string;
|
|
defaultTableFieldsJSONFilePath: string;
|
|
usersSchemaDir: string;
|
|
userSchemaMainJSONFilePath: string | undefined;
|
|
userPrivateMediaDir: string | undefined;
|
|
userPrivateExportsDir: string | undefined;
|
|
userPrivateSQLExportsDir: string | undefined;
|
|
userPrivateTempSQLExportsDir: string | undefined;
|
|
userPrivateTempJSONSchemaFilePath: string | undefined;
|
|
userPrivateDbExportZipFileName: string;
|
|
userPrivateDbExportZipFilePath: string | undefined;
|
|
userPrivateDbImportZipFileName: string;
|
|
userPrivateDbImportZipFilePath: string | undefined;
|
|
};
|
|
export {};
|