@backstage/plugin-catalog-import 0.9.13-next.0 → 0.9.13

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/CHANGELOG.md CHANGED
@@ -1,20 +1,36 @@
1
1
  # @backstage/plugin-catalog-import
2
2
 
3
- ## 0.9.13-next.0
3
+ ## 0.9.13
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies
8
- - @backstage/integration-react@1.1.18-next.0
9
- - @backstage/integration@1.7.0-next.0
10
- - @backstage/core-plugin-api@1.6.0-next.0
11
- - @backstage/core-components@0.13.5-next.0
8
+ - @backstage/integration@1.6.2
9
+ - @backstage/integration-react@1.1.18
10
+ - @backstage/plugin-catalog-react@1.8.3
12
11
  - @backstage/catalog-client@1.4.3
13
12
  - @backstage/catalog-model@1.4.1
14
13
  - @backstage/config@1.0.8
14
+ - @backstage/core-components@0.13.4
15
+ - @backstage/core-plugin-api@1.5.3
16
+ - @backstage/errors@1.2.1
17
+ - @backstage/plugin-catalog-common@1.0.15
18
+
19
+ ## 0.9.12
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+ - @backstage/integration@1.6.1
25
+ - @backstage/integration-react@1.1.17
26
+ - @backstage/plugin-catalog-react@1.8.2
27
+ - @backstage/catalog-client@1.4.3
28
+ - @backstage/catalog-model@1.4.1
29
+ - @backstage/config@1.0.8
30
+ - @backstage/core-components@0.13.4
31
+ - @backstage/core-plugin-api@1.5.3
15
32
  - @backstage/errors@1.2.1
16
33
  - @backstage/plugin-catalog-common@1.0.15
17
- - @backstage/plugin-catalog-react@1.8.3-next.0
18
34
 
19
35
  ## 0.9.11
20
36
 
package/dist/index.d.ts CHANGED
@@ -1,9 +1,8 @@
1
1
  /// <reference types="react" />
2
- import * as React from 'react';
3
- import React__default from 'react';
4
2
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
5
3
  import { DiscoveryApi, IdentityApi, ConfigApi } from '@backstage/core-plugin-api';
6
4
  import { Entity, CompoundEntityRef } from '@backstage/catalog-model';
5
+ import React from 'react';
7
6
  import { InfoCardVariants } from '@backstage/core-components';
8
7
  import { TextFieldProps } from '@material-ui/core/TextField/TextField';
9
8
  import { FieldErrors, Controller, UseFormProps, SubmitHandler, UseFormReturn, UnpackNestedValue } from 'react-hook-form';
@@ -25,14 +24,14 @@ declare const catalogImportPlugin: _backstage_core_plugin_api.BackstagePlugin<{
25
24
  *
26
25
  * @public
27
26
  */
28
- declare const CatalogImportPage: () => React.JSX.Element;
27
+ declare const CatalogImportPage: () => JSX.Element;
29
28
 
30
29
  /**
31
30
  * The default catalog import page.
32
31
  *
33
32
  * @public
34
33
  */
35
- declare const DefaultImportPage: () => React__default.JSX.Element;
34
+ declare const DefaultImportPage: () => JSX.Element;
36
35
 
37
36
  /**
38
37
  * Props for {@link EntityListComponent}.
@@ -44,9 +43,9 @@ interface EntityListComponentProps {
44
43
  target: string;
45
44
  entities: (Entity | CompoundEntityRef)[];
46
45
  }>;
47
- locationListItemIcon: (target: string) => React__default.ReactElement;
46
+ locationListItemIcon: (target: string) => React.ReactElement;
48
47
  collapsed?: boolean;
49
- firstListItem?: React__default.ReactElement;
48
+ firstListItem?: React.ReactElement;
50
49
  onItemClick?: (target: string) => void;
51
50
  withLinks?: boolean;
52
51
  }
@@ -55,7 +54,7 @@ interface EntityListComponentProps {
55
54
  *
56
55
  * @public
57
56
  */
58
- declare const EntityListComponent: (props: EntityListComponentProps) => React__default.JSX.Element;
57
+ declare const EntityListComponent: (props: EntityListComponentProps) => JSX.Element;
59
58
 
60
59
  /**
61
60
  * Props for {@link ImportInfoCard}.
@@ -71,7 +70,7 @@ interface ImportInfoCardProps {
71
70
  *
72
71
  * @public
73
72
  */
74
- declare const ImportInfoCard: (props: ImportInfoCardProps) => React__default.JSX.Element;
73
+ declare const ImportInfoCard: (props: ImportInfoCardProps) => JSX.Element;
75
74
 
76
75
  type RecursivePartial<T> = {
77
76
  [P in keyof T]?: T[P] extends (infer U)[] ? RecursivePartial<U>[] : T[P] extends object ? RecursivePartial<T[P]> : T[P];
@@ -252,8 +251,8 @@ type StepperApis = {
252
251
  };
253
252
 
254
253
  type StepConfiguration = {
255
- stepLabel: React__default.ReactElement;
256
- content: React__default.ReactElement;
254
+ stepLabel: React.ReactElement;
255
+ content: React.ReactElement;
257
256
  };
258
257
  /**
259
258
  * Defines the details of the stepper.
@@ -309,7 +308,7 @@ interface ImportStepperProps {
309
308
  *
310
309
  * @public
311
310
  */
312
- declare const ImportStepper: (props: ImportStepperProps) => React__default.JSX.Element;
311
+ declare const ImportStepper: (props: ImportStepperProps) => JSX.Element;
313
312
 
314
313
  /**
315
314
  * Props for {@link StepInitAnalyzeUrl}.
@@ -332,7 +331,7 @@ interface StepInitAnalyzeUrlProps {
332
331
  * @param disablePullRequest - if true, repositories without entities will abort the wizard
333
332
  * @public
334
333
  */
335
- declare const StepInitAnalyzeUrl: (props: StepInitAnalyzeUrlProps) => React__default.JSX.Element;
334
+ declare const StepInitAnalyzeUrl: (props: StepInitAnalyzeUrlProps) => JSX.Element;
336
335
 
337
336
  /**
338
337
  * Props for {@link AutocompleteTextField}.
@@ -344,10 +343,10 @@ interface AutocompleteTextFieldProps<TFieldValue extends string> {
344
343
  options: string[];
345
344
  required?: boolean;
346
345
  errors?: FieldErrors;
347
- rules?: React__default.ComponentProps<typeof Controller>['rules'];
346
+ rules?: React.ComponentProps<typeof Controller>['rules'];
348
347
  loading?: boolean;
349
348
  loadingText?: string;
350
- helperText?: React__default.ReactNode;
349
+ helperText?: React.ReactNode;
351
350
  errorHelperText?: string;
352
351
  textFieldProps?: Omit<TextFieldProps, 'required' | 'fullWidth'>;
353
352
  }
@@ -356,7 +355,7 @@ interface AutocompleteTextFieldProps<TFieldValue extends string> {
356
355
  *
357
356
  * @public
358
357
  */
359
- declare const AutocompleteTextField: <TFieldValue extends string>(props: AutocompleteTextFieldProps<TFieldValue>) => React__default.JSX.Element;
358
+ declare const AutocompleteTextField: <TFieldValue extends string>(props: AutocompleteTextFieldProps<TFieldValue>) => JSX.Element;
360
359
 
361
360
  /**
362
361
  * Props for {@link PreparePullRequestForm}.
@@ -367,7 +366,7 @@ type PreparePullRequestFormProps<TFieldValues extends Record<string, any>> = Pic
367
366
  onSubmit: SubmitHandler<TFieldValues>;
368
367
  render: (props: Pick<UseFormReturn<TFieldValues>, 'formState' | 'register' | 'control' | 'setValue'> & {
369
368
  values: UnpackNestedValue<TFieldValues>;
370
- }) => React__default.ReactNode;
369
+ }) => React.ReactNode;
371
370
  };
372
371
  /**
373
372
  * A form wrapper that creates a form that is used to prepare a pull request. It
@@ -379,7 +378,7 @@ type PreparePullRequestFormProps<TFieldValues extends Record<string, any>> = Pic
379
378
  * @param render - render the form elements
380
379
  * @public
381
380
  */
382
- declare const PreparePullRequestForm: <TFieldValues extends Record<string, any>>(props: PreparePullRequestFormProps<TFieldValues>) => React__default.JSX.Element;
381
+ declare const PreparePullRequestForm: <TFieldValues extends Record<string, any>>(props: PreparePullRequestFormProps<TFieldValues>) => JSX.Element;
383
382
 
384
383
  /**
385
384
  * Props for {@link PreviewCatalogInfoComponent}.
@@ -399,7 +398,7 @@ interface PreviewCatalogInfoComponentProps {
399
398
  *
400
399
  * @public
401
400
  */
402
- declare const PreviewCatalogInfoComponent: (props: PreviewCatalogInfoComponentProps) => React__default.JSX.Element;
401
+ declare const PreviewCatalogInfoComponent: (props: PreviewCatalogInfoComponentProps) => JSX.Element;
403
402
 
404
403
  /**
405
404
  * Props for {@link PreviewPullRequestComponent}.
@@ -419,7 +418,7 @@ interface PreviewPullRequestComponentProps {
419
418
  *
420
419
  * @public
421
420
  */
422
- declare const PreviewPullRequestComponent: (props: PreviewPullRequestComponentProps) => React__default.JSX.Element;
421
+ declare const PreviewPullRequestComponent: (props: PreviewPullRequestComponentProps) => JSX.Element;
423
422
 
424
423
  type FormData = {
425
424
  title: string;
@@ -445,13 +444,13 @@ interface StepPrepareCreatePullRequestProps {
445
444
  values: UnpackNestedValue<FormData>;
446
445
  groups: string[];
447
446
  groupsLoading: boolean;
448
- }) => React__default.ReactNode;
447
+ }) => React.ReactNode;
449
448
  }
450
449
  /**
451
450
  * Prepares a pull request.
452
451
  *
453
452
  * @public
454
453
  */
455
- declare const StepPrepareCreatePullRequest: (props: StepPrepareCreatePullRequestProps) => React__default.JSX.Element;
454
+ declare const StepPrepareCreatePullRequest: (props: StepPrepareCreatePullRequestProps) => JSX.Element;
456
455
 
457
456
  export { AnalyzeResult, AutocompleteTextField, AutocompleteTextFieldProps, CatalogImportApi, CatalogImportClient, CatalogImportPage, DefaultImportPage, EntityListComponent, EntityListComponentProps, ImportFlows, ImportInfoCard, ImportInfoCardProps, ImportState, ImportStepper, ImportStepperProps, PreparePullRequestForm, PreparePullRequestFormProps, PrepareResult, PreviewCatalogInfoComponent, PreviewCatalogInfoComponentProps, PreviewPullRequestComponent, PreviewPullRequestComponentProps, StepInitAnalyzeUrl, StepInitAnalyzeUrlProps, StepPrepareCreatePullRequest, StepPrepareCreatePullRequestProps, catalogImportApiRef, catalogImportPlugin, defaultGenerateStepper, catalogImportPlugin as plugin };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-import",
3
3
  "description": "A Backstage plugin the helps you import entities into your catalog",
4
- "version": "0.9.13-next.0",
4
+ "version": "0.9.13",
5
5
  "main": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -35,13 +35,13 @@
35
35
  "@backstage/catalog-client": "^1.4.3",
36
36
  "@backstage/catalog-model": "^1.4.1",
37
37
  "@backstage/config": "^1.0.8",
38
- "@backstage/core-components": "^0.13.5-next.0",
39
- "@backstage/core-plugin-api": "^1.6.0-next.0",
38
+ "@backstage/core-components": "^0.13.4",
39
+ "@backstage/core-plugin-api": "^1.5.3",
40
40
  "@backstage/errors": "^1.2.1",
41
- "@backstage/integration": "^1.7.0-next.0",
42
- "@backstage/integration-react": "^1.1.18-next.0",
41
+ "@backstage/integration": "^1.6.2",
42
+ "@backstage/integration-react": "^1.1.18",
43
43
  "@backstage/plugin-catalog-common": "^1.0.15",
44
- "@backstage/plugin-catalog-react": "^1.8.3-next.0",
44
+ "@backstage/plugin-catalog-react": "^1.8.3",
45
45
  "@material-ui/core": "^4.12.2",
46
46
  "@material-ui/icons": "^4.9.1",
47
47
  "@material-ui/lab": "4.0.0-alpha.61",
@@ -60,10 +60,10 @@
60
60
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@backstage/cli": "^0.22.12-next.0",
64
- "@backstage/core-app-api": "^1.10.0-next.0",
65
- "@backstage/dev-utils": "^1.0.20-next.0",
66
- "@backstage/test-utils": "^1.4.3-next.0",
63
+ "@backstage/cli": "^0.22.12",
64
+ "@backstage/core-app-api": "^1.9.1",
65
+ "@backstage/dev-utils": "^1.0.20",
66
+ "@backstage/test-utils": "^1.4.2",
67
67
  "@testing-library/dom": "^8.0.0",
68
68
  "@testing-library/jest-dom": "^5.10.1",
69
69
  "@testing-library/react": "^12.1.3",