mono/packages/commons/dist/index.d.cts
2025-01-28 13:42:27 +01:00

43 lines
2.9 KiB
TypeScript

export { UNC_REGEX, WIN32_PATH_REGEX, isFile, isFolder, is_absolute } from './fs.cjs';
export { CONFIG_DEFAULT, CONFIG_DEFAULT_PATH, DEFAULT_ROOTS, HOME, KB_ROOT, OA_ROOT, OSR_CACHE, OSR_CUSTOMER_DRIVE, OSR_LIBRARY, OSR_LIBRARY_DIRECTORY, OSR_LIBRARY_MACHINES, OSR_PRIVATE, OSR_ROOT, OSR_SUB_DEFAULT, OSR_TEMP, OSR_USER_ASSETS, POLYMECH_ROOT, PRODUCT_ROOT, get_var, readNPMMeta, readOSRConfig, readOSRMeta, readPackage } from './config.cjs';
export { EArch, EPlatform, is_windows } from './os.cjs';
export { DATE_VARS, DEFAULT_VARS, _substitute, resolve, resolveVariables, substitute } from './variables.cjs';
export { IProfile, parse, resolveConfig } from './profile.cjs';
export { IConvertedFileMeta, IDiscourseUser, IGeo, IGeoLocation, IGeo_Administrative, IGeo_Informative, IGeo_LocalityInfo, IImage, IMAchineBuilderXp, IModerable, IModerationStatus, INotification, IOA_Service, IOA_UserDetail, IOSRUserData, IOpeningHours, IPlasticType, IProduct, IProfileType, ISODateString, IUploadedFileMeta, IUrl, IUser, IUserDB, IUserPP, IUserPPDB, IUserState, IWorkspaceType, I_OSR_USER, I_USER_SHORT, MachineBuilderXpLabel, NotificationType, PlasticTypeLabel, TOSR_User_Type, WorkspaceType } from './types.cjs';
export { API_NAMESPACE, API_PREFIX, API_PREFIX_NEXT, MODULE_NAME, OA_LATEST, OA_LATEST_CENSORED, OA_LATEST_INVALID, OA_LATEST_MERGED, PP_BAZAR_LATEST_INDEX, PP_BAZAR_LATEST_INDEX_MERGED, PROFILE_FILE_NAME } from './constants.cjs';
import { GlobOptions } from 'glob';
import { PATH_INFO } from './types_common.cjs';
export { DST_VARIABLES, GeoPos, ICsCartConfig, ICsCartConfigMySQL, IDeeplConfig, IDiscourseConfig, IGiteaConfig, IIgConfig, IOSRConfig, IOptionsBase, IScaleserp, PATH_VARIABLES, SRC_VARIABLES } from './types_common.cjs';
export { AssetsSchema, AuthorSchema, ComponentConfigSchema, ContentSchema, IComponentConfig, ProductionSchema, get } from './component.cjs';
export { IKBotOptions } from './types_kbot.cjs';
import '@schemastore/package';
import 'zod';
/*!
* glob-base <https://github.com/jonschlinkert/glob-base>
*
* Copyright (c) 2015, Jon Schlinkert.
* Licensed under the MIT License.
*/
interface GlobBaseResult {
base: string;
isGlob: boolean;
glob: string;
}
declare const globBase: (pattern: string) => GlobBaseResult;
interface Options {
flipBackslashes?: boolean;
}
declare const globParent: (str: string, opts?: Options) => string;
declare const files: (cwd: any, glob: any, options?: any) => [];
declare const filesEx: (cwd: any, glob: any, options?: GlobOptions) => [];
declare const getExtensions: (glob: string) => string[];
declare const forward_slash: (path: any) => any;
declare const pathInfoEx: (src: string, altToken?: boolean, globOptions?: GlobOptions) => PATH_INFO;
declare const pathInfo: (src: string, altToken?: boolean, cwd?: string) => PATH_INFO;
export { PATH_INFO, files, filesEx, forward_slash, getExtensions, globBase, globParent, pathInfo, pathInfoEx };