mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-15 10:57:58 +00:00

* Module consolidation on datahub-web - clean up to some OS logic from previous update - initial implementation of virtual assistant * Fix accidental change to datahub user module license
14 lines
324 B
TypeScript
14 lines
324 B
TypeScript
import StorageArray from 'ember-local-storage/local/array';
|
|
|
|
/**
|
|
* Creates an ArrayProxy class for persisting DataModel entities to localStorage
|
|
* @export
|
|
* @class Storage
|
|
* @extends {StorageArray}
|
|
*/
|
|
export default class Storage<T> extends StorageArray<T> {
|
|
static initialState<T>(): Array<T> {
|
|
return [];
|
|
}
|
|
}
|