UNPKG

contentful-migration

Version:
23 lines 653 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FieldAction = exports.default = void 0; const action_1 = require("./action"); class FieldAction extends action_1.EntityAction { constructor(contentTypeId, fieldId) { super(); this.contentTypeId = contentTypeId; this.fieldId = fieldId; } getEntityType() { return action_1.EntityType.ContentType; } getEntityId() { return this.contentTypeId; } getFieldId() { return this.fieldId; } } exports.default = FieldAction; exports.FieldAction = FieldAction; //# sourceMappingURL=field-action.js.map