@cagatayfdn/flora-components 0.0.21 → 0.0.23

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 = {
@@ -262,6 +264,14 @@ export declare enum CopyTextStatusEnum {
262
264
  ERROR = "error"
263
265
  }
264
266
 
267
+ export declare function Countdown({ seconds, reset, onEnd }: CountdownProps): JSX_2.Element;
268
+
269
+ declare type CountdownProps = {
270
+ seconds: number;
271
+ reset?: any;
272
+ onEnd?: () => void;
273
+ };
274
+
265
275
  declare type CustomItemProps = {
266
276
  item: OptionProps;
267
277
  };
@@ -560,7 +570,7 @@ declare type PagerProps = {
560
570
 
561
571
  export declare const PermFallBack: () => JSX_2.Element;
562
572
 
563
- export declare function Permission(props: Props): JSX_2.Element;
573
+ export declare function Permission(props: Props_2): JSX_2.Element;
564
574
 
565
575
  declare interface Permissions_2 {
566
576
  default: boolean;
@@ -729,7 +739,51 @@ export declare enum PodStatusEnum {
729
739
  EVICTED = "Evicted"
730
740
  }
731
741
 
742
+ declare interface ProjectAppAddon {
743
+ id: number
744
+ addon_type: {
745
+ pk: number
746
+ name: string
747
+ slug: ProjectAppAddonTypeSlugs
748
+ }
749
+ secret_config: any
750
+ addon_type_relation: {
751
+ id: number
752
+ app: number
753
+ addon_type: number
754
+ scope: string
755
+ used_as: string
756
+ options: {
757
+ instance_type: string
758
+ instance_count: number
759
+ }
760
+ }
761
+ config: {
762
+ HOST: string
763
+ ORGANIZATION_NAME?: string
764
+ SENTRY_URL?: any
765
+ }
766
+ is_active: boolean
767
+ cluster: number
768
+ status: string
769
+ update_date: string
770
+ }
771
+
772
+ declare enum ProjectAppAddonTypeSlugs {
773
+ SENTRY = 'sentry',
774
+ POSTGRESQL = 'postgresql',
775
+ REDIS = 'redis',
776
+ ELASTICSEARCH = 'elasticsearch',
777
+ METRIC = 'metric',
778
+ MAIL = 'mail',
779
+ }
780
+
732
781
  declare type Props = {
782
+ config: ProjectAppAddon['config'];
783
+ scrollProps?: Omit<React_2.ComponentProps<typeof ScrollContainer>, 'children'>;
784
+ };
785
+
786
+ declare type Props_2 = {
733
787
  id: string;
734
788
  tooltipText?: string;
735
789
  } & CanProps;