Skip to content

Commit d4e8003

Browse files
committed
feat: Add API functions for glossaries to export/import/delete them from an IGA tenant
1 parent 6bdf6cd commit d4e8003

41 files changed

Lines changed: 164440 additions & 108 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

package-lock.json

Lines changed: 37 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/api/ApiTypes.ts

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,48 @@ export type PagedResult<Type> = {
3838
remainingPagedResults: number;
3939
};
4040

41+
export type SearchResult<Type> = {
42+
result: Type[];
43+
resultCount: number;
44+
totalCount: number;
45+
searchAfterKey?: string[];
46+
};
47+
4148
export type EntityType = IdObjectSkeletonInterface & {
4249
name: string;
4350
collection: boolean;
4451
};
4552

53+
export type SearchTargetOperator =
54+
| 'AND'
55+
| 'EQUALS'
56+
| 'CONTAINS'
57+
| 'ALL'
58+
| 'OR'
59+
| 'STARTS_WITH'
60+
| 'ENDS_WITH'
61+
| 'EXISTS'
62+
| 'GTE'
63+
| 'GT'
64+
| 'LTE'
65+
| 'LT'
66+
| 'NOT';
67+
68+
export interface SearchTargetFilterOperation {
69+
operator: SearchTargetOperator;
70+
operand:
71+
| SearchTargetFilterOperation[]
72+
| {
73+
targetName: string;
74+
targetValue: string | number | boolean;
75+
};
76+
}
77+
78+
export type Metadata = {
79+
modifiedDate: string;
80+
createdDate: string;
81+
};
82+
4683
/**
4784
* See {@link https://backstage.forgerock.com/docs/idm/7.5/crest/crest-patch.html}.
4885
*/

0 commit comments

Comments
 (0)