UNPKG

ithit.webdav.server

Version:

With IT Hit WebDAV Server Engine for Node.js you can create your own WebDAV server, add WebDAV support to your existing Node.js project or DAV-enable your CMS/DMS/CRM.

42 lines (41 loc) 1.36 kB
import { LockLevel } from "./LockLevel"; /** * Serves for exchanging locking information with WebDAV engine. */ export declare class LockInfo { /** * The lock token associated with a lock. */ token: string | null; /** * Indicates whether a lock is shared or exclusive. */ level: LockLevel; /** * Indicates whether a lock is enforceable on the subtree. */ isDeep: boolean; /** * Lock expiration time. * @remarks Lock timeout which was requested by client. The null value means that timeout was not provided by a client. */ timeOut: number | null; /** * Provides information about the principal taking out a lock. */ owner: string; /** * Parent item on which this lock is specified explicitely. */ lockRoot: string | null; /** * Initializes a new instance of the LockInfo class. * @param level Shared or exclusive. * @param isDeep Whether the lock is deep. * @param token Lock token. * @param timeOut Lock timeout. * @param owner Lock owner. * @param lockRoot Parent item on which this lock is specified explicitely. */ constructor(level: LockLevel, isDeep: boolean, token?: string | null, timeOut?: number | null, owner?: string, lockRoot?: string | null); }