@citrineos/data
Version:
The OCPP data module which includes all persistence layer implementation.
26 lines • 1.08 kB
JavaScript
;
// Copyright Contributors to the CitrineOS Project
//
// SPDX-License-Identifier: Apache 2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.InstallRootCertificateSchema = exports.GenerateCertificateChainSchema = void 0;
const base_1 = require("@citrineos/base");
exports.GenerateCertificateChainSchema = (0, base_1.QuerySchema)('GenerateCertificateChainSchema', [
['keyLength', 'number'],
['organizationName', 'string'],
['commonName', 'string'],
['validBefore', 'string'],
['filePath', 'string'],
['selfSigned', 'boolean'],
['countryName', 'string'],
['signatureAlgorithm', 'string'],
['pathLen', 'number'],
], ['selfSigned', 'commonName', 'organizationName']);
exports.InstallRootCertificateSchema = (0, base_1.QuerySchema)('InstallRootCertificateSchema', [
['stationId', 'string'],
['certificateType', 'string'],
['tenantId', 'string'],
['callbackUrl', 'string'],
['fileId', 'string'],
], ['stationId', 'certificateType', 'tenantId']);
//# sourceMappingURL=RootCertificate.js.map