@automattic/data-stores 3.1.2 → 3.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/CHANGELOG.md +14 -1
- package/dist/cjs/contextual-help/admin-sections.js +1 -1
- package/dist/cjs/contextual-help/admin-sections.js.map +1 -1
- package/dist/cjs/help-center/actions.js +79 -49
- package/dist/cjs/help-center/actions.js.map +1 -1
- package/dist/cjs/help-center/reducer.js +19 -10
- package/dist/cjs/help-center/reducer.js.map +1 -1
- package/dist/cjs/help-center/resolvers.js +2 -1
- package/dist/cjs/help-center/resolvers.js.map +1 -1
- package/dist/cjs/help-center/selectors.js +7 -5
- package/dist/cjs/help-center/selectors.js.map +1 -1
- package/dist/cjs/index.js +1 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/onboard/actions.js +11 -1
- package/dist/cjs/onboard/actions.js.map +1 -1
- package/dist/cjs/onboard/reducer.js +23 -1
- package/dist/cjs/onboard/reducer.js.map +1 -1
- package/dist/cjs/onboard/selectors.js +5 -1
- package/dist/cjs/onboard/selectors.js.map +1 -1
- package/dist/cjs/plans/queries/use-plans.js +20 -1
- package/dist/cjs/plans/queries/use-plans.js.map +1 -1
- package/dist/cjs/purchases/lib/assembler.js +6 -16
- package/dist/cjs/purchases/lib/assembler.js.map +1 -1
- package/dist/cjs/site/types.js.map +1 -1
- package/dist/esm/contextual-help/admin-sections.js +1 -1
- package/dist/esm/contextual-help/admin-sections.js.map +1 -1
- package/dist/esm/help-center/actions.js +74 -46
- package/dist/esm/help-center/actions.js.map +1 -1
- package/dist/esm/help-center/reducer.js +19 -10
- package/dist/esm/help-center/reducer.js.map +1 -1
- package/dist/esm/help-center/resolvers.js +3 -2
- package/dist/esm/help-center/resolvers.js.map +1 -1
- package/dist/esm/help-center/selectors.js +3 -2
- package/dist/esm/help-center/selectors.js.map +1 -1
- package/dist/esm/index.js +1 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/onboard/actions.js +8 -0
- package/dist/esm/onboard/actions.js.map +1 -1
- package/dist/esm/onboard/reducer.js +20 -0
- package/dist/esm/onboard/reducer.js.map +1 -1
- package/dist/esm/onboard/selectors.js +2 -0
- package/dist/esm/onboard/selectors.js.map +1 -1
- package/dist/esm/plans/queries/use-plans.js +20 -1
- package/dist/esm/plans/queries/use-plans.js.map +1 -1
- package/dist/esm/purchases/lib/assembler.js +6 -16
- package/dist/esm/purchases/lib/assembler.js.map +1 -1
- package/dist/esm/site/types.js.map +1 -1
- package/dist/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/help-center/actions.d.ts +30 -14
- package/dist/types/help-center/actions.d.ts.map +1 -1
- package/dist/types/help-center/reducer.d.ts +6 -5
- package/dist/types/help-center/reducer.d.ts.map +1 -1
- package/dist/types/help-center/resolvers.d.ts +16 -8
- package/dist/types/help-center/resolvers.d.ts.map +1 -1
- package/dist/types/help-center/selectors.d.ts +3 -2
- package/dist/types/help-center/selectors.d.ts.map +1 -1
- package/dist/types/help-center/types.d.ts +1 -0
- package/dist/types/help-center/types.d.ts.map +1 -1
- package/dist/types/index.d.ts +473 -43
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/onboard/actions.d.ts +14 -2
- package/dist/types/onboard/actions.d.ts.map +1 -1
- package/dist/types/onboard/reducer.d.ts +7 -1
- package/dist/types/onboard/reducer.d.ts.map +1 -1
- package/dist/types/onboard/selectors.d.ts +6 -2
- package/dist/types/onboard/selectors.d.ts.map +1 -1
- package/dist/types/onboard/types.d.ts +1 -1
- package/dist/types/onboard/types.d.ts.map +1 -1
- package/dist/types/plans/queries/use-plans.d.ts.map +1 -1
- package/dist/types/purchases/lib/assembler.d.ts +3 -3
- package/dist/types/purchases/lib/assembler.d.ts.map +1 -1
- package/dist/types/purchases/types.d.ts +3 -109
- package/dist/types/purchases/types.d.ts.map +1 -1
- package/dist/types/queries/use-all-domains-query.d.ts +1 -1
- package/dist/types/queries/use-all-domains-query.d.ts.map +1 -1
- package/dist/types/queries/use-site-domains-query.d.ts +1 -1
- package/dist/types/queries/use-site-domains-query.d.ts.map +1 -1
- package/dist/types/queries/use-site-query.d.ts +1 -1
- package/dist/types/queries/use-site-query.d.ts.map +1 -1
- package/dist/types/reader/index.d.ts +472 -40
- package/dist/types/reader/index.d.ts.map +1 -1
- package/dist/types/reader/queries/use-pending-post-subscriptions-query.d.ts +75 -7
- package/dist/types/reader/queries/use-pending-post-subscriptions-query.d.ts.map +1 -1
- package/dist/types/reader/queries/use-pending-site-subscriptions-query.d.ts +75 -7
- package/dist/types/reader/queries/use-pending-site-subscriptions-query.d.ts.map +1 -1
- package/dist/types/reader/queries/use-post-subscriptions-query.d.ts +143 -13
- package/dist/types/reader/queries/use-post-subscriptions-query.d.ts.map +1 -1
- package/dist/types/reader/queries/use-site-subscriptions-query.d.ts +103 -13
- package/dist/types/reader/queries/use-site-subscriptions-query.d.ts.map +1 -1
- package/dist/types/site/types.d.ts +2 -0
- package/dist/types/site/types.d.ts.map +1 -1
- package/dist/types/user/actions.d.ts +1 -1
- package/dist/types/user/reducer.d.ts +1 -1
- package/dist/types/user/resolvers.d.ts +2 -2
- package/dist/types/user/selectors.d.ts +2 -2
- package/dist/types/user/selectors.d.ts.map +1 -1
- package/dist/types/user/types.d.ts +2 -33
- package/dist/types/user/types.d.ts.map +1 -1
- package/package.json +4 -8
- package/src/contextual-help/admin-sections.ts +1 -1
- package/src/help-center/actions.ts +85 -50
- package/src/help-center/reducer.ts +27 -15
- package/src/help-center/resolvers.ts +15 -8
- package/src/help-center/selectors.ts +4 -2
- package/src/help-center/types.ts +1 -0
- package/src/index.ts +0 -3
- package/src/onboard/actions.ts +13 -1
- package/src/onboard/reducer.ts +26 -1
- package/src/onboard/selectors.ts +2 -0
- package/src/onboard/types.ts +1 -1
- package/src/plans/queries/use-plans.ts +29 -1
- package/src/purchases/lib/assembler.ts +10 -25
- package/src/purchases/types.ts +4 -116
- package/src/site/types.ts +2 -0
- package/src/user/types.ts +2 -38
- package/dist/cjs/domain-suggestions/actions.js +0 -33
- package/dist/cjs/domain-suggestions/actions.js.map +0 -1
- package/dist/cjs/domain-suggestions/constants.js +0 -12
- package/dist/cjs/domain-suggestions/constants.js.map +0 -1
- package/dist/cjs/domain-suggestions/index.js +0 -25
- package/dist/cjs/domain-suggestions/index.js.map +0 -1
- package/dist/cjs/domain-suggestions/queries.js +0 -78
- package/dist/cjs/domain-suggestions/queries.js.map +0 -1
- package/dist/cjs/domain-suggestions/reducer.js +0 -65
- package/dist/cjs/domain-suggestions/reducer.js.map +0 -1
- package/dist/cjs/domain-suggestions/resolvers.js +0 -91
- package/dist/cjs/domain-suggestions/resolvers.js.map +0 -1
- package/dist/cjs/domain-suggestions/selectors.js +0 -58
- package/dist/cjs/domain-suggestions/selectors.js.map +0 -1
- package/dist/cjs/domain-suggestions/types.js +0 -3
- package/dist/cjs/domain-suggestions/types.js.map +0 -1
- package/dist/cjs/domain-suggestions/utils.js +0 -47
- package/dist/cjs/domain-suggestions/utils.js.map +0 -1
- package/dist/esm/domain-suggestions/actions.js +0 -25
- package/dist/esm/domain-suggestions/actions.js.map +0 -1
- package/dist/esm/domain-suggestions/constants.js +0 -9
- package/dist/esm/domain-suggestions/constants.js.map +0 -1
- package/dist/esm/domain-suggestions/index.js +0 -20
- package/dist/esm/domain-suggestions/index.js.map +0 -1
- package/dist/esm/domain-suggestions/queries.js +0 -72
- package/dist/esm/domain-suggestions/queries.js.map +0 -1
- package/dist/esm/domain-suggestions/reducer.js +0 -61
- package/dist/esm/domain-suggestions/reducer.js.map +0 -1
- package/dist/esm/domain-suggestions/resolvers.js +0 -84
- package/dist/esm/domain-suggestions/resolvers.js.map +0 -1
- package/dist/esm/domain-suggestions/selectors.js +0 -47
- package/dist/esm/domain-suggestions/selectors.js.map +0 -1
- package/dist/esm/domain-suggestions/types.js +0 -2
- package/dist/esm/domain-suggestions/types.js.map +0 -1
- package/dist/esm/domain-suggestions/utils.js +0 -41
- package/dist/esm/domain-suggestions/utils.js.map +0 -1
- package/dist/types/domain-suggestions/actions.d.ts +0 -27
- package/dist/types/domain-suggestions/actions.d.ts.map +0 -1
- package/dist/types/domain-suggestions/constants.d.ts +0 -8
- package/dist/types/domain-suggestions/constants.d.ts.map +0 -1
- package/dist/types/domain-suggestions/index.d.ts +0 -10
- package/dist/types/domain-suggestions/index.d.ts.map +0 -1
- package/dist/types/domain-suggestions/queries.d.ts +0 -323
- package/dist/types/domain-suggestions/queries.d.ts.map +0 -1
- package/dist/types/domain-suggestions/reducer.d.ts +0 -16
- package/dist/types/domain-suggestions/reducer.d.ts.map +0 -1
- package/dist/types/domain-suggestions/resolvers.d.ts +0 -39
- package/dist/types/domain-suggestions/resolvers.d.ts.map +0 -1
- package/dist/types/domain-suggestions/selectors.d.ts +0 -18
- package/dist/types/domain-suggestions/selectors.d.ts.map +0 -1
- package/dist/types/domain-suggestions/types.d.ts +0 -206
- package/dist/types/domain-suggestions/types.d.ts.map +0 -1
- package/dist/types/domain-suggestions/utils.d.ts +0 -23
- package/dist/types/domain-suggestions/utils.d.ts.map +0 -1
- package/src/domain-suggestions/actions.ts +0 -51
- package/src/domain-suggestions/constants.ts +0 -8
- package/src/domain-suggestions/index.ts +0 -22
- package/src/domain-suggestions/queries.ts +0 -85
- package/src/domain-suggestions/reducer.ts +0 -77
- package/src/domain-suggestions/resolvers.ts +0 -110
- package/src/domain-suggestions/selectors.ts +0 -86
- package/src/domain-suggestions/test/reducer.ts +0 -105
- package/src/domain-suggestions/test/selectors.ts +0 -127
- package/src/domain-suggestions/types.ts +0 -254
- package/src/domain-suggestions/utils.ts +0 -50
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/reader/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAe,aAAa,EAA6B,MAAM,SAAS,CAAC;AA2BhF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;sBAjBf,CAAC;iBAEjB,CAAA,8CACC,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/reader/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAe,aAAa,EAA6B,MAAM,SAAS,CAAC;AA2BhF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;sBAjBf,CAAC;iBAEjB,CAAA,8CACC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBADmB,CAAC;iBAEL,CAAC,8CAEnB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCC,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,OAAO,EACN,sBAAsB,EACtB,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,GACvB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,yBAAyB,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAC3F,OAAO,EAAE,+BAA+B,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AACzF,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE3F,cAAc,SAAS,CAAC;AACxB,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -7,9 +7,11 @@ declare const usePendingPostSubscriptionsQuery: ({ filter, sort, }?: Subscriptio
|
|
|
7
7
|
error: Error;
|
|
8
8
|
isError: true;
|
|
9
9
|
isPending: false;
|
|
10
|
+
isLoading: false;
|
|
10
11
|
isLoadingError: false;
|
|
11
12
|
isRefetchError: true;
|
|
12
13
|
isSuccess: false;
|
|
14
|
+
isPlaceholderData: false;
|
|
13
15
|
status: "error";
|
|
14
16
|
dataUpdatedAt: number;
|
|
15
17
|
errorUpdatedAt: number;
|
|
@@ -19,14 +21,14 @@ declare const usePendingPostSubscriptionsQuery: ({ filter, sort, }?: Subscriptio
|
|
|
19
21
|
isFetched: boolean;
|
|
20
22
|
isFetchedAfterMount: boolean;
|
|
21
23
|
isFetching: boolean;
|
|
22
|
-
isLoading: boolean;
|
|
23
24
|
isInitialLoading: boolean;
|
|
24
25
|
isPaused: boolean;
|
|
25
|
-
isPlaceholderData: boolean;
|
|
26
26
|
isRefetching: boolean;
|
|
27
27
|
isStale: boolean;
|
|
28
|
+
isEnabled: boolean;
|
|
28
29
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<PendingPostSubscriptionsResult, Error>>;
|
|
29
30
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
31
|
+
promise: Promise<PendingPostSubscriptionsResult>;
|
|
30
32
|
data: {
|
|
31
33
|
pendingPosts: PendingPostSubscription[] | undefined;
|
|
32
34
|
totalCount: number | undefined;
|
|
@@ -35,9 +37,11 @@ declare const usePendingPostSubscriptionsQuery: ({ filter, sort, }?: Subscriptio
|
|
|
35
37
|
error: null;
|
|
36
38
|
isError: false;
|
|
37
39
|
isPending: false;
|
|
40
|
+
isLoading: false;
|
|
38
41
|
isLoadingError: false;
|
|
39
42
|
isRefetchError: false;
|
|
40
43
|
isSuccess: true;
|
|
44
|
+
isPlaceholderData: false;
|
|
41
45
|
status: "success";
|
|
42
46
|
dataUpdatedAt: number;
|
|
43
47
|
errorUpdatedAt: number;
|
|
@@ -47,14 +51,14 @@ declare const usePendingPostSubscriptionsQuery: ({ filter, sort, }?: Subscriptio
|
|
|
47
51
|
isFetched: boolean;
|
|
48
52
|
isFetchedAfterMount: boolean;
|
|
49
53
|
isFetching: boolean;
|
|
50
|
-
isLoading: boolean;
|
|
51
54
|
isInitialLoading: boolean;
|
|
52
55
|
isPaused: boolean;
|
|
53
|
-
isPlaceholderData: boolean;
|
|
54
56
|
isRefetching: boolean;
|
|
55
57
|
isStale: boolean;
|
|
58
|
+
isEnabled: boolean;
|
|
56
59
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<PendingPostSubscriptionsResult, Error>>;
|
|
57
60
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
61
|
+
promise: Promise<PendingPostSubscriptionsResult>;
|
|
58
62
|
data: {
|
|
59
63
|
pendingPosts: PendingPostSubscription[] | undefined;
|
|
60
64
|
totalCount: number | undefined;
|
|
@@ -63,9 +67,11 @@ declare const usePendingPostSubscriptionsQuery: ({ filter, sort, }?: Subscriptio
|
|
|
63
67
|
error: Error;
|
|
64
68
|
isError: true;
|
|
65
69
|
isPending: false;
|
|
70
|
+
isLoading: false;
|
|
66
71
|
isLoadingError: true;
|
|
67
72
|
isRefetchError: false;
|
|
68
73
|
isSuccess: false;
|
|
74
|
+
isPlaceholderData: false;
|
|
69
75
|
status: "error";
|
|
70
76
|
dataUpdatedAt: number;
|
|
71
77
|
errorUpdatedAt: number;
|
|
@@ -75,14 +81,14 @@ declare const usePendingPostSubscriptionsQuery: ({ filter, sort, }?: Subscriptio
|
|
|
75
81
|
isFetched: boolean;
|
|
76
82
|
isFetchedAfterMount: boolean;
|
|
77
83
|
isFetching: boolean;
|
|
78
|
-
isLoading: boolean;
|
|
79
84
|
isInitialLoading: boolean;
|
|
80
85
|
isPaused: boolean;
|
|
81
|
-
isPlaceholderData: boolean;
|
|
82
86
|
isRefetching: boolean;
|
|
83
87
|
isStale: boolean;
|
|
88
|
+
isEnabled: boolean;
|
|
84
89
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<PendingPostSubscriptionsResult, Error>>;
|
|
85
90
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
91
|
+
promise: Promise<PendingPostSubscriptionsResult>;
|
|
86
92
|
data: {
|
|
87
93
|
pendingPosts: PendingPostSubscription[] | undefined;
|
|
88
94
|
totalCount: number | undefined;
|
|
@@ -91,9 +97,40 @@ declare const usePendingPostSubscriptionsQuery: ({ filter, sort, }?: Subscriptio
|
|
|
91
97
|
error: null;
|
|
92
98
|
isError: false;
|
|
93
99
|
isPending: true;
|
|
100
|
+
isLoading: true;
|
|
94
101
|
isLoadingError: false;
|
|
95
102
|
isRefetchError: false;
|
|
96
103
|
isSuccess: false;
|
|
104
|
+
isPlaceholderData: false;
|
|
105
|
+
status: "pending";
|
|
106
|
+
dataUpdatedAt: number;
|
|
107
|
+
errorUpdatedAt: number;
|
|
108
|
+
failureCount: number;
|
|
109
|
+
failureReason: Error | null;
|
|
110
|
+
errorUpdateCount: number;
|
|
111
|
+
isFetched: boolean;
|
|
112
|
+
isFetchedAfterMount: boolean;
|
|
113
|
+
isFetching: boolean;
|
|
114
|
+
isInitialLoading: boolean;
|
|
115
|
+
isPaused: boolean;
|
|
116
|
+
isRefetching: boolean;
|
|
117
|
+
isStale: boolean;
|
|
118
|
+
isEnabled: boolean;
|
|
119
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<PendingPostSubscriptionsResult, Error>>;
|
|
120
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
121
|
+
promise: Promise<PendingPostSubscriptionsResult>;
|
|
122
|
+
data: {
|
|
123
|
+
pendingPosts: PendingPostSubscription[] | undefined;
|
|
124
|
+
totalCount: number | undefined;
|
|
125
|
+
};
|
|
126
|
+
} | {
|
|
127
|
+
error: null;
|
|
128
|
+
isError: false;
|
|
129
|
+
isPending: true;
|
|
130
|
+
isLoadingError: false;
|
|
131
|
+
isRefetchError: false;
|
|
132
|
+
isSuccess: false;
|
|
133
|
+
isPlaceholderData: false;
|
|
97
134
|
status: "pending";
|
|
98
135
|
dataUpdatedAt: number;
|
|
99
136
|
errorUpdatedAt: number;
|
|
@@ -106,11 +143,42 @@ declare const usePendingPostSubscriptionsQuery: ({ filter, sort, }?: Subscriptio
|
|
|
106
143
|
isLoading: boolean;
|
|
107
144
|
isInitialLoading: boolean;
|
|
108
145
|
isPaused: boolean;
|
|
109
|
-
isPlaceholderData: boolean;
|
|
110
146
|
isRefetching: boolean;
|
|
111
147
|
isStale: boolean;
|
|
148
|
+
isEnabled: boolean;
|
|
149
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<PendingPostSubscriptionsResult, Error>>;
|
|
150
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
151
|
+
promise: Promise<PendingPostSubscriptionsResult>;
|
|
152
|
+
data: {
|
|
153
|
+
pendingPosts: PendingPostSubscription[] | undefined;
|
|
154
|
+
totalCount: number | undefined;
|
|
155
|
+
};
|
|
156
|
+
} | {
|
|
157
|
+
isError: false;
|
|
158
|
+
error: null;
|
|
159
|
+
isPending: false;
|
|
160
|
+
isLoading: false;
|
|
161
|
+
isLoadingError: false;
|
|
162
|
+
isRefetchError: false;
|
|
163
|
+
isSuccess: true;
|
|
164
|
+
isPlaceholderData: true;
|
|
165
|
+
status: "success";
|
|
166
|
+
dataUpdatedAt: number;
|
|
167
|
+
errorUpdatedAt: number;
|
|
168
|
+
failureCount: number;
|
|
169
|
+
failureReason: Error | null;
|
|
170
|
+
errorUpdateCount: number;
|
|
171
|
+
isFetched: boolean;
|
|
172
|
+
isFetchedAfterMount: boolean;
|
|
173
|
+
isFetching: boolean;
|
|
174
|
+
isInitialLoading: boolean;
|
|
175
|
+
isPaused: boolean;
|
|
176
|
+
isRefetching: boolean;
|
|
177
|
+
isStale: boolean;
|
|
178
|
+
isEnabled: boolean;
|
|
112
179
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<PendingPostSubscriptionsResult, Error>>;
|
|
113
180
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
181
|
+
promise: Promise<PendingPostSubscriptionsResult>;
|
|
114
182
|
data: {
|
|
115
183
|
pendingPosts: PendingPostSubscription[] | undefined;
|
|
116
184
|
totalCount: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-pending-post-subscriptions-query.d.ts","sourceRoot":"","sources":["../../../../src/reader/queries/use-pending-post-subscriptions-query.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAOxF,KAAK,qDAAqD,GAAG;IAC5D,MAAM,CAAC,EAAE,CAAE,IAAI,CAAC,EAAE,uBAAuB,KAAM,OAAO,CAAC;IACvD,IAAI,CAAC,EAAE,CAAE,CAAC,CAAC,EAAE,uBAAuB,EAAE,CAAC,CAAC,EAAE,uBAAuB,KAAM,MAAM,CAAC;CAC9E,CAAC;AAiCF,QAAA,MAAM,gCAAgC,GAAK,oBAGxC,qDAA0D
|
|
1
|
+
{"version":3,"file":"use-pending-post-subscriptions-query.d.ts","sourceRoot":"","sources":["../../../../src/reader/queries/use-pending-post-subscriptions-query.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAOxF,KAAK,qDAAqD,GAAG;IAC5D,MAAM,CAAC,EAAE,CAAE,IAAI,CAAC,EAAE,uBAAuB,KAAM,OAAO,CAAC;IACvD,IAAI,CAAC,EAAE,CAAE,CAAC,CAAC,EAAE,uBAAuB,EAAE,CAAC,CAAC,EAAE,uBAAuB,KAAM,MAAM,CAAC;CAC9E,CAAC;AAiCF,QAAA,MAAM,gCAAgC,GAAK,oBAGxC,qDAA0D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoB5D,CAAC;AAEF,eAAe,gCAAgC,CAAC"}
|
|
@@ -7,9 +7,11 @@ declare const usePendingSiteSubscriptionsQuery: ({ filter, sort, }?: Subscriptio
|
|
|
7
7
|
error: Error;
|
|
8
8
|
isError: true;
|
|
9
9
|
isPending: false;
|
|
10
|
+
isLoading: false;
|
|
10
11
|
isLoadingError: false;
|
|
11
12
|
isRefetchError: true;
|
|
12
13
|
isSuccess: false;
|
|
14
|
+
isPlaceholderData: false;
|
|
13
15
|
status: "error";
|
|
14
16
|
dataUpdatedAt: number;
|
|
15
17
|
errorUpdatedAt: number;
|
|
@@ -19,14 +21,14 @@ declare const usePendingSiteSubscriptionsQuery: ({ filter, sort, }?: Subscriptio
|
|
|
19
21
|
isFetched: boolean;
|
|
20
22
|
isFetchedAfterMount: boolean;
|
|
21
23
|
isFetching: boolean;
|
|
22
|
-
isLoading: boolean;
|
|
23
24
|
isInitialLoading: boolean;
|
|
24
25
|
isPaused: boolean;
|
|
25
|
-
isPlaceholderData: boolean;
|
|
26
26
|
isRefetching: boolean;
|
|
27
27
|
isStale: boolean;
|
|
28
|
+
isEnabled: boolean;
|
|
28
29
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<PendingSiteSubscriptionsResult, Error>>;
|
|
29
30
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
31
|
+
promise: Promise<PendingSiteSubscriptionsResult>;
|
|
30
32
|
data: {
|
|
31
33
|
pendingSites: PendingSiteSubscription[] | undefined;
|
|
32
34
|
totalCount: number | undefined;
|
|
@@ -35,9 +37,11 @@ declare const usePendingSiteSubscriptionsQuery: ({ filter, sort, }?: Subscriptio
|
|
|
35
37
|
error: null;
|
|
36
38
|
isError: false;
|
|
37
39
|
isPending: false;
|
|
40
|
+
isLoading: false;
|
|
38
41
|
isLoadingError: false;
|
|
39
42
|
isRefetchError: false;
|
|
40
43
|
isSuccess: true;
|
|
44
|
+
isPlaceholderData: false;
|
|
41
45
|
status: "success";
|
|
42
46
|
dataUpdatedAt: number;
|
|
43
47
|
errorUpdatedAt: number;
|
|
@@ -47,14 +51,14 @@ declare const usePendingSiteSubscriptionsQuery: ({ filter, sort, }?: Subscriptio
|
|
|
47
51
|
isFetched: boolean;
|
|
48
52
|
isFetchedAfterMount: boolean;
|
|
49
53
|
isFetching: boolean;
|
|
50
|
-
isLoading: boolean;
|
|
51
54
|
isInitialLoading: boolean;
|
|
52
55
|
isPaused: boolean;
|
|
53
|
-
isPlaceholderData: boolean;
|
|
54
56
|
isRefetching: boolean;
|
|
55
57
|
isStale: boolean;
|
|
58
|
+
isEnabled: boolean;
|
|
56
59
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<PendingSiteSubscriptionsResult, Error>>;
|
|
57
60
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
61
|
+
promise: Promise<PendingSiteSubscriptionsResult>;
|
|
58
62
|
data: {
|
|
59
63
|
pendingSites: PendingSiteSubscription[] | undefined;
|
|
60
64
|
totalCount: number | undefined;
|
|
@@ -63,9 +67,11 @@ declare const usePendingSiteSubscriptionsQuery: ({ filter, sort, }?: Subscriptio
|
|
|
63
67
|
error: Error;
|
|
64
68
|
isError: true;
|
|
65
69
|
isPending: false;
|
|
70
|
+
isLoading: false;
|
|
66
71
|
isLoadingError: true;
|
|
67
72
|
isRefetchError: false;
|
|
68
73
|
isSuccess: false;
|
|
74
|
+
isPlaceholderData: false;
|
|
69
75
|
status: "error";
|
|
70
76
|
dataUpdatedAt: number;
|
|
71
77
|
errorUpdatedAt: number;
|
|
@@ -75,14 +81,14 @@ declare const usePendingSiteSubscriptionsQuery: ({ filter, sort, }?: Subscriptio
|
|
|
75
81
|
isFetched: boolean;
|
|
76
82
|
isFetchedAfterMount: boolean;
|
|
77
83
|
isFetching: boolean;
|
|
78
|
-
isLoading: boolean;
|
|
79
84
|
isInitialLoading: boolean;
|
|
80
85
|
isPaused: boolean;
|
|
81
|
-
isPlaceholderData: boolean;
|
|
82
86
|
isRefetching: boolean;
|
|
83
87
|
isStale: boolean;
|
|
88
|
+
isEnabled: boolean;
|
|
84
89
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<PendingSiteSubscriptionsResult, Error>>;
|
|
85
90
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
91
|
+
promise: Promise<PendingSiteSubscriptionsResult>;
|
|
86
92
|
data: {
|
|
87
93
|
pendingSites: PendingSiteSubscription[] | undefined;
|
|
88
94
|
totalCount: number | undefined;
|
|
@@ -91,9 +97,40 @@ declare const usePendingSiteSubscriptionsQuery: ({ filter, sort, }?: Subscriptio
|
|
|
91
97
|
error: null;
|
|
92
98
|
isError: false;
|
|
93
99
|
isPending: true;
|
|
100
|
+
isLoading: true;
|
|
94
101
|
isLoadingError: false;
|
|
95
102
|
isRefetchError: false;
|
|
96
103
|
isSuccess: false;
|
|
104
|
+
isPlaceholderData: false;
|
|
105
|
+
status: "pending";
|
|
106
|
+
dataUpdatedAt: number;
|
|
107
|
+
errorUpdatedAt: number;
|
|
108
|
+
failureCount: number;
|
|
109
|
+
failureReason: Error | null;
|
|
110
|
+
errorUpdateCount: number;
|
|
111
|
+
isFetched: boolean;
|
|
112
|
+
isFetchedAfterMount: boolean;
|
|
113
|
+
isFetching: boolean;
|
|
114
|
+
isInitialLoading: boolean;
|
|
115
|
+
isPaused: boolean;
|
|
116
|
+
isRefetching: boolean;
|
|
117
|
+
isStale: boolean;
|
|
118
|
+
isEnabled: boolean;
|
|
119
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<PendingSiteSubscriptionsResult, Error>>;
|
|
120
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
121
|
+
promise: Promise<PendingSiteSubscriptionsResult>;
|
|
122
|
+
data: {
|
|
123
|
+
pendingSites: PendingSiteSubscription[] | undefined;
|
|
124
|
+
totalCount: number | undefined;
|
|
125
|
+
};
|
|
126
|
+
} | {
|
|
127
|
+
error: null;
|
|
128
|
+
isError: false;
|
|
129
|
+
isPending: true;
|
|
130
|
+
isLoadingError: false;
|
|
131
|
+
isRefetchError: false;
|
|
132
|
+
isSuccess: false;
|
|
133
|
+
isPlaceholderData: false;
|
|
97
134
|
status: "pending";
|
|
98
135
|
dataUpdatedAt: number;
|
|
99
136
|
errorUpdatedAt: number;
|
|
@@ -106,11 +143,42 @@ declare const usePendingSiteSubscriptionsQuery: ({ filter, sort, }?: Subscriptio
|
|
|
106
143
|
isLoading: boolean;
|
|
107
144
|
isInitialLoading: boolean;
|
|
108
145
|
isPaused: boolean;
|
|
109
|
-
isPlaceholderData: boolean;
|
|
110
146
|
isRefetching: boolean;
|
|
111
147
|
isStale: boolean;
|
|
148
|
+
isEnabled: boolean;
|
|
149
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<PendingSiteSubscriptionsResult, Error>>;
|
|
150
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
151
|
+
promise: Promise<PendingSiteSubscriptionsResult>;
|
|
152
|
+
data: {
|
|
153
|
+
pendingSites: PendingSiteSubscription[] | undefined;
|
|
154
|
+
totalCount: number | undefined;
|
|
155
|
+
};
|
|
156
|
+
} | {
|
|
157
|
+
isError: false;
|
|
158
|
+
error: null;
|
|
159
|
+
isPending: false;
|
|
160
|
+
isLoading: false;
|
|
161
|
+
isLoadingError: false;
|
|
162
|
+
isRefetchError: false;
|
|
163
|
+
isSuccess: true;
|
|
164
|
+
isPlaceholderData: true;
|
|
165
|
+
status: "success";
|
|
166
|
+
dataUpdatedAt: number;
|
|
167
|
+
errorUpdatedAt: number;
|
|
168
|
+
failureCount: number;
|
|
169
|
+
failureReason: Error | null;
|
|
170
|
+
errorUpdateCount: number;
|
|
171
|
+
isFetched: boolean;
|
|
172
|
+
isFetchedAfterMount: boolean;
|
|
173
|
+
isFetching: boolean;
|
|
174
|
+
isInitialLoading: boolean;
|
|
175
|
+
isPaused: boolean;
|
|
176
|
+
isRefetching: boolean;
|
|
177
|
+
isStale: boolean;
|
|
178
|
+
isEnabled: boolean;
|
|
112
179
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<PendingSiteSubscriptionsResult, Error>>;
|
|
113
180
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
181
|
+
promise: Promise<PendingSiteSubscriptionsResult>;
|
|
114
182
|
data: {
|
|
115
183
|
pendingSites: PendingSiteSubscription[] | undefined;
|
|
116
184
|
totalCount: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-pending-site-subscriptions-query.d.ts","sourceRoot":"","sources":["../../../../src/reader/queries/use-pending-site-subscriptions-query.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAOxF,KAAK,qDAAqD,GAAG;IAC5D,MAAM,CAAC,EAAE,CAAE,IAAI,CAAC,EAAE,uBAAuB,KAAM,OAAO,CAAC;IACvD,IAAI,CAAC,EAAE,CAAE,CAAC,CAAC,EAAE,uBAAuB,EAAE,CAAC,CAAC,EAAE,uBAAuB,KAAM,MAAM,CAAC;CAC9E,CAAC;AAiCF,QAAA,MAAM,gCAAgC,GAAK,oBAGxC,qDAA0D
|
|
1
|
+
{"version":3,"file":"use-pending-site-subscriptions-query.d.ts","sourceRoot":"","sources":["../../../../src/reader/queries/use-pending-site-subscriptions-query.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAOxF,KAAK,qDAAqD,GAAG;IAC5D,MAAM,CAAC,EAAE,CAAE,IAAI,CAAC,EAAE,uBAAuB,KAAM,OAAO,CAAC;IACvD,IAAI,CAAC,EAAE,CAAE,CAAC,CAAC,EAAE,uBAAuB,EAAE,CAAC,CAAC,EAAE,uBAAuB,KAAM,MAAM,CAAC;CAC9E,CAAC;AAiCF,QAAA,MAAM,gCAAgC,GAAK,oBAGxC,qDAA0D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoB5D,CAAC;AAEF,eAAe,gCAAgC,CAAC"}
|
|
@@ -41,9 +41,127 @@ declare const usePostSubscriptionsQuery: ({ searchTerm, filterOption, sortTerm,
|
|
|
41
41
|
error: Error;
|
|
42
42
|
isError: true;
|
|
43
43
|
isPending: false;
|
|
44
|
+
isLoading: false;
|
|
45
|
+
isLoadingError: false;
|
|
46
|
+
isRefetchError: true;
|
|
47
|
+
isSuccess: false;
|
|
48
|
+
isPlaceholderData: false;
|
|
49
|
+
status: "error";
|
|
50
|
+
fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>, Error>>;
|
|
51
|
+
fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>, Error>>;
|
|
52
|
+
hasPreviousPage: boolean;
|
|
53
|
+
isFetchNextPageError: boolean;
|
|
54
|
+
isFetchPreviousPageError: boolean;
|
|
55
|
+
isFetchingPreviousPage: boolean;
|
|
56
|
+
dataUpdatedAt: number;
|
|
57
|
+
errorUpdatedAt: number;
|
|
58
|
+
failureCount: number;
|
|
59
|
+
failureReason: Error | null;
|
|
60
|
+
errorUpdateCount: number;
|
|
61
|
+
isFetched: boolean;
|
|
62
|
+
isFetchedAfterMount: boolean;
|
|
63
|
+
isInitialLoading: boolean;
|
|
64
|
+
isPaused: boolean;
|
|
65
|
+
isRefetching: boolean;
|
|
66
|
+
isStale: boolean;
|
|
67
|
+
isEnabled: boolean;
|
|
68
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>, Error>>;
|
|
69
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
70
|
+
promise: Promise<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>>;
|
|
71
|
+
} | {
|
|
72
|
+
data: {
|
|
73
|
+
posts: {
|
|
74
|
+
date_subscribed: Date;
|
|
75
|
+
id: string;
|
|
76
|
+
blog_id: string;
|
|
77
|
+
site_id: string;
|
|
78
|
+
site_title: string;
|
|
79
|
+
site_icon: string;
|
|
80
|
+
site_url: string;
|
|
81
|
+
domain: string;
|
|
82
|
+
is_wpforteams_site: boolean;
|
|
83
|
+
is_paid_subscription: boolean;
|
|
84
|
+
organization_id: number;
|
|
85
|
+
post_id: number;
|
|
86
|
+
post_title: string;
|
|
87
|
+
post_excerpt: string;
|
|
88
|
+
post_url: string;
|
|
89
|
+
notification: {
|
|
90
|
+
send_comments: boolean;
|
|
91
|
+
};
|
|
92
|
+
}[] | undefined;
|
|
93
|
+
totalCount: number;
|
|
94
|
+
};
|
|
95
|
+
isFetchingNextPage: boolean;
|
|
96
|
+
isFetching: boolean;
|
|
97
|
+
hasNextPage: boolean;
|
|
98
|
+
error: null;
|
|
99
|
+
isError: false;
|
|
100
|
+
isPending: false;
|
|
101
|
+
isLoading: false;
|
|
102
|
+
isLoadingError: false;
|
|
103
|
+
isRefetchError: false;
|
|
104
|
+
isFetchNextPageError: false;
|
|
105
|
+
isFetchPreviousPageError: false;
|
|
106
|
+
isSuccess: true;
|
|
107
|
+
isPlaceholderData: false;
|
|
108
|
+
status: "success";
|
|
109
|
+
fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>, Error>>;
|
|
110
|
+
fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>, Error>>;
|
|
111
|
+
hasPreviousPage: boolean;
|
|
112
|
+
isFetchingPreviousPage: boolean;
|
|
113
|
+
dataUpdatedAt: number;
|
|
114
|
+
errorUpdatedAt: number;
|
|
115
|
+
failureCount: number;
|
|
116
|
+
failureReason: Error | null;
|
|
117
|
+
errorUpdateCount: number;
|
|
118
|
+
isFetched: boolean;
|
|
119
|
+
isFetchedAfterMount: boolean;
|
|
120
|
+
isInitialLoading: boolean;
|
|
121
|
+
isPaused: boolean;
|
|
122
|
+
isRefetching: boolean;
|
|
123
|
+
isStale: boolean;
|
|
124
|
+
isEnabled: boolean;
|
|
125
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>, Error>>;
|
|
126
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
127
|
+
promise: Promise<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>>;
|
|
128
|
+
} | {
|
|
129
|
+
data: {
|
|
130
|
+
posts: {
|
|
131
|
+
date_subscribed: Date;
|
|
132
|
+
id: string;
|
|
133
|
+
blog_id: string;
|
|
134
|
+
site_id: string;
|
|
135
|
+
site_title: string;
|
|
136
|
+
site_icon: string;
|
|
137
|
+
site_url: string;
|
|
138
|
+
domain: string;
|
|
139
|
+
is_wpforteams_site: boolean;
|
|
140
|
+
is_paid_subscription: boolean;
|
|
141
|
+
organization_id: number;
|
|
142
|
+
post_id: number;
|
|
143
|
+
post_title: string;
|
|
144
|
+
post_excerpt: string;
|
|
145
|
+
post_url: string;
|
|
146
|
+
notification: {
|
|
147
|
+
send_comments: boolean;
|
|
148
|
+
};
|
|
149
|
+
}[] | undefined;
|
|
150
|
+
totalCount: number;
|
|
151
|
+
};
|
|
152
|
+
isFetchingNextPage: boolean;
|
|
153
|
+
isFetching: boolean;
|
|
154
|
+
hasNextPage: boolean;
|
|
155
|
+
error: Error;
|
|
156
|
+
isError: true;
|
|
157
|
+
isPending: false;
|
|
158
|
+
isLoading: false;
|
|
44
159
|
isLoadingError: true;
|
|
45
160
|
isRefetchError: false;
|
|
161
|
+
isFetchNextPageError: false;
|
|
162
|
+
isFetchPreviousPageError: false;
|
|
46
163
|
isSuccess: false;
|
|
164
|
+
isPlaceholderData: false;
|
|
47
165
|
status: "error";
|
|
48
166
|
fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>, Error>>;
|
|
49
167
|
fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>, Error>>;
|
|
@@ -56,14 +174,14 @@ declare const usePostSubscriptionsQuery: ({ searchTerm, filterOption, sortTerm,
|
|
|
56
174
|
errorUpdateCount: number;
|
|
57
175
|
isFetched: boolean;
|
|
58
176
|
isFetchedAfterMount: boolean;
|
|
59
|
-
isLoading: boolean;
|
|
60
177
|
isInitialLoading: boolean;
|
|
61
178
|
isPaused: boolean;
|
|
62
|
-
isPlaceholderData: boolean;
|
|
63
179
|
isRefetching: boolean;
|
|
64
180
|
isStale: boolean;
|
|
181
|
+
isEnabled: boolean;
|
|
65
182
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>, Error>>;
|
|
66
183
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
184
|
+
promise: Promise<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>>;
|
|
67
185
|
} | {
|
|
68
186
|
data: {
|
|
69
187
|
posts: {
|
|
@@ -94,9 +212,13 @@ declare const usePostSubscriptionsQuery: ({ searchTerm, filterOption, sortTerm,
|
|
|
94
212
|
error: null;
|
|
95
213
|
isError: false;
|
|
96
214
|
isPending: true;
|
|
215
|
+
isLoading: true;
|
|
97
216
|
isLoadingError: false;
|
|
98
217
|
isRefetchError: false;
|
|
218
|
+
isFetchNextPageError: false;
|
|
219
|
+
isFetchPreviousPageError: false;
|
|
99
220
|
isSuccess: false;
|
|
221
|
+
isPlaceholderData: false;
|
|
100
222
|
status: "pending";
|
|
101
223
|
fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>, Error>>;
|
|
102
224
|
fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>, Error>>;
|
|
@@ -109,14 +231,14 @@ declare const usePostSubscriptionsQuery: ({ searchTerm, filterOption, sortTerm,
|
|
|
109
231
|
errorUpdateCount: number;
|
|
110
232
|
isFetched: boolean;
|
|
111
233
|
isFetchedAfterMount: boolean;
|
|
112
|
-
isLoading: boolean;
|
|
113
234
|
isInitialLoading: boolean;
|
|
114
235
|
isPaused: boolean;
|
|
115
|
-
isPlaceholderData: boolean;
|
|
116
236
|
isRefetching: boolean;
|
|
117
237
|
isStale: boolean;
|
|
238
|
+
isEnabled: boolean;
|
|
118
239
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>, Error>>;
|
|
119
240
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
241
|
+
promise: Promise<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>>;
|
|
120
242
|
} | {
|
|
121
243
|
data: {
|
|
122
244
|
posts: {
|
|
@@ -144,13 +266,16 @@ declare const usePostSubscriptionsQuery: ({ searchTerm, filterOption, sortTerm,
|
|
|
144
266
|
isFetchingNextPage: boolean;
|
|
145
267
|
isFetching: boolean;
|
|
146
268
|
hasNextPage: boolean;
|
|
147
|
-
error:
|
|
148
|
-
isError:
|
|
149
|
-
isPending:
|
|
269
|
+
error: null;
|
|
270
|
+
isError: false;
|
|
271
|
+
isPending: true;
|
|
150
272
|
isLoadingError: false;
|
|
151
|
-
isRefetchError:
|
|
273
|
+
isRefetchError: false;
|
|
274
|
+
isFetchNextPageError: false;
|
|
275
|
+
isFetchPreviousPageError: false;
|
|
152
276
|
isSuccess: false;
|
|
153
|
-
|
|
277
|
+
isPlaceholderData: false;
|
|
278
|
+
status: "pending";
|
|
154
279
|
fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>, Error>>;
|
|
155
280
|
fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>, Error>>;
|
|
156
281
|
hasPreviousPage: boolean;
|
|
@@ -165,11 +290,12 @@ declare const usePostSubscriptionsQuery: ({ searchTerm, filterOption, sortTerm,
|
|
|
165
290
|
isLoading: boolean;
|
|
166
291
|
isInitialLoading: boolean;
|
|
167
292
|
isPaused: boolean;
|
|
168
|
-
isPlaceholderData: boolean;
|
|
169
293
|
isRefetching: boolean;
|
|
170
294
|
isStale: boolean;
|
|
295
|
+
isEnabled: boolean;
|
|
171
296
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>, Error>>;
|
|
172
297
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
298
|
+
promise: Promise<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>>;
|
|
173
299
|
} | {
|
|
174
300
|
data: {
|
|
175
301
|
posts: {
|
|
@@ -197,12 +323,16 @@ declare const usePostSubscriptionsQuery: ({ searchTerm, filterOption, sortTerm,
|
|
|
197
323
|
isFetchingNextPage: boolean;
|
|
198
324
|
isFetching: boolean;
|
|
199
325
|
hasNextPage: boolean;
|
|
200
|
-
error: null;
|
|
201
326
|
isError: false;
|
|
327
|
+
error: null;
|
|
202
328
|
isPending: false;
|
|
329
|
+
isLoading: false;
|
|
203
330
|
isLoadingError: false;
|
|
204
331
|
isRefetchError: false;
|
|
205
332
|
isSuccess: true;
|
|
333
|
+
isPlaceholderData: true;
|
|
334
|
+
isFetchNextPageError: false;
|
|
335
|
+
isFetchPreviousPageError: false;
|
|
206
336
|
status: "success";
|
|
207
337
|
fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>, Error>>;
|
|
208
338
|
fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>, Error>>;
|
|
@@ -215,14 +345,14 @@ declare const usePostSubscriptionsQuery: ({ searchTerm, filterOption, sortTerm,
|
|
|
215
345
|
errorUpdateCount: number;
|
|
216
346
|
isFetched: boolean;
|
|
217
347
|
isFetchedAfterMount: boolean;
|
|
218
|
-
isLoading: boolean;
|
|
219
348
|
isInitialLoading: boolean;
|
|
220
349
|
isPaused: boolean;
|
|
221
|
-
isPlaceholderData: boolean;
|
|
222
350
|
isRefetching: boolean;
|
|
223
351
|
isStale: boolean;
|
|
352
|
+
isEnabled: boolean;
|
|
224
353
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>, Error>>;
|
|
225
354
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
355
|
+
promise: Promise<import("@tanstack/react-query").InfiniteData<SubscriptionManagerPostSubscriptions, unknown>>;
|
|
226
356
|
};
|
|
227
357
|
export default usePostSubscriptionsQuery;
|
|
228
358
|
//# sourceMappingURL=use-post-subscriptions-query.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-post-subscriptions-query.d.ts","sourceRoot":"","sources":["../../../../src/reader/queries/use-post-subscriptions-query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AAGlF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,eAAO,MAAM,+BAA+B,UAAmC,CAAC;AAEhF,KAAK,oCAAoC,GAAG;IAC3C,qBAAqB,EAAE,gBAAgB,EAAE,CAAC;IAC1C,iCAAiC,EAAE,MAAM,CAAC;CAC1C,CAAC;AAEF,KAAK,2BAA2B,GAAG;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,yBAAyB,CAAC;IACzC,QAAQ,CAAC,EAAE,uBAAuB,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAkBF,QAAA,MAAM,yBAAyB,GAAK,kDAKjC,2BAAgC
|
|
1
|
+
{"version":3,"file":"use-post-subscriptions-query.d.ts","sourceRoot":"","sources":["../../../../src/reader/queries/use-post-subscriptions-query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AAGlF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,eAAO,MAAM,+BAA+B,UAAmC,CAAC;AAEhF,KAAK,oCAAoC,GAAG;IAC3C,qBAAqB,EAAE,gBAAgB,EAAE,CAAC;IAC1C,iCAAiC,EAAE,MAAM,CAAC;CAC1C,CAAC;AAEF,KAAK,2BAA2B,GAAG;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,yBAAyB,CAAC;IACzC,QAAQ,CAAC,EAAE,uBAAuB,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAkBF,QAAA,MAAM,yBAAyB,GAAK,kDAKjC,2BAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0FlC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|