@websolutespa/bom-next 3.0.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.
Files changed (130) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +11 -0
  3. package/dist/config.client-B8As5DY0.js +2 -0
  4. package/dist/config.edge-B8As5DY0.js +2 -0
  5. package/dist/config.server-B8As5DY0.js +2 -0
  6. package/dist/exports/client-xcFJNcG7.d.ts +979 -0
  7. package/dist/exports/client-xcFJNcG7.d.ts.map +1 -0
  8. package/dist/exports/client.js +5735 -0
  9. package/dist/exports/client.js.map +1 -0
  10. package/dist/exports/instrumentation-DBO6QH4d.d.ts +13 -0
  11. package/dist/exports/instrumentation-DBO6QH4d.d.ts.map +1 -0
  12. package/dist/exports/instrumentation.js +25 -0
  13. package/dist/exports/instrumentation.js.map +1 -0
  14. package/dist/exports/proxy-Cv7QFVci.d.ts +71 -0
  15. package/dist/exports/proxy-Cv7QFVci.d.ts.map +1 -0
  16. package/dist/exports/proxy.js +254 -0
  17. package/dist/exports/proxy.js.map +1 -0
  18. package/dist/exports/server-BHObJHJ6.d.ts +402 -0
  19. package/dist/exports/server-BHObJHJ6.d.ts.map +1 -0
  20. package/dist/exports/server.js +1974 -0
  21. package/dist/exports/server.js.map +1 -0
  22. package/dist/http-_2M-UFRx.js +61 -0
  23. package/dist/http-_2M-UFRx.js.map +1 -0
  24. package/dist/index-CdYcvudT.d.ts +4 -0
  25. package/dist/index-CtfAJ0y7.d.ts +499 -0
  26. package/dist/index-CtfAJ0y7.d.ts.map +1 -0
  27. package/dist/index.js +201 -0
  28. package/dist/index.js.map +1 -0
  29. package/dist/route-DzFwERQP.js +65 -0
  30. package/dist/route-DzFwERQP.js.map +1 -0
  31. package/dist/store-CJzqrHsl.js +73 -0
  32. package/dist/store-CJzqrHsl.js.map +1 -0
  33. package/dist/types-BatUTdbZ.d.ts +15 -0
  34. package/dist/types-BatUTdbZ.d.ts.map +1 -0
  35. package/dist/types-D29_snYY.d.ts +191 -0
  36. package/dist/types-D29_snYY.d.ts.map +1 -0
  37. package/dist/utils-Ca7xh5mm.js +78 -0
  38. package/dist/utils-Ca7xh5mm.js.map +1 -0
  39. package/dist/utils-YwteTbk7.js +23 -0
  40. package/dist/utils-YwteTbk7.js.map +1 -0
  41. package/package.json +156 -0
  42. package/src/client/client.tsx +18 -0
  43. package/src/client/extra.tsx +21 -0
  44. package/src/client/label.tsx +24 -0
  45. package/src/client/layout.tsx +22 -0
  46. package/src/client/local.collection.ts +33 -0
  47. package/src/client/metadata.tsx +217 -0
  48. package/src/client/page.tsx +22 -0
  49. package/src/client/useApi.test.tsx +203 -0
  50. package/src/client/useApi.ts +59 -0
  51. package/src/client/useCollectionApi.test.tsx +201 -0
  52. package/src/client/useCollectionApi.ts +66 -0
  53. package/src/client/useExtra.tsx +12 -0
  54. package/src/client/useHttp.ts +54 -0
  55. package/src/client/useLabel.test.tsx +76 -0
  56. package/src/client/useLabel.tsx +12 -0
  57. package/src/client/useLayout.tsx +13 -0
  58. package/src/client/useLink.tsx +13 -0
  59. package/src/client/useMetaData.tsx +12 -0
  60. package/src/client/usePage.tsx +12 -0
  61. package/src/client/useUser.tsx +12 -0
  62. package/src/client/user.tsx +43 -0
  63. package/src/exports/client.ts +20 -0
  64. package/src/exports/instrumentation.ts +1 -0
  65. package/src/exports/proxy.ts +5 -0
  66. package/src/exports/server.ts +19 -0
  67. package/src/global.d.ts +6 -0
  68. package/src/index.ts +17 -0
  69. package/src/instrumentation/client.ts +19 -0
  70. package/src/instrumentation/sentry/capture.requestError.ts +6 -0
  71. package/src/instrumentation/sentry/capture.routerTransitionStart.ts +4 -0
  72. package/src/instrumentation/sentry/config.client.ts +9 -0
  73. package/src/instrumentation/sentry/config.edge.ts +9 -0
  74. package/src/instrumentation/sentry/config.server.ts +9 -0
  75. package/src/instrumentation/server.ts +24 -0
  76. package/src/instrumentation/types.ts +12 -0
  77. package/src/lib/breadcrumb.ts +21 -0
  78. package/src/lib/const.ts +3 -0
  79. package/src/lib/http.test.ts +25 -0
  80. package/src/lib/http.ts +74 -0
  81. package/src/lib/label.ts +43 -0
  82. package/src/lib/layout.defaults.ts +167 -0
  83. package/src/lib/link.ts +19 -0
  84. package/src/lib/meta-data.ts +60 -0
  85. package/src/lib/open-graph.ts +165 -0
  86. package/src/lib/pagination.ts +78 -0
  87. package/src/lib/payload.config.ts +12 -0
  88. package/src/lib/route.ts +83 -0
  89. package/src/lib/store.ts +63 -0
  90. package/src/lib/structured-data.ts +24 -0
  91. package/src/lib/twitter-card.ts +49 -0
  92. package/src/lib/utils.ts +45 -0
  93. package/src/mock.ts +264 -0
  94. package/src/proxy/protected-route.test.ts +75 -0
  95. package/src/proxy/protected-route.ts +57 -0
  96. package/src/proxy/proxy.test.ts +48 -0
  97. package/src/proxy/proxy.ts +64 -0
  98. package/src/proxy/route-auto-detection.ts +126 -0
  99. package/src/proxy/route-proxy.ts +187 -0
  100. package/src/server/context.ts +147 -0
  101. package/src/server/handlers/auth.handler.ts +27 -0
  102. package/src/server/handlers/captions.handler.ts +32 -0
  103. package/src/server/handlers/collection.handler.test.ts +57 -0
  104. package/src/server/handlers/collection.handler.ts +212 -0
  105. package/src/server/handlers/error-response.ts +45 -0
  106. package/src/server/handlers/index.handler.ts +146 -0
  107. package/src/server/handlers/preview.handler.ts +63 -0
  108. package/src/server/handlers/registry.handler.test.ts +65 -0
  109. package/src/server/handlers/registry.handler.ts +259 -0
  110. package/src/server/handlers/route.handler.ts +161 -0
  111. package/src/server/handlers/sitemap.handler.ts +374 -0
  112. package/src/server/handlers/static-params.handler.ts +111 -0
  113. package/src/server/handlers/vars.handler.ts +167 -0
  114. package/src/server/layout.ts +120 -0
  115. package/src/server/lazy.ts +41 -0
  116. package/src/server/local-api.ts +63 -0
  117. package/src/server/metadata.ts +87 -0
  118. package/src/server/mixer-payload.ts +124 -0
  119. package/src/server/mixer-payload.type-test.ts +27 -0
  120. package/src/server/mixer.ts +439 -0
  121. package/src/server/mock/category.ts +34 -0
  122. package/src/server/mock/collection.ts +21 -0
  123. package/src/server/mock/page.ts +62 -0
  124. package/src/server/mock/route.ts +36 -0
  125. package/src/server/mock/store.ts +159 -0
  126. package/src/server/page.ts +86 -0
  127. package/src/server/session/session.ts +101 -0
  128. package/src/server/utils.ts +23 -0
  129. package/src/server/utmz.ts +11 -0
  130. package/src/types.ts +211 -0
@@ -0,0 +1,979 @@
1
+ import { $ as TwitterCardType, et as StructuredDataType, gt as ApiRequestOptions, pt as OpenGraphType, q as IMetaData } from "../index-CtfAJ0y7.js";
2
+ import { a as IEndUser, v as IUser } from "../types-D29_snYY.js";
3
+ import * as _websolutespa_bom_core0 from "@websolutespa/bom-core";
4
+ import { FetchError, FetchRequestOptions, FetchService, IAppExtended, ILayout, ILocalized, IPage, QueryParams } from "@websolutespa/bom-core";
5
+ import * as react0 from "react";
6
+ import { Dispatch, ReactNode } from "react";
7
+
8
+ //#region src/client/client.d.ts
9
+ declare function Client(): react0.JSX.Element;
10
+ //# sourceMappingURL=client.d.ts.map
11
+ //#endregion
12
+ //#region src/client/extra.d.ts
13
+ type IExtraContext = Record<string, any>;
14
+ declare const ExtraContext: react0.Context<IExtraContext | undefined>;
15
+ declare function ExtraProvider({
16
+ extra,
17
+ children
18
+ }: {
19
+ extra?: Record<string, any>;
20
+ children?: React.ReactNode;
21
+ }): react0.JSX.Element;
22
+ //# sourceMappingURL=extra.d.ts.map
23
+ //#endregion
24
+ //#region src/client/label.d.ts
25
+ type ILabelContext = (key: string, params?: Record<string, any>) => string;
26
+ declare const LabelContext: react0.Context<ILabelContext | undefined>;
27
+ declare function LabelProvider({
28
+ children
29
+ }: {
30
+ children?: React.ReactNode;
31
+ }): react0.JSX.Element;
32
+ //# sourceMappingURL=label.d.ts.map
33
+ //#endregion
34
+ //#region src/client/layout.d.ts
35
+ type ILayoutContext = ILayout;
36
+ declare const LayoutContext: react0.Context<ILayoutContext | undefined>;
37
+ declare function LayoutProvider({
38
+ layout,
39
+ children
40
+ }: {
41
+ layout: ILayout;
42
+ children?: React.ReactNode;
43
+ }): react0.JSX.Element;
44
+ //# sourceMappingURL=layout.d.ts.map
45
+ //#endregion
46
+ //#region src/client/local.collection.d.ts
47
+ declare function localCollectionFetch<T = unknown>(pathname: string, options?: ApiRequestOptions, serviceOptions?: {
48
+ locale: string;
49
+ market: string;
50
+ }): Promise<T>;
51
+ declare function localCollectionGet<T = unknown>(url: string, options?: ApiRequestOptions, serviceOptions?: {
52
+ locale: string;
53
+ market: string;
54
+ }): Promise<T>;
55
+ declare function localCollectionPost<T = unknown>(url: string, payload?: unknown, options?: ApiRequestOptions, serviceOptions?: {
56
+ locale: string;
57
+ market: string;
58
+ }): Promise<T>;
59
+ declare function localCollectionPut<T = unknown>(url: string, payload?: unknown, options?: ApiRequestOptions, serviceOptions?: {
60
+ locale: string;
61
+ market: string;
62
+ }): Promise<T>;
63
+ declare function localCollectionPatch<T = unknown>(url: string, payload?: unknown, options?: ApiRequestOptions, serviceOptions?: {
64
+ locale: string;
65
+ market: string;
66
+ }): Promise<T>;
67
+ declare function localCollectionDelete<T = unknown>(url: string, options?: ApiRequestOptions, serviceOptions?: {
68
+ locale: string;
69
+ market: string;
70
+ }): Promise<T>;
71
+ //# sourceMappingURL=local.collection.d.ts.map
72
+ //#endregion
73
+ //#region src/client/metadata.d.ts
74
+ type IMetaDataOptions = {
75
+ brand: {
76
+ name: string;
77
+ logo: string;
78
+ businessName?: string;
79
+ appName?: string;
80
+ url?: string;
81
+ email?: string;
82
+ telephone?: string;
83
+ zipCode?: string;
84
+ address?: string;
85
+ city?: string;
86
+ provinceCode?: string;
87
+ countryName?: string;
88
+ countryCode?: string;
89
+ twitterName?: string;
90
+ social?: Record<string, string>;
91
+ };
92
+ structuredData?: StructuredDataType;
93
+ openGraph?: OpenGraphType;
94
+ twitterCard?: TwitterCardType;
95
+ };
96
+ type IMetaDataContext = IMetaData;
97
+ declare const MetaDataContext: react0.Context<IMetaData | undefined>;
98
+ declare function MetaDataProvider({
99
+ metaData,
100
+ children
101
+ }: {
102
+ metaData: IMetaDataOptions;
103
+ children?: ReactNode;
104
+ }): react0.JSX.Element;
105
+ //# sourceMappingURL=metadata.d.ts.map
106
+ //#endregion
107
+ //#region src/client/page.d.ts
108
+ type IPageContext = ILocalized<IPage>;
109
+ declare const PageContext: react0.Context<{
110
+ [x: string]: unknown;
111
+ id: _websolutespa_bom_core0.IEquatable;
112
+ schema: string;
113
+ category: {
114
+ readonly [x: number]: string;
115
+ [x: string]: unknown;
116
+ toString: () => string;
117
+ charAt: (pos: number) => string;
118
+ charCodeAt: (index: number) => number;
119
+ concat: (...strings: string[]) => string;
120
+ indexOf: (searchString: string, position?: number) => number;
121
+ lastIndexOf: (searchString: string, position?: number) => number;
122
+ localeCompare: {
123
+ (that: string): number;
124
+ (that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
125
+ (that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
126
+ };
127
+ match: {
128
+ (regexp: string | RegExp): RegExpMatchArray | null;
129
+ (matcher: {
130
+ [Symbol.match](string: string): RegExpMatchArray | null;
131
+ }): RegExpMatchArray | null;
132
+ };
133
+ replace: {
134
+ (searchValue: string | RegExp, replaceValue: string): string;
135
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
136
+ (searchValue: {
137
+ [Symbol.replace](string: string, replaceValue: string): string;
138
+ }, replaceValue: string): string;
139
+ (searchValue: {
140
+ [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
141
+ }, replacer: (substring: string, ...args: any[]) => string): string;
142
+ };
143
+ search: {
144
+ (regexp: string | RegExp): number;
145
+ (searcher: {
146
+ [Symbol.search](string: string): number;
147
+ }): number;
148
+ };
149
+ slice: (start?: number, end?: number) => string;
150
+ split: {
151
+ (separator: string | RegExp, limit?: number): string[];
152
+ (splitter: {
153
+ [Symbol.split](string: string, limit?: number): string[];
154
+ }, limit?: number): string[];
155
+ };
156
+ substring: (start: number, end?: number) => string;
157
+ toLowerCase: () => string;
158
+ toLocaleLowerCase: {
159
+ (locales?: string | string[]): string;
160
+ (locales?: Intl.LocalesArgument): string;
161
+ };
162
+ toUpperCase: () => string;
163
+ toLocaleUpperCase: {
164
+ (locales?: string | string[]): string;
165
+ (locales?: Intl.LocalesArgument): string;
166
+ };
167
+ trim: () => string;
168
+ readonly length: number;
169
+ substr: (from: number, length?: number) => string;
170
+ valueOf: () => string;
171
+ codePointAt: (pos: number) => number | undefined;
172
+ includes: (searchString: string, position?: number) => boolean;
173
+ endsWith: (searchString: string, endPosition?: number) => boolean;
174
+ normalize: {
175
+ (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
176
+ (form?: string): string;
177
+ };
178
+ repeat: (count: number) => string;
179
+ startsWith: (searchString: string, position?: number) => boolean;
180
+ anchor: (name: string) => string;
181
+ big: () => string;
182
+ blink: () => string;
183
+ bold: () => string;
184
+ fixed: () => string;
185
+ fontcolor: (color: string) => string;
186
+ fontsize: {
187
+ (size: number): string;
188
+ (size: string): string;
189
+ };
190
+ italics: () => string;
191
+ link: (url: string) => string;
192
+ small: () => string;
193
+ strike: () => string;
194
+ sub: () => string;
195
+ sup: () => string;
196
+ padStart: (maxLength: number, fillString?: string) => string;
197
+ padEnd: (maxLength: number, fillString?: string) => string;
198
+ trimEnd: () => string;
199
+ trimStart: () => string;
200
+ trimLeft: () => string;
201
+ trimRight: () => string;
202
+ matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
203
+ replaceAll: {
204
+ (searchValue: string | RegExp, replaceValue: string): string;
205
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
206
+ };
207
+ at: (index: number) => string | undefined;
208
+ [Symbol.iterator]: () => StringIterator<string>;
209
+ id: _websolutespa_bom_core0.IEquatable;
210
+ schema?: string | undefined;
211
+ category?: _websolutespa_bom_core0.IEquatable | {
212
+ [x: string]: unknown;
213
+ id: _websolutespa_bom_core0.IEquatable;
214
+ schema?: string | undefined;
215
+ category?: _websolutespa_bom_core0.IEquatable | /*elided*/any | undefined;
216
+ media?: {
217
+ [x: string]: unknown;
218
+ id?: string | undefined;
219
+ alt?: string | undefined;
220
+ filename?: string | undefined;
221
+ mimeType?: string | undefined;
222
+ filesize?: number | undefined;
223
+ focalX?: number | undefined;
224
+ focalY?: number | undefined;
225
+ createdAt?: string | Date | undefined;
226
+ updatedAt?: (Date | string) | undefined;
227
+ url?: string | undefined;
228
+ title?: string | undefined;
229
+ abstract?: string | undefined;
230
+ type: _websolutespa_bom_core0.IMediaType;
231
+ src?: string | undefined;
232
+ media?: /*elided*/any | undefined;
233
+ width?: string | number | undefined;
234
+ height?: string | number | undefined;
235
+ } | undefined;
236
+ order?: number | undefined;
237
+ slug: string;
238
+ title: string;
239
+ isHidden?: boolean | undefined;
240
+ } | undefined;
241
+ media?: {
242
+ [x: string]: unknown;
243
+ id?: string | undefined;
244
+ alt?: string | undefined;
245
+ filename?: string | undefined;
246
+ mimeType?: string | undefined;
247
+ filesize?: number | undefined;
248
+ focalX?: number | undefined;
249
+ focalY?: number | undefined;
250
+ createdAt?: string | Date | undefined;
251
+ updatedAt?: (Date | string) | undefined;
252
+ url?: string | undefined;
253
+ title?: string | undefined;
254
+ abstract?: string | undefined;
255
+ type: _websolutespa_bom_core0.IMediaType;
256
+ src?: string | undefined;
257
+ media?: /*elided*/any | undefined;
258
+ width?: string | number | undefined;
259
+ height?: string | number | undefined;
260
+ } | undefined;
261
+ order?: number | undefined;
262
+ slug: string;
263
+ title: string;
264
+ isHidden?: boolean | undefined;
265
+ href: string;
266
+ } | {
267
+ [x: string]: unknown;
268
+ toString: (radix?: number) => string;
269
+ toFixed: (fractionDigits?: number) => string;
270
+ toExponential: (fractionDigits?: number) => string;
271
+ toPrecision: (precision?: number) => string;
272
+ valueOf: () => number;
273
+ toLocaleString: {
274
+ (locales?: string | string[], options?: Intl.NumberFormatOptions): string;
275
+ (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
276
+ };
277
+ id: _websolutespa_bom_core0.IEquatable;
278
+ schema?: string | undefined;
279
+ category?: _websolutespa_bom_core0.IEquatable | {
280
+ [x: string]: unknown;
281
+ id: _websolutespa_bom_core0.IEquatable;
282
+ schema?: string | undefined;
283
+ category?: _websolutespa_bom_core0.IEquatable | /*elided*/any | undefined;
284
+ media?: {
285
+ [x: string]: unknown;
286
+ id?: string | undefined;
287
+ alt?: string | undefined;
288
+ filename?: string | undefined;
289
+ mimeType?: string | undefined;
290
+ filesize?: number | undefined;
291
+ focalX?: number | undefined;
292
+ focalY?: number | undefined;
293
+ createdAt?: string | Date | undefined;
294
+ updatedAt?: (Date | string) | undefined;
295
+ url?: string | undefined;
296
+ title?: string | undefined;
297
+ abstract?: string | undefined;
298
+ type: _websolutespa_bom_core0.IMediaType;
299
+ src?: string | undefined;
300
+ media?: /*elided*/any | undefined;
301
+ width?: string | number | undefined;
302
+ height?: string | number | undefined;
303
+ } | undefined;
304
+ order?: number | undefined;
305
+ slug: string;
306
+ title: string;
307
+ isHidden?: boolean | undefined;
308
+ } | undefined;
309
+ media?: {
310
+ [x: string]: unknown;
311
+ id?: string | undefined;
312
+ alt?: string | undefined;
313
+ filename?: string | undefined;
314
+ mimeType?: string | undefined;
315
+ filesize?: number | undefined;
316
+ focalX?: number | undefined;
317
+ focalY?: number | undefined;
318
+ createdAt?: string | Date | undefined;
319
+ updatedAt?: (Date | string) | undefined;
320
+ url?: string | undefined;
321
+ title?: string | undefined;
322
+ abstract?: string | undefined;
323
+ type: _websolutespa_bom_core0.IMediaType;
324
+ src?: string | undefined;
325
+ media?: /*elided*/any | undefined;
326
+ width?: string | number | undefined;
327
+ height?: string | number | undefined;
328
+ } | undefined;
329
+ order?: number | undefined;
330
+ slug: string;
331
+ title: string;
332
+ isHidden?: boolean | undefined;
333
+ href: string;
334
+ } | {
335
+ [x: string]: unknown;
336
+ id: _websolutespa_bom_core0.IEquatable;
337
+ schema?: string | undefined;
338
+ category?: _websolutespa_bom_core0.IEquatable | {
339
+ [x: string]: unknown;
340
+ id: _websolutespa_bom_core0.IEquatable;
341
+ schema?: string | undefined;
342
+ category?: _websolutespa_bom_core0.IEquatable | /*elided*/any | undefined;
343
+ media?: {
344
+ [x: string]: unknown;
345
+ id?: string | undefined;
346
+ alt?: string | undefined;
347
+ filename?: string | undefined;
348
+ mimeType?: string | undefined;
349
+ filesize?: number | undefined;
350
+ focalX?: number | undefined;
351
+ focalY?: number | undefined;
352
+ createdAt?: string | Date | undefined;
353
+ updatedAt?: (Date | string) | undefined;
354
+ url?: string | undefined;
355
+ title?: string | undefined;
356
+ abstract?: string | undefined;
357
+ type: _websolutespa_bom_core0.IMediaType;
358
+ src?: string | undefined;
359
+ media?: /*elided*/any | undefined;
360
+ width?: string | number | undefined;
361
+ height?: string | number | undefined;
362
+ } | undefined;
363
+ order?: number | undefined;
364
+ slug: string;
365
+ title: string;
366
+ isHidden?: boolean | undefined;
367
+ } | undefined;
368
+ media?: {
369
+ [x: string]: unknown;
370
+ id?: string | undefined;
371
+ alt?: string | undefined;
372
+ filename?: string | undefined;
373
+ mimeType?: string | undefined;
374
+ filesize?: number | undefined;
375
+ focalX?: number | undefined;
376
+ focalY?: number | undefined;
377
+ createdAt?: string | Date | undefined;
378
+ updatedAt?: (Date | string) | undefined;
379
+ url?: string | undefined;
380
+ title?: string | undefined;
381
+ abstract?: string | undefined;
382
+ type: _websolutespa_bom_core0.IMediaType;
383
+ src?: string | undefined;
384
+ media?: /*elided*/any | undefined;
385
+ width?: string | number | undefined;
386
+ height?: string | number | undefined;
387
+ } | undefined;
388
+ order?: number | undefined;
389
+ slug: string;
390
+ title: string;
391
+ isHidden?: boolean | undefined;
392
+ href: string;
393
+ };
394
+ slug: string;
395
+ title: string;
396
+ _status?: string | undefined;
397
+ abstract?: string | undefined;
398
+ components?: _websolutespa_bom_core0.IComponent[] | undefined;
399
+ createdAt?: Date | undefined;
400
+ description?: string | undefined;
401
+ isDefault?: boolean | undefined;
402
+ isProtected?: boolean | undefined;
403
+ markets?: string[] | undefined;
404
+ media?: {
405
+ [x: string]: unknown;
406
+ id?: string | undefined;
407
+ alt?: string | undefined;
408
+ filename?: string | undefined;
409
+ mimeType?: string | undefined;
410
+ filesize?: number | undefined;
411
+ focalX?: number | undefined;
412
+ focalY?: number | undefined;
413
+ createdAt?: string | Date | undefined;
414
+ updatedAt?: (Date | string) | undefined;
415
+ url?: string | undefined;
416
+ title?: string | undefined;
417
+ abstract?: string | undefined;
418
+ type: _websolutespa_bom_core0.IMediaType;
419
+ src?: string | undefined;
420
+ media?: /*elided*/any | undefined;
421
+ width?: string | number | undefined;
422
+ height?: string | number | undefined;
423
+ } | undefined;
424
+ meta?: {
425
+ title?: string | undefined;
426
+ description?: string | undefined;
427
+ keywords?: string | undefined;
428
+ robots?: string | undefined;
429
+ image?: {
430
+ [x: string]: unknown;
431
+ id?: string | undefined;
432
+ alt?: string | undefined;
433
+ filename?: string | undefined;
434
+ mimeType?: string | undefined;
435
+ filesize?: number | undefined;
436
+ focalX?: number | undefined;
437
+ focalY?: number | undefined;
438
+ createdAt?: string | Date | undefined;
439
+ updatedAt?: (Date | string) | undefined;
440
+ url?: string | undefined;
441
+ title?: string | undefined;
442
+ abstract?: string | undefined;
443
+ type: _websolutespa_bom_core0.IMediaType;
444
+ src?: string | undefined;
445
+ media?: /*elided*/any | undefined;
446
+ width?: string | number | undefined;
447
+ height?: string | number | undefined;
448
+ } | undefined;
449
+ } | undefined;
450
+ order?: number | undefined;
451
+ publicRedirect?: _websolutespa_bom_core0.IEquatable | {
452
+ [x: string]: unknown;
453
+ id: _websolutespa_bom_core0.IEquatable;
454
+ schema?: string | undefined;
455
+ } | {
456
+ relationTo: string;
457
+ value: _websolutespa_bom_core0.IEquatable | _websolutespa_bom_core0.IEquatable[];
458
+ } | undefined;
459
+ template?: string | undefined;
460
+ updatedAt?: Date | undefined;
461
+ useSplat?: boolean | undefined;
462
+ alternates: _websolutespa_bom_core0.IRoute[];
463
+ breadcrumb: _websolutespa_bom_core0.IRouteLink[];
464
+ href: string;
465
+ locale: string;
466
+ market: string;
467
+ parentRoute?: {
468
+ category: _websolutespa_bom_core0.IEquatable;
469
+ href: string;
470
+ id: _websolutespa_bom_core0.IEquatable;
471
+ items?: _websolutespa_bom_core0.IRouteLink[] | undefined;
472
+ media?: {
473
+ [x: string]: unknown;
474
+ id?: string | undefined;
475
+ alt?: string | undefined;
476
+ filename?: string | undefined;
477
+ mimeType?: string | undefined;
478
+ filesize?: number | undefined;
479
+ focalX?: number | undefined;
480
+ focalY?: number | undefined;
481
+ createdAt?: string | Date | undefined;
482
+ updatedAt?: (Date | string) | undefined;
483
+ url?: string | undefined;
484
+ title?: string | undefined;
485
+ abstract?: string | undefined;
486
+ type: _websolutespa_bom_core0.IMediaType;
487
+ src?: string | undefined;
488
+ media?: /*elided*/any | undefined;
489
+ width?: string | number | undefined;
490
+ height?: string | number | undefined;
491
+ } | undefined;
492
+ schema: string;
493
+ title: string;
494
+ } | undefined;
495
+ } | undefined>;
496
+ declare function PageProvider({
497
+ page,
498
+ children
499
+ }: {
500
+ page: ILocalized<IPage>;
501
+ children?: React.ReactNode;
502
+ }): react0.JSX.Element;
503
+ //# sourceMappingURL=page.d.ts.map
504
+ //#endregion
505
+ //#region src/client/useApi.d.ts
506
+ declare function useApiFetch<T = unknown>(pathname: string, options?: ApiRequestOptions): [T | undefined, boolean, any, react0.Dispatch<any>];
507
+ declare function useApiGet<T = unknown>(pathname: string, options?: ApiRequestOptions): [T | undefined, boolean, any, react0.Dispatch<any>];
508
+ declare function useApiPost<T = unknown>(pathname: string, payload: unknown, options?: ApiRequestOptions): [T | undefined, boolean, any, react0.Dispatch<any>];
509
+ declare function useApiPut<T = unknown>(pathname: string, payload: unknown, options?: ApiRequestOptions): [T | undefined, boolean, any, react0.Dispatch<any>];
510
+ declare function useApiPatch<T = unknown>(pathname: string, payload: unknown, options?: ApiRequestOptions): [T | undefined, boolean, any, react0.Dispatch<any>];
511
+ declare function useApiDelete<T = unknown>(pathname: string, options?: ApiRequestOptions): [T | undefined, boolean, any, react0.Dispatch<any>];
512
+ type Api = {
513
+ get: <T = unknown>(pathname: string, options?: ApiRequestOptions) => Promise<T>;
514
+ post: <T = unknown>(pathname: string, payload?: unknown, options?: ApiRequestOptions) => Promise<T>;
515
+ put: <T = unknown>(pathname: string, payload?: unknown, options?: ApiRequestOptions) => Promise<T>;
516
+ patch: <T = unknown>(pathname: string, payload?: unknown, options?: ApiRequestOptions) => Promise<T>;
517
+ delete: <T = unknown>(pathname: string, options?: ApiRequestOptions) => Promise<T>;
518
+ };
519
+ declare function useApi(): Api;
520
+ //#endregion
521
+ //#region src/client/useCollectionApi.d.ts
522
+ type CollectionApi = {
523
+ get: <T = unknown>(pathname: string, params?: QueryParams, options?: ApiRequestOptions) => Promise<T>;
524
+ post: <T = unknown>(pathname: string, payload?: unknown, options?: ApiRequestOptions) => Promise<T>;
525
+ put: <T = unknown>(pathname: string, payload?: unknown, options?: ApiRequestOptions) => Promise<T>;
526
+ patch: <T = unknown>(pathname: string, payload?: unknown, options?: ApiRequestOptions) => Promise<T>;
527
+ delete: <T = unknown>(pathname: string, options?: ApiRequestOptions) => Promise<T>;
528
+ };
529
+ declare function useCollectionApi(): CollectionApi;
530
+ declare function useCollectionApiGet<T = unknown>(pathname: string, params?: QueryParams, options?: ApiRequestOptions): [T | undefined, boolean, any, react0.Dispatch<any>];
531
+ declare function useCollectionApiPost<T = unknown>(pathname: string, payload: unknown, options?: ApiRequestOptions): [T | undefined, boolean, any, react0.Dispatch<any>];
532
+ declare function useCollectionApiPut<T = unknown>(pathname: string, payload: unknown, options?: ApiRequestOptions): [T | undefined, boolean, any, react0.Dispatch<any>];
533
+ declare function useCollectionApiPatch<T = unknown>(pathname: string, payload: unknown, options?: ApiRequestOptions): [T | undefined, boolean, any, react0.Dispatch<any>];
534
+ declare function useCollectionApiDelete<T = unknown>(pathname: string, options?: ApiRequestOptions): [T | undefined, boolean, any, react0.Dispatch<any>];
535
+ //#endregion
536
+ //#region src/client/useExtra.d.ts
537
+ declare const useExtra: () => IExtraContext;
538
+ //# sourceMappingURL=useExtra.d.ts.map
539
+ //#endregion
540
+ //#region src/client/useHttp.d.ts
541
+ declare function useHttpFetch<T = unknown>(pathname: string, options?: FetchRequestOptions, service?: FetchService<T>, serviceOptions?: unknown): [T | undefined, boolean, FetchError, Dispatch<FetchError>];
542
+ declare function useHttpGet<T = unknown>(pathname: string, options?: FetchRequestOptions): [T | undefined, boolean, any, Dispatch<any>];
543
+ declare function useHttpPost<T = unknown>(pathname: string, payload: unknown, options?: FetchRequestOptions): [T | undefined, boolean, any, Dispatch<any>];
544
+ declare function useHttpPut<T = unknown>(pathname: string, payload: unknown, options?: FetchRequestOptions): [T | undefined, boolean, any, Dispatch<any>];
545
+ declare function useHttpPatch<T = unknown>(pathname: string, payload: unknown, options?: FetchRequestOptions): [T | undefined, boolean, any, Dispatch<any>];
546
+ declare function useHttpDelete<T = unknown>(pathname: string, options?: FetchRequestOptions): [T | undefined, boolean, any, Dispatch<any>];
547
+ //# sourceMappingURL=useHttp.d.ts.map
548
+ //#endregion
549
+ //#region src/client/useLabel.d.ts
550
+ declare const useLabel: () => ILabelContext;
551
+ //# sourceMappingURL=useLabel.d.ts.map
552
+ //#endregion
553
+ //#region src/client/useLayout.d.ts
554
+ declare const useLayout: <T extends IAppExtended = IAppExtended>() => ILayout<T>;
555
+ //# sourceMappingURL=useLayout.d.ts.map
556
+ //#endregion
557
+ //#region src/client/useLink.d.ts
558
+ declare const useLink: () => (category: string) => string | undefined;
559
+ //# sourceMappingURL=useLink.d.ts.map
560
+ //#endregion
561
+ //#region src/client/useMetaData.d.ts
562
+ declare const useMetaData: () => IMetaData;
563
+ //# sourceMappingURL=useMetaData.d.ts.map
564
+ //#endregion
565
+ //#region src/client/usePage.d.ts
566
+ declare const usePage: () => {
567
+ [x: string]: unknown;
568
+ id: _websolutespa_bom_core0.IEquatable;
569
+ schema: string;
570
+ category: {
571
+ readonly [x: number]: string;
572
+ [x: string]: unknown;
573
+ toString: () => string;
574
+ charAt: (pos: number) => string;
575
+ charCodeAt: (index: number) => number;
576
+ concat: (...strings: string[]) => string;
577
+ indexOf: (searchString: string, position?: number) => number;
578
+ lastIndexOf: (searchString: string, position?: number) => number;
579
+ localeCompare: {
580
+ (that: string): number;
581
+ (that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
582
+ (that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
583
+ };
584
+ match: {
585
+ (regexp: string | RegExp): RegExpMatchArray | null;
586
+ (matcher: {
587
+ [Symbol.match](string: string): RegExpMatchArray | null;
588
+ }): RegExpMatchArray | null;
589
+ };
590
+ replace: {
591
+ (searchValue: string | RegExp, replaceValue: string): string;
592
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
593
+ (searchValue: {
594
+ [Symbol.replace](string: string, replaceValue: string): string;
595
+ }, replaceValue: string): string;
596
+ (searchValue: {
597
+ [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
598
+ }, replacer: (substring: string, ...args: any[]) => string): string;
599
+ };
600
+ search: {
601
+ (regexp: string | RegExp): number;
602
+ (searcher: {
603
+ [Symbol.search](string: string): number;
604
+ }): number;
605
+ };
606
+ slice: (start?: number, end?: number) => string;
607
+ split: {
608
+ (separator: string | RegExp, limit?: number): string[];
609
+ (splitter: {
610
+ [Symbol.split](string: string, limit?: number): string[];
611
+ }, limit?: number): string[];
612
+ };
613
+ substring: (start: number, end?: number) => string;
614
+ toLowerCase: () => string;
615
+ toLocaleLowerCase: {
616
+ (locales?: string | string[]): string;
617
+ (locales?: Intl.LocalesArgument): string;
618
+ };
619
+ toUpperCase: () => string;
620
+ toLocaleUpperCase: {
621
+ (locales?: string | string[]): string;
622
+ (locales?: Intl.LocalesArgument): string;
623
+ };
624
+ trim: () => string;
625
+ readonly length: number;
626
+ substr: (from: number, length?: number) => string;
627
+ valueOf: () => string;
628
+ codePointAt: (pos: number) => number | undefined;
629
+ includes: (searchString: string, position?: number) => boolean;
630
+ endsWith: (searchString: string, endPosition?: number) => boolean;
631
+ normalize: {
632
+ (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
633
+ (form?: string): string;
634
+ };
635
+ repeat: (count: number) => string;
636
+ startsWith: (searchString: string, position?: number) => boolean;
637
+ anchor: (name: string) => string;
638
+ big: () => string;
639
+ blink: () => string;
640
+ bold: () => string;
641
+ fixed: () => string;
642
+ fontcolor: (color: string) => string;
643
+ fontsize: {
644
+ (size: number): string;
645
+ (size: string): string;
646
+ };
647
+ italics: () => string;
648
+ link: (url: string) => string;
649
+ small: () => string;
650
+ strike: () => string;
651
+ sub: () => string;
652
+ sup: () => string;
653
+ padStart: (maxLength: number, fillString?: string) => string;
654
+ padEnd: (maxLength: number, fillString?: string) => string;
655
+ trimEnd: () => string;
656
+ trimStart: () => string;
657
+ trimLeft: () => string;
658
+ trimRight: () => string;
659
+ matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
660
+ replaceAll: {
661
+ (searchValue: string | RegExp, replaceValue: string): string;
662
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
663
+ };
664
+ at: (index: number) => string | undefined;
665
+ [Symbol.iterator]: () => StringIterator<string>;
666
+ id: _websolutespa_bom_core0.IEquatable;
667
+ schema?: string | undefined;
668
+ category?: _websolutespa_bom_core0.IEquatable | {
669
+ [x: string]: unknown;
670
+ id: _websolutespa_bom_core0.IEquatable;
671
+ schema?: string | undefined;
672
+ category?: _websolutespa_bom_core0.IEquatable | /*elided*/any | undefined;
673
+ media?: {
674
+ [x: string]: unknown;
675
+ id?: string | undefined;
676
+ alt?: string | undefined;
677
+ filename?: string | undefined;
678
+ mimeType?: string | undefined;
679
+ filesize?: number | undefined;
680
+ focalX?: number | undefined;
681
+ focalY?: number | undefined;
682
+ createdAt?: string | Date | undefined;
683
+ updatedAt?: (Date | string) | undefined;
684
+ url?: string | undefined;
685
+ title?: string | undefined;
686
+ abstract?: string | undefined;
687
+ type: _websolutespa_bom_core0.IMediaType;
688
+ src?: string | undefined;
689
+ media?: /*elided*/any | undefined;
690
+ width?: string | number | undefined;
691
+ height?: string | number | undefined;
692
+ } | undefined;
693
+ order?: number | undefined;
694
+ slug: string;
695
+ title: string;
696
+ isHidden?: boolean | undefined;
697
+ } | undefined;
698
+ media?: {
699
+ [x: string]: unknown;
700
+ id?: string | undefined;
701
+ alt?: string | undefined;
702
+ filename?: string | undefined;
703
+ mimeType?: string | undefined;
704
+ filesize?: number | undefined;
705
+ focalX?: number | undefined;
706
+ focalY?: number | undefined;
707
+ createdAt?: string | Date | undefined;
708
+ updatedAt?: (Date | string) | undefined;
709
+ url?: string | undefined;
710
+ title?: string | undefined;
711
+ abstract?: string | undefined;
712
+ type: _websolutespa_bom_core0.IMediaType;
713
+ src?: string | undefined;
714
+ media?: /*elided*/any | undefined;
715
+ width?: string | number | undefined;
716
+ height?: string | number | undefined;
717
+ } | undefined;
718
+ order?: number | undefined;
719
+ slug: string;
720
+ title: string;
721
+ isHidden?: boolean | undefined;
722
+ href: string;
723
+ } | {
724
+ [x: string]: unknown;
725
+ toString: (radix?: number) => string;
726
+ toFixed: (fractionDigits?: number) => string;
727
+ toExponential: (fractionDigits?: number) => string;
728
+ toPrecision: (precision?: number) => string;
729
+ valueOf: () => number;
730
+ toLocaleString: {
731
+ (locales?: string | string[], options?: Intl.NumberFormatOptions): string;
732
+ (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
733
+ };
734
+ id: _websolutespa_bom_core0.IEquatable;
735
+ schema?: string | undefined;
736
+ category?: _websolutespa_bom_core0.IEquatable | {
737
+ [x: string]: unknown;
738
+ id: _websolutespa_bom_core0.IEquatable;
739
+ schema?: string | undefined;
740
+ category?: _websolutespa_bom_core0.IEquatable | /*elided*/any | undefined;
741
+ media?: {
742
+ [x: string]: unknown;
743
+ id?: string | undefined;
744
+ alt?: string | undefined;
745
+ filename?: string | undefined;
746
+ mimeType?: string | undefined;
747
+ filesize?: number | undefined;
748
+ focalX?: number | undefined;
749
+ focalY?: number | undefined;
750
+ createdAt?: string | Date | undefined;
751
+ updatedAt?: (Date | string) | undefined;
752
+ url?: string | undefined;
753
+ title?: string | undefined;
754
+ abstract?: string | undefined;
755
+ type: _websolutespa_bom_core0.IMediaType;
756
+ src?: string | undefined;
757
+ media?: /*elided*/any | undefined;
758
+ width?: string | number | undefined;
759
+ height?: string | number | undefined;
760
+ } | undefined;
761
+ order?: number | undefined;
762
+ slug: string;
763
+ title: string;
764
+ isHidden?: boolean | undefined;
765
+ } | undefined;
766
+ media?: {
767
+ [x: string]: unknown;
768
+ id?: string | undefined;
769
+ alt?: string | undefined;
770
+ filename?: string | undefined;
771
+ mimeType?: string | undefined;
772
+ filesize?: number | undefined;
773
+ focalX?: number | undefined;
774
+ focalY?: number | undefined;
775
+ createdAt?: string | Date | undefined;
776
+ updatedAt?: (Date | string) | undefined;
777
+ url?: string | undefined;
778
+ title?: string | undefined;
779
+ abstract?: string | undefined;
780
+ type: _websolutespa_bom_core0.IMediaType;
781
+ src?: string | undefined;
782
+ media?: /*elided*/any | undefined;
783
+ width?: string | number | undefined;
784
+ height?: string | number | undefined;
785
+ } | undefined;
786
+ order?: number | undefined;
787
+ slug: string;
788
+ title: string;
789
+ isHidden?: boolean | undefined;
790
+ href: string;
791
+ } | {
792
+ [x: string]: unknown;
793
+ id: _websolutespa_bom_core0.IEquatable;
794
+ schema?: string | undefined;
795
+ category?: _websolutespa_bom_core0.IEquatable | {
796
+ [x: string]: unknown;
797
+ id: _websolutespa_bom_core0.IEquatable;
798
+ schema?: string | undefined;
799
+ category?: _websolutespa_bom_core0.IEquatable | /*elided*/any | undefined;
800
+ media?: {
801
+ [x: string]: unknown;
802
+ id?: string | undefined;
803
+ alt?: string | undefined;
804
+ filename?: string | undefined;
805
+ mimeType?: string | undefined;
806
+ filesize?: number | undefined;
807
+ focalX?: number | undefined;
808
+ focalY?: number | undefined;
809
+ createdAt?: string | Date | undefined;
810
+ updatedAt?: (Date | string) | undefined;
811
+ url?: string | undefined;
812
+ title?: string | undefined;
813
+ abstract?: string | undefined;
814
+ type: _websolutespa_bom_core0.IMediaType;
815
+ src?: string | undefined;
816
+ media?: /*elided*/any | undefined;
817
+ width?: string | number | undefined;
818
+ height?: string | number | undefined;
819
+ } | undefined;
820
+ order?: number | undefined;
821
+ slug: string;
822
+ title: string;
823
+ isHidden?: boolean | undefined;
824
+ } | undefined;
825
+ media?: {
826
+ [x: string]: unknown;
827
+ id?: string | undefined;
828
+ alt?: string | undefined;
829
+ filename?: string | undefined;
830
+ mimeType?: string | undefined;
831
+ filesize?: number | undefined;
832
+ focalX?: number | undefined;
833
+ focalY?: number | undefined;
834
+ createdAt?: string | Date | undefined;
835
+ updatedAt?: (Date | string) | undefined;
836
+ url?: string | undefined;
837
+ title?: string | undefined;
838
+ abstract?: string | undefined;
839
+ type: _websolutespa_bom_core0.IMediaType;
840
+ src?: string | undefined;
841
+ media?: /*elided*/any | undefined;
842
+ width?: string | number | undefined;
843
+ height?: string | number | undefined;
844
+ } | undefined;
845
+ order?: number | undefined;
846
+ slug: string;
847
+ title: string;
848
+ isHidden?: boolean | undefined;
849
+ href: string;
850
+ };
851
+ slug: string;
852
+ title: string;
853
+ _status?: string | undefined;
854
+ abstract?: string | undefined;
855
+ components?: _websolutespa_bom_core0.IComponent[] | undefined;
856
+ createdAt?: Date | undefined;
857
+ description?: string | undefined;
858
+ isDefault?: boolean | undefined;
859
+ isProtected?: boolean | undefined;
860
+ markets?: string[] | undefined;
861
+ media?: {
862
+ [x: string]: unknown;
863
+ id?: string | undefined;
864
+ alt?: string | undefined;
865
+ filename?: string | undefined;
866
+ mimeType?: string | undefined;
867
+ filesize?: number | undefined;
868
+ focalX?: number | undefined;
869
+ focalY?: number | undefined;
870
+ createdAt?: string | Date | undefined;
871
+ updatedAt?: (Date | string) | undefined;
872
+ url?: string | undefined;
873
+ title?: string | undefined;
874
+ abstract?: string | undefined;
875
+ type: _websolutespa_bom_core0.IMediaType;
876
+ src?: string | undefined;
877
+ media?: /*elided*/any | undefined;
878
+ width?: string | number | undefined;
879
+ height?: string | number | undefined;
880
+ } | undefined;
881
+ meta?: {
882
+ title?: string | undefined;
883
+ description?: string | undefined;
884
+ keywords?: string | undefined;
885
+ robots?: string | undefined;
886
+ image?: {
887
+ [x: string]: unknown;
888
+ id?: string | undefined;
889
+ alt?: string | undefined;
890
+ filename?: string | undefined;
891
+ mimeType?: string | undefined;
892
+ filesize?: number | undefined;
893
+ focalX?: number | undefined;
894
+ focalY?: number | undefined;
895
+ createdAt?: string | Date | undefined;
896
+ updatedAt?: (Date | string) | undefined;
897
+ url?: string | undefined;
898
+ title?: string | undefined;
899
+ abstract?: string | undefined;
900
+ type: _websolutespa_bom_core0.IMediaType;
901
+ src?: string | undefined;
902
+ media?: /*elided*/any | undefined;
903
+ width?: string | number | undefined;
904
+ height?: string | number | undefined;
905
+ } | undefined;
906
+ } | undefined;
907
+ order?: number | undefined;
908
+ publicRedirect?: _websolutespa_bom_core0.IEquatable | {
909
+ [x: string]: unknown;
910
+ id: _websolutespa_bom_core0.IEquatable;
911
+ schema?: string | undefined;
912
+ } | {
913
+ relationTo: string;
914
+ value: _websolutespa_bom_core0.IEquatable | _websolutespa_bom_core0.IEquatable[];
915
+ } | undefined;
916
+ template?: string | undefined;
917
+ updatedAt?: Date | undefined;
918
+ useSplat?: boolean | undefined;
919
+ alternates: _websolutespa_bom_core0.IRoute[];
920
+ breadcrumb: _websolutespa_bom_core0.IRouteLink[];
921
+ href: string;
922
+ locale: string;
923
+ market: string;
924
+ parentRoute?: {
925
+ category: _websolutespa_bom_core0.IEquatable;
926
+ href: string;
927
+ id: _websolutespa_bom_core0.IEquatable;
928
+ items?: _websolutespa_bom_core0.IRouteLink[] | undefined;
929
+ media?: {
930
+ [x: string]: unknown;
931
+ id?: string | undefined;
932
+ alt?: string | undefined;
933
+ filename?: string | undefined;
934
+ mimeType?: string | undefined;
935
+ filesize?: number | undefined;
936
+ focalX?: number | undefined;
937
+ focalY?: number | undefined;
938
+ createdAt?: string | Date | undefined;
939
+ updatedAt?: (Date | string) | undefined;
940
+ url?: string | undefined;
941
+ title?: string | undefined;
942
+ abstract?: string | undefined;
943
+ type: _websolutespa_bom_core0.IMediaType;
944
+ src?: string | undefined;
945
+ media?: /*elided*/any | undefined;
946
+ width?: string | number | undefined;
947
+ height?: string | number | undefined;
948
+ } | undefined;
949
+ schema: string;
950
+ title: string;
951
+ } | undefined;
952
+ };
953
+ //# sourceMappingURL=usePage.d.ts.map
954
+ //#endregion
955
+ //#region src/client/user.d.ts
956
+ type UserContextType = {
957
+ user?: IEndUser | IUser | null;
958
+ setUser: (user?: IEndUser | IUser | null) => void;
959
+ };
960
+ declare const UserContext: react0.Context<UserContextType>;
961
+ declare function UserProvider({
962
+ children
963
+ }: {
964
+ children: ReactNode;
965
+ }): react0.JSX.Element;
966
+ //# sourceMappingURL=user.d.ts.map
967
+ //#endregion
968
+ //#region src/client/useUser.d.ts
969
+ declare const useUser: () => UserContextType;
970
+ //# sourceMappingURL=useUser.d.ts.map
971
+ //#endregion
972
+ //#region src/instrumentation/client.d.ts
973
+ declare function registerClientIntrumentation(): void;
974
+ declare function captureRouterTransitionStart(href: string, navigationType: string): void;
975
+ //# sourceMappingURL=client.d.ts.map
976
+
977
+ //#endregion
978
+ export { Client, ExtraContext, ExtraProvider, IExtraContext, ILabelContext, ILayoutContext, IMetaDataContext, IMetaDataOptions, IPageContext, LabelContext, LabelProvider, LayoutContext, LayoutProvider, MetaDataContext, MetaDataProvider, PageContext, PageProvider, UserContext, UserContextType, UserProvider, captureRouterTransitionStart, localCollectionDelete, localCollectionFetch, localCollectionGet, localCollectionPatch, localCollectionPost, localCollectionPut, registerClientIntrumentation, useApi, useApiDelete, useApiFetch, useApiGet, useApiPatch, useApiPost, useApiPut, useCollectionApi, useCollectionApiDelete, useCollectionApiGet, useCollectionApiPatch, useCollectionApiPost, useCollectionApiPut, useExtra, useHttpDelete, useHttpFetch, useHttpGet, useHttpPatch, useHttpPost, useHttpPut, useLabel, useLayout, useLink, useMetaData, usePage, useUser };
979
+ //# sourceMappingURL=client-xcFJNcG7.d.ts.map