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

@@ -12,16 +12,16 @@
* 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 {SCTranslations} from './general/i18n';
import {SCBulkResponse} from './protocol/routes/bulk-request';
import {SCSearchResponse} from './protocol/routes/search';
import {SCMultiSearchResponse} from './protocol/routes/search-multi';
import {SCTranslations} from './general/i18n.js';
import {SCBulkResponse} from './protocol/routes/bulk-request.js';
import {SCSearchResponse} from './protocol/routes/search.js';
import {SCMultiSearchResponse} from './protocol/routes/search-multi.js';
import {
SCThing,
SCThingTranslatableProperties,
SCThingType,
SCThingWithoutReferences,
} from './things/abstract/thing';
} from './things/abstract/thing.js';
/**
* Type guard to check if something is a SCThing