UNPKG

@sphereon/ssi-sdk.data-store

Version:

33 lines 1.57 kB
import { BaseEntity } from 'typeorm'; /** * @class MachineStateInfoEntity * Represents a machine state. It allows to continue a machine at a later point in time at the point it was left of * * @param {string} instanceId - The instance ID of the machine state. * @param {string} [sessionId] - The session ID of the machine state. (optional) * @param {string} machineName - The name of the machine. * @param {string} [latestStateName] - The name of the latest state. (optional) * @param {string} latestEventType - The type of the latest event. * @param {string} state - The current state of the machine. * @param {Date} createdAt - The date and time when the machine state was created. * @param {Date} updatedAt - The date and time when the machine state was last updated. * @param {number} updatedCount - The number of times the machine state has been updated. * @param {Date} [expiresAt] - The date and time when the machine state expires. (optional) * @param {Date} [completedAt] - The date and time when the machine state was completed. (optional) * @param {string} [tenantId] - The ID of the tenant associated with the machine state. (optional) */ export declare class MachineStateInfoEntity extends BaseEntity { instanceId: string; sessionId?: string; machineName: string; latestStateName?: string; latestEventType: string; state: string; createdAt: Date; updatedAt: Date; updatedCount: number; expiresAt?: Date; completedAt?: Date; tenantId?: string; } //# sourceMappingURL=MachineStateInfoEntity.d.ts.map