-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update typescript types for taxonomy
is_default
(#997)
* Autogenerate types * Add is_default to taxonomy type
- Loading branch information
1 parent
c9fdca0
commit 203e6cf
Showing
22 changed files
with
174 additions
and
2 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
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,10 @@ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
/** | ||
* A wrapper for the access_code returned upon successful authentication | ||
*/ | ||
export type AccessToken = { | ||
access_token: string; | ||
}; |
13 changes: 13 additions & 0 deletions
13
clients/ctl/admin-ui/src/types/api/models/BigQueryConfig.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,13 @@ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
import type { KeyfileCreds } from './KeyfileCreds'; | ||
|
||
/** | ||
* The model for the connection config for BigQuery | ||
*/ | ||
export type BigQueryConfig = { | ||
dataset?: string; | ||
keyfile_creds: KeyfileCreds; | ||
}; |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
/** | ||
* The model for BigQuery credential keyfiles. | ||
*/ | ||
export type KeyfileCreds = { | ||
type?: string; | ||
project_id: string; | ||
private_key_id?: string; | ||
private_key?: string; | ||
client_email?: string; | ||
client_id?: string; | ||
auth_uri?: string; | ||
token_uri?: string; | ||
auth_provider_x509_cert_url?: string; | ||
client_x509_cert_url?: string; | ||
}; |
12 changes: 12 additions & 0 deletions
12
clients/ctl/admin-ui/src/types/api/models/Page_UserResponse_.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,12 @@ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
import type { UserResponse } from './UserResponse'; | ||
|
||
export type Page_UserResponse_ = { | ||
items: Array<UserResponse>; | ||
total: number; | ||
page: number; | ||
size: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
/** | ||
* Data required to create a FidesUser. | ||
*/ | ||
export type UserCreate = { | ||
username: string; | ||
password: string; | ||
first_name?: string; | ||
last_name?: string; | ||
}; |
10 changes: 10 additions & 0 deletions
10
clients/ctl/admin-ui/src/types/api/models/UserCreateResponse.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,10 @@ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
/** | ||
* Response after creating a FidesUser | ||
*/ | ||
export type UserCreateResponse = { | ||
id: string; | ||
}; |
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,12 @@ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
/** | ||
* Similar to UserCreate except we do not need the extra validation on | ||
* username and password. | ||
*/ | ||
export type UserLogin = { | ||
username: string; | ||
password: string; | ||
}; |
14 changes: 14 additions & 0 deletions
14
clients/ctl/admin-ui/src/types/api/models/UserLoginResponse.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 @@ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
import type { AccessToken } from './AccessToken'; | ||
import type { UserResponse } from './UserResponse'; | ||
|
||
/** | ||
* Similar to UserResponse except with an access token | ||
*/ | ||
export type UserLoginResponse = { | ||
user_data: UserResponse; | ||
token_data: AccessToken; | ||
}; |
11 changes: 11 additions & 0 deletions
11
clients/ctl/admin-ui/src/types/api/models/UserPasswordReset.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,11 @@ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
/** | ||
* Contains both old and new passwords when resetting a password | ||
*/ | ||
export type UserPasswordReset = { | ||
old_password: string; | ||
new_password: string; | ||
}; |
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 @@ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
/** | ||
* Response after requesting a User | ||
*/ | ||
export type UserResponse = { | ||
id: string; | ||
username: string; | ||
created_at: string; | ||
first_name?: string; | ||
last_name?: string; | ||
}; |
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,11 @@ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
/** | ||
* Data required to update a FidesopsUser | ||
*/ | ||
export type UserUpdate = { | ||
first_name?: string; | ||
last_name?: string; | ||
}; |
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 |
---|---|---|
|
@@ -9,4 +9,5 @@ export enum ValidTargets { | |
AWS = 'aws', | ||
DB = 'db', | ||
OKTA = 'okta', | ||
BIGQUERY = 'bigquery', | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ | |
export enum ValidationTarget { | ||
AWS = 'aws', | ||
OKTA = 'okta', | ||
BIGQUERY = 'bigquery', | ||
} |