UNPKG

graphdb-workbench

Version:
20 lines (19 loc) 559 B
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(); }