mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-19 08:02:55 +00:00
build: update dependencies
This commit is contained in:
@@ -19,7 +19,7 @@ import {
|
||||
SCBulkDoneRoute,
|
||||
SCBulkResponse,
|
||||
SCThings,
|
||||
SCThingTypes,
|
||||
SCThingType,
|
||||
} from '@openstapps/core';
|
||||
import {Client} from './client';
|
||||
import {BulkWithMultipleTypesError} from './errors';
|
||||
@@ -46,7 +46,7 @@ export class Bulk<T extends SCThings> {
|
||||
* @see Client.bulk
|
||||
*/
|
||||
constructor(
|
||||
private type: SCThingTypes,
|
||||
private type: SCThingType,
|
||||
private client: Client,
|
||||
private bulkResponse: SCBulkResponse,
|
||||
) {
|
||||
|
||||
@@ -18,7 +18,7 @@ import {
|
||||
SCLicensePlate,
|
||||
SCNamespaces,
|
||||
SCThings,
|
||||
SCThingTypes,
|
||||
SCThingType,
|
||||
SCThingUpdateResponse,
|
||||
SCThingUpdateRoute,
|
||||
} from '@openstapps/core';
|
||||
@@ -78,7 +78,7 @@ export class ConnectorClient extends Client {
|
||||
* @param source Source identifier (should be unique per actual data source)
|
||||
* @param timeout Timeout in seconds when the bulk should expire
|
||||
*/
|
||||
async bulk<T extends SCThings>(type: SCThingTypes, source: string, timeout?: number): Promise<Bulk<T>> {
|
||||
async bulk<T extends SCThings>(type: SCThingType, source: string, timeout?: number): Promise<Bulk<T>> {
|
||||
// set default value for timeout to one hour
|
||||
if (typeof timeout !== 'number') {
|
||||
timeout = 3600;
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
import {SCSearchRequest, SCThingTypes} from '@openstapps/core';
|
||||
import {SCSearchRequest, SCThingType} from '@openstapps/core';
|
||||
import {asyncPool} from 'async-pool-native/dist/async-pool';
|
||||
import {Bar} from 'cli-progress';
|
||||
import {Client} from './client';
|
||||
@@ -47,7 +47,7 @@ export interface CopyOptions {
|
||||
/**
|
||||
* StAppsCore type to copy
|
||||
*/
|
||||
type: SCThingTypes;
|
||||
type: SCThingType;
|
||||
|
||||
/**
|
||||
* StApps version identifier to copy data for
|
||||
|
||||
Reference in New Issue
Block a user