@cagatayfdn/flora-components 0.0.21 → 0.0.22

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 CHANGED
@@ -242,6 +242,8 @@ declare type ColumnsType = {
242
242
  render?: (property: any, row: any) => void;
243
243
  };
244
244
 
245
+ export declare function Config({ config, scrollProps }: Props): JSX_2.Element;
246
+
245
247
  export declare const Confirm: FC<ConfirmProps & NiceModalHocProps>;
246
248
 
247
249
  declare type ConfirmProps = {
@@ -560,7 +562,7 @@ declare type PagerProps = {
560
562
 
561
563
  export declare const PermFallBack: () => JSX_2.Element;
562
564
 
563
- export declare function Permission(props: Props): JSX_2.Element;
565
+ export declare function Permission(props: Props_2): JSX_2.Element;
564
566
 
565
567
  declare interface Permissions_2 {
566
568
  default: boolean;
@@ -729,7 +731,51 @@ export declare enum PodStatusEnum {
729
731
  EVICTED = "Evicted"
730
732
  }
731
733
 
734
+ declare interface ProjectAppAddon {
735
+ id: number
736
+ addon_type: {
737
+ pk: number
738
+ name: string
739
+ slug: ProjectAppAddonTypeSlugs
740
+ }
741
+ secret_config: any
742
+ addon_type_relation: {
743
+ id: number
744
+ app: number
745
+ addon_type: number
746
+ scope: string
747
+ used_as: string
748
+ options: {
749
+ instance_type: string
750
+ instance_count: number
751
+ }
752
+ }
753
+ config: {
754
+ HOST: string
755
+ ORGANIZATION_NAME?: string
756
+ SENTRY_URL?: any
757
+ }
758
+ is_active: boolean
759
+ cluster: number
760
+ status: string
761
+ update_date: string
762
+ }
763
+
764
+ declare enum ProjectAppAddonTypeSlugs {
765
+ SENTRY = 'sentry',
766
+ POSTGRESQL = 'postgresql',
767
+ REDIS = 'redis',
768
+ ELASTICSEARCH = 'elasticsearch',
769
+ METRIC = 'metric',
770
+ MAIL = 'mail',
771
+ }
772
+
732
773
  declare type Props = {
774
+ config: ProjectAppAddon['config'];
775
+ scrollProps?: Omit<React_2.ComponentProps<typeof ScrollContainer>, 'children'>;
776
+ };
777
+
778
+ declare type Props_2 = {
733
779
  id: string;
734
780
  tooltipText?: string;
735
781
  } & CanProps;