12 lines
322 B
TypeScript
12 lines
322 B
TypeScript
|
/*
|
||
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||
|
* or more contributor license agreements. Licensed under the Elastic License;
|
||
|
* you may not use this file except in compliance with the Elastic License.
|
||
|
*/
|
||
|
|
||
|
import uuid from 'uuid/v4';
|
||
|
|
||
|
export function generateId() {
|
||
|
return uuid();
|
||
|
}
|