@eyepop.ai/eyepop 1.8.2 → 1.9.0
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.
package/dist/eyepop.index.mjs
CHANGED
|
@@ -10941,6 +10941,11 @@ var ExportedBy = /* @__PURE__ */ ((ExportedBy2) => {
|
|
|
10941
10941
|
ExportedBy2["qc_ai_hub"] = "qc_ai_hub";
|
|
10942
10942
|
return ExportedBy2;
|
|
10943
10943
|
})(ExportedBy || {});
|
|
10944
|
+
var ArtifactType = /* @__PURE__ */ ((ArtifactType3) => {
|
|
10945
|
+
ArtifactType3["eyepop_bundle"] = "eyepop_bundle";
|
|
10946
|
+
ArtifactType3["weights_file"] = "weights_file";
|
|
10947
|
+
return ArtifactType3;
|
|
10948
|
+
})(ArtifactType || {});
|
|
10944
10949
|
var ModelTrainingStage = /* @__PURE__ */ ((ModelTrainingStage2) => {
|
|
10945
10950
|
ModelTrainingStage2["waiting"] = "waiting";
|
|
10946
10951
|
ModelTrainingStage2["scheduling"] = "scheduling";
|
|
@@ -11165,8 +11170,9 @@ var DataEndpoint = class extends Endpoint {
|
|
|
11165
11170
|
this._requestLogger.debug("Response - " + response.status + " " + response.statusText);
|
|
11166
11171
|
return response.json();
|
|
11167
11172
|
}
|
|
11168
|
-
async listDatasets(include_stats = true) {
|
|
11169
|
-
|
|
11173
|
+
async listDatasets(include_stats = true, modifiable_version_only) {
|
|
11174
|
+
const modifiableVersionQuery = typeof modifiable_version_only !== "undefined" ? `&modifiable_version_only=${modifiable_version_only}` : "";
|
|
11175
|
+
return this.request(`/datasets?account_uuid=${this._accountId}&include_stats=${include_stats}${modifiableVersionQuery}`, {
|
|
11170
11176
|
method: "GET"
|
|
11171
11177
|
});
|
|
11172
11178
|
}
|
|
@@ -11391,6 +11397,19 @@ var DataEndpoint = class extends Endpoint {
|
|
|
11391
11397
|
body: JSON.stringify(params)
|
|
11392
11398
|
});
|
|
11393
11399
|
}
|
|
11400
|
+
async downloadModelArtifacts(model_uuid, model_formats, device_name, artifact_type) {
|
|
11401
|
+
const artifactTypeQuery = artifact_type ? `artifact_type=${artifact_type}&` : "";
|
|
11402
|
+
const deviceNameQuery = device_name ? `device_name=${encodeURIComponent(device_name)}&` : "";
|
|
11403
|
+
let modelFormatQuery = "";
|
|
11404
|
+
if (model_formats) {
|
|
11405
|
+
for (const model_format of model_formats) {
|
|
11406
|
+
modelFormatQuery += `model_format=${model_format}&`;
|
|
11407
|
+
}
|
|
11408
|
+
}
|
|
11409
|
+
return this.request(`/exports/model_artifacts/?model_uuid=${model_uuid}&${artifactTypeQuery}${deviceNameQuery}${modelFormatQuery}`, {
|
|
11410
|
+
method: "GET"
|
|
11411
|
+
});
|
|
11412
|
+
}
|
|
11394
11413
|
addAccountEventHandler(eventHandler) {
|
|
11395
11414
|
this._account_event_handlers.push(eventHandler);
|
|
11396
11415
|
}
|
|
@@ -11621,10 +11640,11 @@ var EyePop;
|
|
|
11621
11640
|
}
|
|
11622
11641
|
}
|
|
11623
11642
|
})(EyePop || (EyePop = {}));
|
|
11624
|
-
var
|
|
11643
|
+
var index_default = EyePop;
|
|
11625
11644
|
export {
|
|
11626
11645
|
AbstractJob,
|
|
11627
11646
|
AnnotationType,
|
|
11647
|
+
ArtifactType,
|
|
11628
11648
|
AssetStatus,
|
|
11629
11649
|
ChangeType,
|
|
11630
11650
|
ContourType,
|
|
@@ -11654,7 +11674,7 @@ export {
|
|
|
11654
11674
|
WebrtcWhep,
|
|
11655
11675
|
WebrtcWhip,
|
|
11656
11676
|
WorkerEndpoint,
|
|
11657
|
-
|
|
11677
|
+
index_default as default
|
|
11658
11678
|
};
|
|
11659
11679
|
/*! Bundled license information:
|
|
11660
11680
|
|