UNPKG

@citrineos/data

Version:

The OCPP data module which includes all persistence layer implementation.

28 lines 709 B
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project // // SPDX-License-Identifier: Apache-2.0 import { DEFAULT_TENANT_ID, QuerySchema } from '@citrineos/base'; export const TenantQuerySchema = QuerySchema('TenantQuerySchema', [ { key: 'tenantId', type: 'number', required: true, defaultValue: String(DEFAULT_TENANT_ID), }, ]); export const CreateTenantQuerySchema = QuerySchema('CreateTenantQuerySchema', [ { key: 'name', type: 'string', required: true, }, { key: 'isUserTenant', type: 'boolean', }, { key: 'url', type: 'string', }, ]); //# sourceMappingURL=Tenant.js.map