@supernovaio/cli
Version:
Supernova.io Command Line Interface
20 lines (18 loc) • 913 B
JavaScript
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9cea29ab-f6af-5e6a-81c9-fd44af720431")}catch(e){}}();
import { apiUrlForEnvironment } from "../../types/index.js";
export function exportConfiguration(setup) {
return {
accessToken: setup.apiKey,
apiUrl: `${apiUrlForEnvironment(setup.environment, undefined)}`,
apiVersion: "0.2",
brandId: setup.brandId,
designSystemId: setup.dsId,
designSystemVersionId: setup.versionId,
exportPath: setup.exportPath,
logger: setup.logger,
proxyUrl: setup.proxyUrl,
themeId: setup.themeId,
};
}
//# sourceMappingURL=exporter-utils.js.map
//# debugId=9cea29ab-f6af-5e6a-81c9-fd44af720431