Skip to content

feat: add integrations#462

Draft
mpfeil wants to merge 2 commits intodevfrom
feat/integrations
Draft

feat: add integrations#462
mpfeil wants to merge 2 commits intodevfrom
feat/integrations

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.

@jona159 jona159 mentioned this pull request Jan 9, 2026
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