@clickview/curator 1.0.18-rc.0 → 1.0.18-rc.1

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.
Files changed (32) hide show
  1. package/package.json +1 -1
  2. package/dist/curator-app.css.map +0 -1
  3. package/dist/curator-app.js.map +0 -1
  4. package/dist/libs/common/src/react/constants/ViewModelActions.d.ts +0 -3
  5. package/dist/libs/common/src/react/hooks/UseViewModel.d.ts +0 -4
  6. package/dist/libs/common/src/react/interfaces/ViewModelAction.d.ts +0 -5
  7. package/dist/libs/common/src/react/interfaces/ViewModelPayload.d.ts +0 -5
  8. package/dist/libs/common/src/react/reducers/ViewModelReducer.d.ts +0 -3
  9. package/dist/libs/common/src/react/utils/TextHelper.d.ts +0 -10
  10. package/dist/projects/curator/src/apps/cherry-picker/CherryPickerApplication.d.ts +0 -14
  11. package/dist/projects/curator/src/apps/cherry-picker/components/cherry-picker-form/CherryPickerForm.d.ts +0 -9
  12. package/dist/projects/curator/src/apps/cherry-picker/interfaces/CherryPickerConfig.d.ts +0 -5
  13. package/dist/projects/curator/src/apps/cherry-picker/validation/CherryPickerValidation.d.ts +0 -3
  14. package/dist/projects/curator/src/apps/cherry-picker/views/cherry-picker-form/CherryPickerFormView.d.ts +0 -2
  15. package/dist/projects/curator/src/apps/cherry-picker/views/cherry-picker-results/CherryPickerResultsView.d.ts +0 -2
  16. package/dist/projects/curator/src/apps/release-notes/ReleaseNotesApplication.d.ts +0 -15
  17. package/dist/projects/curator/src/apps/release-notes/components/GenerateReleaseNotesForm.d.ts +0 -9
  18. package/dist/projects/curator/src/apps/release-notes/constants/GitLabPageLimit.d.ts +0 -1
  19. package/dist/projects/curator/src/apps/release-notes/constants/GitLabProjects.d.ts +0 -3
  20. package/dist/projects/curator/src/apps/release-notes/constants/MonorepoVersions.d.ts +0 -1
  21. package/dist/projects/curator/src/apps/release-notes/flight-requests/GitLabRequests.d.ts +0 -10
  22. package/dist/projects/curator/src/apps/release-notes/interfaces/GitLabProject.d.ts +0 -4
  23. package/dist/projects/curator/src/apps/release-notes/interfaces/ReleaseNotesConfig.d.ts +0 -5
  24. package/dist/projects/curator/src/apps/release-notes/utils/getMergeRequestDescriptionChanges.d.ts +0 -1
  25. package/dist/projects/curator/src/apps/release-notes/utils/getMonorepoMergeRequestDescriptionChanges.d.ts +0 -2
  26. package/dist/projects/curator/src/apps/release-notes/utils/serializeMergeRequestHeading.d.ts +0 -1
  27. package/dist/projects/curator/src/apps/release-notes/utils/serializeMonorepoMergeRequestSubheading.d.ts +0 -1
  28. package/dist/projects/curator/src/apps/release-notes/utils/shouldFilterMergeRequestHeading.d.ts +0 -1
  29. package/dist/projects/curator/src/apps/release-notes/validation/ReleaseNotesValidation.d.ts +0 -3
  30. package/dist/projects/curator/src/apps/release-notes/views/ReleaseNotesFormView.d.ts +0 -2
  31. package/dist/projects/curator/src/apps/release-notes/views/ReleaseNotesGeneratorView.d.ts +0 -2
  32. package/dist/projects/curator/src/shared/constants/ViewModelKeys.d.ts +0 -4
@@ -1,3 +0,0 @@
1
- export declare const ViewModelActions: {
2
- UPDATE: string;
3
- };
@@ -1,4 +0,0 @@
1
- declare type IUseViewModel<T> = [T, // State
2
- (dataOrKey: T | keyof T, keyData?: any) => void];
3
- export declare const useViewModel: <T = any>(viewModelKey: string, initialState?: T) => IUseViewModel<T>;
4
- export {};
@@ -1,5 +0,0 @@
1
- import { ViewModelPayload } from "./ViewModelPayload";
2
- export interface ViewModelAction {
3
- type: string;
4
- payload: ViewModelPayload;
5
- }
@@ -1,5 +0,0 @@
1
- export interface ViewModelPayload {
2
- viewModelKey: string;
3
- dataOrKey: any;
4
- keyData?: any;
5
- }
@@ -1,3 +0,0 @@
1
- import { HashObject } from "../interfaces/HashObject";
2
- import { ViewModelAction } from "../interfaces/ViewModelAction";
3
- export declare function ViewModelReducer(state: HashObject, action: ViewModelAction): HashObject;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { ObjectHash } from 'backbone';
3
- export declare const TextHelper: {
4
- escapeExpression(text: string): string;
5
- escapeRegExp(str: string): string;
6
- slugify(str: string): string;
7
- linkifyText(text: string, options?: ObjectHash): string;
8
- isEqual(str1: import("react").Key, str2: import("react").Key): boolean;
9
- toTitleCase(str: string): string;
10
- };
@@ -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,5 +0,0 @@
1
- export interface CherryPickerConfig {
2
- project: string;
3
- milestone?: string;
4
- branchName?: string;
5
- }
@@ -1,3 +0,0 @@
1
- import * as Yup from 'yup';
2
- import { CherryPickerConfig } from "../interfaces/CherryPickerConfig";
3
- export declare const CherryPickerValidationSchema: Yup.ObjectSchema<Yup.Shape<object, CherryPickerConfig>>;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function CherryPickerFormView(): JSX.Element;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function CherryPickerResultsView(): JSX.Element;
@@ -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
- }
@@ -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,3 +0,0 @@
1
- import { GitLabProject } from '../interfaces/GitLabProject';
2
- export declare const MONOREPO_PROJECT_ID = "798";
3
- export declare const GitLabProjects: GitLabProject[];
@@ -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
- };
@@ -1,4 +0,0 @@
1
- export interface GitLabProject {
2
- id: string;
3
- name: string;
4
- }
@@ -1,5 +0,0 @@
1
- export interface ReleaseNotesConfig {
2
- project: string;
3
- milestone?: string;
4
- branchName?: string;
5
- }
@@ -1 +0,0 @@
1
- export declare function getMergeRequestDescriptionChanges(descriptions: string[]): string;
@@ -1,2 +0,0 @@
1
- import { HashObject } from "../../../../../../libs/common/src/react/interfaces";
2
- export declare function getMonorepoMergeRequestDescriptionChanges(descriptions: string[], packageJsons: HashObject[]): string;
@@ -1 +0,0 @@
1
- export declare function serializeMergeRequestHeading(heading: string): string;
@@ -1 +0,0 @@
1
- export declare function serializeMonorepoMergeRequestSubheading(heading: string): string;
@@ -1 +0,0 @@
1
- export declare function shouldFilterMergeRequestHeading(heading: string): boolean;
@@ -1,3 +0,0 @@
1
- import * as Yup from 'yup';
2
- import { ReleaseNotesConfig } from "../interfaces/ReleaseNotesConfig";
3
- export declare const ReleaseNotesValidationSchema: Yup.ObjectSchema<Yup.Shape<object, ReleaseNotesConfig>>;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function ReleaseNotesFormView(): JSX.Element;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function ReleaseNotesGeneratorView(): JSX.Element;
@@ -1,4 +0,0 @@
1
- export declare const ViewModelKeys: {
2
- RELEASE_NOTES_CONFIG: string;
3
- CHERRY_PICKER_CONFIG: string;
4
- };