/*
 * Copyright (c) 2025, Salesforce, Inc.
 * SPDX-License-Identifier: Apache-2
 * For full license text, see the license.txt file in the repo root or http://www.apache.org/licenses/LICENSE-2.0
 */
import path from 'node:path';
import { createRequire } from 'node:module';
// Resolve the data directories from the package root
// Uses createRequire to find the package.json location, which is robust
// regardless of where this module is located in the build output
const require = createRequire(import.meta.url);
const packageRoot = path.dirname(require.resolve('@salesforce/b2c-tooling-sdk/package.json'));
export const SCRIPT_API_DATA_DIR = path.join(packageRoot, 'data/script-api');
export const XSD_DATA_DIR = path.join(packageRoot, 'data/xsd');
//# sourceMappingURL=types.js.map