Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter

- CitrineOS core extracted (CSMS OCPP 2.0.1)
- OpenOCPP extracted (firmware OCPP 1.6J/2.0.1)
- ShapeShifter library installed (pip install -e)
- ShapeShifter specification extracted
- EVerest extracted

TODO updated with progress
This commit is contained in:
Eric F
2026-06-08 00:38:27 -04:00
parent 468cfeaa50
commit d398a6ced2
7326 changed files with 1177561 additions and 7 deletions

View File

@@ -0,0 +1,70 @@
// SPDX-FileCopyrightText: 2026 Contributors to the CitrineOS Project
//
// SPDX-License-Identifier: Apache-2.0
'use strict';
/** @type {import('sequelize-cli').Migration} */
import { DataTypes, QueryInterface } from 'sequelize';
export default {
up: async (queryInterface: QueryInterface) => {
await queryInterface.addColumn('Tariffs', 'tariffId', {
type: DataTypes.STRING,
allowNull: true,
});
await queryInterface.addColumn('Tariffs', 'validFrom', {
type: DataTypes.DATE,
allowNull: true,
});
await queryInterface.addColumn('Tariffs', 'description', {
type: DataTypes.JSONB,
allowNull: true,
});
await queryInterface.addColumn('Tariffs', 'energy', {
type: DataTypes.JSONB,
allowNull: true,
});
await queryInterface.addColumn('Tariffs', 'chargingTime', {
type: DataTypes.JSONB,
allowNull: true,
});
await queryInterface.addColumn('Tariffs', 'idleTime', {
type: DataTypes.JSONB,
allowNull: true,
});
await queryInterface.addColumn('Tariffs', 'fixedFee', {
type: DataTypes.JSONB,
allowNull: true,
});
await queryInterface.addColumn('Tariffs', 'reservationTime', {
type: DataTypes.JSONB,
allowNull: true,
});
await queryInterface.addColumn('Tariffs', 'reservationFixed', {
type: DataTypes.JSONB,
allowNull: true,
});
await queryInterface.addColumn('Tariffs', 'minCost', {
type: DataTypes.JSONB,
allowNull: true,
});
await queryInterface.addColumn('Tariffs', 'maxCost', {
type: DataTypes.JSONB,
allowNull: true,
});
},
down: async (queryInterface: QueryInterface) => {
await queryInterface.removeColumn('Tariffs', 'tariffId');
await queryInterface.removeColumn('Tariffs', 'validFrom');
await queryInterface.removeColumn('Tariffs', 'description');
await queryInterface.removeColumn('Tariffs', 'energy');
await queryInterface.removeColumn('Tariffs', 'chargingTime');
await queryInterface.removeColumn('Tariffs', 'idleTime');
await queryInterface.removeColumn('Tariffs', 'fixedFee');
await queryInterface.removeColumn('Tariffs', 'reservationTime');
await queryInterface.removeColumn('Tariffs', 'reservationFixed');
await queryInterface.removeColumn('Tariffs', 'minCost');
await queryInterface.removeColumn('Tariffs', 'maxCost');
},
};