UNPKG

@citrineos/data

Version:

The OCPP data module which includes all persistence layer implementation.

35 lines 914 B
"use strict"; // Copyright Contributors to the CitrineOS Project // // SPDX-License-Identifier: Apache 2.0 Object.defineProperty(exports, "__esModule", { value: true }); exports.UpdateTlsCertificateQuerySchema = exports.TlsCertificateSchema = void 0; const base_1 = require("@citrineos/base"); exports.TlsCertificateSchema = (0, base_1.QuerySchema)('TlsCertificateSchema', [ { key: 'certificateChain', type: 'string[]', required: true, }, { key: 'privateKey', type: 'string', required: true, }, { key: 'rootCA', type: 'string', }, { key: 'subCAKey', type: 'string', }, ]); exports.UpdateTlsCertificateQuerySchema = (0, base_1.QuerySchema)('UpdateTlsCertificateQuerySchema', [ { key: 'id', type: 'string', required: true, }, ]); //# sourceMappingURL=TlsCertificate.js.map