@eyepop.ai/eyepop 0.21.2 → 0.22.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.
@@ -10732,7 +10732,7 @@ var AssetStatus = /* @__PURE__ */ ((AssetStatus2) => {
10732
10732
  return AssetStatus2;
10733
10733
  })(AssetStatus || {});
10734
10734
  var AnnotationType = /* @__PURE__ */ ((AnnotationType2) => {
10735
- AnnotationType2["manual"] = "manual";
10735
+ AnnotationType2["ground_truth"] = "ground_truth";
10736
10736
  AnnotationType2["prediction"] = "prediction";
10737
10737
  AnnotationType2["auto"] = "auto";
10738
10738
  return AnnotationType2;
@@ -11049,10 +11049,10 @@ var DataEndpoint = class extends Endpoint {
11049
11049
  method: "POST"
11050
11050
  });
11051
11051
  }
11052
- async updateAssetManualAnnotation(asset_uuid, dataset_uuid, dataset_version, prediction) {
11052
+ async updateAssetGroundTruth(asset_uuid, dataset_uuid, dataset_version, prediction) {
11053
11053
  const versionQuery = dataset_version ? `&dataset_version=${dataset_version}` : "";
11054
11054
  const datasetQuery = dataset_uuid ? `&dataset_uuid=${dataset_uuid}` : "";
11055
- return this.request(`/assets/${asset_uuid}/manual_annotate?${datasetQuery}${versionQuery}`, {
11055
+ return this.request(`/assets/${asset_uuid}/ground_truth?${datasetQuery}${versionQuery}`, {
11056
11056
  method: "PATCH",
11057
11057
  body: JSON.stringify(prediction)
11058
11058
  });