/** * The {@link Sink} module facilitates creation of {@link Stream}s from external systems (such as an ftp server), or local files. * * @module Sink * * @example * ```typescript * // get a predefined blob stream * const file = Stream("File", BlobType); * // get a predefined uri stream * const uri = Stream("uri", StringType) * // put the contents of the file at the uri * const sink = new SinkBuilder("Ftp") * .from(file) * .input({ name: "uri", stream: uri }) * .assert({ * predicate: uri => NotEqual(uri, ''), * message: "Uri is empty" * }) * .ftp({ * uri: (inputs) => inputs.uri, * }) * .toTemplate(); * ``` */ export * from './Sink'; export * from './SinkBuilder';