@citrineos/data
Version:
The OCPP data module which includes all persistence layer implementation.
40 lines • 885 B
JavaScript
;
// Copyright Contributors to the CitrineOS Project
//
// SPDX-License-Identifier: Apache 2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.CreateSubscriptionSchema = void 0;
const base_1 = require("@citrineos/base");
exports.CreateSubscriptionSchema = (0, base_1.QuerySchema)('CreateSubscriptionSchema', [
{
key: 'stationId',
type: 'string',
required: true,
},
{
key: 'url',
type: 'string',
required: true,
},
{
key: 'messageRegexFilter',
type: 'string',
},
{
key: 'onClose',
type: 'boolean',
},
{
key: 'onConnect',
type: 'boolean',
},
{
key: 'onMessage',
type: 'boolean',
},
{
key: 'sentMessage',
type: 'boolean',
},
]);
//# sourceMappingURL=Subscription.js.map