@gen-epix/ui 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +131 -78
- package/dist/index.js +10221 -9941
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -756,7 +756,7 @@ export declare class AuthorizationManager {
|
|
|
756
756
|
set apiPermissions(permissions: ApiPermission[]);
|
|
757
757
|
get apiPermissions(): ApiPermission[];
|
|
758
758
|
static get instance(): AuthorizationManager;
|
|
759
|
-
doesUserHavePermissionForRoute(route: MyNonIndexRouteObject
|
|
759
|
+
doesUserHavePermissionForRoute(route: MyNonIndexRouteObject): boolean;
|
|
760
760
|
hasRole(role: Role): boolean;
|
|
761
761
|
isRoot(): boolean;
|
|
762
762
|
doesUserHavePermission(permissions: ApiPermission[]): boolean;
|
|
@@ -3582,12 +3582,6 @@ export declare interface CaseSetRights {
|
|
|
3582
3582
|
* @interface CaseSetStat
|
|
3583
3583
|
*/
|
|
3584
3584
|
export declare interface CaseSetStat {
|
|
3585
|
-
/**
|
|
3586
|
-
* The unique identifier for the obj.
|
|
3587
|
-
* @type {string}
|
|
3588
|
-
* @memberof CaseSetStat
|
|
3589
|
-
*/
|
|
3590
|
-
'id'?: string | null;
|
|
3591
3585
|
/**
|
|
3592
3586
|
* The ID of the case set.
|
|
3593
3587
|
* @type {string}
|
|
@@ -4210,12 +4204,6 @@ export declare interface CaseTypeShareAbac {
|
|
|
4210
4204
|
* @interface CaseTypeStat
|
|
4211
4205
|
*/
|
|
4212
4206
|
export declare interface CaseTypeStat {
|
|
4213
|
-
/**
|
|
4214
|
-
* The unique identifier for the obj.
|
|
4215
|
-
* @type {string}
|
|
4216
|
-
* @memberof CaseTypeStat
|
|
4217
|
-
*/
|
|
4218
|
-
'id'?: string | null;
|
|
4219
4207
|
/**
|
|
4220
4208
|
* The ID of the case type.
|
|
4221
4209
|
* @type {string}
|
|
@@ -4440,84 +4428,84 @@ export declare const colTypePresentationValues: Record<ColType, string>;
|
|
|
4440
4428
|
* @ {string}
|
|
4441
4429
|
*/
|
|
4442
4430
|
export declare const CommandName: {
|
|
4443
|
-
readonly
|
|
4431
|
+
readonly ConceptCrudCommand: "ConceptCrudCommand";
|
|
4432
|
+
readonly UserInvitationCrudCommand: "UserInvitationCrudCommand";
|
|
4433
|
+
readonly RegionSetCrudCommand: "RegionSetCrudCommand";
|
|
4434
|
+
readonly CaseTypeColSetMemberCrudCommand: "CaseTypeColSetMemberCrudCommand";
|
|
4435
|
+
readonly SubjectCrudCommand: "SubjectCrudCommand";
|
|
4436
|
+
readonly CasesCreateCommand: "CasesCreateCommand";
|
|
4437
|
+
readonly ConceptSetMemberCrudCommand: "ConceptSetMemberCrudCommand";
|
|
4438
|
+
readonly RetrieveCaseTypeStatsCommand: "RetrieveCaseTypeStatsCommand";
|
|
4439
|
+
readonly CaseTypeColSetCrudCommand: "CaseTypeColSetCrudCommand";
|
|
4440
|
+
readonly CaseSetMemberCrudCommand: "CaseSetMemberCrudCommand";
|
|
4444
4441
|
readonly ConceptSetCrudCommand: "ConceptSetCrudCommand";
|
|
4445
|
-
readonly
|
|
4446
|
-
readonly SiteCrudCommand: "SiteCrudCommand";
|
|
4447
|
-
readonly UserCrudCommand: "UserCrudCommand";
|
|
4448
|
-
readonly EtiologyCrudCommand: "EtiologyCrudCommand";
|
|
4442
|
+
readonly CaseCrudCommand: "CaseCrudCommand";
|
|
4449
4443
|
readonly RetrieveContainingRegionCommand: "RetrieveContainingRegionCommand";
|
|
4450
|
-
readonly
|
|
4444
|
+
readonly TreeAlgorithmClassCrudCommand: "TreeAlgorithmClassCrudCommand";
|
|
4451
4445
|
readonly DiseaseCrudCommand: "DiseaseCrudCommand";
|
|
4452
|
-
readonly
|
|
4453
|
-
readonly DimCrudCommand: "DimCrudCommand";
|
|
4454
|
-
readonly CaseTypeCrudCommand: "CaseTypeCrudCommand";
|
|
4455
|
-
readonly RetrievePhylogeneticTreeBySequencesCommand: "RetrievePhylogeneticTreeBySequencesCommand";
|
|
4456
|
-
readonly DataCollectionSetMemberCrudCommand: "DataCollectionSetMemberCrudCommand";
|
|
4457
|
-
readonly UserInvitationCrudCommand: "UserInvitationCrudCommand";
|
|
4458
|
-
readonly OrganizationAdminPolicyCrudCommand: "OrganizationAdminPolicyCrudCommand";
|
|
4459
|
-
readonly RegionCrudCommand: "RegionCrudCommand";
|
|
4446
|
+
readonly RetrieveCompleteCaseTypeCommand: "RetrieveCompleteCaseTypeCommand";
|
|
4460
4447
|
readonly DataCollectionSetDataCollectionUpdateAssociationCommand: "DataCollectionSetDataCollectionUpdateAssociationCommand";
|
|
4448
|
+
readonly RegionCrudCommand: "RegionCrudCommand";
|
|
4449
|
+
readonly UserCrudCommand: "UserCrudCommand";
|
|
4450
|
+
readonly CaseSetCategoryCrudCommand: "CaseSetCategoryCrudCommand";
|
|
4451
|
+
readonly OrganizationSetOrganizationUpdateAssociationCommand: "OrganizationSetOrganizationUpdateAssociationCommand";
|
|
4461
4452
|
readonly DataCollectionCrudCommand: "DataCollectionCrudCommand";
|
|
4453
|
+
readonly RetrieveOrganizationContactCommand: "RetrieveOrganizationContactCommand";
|
|
4454
|
+
readonly CaseTypeCrudCommand: "CaseTypeCrudCommand";
|
|
4455
|
+
readonly CaseTypeColCrudCommand: "CaseTypeColCrudCommand";
|
|
4456
|
+
readonly DimCrudCommand: "DimCrudCommand";
|
|
4462
4457
|
readonly GeneticDistanceProtocolCrudCommand: "GeneticDistanceProtocolCrudCommand";
|
|
4463
|
-
readonly CaseSetCreateCommand: "CaseSetCreateCommand";
|
|
4464
|
-
readonly TreeAlgorithmClassCrudCommand: "TreeAlgorithmClassCrudCommand";
|
|
4465
|
-
readonly CaseCrudCommand: "CaseCrudCommand";
|
|
4466
|
-
readonly SubjectIdentifierCrudCommand: "SubjectIdentifierCrudCommand";
|
|
4467
4458
|
readonly RetrieveCaseSetStatsCommand: "RetrieveCaseSetStatsCommand";
|
|
4468
|
-
readonly
|
|
4459
|
+
readonly TreeAlgorithmCrudCommand: "TreeAlgorithmCrudCommand";
|
|
4460
|
+
readonly CaseSetCrudCommand: "CaseSetCrudCommand";
|
|
4461
|
+
readonly UpdateUserOwnOrganizationCommand: "UpdateUserOwnOrganizationCommand";
|
|
4462
|
+
readonly ColCrudCommand: "ColCrudCommand";
|
|
4463
|
+
readonly CaseTypeColSetCaseTypeColUpdateAssociationCommand: "CaseTypeColSetCaseTypeColUpdateAssociationCommand";
|
|
4464
|
+
readonly UserShareCasePolicyCrudCommand: "UserShareCasePolicyCrudCommand";
|
|
4465
|
+
readonly OutageCrudCommand: "OutageCrudCommand";
|
|
4466
|
+
readonly DiseaseEtiologicalAgentUpdateAssociationCommand: "DiseaseEtiologicalAgentUpdateAssociationCommand";
|
|
4467
|
+
readonly RetrieveOwnPermissionsCommand: "RetrieveOwnPermissionsCommand";
|
|
4468
|
+
readonly CaseSetCreateCommand: "CaseSetCreateCommand";
|
|
4469
4469
|
readonly UserAccessCasePolicyCrudCommand: "UserAccessCasePolicyCrudCommand";
|
|
4470
|
-
readonly
|
|
4470
|
+
readonly OrganizationAdminPolicyCrudCommand: "OrganizationAdminPolicyCrudCommand";
|
|
4471
|
+
readonly OrganizationSetCrudCommand: "OrganizationSetCrudCommand";
|
|
4472
|
+
readonly CaseTypeSetCaseTypeUpdateAssociationCommand: "CaseTypeSetCaseTypeUpdateAssociationCommand";
|
|
4473
|
+
readonly ConceptSetConceptUpdateAssociationCommand: "ConceptSetConceptUpdateAssociationCommand";
|
|
4474
|
+
readonly RetrievePhylogeneticTreeBySequencesCommand: "RetrievePhylogeneticTreeBySequencesCommand";
|
|
4475
|
+
readonly RetrieveCasesByIdCommand: "RetrieveCasesByIdCommand";
|
|
4476
|
+
readonly EtiologyCrudCommand: "EtiologyCrudCommand";
|
|
4471
4477
|
readonly RetrieveOutagesCommand: "RetrieveOutagesCommand";
|
|
4478
|
+
readonly InviteUserCommand: "InviteUserCommand";
|
|
4479
|
+
readonly RetrieveOrganizationAdminNameEmailsCommand: "RetrieveOrganizationAdminNameEmailsCommand";
|
|
4480
|
+
readonly CaseSetDataCollectionLinkCrudCommand: "CaseSetDataCollectionLinkCrudCommand";
|
|
4481
|
+
readonly EtiologicalAgentCrudCommand: "EtiologicalAgentCrudCommand";
|
|
4482
|
+
readonly CaseTypeSetMemberCrudCommand: "CaseTypeSetMemberCrudCommand";
|
|
4472
4483
|
readonly RegisterInvitedUserCommand: "RegisterInvitedUserCommand";
|
|
4473
|
-
readonly
|
|
4474
|
-
readonly
|
|
4475
|
-
readonly RetrieveCaseSetRightsCommand: "RetrieveCaseSetRightsCommand";
|
|
4484
|
+
readonly CaseTypeSetCrudCommand: "CaseTypeSetCrudCommand";
|
|
4485
|
+
readonly ContactCrudCommand: "ContactCrudCommand";
|
|
4476
4486
|
readonly OrganizationCrudCommand: "OrganizationCrudCommand";
|
|
4477
|
-
readonly
|
|
4487
|
+
readonly RetrieveCaseSetRightsCommand: "RetrieveCaseSetRightsCommand";
|
|
4488
|
+
readonly CaseTypeSetCategoryCrudCommand: "CaseTypeSetCategoryCrudCommand";
|
|
4489
|
+
readonly RetrievePhylogeneticTreeByCasesCommand: "RetrievePhylogeneticTreeByCasesCommand";
|
|
4490
|
+
readonly SiteCrudCommand: "SiteCrudCommand";
|
|
4491
|
+
readonly GetIdentityProvidersCommand: "GetIdentityProvidersCommand";
|
|
4492
|
+
readonly RetrieveAlleleProfileCommand: "RetrieveAlleleProfileCommand";
|
|
4493
|
+
readonly DataCollectionSetCrudCommand: "DataCollectionSetCrudCommand";
|
|
4494
|
+
readonly RetrieveGeneticSequenceByCaseCommand: "RetrieveGeneticSequenceByCaseCommand";
|
|
4495
|
+
readonly DataCollectionSetMemberCrudCommand: "DataCollectionSetMemberCrudCommand";
|
|
4496
|
+
readonly UpdateUserCommand: "UpdateUserCommand";
|
|
4478
4497
|
readonly RetrieveGeneticSequenceByIdCommand: "RetrieveGeneticSequenceByIdCommand";
|
|
4479
|
-
readonly
|
|
4480
|
-
readonly ConceptSetMemberCrudCommand: "ConceptSetMemberCrudCommand";
|
|
4481
|
-
readonly CaseSetDataCollectionLinkCrudCommand: "CaseSetDataCollectionLinkCrudCommand";
|
|
4482
|
-
readonly RegionSetCrudCommand: "RegionSetCrudCommand";
|
|
4483
|
-
readonly ContactCrudCommand: "ContactCrudCommand";
|
|
4498
|
+
readonly RegionRelationCrudCommand: "RegionRelationCrudCommand";
|
|
4484
4499
|
readonly RetrieveCasesByQueryCommand: "RetrieveCasesByQueryCommand";
|
|
4485
|
-
readonly
|
|
4486
|
-
readonly
|
|
4487
|
-
readonly CaseSetCategoryCrudCommand: "CaseSetCategoryCrudCommand";
|
|
4500
|
+
readonly CaseDataCollectionLinkCrudCommand: "CaseDataCollectionLinkCrudCommand";
|
|
4501
|
+
readonly RetrieveCaseRightsCommand: "RetrieveCaseRightsCommand";
|
|
4488
4502
|
readonly OrganizationAccessCasePolicyCrudCommand: "OrganizationAccessCasePolicyCrudCommand";
|
|
4489
|
-
readonly CaseSetMemberCrudCommand: "CaseSetMemberCrudCommand";
|
|
4490
|
-
readonly RetrieveGeneticSequenceByCaseCommand: "RetrieveGeneticSequenceByCaseCommand";
|
|
4491
|
-
readonly RetrieveOrganizationContactCommand: "RetrieveOrganizationContactCommand";
|
|
4492
|
-
readonly GetIdentityProvidersCommand: "GetIdentityProvidersCommand";
|
|
4493
4503
|
readonly CaseSetStatusCrudCommand: "CaseSetStatusCrudCommand";
|
|
4494
|
-
readonly EtiologicalAgentCrudCommand: "EtiologicalAgentCrudCommand";
|
|
4495
|
-
readonly IdentifierIssuerCrudCommand: "IdentifierIssuerCrudCommand";
|
|
4496
|
-
readonly CaseTypeColSetMemberCrudCommand: "CaseTypeColSetMemberCrudCommand";
|
|
4497
|
-
readonly UpdateUserCommand: "UpdateUserCommand";
|
|
4498
|
-
readonly CaseTypeSetCrudCommand: "CaseTypeSetCrudCommand";
|
|
4499
|
-
readonly RetrieveOwnPermissionsCommand: "RetrieveOwnPermissionsCommand";
|
|
4500
|
-
readonly OrganizationSetOrganizationUpdateAssociationCommand: "OrganizationSetOrganizationUpdateAssociationCommand";
|
|
4501
|
-
readonly RetrieveAlleleProfileCommand: "RetrieveAlleleProfileCommand";
|
|
4502
|
-
readonly CaseTypeColCrudCommand: "CaseTypeColCrudCommand";
|
|
4503
|
-
readonly CaseTypeColSetCaseTypeColUpdateAssociationCommand: "CaseTypeColSetCaseTypeColUpdateAssociationCommand";
|
|
4504
|
-
readonly InviteUserCommand: "InviteUserCommand";
|
|
4505
|
-
readonly OrganizationSetCrudCommand: "OrganizationSetCrudCommand";
|
|
4506
|
-
readonly RetrievePhylogeneticTreeByCasesCommand: "RetrievePhylogeneticTreeByCasesCommand";
|
|
4507
|
-
readonly RegionSetShapeCrudCommand: "RegionSetShapeCrudCommand";
|
|
4508
|
-
readonly ColCrudCommand: "ColCrudCommand";
|
|
4509
|
-
readonly CasesCreateCommand: "CasesCreateCommand";
|
|
4510
|
-
readonly TreeAlgorithmCrudCommand: "TreeAlgorithmCrudCommand";
|
|
4511
|
-
readonly RetrieveCaseRightsCommand: "RetrieveCaseRightsCommand";
|
|
4512
|
-
readonly OutageCrudCommand: "OutageCrudCommand";
|
|
4513
|
-
readonly RetrieveCasesByIdCommand: "RetrieveCasesByIdCommand";
|
|
4514
|
-
readonly ConceptCrudCommand: "ConceptCrudCommand";
|
|
4515
|
-
readonly RetrieveCompleteCaseTypeCommand: "RetrieveCompleteCaseTypeCommand";
|
|
4516
4504
|
readonly OrganizationShareCasePolicyCrudCommand: "OrganizationShareCasePolicyCrudCommand";
|
|
4517
|
-
readonly
|
|
4518
|
-
readonly
|
|
4519
|
-
readonly
|
|
4520
|
-
readonly
|
|
4505
|
+
readonly OrganizationSetMemberCrudCommand: "OrganizationSetMemberCrudCommand";
|
|
4506
|
+
readonly SubjectIdentifierCrudCommand: "SubjectIdentifierCrudCommand";
|
|
4507
|
+
readonly RegionSetShapeCrudCommand: "RegionSetShapeCrudCommand";
|
|
4508
|
+
readonly IdentifierIssuerCrudCommand: "IdentifierIssuerCrudCommand";
|
|
4521
4509
|
};
|
|
4522
4510
|
|
|
4523
4511
|
export declare type CommandName = typeof CommandName[keyof typeof CommandName];
|
|
@@ -5005,7 +4993,7 @@ export declare class Configuration {
|
|
|
5005
4993
|
* Gen-EpiX
|
|
5006
4994
|
* Gen-EpiX is platform for visualizing and analyzing genomic epidemiology data. It has fine-grained access controls for collaboration between multiple organizations.
|
|
5007
4995
|
*
|
|
5008
|
-
* The version of the OpenAPI document: 0.
|
|
4996
|
+
* The version of the OpenAPI document: 5.0.0
|
|
5009
4997
|
* Contact: ids-bioinformatics@rivm.nl
|
|
5010
4998
|
*
|
|
5011
4999
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -7381,7 +7369,10 @@ export declare class HighlightingManager extends SubscribableAbstract<Highlighti
|
|
|
7381
7369
|
|
|
7382
7370
|
export declare const HomePage: () => JSX.Element;
|
|
7383
7371
|
|
|
7384
|
-
export declare const HomePageTrends:
|
|
7372
|
+
export declare const HomePageTrends: {
|
|
7373
|
+
(props: object): JSX.Element;
|
|
7374
|
+
displayName: string;
|
|
7375
|
+
};
|
|
7385
7376
|
|
|
7386
7377
|
/**
|
|
7387
7378
|
*
|
|
@@ -9556,6 +9547,32 @@ export declare class OrganizationApi extends BaseAPI {
|
|
|
9556
9547
|
* @memberof OrganizationApi
|
|
9557
9548
|
*/
|
|
9558
9549
|
organizationSetsPutSome(organizationSet: Array<OrganizationSet>, options?: RawAxiosRequestConfig): Promise<AxiosResponse<OrganizationSet[], any>>;
|
|
9550
|
+
/**
|
|
9551
|
+
* Represents an organization.
|
|
9552
|
+
* @summary Organizations
|
|
9553
|
+
* @param {*} [options] Override http request option.
|
|
9554
|
+
* @throws {RequiredError}
|
|
9555
|
+
* @memberof OrganizationApi
|
|
9556
|
+
*/
|
|
9557
|
+
organizationsDeleteAll(options?: RawAxiosRequestConfig): Promise<AxiosResponse<any, any>>;
|
|
9558
|
+
/**
|
|
9559
|
+
* Represents an organization.
|
|
9560
|
+
* @summary Organizations
|
|
9561
|
+
* @param {any} objectId
|
|
9562
|
+
* @param {*} [options] Override http request option.
|
|
9563
|
+
* @throws {RequiredError}
|
|
9564
|
+
* @memberof OrganizationApi
|
|
9565
|
+
*/
|
|
9566
|
+
organizationsDeleteOne(objectId: any, options?: RawAxiosRequestConfig): Promise<AxiosResponse<string, any>>;
|
|
9567
|
+
/**
|
|
9568
|
+
* Represents an organization.
|
|
9569
|
+
* @summary Organizations
|
|
9570
|
+
* @param {string} ids
|
|
9571
|
+
* @param {*} [options] Override http request option.
|
|
9572
|
+
* @throws {RequiredError}
|
|
9573
|
+
* @memberof OrganizationApi
|
|
9574
|
+
*/
|
|
9575
|
+
organizationsDeleteSome(ids: string, options?: RawAxiosRequestConfig): Promise<AxiosResponse<string[], any>>;
|
|
9559
9576
|
/**
|
|
9560
9577
|
* Represents an organization.
|
|
9561
9578
|
* @summary Organizations
|
|
@@ -9885,6 +9902,32 @@ export declare class OrganizationApi extends BaseAPI {
|
|
|
9885
9902
|
* @memberof OrganizationApi
|
|
9886
9903
|
*/
|
|
9887
9904
|
userRegistrationsPostOne(token: string, options?: RawAxiosRequestConfig): Promise<AxiosResponse<User, any>>;
|
|
9905
|
+
/**
|
|
9906
|
+
*
|
|
9907
|
+
* @summary Users
|
|
9908
|
+
* @param {*} [options] Override http request option.
|
|
9909
|
+
* @throws {RequiredError}
|
|
9910
|
+
* @memberof OrganizationApi
|
|
9911
|
+
*/
|
|
9912
|
+
usersDeleteAll(options?: RawAxiosRequestConfig): Promise<AxiosResponse<any, any>>;
|
|
9913
|
+
/**
|
|
9914
|
+
*
|
|
9915
|
+
* @summary Users
|
|
9916
|
+
* @param {any} objectId
|
|
9917
|
+
* @param {*} [options] Override http request option.
|
|
9918
|
+
* @throws {RequiredError}
|
|
9919
|
+
* @memberof OrganizationApi
|
|
9920
|
+
*/
|
|
9921
|
+
usersDeleteOne(objectId: any, options?: RawAxiosRequestConfig): Promise<AxiosResponse<string, any>>;
|
|
9922
|
+
/**
|
|
9923
|
+
*
|
|
9924
|
+
* @summary Users
|
|
9925
|
+
* @param {string} ids
|
|
9926
|
+
* @param {*} [options] Override http request option.
|
|
9927
|
+
* @throws {RequiredError}
|
|
9928
|
+
* @memberof OrganizationApi
|
|
9929
|
+
*/
|
|
9930
|
+
usersDeleteSome(ids: string, options?: RawAxiosRequestConfig): Promise<AxiosResponse<string[], any>>;
|
|
9888
9931
|
/**
|
|
9889
9932
|
*
|
|
9890
9933
|
* @summary Users
|
|
@@ -10849,7 +10892,7 @@ export declare const Role: {
|
|
|
10849
10892
|
readonly ROOT: "ROOT";
|
|
10850
10893
|
readonly APP_ADMIN: "APP_ADMIN";
|
|
10851
10894
|
readonly ORG_ADMIN: "ORG_ADMIN";
|
|
10852
|
-
readonly
|
|
10895
|
+
readonly REFDATA_ADMIN: "REFDATA_ADMIN";
|
|
10853
10896
|
readonly ORG_USER: "ORG_USER";
|
|
10854
10897
|
readonly GUEST: "GUEST";
|
|
10855
10898
|
readonly ROLE1: "ROLE1";
|
|
@@ -13830,4 +13873,14 @@ export declare const withEpiStore: <P extends WithEpiStoreProps>(WrappedComponen
|
|
|
13830
13873
|
|
|
13831
13874
|
export declare type WithEpiStoreProps = EpiStoreLoaderProps;
|
|
13832
13875
|
|
|
13876
|
+
export declare const withPermissions: <TProps extends object>(Component: ComponentType<TProps>, options: WithPermissionsOptions) => {
|
|
13877
|
+
(props: TProps): JSX.Element;
|
|
13878
|
+
displayName: string;
|
|
13879
|
+
};
|
|
13880
|
+
|
|
13881
|
+
export declare interface WithPermissionsOptions {
|
|
13882
|
+
readonly requiredPermissions: ApiPermission[];
|
|
13883
|
+
readonly fallback?: ComponentType | null;
|
|
13884
|
+
}
|
|
13885
|
+
|
|
13833
13886
|
export { }
|