mono/packages/commons/dist/config.d.ts
2025-01-28 13:42:22 +01:00

43 lines
2.0 KiB
TypeScript

export declare const HOME: (sub?: string) => string;
export declare const get_var: (key?: string) => string;
export declare const OSR_ROOT: (key?: string) => string;
export declare const OSR_SUB_DEFAULT: (key?: string) => string;
export declare const CONFIG_DEFAULT_PATH: (key?: string) => string;
export declare const OSR_TEMP: (key?: string) => string;
export declare const OSR_CACHE: (key?: string) => string;
export declare const OSR_PRIVATE: (key?: string) => string;
export declare const KB_ROOT: (key?: string) => string;
export declare const OSR_LIBRARY: (key?: string) => string;
export declare const OSR_LIBRARY_MACHINES: (key?: string) => string;
export declare const OSR_LIBRARY_DIRECTORY: (key?: string) => string;
export declare const PRODUCT_ROOT: (key?: string) => string;
export declare const OSR_CUSTOMER_DRIVE: (key?: string) => string;
export declare const OA_ROOT: (key?: string) => string;
export declare const OSR_USER_ASSETS: (key?: string) => string;
export declare const POLYMECH_ROOT: (key?: string) => string;
export declare const DEFAULT_ROOTS: {
OSR_ROOT: string;
OSR_TEMP: string;
PRODUCT_ROOT: string;
OA_ROOT: string;
KB_ROOT: string;
OSR_CACHE: string;
OSR_LIBRARY: string;
OSR_LIBRARY_MACHINES: string;
OSR_LIBRARY_DIRECTORY: string;
OSR_USER_ASSETS: string;
OSR_PRIVATE: string;
OSR_TEMPLATES: string;
OSR_CONTENT: string;
OSR_PROFILES: string;
OSR_CUSTOMER_DRIVE: string;
POLYMECH_ROOT: string;
};
export declare const CONFIG_DEFAULT: (key?: string) => string | false | object;
import { JSONSchemaForNPMPackageJsonFiles } from '@schemastore/package';
import { IComponentConfig } from './component.js';
export declare const readNPMMeta: (_path: string) => JSONSchemaForNPMPackageJsonFiles;
export declare const readPackage: (val: any) => JSONSchemaForNPMPackageJsonFiles;
export declare const readOSRMeta: (_path: string) => IComponentConfig;
export declare const readOSRConfig: (val: any) => any;