@eyepop.ai/eyepop 1.8.2 → 1.8.3
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.d.mts
CHANGED
|
@@ -495,6 +495,7 @@ interface DatasetVersion {
|
|
|
495
495
|
last_analysed_at?: Date;
|
|
496
496
|
hero_asset_uuid?: string;
|
|
497
497
|
asset_stats?: DatasetVersionAssetStats;
|
|
498
|
+
default_source_model_uuid?: string;
|
|
498
499
|
}
|
|
499
500
|
interface Dataset {
|
|
500
501
|
uuid: string;
|
|
@@ -709,7 +710,7 @@ declare class DataEndpoint extends Endpoint<DataEndpoint> {
|
|
|
709
710
|
private reconnect_ws;
|
|
710
711
|
private options;
|
|
711
712
|
private request;
|
|
712
|
-
listDatasets(include_stats?: boolean): Promise<Dataset[]>;
|
|
713
|
+
listDatasets(include_stats?: boolean, modifiable_version_only?: boolean): Promise<Dataset[]>;
|
|
713
714
|
createDataset(data: DatasetCreate): Promise<Dataset>;
|
|
714
715
|
getDataset(dataset_uuid: string, include_stats?: boolean, dataset_version?: number, modifiable_version_only?: boolean): Promise<Dataset>;
|
|
715
716
|
updateDataset(dataset_uuid: string, data: DatasetUpdate, start_auto_annotate?: boolean): Promise<Dataset>;
|
package/dist/eyepop.index.d.ts
CHANGED
|
@@ -495,6 +495,7 @@ interface DatasetVersion {
|
|
|
495
495
|
last_analysed_at?: Date;
|
|
496
496
|
hero_asset_uuid?: string;
|
|
497
497
|
asset_stats?: DatasetVersionAssetStats;
|
|
498
|
+
default_source_model_uuid?: string;
|
|
498
499
|
}
|
|
499
500
|
interface Dataset {
|
|
500
501
|
uuid: string;
|
|
@@ -709,7 +710,7 @@ declare class DataEndpoint extends Endpoint<DataEndpoint> {
|
|
|
709
710
|
private reconnect_ws;
|
|
710
711
|
private options;
|
|
711
712
|
private request;
|
|
712
|
-
listDatasets(include_stats?: boolean): Promise<Dataset[]>;
|
|
713
|
+
listDatasets(include_stats?: boolean, modifiable_version_only?: boolean): Promise<Dataset[]>;
|
|
713
714
|
createDataset(data: DatasetCreate): Promise<Dataset>;
|
|
714
715
|
getDataset(dataset_uuid: string, include_stats?: boolean, dataset_version?: number, modifiable_version_only?: boolean): Promise<Dataset>;
|
|
715
716
|
updateDataset(dataset_uuid: string, data: DatasetUpdate, start_auto_annotate?: boolean): Promise<Dataset>;
|
package/dist/eyepop.index.js
CHANGED
|
@@ -8654,8 +8654,8 @@ var require_mime_types = __commonJS({
|
|
|
8654
8654
|
});
|
|
8655
8655
|
|
|
8656
8656
|
// index.ts
|
|
8657
|
-
var
|
|
8658
|
-
__export(
|
|
8657
|
+
var index_exports = {};
|
|
8658
|
+
__export(index_exports, {
|
|
8659
8659
|
AbstractJob: () => AbstractJob,
|
|
8660
8660
|
AnnotationType: () => AnnotationType,
|
|
8661
8661
|
AssetStatus: () => AssetStatus,
|
|
@@ -8687,9 +8687,9 @@ __export(eyepop_exports, {
|
|
|
8687
8687
|
WebrtcWhep: () => WebrtcWhep,
|
|
8688
8688
|
WebrtcWhip: () => WebrtcWhip,
|
|
8689
8689
|
WorkerEndpoint: () => WorkerEndpoint,
|
|
8690
|
-
default: () =>
|
|
8690
|
+
default: () => index_default
|
|
8691
8691
|
});
|
|
8692
|
-
module.exports = __toCommonJS(
|
|
8692
|
+
module.exports = __toCommonJS(index_exports);
|
|
8693
8693
|
|
|
8694
8694
|
// types.ts
|
|
8695
8695
|
var EndpointState = /* @__PURE__ */ ((EndpointState2) => {
|
|
@@ -11224,8 +11224,9 @@ var DataEndpoint = class extends Endpoint {
|
|
|
11224
11224
|
this._requestLogger.debug("Response - " + response.status + " " + response.statusText);
|
|
11225
11225
|
return response.json();
|
|
11226
11226
|
}
|
|
11227
|
-
async listDatasets(include_stats = true) {
|
|
11228
|
-
|
|
11227
|
+
async listDatasets(include_stats = true, modifiable_version_only) {
|
|
11228
|
+
const modifiableVersionQuery = typeof modifiable_version_only !== "undefined" ? `&modifiable_version_only=${modifiable_version_only}` : "";
|
|
11229
|
+
return this.request(`/datasets?account_uuid=${this._accountId}&include_stats=${include_stats}${modifiableVersionQuery}`, {
|
|
11229
11230
|
method: "GET"
|
|
11230
11231
|
});
|
|
11231
11232
|
}
|
|
@@ -11680,7 +11681,7 @@ var EyePop;
|
|
|
11680
11681
|
}
|
|
11681
11682
|
}
|
|
11682
11683
|
})(EyePop || (EyePop = {}));
|
|
11683
|
-
var
|
|
11684
|
+
var index_default = EyePop;
|
|
11684
11685
|
// Annotate the CommonJS export names for ESM import in node:
|
|
11685
11686
|
0 && (module.exports = {
|
|
11686
11687
|
AbstractJob,
|