@citrineos/data
Version:
The OCPP data module which includes all persistence layer implementation.
37 lines • 781 B
JavaScript
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
//
// SPDX-License-Identifier: Apache-2.0
import { QuerySchema } from '@citrineos/base';
export const CreateSubscriptionSchema = 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