UNPKG

@supernovaio/cli

Version:

Supernova.io Command Line Interface

21 lines (19 loc) 953 B
!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]="cf0f6698-1b20-546b-b651-ddf55f5d8adb")}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.themeIds?.[0], themeIds: setup.themeIds, }; } //# sourceMappingURL=exporter-utils.js.map //# debugId=cf0f6698-1b20-546b-b651-ddf55f5d8adb