feat: migrate to esm

This commit is contained in:
2023-03-16 01:58:13 +01:00
parent fd740b3091
commit 4df19e8c20
512 changed files with 3016 additions and 2222 deletions

View File

@@ -13,11 +13,11 @@
* this program. If not, see <https://www.gnu.org/licenses/>.
*/
import {SCLicensePlate, SCThingOriginType, SCThingRemoteOrigin, SCThings} from '@openstapps/core';
import {createUUID} from './common';
import {createUUID} from './common.js';
/**
* Provides abstracted methods for the connector execution process
*
* Provides abstracted methods for the connector execution process
*
* By extending this class connector-developers only need to implement load and transform of the data
* Pushing the data to the backend will be handled automatically
*
@@ -34,8 +34,8 @@ export abstract class Connector<T extends SCThings> {
public origin: string;
/**
* Abstract constructor for a connector
*
* Abstract constructor for a connector
*
* @param licensePlate License plate of the school
* @param origin Name of the connector
*/