diff --git a/schema.graphql b/schema.graphql index e536c91da..10b947e2e 100644 --- a/schema.graphql +++ b/schema.graphql @@ -1147,6 +1147,7 @@ enum ConfigurationTypeFieldEnum { STRING BOOLEAN SECRET + SECRETMULTILINE PASSWORD } @@ -5241,4 +5242,4 @@ union _Entity = Address | User | Group | App | ProductVariant | Product | Produc type _Service { sdl: String -} +} \ No newline at end of file diff --git a/src/plugins/components/PluginAuthorization/PluginAuthorization.tsx b/src/plugins/components/PluginAuthorization/PluginAuthorization.tsx index a1b9cbdfb..3f01bd99a 100644 --- a/src/plugins/components/PluginAuthorization/PluginAuthorization.tsx +++ b/src/plugins/components/PluginAuthorization/PluginAuthorization.tsx @@ -59,7 +59,8 @@ const PluginAuthorization: React.FC = props => { {secretFields.map((field, fieldIndex) => (
- {field.type === ConfigurationTypeFieldEnum.SECRET ? ( + {field.type === ConfigurationTypeFieldEnum.SECRET || + field.type === ConfigurationTypeFieldEnum.SECRETMULTILINE ? (
{field.label} {field.value !== null && ( diff --git a/src/plugins/components/PluginSecretFieldDialog/PluginSecretFieldDialog.tsx b/src/plugins/components/PluginSecretFieldDialog/PluginSecretFieldDialog.tsx index 1b19a7770..9d8a4c8ae 100644 --- a/src/plugins/components/PluginSecretFieldDialog/PluginSecretFieldDialog.tsx +++ b/src/plugins/components/PluginSecretFieldDialog/PluginSecretFieldDialog.tsx @@ -63,6 +63,9 @@ const PluginSecretFieldDialog: React.FC = ({ <> configField.name === field).type); } diff --git a/src/types/globalTypes.ts b/src/types/globalTypes.ts index 14327e9df..452466c94 100644 --- a/src/types/globalTypes.ts +++ b/src/types/globalTypes.ts @@ -125,6 +125,7 @@ export enum ConfigurationTypeFieldEnum { BOOLEAN = "BOOLEAN", PASSWORD = "PASSWORD", SECRET = "SECRET", + SECRETMULTILINE = "SECRETMULTILINE", STRING = "STRING", }