@forgerock/davinci-client 0.0.0-beta-20251003204059 → 0.0.0-beta-20251124184351
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/package.json +7 -6
- package/dist/src/index.d.ts +0 -3
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/index.js +0 -9
- package/dist/src/index.js.map +0 -1
- package/dist/src/lib/client.store.d.ts +0 -352
- package/dist/src/lib/client.store.d.ts.map +0 -1
- package/dist/src/lib/client.store.js +0 -306
- package/dist/src/lib/client.store.js.map +0 -1
- package/dist/src/lib/client.store.utils.d.ts +0 -74
- package/dist/src/lib/client.store.utils.d.ts.map +0 -1
- package/dist/src/lib/client.store.utils.js +0 -48
- package/dist/src/lib/client.store.utils.js.map +0 -1
- package/dist/src/lib/client.types.d.ts +0 -21
- package/dist/src/lib/client.types.d.ts.map +0 -1
- package/dist/src/lib/client.types.js +0 -2
- package/dist/src/lib/client.types.js.map +0 -1
- package/dist/src/lib/collector.types.d.ts +0 -405
- package/dist/src/lib/collector.types.d.ts.map +0 -1
- package/dist/src/lib/collector.types.js +0 -8
- package/dist/src/lib/collector.types.js.map +0 -1
- package/dist/src/lib/collector.utils.d.ts +0 -132
- package/dist/src/lib/collector.utils.d.ts.map +0 -1
- package/dist/src/lib/collector.utils.js +0 -559
- package/dist/src/lib/collector.utils.js.map +0 -1
- package/dist/src/lib/config.slice.d.ts +0 -42
- package/dist/src/lib/config.slice.d.ts.map +0 -1
- package/dist/src/lib/config.slice.js +0 -59
- package/dist/src/lib/config.slice.js.map +0 -1
- package/dist/src/lib/config.types.d.ts +0 -12
- package/dist/src/lib/config.types.d.ts.map +0 -1
- package/dist/src/lib/config.types.js +0 -2
- package/dist/src/lib/config.types.js.map +0 -1
- package/dist/src/lib/davinci.api.d.ts +0 -31
- package/dist/src/lib/davinci.api.d.ts.map +0 -1
- package/dist/src/lib/davinci.api.js +0 -347
- package/dist/src/lib/davinci.api.js.map +0 -1
- package/dist/src/lib/davinci.types.d.ts +0 -285
- package/dist/src/lib/davinci.types.d.ts.map +0 -1
- package/dist/src/lib/davinci.types.js +0 -11
- package/dist/src/lib/davinci.types.js.map +0 -1
- package/dist/src/lib/davinci.utils.d.ts +0 -22
- package/dist/src/lib/davinci.utils.d.ts.map +0 -1
- package/dist/src/lib/davinci.utils.js +0 -169
- package/dist/src/lib/davinci.utils.js.map +0 -1
- package/dist/src/lib/index.d.ts +0 -3
- package/dist/src/lib/index.d.ts.map +0 -1
- package/dist/src/lib/index.js +0 -9
- package/dist/src/lib/index.js.map +0 -1
- package/dist/src/lib/node.reducer.d.ts +0 -27
- package/dist/src/lib/node.reducer.d.ts.map +0 -1
- package/dist/src/lib/node.reducer.js +0 -198
- package/dist/src/lib/node.reducer.js.map +0 -1
- package/dist/src/lib/node.slice.d.ts +0 -174
- package/dist/src/lib/node.slice.d.ts.map +0 -1
- package/dist/src/lib/node.slice.js +0 -261
- package/dist/src/lib/node.slice.js.map +0 -1
- package/dist/src/lib/node.types.d.ts +0 -119
- package/dist/src/lib/node.types.d.ts.map +0 -1
- package/dist/src/lib/node.types.js +0 -2
- package/dist/src/lib/node.types.js.map +0 -1
- package/dist/src/lib/node.utils.d.ts +0 -4
- package/dist/src/lib/node.utils.d.ts.map +0 -1
- package/dist/src/lib/node.utils.js +0 -32
- package/dist/src/lib/node.utils.js.map +0 -1
- package/dist/src/lib/wellknown.api.d.ts +0 -5
- package/dist/src/lib/wellknown.api.d.ts.map +0 -1
- package/dist/src/lib/wellknown.api.js +0 -22
- package/dist/src/lib/wellknown.api.js.map +0 -1
- package/dist/src/lib/wellknown.types.d.ts +0 -38
- package/dist/src/lib/wellknown.types.d.ts.map +0 -1
- package/dist/src/lib/wellknown.types.js +0 -2
- package/dist/src/lib/wellknown.types.js.map +0 -1
- package/dist/src/types.d.ts +0 -41
- package/dist/src/types.d.ts.map +0 -1
- package/dist/src/types.js +0 -7
- package/dist/src/types.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forgerock/davinci-client",
|
|
3
|
-
"version": "0.0.0-beta-
|
|
3
|
+
"version": "0.0.0-beta-20251124184351",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/ForgeRock/ping-javascript-sdk.git",
|
|
@@ -24,12 +24,13 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@reduxjs/toolkit": "^2.8.2",
|
|
27
|
+
"effect": "^3.17.2",
|
|
27
28
|
"immer": "^10.1.1",
|
|
28
|
-
"@forgerock/sdk-logger": "0.0.0-beta-
|
|
29
|
-
"@forgerock/sdk-
|
|
30
|
-
"@forgerock/
|
|
31
|
-
"@forgerock/
|
|
32
|
-
"@forgerock/sdk-
|
|
29
|
+
"@forgerock/sdk-logger": "0.0.0-beta-20251124184351",
|
|
30
|
+
"@forgerock/sdk-oidc": "0.0.0-beta-20251124184351",
|
|
31
|
+
"@forgerock/sdk-types": "0.0.0-beta-20251124184351",
|
|
32
|
+
"@forgerock/storage": "0.0.0-beta-20251124184351",
|
|
33
|
+
"@forgerock/sdk-request-middleware": "0.0.0-beta-20251124184351"
|
|
33
34
|
},
|
|
34
35
|
"devDependencies": {
|
|
35
36
|
"vitest": "^3.0.4"
|
package/dist/src/index.d.ts
DELETED
package/dist/src/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
package/dist/src/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2025 Ping Identity Corporation. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
* This software may be modified and distributed under the terms
|
|
5
|
-
* of the MIT license. See the LICENSE file for details.
|
|
6
|
-
*/
|
|
7
|
-
import { davinci } from './lib/client.store.js';
|
|
8
|
-
export { davinci };
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
package/dist/src/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1,352 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Import RTK slices and api
|
|
3
|
-
*/
|
|
4
|
-
import { CustomLogger, LogLevel } from '@forgerock/sdk-logger';
|
|
5
|
-
import type { ActionTypes, RequestMiddleware } from '@forgerock/sdk-request-middleware';
|
|
6
|
-
/**
|
|
7
|
-
* Import the DaVinciRequest types
|
|
8
|
-
*/
|
|
9
|
-
import type { DaVinciConfig } from './config.types.js';
|
|
10
|
-
import type { DaVinciAction, DaVinciRequest, OutgoingQueryParams, StartOptions } from './davinci.types.js';
|
|
11
|
-
import type { SingleValueCollectors, MultiSelectCollector, ObjectValueCollectors, AutoCollectors, MultiValueCollectors } from './collector.types.js';
|
|
12
|
-
import type { InitFlow, InternalErrorResponse, NodeStates, Updater, Validator } from './client.types.js';
|
|
13
|
-
import { ContinueNode, StartNode } from './node.types.js';
|
|
14
|
-
/**
|
|
15
|
-
* Create a client function that returns a set of methods
|
|
16
|
-
* to interact with and normalize the DaVinci API.
|
|
17
|
-
*
|
|
18
|
-
* @function davinciClient - returns an "observable" client for DaVinci flows
|
|
19
|
-
* @param {ConfigurationOptions} options - the configuration options for the client
|
|
20
|
-
* @returns {Observable} - an observable client for DaVinci flows
|
|
21
|
-
*/
|
|
22
|
-
export declare function davinci<ActionType extends ActionTypes = ActionTypes>({ config, requestMiddleware, logger, }: {
|
|
23
|
-
config: DaVinciConfig;
|
|
24
|
-
requestMiddleware?: RequestMiddleware<ActionType>[];
|
|
25
|
-
logger?: {
|
|
26
|
-
level: LogLevel;
|
|
27
|
-
custom?: CustomLogger;
|
|
28
|
-
};
|
|
29
|
-
}): Promise<{
|
|
30
|
-
subscribe: (listener: () => void) => import("@reduxjs/toolkit").Unsubscribe;
|
|
31
|
-
/**
|
|
32
|
-
* Social Login Handler
|
|
33
|
-
* Use this as part of an event when clicking on
|
|
34
|
-
* a social login button. Pass in the collector responsible
|
|
35
|
-
* for the social login being started.
|
|
36
|
-
*
|
|
37
|
-
* This method will save the `continueUrl`
|
|
38
|
-
* and then the app developer can use the url
|
|
39
|
-
* from the collector to redirect their application
|
|
40
|
-
*
|
|
41
|
-
* Can return an error when no continue url is found
|
|
42
|
-
* or no authenticate url is found in the collectors
|
|
43
|
-
*
|
|
44
|
-
* @method: externalIdp
|
|
45
|
-
* @param collector IdpCollector
|
|
46
|
-
* @returns {function}
|
|
47
|
-
*/
|
|
48
|
-
externalIdp: () => (() => Promise<void | InternalErrorResponse>);
|
|
49
|
-
/**
|
|
50
|
-
* @method flow - Method for initiating a new flow, different than current flow
|
|
51
|
-
* @param {DaVinciAction} action - the action to initiate the flow
|
|
52
|
-
* @returns {function} - an async function to call the flow
|
|
53
|
-
*/
|
|
54
|
-
flow: (action: DaVinciAction) => InitFlow;
|
|
55
|
-
/**
|
|
56
|
-
* @method next - Method for initiating the next node in the current flow
|
|
57
|
-
* @param {DaVinciRequest} args - the arguments to pass to the next
|
|
58
|
-
* @returns {Promise} - a promise that resolves to the next node
|
|
59
|
-
*/
|
|
60
|
-
next: (args?: DaVinciRequest) => Promise<NodeStates>;
|
|
61
|
-
/**
|
|
62
|
-
* @method: resume - Resume a social login flow when returned to application
|
|
63
|
-
* @returns unknown
|
|
64
|
-
*/
|
|
65
|
-
resume: ({ continueToken, }: {
|
|
66
|
-
continueToken: string;
|
|
67
|
-
}) => Promise<InternalErrorResponse | NodeStates>;
|
|
68
|
-
/**
|
|
69
|
-
* @method start - Method for initiating a DaVinci flow
|
|
70
|
-
* @returns {Promise} - a promise that initiates a DaVinci flow and returns a node
|
|
71
|
-
*/
|
|
72
|
-
start: <QueryParams extends OutgoingQueryParams = OutgoingQueryParams>(options?: StartOptions<QueryParams> | undefined) => Promise<ContinueNode | import("./node.types.js").ErrorNode | import("./node.types.js").FailureNode | StartNode | import("./node.types.js").SuccessNode>;
|
|
73
|
-
/**
|
|
74
|
-
* @method update - Exclusive method for updating the current node with user provided values
|
|
75
|
-
* @param {SingleValueCollector | MultiSelectCollector | ObjectValueCollectors | AutoCollectors} collector - the collector to update
|
|
76
|
-
* @returns {function} - a function to call for updating collector value
|
|
77
|
-
*/
|
|
78
|
-
update: (collector: SingleValueCollectors | MultiSelectCollector | ObjectValueCollectors | AutoCollectors) => Updater;
|
|
79
|
-
/**
|
|
80
|
-
* @method validate - Method for validating the value against validation rules
|
|
81
|
-
* @param {SingleValueCollectors | ObjectValueCollectors | MultiValueCollectors} collector - the collector to validate
|
|
82
|
-
* @returns {function} - a function to call for validating collector value
|
|
83
|
-
* @throws {Error} - if the collector cannot be validated
|
|
84
|
-
*/
|
|
85
|
-
validate: (collector: SingleValueCollectors | ObjectValueCollectors | MultiValueCollectors) => Validator;
|
|
86
|
-
/**
|
|
87
|
-
* @method client - Selector to get the node.client from state
|
|
88
|
-
* @returns {Node.client} - the client property from the current node
|
|
89
|
-
*/
|
|
90
|
-
getClient: () => {
|
|
91
|
-
action: string;
|
|
92
|
-
collectors: import("./node.types.js").Collectors[];
|
|
93
|
-
description?: string;
|
|
94
|
-
name?: string;
|
|
95
|
-
status: "continue";
|
|
96
|
-
} | {
|
|
97
|
-
action: string;
|
|
98
|
-
collectors: import("./node.types.js").Collectors[];
|
|
99
|
-
description?: string;
|
|
100
|
-
name?: string;
|
|
101
|
-
status: "error";
|
|
102
|
-
} | {
|
|
103
|
-
status: "failure";
|
|
104
|
-
} | {
|
|
105
|
-
status: "start";
|
|
106
|
-
} | {
|
|
107
|
-
authorization?: {
|
|
108
|
-
code?: string;
|
|
109
|
-
state?: string;
|
|
110
|
-
};
|
|
111
|
-
status: "success";
|
|
112
|
-
} | null;
|
|
113
|
-
/**
|
|
114
|
-
* @method collectors - Selector to get the collectors from state
|
|
115
|
-
* @returns {Collector[]} - The collectors from the current node in state
|
|
116
|
-
*/
|
|
117
|
-
getCollectors: () => import("./node.types.js").Collectors[];
|
|
118
|
-
getError: () => import("./node.types.js").DaVinciError | null;
|
|
119
|
-
getErrorCollectors: () => import("./node.types.js").CollectorErrors[];
|
|
120
|
-
/**
|
|
121
|
-
* @method node - Selector to get the node from state
|
|
122
|
-
* @returns {Node} - the current node from state
|
|
123
|
-
*/
|
|
124
|
-
getNode: () => ContinueNode | import("./node.types.js").ErrorNode | import("./node.types.js").FailureNode | StartNode | import("./node.types.js").SuccessNode;
|
|
125
|
-
/**
|
|
126
|
-
* @method server - Selector to get the node.server from state
|
|
127
|
-
* @returns {Node.server} - the server property from the current node
|
|
128
|
-
*/
|
|
129
|
-
getServer: () => {
|
|
130
|
-
_links?: import("./davinci.types.js").Links;
|
|
131
|
-
id?: string;
|
|
132
|
-
interactionId?: string;
|
|
133
|
-
interactionToken?: string;
|
|
134
|
-
href?: string;
|
|
135
|
-
eventName?: string;
|
|
136
|
-
status: "continue";
|
|
137
|
-
} | {
|
|
138
|
-
_links?: import("./davinci.types.js").Links;
|
|
139
|
-
eventName?: string;
|
|
140
|
-
id?: string;
|
|
141
|
-
interactionId?: string;
|
|
142
|
-
interactionToken?: string;
|
|
143
|
-
status: "error";
|
|
144
|
-
} | {
|
|
145
|
-
_links?: import("./davinci.types.js").Links;
|
|
146
|
-
eventName?: string;
|
|
147
|
-
href?: string;
|
|
148
|
-
id?: string;
|
|
149
|
-
interactionId?: string;
|
|
150
|
-
interactionToken?: string;
|
|
151
|
-
status: "failure";
|
|
152
|
-
} | {
|
|
153
|
-
status: "start";
|
|
154
|
-
} | {
|
|
155
|
-
_links?: import("./davinci.types.js").Links;
|
|
156
|
-
eventName?: string;
|
|
157
|
-
id?: string;
|
|
158
|
-
interactionId?: string;
|
|
159
|
-
interactionToken?: string;
|
|
160
|
-
href?: string;
|
|
161
|
-
session?: string;
|
|
162
|
-
status: "success";
|
|
163
|
-
} | null;
|
|
164
|
-
/**
|
|
165
|
-
* Utilities to help query cached responses from server
|
|
166
|
-
*/
|
|
167
|
-
cache: {
|
|
168
|
-
getLatestResponse: () => ((state: import("@reduxjs/toolkit/query").RootState<{
|
|
169
|
-
flow: import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, unknown, "davinci", any>;
|
|
170
|
-
next: import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, unknown, "davinci", any>;
|
|
171
|
-
start: import("@reduxjs/toolkit/query").MutationDefinition<StartOptions<OutgoingQueryParams> | undefined, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, unknown, "davinci", unknown>;
|
|
172
|
-
resume: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
173
|
-
serverInfo: ContinueNode["server"];
|
|
174
|
-
continueToken: string;
|
|
175
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, unknown, "davinci", unknown>;
|
|
176
|
-
}, never, "davinci">) => ({
|
|
177
|
-
requestId?: undefined;
|
|
178
|
-
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
179
|
-
data?: undefined;
|
|
180
|
-
error?: undefined;
|
|
181
|
-
endpointName?: string;
|
|
182
|
-
startedTimeStamp?: undefined;
|
|
183
|
-
fulfilledTimeStamp?: undefined;
|
|
184
|
-
} & {
|
|
185
|
-
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
186
|
-
isUninitialized: true;
|
|
187
|
-
isLoading: false;
|
|
188
|
-
isSuccess: false;
|
|
189
|
-
isError: false;
|
|
190
|
-
}) | ({
|
|
191
|
-
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
192
|
-
} & Omit<{
|
|
193
|
-
requestId: string;
|
|
194
|
-
data?: unknown;
|
|
195
|
-
error?: import("@reduxjs/toolkit").SerializedError | import("@reduxjs/toolkit/query").FetchBaseQueryError | undefined;
|
|
196
|
-
endpointName: string;
|
|
197
|
-
startedTimeStamp: number;
|
|
198
|
-
fulfilledTimeStamp?: number;
|
|
199
|
-
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
200
|
-
requestId: string;
|
|
201
|
-
data?: unknown;
|
|
202
|
-
error?: import("@reduxjs/toolkit").SerializedError | import("@reduxjs/toolkit/query").FetchBaseQueryError | undefined;
|
|
203
|
-
endpointName: string;
|
|
204
|
-
startedTimeStamp: number;
|
|
205
|
-
fulfilledTimeStamp?: number;
|
|
206
|
-
}, "data" | "fulfilledTimeStamp">> & {
|
|
207
|
-
error: undefined;
|
|
208
|
-
} & {
|
|
209
|
-
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
210
|
-
isUninitialized: false;
|
|
211
|
-
isLoading: false;
|
|
212
|
-
isSuccess: true;
|
|
213
|
-
isError: false;
|
|
214
|
-
}) | ({
|
|
215
|
-
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
216
|
-
} & {
|
|
217
|
-
requestId: string;
|
|
218
|
-
data?: unknown;
|
|
219
|
-
error?: import("@reduxjs/toolkit").SerializedError | import("@reduxjs/toolkit/query").FetchBaseQueryError | undefined;
|
|
220
|
-
endpointName: string;
|
|
221
|
-
startedTimeStamp: number;
|
|
222
|
-
fulfilledTimeStamp?: number;
|
|
223
|
-
} & {
|
|
224
|
-
data?: undefined;
|
|
225
|
-
} & {
|
|
226
|
-
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
227
|
-
isUninitialized: false;
|
|
228
|
-
isLoading: true;
|
|
229
|
-
isSuccess: false;
|
|
230
|
-
isError: false;
|
|
231
|
-
}) | ({
|
|
232
|
-
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
233
|
-
} & Omit<{
|
|
234
|
-
requestId: string;
|
|
235
|
-
data?: unknown;
|
|
236
|
-
error?: import("@reduxjs/toolkit").SerializedError | import("@reduxjs/toolkit/query").FetchBaseQueryError | undefined;
|
|
237
|
-
endpointName: string;
|
|
238
|
-
startedTimeStamp: number;
|
|
239
|
-
fulfilledTimeStamp?: number;
|
|
240
|
-
}, "error"> & Required<Pick<{
|
|
241
|
-
requestId: string;
|
|
242
|
-
data?: unknown;
|
|
243
|
-
error?: import("@reduxjs/toolkit").SerializedError | import("@reduxjs/toolkit/query").FetchBaseQueryError | undefined;
|
|
244
|
-
endpointName: string;
|
|
245
|
-
startedTimeStamp: number;
|
|
246
|
-
fulfilledTimeStamp?: number;
|
|
247
|
-
}, "error">> & {
|
|
248
|
-
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
249
|
-
isUninitialized: false;
|
|
250
|
-
isLoading: false;
|
|
251
|
-
isSuccess: false;
|
|
252
|
-
isError: true;
|
|
253
|
-
})) | {
|
|
254
|
-
error: {
|
|
255
|
-
message: string;
|
|
256
|
-
type: string;
|
|
257
|
-
};
|
|
258
|
-
};
|
|
259
|
-
getResponseWithId: (requestId: string) => ((state: import("@reduxjs/toolkit/query").RootState<{
|
|
260
|
-
flow: import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, unknown, "davinci", any>;
|
|
261
|
-
next: import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, unknown, "davinci", any>;
|
|
262
|
-
start: import("@reduxjs/toolkit/query").MutationDefinition<StartOptions<OutgoingQueryParams> | undefined, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, unknown, "davinci", unknown>;
|
|
263
|
-
resume: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
264
|
-
serverInfo: ContinueNode["server"];
|
|
265
|
-
continueToken: string;
|
|
266
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, unknown, "davinci", unknown>;
|
|
267
|
-
}, never, "davinci">) => ({
|
|
268
|
-
requestId?: undefined;
|
|
269
|
-
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
270
|
-
data?: undefined;
|
|
271
|
-
error?: undefined;
|
|
272
|
-
endpointName?: string;
|
|
273
|
-
startedTimeStamp?: undefined;
|
|
274
|
-
fulfilledTimeStamp?: undefined;
|
|
275
|
-
} & {
|
|
276
|
-
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
277
|
-
isUninitialized: true;
|
|
278
|
-
isLoading: false;
|
|
279
|
-
isSuccess: false;
|
|
280
|
-
isError: false;
|
|
281
|
-
}) | ({
|
|
282
|
-
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
283
|
-
} & Omit<{
|
|
284
|
-
requestId: string;
|
|
285
|
-
data?: unknown;
|
|
286
|
-
error?: import("@reduxjs/toolkit").SerializedError | import("@reduxjs/toolkit/query").FetchBaseQueryError | undefined;
|
|
287
|
-
endpointName: string;
|
|
288
|
-
startedTimeStamp: number;
|
|
289
|
-
fulfilledTimeStamp?: number;
|
|
290
|
-
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
291
|
-
requestId: string;
|
|
292
|
-
data?: unknown;
|
|
293
|
-
error?: import("@reduxjs/toolkit").SerializedError | import("@reduxjs/toolkit/query").FetchBaseQueryError | undefined;
|
|
294
|
-
endpointName: string;
|
|
295
|
-
startedTimeStamp: number;
|
|
296
|
-
fulfilledTimeStamp?: number;
|
|
297
|
-
}, "data" | "fulfilledTimeStamp">> & {
|
|
298
|
-
error: undefined;
|
|
299
|
-
} & {
|
|
300
|
-
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
301
|
-
isUninitialized: false;
|
|
302
|
-
isLoading: false;
|
|
303
|
-
isSuccess: true;
|
|
304
|
-
isError: false;
|
|
305
|
-
}) | ({
|
|
306
|
-
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
307
|
-
} & {
|
|
308
|
-
requestId: string;
|
|
309
|
-
data?: unknown;
|
|
310
|
-
error?: import("@reduxjs/toolkit").SerializedError | import("@reduxjs/toolkit/query").FetchBaseQueryError | undefined;
|
|
311
|
-
endpointName: string;
|
|
312
|
-
startedTimeStamp: number;
|
|
313
|
-
fulfilledTimeStamp?: number;
|
|
314
|
-
} & {
|
|
315
|
-
data?: undefined;
|
|
316
|
-
} & {
|
|
317
|
-
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
318
|
-
isUninitialized: false;
|
|
319
|
-
isLoading: true;
|
|
320
|
-
isSuccess: false;
|
|
321
|
-
isError: false;
|
|
322
|
-
}) | ({
|
|
323
|
-
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
324
|
-
} & Omit<{
|
|
325
|
-
requestId: string;
|
|
326
|
-
data?: unknown;
|
|
327
|
-
error?: import("@reduxjs/toolkit").SerializedError | import("@reduxjs/toolkit/query").FetchBaseQueryError | undefined;
|
|
328
|
-
endpointName: string;
|
|
329
|
-
startedTimeStamp: number;
|
|
330
|
-
fulfilledTimeStamp?: number;
|
|
331
|
-
}, "error"> & Required<Pick<{
|
|
332
|
-
requestId: string;
|
|
333
|
-
data?: unknown;
|
|
334
|
-
error?: import("@reduxjs/toolkit").SerializedError | import("@reduxjs/toolkit/query").FetchBaseQueryError | undefined;
|
|
335
|
-
endpointName: string;
|
|
336
|
-
startedTimeStamp: number;
|
|
337
|
-
fulfilledTimeStamp?: number;
|
|
338
|
-
}, "error">> & {
|
|
339
|
-
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
340
|
-
isUninitialized: false;
|
|
341
|
-
isLoading: false;
|
|
342
|
-
isSuccess: false;
|
|
343
|
-
isError: true;
|
|
344
|
-
})) | {
|
|
345
|
-
error: {
|
|
346
|
-
message: string;
|
|
347
|
-
type: string;
|
|
348
|
-
};
|
|
349
|
-
};
|
|
350
|
-
};
|
|
351
|
-
}>;
|
|
352
|
-
//# sourceMappingURL=client.store.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.store.d.ts","sourceRoot":"","sources":["../../../src/lib/client.store.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAsB,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AASnF,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACxF;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,YAAY,EACb,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EACV,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EAErB,cAAc,EACd,oBAAoB,EACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EACV,QAAQ,EACR,qBAAqB,EACrB,UAAU,EACV,OAAO,EACP,SAAS,EACV,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE1D;;;;;;;GAOG;AACH,wBAAsB,OAAO,CAAC,UAAU,SAAS,WAAW,GAAG,WAAW,EAAE,EAC1E,MAAM,EACN,iBAAiB,EACjB,MAAM,GACP,EAAE;IACD,MAAM,EAAE,aAAa,CAAC;IACtB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC,UAAU,CAAC,EAAE,CAAC;IACpD,MAAM,CAAC,EAAE;QACP,KAAK,EAAE,QAAQ,CAAC;QAChB,MAAM,CAAC,EAAE,YAAY,CAAC;KACvB,CAAC;CACH;;IAqCG;;;;;;;;;;;;;;;;OAgBG;uBACc,CAAC,MAAM,OAAO,CAAC,IAAI,GAAG,qBAAqB,CAAC,CAAC;IAoB9D;;;;OAIG;mBACY,aAAa,KAAG,QAAQ;IAkBvC;;;;OAIG;kBACiB,cAAc,KAAG,OAAO,CAAC,UAAU,CAAC;IAkBxD;;;OAGG;iCAGA;QACD,aAAa,EAAE,MAAM,CAAC;KACvB,KAAG,OAAO,CAAC,qBAAqB,GAAG,UAAU,CAAC;IAwB/C;;;OAGG;YACW,WAAW,SAAS,mBAAmB,kCACzC,YAAY,CAAC,WAAW,CAAC,GAAG,SAAS;IAMjD;;;;OAIG;wBAGG,qBAAqB,GACrB,oBAAoB,GACpB,qBAAqB,GACrB,cAAc,KACjB,OAAO;IAmDV;;;;;OAKG;0BAEU,qBAAqB,GAAG,qBAAqB,GAAG,oBAAoB,KAC9E,SAAS;IA8CZ;;;OAGG;;;;;;;;;;;;;;;;;;;gBA/PkB,CAAC;iBAExB,CAAD;;;;IAgQG;;;OAGG;;;;IAgCH;;;OAGG;;IAKH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCAgB8B,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAc1C"}
|