refactor: use SCThingTypes as type for type

This commit is contained in:
Michel Jonathan Schmitz
2018-12-12 16:23:21 +01:00
parent 2f43948307
commit ea2880e5f6
3 changed files with 8 additions and 8 deletions

View File

@@ -13,6 +13,7 @@
* this program. If not, see <https://www.gnu.org/licenses/>.
*/
import {SCAbstractRoute} from '../../../Route';
import {SCThingType} from '../../../Thing';
import {SCISO8601Date} from '../../../types/Time';
/**
@@ -46,9 +47,8 @@ export interface SCBulkParameters {
/**
* Type of things that are indexed in this bulk.
*
* String is an element of the SCThingType enumeration.
*/
type: string;
type: SCThingType;
}
/**