@clickview/curator 1.0.17-rc.1 → 1.0.17-rc.2
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/package.json +1 -1
- package/dist/curator-app.css.map +0 -1
- package/dist/curator-app.js.map +0 -1
- package/dist/libs/common/src/react/constants/ViewModelActions.d.ts +0 -3
- package/dist/libs/common/src/react/hooks/UseViewModel.d.ts +0 -4
- package/dist/libs/common/src/react/interfaces/ViewModelAction.d.ts +0 -5
- package/dist/libs/common/src/react/interfaces/ViewModelPayload.d.ts +0 -5
- package/dist/libs/common/src/react/reducers/ViewModelReducer.d.ts +0 -3
- package/dist/projects/curator/src/apps/cherry-picker/CherryPickerApplication.d.ts +0 -14
- package/dist/projects/curator/src/apps/cherry-picker/components/cherry-picker-form/CherryPickerForm.d.ts +0 -9
- package/dist/projects/curator/src/apps/cherry-picker/interfaces/CherryPickerConfig.d.ts +0 -5
- package/dist/projects/curator/src/apps/cherry-picker/validation/CherryPickerValidation.d.ts +0 -3
- package/dist/projects/curator/src/apps/cherry-picker/views/cherry-picker-form/CherryPickerFormView.d.ts +0 -2
- package/dist/projects/curator/src/apps/cherry-picker/views/cherry-picker-results/CherryPickerResultsView.d.ts +0 -2
- package/dist/projects/curator/src/apps/release-notes/ReleaseNotesApplication.d.ts +0 -15
- package/dist/projects/curator/src/apps/release-notes/components/GenerateReleaseNotesForm.d.ts +0 -9
- package/dist/projects/curator/src/apps/release-notes/constants/GitLabPageLimit.d.ts +0 -1
- package/dist/projects/curator/src/apps/release-notes/constants/GitLabProjects.d.ts +0 -3
- package/dist/projects/curator/src/apps/release-notes/constants/MonorepoVersions.d.ts +0 -1
- package/dist/projects/curator/src/apps/release-notes/flight-requests/GitLabRequests.d.ts +0 -10
- package/dist/projects/curator/src/apps/release-notes/interfaces/GitLabProject.d.ts +0 -4
- package/dist/projects/curator/src/apps/release-notes/interfaces/ReleaseNotesConfig.d.ts +0 -5
- package/dist/projects/curator/src/apps/release-notes/utils/getMergeRequestDescriptionChanges.d.ts +0 -1
- package/dist/projects/curator/src/apps/release-notes/utils/getMonorepoMergeRequestDescriptionChanges.d.ts +0 -2
- package/dist/projects/curator/src/apps/release-notes/utils/serializeMergeRequestHeading.d.ts +0 -1
- package/dist/projects/curator/src/apps/release-notes/utils/serializeMonorepoMergeRequestSubheading.d.ts +0 -1
- package/dist/projects/curator/src/apps/release-notes/utils/shouldFilterMergeRequestHeading.d.ts +0 -1
- package/dist/projects/curator/src/apps/release-notes/validation/ReleaseNotesValidation.d.ts +0 -3
- package/dist/projects/curator/src/apps/release-notes/views/ReleaseNotesFormView.d.ts +0 -2
- package/dist/projects/curator/src/apps/release-notes/views/ReleaseNotesGeneratorView.d.ts +0 -2
- package/dist/projects/curator/src/apps/subjects/components/levels/edit-level-nav/EditLevelNav.d.ts +0 -7
- package/dist/projects/curator/src/apps/subjects/components/levels/level-audiences/LevelAudiences.d.ts +0 -11
- package/dist/projects/curator/src/apps/subjects/components/levels/level-member-list/LevelMemberItem.d.ts +0 -12
- package/dist/projects/curator/src/apps/subjects/components/levels/level-member-list/LevelMemberList.d.ts +0 -25
- package/dist/projects/curator/src/apps/subjects/components/levels/level-member-list/LevelMemberListHeader.d.ts +0 -14
- package/dist/projects/curator/src/apps/subjects/components/levels/level-member-list/index.d.ts +0 -1
- package/dist/projects/curator/src/apps/subjects/enums/ObjectMemberType.d.ts +0 -10
- package/dist/projects/curator/src/apps/subjects/utils/LevelMemberHelper.d.ts +0 -8
- package/dist/projects/curator/src/apps/subjects/utils/LevelsNavHelper.d.ts +0 -4
- package/dist/projects/curator/src/apps/subjects/views/levels/edit-level-members/EditLevelMembersUtils.d.ts +0 -16
- package/dist/projects/curator/src/apps/subjects/views/levels/edit-level-members/EditLevelMembersView.d.ts +0 -16
- package/dist/projects/curator/src/apps/subjects/views/levels/level-audiences/LevelAudiencesView.d.ts +0 -6
- package/dist/projects/curator/src/apps/subjects/views/levels/level-nav/LevelNavView.d.ts +0 -6
- package/dist/projects/curator/src/apps/subjects/views/levels/levels-redirect/LevelsRedirectView.d.ts +0 -2
- package/dist/projects/curator/src/apps/subjects/views/levels/levels-redirect/index.d.ts +0 -1
- package/dist/projects/curator/src/apps/subjects/views/levels/remove-level-member/RemoveLevelMemberView.d.ts +0 -11
- package/dist/projects/curator/src/shared/constants/ViewModelKeys.d.ts +0 -4
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ObjectHash } from 'backbone';
|
|
2
|
-
import { Core } from "../../../../../libs/common/src/backbone";
|
|
3
|
-
import { CuratorLayoutView, CuratorLayoutViewOptions } from "../../shared/layouts";
|
|
4
|
-
export declare class CherryPickerApplication extends Core.Application {
|
|
5
|
-
protected layout: CuratorLayoutView;
|
|
6
|
-
get name(): string;
|
|
7
|
-
static get router(): any;
|
|
8
|
-
get channelName(): string;
|
|
9
|
-
get layoutOptions(): Core.LayoutOptions<CuratorLayoutViewOptions>;
|
|
10
|
-
index(): void;
|
|
11
|
-
results(): void;
|
|
12
|
-
protected onShowAlert(options?: ObjectHash): void;
|
|
13
|
-
private getPopupProps;
|
|
14
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface CherryPickerFormProps {
|
|
3
|
-
getMilestones: (projectId: string) => void;
|
|
4
|
-
milestones: string[];
|
|
5
|
-
getBranchNames: (projectId: string) => void;
|
|
6
|
-
branchNames: string[];
|
|
7
|
-
}
|
|
8
|
-
export declare function CherryPickerForm(props: CherryPickerFormProps): JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ObjectHash } from 'backbone';
|
|
2
|
-
import { Core } from "../../../../../libs/common/src/backbone";
|
|
3
|
-
import { CuratorLayoutView, CuratorLayoutViewOptions } from "../../shared/layouts";
|
|
4
|
-
export declare class ReleaseNotesApplication extends Core.Application {
|
|
5
|
-
protected layout: CuratorLayoutView;
|
|
6
|
-
get name(): string;
|
|
7
|
-
static get router(): any;
|
|
8
|
-
get channelName(): string;
|
|
9
|
-
get layoutOptions(): Core.LayoutOptions<CuratorLayoutViewOptions>;
|
|
10
|
-
index(): void;
|
|
11
|
-
form(): void;
|
|
12
|
-
generator(): void;
|
|
13
|
-
protected onShowAlert(options?: ObjectHash): void;
|
|
14
|
-
private getPopupProps;
|
|
15
|
-
}
|
package/dist/projects/curator/src/apps/release-notes/components/GenerateReleaseNotesForm.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface GenerateReleaseNotesFormProps {
|
|
3
|
-
getMilestones: (projectId: string) => void;
|
|
4
|
-
milestones: string[];
|
|
5
|
-
getBranchNames: (projectId: string) => void;
|
|
6
|
-
branchNames: string[];
|
|
7
|
-
}
|
|
8
|
-
export declare function GenerateReleaseNotesForm(props: GenerateReleaseNotesFormProps): JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const GITLAB_PAGE_LIMIT = 50;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const monorepoVersionsTemplate = "# Final Package Versions\n\n| Package | Version |\n| ------------------------- | ------------------------ |\n| @clickview/analytics | <analytics-version> |\n| @clickview/styles | <styles-version> |\n| @clickview/tooling | <tooling-version> |\n| @clickview/curator | <curator-version> |\n| @clickview/library-editor | <library-editor-version> |\n| @clickview/lite | <lite-version> |\n| @clickview/online | <online-version> |\n";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Flight } from "../../../../../../libs/common/src/react";
|
|
2
|
-
import { HashObject } from "../../../../../../libs/common/src/react/interfaces";
|
|
3
|
-
export declare const GitLabRequests: {
|
|
4
|
-
milestones(projectId: string, success: (milestones: string[]) => void): Flight.Request;
|
|
5
|
-
branchNames(projectId: string, success: (branchNames: string[]) => void): Flight.Request;
|
|
6
|
-
mergeRequestsByMilestone(projectId: string, milestone: string, page: number, order: "created_at" | "updated_at", sort: "desc" | "asc", success: (data: HashObject<any>[]) => void): Flight.Request;
|
|
7
|
-
getFilesPaths(projectId: string, fileName: string, success: (data: HashObject<any>[]) => void): Flight.Request;
|
|
8
|
-
getFile(projectId: string, path: string, branchName: string, success: (data: HashObject<any>) => void): Flight.Request;
|
|
9
|
-
cherryPickCommit(projectId: string, commitSha: string, branchName: string, success: () => void, error: () => void): Flight.Request;
|
|
10
|
-
};
|
package/dist/projects/curator/src/apps/release-notes/utils/getMergeRequestDescriptionChanges.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getMergeRequestDescriptionChanges(descriptions: string[]): string;
|
package/dist/projects/curator/src/apps/release-notes/utils/serializeMergeRequestHeading.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function serializeMergeRequestHeading(heading: string): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function serializeMonorepoMergeRequestSubheading(heading: string): string;
|
package/dist/projects/curator/src/apps/release-notes/utils/shouldFilterMergeRequestHeading.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function shouldFilterMergeRequestHeading(heading: string): boolean;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PresentationAudience } from "../../../../../../../../libs/shared/src/interfaces";
|
|
3
|
-
import { Presentation } from "../../../interfaces";
|
|
4
|
-
interface LevelAudiencesProps {
|
|
5
|
-
presentations: Presentation[];
|
|
6
|
-
audienceDictionary: {
|
|
7
|
-
[presentationId: string]: PresentationAudience[];
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export declare const LevelAudiences: (props: LevelAudiencesProps) => JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Core } from "../../../../../../../../libs/common/src/backbone";
|
|
3
|
-
import { ActionOptions } from "../../../../../../../../libs/shared/src/components/actions/Actions";
|
|
4
|
-
import { LevelMemberViewModel } from './LevelMemberList';
|
|
5
|
-
interface LevelMemberItemProps {
|
|
6
|
-
member: LevelMemberViewModel;
|
|
7
|
-
getMemberAppLink: (memberId: string) => Core.AppLink;
|
|
8
|
-
onToggleAudience: (audienceId: string, selected: boolean, memberId: string) => void;
|
|
9
|
-
actions?: ActionOptions[];
|
|
10
|
-
}
|
|
11
|
-
export declare function LevelMemberItem(props: LevelMemberItemProps): React.ReactElement;
|
|
12
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Core } from "../../../../../../../../libs/common/src/backbone";
|
|
3
|
-
import { PresentationAudience } from "../../../../../../../../libs/shared/src/interfaces";
|
|
4
|
-
import { ActionOptions } from "../../../../../../../../libs/shared/src/components/actions/Actions";
|
|
5
|
-
import { LevelMemberType } from "../../../enums";
|
|
6
|
-
declare type AudienceViewModel = {
|
|
7
|
-
id: string;
|
|
8
|
-
selected: boolean;
|
|
9
|
-
};
|
|
10
|
-
export interface LevelMemberViewModel {
|
|
11
|
-
id: string;
|
|
12
|
-
name: string;
|
|
13
|
-
audiences?: AudienceViewModel[];
|
|
14
|
-
}
|
|
15
|
-
interface LevelMemberListProps {
|
|
16
|
-
members: LevelMemberViewModel[];
|
|
17
|
-
memberType: LevelMemberType;
|
|
18
|
-
audiences: PresentationAudience[];
|
|
19
|
-
getMemberAppLink: (memberId: string) => Core.AppLink;
|
|
20
|
-
getAudienceAppLink: (audienceId: string) => Core.AppLink;
|
|
21
|
-
onToggleAudience: (audienceId: string, selected: boolean, memberId?: string) => void;
|
|
22
|
-
getActions?: (itemId: string) => ActionOptions[];
|
|
23
|
-
}
|
|
24
|
-
export declare function LevelMemberList(props: LevelMemberListProps): React.ReactElement;
|
|
25
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Core } from "../../../../../../../../libs/common/src/backbone";
|
|
3
|
-
import { PresentationAudience } from "../../../../../../../../libs/shared/src/interfaces";
|
|
4
|
-
import { LevelMemberType } from "../../../enums";
|
|
5
|
-
interface LevelMemberListHeaderProps {
|
|
6
|
-
memberType: LevelMemberType;
|
|
7
|
-
hasActions: boolean;
|
|
8
|
-
audiences: PresentationAudience[];
|
|
9
|
-
getIsAudienceSelected: (audience: PresentationAudience) => boolean;
|
|
10
|
-
onToggleAudience: (audienceId: string, selected: boolean) => void;
|
|
11
|
-
getAudienceAppLink: (audienceId: string) => Core.AppLink;
|
|
12
|
-
}
|
|
13
|
-
export declare function LevelMemberListHeader(props: LevelMemberListHeaderProps): React.ReactElement;
|
|
14
|
-
export {};
|
package/dist/projects/curator/src/apps/subjects/components/levels/level-member-list/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './LevelMemberList';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Core } from "../../../../../../libs/common/src/backbone";
|
|
2
|
-
import { ActionOptions } from "../../../../../../libs/shared/src/components/actions/Actions";
|
|
3
|
-
import { LevelMemberType, OwnerType } from "../enums";
|
|
4
|
-
export declare const LevelMemberHelper: {
|
|
5
|
-
singularizeMemberType(memberType: LevelMemberType): string;
|
|
6
|
-
getMemberAppLink(memberType: LevelMemberType, memberId: string): Core.AppLink;
|
|
7
|
-
getMemberActions(levelId: string, ownerType: OwnerType, memberType: LevelMemberType, memberId: string): ActionOptions[];
|
|
8
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Flight } from "../../../../../../../../libs/common/src/react";
|
|
3
|
-
import { Core } from "../../../../../../../../libs/common/src/backbone";
|
|
4
|
-
import { BaseObject } from "../../../../../../../../libs/shared/src/interfaces";
|
|
5
|
-
import { SubjectDataService } from "../../../services";
|
|
6
|
-
import { LevelMemberType } from "../../../enums";
|
|
7
|
-
import { EditLevelMembersState, EditLevelMembersViewProps } from './EditLevelMembersView';
|
|
8
|
-
declare type SetState = React.Dispatch<React.SetStateAction<EditLevelMembersState>>;
|
|
9
|
-
export declare function getSetState(setState: SetState, key: keyof EditLevelMembersState): (data: any) => void;
|
|
10
|
-
export declare function useFetchData(props: EditLevelMembersViewProps, state: EditLevelMembersState, setState: SetState): void;
|
|
11
|
-
export declare function useMapData(members: BaseObject[], props: EditLevelMembersViewProps, state: EditLevelMembersState, setState: SetState): void;
|
|
12
|
-
export declare function getMembersRequest(memberType: LevelMemberType, ids: string[]): Flight.Request;
|
|
13
|
-
export declare const getAudienceAppLink: (memberType: LevelMemberType, presentationId: string) => (audienceId: string) => Core.AppLink;
|
|
14
|
-
export declare function toggleObjectsInAudience(d: SubjectDataService, memberType: LevelMemberType, memberIds: string[], levelId: string, presentationId: string, audienceId: string, selected: boolean): void;
|
|
15
|
-
export declare function getActiveAction(memberType: LevelMemberType): string;
|
|
16
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { PresentationAudience } from "../../../../../../../../libs/shared/src/interfaces";
|
|
3
|
-
import { LevelMemberViewModel } from "../../../components";
|
|
4
|
-
import { LevelMemberType } from "../../../enums";
|
|
5
|
-
import { Presentation } from "../../../interfaces";
|
|
6
|
-
export interface EditLevelMembersState {
|
|
7
|
-
presentations?: Presentation[];
|
|
8
|
-
audiences?: PresentationAudience[];
|
|
9
|
-
memberIds?: string[];
|
|
10
|
-
membersWithAudiences?: LevelMemberViewModel[];
|
|
11
|
-
}
|
|
12
|
-
export interface EditLevelMembersViewProps {
|
|
13
|
-
levelId: string;
|
|
14
|
-
memberType: LevelMemberType;
|
|
15
|
-
}
|
|
16
|
-
export declare function EditLevelMembersView(props: EditLevelMembersViewProps): React.ReactElement;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './LevelsRedirectView';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { PopupViewProps } from "../../../../../../../../libs/shared/src/interfaces";
|
|
3
|
-
import { LevelMemberType } from "../../../enums";
|
|
4
|
-
interface RemoveLevelMemberViewProps {
|
|
5
|
-
levelId: string;
|
|
6
|
-
memberId: string;
|
|
7
|
-
memberType: LevelMemberType;
|
|
8
|
-
}
|
|
9
|
-
declare type PropTypes = RemoveLevelMemberViewProps & PopupViewProps;
|
|
10
|
-
export declare function RemoveLevelMemberView(props: PropTypes): React.ReactElement;
|
|
11
|
-
export {};
|