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 {Polygon} from 'geojson';
import {SCTranslations} from '../general/i18n';
import {SCMap} from '../general/map';
import {SCLanguageSetting, SCSetting, SCUserGroupSetting} from '../things/setting';
import {SCAuthorizationProviderType} from './authorization';
import {SCFeatureConfiguration} from './feature';
import {SCTranslations} from '../general/i18n.js';
import {SCMap} from '../general/map.js';
import {SCLanguageSetting, SCSetting, SCUserGroupSetting} from '../things/setting.js';
import {SCAuthorizationProviderType} from './authorization.js';
import {SCFeatureConfiguration} from './feature.js';
/**
* An app configuration menu item

View File

@@ -13,7 +13,7 @@
* this program. If not, see <https://www.gnu.org/licenses/>.
*/
import {SCUserConfigurationMap} from './user';
import {SCUserConfigurationMap} from './user.js';
/**
* Supported authorization provider types

View File

@@ -12,11 +12,11 @@
* 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 {SCMap, SCRestrictedMap} from '../general/map';
import {SCUuid} from '../general/uuid';
import {SCSearchSortType} from '../protocol/search/sort';
import {SCThingType} from '../things/abstract/thing';
import {SCMonitoringConfiguration} from './monitoring';
import {SCMap, SCRestrictedMap} from '../general/map.js';
import {SCUuid} from '../general/uuid.js';
import {SCSearchSortType} from '../protocol/search/sort.js';
import {SCThingType} from '../things/abstract/thing.js';
import {SCMonitoringConfiguration} from './monitoring.js';
/**
* A backend configuration

View File

@@ -13,8 +13,8 @@
* this program. If not, see <https://www.gnu.org/licenses/>.
*/
import {SCMap} from '../general/map';
import {SCAuthorizationProviderType} from './authorization';
import {SCMap} from '../general/map.js';
import {SCAuthorizationProviderType} from './authorization.js';
export interface SCFeatureConfiguration {
/**

View File

@@ -12,10 +12,10 @@
* 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 {SCLicensePlate} from '../general/namespaces';
import {SCAppConfiguration} from './app';
import {SCAuthorizationProvider, SCAuthorizationProviderType} from './authorization';
import {SCBackendConfiguration, SCBackendInternalConfiguration} from './backend';
import {SCLicensePlate} from '../general/namespaces.js';
import {SCAppConfiguration} from './app.js';
import {SCAuthorizationProvider, SCAuthorizationProviderType} from './authorization.js';
import {SCBackendConfiguration, SCBackendInternalConfiguration} from './backend.js';
/**
* A configuration file that configures app and backend