Skip to content

Documentation / @geoverse/vue / UseDatasetSnapshots

Interface: UseDatasetSnapshots ​

Defined in: composables/history.ts:132

Properties ​

error ​

ts
error: ShallowRef<Error | null>;

Defined in: composables/history.ts:135


loading ​

ts
loading: Ref<boolean>;

Defined in: composables/history.ts:134


snapshots ​

ts
snapshots: ShallowRef<DatasetSnapshot[]>;

Defined in: composables/history.ts:133

Methods ​

create() ​

ts
create(input): Promise<DatasetSnapshot>;

Defined in: composables/history.ts:137

Parameters ​

input ​

CreateSnapshotInput

Returns ​

Promise<DatasetSnapshot>


loadFeatures() ​

ts
loadFeatures(id): Promise<EditableFeature[]>;

Defined in: composables/history.ts:138

Parameters ​

id ​

string

Returns ​

Promise<EditableFeature[]>


reload() ​

ts
reload(): void;

Defined in: composables/history.ts:136

Returns ​

void