UNPKG

@sasjs/cli

Version:

Command line interface for SASjs

15 lines (14 loc) 713 B
import { StreamConfig, Target } from '@sasjs/utils'; export interface AssetPathMap { source: string; target: string; } /** * Creates all the asset services for web streaming. * Also prepares an asset-path Map based on server type. * @param {Target} target the target to create asset service. * @param {string} destinationPath the location of web streaming files. * @param {StreamConfig} streamConfig stream configuration to be used. * @returns {AssetPathMap[]} list of all the sources specified along server based paths. */ export declare const createAssetServices: (target: Target, destinationPath: string, { webSourcePath, streamWebFolder, assetPaths }: StreamConfig) => Promise<AssetPathMap[]>;