Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add integrations #462

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from
Draft

feat: add integrations #462

wants to merge 2 commits into from

Conversation

mpfeil
Copy link
Contributor

@mpfeil mpfeil commented Dec 13, 2024

This pull request introduces several notable changes to the schema definitions and relationships in the codebase, primarily adding new integrations and enums. The key changes are summarized below:

Schema Enhancements:

  • Added a new import for deviceToIntegrations in the device schema file to establish relationships with integrations.

Relationship Additions:

  • Updated deviceRelations to include a one-to-one relationship with deviceToIntegrations, linking devices to their respective integrations.

Enum Definitions:

  • Introduced MqttMessageFormatEnum and TtnProfileEnum enums to support different message formats and profiles for integrations.

Integration Schema:

  • Added a new file integration.ts defining the schema for mqttIntegration, ttnIntegration, and deviceToIntegrations, including their relationships and constraints.

Export Updates:

  • Updated the index.ts file to export the new integration schema, making it accessible throughout the application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant