Skip to content

Commit

Permalink
Merge pull request #34 from sailpoint-oss/hemanth-vakkapatla-sp/PLTFO…
Browse files Browse the repository at this point in the history
…RMS-1855

PLTFORMS-1855: Changing output to array
  • Loading branch information
hemanth-vakkapatla-sp committed Aug 30, 2023
2 parents 9ee3be1 + 7e1c76d commit 330c5e7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
10 changes: 6 additions & 4 deletions lib/commands/std-source-data-discover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ type QueryInput = {
limit?: number
}

/**
* Output object of `std:source-data:discover` command
*/
export type StdSourceDataDiscoverOutput = ObjectOutput & {
type SourceDataDiscover = {
key: string
label: string
subLabel?: string
}

/**
* Output object of `std:source-data:discover` command
*/
export type StdSourceDataDiscoverOutput = SourceDataDiscover[]
16 changes: 8 additions & 8 deletions lib/commands/std-source-data-read.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ type QueryInput = {
limit?: number
}

type SourceDataRead = {
key: string
label: string
subLabel?: string
}

/**
* Output object of `std:source-data:read` command
*/
export type StdSourceDataReadOutput = ObjectOutput &
[
{
key: string
label: string
subLabel?: string
}
]
export type StdSourceDataReadOutput = SourceDataRead[]

0 comments on commit 330c5e7

Please sign in to comment.