-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(entities-plugins): oidc form fields (#965)
- Loading branch information
1 parent
747320c
commit 6cd0176
Showing
7 changed files
with
288 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
packages/entities/entities-plugins/src/composables/plugin-schemas/SAML.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import type { SAMLSchema } from '../../types/plugins/saml' | ||
import { arrayCardContainerFieldSchema } from './ArrayCardContainerFields' | ||
|
||
export const samlSchema: SAMLSchema = { | ||
'config-session_redis_cluster_nodes': { | ||
...arrayCardContainerFieldSchema, | ||
newElementButtonLabel: '+ Add Cluster Node', | ||
items: { | ||
type: 'object', | ||
schema: { | ||
fields: [{ | ||
label: 'IP', | ||
model: 'ip', | ||
type: 'input', | ||
inputType: 'text', | ||
}, { | ||
label: 'Port', | ||
model: 'port', | ||
type: 'input', | ||
inputType: 'number', | ||
}], | ||
}, | ||
}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
packages/entities/entities-plugins/src/types/plugins/saml.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import type { ItemsSchema, CommonSchemaFields } from '../../types/plugins/shared' | ||
|
||
export interface SAMLSchema extends CommonSchemaFields { | ||
'config-session_redis_cluster_nodes': { | ||
type: string | ||
showRemoveButton: boolean | ||
newElementButtonLabelClasses: string | ||
itemContainerComponent: string | ||
fieldClasses: string | ||
|
||
newElementButtonLabel: string | ||
items: ItemsSchema | ||
} | ||
} |