@datawheel/bespoke 0.7.3-rc.1 → 0.8.0-rc.1

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.
@@ -1,915 +0,0 @@
1
- import * as react from 'react';
2
- import * as next_app from 'next/app';
3
- import * as next from 'next';
4
- import * as querystring from 'querystring';
5
- import * as next_redux_wrapper from 'next-redux-wrapper';
6
- import { Context } from 'next-redux-wrapper';
7
- import * as _reduxjs_toolkit_dist_configureStore from '@reduxjs/toolkit/dist/configureStore';
8
- import * as _reduxjs_toolkit from '@reduxjs/toolkit';
9
- import { ThunkAction, Action as Action$1 } from '@reduxjs/toolkit';
10
- import { t as SearchAttributes, u as SearchContentAttributes, v as ReportAttributes, w as DimensionAttributes, x as VariantAttributes, y as SearchContentModel, I as ImageModel, R as ReportsDB, h as SearchReportParams, a as Result, i as SearchReportResponse, j as ReadMetadataParams, k as ReadMetadataResponse, l as SearchUsersParams, U as UpdateUserParams, m as UpdateMyDataParams, r as RevalidateReportRequest, s as RevalidateReportResponse, p as RevalidateUrlRequest, q as RevalidateUrlResponse, z as InternalReadPrivateBlocksParams, o as ReadPrivateBlocksResponse, C as CreateMethod, B as DeleteMethod, E as ReadMethod, G as UpdateMethod, H as CreateBulkMethod, J as UpdateBulkMethod, K as UpdateMemberParams, L as UpdateMemberResponse, d as AnyNestedReport, M as NormalizedEntityMap, O as NestedEntityMap } from './types-76133c94.js';
11
- import { a as BespokeRole, B as BespokeUserProfile } from './auth-693a652d.js';
12
-
13
- interface ReadMemberImageParams {
14
- member: number;
15
- size?: "thumb" | "splash";
16
- }
17
- type ReadMemberImageResponse = Buffer | Blob;
18
-
19
- interface SearchMemberParams {
20
- /**
21
- * The query string to search members for.
22
- * If requesting an empty string (`""`), will return the top most ranked
23
- * members per profile, up to the amount defined by the `limit` parameter.
24
- */
25
- query: string;
26
- locale: string;
27
- /**
28
- * User's preferred locale, used for indexing search if its set to "all"
29
- */
30
- preferredLocale?: string;
31
- /**
32
- * Determines the max amount of search results to retrive.
33
- */
34
- limit: number;
35
- /**
36
- * Determines if the search will be limited to all profiles,
37
- * or only to non-hidden ones.
38
- */
39
- visible: boolean;
40
- /**
41
- * Determines if each search result will include their parent entities as
42
- * properties.
43
- */
44
- includes: boolean;
45
- /**
46
- * Determines if returning the info for the associated image to the member.
47
- */
48
- noImage: boolean;
49
- format: "nested" | "plain";
50
- /**
51
- * Determines if the resulting set belongs to the specified set of variants.
52
- * Leave empty to search across all variants in the database.
53
- */
54
- variant: number[];
55
- /**
56
- * Determines if the resulting set belongs to the specified set of dimensions.
57
- * Leave empty to search across all dimensions in the database.
58
- */
59
- dimension: number[];
60
- /**
61
- * Determines if the resulting set belongs to the specified set of reports.
62
- * Leave empty to search across all reports in the database.
63
- */
64
- report: number[];
65
- /**
66
- * Determines if the search will be performed on all locales.
67
- * TODO: fuse with `locale` parameter
68
- */
69
- all?: boolean;
70
- sort?: string;
71
- direction?: string;
72
- offset?: number;
73
- }
74
- interface SearchMemberResponse {
75
- meta: {
76
- origin: string;
77
- } & {
78
- [K in keyof SearchMemberParams]?: string;
79
- } & {
80
- variantCount?: Record<number, number>;
81
- };
82
- results: SearchMemberResult[];
83
- }
84
- interface SearchMemberResult extends SearchAttributes {
85
- locale?: SearchContentAttributes["locale"];
86
- name?: SearchContentAttributes["name"];
87
- attributes?: SearchContentAttributes["attributes"];
88
- keywords?: SearchContentAttributes["keywords"];
89
- contentByLocale?: SearchContentAttributes["contentByLocale"];
90
- score?: number;
91
- contentId?: number;
92
- report?: ReportAttributes;
93
- dimension?: DimensionAttributes;
94
- variant?: VariantAttributes;
95
- }
96
-
97
- interface ReadMembersIdsParams {
98
- /** Perform the members search by original ID. */
99
- mode: "ids";
100
- ids: string[];
101
- /** Determines if the search will retrieve Content variants for all locales, of just for the specified. */
102
- all?: boolean;
103
- /** Specifies the Content locale to retrieve. */
104
- locale: string;
105
- /** Filter by variant */
106
- variant?: number[];
107
- /** Output size */
108
- output: "full" | "lite";
109
- }
110
- interface ReadMembersSlugsParams {
111
- /** Perform the members search by associated slugs. */
112
- mode: "slugs";
113
- slugs: {
114
- variantSlug: string;
115
- memberSlug: string;
116
- }[];
117
- /** Determines if the search will retrieve Content variants for all locales, of just for the specified. */
118
- all?: boolean;
119
- /** Specifies the Content locale to retrieve. */
120
- locale: string;
121
- /** Filter by variant */
122
- variant?: number[];
123
- /** Output size */
124
- output: "full" | "lite";
125
- }
126
- interface ReadMembersContentParams {
127
- /** Perform the members search by internal content id. */
128
- mode: "content_ids";
129
- content_ids: number[];
130
- /** Determines if the search will retrieve Content variants for all locales, of just for the specified. */
131
- all?: boolean;
132
- /** Specifies the Content locale to retrieve. */
133
- locale: string;
134
- /** Filter by variant */
135
- variant?: number[];
136
- /** Output size */
137
- output: "full" | "lite";
138
- }
139
- interface ReadMembersRelatedParams {
140
- /** Perform the members search randomly by report, dimension or variant id */
141
- mode: "related";
142
- /** Optional. Defines the report_id by which to generate the random results */
143
- report_ids?: number[];
144
- /** Optional. Defines the dimension_id by which to generate the random results */
145
- dimension_ids?: number[];
146
- /** Optional. Defines the variant_id by which to generate the random results */
147
- variant_ids?: number[];
148
- /** Specifies the limit of results to randomly generate */
149
- related?: number;
150
- /** Determines if the search will retrieve Content variants for all locales, of just for the specified. */
151
- all?: boolean;
152
- /** Specifies the Content locale to retrieve. */
153
- locale: string;
154
- /** List of the current content_ids used in the report. */
155
- current_ids: number[];
156
- /** Filter by variant */
157
- variant?: number[];
158
- /** Output size */
159
- output: "full" | "lite";
160
- }
161
- interface ReadMembersWholeParams {
162
- /** Retrieve all members by report, dimension or variant id */
163
- mode: "whole";
164
- /** Optional. Filter the reports */
165
- report_ids?: number[];
166
- /** Optional. Defines the dimension_id by which to generate the random results */
167
- dimension_ids?: number[];
168
- /** Optional. Defines the variant_id by which to generate the random results */
169
- variant_ids?: number[];
170
- /** Specifies the limit of results to randomly generate */
171
- all?: boolean;
172
- /** Specifies the Content locale to retrieve. */
173
- locale: string;
174
- /** Filter by variant */
175
- variant?: number[];
176
- /** Output size */
177
- output: "full" | "lite";
178
- }
179
- type ReadMembersParams = ReadMembersContentParams | ReadMembersIdsParams | ReadMembersSlugsParams | ReadMembersRelatedParams | ReadMembersWholeParams;
180
- interface ReadMembersGeneralResult {
181
- id: string;
182
- slug: string;
183
- visible: boolean;
184
- zvalue: number;
185
- content_id: number;
186
- report_id: number;
187
- report_name: string;
188
- dimension_id: number;
189
- dimension_name: string;
190
- variant_id: number;
191
- variant_name: string;
192
- variant_slug: string;
193
- contentByLocale?: SearchContentModel[];
194
- image?: ImageModel;
195
- image_id?: number;
196
- name?: string;
197
- }
198
- interface ReadMembersLocaleResult extends ReadMembersGeneralResult {
199
- locale: string;
200
- name: string;
201
- attributes: Record<string, string>;
202
- keywords: any;
203
- image_id?: number;
204
- image?: any;
205
- }
206
- type ReadMembersResult = ReadMembersGeneralResult | ReadMembersLocaleResult;
207
- interface ReadMembersResponse {
208
- meta: ReadMembersParams;
209
- results: ReadMembersResult[];
210
- }
211
-
212
- interface ValidateVariantSlugParams {
213
- dimension: number;
214
- slug: string;
215
- }
216
- interface ValidateVariantSlugResponse {
217
- valid: boolean;
218
- dimension_id: number;
219
- candidate: string;
220
- suggestion: string;
221
- }
222
-
223
- interface ListIconsResponse {
224
- meta: {
225
- [key: string]: string;
226
- };
227
- results: string[];
228
- }
229
-
230
- interface ReadIconParams {
231
- provider: string;
232
- name: string;
233
- }
234
- interface ReadIconResponse {
235
- }
236
-
237
- interface ImageSearchParams {
238
- prompt: string;
239
- page: number;
240
- }
241
- interface ImageSearchResponse {
242
- meta: {
243
- [key: string]: string;
244
- };
245
- results: {
246
- id: number;
247
- source: string;
248
- }[];
249
- }
250
-
251
- interface ImageSaveParams {
252
- content_id: number;
253
- image_id: number;
254
- image_source?: string;
255
- files?: Record<string, any>;
256
- prompt?: string;
257
- }
258
- interface ImageSaveResponse {
259
- meta: Record<string, string | number>;
260
- results: any;
261
- }
262
-
263
- interface RegenerateSearchResponse {
264
- error: boolean;
265
- }
266
-
267
- type PublicAPI = ReturnType<typeof apiFactory>;
268
- declare function useDatabaseApi(_: any, __: any, api: any): any;
269
- declare function apiFactory(dbModels: ReportsDB): {
270
- searchReport: (param: SearchReportParams) => Promise<Result<SearchReportResponse, string>>;
271
- readMetadata: (param: ReadMetadataParams | undefined) => Promise<Result<ReadMetadataResponse, string>>;
272
- regenerateSearch: (param: unknown) => Promise<Result<RegenerateSearchResponse, string>>;
273
- imageFlickrSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
274
- imageLocalSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
275
- imageUnsplashSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
276
- imageAdobeSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
277
- imageFlickrSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
278
- imageLocalSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
279
- imageUnsplashSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
280
- imageUploadSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
281
- imageAdobeSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
282
- urlProxy: (request: string | {
283
- url: string;
284
- method?: "GET" | "POST" | undefined;
285
- timeout?: number | undefined;
286
- }) => Promise<Result<any, string>>;
287
- searchRole: (param: unknown) => Promise<Result<{
288
- roles: BespokeRole[];
289
- }, string>>;
290
- searchUser: (param: SearchUsersParams) => Promise<Result<BespokeUserProfile[], string>>;
291
- readUser: (param: any) => Promise<Result<BespokeUserProfile, string>>;
292
- updateUser: (param: UpdateUserParams) => Promise<Result<Record<string, string>, string>>;
293
- updateMyData: (param: UpdateMyDataParams) => Promise<Result<string, string>>;
294
- revalidateReport: (param: RevalidateReportRequest) => Promise<Result<RevalidateReportResponse, string>>;
295
- revalidateUrl: (param: RevalidateUrlRequest) => Promise<Result<RevalidateUrlResponse, string>>;
296
- readPrivateBlocks: (param: InternalReadPrivateBlocksParams) => Promise<Result<ReadPrivateBlocksResponse, string>>;
297
- listTablerIcons: (param: unknown) => Promise<Result<ListIconsResponse, string>>;
298
- readTablerIcon: (param: ReadIconParams) => Promise<Result<ReadIconResponse, string>>;
299
- createFormatter: CreateMethod<"formatter">;
300
- deleteFormatter: DeleteMethod;
301
- readFormatter: ReadMethod<"formatter">;
302
- updateFormatter: UpdateMethod<"formatter">;
303
- createReport: CreateMethod<"report">;
304
- deleteReport: DeleteMethod;
305
- readReport: ReadMethod<"report">;
306
- updateReport: UpdateMethod<"report">;
307
- createDimension: CreateMethod<"dimension">;
308
- deleteDimension: DeleteMethod;
309
- readDimension: ReadMethod<"dimension">;
310
- updateDimension: UpdateMethod<"dimension">;
311
- createVariant: CreateMethod<"variant">;
312
- readVariant: ReadMethod<"variant">;
313
- updateVariant: UpdateMethod<"variant">;
314
- deleteVariant: DeleteMethod;
315
- validateVariantSlug: (param: ValidateVariantSlugParams) => Promise<Result<ValidateVariantSlugResponse, string>>;
316
- createSection: CreateMethod<"section">;
317
- readSection: ReadMethod<"section">;
318
- updateSection: UpdateMethod<"section">;
319
- deleteSection: DeleteMethod;
320
- createBlock: CreateMethod<"block">;
321
- deleteBlock: DeleteMethod;
322
- readBlock: ReadMethod<"block">;
323
- updateBlock: UpdateMethod<"block">;
324
- createBulkBlock: CreateBulkMethod<"block">;
325
- updateBulkBlock: UpdateBulkMethod<"block">;
326
- readMember: (param: ReadMembersParams) => Promise<Result<ReadMembersResponse, string>>;
327
- searchMember: (param: SearchMemberParams) => Promise<Result<SearchMemberResponse, string>>;
328
- updateMember: (param: UpdateMemberParams) => Promise<Result<UpdateMemberResponse, string>>;
329
- readMemberImage: (param: ReadMemberImageParams) => Promise<Result<ReadMemberImageResponse, string>>;
330
- };
331
-
332
- /**
333
- * An *action* is a plain object that represents an intention to change the
334
- * state. Actions are the only way to get data into the store. Any data,
335
- * whether from UI events, network callbacks, or other sources such as
336
- * WebSockets needs to eventually be dispatched as actions.
337
- *
338
- * Actions must have a `type` field that indicates the type of action being
339
- * performed. Types can be defined as constants and imported from another
340
- * module. It's better to use strings for `type` than Symbols because strings
341
- * are serializable.
342
- *
343
- * Other than `type`, the structure of an action object is really up to you.
344
- * If you're interested, check out Flux Standard Action for recommendations on
345
- * how actions should be constructed.
346
- *
347
- * @template T the type of the action's `type` tag.
348
- */
349
- interface Action<T = any> {
350
- type: T
351
- }
352
-
353
- /**
354
- * An Action type which accepts any other properties.
355
- * This is mainly for the use of the `Reducer` type.
356
- * This is not part of `Action` itself to prevent types that extend `Action` from
357
- * having an index signature.
358
- */
359
- interface AnyAction extends Action {
360
- // Allows any extra properties to be defined in an action.
361
- [extraProps: string]: any
362
- }
363
-
364
- declare global {
365
- interface SymbolConstructor {
366
- readonly observable: symbol
367
- }
368
- }
369
-
370
- type VariablesState = {
371
- attributes: Record<string, any>;
372
- variables: Record<string, any>;
373
- status: Record<string, any>;
374
- };
375
-
376
- type ActiveEntityType = {
377
- type: "report" | "section" | "block" | null;
378
- id: number | null;
379
- };
380
- type StatusState = {
381
- localeDefault: string;
382
- locales: string[];
383
- currentLocale: string;
384
- preferredLocale: string;
385
- showToolbar: boolean;
386
- activeSection: number | null;
387
- /**
388
- * Defines the members of the current working variant to be used in
389
- * calculating previews for content.
390
- */
391
- previews: ReadMembersResult[];
392
- /**
393
- * Defines a map of parameters to hydrate internal state in blocks.
394
- */
395
- query: Record<string, string>;
396
- /**
397
- * Defines a map between section ID and its internal state.
398
- */
399
- sectionState: Record<number, Record<string, any>>;
400
- /**
401
- * Defines active entity in the editor
402
- */
403
- activeEntity: ActiveEntityType;
404
- sidebarStatus: {
405
- tools: boolean;
406
- settings: boolean;
407
- reportEditor: boolean;
408
- };
409
- /**
410
- * A flag to indicate if the state was initialized in the CMS, default false which means renderer.
411
- */
412
- isCMS: boolean;
413
- };
414
-
415
- type RecordsKey = "block" | "dimension" | "report" | "section" | "variant" | "formatter";
416
- type RecordsState = {
417
- tree: AnyNestedReport[];
418
- reports: number[] | null;
419
- entities: {
420
- [K in RecordsKey]: Record<number, NormalizedEntityMap[K]>;
421
- };
422
- requests: {
423
- [K in RecordsKey]: Record<string, EntityRequest<K, unknown>>;
424
- };
425
- };
426
- declare enum FetchStatus {
427
- UNINITIALIZED = "UNINITIALIZED",
428
- LOADING = "LOADING",
429
- SUCCESS = "SUCCESS",
430
- FAILURE = "FAILURE",
431
- FETCHING = "FETCHING"
432
- }
433
- type EntityRequest<T extends RecordsKey, D = NestedEntityMap[T][]> = {
434
- key: string;
435
- type: T;
436
- operation?: string;
437
- status: FetchStatus.UNINITIALIZED | FetchStatus.LOADING | FetchStatus.FETCHING;
438
- } | {
439
- key: string;
440
- type: T;
441
- operation?: string;
442
- status: FetchStatus.SUCCESS;
443
- data: D;
444
- } | {
445
- key: string;
446
- type: T;
447
- operation?: string;
448
- status: FetchStatus.FAILURE;
449
- error: {
450
- code: number;
451
- message: string;
452
- };
453
- };
454
-
455
- declare const storeFactory: (_context: Context) => _reduxjs_toolkit_dist_configureStore.ToolkitStore<{
456
- records: RecordsState;
457
- status: StatusState;
458
- variables: VariablesState;
459
- }, AnyAction, _reduxjs_toolkit.MiddlewareArray<[_reduxjs_toolkit.ThunkMiddleware<{
460
- records: RecordsState;
461
- status: StatusState;
462
- variables: VariablesState;
463
- }, AnyAction, {
464
- searchReport: (param: SearchReportParams) => Promise<Result<SearchReportResponse, string>>;
465
- readMetadata: (param: ReadMetadataParams | undefined) => Promise<Result<ReadMetadataResponse, string>>;
466
- regenerateSearch: (param: unknown) => Promise<Result<RegenerateSearchResponse, string>>;
467
- imageFlickrSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
468
- imageLocalSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
469
- imageUnsplashSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
470
- imageAdobeSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
471
- imageFlickrSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
472
- imageLocalSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
473
- imageUnsplashSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
474
- imageUploadSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
475
- imageAdobeSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
476
- urlProxy: (request: string | {
477
- url: string;
478
- method?: "GET" | "POST" | undefined;
479
- timeout?: number | undefined;
480
- }) => Promise<Result<any, string>>;
481
- searchRole: (param: unknown) => Promise<Result<{
482
- roles: BespokeRole[];
483
- }, string>>;
484
- searchUser: (param: SearchUsersParams) => Promise<Result<BespokeUserProfile[], string>>;
485
- readUser: (param: any) => Promise<Result<BespokeUserProfile, string>>;
486
- updateUser: (param: UpdateUserParams) => Promise<Result<Record<string, string>, string>>;
487
- updateMyData: (param: UpdateMyDataParams) => Promise<Result<string, string>>;
488
- revalidateReport: (param: RevalidateReportRequest) => Promise<Result<RevalidateReportResponse, string>>;
489
- revalidateUrl: (param: RevalidateUrlRequest) => Promise<Result<RevalidateUrlResponse, string>>;
490
- readPrivateBlocks: (param: InternalReadPrivateBlocksParams) => Promise<Result<ReadPrivateBlocksResponse, string>>;
491
- listTablerIcons: (param: unknown) => Promise<Result<ListIconsResponse, string>>;
492
- readTablerIcon: (param: ReadIconParams) => Promise<Result<ReadIconResponse, string>>;
493
- createFormatter: CreateMethod<"formatter">;
494
- deleteFormatter: DeleteMethod;
495
- readFormatter: ReadMethod<"formatter">;
496
- updateFormatter: UpdateMethod<"formatter">;
497
- createReport: CreateMethod<"report">;
498
- deleteReport: DeleteMethod;
499
- readReport: ReadMethod<"report">;
500
- updateReport: UpdateMethod<"report">;
501
- createDimension: CreateMethod<"dimension">;
502
- deleteDimension: DeleteMethod;
503
- readDimension: ReadMethod<"dimension">;
504
- updateDimension: UpdateMethod<"dimension">;
505
- createVariant: CreateMethod<"variant">;
506
- readVariant: ReadMethod<"variant">;
507
- updateVariant: UpdateMethod<"variant">;
508
- deleteVariant: DeleteMethod;
509
- validateVariantSlug: (param: ValidateVariantSlugParams) => Promise<Result<ValidateVariantSlugResponse, string>>;
510
- createSection: CreateMethod<"section">;
511
- readSection: ReadMethod<"section">;
512
- updateSection: UpdateMethod<"section">;
513
- deleteSection: DeleteMethod;
514
- createBlock: CreateMethod<"block">;
515
- deleteBlock: DeleteMethod;
516
- readBlock: ReadMethod<"block">;
517
- updateBlock: UpdateMethod<"block">;
518
- createBulkBlock: CreateBulkMethod<"block">;
519
- updateBulkBlock: UpdateBulkMethod<"block">;
520
- readMember: (param: ReadMembersParams) => Promise<Result<ReadMembersResponse, string>>;
521
- searchMember: (param: SearchMemberParams) => Promise<Result<SearchMemberResponse, string>>;
522
- updateMember: (param: UpdateMemberParams) => Promise<Result<UpdateMemberResponse, string>>;
523
- readMemberImage: (param: ReadMemberImageParams) => Promise<Result<ReadMemberImageResponse, string>>;
524
- }>]>>;
525
- declare const storeWrapper: {
526
- getServerSideProps: <P extends {} = any>(callback: next_redux_wrapper.GetServerSidePropsCallback<_reduxjs_toolkit_dist_configureStore.ToolkitStore<{
527
- records: RecordsState;
528
- status: StatusState;
529
- variables: VariablesState;
530
- }, AnyAction, _reduxjs_toolkit.MiddlewareArray<[_reduxjs_toolkit.ThunkMiddleware<{
531
- records: RecordsState;
532
- status: StatusState;
533
- variables: VariablesState;
534
- }, AnyAction, {
535
- searchReport: (param: SearchReportParams) => Promise<Result<SearchReportResponse, string>>;
536
- readMetadata: (param: ReadMetadataParams | undefined) => Promise<Result<ReadMetadataResponse, string>>;
537
- regenerateSearch: (param: unknown) => Promise<Result<RegenerateSearchResponse, string>>;
538
- imageFlickrSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
539
- imageLocalSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
540
- imageUnsplashSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
541
- imageAdobeSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
542
- imageFlickrSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
543
- imageLocalSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
544
- imageUnsplashSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
545
- imageUploadSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
546
- imageAdobeSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
547
- urlProxy: (request: string | {
548
- url: string;
549
- method?: "GET" | "POST" | undefined;
550
- timeout?: number | undefined;
551
- }) => Promise<Result<any, string>>;
552
- searchRole: (param: unknown) => Promise<Result<{
553
- roles: BespokeRole[];
554
- }, string>>;
555
- searchUser: (param: SearchUsersParams) => Promise<Result<BespokeUserProfile[], string>>;
556
- readUser: (param: any) => Promise<Result<BespokeUserProfile, string>>;
557
- updateUser: (param: UpdateUserParams) => Promise<Result<Record<string, string>, string>>;
558
- updateMyData: (param: UpdateMyDataParams) => Promise<Result<string, string>>;
559
- revalidateReport: (param: RevalidateReportRequest) => Promise<Result<RevalidateReportResponse, string>>;
560
- revalidateUrl: (param: RevalidateUrlRequest) => Promise<Result<RevalidateUrlResponse, string>>;
561
- readPrivateBlocks: (param: InternalReadPrivateBlocksParams) => Promise<Result<ReadPrivateBlocksResponse, string>>;
562
- listTablerIcons: (param: unknown) => Promise<Result<ListIconsResponse, string>>;
563
- readTablerIcon: (param: ReadIconParams) => Promise<Result<ReadIconResponse, string>>;
564
- createFormatter: CreateMethod<"formatter">;
565
- deleteFormatter: DeleteMethod;
566
- readFormatter: ReadMethod<"formatter">;
567
- updateFormatter: UpdateMethod<"formatter">;
568
- createReport: CreateMethod<"report">;
569
- deleteReport: DeleteMethod;
570
- readReport: ReadMethod<"report">;
571
- updateReport: UpdateMethod<"report">;
572
- createDimension: CreateMethod<"dimension">;
573
- deleteDimension: DeleteMethod;
574
- readDimension: ReadMethod<"dimension">;
575
- updateDimension: UpdateMethod<"dimension">;
576
- createVariant: CreateMethod<"variant">;
577
- readVariant: ReadMethod<"variant">;
578
- updateVariant: UpdateMethod<"variant">;
579
- deleteVariant: DeleteMethod;
580
- validateVariantSlug: (param: ValidateVariantSlugParams) => Promise<Result<ValidateVariantSlugResponse, string>>;
581
- createSection: CreateMethod<"section">;
582
- readSection: ReadMethod<"section">;
583
- updateSection: UpdateMethod<"section">;
584
- deleteSection: DeleteMethod;
585
- createBlock: CreateMethod<"block">;
586
- deleteBlock: DeleteMethod;
587
- readBlock: ReadMethod<"block">;
588
- updateBlock: UpdateMethod<"block">;
589
- createBulkBlock: CreateBulkMethod<"block">;
590
- updateBulkBlock: UpdateBulkMethod<"block">;
591
- readMember: (param: ReadMembersParams) => Promise<Result<ReadMembersResponse, string>>;
592
- searchMember: (param: SearchMemberParams) => Promise<Result<SearchMemberResponse, string>>;
593
- updateMember: (param: UpdateMemberParams) => Promise<Result<UpdateMemberResponse, string>>;
594
- readMemberImage: (param: ReadMemberImageParams) => Promise<Result<ReadMemberImageResponse, string>>;
595
- }>]>>, P>) => next.GetServerSideProps<P, querystring.ParsedUrlQuery, next.PreviewData>;
596
- getStaticProps: <P_1 extends {} = any>(callback: next_redux_wrapper.GetStaticPropsCallback<_reduxjs_toolkit_dist_configureStore.ToolkitStore<{
597
- records: RecordsState;
598
- status: StatusState;
599
- variables: VariablesState;
600
- }, AnyAction, _reduxjs_toolkit.MiddlewareArray<[_reduxjs_toolkit.ThunkMiddleware<{
601
- records: RecordsState;
602
- status: StatusState;
603
- variables: VariablesState;
604
- }, AnyAction, {
605
- searchReport: (param: SearchReportParams) => Promise<Result<SearchReportResponse, string>>;
606
- readMetadata: (param: ReadMetadataParams | undefined) => Promise<Result<ReadMetadataResponse, string>>;
607
- regenerateSearch: (param: unknown) => Promise<Result<RegenerateSearchResponse, string>>;
608
- imageFlickrSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
609
- imageLocalSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
610
- imageUnsplashSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
611
- imageAdobeSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
612
- imageFlickrSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
613
- imageLocalSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
614
- imageUnsplashSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
615
- imageUploadSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
616
- imageAdobeSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
617
- urlProxy: (request: string | {
618
- url: string;
619
- method?: "GET" | "POST" | undefined;
620
- timeout?: number | undefined;
621
- }) => Promise<Result<any, string>>;
622
- searchRole: (param: unknown) => Promise<Result<{
623
- roles: BespokeRole[];
624
- }, string>>;
625
- searchUser: (param: SearchUsersParams) => Promise<Result<BespokeUserProfile[], string>>;
626
- readUser: (param: any) => Promise<Result<BespokeUserProfile, string>>;
627
- updateUser: (param: UpdateUserParams) => Promise<Result<Record<string, string>, string>>;
628
- updateMyData: (param: UpdateMyDataParams) => Promise<Result<string, string>>;
629
- revalidateReport: (param: RevalidateReportRequest) => Promise<Result<RevalidateReportResponse, string>>;
630
- revalidateUrl: (param: RevalidateUrlRequest) => Promise<Result<RevalidateUrlResponse, string>>;
631
- readPrivateBlocks: (param: InternalReadPrivateBlocksParams) => Promise<Result<ReadPrivateBlocksResponse, string>>;
632
- listTablerIcons: (param: unknown) => Promise<Result<ListIconsResponse, string>>;
633
- readTablerIcon: (param: ReadIconParams) => Promise<Result<ReadIconResponse, string>>;
634
- createFormatter: CreateMethod<"formatter">;
635
- deleteFormatter: DeleteMethod;
636
- readFormatter: ReadMethod<"formatter">;
637
- updateFormatter: UpdateMethod<"formatter">;
638
- createReport: CreateMethod<"report">;
639
- deleteReport: DeleteMethod;
640
- readReport: ReadMethod<"report">;
641
- updateReport: UpdateMethod<"report">;
642
- createDimension: CreateMethod<"dimension">;
643
- deleteDimension: DeleteMethod;
644
- readDimension: ReadMethod<"dimension">;
645
- updateDimension: UpdateMethod<"dimension">;
646
- createVariant: CreateMethod<"variant">;
647
- readVariant: ReadMethod<"variant">;
648
- updateVariant: UpdateMethod<"variant">;
649
- deleteVariant: DeleteMethod;
650
- validateVariantSlug: (param: ValidateVariantSlugParams) => Promise<Result<ValidateVariantSlugResponse, string>>;
651
- createSection: CreateMethod<"section">;
652
- readSection: ReadMethod<"section">;
653
- updateSection: UpdateMethod<"section">;
654
- deleteSection: DeleteMethod;
655
- createBlock: CreateMethod<"block">;
656
- deleteBlock: DeleteMethod;
657
- readBlock: ReadMethod<"block">;
658
- updateBlock: UpdateMethod<"block">;
659
- createBulkBlock: CreateBulkMethod<"block">;
660
- updateBulkBlock: UpdateBulkMethod<"block">;
661
- readMember: (param: ReadMembersParams) => Promise<Result<ReadMembersResponse, string>>;
662
- searchMember: (param: SearchMemberParams) => Promise<Result<SearchMemberResponse, string>>;
663
- updateMember: (param: UpdateMemberParams) => Promise<Result<UpdateMemberResponse, string>>;
664
- readMemberImage: (param: ReadMemberImageParams) => Promise<Result<ReadMemberImageResponse, string>>;
665
- }>]>>, P_1>) => next.GetStaticProps<P_1, querystring.ParsedUrlQuery, next.PreviewData>;
666
- getInitialAppProps: <P_2 extends {} = any>(callback: next_redux_wrapper.AppCallback<_reduxjs_toolkit_dist_configureStore.ToolkitStore<{
667
- records: RecordsState;
668
- status: StatusState;
669
- variables: VariablesState;
670
- }, AnyAction, _reduxjs_toolkit.MiddlewareArray<[_reduxjs_toolkit.ThunkMiddleware<{
671
- records: RecordsState;
672
- status: StatusState;
673
- variables: VariablesState;
674
- }, AnyAction, {
675
- searchReport: (param: SearchReportParams) => Promise<Result<SearchReportResponse, string>>;
676
- readMetadata: (param: ReadMetadataParams | undefined) => Promise<Result<ReadMetadataResponse, string>>;
677
- regenerateSearch: (param: unknown) => Promise<Result<RegenerateSearchResponse, string>>;
678
- imageFlickrSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
679
- imageLocalSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
680
- imageUnsplashSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
681
- imageAdobeSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
682
- imageFlickrSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
683
- imageLocalSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
684
- imageUnsplashSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
685
- imageUploadSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
686
- imageAdobeSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
687
- urlProxy: (request: string | {
688
- url: string;
689
- method?: "GET" | "POST" | undefined;
690
- timeout?: number | undefined;
691
- }) => Promise<Result<any, string>>;
692
- searchRole: (param: unknown) => Promise<Result<{
693
- roles: BespokeRole[];
694
- }, string>>;
695
- searchUser: (param: SearchUsersParams) => Promise<Result<BespokeUserProfile[], string>>;
696
- readUser: (param: any) => Promise<Result<BespokeUserProfile, string>>;
697
- updateUser: (param: UpdateUserParams) => Promise<Result<Record<string, string>, string>>;
698
- updateMyData: (param: UpdateMyDataParams) => Promise<Result<string, string>>;
699
- revalidateReport: (param: RevalidateReportRequest) => Promise<Result<RevalidateReportResponse, string>>;
700
- revalidateUrl: (param: RevalidateUrlRequest) => Promise<Result<RevalidateUrlResponse, string>>;
701
- readPrivateBlocks: (param: InternalReadPrivateBlocksParams) => Promise<Result<ReadPrivateBlocksResponse, string>>;
702
- listTablerIcons: (param: unknown) => Promise<Result<ListIconsResponse, string>>;
703
- readTablerIcon: (param: ReadIconParams) => Promise<Result<ReadIconResponse, string>>;
704
- createFormatter: CreateMethod<"formatter">;
705
- deleteFormatter: DeleteMethod;
706
- readFormatter: ReadMethod<"formatter">;
707
- updateFormatter: UpdateMethod<"formatter">;
708
- createReport: CreateMethod<"report">;
709
- deleteReport: DeleteMethod;
710
- readReport: ReadMethod<"report">;
711
- updateReport: UpdateMethod<"report">;
712
- createDimension: CreateMethod<"dimension">;
713
- deleteDimension: DeleteMethod;
714
- readDimension: ReadMethod<"dimension">;
715
- updateDimension: UpdateMethod<"dimension">;
716
- createVariant: CreateMethod<"variant">;
717
- readVariant: ReadMethod<"variant">;
718
- updateVariant: UpdateMethod<"variant">;
719
- deleteVariant: DeleteMethod;
720
- validateVariantSlug: (param: ValidateVariantSlugParams) => Promise<Result<ValidateVariantSlugResponse, string>>;
721
- createSection: CreateMethod<"section">;
722
- readSection: ReadMethod<"section">;
723
- updateSection: UpdateMethod<"section">;
724
- deleteSection: DeleteMethod;
725
- createBlock: CreateMethod<"block">;
726
- deleteBlock: DeleteMethod;
727
- readBlock: ReadMethod<"block">;
728
- updateBlock: UpdateMethod<"block">;
729
- createBulkBlock: CreateBulkMethod<"block">;
730
- updateBulkBlock: UpdateBulkMethod<"block">;
731
- readMember: (param: ReadMembersParams) => Promise<Result<ReadMembersResponse, string>>;
732
- searchMember: (param: SearchMemberParams) => Promise<Result<SearchMemberResponse, string>>;
733
- updateMember: (param: UpdateMemberParams) => Promise<Result<UpdateMemberResponse, string>>;
734
- readMemberImage: (param: ReadMemberImageParams) => Promise<Result<ReadMemberImageResponse, string>>;
735
- }>]>>, P_2>) => ({ Component, ctx }: next_app.AppContext) => Promise<next_app.AppInitialProps<any> & {
736
- pageProps: P_2;
737
- }>;
738
- getInitialPageProps: <P_3 extends {} = any>(callback: next_redux_wrapper.PageCallback<_reduxjs_toolkit_dist_configureStore.ToolkitStore<{
739
- records: RecordsState;
740
- status: StatusState;
741
- variables: VariablesState;
742
- }, AnyAction, _reduxjs_toolkit.MiddlewareArray<[_reduxjs_toolkit.ThunkMiddleware<{
743
- records: RecordsState;
744
- status: StatusState;
745
- variables: VariablesState;
746
- }, AnyAction, {
747
- searchReport: (param: SearchReportParams) => Promise<Result<SearchReportResponse, string>>;
748
- readMetadata: (param: ReadMetadataParams | undefined) => Promise<Result<ReadMetadataResponse, string>>;
749
- regenerateSearch: (param: unknown) => Promise<Result<RegenerateSearchResponse, string>>;
750
- imageFlickrSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
751
- imageLocalSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
752
- imageUnsplashSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
753
- imageAdobeSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
754
- imageFlickrSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
755
- imageLocalSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
756
- imageUnsplashSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
757
- imageUploadSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
758
- imageAdobeSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
759
- urlProxy: (request: string | {
760
- url: string;
761
- method?: "GET" | "POST" | undefined;
762
- timeout?: number | undefined;
763
- }) => Promise<Result<any, string>>;
764
- searchRole: (param: unknown) => Promise<Result<{
765
- roles: BespokeRole[];
766
- }, string>>;
767
- searchUser: (param: SearchUsersParams) => Promise<Result<BespokeUserProfile[], string>>;
768
- readUser: (param: any) => Promise<Result<BespokeUserProfile, string>>;
769
- updateUser: (param: UpdateUserParams) => Promise<Result<Record<string, string>, string>>;
770
- updateMyData: (param: UpdateMyDataParams) => Promise<Result<string, string>>;
771
- revalidateReport: (param: RevalidateReportRequest) => Promise<Result<RevalidateReportResponse, string>>;
772
- revalidateUrl: (param: RevalidateUrlRequest) => Promise<Result<RevalidateUrlResponse, string>>;
773
- readPrivateBlocks: (param: InternalReadPrivateBlocksParams) => Promise<Result<ReadPrivateBlocksResponse, string>>;
774
- listTablerIcons: (param: unknown) => Promise<Result<ListIconsResponse, string>>;
775
- readTablerIcon: (param: ReadIconParams) => Promise<Result<ReadIconResponse, string>>;
776
- createFormatter: CreateMethod<"formatter">;
777
- deleteFormatter: DeleteMethod;
778
- readFormatter: ReadMethod<"formatter">;
779
- updateFormatter: UpdateMethod<"formatter">;
780
- createReport: CreateMethod<"report">;
781
- deleteReport: DeleteMethod;
782
- readReport: ReadMethod<"report">;
783
- updateReport: UpdateMethod<"report">;
784
- createDimension: CreateMethod<"dimension">;
785
- deleteDimension: DeleteMethod;
786
- readDimension: ReadMethod<"dimension">;
787
- updateDimension: UpdateMethod<"dimension">;
788
- createVariant: CreateMethod<"variant">;
789
- readVariant: ReadMethod<"variant">;
790
- updateVariant: UpdateMethod<"variant">;
791
- deleteVariant: DeleteMethod;
792
- validateVariantSlug: (param: ValidateVariantSlugParams) => Promise<Result<ValidateVariantSlugResponse, string>>;
793
- createSection: CreateMethod<"section">;
794
- readSection: ReadMethod<"section">;
795
- updateSection: UpdateMethod<"section">;
796
- deleteSection: DeleteMethod;
797
- createBlock: CreateMethod<"block">;
798
- deleteBlock: DeleteMethod;
799
- readBlock: ReadMethod<"block">;
800
- updateBlock: UpdateMethod<"block">;
801
- createBulkBlock: CreateBulkMethod<"block">;
802
- updateBulkBlock: UpdateBulkMethod<"block">;
803
- readMember: (param: ReadMembersParams) => Promise<Result<ReadMembersResponse, string>>;
804
- searchMember: (param: SearchMemberParams) => Promise<Result<SearchMemberResponse, string>>;
805
- updateMember: (param: UpdateMemberParams) => Promise<Result<UpdateMemberResponse, string>>;
806
- readMemberImage: (param: ReadMemberImageParams) => Promise<Result<ReadMemberImageResponse, string>>;
807
- }>]>>, P_3>) => ((context: next.NextPageContext<any>) => any) | undefined;
808
- withRedux: (Component: any) => {
809
- new (props: any, context: any): {
810
- store: _reduxjs_toolkit_dist_configureStore.ToolkitStore<{
811
- records: RecordsState;
812
- status: StatusState;
813
- variables: VariablesState;
814
- }, AnyAction, _reduxjs_toolkit.MiddlewareArray<[_reduxjs_toolkit.ThunkMiddleware<{
815
- records: RecordsState;
816
- status: StatusState;
817
- variables: VariablesState;
818
- }, AnyAction, {
819
- searchReport: (param: SearchReportParams) => Promise<Result<SearchReportResponse, string>>;
820
- readMetadata: (param: ReadMetadataParams | undefined) => Promise<Result<ReadMetadataResponse, string>>;
821
- regenerateSearch: (param: unknown) => Promise<Result<RegenerateSearchResponse, string>>;
822
- imageFlickrSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
823
- imageLocalSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
824
- imageUnsplashSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
825
- imageAdobeSearch: (param: ImageSearchParams) => Promise<Result<ImageSearchResponse, string>>;
826
- imageFlickrSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
827
- imageLocalSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
828
- imageUnsplashSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
829
- imageUploadSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
830
- imageAdobeSave: (param: ImageSaveParams) => Promise<Result<ImageSaveResponse, string>>;
831
- urlProxy: (request: string | {
832
- url: string;
833
- method?: "GET" | "POST" | undefined;
834
- timeout?: number | undefined;
835
- }) => Promise<Result<any, string>>;
836
- searchRole: (param: unknown) => Promise<Result<{
837
- roles: BespokeRole[];
838
- }, string>>;
839
- searchUser: (param: SearchUsersParams) => Promise<Result<BespokeUserProfile[], string>>;
840
- readUser: (param: any) => Promise<Result<BespokeUserProfile, string>>;
841
- updateUser: (param: UpdateUserParams) => Promise<Result<Record<string, string>, string>>;
842
- updateMyData: (param: UpdateMyDataParams) => Promise<Result<string, string>>;
843
- revalidateReport: (param: RevalidateReportRequest) => Promise<Result<RevalidateReportResponse, string>>;
844
- revalidateUrl: (param: RevalidateUrlRequest) => Promise<Result<RevalidateUrlResponse, string>>;
845
- readPrivateBlocks: (param: InternalReadPrivateBlocksParams) => Promise<Result<ReadPrivateBlocksResponse, string>>;
846
- listTablerIcons: (param: unknown) => Promise<Result<ListIconsResponse, string>>;
847
- readTablerIcon: (param: ReadIconParams) => Promise<Result<ReadIconResponse, string>>;
848
- createFormatter: CreateMethod<"formatter">;
849
- deleteFormatter: DeleteMethod;
850
- readFormatter: ReadMethod<"formatter">;
851
- updateFormatter: UpdateMethod<"formatter">;
852
- createReport: CreateMethod<"report">;
853
- deleteReport: DeleteMethod;
854
- readReport: ReadMethod<"report">;
855
- updateReport: UpdateMethod<"report">;
856
- createDimension: CreateMethod<"dimension">;
857
- deleteDimension: DeleteMethod;
858
- readDimension: ReadMethod<"dimension">;
859
- updateDimension: UpdateMethod<"dimension">;
860
- createVariant: CreateMethod<"variant">;
861
- readVariant: ReadMethod<"variant">;
862
- updateVariant: UpdateMethod<"variant">;
863
- deleteVariant: DeleteMethod;
864
- validateVariantSlug: (param: ValidateVariantSlugParams) => Promise<Result<ValidateVariantSlugResponse, string>>;
865
- createSection: CreateMethod<"section">;
866
- readSection: ReadMethod<"section">;
867
- updateSection: UpdateMethod<"section">;
868
- deleteSection: DeleteMethod;
869
- createBlock: CreateMethod<"block">;
870
- deleteBlock: DeleteMethod;
871
- readBlock: ReadMethod<"block">;
872
- updateBlock: UpdateMethod<"block">;
873
- createBulkBlock: CreateBulkMethod<"block">;
874
- updateBulkBlock: UpdateBulkMethod<"block">;
875
- readMember: (param: ReadMembersParams) => Promise<Result<ReadMembersResponse, string>>;
876
- searchMember: (param: SearchMemberParams) => Promise<Result<SearchMemberResponse, string>>;
877
- updateMember: (param: UpdateMemberParams) => Promise<Result<UpdateMemberResponse, string>>;
878
- readMemberImage: (param: ReadMemberImageParams) => Promise<Result<ReadMemberImageResponse, string>>;
879
- }>]>>;
880
- hydrate({ initialState, initialProps, ...props }: any, context: any): void;
881
- shouldComponentUpdate(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): boolean;
882
- render(): JSX.Element;
883
- context: any;
884
- setState<K extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
885
- forceUpdate(callback?: (() => void) | undefined): void;
886
- readonly props: Readonly<any> & Readonly<{
887
- children?: react.ReactNode;
888
- }>;
889
- state: Readonly<any>;
890
- refs: {
891
- [key: string]: react.ReactInstance;
892
- };
893
- componentDidMount?(): void;
894
- componentWillUnmount?(): void;
895
- componentDidCatch?(error: Error, errorInfo: react.ErrorInfo): void;
896
- getSnapshotBeforeUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>): any;
897
- componentDidUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>, snapshot?: any): void;
898
- componentWillMount?(): void;
899
- UNSAFE_componentWillMount?(): void;
900
- componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
901
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
902
- componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
903
- UNSAFE_componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
904
- };
905
- displayName: string;
906
- getInitialProps: any;
907
- contextType?: react.Context<any> | undefined;
908
- };
909
- };
910
- type AppStore = ReturnType<typeof storeFactory>;
911
- type AppState = ReturnType<AppStore["getState"]>;
912
- type AppDispatch = AppStore["dispatch"];
913
- type AppThunk<ReturnType = void> = ThunkAction<ReturnType, AppState, PublicAPI, Action$1<string>>;
914
-
915
- export { AppStore as A, RecordsKey as R, StatusState as S, ValidateVariantSlugResponse as V, apiFactory as a, AppThunk as b, ReadMembersResult as c, RegenerateSearchResponse as d, ReadMembersParams as e, ReadMembersResponse as f, SearchMemberParams as g, SearchMemberResponse as h, AppDispatch as i, AppState as j, storeWrapper as s, useDatabaseApi as u };