mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-02 22:37:58 +00:00

* Releases updated version of datahub-web client UI code * Fix typo in yarn lock * Change yarn lock to match yarn registry directories * Previous commit missed some paths * Even more changes to yarnlock missing in previous commit * Include codegen file for typings * Add files to get parity for datahub-web and current OS datahub-midtier * Add in typo fix from previous commit - change to proper license * Implement proper OS fix for person entity picture url * Workarounds for open source DH issues * Fixes institutional memory api and removes unopensourced tabs for datasets * Fixes search dataset deprecation and user search issue as a result of changes * Remove internal only options in the avatar menu
32 lines
988 B
TypeScript
32 lines
988 B
TypeScript
import Controller from '@ember/controller';
|
|
|
|
/**
|
|
* Defines the class for datasets/dataset/tab route controller
|
|
* Provides access to application objects like the BannerService instance
|
|
* to templates and components lower in the hierarchy
|
|
* @export
|
|
* @class DatasetTab
|
|
* @extends {Controller}
|
|
*/
|
|
export default class DatasetTab extends Controller {
|
|
/**
|
|
* TODO META-10613: Create a util for extending controller/query param logic for bulk jit request
|
|
* Defines the query parameters meaningful to this route
|
|
*/
|
|
queryParams = ['request_jit_urns'];
|
|
|
|
/**
|
|
* A list of dataset urns to request for JIT ACL Access provided as a query param
|
|
* The query param renders the request-access modal if there are urns provided
|
|
* @type {Array<string>}
|
|
*/
|
|
request_jit_urns: Array<string> = [];
|
|
}
|
|
|
|
declare module '@ember/controller' {
|
|
// eslint-disable-next-line @typescript-eslint/interface-name-prefix
|
|
interface Registry {
|
|
'datasets/dataset/tab': DatasetTab;
|
|
}
|
|
}
|