48 lines
2.1 KiB
TypeScript
48 lines
2.1 KiB
TypeScript
import { JSONSchemaForNPMPackageJsonFiles } from '@schemastore/package';
|
|
import { IComponentConfig } from './component.cjs';
|
|
import 'zod';
|
|
|
|
declare const HOME: (sub?: string) => string;
|
|
declare const get_var: (key?: string) => string;
|
|
declare const OSR_ROOT: (key?: string) => string;
|
|
declare const OSR_SUB_DEFAULT: (key?: string) => string;
|
|
declare const CONFIG_DEFAULT_PATH: (key?: string) => string;
|
|
declare const OSR_TEMP: (key?: string) => string;
|
|
declare const OSR_CACHE: (key?: string) => string;
|
|
declare const OSR_PRIVATE: (key?: string) => string;
|
|
declare const KB_ROOT: (key?: string) => string;
|
|
declare const OSR_LIBRARY: (key?: string) => string;
|
|
declare const OSR_LIBRARY_MACHINES: (key?: string) => string;
|
|
declare const OSR_LIBRARY_DIRECTORY: (key?: string) => string;
|
|
declare const PRODUCT_ROOT: (key?: string) => string;
|
|
declare const OSR_CUSTOMER_DRIVE: (key?: string) => string;
|
|
declare const OA_ROOT: (key?: string) => string;
|
|
declare const OSR_USER_ASSETS: (key?: string) => string;
|
|
declare const POLYMECH_ROOT: (key?: string) => string;
|
|
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;
|
|
};
|
|
declare const CONFIG_DEFAULT: (key?: string) => string | false | object;
|
|
|
|
declare const readNPMMeta: (_path: string) => JSONSchemaForNPMPackageJsonFiles;
|
|
declare const readPackage: (val: any) => JSONSchemaForNPMPackageJsonFiles;
|
|
declare const readOSRMeta: (_path: string) => IComponentConfig;
|
|
declare const readOSRConfig: (val: any) => any;
|
|
|
|
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 };
|