@pipedream/connect-react 2.1.1 → 2.2.0
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/connect-react.es.js +4290 -4120
- package/dist/connect-react.umd.d.ts +114 -15
- package/dist/connect-react.umd.js +14 -14
- package/package.json +4 -4
|
@@ -505,6 +505,7 @@ export declare const useAccounts: (input: {
|
|
|
505
505
|
isLoadingError: false;
|
|
506
506
|
isRefetchError: true;
|
|
507
507
|
isSuccess: false;
|
|
508
|
+
isPlaceholderData: false;
|
|
508
509
|
status: "error";
|
|
509
510
|
dataUpdatedAt: number;
|
|
510
511
|
errorUpdatedAt: number;
|
|
@@ -516,9 +517,9 @@ export declare const useAccounts: (input: {
|
|
|
516
517
|
isFetching: boolean;
|
|
517
518
|
isInitialLoading: boolean;
|
|
518
519
|
isPaused: boolean;
|
|
519
|
-
isPlaceholderData: boolean;
|
|
520
520
|
isRefetching: boolean;
|
|
521
521
|
isStale: boolean;
|
|
522
|
+
isEnabled: boolean;
|
|
522
523
|
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<Account[], Error>>;
|
|
523
524
|
fetchStatus: FetchStatus;
|
|
524
525
|
promise: Promise<Account[]>;
|
|
@@ -532,6 +533,7 @@ export declare const useAccounts: (input: {
|
|
|
532
533
|
isLoadingError: false;
|
|
533
534
|
isRefetchError: false;
|
|
534
535
|
isSuccess: true;
|
|
536
|
+
isPlaceholderData: false;
|
|
535
537
|
status: "success";
|
|
536
538
|
dataUpdatedAt: number;
|
|
537
539
|
errorUpdatedAt: number;
|
|
@@ -543,9 +545,9 @@ export declare const useAccounts: (input: {
|
|
|
543
545
|
isFetching: boolean;
|
|
544
546
|
isInitialLoading: boolean;
|
|
545
547
|
isPaused: boolean;
|
|
546
|
-
isPlaceholderData: boolean;
|
|
547
548
|
isRefetching: boolean;
|
|
548
549
|
isStale: boolean;
|
|
550
|
+
isEnabled: boolean;
|
|
549
551
|
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<Account[], Error>>;
|
|
550
552
|
fetchStatus: FetchStatus;
|
|
551
553
|
promise: Promise<Account[]>;
|
|
@@ -559,6 +561,7 @@ export declare const useAccounts: (input: {
|
|
|
559
561
|
isLoadingError: true;
|
|
560
562
|
isRefetchError: false;
|
|
561
563
|
isSuccess: false;
|
|
564
|
+
isPlaceholderData: false;
|
|
562
565
|
status: "error";
|
|
563
566
|
dataUpdatedAt: number;
|
|
564
567
|
errorUpdatedAt: number;
|
|
@@ -570,9 +573,9 @@ export declare const useAccounts: (input: {
|
|
|
570
573
|
isFetching: boolean;
|
|
571
574
|
isInitialLoading: boolean;
|
|
572
575
|
isPaused: boolean;
|
|
573
|
-
isPlaceholderData: boolean;
|
|
574
576
|
isRefetching: boolean;
|
|
575
577
|
isStale: boolean;
|
|
578
|
+
isEnabled: boolean;
|
|
576
579
|
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<Account[], Error>>;
|
|
577
580
|
fetchStatus: FetchStatus;
|
|
578
581
|
promise: Promise<Account[]>;
|
|
@@ -586,6 +589,7 @@ export declare const useAccounts: (input: {
|
|
|
586
589
|
isLoadingError: false;
|
|
587
590
|
isRefetchError: false;
|
|
588
591
|
isSuccess: false;
|
|
592
|
+
isPlaceholderData: false;
|
|
589
593
|
status: "pending";
|
|
590
594
|
dataUpdatedAt: number;
|
|
591
595
|
errorUpdatedAt: number;
|
|
@@ -597,9 +601,9 @@ export declare const useAccounts: (input: {
|
|
|
597
601
|
isFetching: boolean;
|
|
598
602
|
isInitialLoading: boolean;
|
|
599
603
|
isPaused: boolean;
|
|
600
|
-
isPlaceholderData: boolean;
|
|
601
604
|
isRefetching: boolean;
|
|
602
605
|
isStale: boolean;
|
|
606
|
+
isEnabled: boolean;
|
|
603
607
|
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<Account[], Error>>;
|
|
604
608
|
fetchStatus: FetchStatus;
|
|
605
609
|
promise: Promise<Account[]>;
|
|
@@ -612,6 +616,7 @@ export declare const useAccounts: (input: {
|
|
|
612
616
|
isLoadingError: false;
|
|
613
617
|
isRefetchError: false;
|
|
614
618
|
isSuccess: false;
|
|
619
|
+
isPlaceholderData: false;
|
|
615
620
|
status: "pending";
|
|
616
621
|
dataUpdatedAt: number;
|
|
617
622
|
errorUpdatedAt: number;
|
|
@@ -624,9 +629,37 @@ export declare const useAccounts: (input: {
|
|
|
624
629
|
isLoading: boolean;
|
|
625
630
|
isInitialLoading: boolean;
|
|
626
631
|
isPaused: boolean;
|
|
627
|
-
isPlaceholderData: boolean;
|
|
628
632
|
isRefetching: boolean;
|
|
629
633
|
isStale: boolean;
|
|
634
|
+
isEnabled: boolean;
|
|
635
|
+
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<Account[], Error>>;
|
|
636
|
+
fetchStatus: FetchStatus;
|
|
637
|
+
promise: Promise<Account[]>;
|
|
638
|
+
} | {
|
|
639
|
+
accounts: Account[];
|
|
640
|
+
data: Account[];
|
|
641
|
+
isError: false;
|
|
642
|
+
error: null;
|
|
643
|
+
isPending: false;
|
|
644
|
+
isLoading: false;
|
|
645
|
+
isLoadingError: false;
|
|
646
|
+
isRefetchError: false;
|
|
647
|
+
isSuccess: true;
|
|
648
|
+
isPlaceholderData: true;
|
|
649
|
+
status: "success";
|
|
650
|
+
dataUpdatedAt: number;
|
|
651
|
+
errorUpdatedAt: number;
|
|
652
|
+
failureCount: number;
|
|
653
|
+
failureReason: Error | null;
|
|
654
|
+
errorUpdateCount: number;
|
|
655
|
+
isFetched: boolean;
|
|
656
|
+
isFetchedAfterMount: boolean;
|
|
657
|
+
isFetching: boolean;
|
|
658
|
+
isInitialLoading: boolean;
|
|
659
|
+
isPaused: boolean;
|
|
660
|
+
isRefetching: boolean;
|
|
661
|
+
isStale: boolean;
|
|
662
|
+
isEnabled: boolean;
|
|
630
663
|
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<Account[], Error>>;
|
|
631
664
|
fetchStatus: FetchStatus;
|
|
632
665
|
promise: Promise<Account[]>;
|
|
@@ -649,6 +682,7 @@ export declare const useApp: (slug: string, opts?: {
|
|
|
649
682
|
isLoadingError: false;
|
|
650
683
|
isRefetchError: true;
|
|
651
684
|
isSuccess: false;
|
|
685
|
+
isPlaceholderData: false;
|
|
652
686
|
status: "error";
|
|
653
687
|
dataUpdatedAt: number;
|
|
654
688
|
errorUpdatedAt: number;
|
|
@@ -660,9 +694,9 @@ export declare const useApp: (slug: string, opts?: {
|
|
|
660
694
|
isFetching: boolean;
|
|
661
695
|
isInitialLoading: boolean;
|
|
662
696
|
isPaused: boolean;
|
|
663
|
-
isPlaceholderData: boolean;
|
|
664
697
|
isRefetching: boolean;
|
|
665
698
|
isStale: boolean;
|
|
699
|
+
isEnabled: boolean;
|
|
666
700
|
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<GetAppResponse, Error>>;
|
|
667
701
|
fetchStatus: FetchStatus;
|
|
668
702
|
promise: Promise<GetAppResponse>;
|
|
@@ -676,6 +710,7 @@ export declare const useApp: (slug: string, opts?: {
|
|
|
676
710
|
isLoadingError: false;
|
|
677
711
|
isRefetchError: false;
|
|
678
712
|
isSuccess: true;
|
|
713
|
+
isPlaceholderData: false;
|
|
679
714
|
status: "success";
|
|
680
715
|
dataUpdatedAt: number;
|
|
681
716
|
errorUpdatedAt: number;
|
|
@@ -687,9 +722,9 @@ export declare const useApp: (slug: string, opts?: {
|
|
|
687
722
|
isFetching: boolean;
|
|
688
723
|
isInitialLoading: boolean;
|
|
689
724
|
isPaused: boolean;
|
|
690
|
-
isPlaceholderData: boolean;
|
|
691
725
|
isRefetching: boolean;
|
|
692
726
|
isStale: boolean;
|
|
727
|
+
isEnabled: boolean;
|
|
693
728
|
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<GetAppResponse, Error>>;
|
|
694
729
|
fetchStatus: FetchStatus;
|
|
695
730
|
promise: Promise<GetAppResponse>;
|
|
@@ -703,6 +738,7 @@ export declare const useApp: (slug: string, opts?: {
|
|
|
703
738
|
isLoadingError: true;
|
|
704
739
|
isRefetchError: false;
|
|
705
740
|
isSuccess: false;
|
|
741
|
+
isPlaceholderData: false;
|
|
706
742
|
status: "error";
|
|
707
743
|
dataUpdatedAt: number;
|
|
708
744
|
errorUpdatedAt: number;
|
|
@@ -714,9 +750,9 @@ export declare const useApp: (slug: string, opts?: {
|
|
|
714
750
|
isFetching: boolean;
|
|
715
751
|
isInitialLoading: boolean;
|
|
716
752
|
isPaused: boolean;
|
|
717
|
-
isPlaceholderData: boolean;
|
|
718
753
|
isRefetching: boolean;
|
|
719
754
|
isStale: boolean;
|
|
755
|
+
isEnabled: boolean;
|
|
720
756
|
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<GetAppResponse, Error>>;
|
|
721
757
|
fetchStatus: FetchStatus;
|
|
722
758
|
promise: Promise<GetAppResponse>;
|
|
@@ -730,6 +766,7 @@ export declare const useApp: (slug: string, opts?: {
|
|
|
730
766
|
isLoadingError: false;
|
|
731
767
|
isRefetchError: false;
|
|
732
768
|
isSuccess: false;
|
|
769
|
+
isPlaceholderData: false;
|
|
733
770
|
status: "pending";
|
|
734
771
|
dataUpdatedAt: number;
|
|
735
772
|
errorUpdatedAt: number;
|
|
@@ -741,9 +778,9 @@ export declare const useApp: (slug: string, opts?: {
|
|
|
741
778
|
isFetching: boolean;
|
|
742
779
|
isInitialLoading: boolean;
|
|
743
780
|
isPaused: boolean;
|
|
744
|
-
isPlaceholderData: boolean;
|
|
745
781
|
isRefetching: boolean;
|
|
746
782
|
isStale: boolean;
|
|
783
|
+
isEnabled: boolean;
|
|
747
784
|
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<GetAppResponse, Error>>;
|
|
748
785
|
fetchStatus: FetchStatus;
|
|
749
786
|
promise: Promise<GetAppResponse>;
|
|
@@ -756,6 +793,7 @@ export declare const useApp: (slug: string, opts?: {
|
|
|
756
793
|
isLoadingError: false;
|
|
757
794
|
isRefetchError: false;
|
|
758
795
|
isSuccess: false;
|
|
796
|
+
isPlaceholderData: false;
|
|
759
797
|
status: "pending";
|
|
760
798
|
dataUpdatedAt: number;
|
|
761
799
|
errorUpdatedAt: number;
|
|
@@ -768,9 +806,37 @@ export declare const useApp: (slug: string, opts?: {
|
|
|
768
806
|
isLoading: boolean;
|
|
769
807
|
isInitialLoading: boolean;
|
|
770
808
|
isPaused: boolean;
|
|
771
|
-
isPlaceholderData: boolean;
|
|
772
809
|
isRefetching: boolean;
|
|
773
810
|
isStale: boolean;
|
|
811
|
+
isEnabled: boolean;
|
|
812
|
+
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<GetAppResponse, Error>>;
|
|
813
|
+
fetchStatus: FetchStatus;
|
|
814
|
+
promise: Promise<GetAppResponse>;
|
|
815
|
+
} | {
|
|
816
|
+
app: App | undefined;
|
|
817
|
+
data: GetAppResponse;
|
|
818
|
+
isError: false;
|
|
819
|
+
error: null;
|
|
820
|
+
isPending: false;
|
|
821
|
+
isLoading: false;
|
|
822
|
+
isLoadingError: false;
|
|
823
|
+
isRefetchError: false;
|
|
824
|
+
isSuccess: true;
|
|
825
|
+
isPlaceholderData: true;
|
|
826
|
+
status: "success";
|
|
827
|
+
dataUpdatedAt: number;
|
|
828
|
+
errorUpdatedAt: number;
|
|
829
|
+
failureCount: number;
|
|
830
|
+
failureReason: Error | null;
|
|
831
|
+
errorUpdateCount: number;
|
|
832
|
+
isFetched: boolean;
|
|
833
|
+
isFetchedAfterMount: boolean;
|
|
834
|
+
isFetching: boolean;
|
|
835
|
+
isInitialLoading: boolean;
|
|
836
|
+
isPaused: boolean;
|
|
837
|
+
isRefetching: boolean;
|
|
838
|
+
isStale: boolean;
|
|
839
|
+
isEnabled: boolean;
|
|
774
840
|
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<GetAppResponse, Error>>;
|
|
775
841
|
fetchStatus: FetchStatus;
|
|
776
842
|
promise: Promise<GetAppResponse>;
|
|
@@ -806,6 +872,7 @@ export declare const useComponent: ({ key }: {
|
|
|
806
872
|
isLoadingError: false;
|
|
807
873
|
isRefetchError: true;
|
|
808
874
|
isSuccess: false;
|
|
875
|
+
isPlaceholderData: false;
|
|
809
876
|
status: "error";
|
|
810
877
|
dataUpdatedAt: number;
|
|
811
878
|
errorUpdatedAt: number;
|
|
@@ -817,9 +884,9 @@ export declare const useComponent: ({ key }: {
|
|
|
817
884
|
isFetching: boolean;
|
|
818
885
|
isInitialLoading: boolean;
|
|
819
886
|
isPaused: boolean;
|
|
820
|
-
isPlaceholderData: boolean;
|
|
821
887
|
isRefetching: boolean;
|
|
822
888
|
isStale: boolean;
|
|
889
|
+
isEnabled: boolean;
|
|
823
890
|
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<GetComponentResponse, Error>>;
|
|
824
891
|
fetchStatus: FetchStatus;
|
|
825
892
|
promise: Promise<GetComponentResponse>;
|
|
@@ -833,6 +900,7 @@ export declare const useComponent: ({ key }: {
|
|
|
833
900
|
isLoadingError: false;
|
|
834
901
|
isRefetchError: false;
|
|
835
902
|
isSuccess: true;
|
|
903
|
+
isPlaceholderData: false;
|
|
836
904
|
status: "success";
|
|
837
905
|
dataUpdatedAt: number;
|
|
838
906
|
errorUpdatedAt: number;
|
|
@@ -844,9 +912,9 @@ export declare const useComponent: ({ key }: {
|
|
|
844
912
|
isFetching: boolean;
|
|
845
913
|
isInitialLoading: boolean;
|
|
846
914
|
isPaused: boolean;
|
|
847
|
-
isPlaceholderData: boolean;
|
|
848
915
|
isRefetching: boolean;
|
|
849
916
|
isStale: boolean;
|
|
917
|
+
isEnabled: boolean;
|
|
850
918
|
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<GetComponentResponse, Error>>;
|
|
851
919
|
fetchStatus: FetchStatus;
|
|
852
920
|
promise: Promise<GetComponentResponse>;
|
|
@@ -860,6 +928,7 @@ export declare const useComponent: ({ key }: {
|
|
|
860
928
|
isLoadingError: true;
|
|
861
929
|
isRefetchError: false;
|
|
862
930
|
isSuccess: false;
|
|
931
|
+
isPlaceholderData: false;
|
|
863
932
|
status: "error";
|
|
864
933
|
dataUpdatedAt: number;
|
|
865
934
|
errorUpdatedAt: number;
|
|
@@ -871,9 +940,9 @@ export declare const useComponent: ({ key }: {
|
|
|
871
940
|
isFetching: boolean;
|
|
872
941
|
isInitialLoading: boolean;
|
|
873
942
|
isPaused: boolean;
|
|
874
|
-
isPlaceholderData: boolean;
|
|
875
943
|
isRefetching: boolean;
|
|
876
944
|
isStale: boolean;
|
|
945
|
+
isEnabled: boolean;
|
|
877
946
|
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<GetComponentResponse, Error>>;
|
|
878
947
|
fetchStatus: FetchStatus;
|
|
879
948
|
promise: Promise<GetComponentResponse>;
|
|
@@ -887,6 +956,7 @@ export declare const useComponent: ({ key }: {
|
|
|
887
956
|
isLoadingError: false;
|
|
888
957
|
isRefetchError: false;
|
|
889
958
|
isSuccess: false;
|
|
959
|
+
isPlaceholderData: false;
|
|
890
960
|
status: "pending";
|
|
891
961
|
dataUpdatedAt: number;
|
|
892
962
|
errorUpdatedAt: number;
|
|
@@ -898,9 +968,9 @@ export declare const useComponent: ({ key }: {
|
|
|
898
968
|
isFetching: boolean;
|
|
899
969
|
isInitialLoading: boolean;
|
|
900
970
|
isPaused: boolean;
|
|
901
|
-
isPlaceholderData: boolean;
|
|
902
971
|
isRefetching: boolean;
|
|
903
972
|
isStale: boolean;
|
|
973
|
+
isEnabled: boolean;
|
|
904
974
|
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<GetComponentResponse, Error>>;
|
|
905
975
|
fetchStatus: FetchStatus;
|
|
906
976
|
promise: Promise<GetComponentResponse>;
|
|
@@ -913,6 +983,7 @@ export declare const useComponent: ({ key }: {
|
|
|
913
983
|
isLoadingError: false;
|
|
914
984
|
isRefetchError: false;
|
|
915
985
|
isSuccess: false;
|
|
986
|
+
isPlaceholderData: false;
|
|
916
987
|
status: "pending";
|
|
917
988
|
dataUpdatedAt: number;
|
|
918
989
|
errorUpdatedAt: number;
|
|
@@ -925,9 +996,37 @@ export declare const useComponent: ({ key }: {
|
|
|
925
996
|
isLoading: boolean;
|
|
926
997
|
isInitialLoading: boolean;
|
|
927
998
|
isPaused: boolean;
|
|
928
|
-
isPlaceholderData: boolean;
|
|
929
999
|
isRefetching: boolean;
|
|
930
1000
|
isStale: boolean;
|
|
1001
|
+
isEnabled: boolean;
|
|
1002
|
+
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<GetComponentResponse, Error>>;
|
|
1003
|
+
fetchStatus: FetchStatus;
|
|
1004
|
+
promise: Promise<GetComponentResponse>;
|
|
1005
|
+
} | {
|
|
1006
|
+
component: Component | undefined;
|
|
1007
|
+
data: GetComponentResponse;
|
|
1008
|
+
isError: false;
|
|
1009
|
+
error: null;
|
|
1010
|
+
isPending: false;
|
|
1011
|
+
isLoading: false;
|
|
1012
|
+
isLoadingError: false;
|
|
1013
|
+
isRefetchError: false;
|
|
1014
|
+
isSuccess: true;
|
|
1015
|
+
isPlaceholderData: true;
|
|
1016
|
+
status: "success";
|
|
1017
|
+
dataUpdatedAt: number;
|
|
1018
|
+
errorUpdatedAt: number;
|
|
1019
|
+
failureCount: number;
|
|
1020
|
+
failureReason: Error | null;
|
|
1021
|
+
errorUpdateCount: number;
|
|
1022
|
+
isFetched: boolean;
|
|
1023
|
+
isFetchedAfterMount: boolean;
|
|
1024
|
+
isFetching: boolean;
|
|
1025
|
+
isInitialLoading: boolean;
|
|
1026
|
+
isPaused: boolean;
|
|
1027
|
+
isRefetching: boolean;
|
|
1028
|
+
isStale: boolean;
|
|
1029
|
+
isEnabled: boolean;
|
|
931
1030
|
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<GetComponentResponse, Error>>;
|
|
932
1031
|
fetchStatus: FetchStatus;
|
|
933
1032
|
promise: Promise<GetComponentResponse>;
|