mono/packages/discourse-legacy/dist/lib/discourse/constants.d.ts
2025-12-30 20:21:59 +01:00

71 lines
2.9 KiB
TypeScript

export type EDiscourseConfigKey = 'discourse' | 'discourse_admin';
export declare const SYNC_TRACK_FILENAME = "discourse-sync.json";
export declare const OSR_CACHE_ROOT = "${OSR_CACHE}";
export declare const OSR_DISCOURSE_CACHE = "${OSR_CACHE}/discourse";
export declare const DISCOURSE_CATEGORY_CACHE = "${OSR_CACHE}/discourse/cats.json";
export declare const DISCOURSE_TOPICS_CACHE = "${OSR_CACHE}/discourse/topics.json";
export declare const DISCOURSE_TAGS_CACHE = "${OSR_CACHE}/discourse/tags.json";
export declare const DISCOURSE_USER_CACHE = "${OSR_CACHE}/discourse/users.json";
export declare const OA_DIRECTORY_OVERVIEW_TOPIC = 28873;
export declare const OA_USER_IMPORT_GROUP = 43;
export declare const KB_USERS = "${KB_ROOT}/static/users";
export declare const DATA_PATH = "${OSR_ROOT}/osr-directory/pp";
export declare const LATEST_TRACK = "${OSR_ROOT}/osr-directory/pp/merged.json";
export declare const LATEST_TEST = "./latest_test.json";
export declare const FETCH_DUSERS = false;
export declare const F_USERS_NOW = "./fusers.json";
export declare const F_USERS_ALL = "./fusers-all.json";
export declare const DEFAULT_PASSWORD: () => string;
export declare const HOWTOS_ASSETS_URL: () => string;
export declare const MACHINES_ASSETS_URL: () => string;
export declare const CAT_TEST = 65;
export declare const TAGS_TEST = "plastic, meta";
export declare const DEFAULT_IMPORT_OWNER = 1;
export declare const D_ROOT_CAT = 97;
export declare const D_ROOT_AFRICA = 79;
export declare const D_ROOT_ASIA = 60;
export declare const D_ROOT_EUROPE = 59;
export declare const D_ROOT_AUSTRALIA = 76;
export declare const D_ROOT_NAMERICA = 101;
export declare const D_ROOT_SAMERICA = 102;
export declare const D_ROOT_OCEANIA = 103;
export declare const HT_CAT_ROOT = 54;
export declare const HT_CAT_GUIDES = 86;
export declare const HT_CAT_MACHINES = 87;
export declare const HT_CAT_PRODUCTS = 88;
export declare const HT_CAT_MOULDS = 89;
export declare const HT_CAT_IDS: {
HT_CAT_ROOT: number;
HT_CAT_GUIDES: number;
HT_CAT_MACHINES: number;
HT_CAT_PRODUCTS: number;
HT_CAT_MOULDS: number;
};
export declare const HT_CATS: {
Guides: number;
Machines: number;
Products: number;
Moulds: number;
};
export declare const MACHINE_CAT_INJECTION = 50;
export declare const MACHINE_CAT_EXTRUSION = 51;
export declare const MACHINE_CAT_SHREDDER = 52;
export declare const MACHINE_CAT_SHEETPRESS = 63;
export declare const MACHINE_CAT_3DPRINT = 70;
export declare const MACHINE_CAT_MOULDS = 71;
export declare const MACHINE_CAT_IDS: {
MACHINE_CAT_INJECTION: number;
MACHINE_CAT_EXTRUSION: number;
MACHINE_CAT_SHREDDER: number;
MACHINE_CAT_SHEETPRESS: number;
MACHINE_CAT_3DPRINT: number;
MACHINE_CAT_MOULDS: number;
};
export declare const MACHINE_CATS: {
Injection: number;
Extrusion: number;
Sheetpress: number;
'3DPrint': number;
Moulds: number;
};