mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 07:35:09 +00:00
Iron out naming / text, update docs for Heroku integration
This commit is contained in:
@@ -61,7 +61,7 @@ export const useCreateIntegration = () => {
|
||||
metadata?: {
|
||||
secretPrefix?: string;
|
||||
secretSuffix?: string;
|
||||
syncBehavior?: string;
|
||||
initialSyncBehavior?: string;
|
||||
}
|
||||
}) => {
|
||||
const { data: { integration } } = await apiRequest.post("/api/v1/integration", {
|
||||
|
||||
@@ -45,10 +45,4 @@ export enum IntegrationSyncBehavior {
|
||||
OVERWRITE_TARGET = "overwrite-target",
|
||||
PREFER_TARGET = "prefer-target",
|
||||
PREFER_SOURCE = "prefer-source"
|
||||
}
|
||||
|
||||
export const syncBehaviors = [
|
||||
{ label: "Overwrite target", value: IntegrationSyncBehavior.OVERWRITE_TARGET },
|
||||
{ label: "Prefer target", value: IntegrationSyncBehavior.PREFER_TARGET },
|
||||
{ label: "Prefer source", value: IntegrationSyncBehavior.PREFER_SOURCE }
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user