@overmap-ai/core 1.0.60-sdk-refactor.10 → 1.0.60-sdk-refactor.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -14863,6 +14863,20 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
14863
14863
|
function getClientSDK() {
|
|
14864
14864
|
return clientSDK;
|
|
14865
14865
|
}
|
|
14866
|
+
const CLASS_NAME_TO_SERVICE = {};
|
|
14867
|
+
class BaseService {
|
|
14868
|
+
constructor(sdk) {
|
|
14869
|
+
__publicField(this, "client");
|
|
14870
|
+
CLASS_NAME_TO_SERVICE[this.constructor.name] = this;
|
|
14871
|
+
this.client = sdk;
|
|
14872
|
+
}
|
|
14873
|
+
async enqueueRequest(requestDetails) {
|
|
14874
|
+
return this.client.enqueueRequest(requestDetails, this.host, this.constructor.name);
|
|
14875
|
+
}
|
|
14876
|
+
dispatch(action) {
|
|
14877
|
+
this.client.store.dispatch(action);
|
|
14878
|
+
}
|
|
14879
|
+
}
|
|
14866
14880
|
const VERSION_REDUCER_KEY = "versioning";
|
|
14867
14881
|
const overmapReducers = {
|
|
14868
14882
|
// TODO: attachmentReducer,
|
|
@@ -15400,20 +15414,6 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
15400
15414
|
setClientStore(store);
|
|
15401
15415
|
return sdkInstance;
|
|
15402
15416
|
};
|
|
15403
|
-
const CLASS_NAME_TO_SERVICE$1 = {};
|
|
15404
|
-
class BaseService {
|
|
15405
|
-
constructor(sdk) {
|
|
15406
|
-
__publicField(this, "client");
|
|
15407
|
-
CLASS_NAME_TO_SERVICE$1[this.constructor.name] = this;
|
|
15408
|
-
this.client = sdk;
|
|
15409
|
-
}
|
|
15410
|
-
async enqueueRequest(requestDetails) {
|
|
15411
|
-
return this.client.enqueueRequest(requestDetails, this.host, this.constructor.name);
|
|
15412
|
-
}
|
|
15413
|
-
dispatch(action) {
|
|
15414
|
-
this.client.store.dispatch(action);
|
|
15415
|
-
}
|
|
15416
|
-
}
|
|
15417
15417
|
class BaseAuthService extends BaseService {
|
|
15418
15418
|
constructor(sdk) {
|
|
15419
15419
|
super(sdk);
|
|
@@ -15602,7 +15602,6 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
15602
15602
|
return Promise.race([timeoutPromise, successPromise]);
|
|
15603
15603
|
}
|
|
15604
15604
|
}
|
|
15605
|
-
const CLASS_NAME_TO_SERVICE = {};
|
|
15606
15605
|
class BaseApiService extends BaseService {
|
|
15607
15606
|
constructor(sdk, auth) {
|
|
15608
15607
|
super(sdk);
|
|
@@ -18676,7 +18675,6 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
18676
18675
|
exports2.BaseSDK = BaseSDK;
|
|
18677
18676
|
exports2.BooleanField = BooleanField;
|
|
18678
18677
|
exports2.BooleanInput = BooleanInput;
|
|
18679
|
-
exports2.CLASS_NAME_TO_SERVICE = CLASS_NAME_TO_SERVICE;
|
|
18680
18678
|
exports2.CategoryService = CategoryService;
|
|
18681
18679
|
exports2.ColorPicker = ColorPicker;
|
|
18682
18680
|
exports2.Colors = Colors;
|