UNPKG

s-bit-agent

Version:

s.BitAgent is a simple Bitwarden CLI wrapper which provides a SSH2 Key Agent solution for Bitwarden.

45 lines 1.54 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BitwardenKeyCreateItem = exports.BitwardenKeyItem = exports.BitwardenItemBase = exports.BitwardenItemField = exports.BitwardenItemType = void 0; var BitwardenItemType; (function (BitwardenItemType) { BitwardenItemType[BitwardenItemType["STRING"] = 0] = "STRING"; BitwardenItemType[BitwardenItemType["PASSWORD"] = 1] = "PASSWORD"; })(BitwardenItemType || (exports.BitwardenItemType = BitwardenItemType = {})); class BitwardenItemField { } exports.BitwardenItemField = BitwardenItemField; class BitwardenItemBase { constructor() { this.passwordHistory = []; this.revisionDate = null; this.creationDate = null; this.deletedDate = null; this.folderId = null; this.organizationId = null; this.collectionIds = null; this.object = 'item'; this.reprompt = 0; this.favorite = false; this.card = null; this.identity = null; this.secureNote = null; this.login = null; } } exports.BitwardenItemBase = BitwardenItemBase; class BitwardenKeyItem extends BitwardenItemBase { constructor() { super(...arguments); this.type = 2; } } exports.BitwardenKeyItem = BitwardenKeyItem; class BitwardenKeyCreateItem extends BitwardenKeyItem { constructor() { super(...arguments); this.object = undefined; } } exports.BitwardenKeyCreateItem = BitwardenKeyCreateItem; //# sourceMappingURL=bitwarden.type.js.map