graphdb-workbench
Version:
The web application for GraphDB APIs
20 lines (19 loc) • 559 B
TypeScript
import { Model } from './model';
/**
* Represents a generic model that includes a unique identifier (`id`).
*
* This class extends the base {@link Model} class and automatically assigns a UUID to each instance using.
*
* @template T - The type of data managed by the model.
* @extends Model<T>
*/
export declare class IdModel<T> extends Model<T> {
/**
* The unique identifier for this model instance.
*/
readonly id: string;
/**
* Creates a new {@link IdModel} instance with a unique identifier.
*/
constructor();
}