UNPKG

kui-shell

Version:

This is the monorepo for Kui, the hybrid command-line/GUI electron-based Kubernetes tool

12 lines 496 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const entity_1 = require("../../models/entity"); function isCustomSpec(entity) { const custom = entity; return (custom !== undefined && (custom.type === 'custom' || custom.renderAs === 'custom' || (custom.kind !== undefined && custom.content !== undefined && entity_1.isMetadataBearing(custom)))); } exports.isCustomSpec = isCustomSpec; //# sourceMappingURL=custom-content.js.map