mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-21 03:50:10 +00:00
- Implemented new Northflank sync functionality, including routes for listing secret groups and managing syncs. - Added types and schemas for Northflank projects and secret groups to improve data handling. - Updated frontend components to support Northflank sync configuration and review. - Enhanced API documentation with detailed instructions for Northflank integration and usage. - Included new images and examples in the documentation for better clarity.
22 lines
650 B
TypeScript
22 lines
650 B
TypeScript
import { GenericFieldLabel } from "@app/components/secret-syncs";
|
|
import { TNorthflankSync } from "@app/hooks/api/secretSyncs/types/northflank-sync";
|
|
|
|
type Props = {
|
|
secretSync: TNorthflankSync;
|
|
};
|
|
|
|
export const NorthflankSyncDestinationSection = ({ secretSync }: Props) => {
|
|
const { destinationConfig } = secretSync;
|
|
|
|
return (
|
|
<>
|
|
<GenericFieldLabel label="Project">
|
|
{destinationConfig.projectName || destinationConfig.projectId}
|
|
</GenericFieldLabel>
|
|
<GenericFieldLabel label="Secret Group">
|
|
{destinationConfig.secretGroupName || destinationConfig.secretGroupId}
|
|
</GenericFieldLabel>
|
|
</>
|
|
);
|
|
};
|