@nexo-labs/payload-stripe-inventory 1.6.9 → 1.6.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index-D-NQPUJO.d.mts +892 -0
- package/dist/index-D-NQPUJO.d.mts.map +1 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/server/index.d.mts +18 -23864
- package/dist/server/index.d.mts.map +1 -1
- package/package.json +4 -4
- package/dist/index-Buwcou7F.d.mts +0 -2282
- package/dist/index-Buwcou7F.d.mts.map +0 -1
|
@@ -1,2282 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" preserve="true" />
|
|
2
|
-
/// <reference types="react" preserve="true" />
|
|
3
|
-
/// <reference types="react/experimental" preserve="true" />
|
|
4
|
-
/// <reference types="react-dom" preserve="true" />
|
|
5
|
-
/// <reference types="react-dom/experimental" preserve="true" />
|
|
6
|
-
/// <reference types="node" />
|
|
7
|
-
/// <reference types="react" />
|
|
8
|
-
///<reference path='./lib.d.ts' />
|
|
9
|
-
///<reference path='./crypto/crypto.d.ts' />
|
|
10
|
-
///<reference path='./net/net.d.ts' />
|
|
11
|
-
///<reference path='./shared.d.ts' />
|
|
12
|
-
///<reference path='./Errors.d.ts' />
|
|
13
|
-
///<reference path='./OAuth.d.ts' />
|
|
14
|
-
///<reference path='./Webhooks.d.ts' />
|
|
15
|
-
///<reference path='./EventTypes.d.ts' />
|
|
16
|
-
///<reference path='./UpcomingInvoices.d.ts' />
|
|
17
|
-
///<reference path='./Deprecations.d.ts' />
|
|
18
|
-
///<reference path='./ThinEvent.d.ts' />
|
|
19
|
-
|
|
20
|
-
///<reference path='./AccountLinksResource.d.ts' />
|
|
21
|
-
///<reference path='./AccountSessionsResource.d.ts' />
|
|
22
|
-
///<reference path='./AccountsResource.d.ts' />
|
|
23
|
-
///<reference path='./ApplePayDomainsResource.d.ts' />
|
|
24
|
-
///<reference path='./ApplicationFeesResource.d.ts' />
|
|
25
|
-
///<reference path='./Apps/SecretsResource.d.ts' />
|
|
26
|
-
///<reference path='./BalanceResource.d.ts' />
|
|
27
|
-
///<reference path='./BalanceTransactionsResource.d.ts' />
|
|
28
|
-
///<reference path='./Billing/AlertsResource.d.ts' />
|
|
29
|
-
///<reference path='./Billing/CreditBalanceSummaryResource.d.ts' />
|
|
30
|
-
///<reference path='./Billing/CreditBalanceTransactionsResource.d.ts' />
|
|
31
|
-
///<reference path='./Billing/CreditGrantsResource.d.ts' />
|
|
32
|
-
///<reference path='./Billing/MeterEventAdjustmentsResource.d.ts' />
|
|
33
|
-
///<reference path='./Billing/MeterEventsResource.d.ts' />
|
|
34
|
-
///<reference path='./Billing/MetersResource.d.ts' />
|
|
35
|
-
///<reference path='./BillingPortal/ConfigurationsResource.d.ts' />
|
|
36
|
-
///<reference path='./BillingPortal/SessionsResource.d.ts' />
|
|
37
|
-
///<reference path='./ChargesResource.d.ts' />
|
|
38
|
-
///<reference path='./Checkout/SessionsResource.d.ts' />
|
|
39
|
-
///<reference path='./Climate/OrdersResource.d.ts' />
|
|
40
|
-
///<reference path='./Climate/ProductsResource.d.ts' />
|
|
41
|
-
///<reference path='./Climate/SuppliersResource.d.ts' />
|
|
42
|
-
///<reference path='./ConfirmationTokensResource.d.ts' />
|
|
43
|
-
///<reference path='./CountrySpecsResource.d.ts' />
|
|
44
|
-
///<reference path='./CouponsResource.d.ts' />
|
|
45
|
-
///<reference path='./CreditNotesResource.d.ts' />
|
|
46
|
-
///<reference path='./CustomerSessionsResource.d.ts' />
|
|
47
|
-
///<reference path='./CustomersResource.d.ts' />
|
|
48
|
-
///<reference path='./DisputesResource.d.ts' />
|
|
49
|
-
///<reference path='./Entitlements/ActiveEntitlementsResource.d.ts' />
|
|
50
|
-
///<reference path='./Entitlements/FeaturesResource.d.ts' />
|
|
51
|
-
///<reference path='./EphemeralKeysResource.d.ts' />
|
|
52
|
-
///<reference path='./EventsResource.d.ts' />
|
|
53
|
-
///<reference path='./ExchangeRatesResource.d.ts' />
|
|
54
|
-
///<reference path='./FileLinksResource.d.ts' />
|
|
55
|
-
///<reference path='./FilesResource.d.ts' />
|
|
56
|
-
///<reference path='./FinancialConnections/AccountsResource.d.ts' />
|
|
57
|
-
///<reference path='./FinancialConnections/SessionsResource.d.ts' />
|
|
58
|
-
///<reference path='./FinancialConnections/TransactionsResource.d.ts' />
|
|
59
|
-
///<reference path='./Forwarding/RequestsResource.d.ts' />
|
|
60
|
-
///<reference path='./Identity/VerificationReportsResource.d.ts' />
|
|
61
|
-
///<reference path='./Identity/VerificationSessionsResource.d.ts' />
|
|
62
|
-
///<reference path='./InvoiceItemsResource.d.ts' />
|
|
63
|
-
///<reference path='./InvoiceRenderingTemplatesResource.d.ts' />
|
|
64
|
-
///<reference path='./InvoicesResource.d.ts' />
|
|
65
|
-
///<reference path='./Issuing/AuthorizationsResource.d.ts' />
|
|
66
|
-
///<reference path='./Issuing/CardholdersResource.d.ts' />
|
|
67
|
-
///<reference path='./Issuing/CardsResource.d.ts' />
|
|
68
|
-
///<reference path='./Issuing/DisputesResource.d.ts' />
|
|
69
|
-
///<reference path='./Issuing/PersonalizationDesignsResource.d.ts' />
|
|
70
|
-
///<reference path='./Issuing/PhysicalBundlesResource.d.ts' />
|
|
71
|
-
///<reference path='./Issuing/TokensResource.d.ts' />
|
|
72
|
-
///<reference path='./Issuing/TransactionsResource.d.ts' />
|
|
73
|
-
///<reference path='./MandatesResource.d.ts' />
|
|
74
|
-
///<reference path='./PaymentIntentsResource.d.ts' />
|
|
75
|
-
///<reference path='./PaymentLinksResource.d.ts' />
|
|
76
|
-
///<reference path='./PaymentMethodConfigurationsResource.d.ts' />
|
|
77
|
-
///<reference path='./PaymentMethodDomainsResource.d.ts' />
|
|
78
|
-
///<reference path='./PaymentMethodsResource.d.ts' />
|
|
79
|
-
///<reference path='./PayoutsResource.d.ts' />
|
|
80
|
-
///<reference path='./PlansResource.d.ts' />
|
|
81
|
-
///<reference path='./PricesResource.d.ts' />
|
|
82
|
-
///<reference path='./ProductsResource.d.ts' />
|
|
83
|
-
///<reference path='./PromotionCodesResource.d.ts' />
|
|
84
|
-
///<reference path='./QuotesResource.d.ts' />
|
|
85
|
-
///<reference path='./Radar/EarlyFraudWarningsResource.d.ts' />
|
|
86
|
-
///<reference path='./Radar/ValueListItemsResource.d.ts' />
|
|
87
|
-
///<reference path='./Radar/ValueListsResource.d.ts' />
|
|
88
|
-
///<reference path='./RefundsResource.d.ts' />
|
|
89
|
-
///<reference path='./Reporting/ReportRunsResource.d.ts' />
|
|
90
|
-
///<reference path='./Reporting/ReportTypesResource.d.ts' />
|
|
91
|
-
///<reference path='./ReviewsResource.d.ts' />
|
|
92
|
-
///<reference path='./SetupAttemptsResource.d.ts' />
|
|
93
|
-
///<reference path='./SetupIntentsResource.d.ts' />
|
|
94
|
-
///<reference path='./ShippingRatesResource.d.ts' />
|
|
95
|
-
///<reference path='./Sigma/ScheduledQueryRunsResource.d.ts' />
|
|
96
|
-
///<reference path='./SourcesResource.d.ts' />
|
|
97
|
-
///<reference path='./SubscriptionItemsResource.d.ts' />
|
|
98
|
-
///<reference path='./SubscriptionSchedulesResource.d.ts' />
|
|
99
|
-
///<reference path='./SubscriptionsResource.d.ts' />
|
|
100
|
-
///<reference path='./Tax/CalculationsResource.d.ts' />
|
|
101
|
-
///<reference path='./Tax/RegistrationsResource.d.ts' />
|
|
102
|
-
///<reference path='./Tax/SettingsResource.d.ts' />
|
|
103
|
-
///<reference path='./Tax/TransactionsResource.d.ts' />
|
|
104
|
-
///<reference path='./TaxCodesResource.d.ts' />
|
|
105
|
-
///<reference path='./TaxIdsResource.d.ts' />
|
|
106
|
-
///<reference path='./TaxRatesResource.d.ts' />
|
|
107
|
-
///<reference path='./Terminal/ConfigurationsResource.d.ts' />
|
|
108
|
-
///<reference path='./Terminal/ConnectionTokensResource.d.ts' />
|
|
109
|
-
///<reference path='./Terminal/LocationsResource.d.ts' />
|
|
110
|
-
///<reference path='./Terminal/ReadersResource.d.ts' />
|
|
111
|
-
///<reference path='./TestHelpers/ConfirmationTokensResource.d.ts' />
|
|
112
|
-
///<reference path='./TestHelpers/CustomersResource.d.ts' />
|
|
113
|
-
///<reference path='./TestHelpers/Issuing/AuthorizationsResource.d.ts' />
|
|
114
|
-
///<reference path='./TestHelpers/Issuing/CardsResource.d.ts' />
|
|
115
|
-
///<reference path='./TestHelpers/Issuing/PersonalizationDesignsResource.d.ts' />
|
|
116
|
-
///<reference path='./TestHelpers/Issuing/TransactionsResource.d.ts' />
|
|
117
|
-
///<reference path='./TestHelpers/RefundsResource.d.ts' />
|
|
118
|
-
///<reference path='./TestHelpers/Terminal/ReadersResource.d.ts' />
|
|
119
|
-
///<reference path='./TestHelpers/TestClocksResource.d.ts' />
|
|
120
|
-
///<reference path='./TestHelpers/Treasury/InboundTransfersResource.d.ts' />
|
|
121
|
-
///<reference path='./TestHelpers/Treasury/OutboundPaymentsResource.d.ts' />
|
|
122
|
-
///<reference path='./TestHelpers/Treasury/OutboundTransfersResource.d.ts' />
|
|
123
|
-
///<reference path='./TestHelpers/Treasury/ReceivedCreditsResource.d.ts' />
|
|
124
|
-
///<reference path='./TestHelpers/Treasury/ReceivedDebitsResource.d.ts' />
|
|
125
|
-
///<reference path='./TokensResource.d.ts' />
|
|
126
|
-
///<reference path='./TopupsResource.d.ts' />
|
|
127
|
-
///<reference path='./TransfersResource.d.ts' />
|
|
128
|
-
///<reference path='./Treasury/CreditReversalsResource.d.ts' />
|
|
129
|
-
///<reference path='./Treasury/DebitReversalsResource.d.ts' />
|
|
130
|
-
///<reference path='./Treasury/FinancialAccountsResource.d.ts' />
|
|
131
|
-
///<reference path='./Treasury/InboundTransfersResource.d.ts' />
|
|
132
|
-
///<reference path='./Treasury/OutboundPaymentsResource.d.ts' />
|
|
133
|
-
///<reference path='./Treasury/OutboundTransfersResource.d.ts' />
|
|
134
|
-
///<reference path='./Treasury/ReceivedCreditsResource.d.ts' />
|
|
135
|
-
///<reference path='./Treasury/ReceivedDebitsResource.d.ts' />
|
|
136
|
-
///<reference path='./Treasury/TransactionEntriesResource.d.ts' />
|
|
137
|
-
///<reference path='./Treasury/TransactionsResource.d.ts' />
|
|
138
|
-
///<reference path='./V2/Billing/MeterEventAdjustmentsResource.d.ts' />
|
|
139
|
-
///<reference path='./V2/Billing/MeterEventSessionResource.d.ts' />
|
|
140
|
-
///<reference path='./V2/Billing/MeterEventStreamResource.d.ts' />
|
|
141
|
-
///<reference path='./V2/Billing/MeterEventsResource.d.ts' />
|
|
142
|
-
///<reference path='./V2/BillingResource.d.ts' />
|
|
143
|
-
///<reference path='./V2/Core/EventsResource.d.ts' />
|
|
144
|
-
///<reference path='./V2/CoreResource.d.ts' />
|
|
145
|
-
///<reference path='./V2Resource.d.ts' />
|
|
146
|
-
///<reference path='./WebhookEndpointsResource.d.ts' />
|
|
147
|
-
///<reference path='./AccountLinks.d.ts' />
|
|
148
|
-
///<reference path='./AccountSessions.d.ts' />
|
|
149
|
-
///<reference path='./Accounts.d.ts' />
|
|
150
|
-
///<reference path='./ApplePayDomains.d.ts' />
|
|
151
|
-
///<reference path='./ApplicationFees.d.ts' />
|
|
152
|
-
///<reference path='./Applications.d.ts' />
|
|
153
|
-
///<reference path='./Apps/Secrets.d.ts' />
|
|
154
|
-
///<reference path='./Balance.d.ts' />
|
|
155
|
-
///<reference path='./BalanceTransactionSources.d.ts' />
|
|
156
|
-
///<reference path='./BalanceTransactions.d.ts' />
|
|
157
|
-
///<reference path='./BankAccounts.d.ts' />
|
|
158
|
-
///<reference path='./Billing/AlertTriggereds.d.ts' />
|
|
159
|
-
///<reference path='./Billing/Alerts.d.ts' />
|
|
160
|
-
///<reference path='./Billing/CreditBalanceSummary.d.ts' />
|
|
161
|
-
///<reference path='./Billing/CreditBalanceTransactions.d.ts' />
|
|
162
|
-
///<reference path='./Billing/CreditGrants.d.ts' />
|
|
163
|
-
///<reference path='./Billing/MeterEventAdjustments.d.ts' />
|
|
164
|
-
///<reference path='./Billing/MeterEventSummaries.d.ts' />
|
|
165
|
-
///<reference path='./Billing/MeterEvents.d.ts' />
|
|
166
|
-
///<reference path='./Billing/Meters.d.ts' />
|
|
167
|
-
///<reference path='./BillingPortal/Configurations.d.ts' />
|
|
168
|
-
///<reference path='./BillingPortal/Sessions.d.ts' />
|
|
169
|
-
///<reference path='./Capabilities.d.ts' />
|
|
170
|
-
///<reference path='./Cards.d.ts' />
|
|
171
|
-
///<reference path='./CashBalances.d.ts' />
|
|
172
|
-
///<reference path='./Charges.d.ts' />
|
|
173
|
-
///<reference path='./Checkout/Sessions.d.ts' />
|
|
174
|
-
///<reference path='./Climate/Orders.d.ts' />
|
|
175
|
-
///<reference path='./Climate/Products.d.ts' />
|
|
176
|
-
///<reference path='./Climate/Suppliers.d.ts' />
|
|
177
|
-
///<reference path='./ConfirmationTokens.d.ts' />
|
|
178
|
-
///<reference path='./ConnectCollectionTransfers.d.ts' />
|
|
179
|
-
///<reference path='./CountrySpecs.d.ts' />
|
|
180
|
-
///<reference path='./Coupons.d.ts' />
|
|
181
|
-
///<reference path='./CreditNoteLineItems.d.ts' />
|
|
182
|
-
///<reference path='./CreditNotes.d.ts' />
|
|
183
|
-
///<reference path='./CustomerBalanceTransactions.d.ts' />
|
|
184
|
-
///<reference path='./CustomerCashBalanceTransactions.d.ts' />
|
|
185
|
-
///<reference path='./CustomerSessions.d.ts' />
|
|
186
|
-
///<reference path='./CustomerSources.d.ts' />
|
|
187
|
-
///<reference path='./Customers.d.ts' />
|
|
188
|
-
///<reference path='./Discounts.d.ts' />
|
|
189
|
-
///<reference path='./Disputes.d.ts' />
|
|
190
|
-
///<reference path='./Entitlements/ActiveEntitlementSummaries.d.ts' />
|
|
191
|
-
///<reference path='./Entitlements/ActiveEntitlements.d.ts' />
|
|
192
|
-
///<reference path='./Entitlements/Features.d.ts' />
|
|
193
|
-
///<reference path='./EphemeralKeys.d.ts' />
|
|
194
|
-
///<reference path='./Events.d.ts' />
|
|
195
|
-
///<reference path='./ExchangeRates.d.ts' />
|
|
196
|
-
///<reference path='./ExternalAccounts.d.ts' />
|
|
197
|
-
///<reference path='./FeeRefunds.d.ts' />
|
|
198
|
-
///<reference path='./FileLinks.d.ts' />
|
|
199
|
-
///<reference path='./Files.d.ts' />
|
|
200
|
-
///<reference path='./FinancialConnections/AccountOwners.d.ts' />
|
|
201
|
-
///<reference path='./FinancialConnections/AccountOwnerships.d.ts' />
|
|
202
|
-
///<reference path='./FinancialConnections/Accounts.d.ts' />
|
|
203
|
-
///<reference path='./FinancialConnections/Sessions.d.ts' />
|
|
204
|
-
///<reference path='./FinancialConnections/Transactions.d.ts' />
|
|
205
|
-
///<reference path='./Forwarding/Requests.d.ts' />
|
|
206
|
-
///<reference path='./FundingInstructions.d.ts' />
|
|
207
|
-
///<reference path='./Identity/VerificationReports.d.ts' />
|
|
208
|
-
///<reference path='./Identity/VerificationSessions.d.ts' />
|
|
209
|
-
///<reference path='./InvoiceItems.d.ts' />
|
|
210
|
-
///<reference path='./InvoiceLineItems.d.ts' />
|
|
211
|
-
///<reference path='./InvoiceRenderingTemplates.d.ts' />
|
|
212
|
-
///<reference path='./Invoices.d.ts' />
|
|
213
|
-
///<reference path='./Issuing/Authorizations.d.ts' />
|
|
214
|
-
///<reference path='./Issuing/Cardholders.d.ts' />
|
|
215
|
-
///<reference path='./Issuing/Cards.d.ts' />
|
|
216
|
-
///<reference path='./Issuing/Disputes.d.ts' />
|
|
217
|
-
///<reference path='./Issuing/PersonalizationDesigns.d.ts' />
|
|
218
|
-
///<reference path='./Issuing/PhysicalBundles.d.ts' />
|
|
219
|
-
///<reference path='./Issuing/Tokens.d.ts' />
|
|
220
|
-
///<reference path='./Issuing/Transactions.d.ts' />
|
|
221
|
-
///<reference path='./LineItems.d.ts' />
|
|
222
|
-
///<reference path='./LoginLinks.d.ts' />
|
|
223
|
-
///<reference path='./Mandates.d.ts' />
|
|
224
|
-
///<reference path='./PaymentIntents.d.ts' />
|
|
225
|
-
///<reference path='./PaymentLinks.d.ts' />
|
|
226
|
-
///<reference path='./PaymentMethodConfigurations.d.ts' />
|
|
227
|
-
///<reference path='./PaymentMethodDomains.d.ts' />
|
|
228
|
-
///<reference path='./PaymentMethods.d.ts' />
|
|
229
|
-
///<reference path='./Payouts.d.ts' />
|
|
230
|
-
///<reference path='./Persons.d.ts' />
|
|
231
|
-
///<reference path='./Plans.d.ts' />
|
|
232
|
-
///<reference path='./Prices.d.ts' />
|
|
233
|
-
///<reference path='./ProductFeatures.d.ts' />
|
|
234
|
-
///<reference path='./Products.d.ts' />
|
|
235
|
-
///<reference path='./PromotionCodes.d.ts' />
|
|
236
|
-
///<reference path='./Quotes.d.ts' />
|
|
237
|
-
///<reference path='./Radar/EarlyFraudWarnings.d.ts' />
|
|
238
|
-
///<reference path='./Radar/ValueListItems.d.ts' />
|
|
239
|
-
///<reference path='./Radar/ValueLists.d.ts' />
|
|
240
|
-
///<reference path='./Refunds.d.ts' />
|
|
241
|
-
///<reference path='./Reporting/ReportRuns.d.ts' />
|
|
242
|
-
///<reference path='./Reporting/ReportTypes.d.ts' />
|
|
243
|
-
///<reference path='./ReserveTransactions.d.ts' />
|
|
244
|
-
///<reference path='./Reviews.d.ts' />
|
|
245
|
-
///<reference path='./SetupAttempts.d.ts' />
|
|
246
|
-
///<reference path='./SetupIntents.d.ts' />
|
|
247
|
-
///<reference path='./ShippingRates.d.ts' />
|
|
248
|
-
///<reference path='./Sigma/ScheduledQueryRuns.d.ts' />
|
|
249
|
-
///<reference path='./SourceMandateNotifications.d.ts' />
|
|
250
|
-
///<reference path='./SourceTransactions.d.ts' />
|
|
251
|
-
///<reference path='./Sources.d.ts' />
|
|
252
|
-
///<reference path='./SubscriptionItems.d.ts' />
|
|
253
|
-
///<reference path='./SubscriptionSchedules.d.ts' />
|
|
254
|
-
///<reference path='./Subscriptions.d.ts' />
|
|
255
|
-
///<reference path='./Tax/CalculationLineItems.d.ts' />
|
|
256
|
-
///<reference path='./Tax/Calculations.d.ts' />
|
|
257
|
-
///<reference path='./Tax/Registrations.d.ts' />
|
|
258
|
-
///<reference path='./Tax/Settings.d.ts' />
|
|
259
|
-
///<reference path='./Tax/TransactionLineItems.d.ts' />
|
|
260
|
-
///<reference path='./Tax/Transactions.d.ts' />
|
|
261
|
-
///<reference path='./TaxCodes.d.ts' />
|
|
262
|
-
///<reference path='./TaxDeductedAtSources.d.ts' />
|
|
263
|
-
///<reference path='./TaxIds.d.ts' />
|
|
264
|
-
///<reference path='./TaxRates.d.ts' />
|
|
265
|
-
///<reference path='./Terminal/Configurations.d.ts' />
|
|
266
|
-
///<reference path='./Terminal/ConnectionTokens.d.ts' />
|
|
267
|
-
///<reference path='./Terminal/Locations.d.ts' />
|
|
268
|
-
///<reference path='./Terminal/Readers.d.ts' />
|
|
269
|
-
///<reference path='./TestHelpers/TestClocks.d.ts' />
|
|
270
|
-
///<reference path='./Tokens.d.ts' />
|
|
271
|
-
///<reference path='./Topups.d.ts' />
|
|
272
|
-
///<reference path='./TransferReversals.d.ts' />
|
|
273
|
-
///<reference path='./Transfers.d.ts' />
|
|
274
|
-
///<reference path='./Treasury/CreditReversals.d.ts' />
|
|
275
|
-
///<reference path='./Treasury/DebitReversals.d.ts' />
|
|
276
|
-
///<reference path='./Treasury/FinancialAccountFeatures.d.ts' />
|
|
277
|
-
///<reference path='./Treasury/FinancialAccounts.d.ts' />
|
|
278
|
-
///<reference path='./Treasury/InboundTransfers.d.ts' />
|
|
279
|
-
///<reference path='./Treasury/OutboundPayments.d.ts' />
|
|
280
|
-
///<reference path='./Treasury/OutboundTransfers.d.ts' />
|
|
281
|
-
///<reference path='./Treasury/ReceivedCredits.d.ts' />
|
|
282
|
-
///<reference path='./Treasury/ReceivedDebits.d.ts' />
|
|
283
|
-
///<reference path='./Treasury/TransactionEntries.d.ts' />
|
|
284
|
-
///<reference path='./Treasury/Transactions.d.ts' />
|
|
285
|
-
///<reference path='./UsageRecordSummaries.d.ts' />
|
|
286
|
-
///<reference path='./UsageRecords.d.ts' />
|
|
287
|
-
///<reference path='./V2/Billing/MeterEventAdjustments.d.ts' />
|
|
288
|
-
///<reference path='./V2/Billing/MeterEventSessions.d.ts' />
|
|
289
|
-
///<reference path='./V2/Billing/MeterEvents.d.ts' />
|
|
290
|
-
///<reference path='./V2/Events.d.ts' />
|
|
291
|
-
///<reference path='./WebhookEndpoints.d.ts' />
|
|
292
|
-
import { AsyncLocalStorage } from "async_hooks";
|
|
293
|
-
import React$1 from "react";
|
|
294
|
-
import { Agent, IncomingHttpHeaders, IncomingMessage, OutgoingHttpHeaders } from "http";
|
|
295
|
-
import { Agent as Agent$1 } from "https";
|
|
296
|
-
import { ParsedUrlQuery } from "querystring";
|
|
297
|
-
import { Duplex, Readable } from "stream";
|
|
298
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
299
|
-
|
|
300
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/lib/load-custom-routes.d.ts
|
|
301
|
-
type RouteHas = {
|
|
302
|
-
type: string;
|
|
303
|
-
key: string;
|
|
304
|
-
value?: string;
|
|
305
|
-
} | {
|
|
306
|
-
type: 'host';
|
|
307
|
-
key?: undefined;
|
|
308
|
-
value: string;
|
|
309
|
-
};
|
|
310
|
-
//#endregion
|
|
311
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/base-http/index.d.ts
|
|
312
|
-
type FetchMetric = {
|
|
313
|
-
url: string;
|
|
314
|
-
idx: number;
|
|
315
|
-
end: number;
|
|
316
|
-
start: number;
|
|
317
|
-
method: string;
|
|
318
|
-
status: number;
|
|
319
|
-
cacheReason: string;
|
|
320
|
-
cacheStatus: 'hit' | 'miss' | 'skip' | 'hmr';
|
|
321
|
-
cacheWarning?: string;
|
|
322
|
-
};
|
|
323
|
-
declare abstract class BaseNextRequest<Body = any> {
|
|
324
|
-
method: string;
|
|
325
|
-
url: string;
|
|
326
|
-
body: Body;
|
|
327
|
-
protected _cookies: NextApiRequestCookies | undefined;
|
|
328
|
-
abstract headers: IncomingHttpHeaders;
|
|
329
|
-
abstract fetchMetrics: FetchMetric[] | undefined;
|
|
330
|
-
constructor(method: string, url: string, body: Body);
|
|
331
|
-
get cookies(): Partial<{
|
|
332
|
-
[key: string]: string;
|
|
333
|
-
}>;
|
|
334
|
-
}
|
|
335
|
-
//#endregion
|
|
336
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/api-utils/index.d.ts
|
|
337
|
-
type NextApiRequestCookies = Partial<{
|
|
338
|
-
[key: string]: string;
|
|
339
|
-
}>;
|
|
340
|
-
//#endregion
|
|
341
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/build/analysis/get-page-static-info.d.ts
|
|
342
|
-
type MiddlewareMatcher = {
|
|
343
|
-
regexp: string;
|
|
344
|
-
locale?: false;
|
|
345
|
-
has?: RouteHas[];
|
|
346
|
-
missing?: RouteHas[];
|
|
347
|
-
originalSource: string;
|
|
348
|
-
};
|
|
349
|
-
//#endregion
|
|
350
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/route-kind.d.ts
|
|
351
|
-
declare const enum RouteKind {
|
|
352
|
-
/**
|
|
353
|
-
* `PAGES` represents all the React pages that are under `pages/`.
|
|
354
|
-
*/
|
|
355
|
-
PAGES = "PAGES",
|
|
356
|
-
/**
|
|
357
|
-
* `PAGES_API` represents all the API routes under `pages/api/`.
|
|
358
|
-
*/
|
|
359
|
-
PAGES_API = "PAGES_API",
|
|
360
|
-
/**
|
|
361
|
-
* `APP_PAGE` represents all the React pages that are under `app/` with the
|
|
362
|
-
* filename of `page.{j,t}s{,x}`.
|
|
363
|
-
*/
|
|
364
|
-
APP_PAGE = "APP_PAGE",
|
|
365
|
-
/**
|
|
366
|
-
* `APP_ROUTE` represents all the API routes and metadata routes that are under `app/` with the
|
|
367
|
-
* filename of `route.{j,t}s{,x}`.
|
|
368
|
-
*/
|
|
369
|
-
APP_ROUTE = "APP_ROUTE",
|
|
370
|
-
/**
|
|
371
|
-
* `IMAGE` represents all the images that are generated by `next/image`.
|
|
372
|
-
*/
|
|
373
|
-
IMAGE = "IMAGE",
|
|
374
|
-
}
|
|
375
|
-
//#endregion
|
|
376
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/response-cache/types.d.ts
|
|
377
|
-
interface ServerComponentsHmrCache {
|
|
378
|
-
get(key: string): CachedFetchData | undefined;
|
|
379
|
-
set(key: string, data: CachedFetchData): void;
|
|
380
|
-
}
|
|
381
|
-
type CachedFetchData = {
|
|
382
|
-
headers: Record<string, string>;
|
|
383
|
-
body: string;
|
|
384
|
-
url: string;
|
|
385
|
-
status?: number;
|
|
386
|
-
};
|
|
387
|
-
//#endregion
|
|
388
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/shared/lib/constants.d.ts
|
|
389
|
-
declare const COMPILER_NAMES: {
|
|
390
|
-
readonly client: "client";
|
|
391
|
-
readonly server: "server";
|
|
392
|
-
readonly edgeServer: "edge-server";
|
|
393
|
-
};
|
|
394
|
-
//#endregion
|
|
395
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/route-definitions/route-definition.d.ts
|
|
396
|
-
interface RouteDefinition<K extends RouteKind = RouteKind> {
|
|
397
|
-
readonly kind: K;
|
|
398
|
-
readonly bundlePath: string;
|
|
399
|
-
readonly filename: string;
|
|
400
|
-
/**
|
|
401
|
-
* Describes the pathname including all internal modifiers such as
|
|
402
|
-
* intercepting routes, parallel routes and route/page suffixes that are not
|
|
403
|
-
* part of the pathname.
|
|
404
|
-
*/
|
|
405
|
-
readonly page: string;
|
|
406
|
-
/**
|
|
407
|
-
* The pathname (including dynamic placeholders) for a route to resolve.
|
|
408
|
-
*/
|
|
409
|
-
readonly pathname: string;
|
|
410
|
-
}
|
|
411
|
-
//#endregion
|
|
412
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/route-matches/route-match.d.ts
|
|
413
|
-
/**
|
|
414
|
-
* RouteMatch is the resolved match for a given request. This will contain all
|
|
415
|
-
* the dynamic parameters used for this route.
|
|
416
|
-
*/
|
|
417
|
-
interface RouteMatch<D extends RouteDefinition = RouteDefinition> {
|
|
418
|
-
readonly definition: D;
|
|
419
|
-
/**
|
|
420
|
-
* params when provided are the dynamic route parameters that were parsed from
|
|
421
|
-
* the incoming request pathname. If a route match is returned without any
|
|
422
|
-
* params, it should be considered a static route.
|
|
423
|
-
*/
|
|
424
|
-
readonly params: Params | undefined;
|
|
425
|
-
}
|
|
426
|
-
//#endregion
|
|
427
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/body-streams.d.ts
|
|
428
|
-
interface CloneableBody {
|
|
429
|
-
finalize(): Promise<void>;
|
|
430
|
-
cloneBodyStream(): Readable;
|
|
431
|
-
}
|
|
432
|
-
//#endregion
|
|
433
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/next-devtools/userspace/pages/pages-dev-overlay-setup.d.ts
|
|
434
|
-
type PagesDevOverlayBridgeType = typeof PagesDevOverlayBridge;
|
|
435
|
-
interface PagesDevOverlayBridgeProps {
|
|
436
|
-
children?: React$1.ReactNode;
|
|
437
|
-
}
|
|
438
|
-
declare function PagesDevOverlayBridge({
|
|
439
|
-
children
|
|
440
|
-
}: PagesDevOverlayBridgeProps): react_jsx_runtime0.JSX.Element;
|
|
441
|
-
//#endregion
|
|
442
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/request-meta.d.ts
|
|
443
|
-
declare const NEXT_REQUEST_META: unique symbol;
|
|
444
|
-
type NextIncomingMessage = (BaseNextRequest | IncomingMessage) & {
|
|
445
|
-
[NEXT_REQUEST_META]?: RequestMeta;
|
|
446
|
-
};
|
|
447
|
-
interface RequestMeta {
|
|
448
|
-
/**
|
|
449
|
-
* The query that was used to make the request.
|
|
450
|
-
*/
|
|
451
|
-
initQuery?: ParsedUrlQuery;
|
|
452
|
-
/**
|
|
453
|
-
* The URL that was used to make the request.
|
|
454
|
-
*/
|
|
455
|
-
initURL?: string;
|
|
456
|
-
/**
|
|
457
|
-
* The protocol that was used to make the request.
|
|
458
|
-
*/
|
|
459
|
-
initProtocol?: string;
|
|
460
|
-
/**
|
|
461
|
-
* The body that was read from the request. This is used to allow the body to
|
|
462
|
-
* be read multiple times.
|
|
463
|
-
*/
|
|
464
|
-
clonableBody?: CloneableBody;
|
|
465
|
-
/**
|
|
466
|
-
* True when the request matched a locale domain that was configured in the
|
|
467
|
-
* next.config.js file.
|
|
468
|
-
*/
|
|
469
|
-
isLocaleDomain?: boolean;
|
|
470
|
-
/**
|
|
471
|
-
* True when the request had locale information stripped from the pathname
|
|
472
|
-
* part of the URL.
|
|
473
|
-
*/
|
|
474
|
-
didStripLocale?: boolean;
|
|
475
|
-
/**
|
|
476
|
-
* If the request had it's URL rewritten, this is the URL it was rewritten to.
|
|
477
|
-
*/
|
|
478
|
-
rewroteURL?: string;
|
|
479
|
-
/**
|
|
480
|
-
* The cookies that were added by middleware and were added to the response.
|
|
481
|
-
*/
|
|
482
|
-
middlewareCookie?: string[];
|
|
483
|
-
/**
|
|
484
|
-
* The match on the request for a given route.
|
|
485
|
-
*/
|
|
486
|
-
match?: RouteMatch;
|
|
487
|
-
/**
|
|
488
|
-
* The incremental cache to use for the request.
|
|
489
|
-
*/
|
|
490
|
-
incrementalCache?: any;
|
|
491
|
-
/**
|
|
492
|
-
* The server components HMR cache, only for dev.
|
|
493
|
-
*/
|
|
494
|
-
serverComponentsHmrCache?: ServerComponentsHmrCache;
|
|
495
|
-
/**
|
|
496
|
-
* Equals the segment path that was used for the prefetch RSC request.
|
|
497
|
-
*/
|
|
498
|
-
segmentPrefetchRSCRequest?: string;
|
|
499
|
-
/**
|
|
500
|
-
* True when the request is for the prefetch flight data.
|
|
501
|
-
*/
|
|
502
|
-
isPrefetchRSCRequest?: true;
|
|
503
|
-
/**
|
|
504
|
-
* True when the request is for the flight data.
|
|
505
|
-
*/
|
|
506
|
-
isRSCRequest?: true;
|
|
507
|
-
/**
|
|
508
|
-
* A search param set by the Next.js client when performing RSC requests.
|
|
509
|
-
* Because some CDNs do not vary their cache entries on our custom headers,
|
|
510
|
-
* this search param represents a hash of the header values. For any cached
|
|
511
|
-
* RSC request, we should verify that the hash matches before responding.
|
|
512
|
-
* Otherwise this can lead to cache poisoning.
|
|
513
|
-
* TODO: Consider not using custom request headers at all, and instead encode
|
|
514
|
-
* everything into the search param.
|
|
515
|
-
*/
|
|
516
|
-
cacheBustingSearchParam?: string;
|
|
517
|
-
/**
|
|
518
|
-
* True when the request is for the `/_next/data` route using the pages
|
|
519
|
-
* router.
|
|
520
|
-
*/
|
|
521
|
-
isNextDataReq?: true;
|
|
522
|
-
/**
|
|
523
|
-
* Postponed state to use for resumption. If present it's assumed that the
|
|
524
|
-
* request is for a page that has postponed (there are no guarantees that the
|
|
525
|
-
* page actually has postponed though as it would incur an additional cache
|
|
526
|
-
* lookup).
|
|
527
|
-
*/
|
|
528
|
-
postponed?: string;
|
|
529
|
-
/**
|
|
530
|
-
* If provided, this will be called when a response cache entry was generated
|
|
531
|
-
* or looked up in the cache.
|
|
532
|
-
*/
|
|
533
|
-
onCacheEntry?: (cacheEntry: any, requestMeta: any) => Promise<boolean | void> | boolean | void;
|
|
534
|
-
/**
|
|
535
|
-
* The previous revalidate before rendering 404 page for notFound: true
|
|
536
|
-
*/
|
|
537
|
-
notFoundRevalidate?: number | false;
|
|
538
|
-
/**
|
|
539
|
-
* In development, the original source page that returned a 404.
|
|
540
|
-
*/
|
|
541
|
-
developmentNotFoundSourcePage?: string;
|
|
542
|
-
/**
|
|
543
|
-
* The path we routed to and should be invoked
|
|
544
|
-
*/
|
|
545
|
-
invokePath?: string;
|
|
546
|
-
/**
|
|
547
|
-
* The specific page output we should be matching
|
|
548
|
-
*/
|
|
549
|
-
invokeOutput?: string;
|
|
550
|
-
/**
|
|
551
|
-
* The status we are invoking the request with from routing
|
|
552
|
-
*/
|
|
553
|
-
invokeStatus?: number;
|
|
554
|
-
/**
|
|
555
|
-
* The routing error we are invoking with
|
|
556
|
-
*/
|
|
557
|
-
invokeError?: Error;
|
|
558
|
-
/**
|
|
559
|
-
* The query parsed for the invocation
|
|
560
|
-
*/
|
|
561
|
-
invokeQuery?: Record<string, undefined | string | string[]>;
|
|
562
|
-
/**
|
|
563
|
-
* Whether the request is a middleware invocation
|
|
564
|
-
*/
|
|
565
|
-
middlewareInvoke?: boolean;
|
|
566
|
-
/**
|
|
567
|
-
* Whether the request should render the fallback shell or not.
|
|
568
|
-
*/
|
|
569
|
-
renderFallbackShell?: boolean;
|
|
570
|
-
/**
|
|
571
|
-
* Whether the request is for the custom error page.
|
|
572
|
-
*/
|
|
573
|
-
customErrorRender?: true;
|
|
574
|
-
/**
|
|
575
|
-
* Whether to bubble up the NoFallbackError to the caller when a 404 is
|
|
576
|
-
* returned.
|
|
577
|
-
*/
|
|
578
|
-
bubbleNoFallback?: true;
|
|
579
|
-
/**
|
|
580
|
-
* True when the request had locale information inferred from the default
|
|
581
|
-
* locale.
|
|
582
|
-
*/
|
|
583
|
-
localeInferredFromDefault?: true;
|
|
584
|
-
/**
|
|
585
|
-
* The locale that was inferred or explicitly set for the request.
|
|
586
|
-
*/
|
|
587
|
-
locale?: string;
|
|
588
|
-
/**
|
|
589
|
-
* The default locale that was inferred or explicitly set for the request.
|
|
590
|
-
*/
|
|
591
|
-
defaultLocale?: string;
|
|
592
|
-
/**
|
|
593
|
-
* The project dir the server is running in
|
|
594
|
-
*/
|
|
595
|
-
projectDir?: string;
|
|
596
|
-
/**
|
|
597
|
-
* The dist directory the server is currently using
|
|
598
|
-
*/
|
|
599
|
-
distDir?: string;
|
|
600
|
-
/**
|
|
601
|
-
* Whether we are generating the fallback version of the page in dev mode
|
|
602
|
-
*/
|
|
603
|
-
isIsrFallback?: boolean;
|
|
604
|
-
/**
|
|
605
|
-
* The query after resolving routes
|
|
606
|
-
*/
|
|
607
|
-
query?: ParsedUrlQuery;
|
|
608
|
-
/**
|
|
609
|
-
* The params after resolving routes
|
|
610
|
-
*/
|
|
611
|
-
params?: ParsedUrlQuery;
|
|
612
|
-
/**
|
|
613
|
-
* The AMP validator to use in development
|
|
614
|
-
*/
|
|
615
|
-
ampValidator?: (html: string, pathname: string) => Promise<void>;
|
|
616
|
-
/**
|
|
617
|
-
* ErrorOverlay component to use in development for pages router
|
|
618
|
-
*/
|
|
619
|
-
PagesErrorDebug?: PagesDevOverlayBridgeType;
|
|
620
|
-
/**
|
|
621
|
-
* Whether server is in minimal mode (this will be replaced with more
|
|
622
|
-
* specific flags in future)
|
|
623
|
-
*/
|
|
624
|
-
minimalMode?: boolean;
|
|
625
|
-
}
|
|
626
|
-
//#endregion
|
|
627
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/lib/i18n-provider.d.ts
|
|
628
|
-
/**
|
|
629
|
-
* The result of matching a locale aware route.
|
|
630
|
-
*/
|
|
631
|
-
interface LocaleAnalysisResult {
|
|
632
|
-
/**
|
|
633
|
-
* The pathname without the locale prefix (if any).
|
|
634
|
-
*/
|
|
635
|
-
pathname: string;
|
|
636
|
-
/**
|
|
637
|
-
* The detected locale. If no locale was detected, this will be `undefined`.
|
|
638
|
-
*/
|
|
639
|
-
detectedLocale?: string;
|
|
640
|
-
/**
|
|
641
|
-
* True if the locale was inferred from the default locale.
|
|
642
|
-
*/
|
|
643
|
-
inferredFromDefault: boolean;
|
|
644
|
-
}
|
|
645
|
-
type LocaleAnalysisOptions = {
|
|
646
|
-
/**
|
|
647
|
-
* When provided, it will be used as the default locale if the locale
|
|
648
|
-
* cannot be inferred from the pathname.
|
|
649
|
-
*/
|
|
650
|
-
defaultLocale?: string;
|
|
651
|
-
};
|
|
652
|
-
/**
|
|
653
|
-
* The I18NProvider is used to match locale aware routes, detect the locale from
|
|
654
|
-
* the pathname and hostname and normalize the pathname by removing the locale
|
|
655
|
-
* prefix.
|
|
656
|
-
*/
|
|
657
|
-
declare class I18NProvider {
|
|
658
|
-
readonly config: Readonly<I18NConfig>;
|
|
659
|
-
private readonly lowerCaseLocales;
|
|
660
|
-
private readonly lowerCaseDomains?;
|
|
661
|
-
constructor(config: Readonly<I18NConfig>);
|
|
662
|
-
/**
|
|
663
|
-
* Detects the domain locale from the hostname and the detected locale if
|
|
664
|
-
* provided.
|
|
665
|
-
*
|
|
666
|
-
* @param hostname The hostname to detect the domain locale from, this must be lowercased.
|
|
667
|
-
* @param detectedLocale The detected locale to use if the hostname does not match.
|
|
668
|
-
* @returns The domain locale if found, `undefined` otherwise.
|
|
669
|
-
*/
|
|
670
|
-
detectDomainLocale(hostname?: string, detectedLocale?: string): DomainLocale | undefined;
|
|
671
|
-
/**
|
|
672
|
-
* Pulls the pre-computed locale and inference results from the query
|
|
673
|
-
* object.
|
|
674
|
-
*
|
|
675
|
-
* @param req the request object
|
|
676
|
-
* @param pathname the pathname that could contain a locale prefix
|
|
677
|
-
* @returns the locale analysis result
|
|
678
|
-
*/
|
|
679
|
-
fromRequest(req: NextIncomingMessage, pathname: string): LocaleAnalysisResult;
|
|
680
|
-
/**
|
|
681
|
-
* Analyzes the pathname for a locale and returns the pathname without it.
|
|
682
|
-
*
|
|
683
|
-
* @param pathname The pathname that could contain a locale prefix.
|
|
684
|
-
* @param options The options to use when matching the locale.
|
|
685
|
-
* @returns The matched locale and the pathname without the locale prefix
|
|
686
|
-
* (if any).
|
|
687
|
-
*/
|
|
688
|
-
analyze(pathname: string, options?: LocaleAnalysisOptions): LocaleAnalysisResult;
|
|
689
|
-
}
|
|
690
|
-
//#endregion
|
|
691
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/web/next-url.d.ts
|
|
692
|
-
interface Options {
|
|
693
|
-
base?: string | URL;
|
|
694
|
-
headers?: OutgoingHttpHeaders;
|
|
695
|
-
forceLocale?: boolean;
|
|
696
|
-
nextConfig?: {
|
|
697
|
-
basePath?: string;
|
|
698
|
-
i18n?: I18NConfig | null;
|
|
699
|
-
trailingSlash?: boolean;
|
|
700
|
-
};
|
|
701
|
-
i18nProvider?: I18NProvider;
|
|
702
|
-
}
|
|
703
|
-
declare const Internal: unique symbol;
|
|
704
|
-
declare class NextURL {
|
|
705
|
-
private [Internal];
|
|
706
|
-
constructor(input: string | URL, base?: string | URL, opts?: Options);
|
|
707
|
-
constructor(input: string | URL, opts?: Options);
|
|
708
|
-
private analyze;
|
|
709
|
-
private formatPathname;
|
|
710
|
-
private formatSearch;
|
|
711
|
-
get buildId(): string | undefined;
|
|
712
|
-
set buildId(buildId: string | undefined);
|
|
713
|
-
get locale(): string;
|
|
714
|
-
set locale(locale: string);
|
|
715
|
-
get defaultLocale(): string | undefined;
|
|
716
|
-
get domainLocale(): DomainLocale | undefined;
|
|
717
|
-
get searchParams(): URLSearchParams;
|
|
718
|
-
get host(): string;
|
|
719
|
-
set host(value: string);
|
|
720
|
-
get hostname(): string;
|
|
721
|
-
set hostname(value: string);
|
|
722
|
-
get port(): string;
|
|
723
|
-
set port(value: string);
|
|
724
|
-
get protocol(): string;
|
|
725
|
-
set protocol(value: string);
|
|
726
|
-
get href(): string;
|
|
727
|
-
set href(url: string);
|
|
728
|
-
get origin(): string;
|
|
729
|
-
get pathname(): string;
|
|
730
|
-
set pathname(value: string);
|
|
731
|
-
get hash(): string;
|
|
732
|
-
set hash(value: string);
|
|
733
|
-
get search(): string;
|
|
734
|
-
set search(value: string);
|
|
735
|
-
get password(): string;
|
|
736
|
-
set password(value: string);
|
|
737
|
-
get username(): string;
|
|
738
|
-
set username(value: string);
|
|
739
|
-
get basePath(): string;
|
|
740
|
-
set basePath(value: string);
|
|
741
|
-
toString(): string;
|
|
742
|
-
toJSON(): string;
|
|
743
|
-
clone(): NextURL;
|
|
744
|
-
}
|
|
745
|
-
//#endregion
|
|
746
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/compiled/@edge-runtime/cookies/index.d.ts
|
|
747
|
-
/**
|
|
748
|
-
* Basic HTTP cookie parser and serializer for HTTP servers.
|
|
749
|
-
*/
|
|
750
|
-
|
|
751
|
-
/**
|
|
752
|
-
* Additional serialization options
|
|
753
|
-
*/
|
|
754
|
-
interface CookieSerializeOptions {
|
|
755
|
-
/**
|
|
756
|
-
* Specifies the value for the {@link https://tools.ietf.org/html/rfc6265#section-5.2.3|Domain Set-Cookie attribute}. By default, no
|
|
757
|
-
* domain is set, and most clients will consider the cookie to apply to only
|
|
758
|
-
* the current domain.
|
|
759
|
-
*/
|
|
760
|
-
domain?: string | undefined;
|
|
761
|
-
|
|
762
|
-
/**
|
|
763
|
-
* Specifies a function that will be used to encode a cookie's value. Since
|
|
764
|
-
* value of a cookie has a limited character set (and must be a simple
|
|
765
|
-
* string), this function can be used to encode a value into a string suited
|
|
766
|
-
* for a cookie's value.
|
|
767
|
-
*
|
|
768
|
-
* The default function is the global `encodeURIComponent`, which will
|
|
769
|
-
* encode a JavaScript string into UTF-8 byte sequences and then URL-encode
|
|
770
|
-
* any that fall outside of the cookie range.
|
|
771
|
-
*/
|
|
772
|
-
encode?(value: string): string;
|
|
773
|
-
|
|
774
|
-
/**
|
|
775
|
-
* Specifies the `Date` object to be the value for the {@link https://tools.ietf.org/html/rfc6265#section-5.2.1|`Expires` `Set-Cookie` attribute}. By default,
|
|
776
|
-
* no expiration is set, and most clients will consider this a "non-persistent cookie" and will delete
|
|
777
|
-
* it on a condition like exiting a web browser application.
|
|
778
|
-
*
|
|
779
|
-
* *Note* the {@link https://tools.ietf.org/html/rfc6265#section-5.3|cookie storage model specification}
|
|
780
|
-
* states that if both `expires` and `maxAge` are set, then `maxAge` takes precedence, but it is
|
|
781
|
-
* possible not all clients by obey this, so if both are set, they should
|
|
782
|
-
* point to the same date and time.
|
|
783
|
-
*/
|
|
784
|
-
expires?: Date | undefined;
|
|
785
|
-
/**
|
|
786
|
-
* Specifies the boolean value for the {@link https://tools.ietf.org/html/rfc6265#section-5.2.6|`HttpOnly` `Set-Cookie` attribute}.
|
|
787
|
-
* When truthy, the `HttpOnly` attribute is set, otherwise it is not. By
|
|
788
|
-
* default, the `HttpOnly` attribute is not set.
|
|
789
|
-
*
|
|
790
|
-
* *Note* be careful when setting this to true, as compliant clients will
|
|
791
|
-
* not allow client-side JavaScript to see the cookie in `document.cookie`.
|
|
792
|
-
*/
|
|
793
|
-
httpOnly?: boolean | undefined;
|
|
794
|
-
/**
|
|
795
|
-
* Specifies the number (in seconds) to be the value for the `Max-Age`
|
|
796
|
-
* `Set-Cookie` attribute. The given number will be converted to an integer
|
|
797
|
-
* by rounding down. By default, no maximum age is set.
|
|
798
|
-
*
|
|
799
|
-
* *Note* the {@link https://tools.ietf.org/html/rfc6265#section-5.3|cookie storage model specification}
|
|
800
|
-
* states that if both `expires` and `maxAge` are set, then `maxAge` takes precedence, but it is
|
|
801
|
-
* possible not all clients by obey this, so if both are set, they should
|
|
802
|
-
* point to the same date and time.
|
|
803
|
-
*/
|
|
804
|
-
maxAge?: number | undefined;
|
|
805
|
-
/**
|
|
806
|
-
* Specifies the `boolean` value for the [`Partitioned` `Set-Cookie`](rfc-cutler-httpbis-partitioned-cookies)
|
|
807
|
-
* attribute. When truthy, the `Partitioned` attribute is set, otherwise it is not. By default, the
|
|
808
|
-
* `Partitioned` attribute is not set.
|
|
809
|
-
*
|
|
810
|
-
* **note** This is an attribute that has not yet been fully standardized, and may change in the future.
|
|
811
|
-
* This also means many clients may ignore this attribute until they understand it.
|
|
812
|
-
*
|
|
813
|
-
* More information about can be found in [the proposal](https://github.com/privacycg/CHIPS)
|
|
814
|
-
*/
|
|
815
|
-
partitioned?: boolean | undefined;
|
|
816
|
-
/**
|
|
817
|
-
* Specifies the value for the {@link https://tools.ietf.org/html/rfc6265#section-5.2.4|`Path` `Set-Cookie` attribute}.
|
|
818
|
-
* By default, the path is considered the "default path".
|
|
819
|
-
*/
|
|
820
|
-
path?: string | undefined;
|
|
821
|
-
/**
|
|
822
|
-
* Specifies the `string` to be the value for the [`Priority` `Set-Cookie` attribute][rfc-west-cookie-priority-00-4.1].
|
|
823
|
-
*
|
|
824
|
-
* - `'low'` will set the `Priority` attribute to `Low`.
|
|
825
|
-
* - `'medium'` will set the `Priority` attribute to `Medium`, the default priority when not set.
|
|
826
|
-
* - `'high'` will set the `Priority` attribute to `High`.
|
|
827
|
-
*
|
|
828
|
-
* More information about the different priority levels can be found in
|
|
829
|
-
* [the specification][rfc-west-cookie-priority-00-4.1].
|
|
830
|
-
*
|
|
831
|
-
* **note** This is an attribute that has not yet been fully standardized, and may change in the future.
|
|
832
|
-
* This also means many clients may ignore this attribute until they understand it.
|
|
833
|
-
*/
|
|
834
|
-
priority?: "low" | "medium" | "high" | undefined;
|
|
835
|
-
/**
|
|
836
|
-
* Specifies the boolean or string to be the value for the {@link https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.7|`SameSite` `Set-Cookie` attribute}.
|
|
837
|
-
*
|
|
838
|
-
* - `true` will set the `SameSite` attribute to `Strict` for strict same
|
|
839
|
-
* site enforcement.
|
|
840
|
-
* - `false` will not set the `SameSite` attribute.
|
|
841
|
-
* - `'lax'` will set the `SameSite` attribute to Lax for lax same site
|
|
842
|
-
* enforcement.
|
|
843
|
-
* - `'strict'` will set the `SameSite` attribute to Strict for strict same
|
|
844
|
-
* site enforcement.
|
|
845
|
-
* - `'none'` will set the SameSite attribute to None for an explicit
|
|
846
|
-
* cross-site cookie.
|
|
847
|
-
*
|
|
848
|
-
* More information about the different enforcement levels can be found in {@link https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.7|the specification}.
|
|
849
|
-
*
|
|
850
|
-
* *note* This is an attribute that has not yet been fully standardized, and may change in the future. This also means many clients may ignore this attribute until they understand it.
|
|
851
|
-
*/
|
|
852
|
-
sameSite?: true | false | "lax" | "strict" | "none" | undefined;
|
|
853
|
-
/**
|
|
854
|
-
* Specifies the boolean value for the {@link https://tools.ietf.org/html/rfc6265#section-5.2.5|`Secure` `Set-Cookie` attribute}. When truthy, the
|
|
855
|
-
* `Secure` attribute is set, otherwise it is not. By default, the `Secure` attribute is not set.
|
|
856
|
-
*
|
|
857
|
-
* *Note* be careful when setting this to `true`, as compliant clients will
|
|
858
|
-
* not send the cookie back to the server in the future if the browser does
|
|
859
|
-
* not have an HTTPS connection.
|
|
860
|
-
*/
|
|
861
|
-
secure?: boolean | undefined;
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
/**
|
|
865
|
-
* {@link https://wicg.github.io/cookie-store/#dictdef-cookielistitem CookieListItem}
|
|
866
|
-
* as specified by W3C.
|
|
867
|
-
*/
|
|
868
|
-
interface CookieListItem extends Pick<CookieSerializeOptions, 'domain' | 'path' | 'secure' | 'sameSite' | 'partitioned'> {
|
|
869
|
-
/** A string with the name of a cookie. */
|
|
870
|
-
name: string;
|
|
871
|
-
/** A string containing the value of the cookie. */
|
|
872
|
-
value: string;
|
|
873
|
-
/** A number of milliseconds or Date interface containing the expires of the cookie. */
|
|
874
|
-
expires?: number | CookieSerializeOptions['expires'];
|
|
875
|
-
}
|
|
876
|
-
/**
|
|
877
|
-
* Superset of {@link CookieListItem} extending it with
|
|
878
|
-
* the `httpOnly`, `maxAge` and `priority` properties.
|
|
879
|
-
*/
|
|
880
|
-
type ResponseCookie = CookieListItem & Pick<CookieSerializeOptions, 'httpOnly' | 'maxAge' | 'priority'>;
|
|
881
|
-
/**
|
|
882
|
-
* Subset of {@link CookieListItem}, only containing `name` and `value`
|
|
883
|
-
* since other cookie attributes aren't be available on a `Request`.
|
|
884
|
-
*/
|
|
885
|
-
|
|
886
|
-
/**
|
|
887
|
-
* A class for manipulating {@link Response} cookies (`Set-Cookie` header).
|
|
888
|
-
* Loose implementation of the experimental [Cookie Store API](https://wicg.github.io/cookie-store/#dictdef-cookie)
|
|
889
|
-
* The main difference is `ResponseCookies` methods do not return a Promise.
|
|
890
|
-
*/
|
|
891
|
-
declare class ResponseCookies {
|
|
892
|
-
constructor(responseHeaders: Headers);
|
|
893
|
-
/**
|
|
894
|
-
* {@link https://wicg.github.io/cookie-store/#CookieStore-get CookieStore#get} without the Promise.
|
|
895
|
-
*/
|
|
896
|
-
get(...args: [key: string] | [options: ResponseCookie]): ResponseCookie | undefined;
|
|
897
|
-
/**
|
|
898
|
-
* {@link https://wicg.github.io/cookie-store/#CookieStore-getAll CookieStore#getAll} without the Promise.
|
|
899
|
-
*/
|
|
900
|
-
getAll(...args: [key: string] | [options: ResponseCookie] | []): ResponseCookie[];
|
|
901
|
-
has(name: string): boolean;
|
|
902
|
-
/**
|
|
903
|
-
* {@link https://wicg.github.io/cookie-store/#CookieStore-set CookieStore#set} without the Promise.
|
|
904
|
-
*/
|
|
905
|
-
set(...args: [key: string, value: string, cookie?: Partial<ResponseCookie>] | [options: ResponseCookie]): this;
|
|
906
|
-
/**
|
|
907
|
-
* {@link https://wicg.github.io/cookie-store/#CookieStore-delete CookieStore#delete} without the Promise.
|
|
908
|
-
*/
|
|
909
|
-
delete(...args: [key: string] | [options: Omit<ResponseCookie, 'value' | 'expires'>]): this;
|
|
910
|
-
toString(): string;
|
|
911
|
-
}
|
|
912
|
-
//#endregion
|
|
913
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/web/spec-extension/response.d.ts
|
|
914
|
-
declare const INTERNALS: unique symbol;
|
|
915
|
-
/**
|
|
916
|
-
* This class extends the [Web `Response` API](https://developer.mozilla.org/docs/Web/API/Response) with additional convenience methods.
|
|
917
|
-
*
|
|
918
|
-
* Read more: [Next.js Docs: `NextResponse`](https://nextjs.org/docs/app/api-reference/functions/next-response)
|
|
919
|
-
*/
|
|
920
|
-
declare class NextResponse<Body = unknown> extends Response {
|
|
921
|
-
[INTERNALS]: {
|
|
922
|
-
cookies: ResponseCookies;
|
|
923
|
-
url?: NextURL;
|
|
924
|
-
body?: Body;
|
|
925
|
-
};
|
|
926
|
-
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
927
|
-
get cookies(): ResponseCookies;
|
|
928
|
-
static json<JsonBody>(body: JsonBody, init?: ResponseInit): NextResponse<JsonBody>;
|
|
929
|
-
static redirect(url: string | NextURL | URL, init?: number | ResponseInit): NextResponse<unknown>;
|
|
930
|
-
static rewrite(destination: string | NextURL | URL, init?: MiddlewareResponseInit): NextResponse<unknown>;
|
|
931
|
-
static next(init?: MiddlewareResponseInit): NextResponse<unknown>;
|
|
932
|
-
}
|
|
933
|
-
interface ResponseInit extends globalThis.ResponseInit {
|
|
934
|
-
nextConfig?: {
|
|
935
|
-
basePath?: string;
|
|
936
|
-
i18n?: I18NConfig;
|
|
937
|
-
trailingSlash?: boolean;
|
|
938
|
-
};
|
|
939
|
-
url?: string;
|
|
940
|
-
}
|
|
941
|
-
interface ModifiedRequest {
|
|
942
|
-
/**
|
|
943
|
-
* If this is set, the request headers will be overridden with this value.
|
|
944
|
-
*/
|
|
945
|
-
headers?: Headers;
|
|
946
|
-
}
|
|
947
|
-
interface MiddlewareResponseInit extends globalThis.ResponseInit {
|
|
948
|
-
/**
|
|
949
|
-
* These fields will override the request from clients.
|
|
950
|
-
*/
|
|
951
|
-
request?: ModifiedRequest;
|
|
952
|
-
}
|
|
953
|
-
//#endregion
|
|
954
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/client/route-loader.d.ts
|
|
955
|
-
declare global {
|
|
956
|
-
interface Window {
|
|
957
|
-
__BUILD_MANIFEST?: Record<string, string[]>;
|
|
958
|
-
__BUILD_MANIFEST_CB?: Function;
|
|
959
|
-
__MIDDLEWARE_MATCHERS?: MiddlewareMatcher[];
|
|
960
|
-
__MIDDLEWARE_MANIFEST_CB?: Function;
|
|
961
|
-
__REACT_LOADABLE_MANIFEST?: any;
|
|
962
|
-
__DYNAMIC_CSS_MANIFEST?: any;
|
|
963
|
-
__RSC_MANIFEST?: any;
|
|
964
|
-
__RSC_SERVER_MANIFEST?: any;
|
|
965
|
-
__NEXT_FONT_MANIFEST?: any;
|
|
966
|
-
__SUBRESOURCE_INTEGRITY_MANIFEST?: string;
|
|
967
|
-
__INTERCEPTION_ROUTE_REWRITE_MANIFEST?: string;
|
|
968
|
-
}
|
|
969
|
-
}
|
|
970
|
-
//#endregion
|
|
971
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/client/page-loader.d.ts
|
|
972
|
-
declare global {
|
|
973
|
-
interface Window {
|
|
974
|
-
__DEV_MIDDLEWARE_MATCHERS?: MiddlewareMatcher[];
|
|
975
|
-
__DEV_PAGES_MANIFEST?: {
|
|
976
|
-
pages: string[];
|
|
977
|
-
};
|
|
978
|
-
__SSG_MANIFEST_CB?: () => void;
|
|
979
|
-
__SSG_MANIFEST?: Set<string>;
|
|
980
|
-
}
|
|
981
|
-
}
|
|
982
|
-
//#endregion
|
|
983
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/shared/lib/router/router.d.ts
|
|
984
|
-
declare global {
|
|
985
|
-
interface Window {
|
|
986
|
-
__NEXT_DATA__: NEXT_DATA;
|
|
987
|
-
}
|
|
988
|
-
}
|
|
989
|
-
//#endregion
|
|
990
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/shared/lib/loadable.shared-runtime.d.ts
|
|
991
|
-
declare global {
|
|
992
|
-
interface Window {
|
|
993
|
-
__NEXT_PRELOADREADY?: (ids?: (string | number)[]) => Promise<void>;
|
|
994
|
-
}
|
|
995
|
-
}
|
|
996
|
-
//#endregion
|
|
997
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/lib/metadata/types/alternative-urls-types.d.ts
|
|
998
|
-
type LangCode = 'aa' | 'ab' | 'ae' | 'af' | 'ak' | 'am' | 'an' | 'ar' | 'as' | 'av' | 'ay' | 'az' | 'ba' | 'be' | 'bg' | 'bh' | 'bi' | 'bm' | 'bn' | 'bo' | 'br' | 'bs' | 'ca' | 'ce' | 'ch' | 'co' | 'cr' | 'cs' | 'cu' | 'cv' | 'cy' | 'da' | 'de' | 'dv' | 'dz' | 'ee' | 'el' | 'en' | 'eo' | 'es' | 'et' | 'eu' | 'fa' | 'ff' | 'fi' | 'fj' | 'fo' | 'fr' | 'fy' | 'ga' | 'gd' | 'gl' | 'gn' | 'gu' | 'gv' | 'ha' | 'he' | 'hi' | 'ho' | 'hr' | 'ht' | 'hu' | 'hy' | 'hz' | 'ia' | 'id' | 'ie' | 'ig' | 'ii' | 'ik' | 'io' | 'is' | 'it' | 'iu' | 'ja' | 'jv' | 'ka' | 'kg' | 'ki' | 'kj' | 'kk' | 'kl' | 'km' | 'kn' | 'ko' | 'kr' | 'ks' | 'ku' | 'kv' | 'kw' | 'ky' | 'la' | 'lb' | 'lg' | 'li' | 'ln' | 'lo' | 'lt' | 'lu' | 'lv' | 'mg' | 'mh' | 'mi' | 'mk' | 'ml' | 'mn' | 'mr' | 'ms' | 'mt' | 'my' | 'na' | 'nb' | 'nd' | 'ne' | 'ng' | 'nl' | 'nn' | 'no' | 'nr' | 'nv' | 'ny' | 'oc' | 'oj' | 'om' | 'or' | 'os' | 'pa' | 'pi' | 'pl' | 'ps' | 'pt' | 'qu' | 'rm' | 'rn' | 'ro' | 'ru' | 'rw' | 'sa' | 'sc' | 'sd' | 'se' | 'sg' | 'si' | 'sk' | 'sl' | 'sm' | 'sn' | 'so' | 'sq' | 'sr' | 'ss' | 'st' | 'su' | 'sv' | 'sw' | 'ta' | 'te' | 'tg' | 'th' | 'ti' | 'tk' | 'tl' | 'tn' | 'to' | 'tr' | 'ts' | 'tt' | 'tw' | 'ty' | 'ug' | 'uk' | 'ur' | 'uz' | 've' | 'vi' | 'vo' | 'wa' | 'wo' | 'xh' | 'yi' | 'yo' | 'za' | 'zh' | 'zu' | 'af-ZA' | 'am-ET' | 'ar-AE' | 'ar-BH' | 'ar-DZ' | 'ar-EG' | 'ar-IQ' | 'ar-JO' | 'ar-KW' | 'ar-LB' | 'ar-LY' | 'ar-MA' | 'arn-CL' | 'ar-OM' | 'ar-QA' | 'ar-SA' | 'ar-SD' | 'ar-SY' | 'ar-TN' | 'ar-YE' | 'as-IN' | 'az-az' | 'az-Cyrl-AZ' | 'az-Latn-AZ' | 'ba-RU' | 'be-BY' | 'bg-BG' | 'bn-BD' | 'bn-IN' | 'bo-CN' | 'br-FR' | 'bs-Cyrl-BA' | 'bs-Latn-BA' | 'ca-ES' | 'co-FR' | 'cs-CZ' | 'cy-GB' | 'da-DK' | 'de-AT' | 'de-CH' | 'de-DE' | 'de-LI' | 'de-LU' | 'dsb-DE' | 'dv-MV' | 'el-CY' | 'el-GR' | 'en-029' | 'en-AU' | 'en-BZ' | 'en-CA' | 'en-cb' | 'en-GB' | 'en-IE' | 'en-IN' | 'en-JM' | 'en-MT' | 'en-MY' | 'en-NZ' | 'en-PH' | 'en-SG' | 'en-TT' | 'en-US' | 'en-ZA' | 'en-ZW' | 'es-AR' | 'es-BO' | 'es-CL' | 'es-CO' | 'es-CR' | 'es-DO' | 'es-EC' | 'es-ES' | 'es-GT' | 'es-HN' | 'es-MX' | 'es-NI' | 'es-PA' | 'es-PE' | 'es-PR' | 'es-PY' | 'es-SV' | 'es-US' | 'es-UY' | 'es-VE' | 'et-EE' | 'eu-ES' | 'fa-IR' | 'fi-FI' | 'fil-PH' | 'fo-FO' | 'fr-BE' | 'fr-CA' | 'fr-CH' | 'fr-FR' | 'fr-LU' | 'fr-MC' | 'fy-NL' | 'ga-IE' | 'gd-GB' | 'gd-ie' | 'gl-ES' | 'gsw-FR' | 'gu-IN' | 'ha-Latn-NG' | 'he-IL' | 'hi-IN' | 'hr-BA' | 'hr-HR' | 'hsb-DE' | 'hu-HU' | 'hy-AM' | 'id-ID' | 'ig-NG' | 'ii-CN' | 'in-ID' | 'is-IS' | 'it-CH' | 'it-IT' | 'iu-Cans-CA' | 'iu-Latn-CA' | 'iw-IL' | 'ja-JP' | 'ka-GE' | 'kk-KZ' | 'kl-GL' | 'km-KH' | 'kn-IN' | 'kok-IN' | 'ko-KR' | 'ky-KG' | 'lb-LU' | 'lo-LA' | 'lt-LT' | 'lv-LV' | 'mi-NZ' | 'mk-MK' | 'ml-IN' | 'mn-MN' | 'mn-Mong-CN' | 'moh-CA' | 'mr-IN' | 'ms-BN' | 'ms-MY' | 'mt-MT' | 'nb-NO' | 'ne-NP' | 'nl-BE' | 'nl-NL' | 'nn-NO' | 'no-no' | 'nso-ZA' | 'oc-FR' | 'or-IN' | 'pa-IN' | 'pl-PL' | 'prs-AF' | 'ps-AF' | 'pt-BR' | 'pt-PT' | 'qut-GT' | 'quz-BO' | 'quz-EC' | 'quz-PE' | 'rm-CH' | 'ro-mo' | 'ro-RO' | 'ru-mo' | 'ru-RU' | 'rw-RW' | 'sah-RU' | 'sa-IN' | 'se-FI' | 'se-NO' | 'se-SE' | 'si-LK' | 'sk-SK' | 'sl-SI' | 'sma-NO' | 'sma-SE' | 'smj-NO' | 'smj-SE' | 'smn-FI' | 'sms-FI' | 'sq-AL' | 'sr-BA' | 'sr-CS' | 'sr-Cyrl-BA' | 'sr-Cyrl-CS' | 'sr-Cyrl-ME' | 'sr-Cyrl-RS' | 'sr-Latn-BA' | 'sr-Latn-CS' | 'sr-Latn-ME' | 'sr-Latn-RS' | 'sr-ME' | 'sr-RS' | 'sr-sp' | 'sv-FI' | 'sv-SE' | 'sw-KE' | 'syr-SY' | 'ta-IN' | 'te-IN' | 'tg-Cyrl-TJ' | 'th-TH' | 'tk-TM' | 'tlh-QS' | 'tn-ZA' | 'tr-TR' | 'tt-RU' | 'tzm-Latn-DZ' | 'ug-CN' | 'uk-UA' | 'ur-PK' | 'uz-Cyrl-UZ' | 'uz-Latn-UZ' | 'uz-uz' | 'vi-VN' | 'wo-SN' | 'xh-ZA' | 'yo-NG' | 'zh-CN' | 'zh-HK' | 'zh-MO' | 'zh-SG' | 'zh-TW' | 'zh-Hans' | 'zh-Hant' | 'zu-ZA' | `${Lowercase<string>}-${string}`;
|
|
999
|
-
type UnmatchedLang = 'x-default';
|
|
1000
|
-
type HrefLang = LangCode | UnmatchedLang;
|
|
1001
|
-
type Languages<T> = { [s in HrefLang]?: T | undefined };
|
|
1002
|
-
type AlternateLinkDescriptor = {
|
|
1003
|
-
title?: string | undefined;
|
|
1004
|
-
url: string | URL;
|
|
1005
|
-
};
|
|
1006
|
-
type AlternateURLs = {
|
|
1007
|
-
canonical?: null | string | URL | AlternateLinkDescriptor | undefined;
|
|
1008
|
-
languages?: Languages<null | string | URL | AlternateLinkDescriptor[]> | undefined;
|
|
1009
|
-
media?: {
|
|
1010
|
-
[media: string]: null | string | URL | AlternateLinkDescriptor[];
|
|
1011
|
-
} | undefined;
|
|
1012
|
-
types?: {
|
|
1013
|
-
[types: string]: null | string | URL | AlternateLinkDescriptor[];
|
|
1014
|
-
} | undefined;
|
|
1015
|
-
};
|
|
1016
|
-
//#endregion
|
|
1017
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/lib/metadata/types/extra-types.d.ts
|
|
1018
|
-
type AppLinks = {
|
|
1019
|
-
ios?: AppLinksApple | Array<AppLinksApple> | undefined;
|
|
1020
|
-
iphone?: AppLinksApple | Array<AppLinksApple> | undefined;
|
|
1021
|
-
ipad?: AppLinksApple | Array<AppLinksApple> | undefined;
|
|
1022
|
-
android?: AppLinksAndroid | Array<AppLinksAndroid> | undefined;
|
|
1023
|
-
windows_phone?: AppLinksWindows | Array<AppLinksWindows> | undefined;
|
|
1024
|
-
windows?: AppLinksWindows | Array<AppLinksWindows> | undefined;
|
|
1025
|
-
windows_universal?: AppLinksWindows | Array<AppLinksWindows> | undefined;
|
|
1026
|
-
web?: AppLinksWeb | Array<AppLinksWeb> | undefined;
|
|
1027
|
-
};
|
|
1028
|
-
type AppLinksApple = {
|
|
1029
|
-
url: string | URL;
|
|
1030
|
-
app_store_id?: string | number | undefined;
|
|
1031
|
-
app_name?: string | undefined;
|
|
1032
|
-
};
|
|
1033
|
-
type AppLinksAndroid = {
|
|
1034
|
-
package: string;
|
|
1035
|
-
url?: string | URL | undefined;
|
|
1036
|
-
class?: string | undefined;
|
|
1037
|
-
app_name?: string | undefined;
|
|
1038
|
-
};
|
|
1039
|
-
type AppLinksWindows = {
|
|
1040
|
-
url: string | URL;
|
|
1041
|
-
app_id?: string | undefined;
|
|
1042
|
-
app_name?: string | undefined;
|
|
1043
|
-
};
|
|
1044
|
-
type AppLinksWeb = {
|
|
1045
|
-
url: string | URL;
|
|
1046
|
-
should_fallback?: boolean | undefined;
|
|
1047
|
-
};
|
|
1048
|
-
type ItunesApp = {
|
|
1049
|
-
appId: string;
|
|
1050
|
-
appArgument?: string | undefined;
|
|
1051
|
-
};
|
|
1052
|
-
type ViewportLayout = {
|
|
1053
|
-
width?: string | number | undefined;
|
|
1054
|
-
height?: string | number | undefined;
|
|
1055
|
-
initialScale?: number | undefined;
|
|
1056
|
-
minimumScale?: number | undefined;
|
|
1057
|
-
maximumScale?: number | undefined;
|
|
1058
|
-
userScalable?: boolean | undefined;
|
|
1059
|
-
viewportFit?: 'auto' | 'cover' | 'contain' | undefined;
|
|
1060
|
-
interactiveWidget?: 'resizes-visual' | 'resizes-content' | 'overlays-content' | undefined;
|
|
1061
|
-
};
|
|
1062
|
-
type AppleWebApp = {
|
|
1063
|
-
capable?: boolean | undefined;
|
|
1064
|
-
title?: string | undefined;
|
|
1065
|
-
startupImage?: AppleImage | Array<AppleImage> | undefined;
|
|
1066
|
-
statusBarStyle?: 'default' | 'black' | 'black-translucent' | undefined;
|
|
1067
|
-
};
|
|
1068
|
-
type AppleImage = string | AppleImageDescriptor;
|
|
1069
|
-
type AppleImageDescriptor = {
|
|
1070
|
-
url: string;
|
|
1071
|
-
media?: string | undefined;
|
|
1072
|
-
};
|
|
1073
|
-
type Facebook = FacebookAppId | FacebookAdmins;
|
|
1074
|
-
type FacebookAppId = {
|
|
1075
|
-
appId: string;
|
|
1076
|
-
admins?: never | undefined;
|
|
1077
|
-
};
|
|
1078
|
-
type FacebookAdmins = {
|
|
1079
|
-
appId?: never | undefined;
|
|
1080
|
-
admins: string | string[];
|
|
1081
|
-
};
|
|
1082
|
-
type Pinterest = PinterestRichPin;
|
|
1083
|
-
type PinterestRichPin = {
|
|
1084
|
-
richPin: string | boolean;
|
|
1085
|
-
};
|
|
1086
|
-
type FormatDetection = {
|
|
1087
|
-
telephone?: boolean | undefined;
|
|
1088
|
-
date?: boolean | undefined;
|
|
1089
|
-
address?: boolean | undefined;
|
|
1090
|
-
email?: boolean | undefined;
|
|
1091
|
-
url?: boolean | undefined;
|
|
1092
|
-
};
|
|
1093
|
-
//#endregion
|
|
1094
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/lib/metadata/types/metadata-types.d.ts
|
|
1095
|
-
/**
|
|
1096
|
-
*
|
|
1097
|
-
* Metadata types
|
|
1098
|
-
*
|
|
1099
|
-
*/
|
|
1100
|
-
interface DeprecatedMetadataFields {
|
|
1101
|
-
/**
|
|
1102
|
-
* Deprecated options that have a preferred method
|
|
1103
|
-
* @deprecated Use appWebApp to configure mobile-web-app-capable which provides
|
|
1104
|
-
*/
|
|
1105
|
-
'apple-touch-fullscreen'?: never | undefined;
|
|
1106
|
-
/**
|
|
1107
|
-
* Obsolete since iOS 7.
|
|
1108
|
-
* @see https://web.dev/apple-touch-icon/
|
|
1109
|
-
* @deprecated use icons.apple or instead
|
|
1110
|
-
*/
|
|
1111
|
-
'apple-touch-icon-precomposed'?: never | undefined;
|
|
1112
|
-
}
|
|
1113
|
-
type TemplateString = DefaultTemplateString | AbsoluteTemplateString | AbsoluteString;
|
|
1114
|
-
type DefaultTemplateString = {
|
|
1115
|
-
default: string;
|
|
1116
|
-
template: string;
|
|
1117
|
-
};
|
|
1118
|
-
type AbsoluteTemplateString = {
|
|
1119
|
-
absolute: string;
|
|
1120
|
-
template: string | null;
|
|
1121
|
-
};
|
|
1122
|
-
type AbsoluteString = {
|
|
1123
|
-
absolute: string;
|
|
1124
|
-
};
|
|
1125
|
-
type Author = {
|
|
1126
|
-
url?: string | URL | undefined;
|
|
1127
|
-
name?: string | undefined;
|
|
1128
|
-
};
|
|
1129
|
-
type ReferrerEnum = 'no-referrer' | 'origin' | 'no-referrer-when-downgrade' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin';
|
|
1130
|
-
type ColorSchemeEnum = 'normal' | 'light' | 'dark' | 'light dark' | 'dark light' | 'only light';
|
|
1131
|
-
type RobotsInfo = {
|
|
1132
|
-
index?: boolean | undefined;
|
|
1133
|
-
follow?: boolean | undefined;
|
|
1134
|
-
/** @deprecated set index to false instead */
|
|
1135
|
-
noindex?: never | undefined;
|
|
1136
|
-
/** @deprecated set follow to false instead */
|
|
1137
|
-
nofollow?: never | undefined;
|
|
1138
|
-
noarchive?: boolean | undefined;
|
|
1139
|
-
nosnippet?: boolean | undefined;
|
|
1140
|
-
noimageindex?: boolean | undefined;
|
|
1141
|
-
nocache?: boolean | undefined;
|
|
1142
|
-
notranslate?: boolean | undefined;
|
|
1143
|
-
indexifembedded?: boolean | undefined;
|
|
1144
|
-
nositelinkssearchbox?: boolean | undefined;
|
|
1145
|
-
unavailable_after?: string | undefined;
|
|
1146
|
-
'max-video-preview'?: number | string | undefined;
|
|
1147
|
-
'max-image-preview'?: 'none' | 'standard' | 'large' | undefined;
|
|
1148
|
-
'max-snippet'?: number | undefined;
|
|
1149
|
-
};
|
|
1150
|
-
type Robots = RobotsInfo & {
|
|
1151
|
-
googleBot?: string | RobotsInfo | undefined;
|
|
1152
|
-
};
|
|
1153
|
-
type IconURL = string | URL;
|
|
1154
|
-
type Icon = IconURL | IconDescriptor;
|
|
1155
|
-
type IconDescriptor = {
|
|
1156
|
-
url: string | URL;
|
|
1157
|
-
type?: string | undefined;
|
|
1158
|
-
sizes?: string | undefined;
|
|
1159
|
-
color?: string | undefined;
|
|
1160
|
-
/** defaults to rel="icon" unless superseded by Icons map */
|
|
1161
|
-
rel?: string | undefined;
|
|
1162
|
-
media?: string | undefined;
|
|
1163
|
-
/**
|
|
1164
|
-
* @see https://developer.mozilla.org/docs/Web/API/HTMLImageElement/fetchPriority
|
|
1165
|
-
*/
|
|
1166
|
-
fetchPriority?: 'high' | 'low' | 'auto' | undefined;
|
|
1167
|
-
};
|
|
1168
|
-
type Icons = {
|
|
1169
|
-
/** rel="icon" */
|
|
1170
|
-
icon?: Icon | Icon[] | undefined;
|
|
1171
|
-
/** rel="shortcut icon" */
|
|
1172
|
-
shortcut?: Icon | Icon[] | undefined;
|
|
1173
|
-
/**
|
|
1174
|
-
* @see https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html
|
|
1175
|
-
* rel="apple-touch-icon"
|
|
1176
|
-
*/
|
|
1177
|
-
apple?: Icon | Icon[] | undefined;
|
|
1178
|
-
/** rel inferred from descriptor, defaults to "icon" */
|
|
1179
|
-
other?: IconDescriptor | IconDescriptor[] | undefined;
|
|
1180
|
-
};
|
|
1181
|
-
type Verification = {
|
|
1182
|
-
google?: null | string | number | (string | number)[] | undefined;
|
|
1183
|
-
yahoo?: null | string | number | (string | number)[] | undefined;
|
|
1184
|
-
yandex?: null | string | number | (string | number)[] | undefined;
|
|
1185
|
-
me?: null | string | number | (string | number)[] | undefined;
|
|
1186
|
-
other?: {
|
|
1187
|
-
[name: string]: string | number | (string | number)[];
|
|
1188
|
-
} | undefined;
|
|
1189
|
-
};
|
|
1190
|
-
type ThemeColorDescriptor = {
|
|
1191
|
-
color: string;
|
|
1192
|
-
media?: string | undefined;
|
|
1193
|
-
};
|
|
1194
|
-
//#endregion
|
|
1195
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/lib/metadata/types/opengraph-types.d.ts
|
|
1196
|
-
type OpenGraph = OpenGraphWebsite | OpenGraphArticle | OpenGraphBook | OpenGraphProfile | OpenGraphMusicSong | OpenGraphMusicAlbum | OpenGraphMusicPlaylist | OpenGraphRadioStation | OpenGraphVideoMovie | OpenGraphVideoEpisode | OpenGraphVideoTVShow | OpenGraphVideoOther | OpenGraphMetadata;
|
|
1197
|
-
type Locale = string;
|
|
1198
|
-
type OpenGraphMetadata = {
|
|
1199
|
-
determiner?: 'a' | 'an' | 'the' | 'auto' | '' | undefined;
|
|
1200
|
-
title?: string | TemplateString | undefined;
|
|
1201
|
-
description?: string | undefined;
|
|
1202
|
-
emails?: string | Array<string> | undefined;
|
|
1203
|
-
phoneNumbers?: string | Array<string> | undefined;
|
|
1204
|
-
faxNumbers?: string | Array<string> | undefined;
|
|
1205
|
-
siteName?: string | undefined;
|
|
1206
|
-
locale?: Locale | undefined;
|
|
1207
|
-
alternateLocale?: Locale | Array<Locale> | undefined;
|
|
1208
|
-
images?: OGImage | Array<OGImage> | undefined;
|
|
1209
|
-
audio?: OGAudio | Array<OGAudio> | undefined;
|
|
1210
|
-
videos?: OGVideo | Array<OGVideo> | undefined;
|
|
1211
|
-
url?: string | URL | undefined;
|
|
1212
|
-
countryName?: string | undefined;
|
|
1213
|
-
ttl?: number | undefined;
|
|
1214
|
-
};
|
|
1215
|
-
type OpenGraphWebsite = OpenGraphMetadata & {
|
|
1216
|
-
type: 'website';
|
|
1217
|
-
};
|
|
1218
|
-
type OpenGraphArticle = OpenGraphMetadata & {
|
|
1219
|
-
type: 'article';
|
|
1220
|
-
publishedTime?: string | undefined;
|
|
1221
|
-
modifiedTime?: string | undefined;
|
|
1222
|
-
expirationTime?: string | undefined;
|
|
1223
|
-
authors?: null | string | URL | Array<string | URL> | undefined;
|
|
1224
|
-
section?: null | string | undefined;
|
|
1225
|
-
tags?: null | string | Array<string> | undefined;
|
|
1226
|
-
};
|
|
1227
|
-
type OpenGraphBook = OpenGraphMetadata & {
|
|
1228
|
-
type: 'book';
|
|
1229
|
-
isbn?: null | string | undefined;
|
|
1230
|
-
releaseDate?: null | string | undefined;
|
|
1231
|
-
authors?: null | string | URL | Array<string | URL> | undefined;
|
|
1232
|
-
tags?: null | string | Array<string> | undefined;
|
|
1233
|
-
};
|
|
1234
|
-
type OpenGraphProfile = OpenGraphMetadata & {
|
|
1235
|
-
type: 'profile';
|
|
1236
|
-
firstName?: null | string | undefined;
|
|
1237
|
-
lastName?: null | string | undefined;
|
|
1238
|
-
username?: null | string | undefined;
|
|
1239
|
-
gender?: null | string | undefined;
|
|
1240
|
-
};
|
|
1241
|
-
type OpenGraphMusicSong = OpenGraphMetadata & {
|
|
1242
|
-
type: 'music.song';
|
|
1243
|
-
duration?: null | number | undefined;
|
|
1244
|
-
albums?: null | string | URL | OGAlbum | Array<string | URL | OGAlbum> | undefined;
|
|
1245
|
-
musicians?: null | string | URL | Array<string | URL> | undefined;
|
|
1246
|
-
};
|
|
1247
|
-
type OpenGraphMusicAlbum = OpenGraphMetadata & {
|
|
1248
|
-
type: 'music.album';
|
|
1249
|
-
songs?: null | string | URL | OGSong | Array<string | URL | OGSong> | undefined;
|
|
1250
|
-
musicians?: null | string | URL | Array<string | URL> | undefined;
|
|
1251
|
-
releaseDate?: null | string | undefined;
|
|
1252
|
-
};
|
|
1253
|
-
type OpenGraphMusicPlaylist = OpenGraphMetadata & {
|
|
1254
|
-
type: 'music.playlist';
|
|
1255
|
-
songs?: null | string | URL | OGSong | Array<string | URL | OGSong> | undefined;
|
|
1256
|
-
creators?: null | string | URL | Array<string | URL> | undefined;
|
|
1257
|
-
};
|
|
1258
|
-
type OpenGraphRadioStation = OpenGraphMetadata & {
|
|
1259
|
-
type: 'music.radio_station';
|
|
1260
|
-
creators?: null | string | URL | Array<string | URL> | undefined;
|
|
1261
|
-
};
|
|
1262
|
-
type OpenGraphVideoMovie = OpenGraphMetadata & {
|
|
1263
|
-
type: 'video.movie';
|
|
1264
|
-
actors?: null | string | URL | OGActor | Array<string | URL | OGActor> | undefined;
|
|
1265
|
-
directors?: null | string | URL | Array<string | URL> | undefined;
|
|
1266
|
-
writers?: null | string | URL | Array<string | URL> | undefined;
|
|
1267
|
-
duration?: null | number | undefined;
|
|
1268
|
-
releaseDate?: null | string | undefined;
|
|
1269
|
-
tags?: null | string | Array<string> | undefined;
|
|
1270
|
-
};
|
|
1271
|
-
type OpenGraphVideoEpisode = OpenGraphMetadata & {
|
|
1272
|
-
type: 'video.episode';
|
|
1273
|
-
actors?: null | string | URL | OGActor | Array<string | URL | OGActor> | undefined;
|
|
1274
|
-
directors?: null | string | URL | Array<string | URL> | undefined;
|
|
1275
|
-
writers?: null | string | URL | Array<string | URL> | undefined;
|
|
1276
|
-
duration?: null | number | undefined;
|
|
1277
|
-
releaseDate?: null | string | undefined;
|
|
1278
|
-
tags?: null | string | Array<string> | undefined;
|
|
1279
|
-
series?: null | string | URL | undefined;
|
|
1280
|
-
};
|
|
1281
|
-
type OpenGraphVideoTVShow = OpenGraphMetadata & {
|
|
1282
|
-
type: 'video.tv_show';
|
|
1283
|
-
};
|
|
1284
|
-
type OpenGraphVideoOther = OpenGraphMetadata & {
|
|
1285
|
-
type: 'video.other';
|
|
1286
|
-
};
|
|
1287
|
-
type OGImage = string | OGImageDescriptor | URL;
|
|
1288
|
-
type OGImageDescriptor = {
|
|
1289
|
-
url: string | URL;
|
|
1290
|
-
secureUrl?: string | URL | undefined;
|
|
1291
|
-
alt?: string | undefined;
|
|
1292
|
-
type?: string | undefined;
|
|
1293
|
-
width?: string | number | undefined;
|
|
1294
|
-
height?: string | number | undefined;
|
|
1295
|
-
};
|
|
1296
|
-
type OGAudio = string | OGAudioDescriptor | URL;
|
|
1297
|
-
type OGAudioDescriptor = {
|
|
1298
|
-
url: string | URL;
|
|
1299
|
-
secureUrl?: string | URL | undefined;
|
|
1300
|
-
type?: string | undefined;
|
|
1301
|
-
};
|
|
1302
|
-
type OGVideo = string | OGVideoDescriptor | URL;
|
|
1303
|
-
type OGVideoDescriptor = {
|
|
1304
|
-
url: string | URL;
|
|
1305
|
-
secureUrl?: string | URL | undefined;
|
|
1306
|
-
type?: string | undefined;
|
|
1307
|
-
width?: string | number | undefined;
|
|
1308
|
-
height?: string | number | undefined;
|
|
1309
|
-
};
|
|
1310
|
-
type OGSong = {
|
|
1311
|
-
url: string | URL;
|
|
1312
|
-
disc?: number | undefined;
|
|
1313
|
-
track?: number | undefined;
|
|
1314
|
-
};
|
|
1315
|
-
type OGAlbum = {
|
|
1316
|
-
url: string | URL;
|
|
1317
|
-
disc?: number | undefined;
|
|
1318
|
-
track?: number | undefined;
|
|
1319
|
-
};
|
|
1320
|
-
type OGActor = {
|
|
1321
|
-
url: string | URL;
|
|
1322
|
-
role?: string | undefined;
|
|
1323
|
-
};
|
|
1324
|
-
//#endregion
|
|
1325
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/lib/metadata/types/twitter-types.d.ts
|
|
1326
|
-
type Twitter = TwitterSummary | TwitterSummaryLargeImage | TwitterPlayer | TwitterApp | TwitterMetadata;
|
|
1327
|
-
type TwitterMetadata = {
|
|
1328
|
-
site?: string | undefined;
|
|
1329
|
-
siteId?: string | undefined;
|
|
1330
|
-
creator?: string | undefined;
|
|
1331
|
-
creatorId?: string | undefined;
|
|
1332
|
-
description?: string | undefined;
|
|
1333
|
-
title?: string | TemplateString | undefined;
|
|
1334
|
-
images?: TwitterImage | Array<TwitterImage> | undefined;
|
|
1335
|
-
};
|
|
1336
|
-
type TwitterSummary = TwitterMetadata & {
|
|
1337
|
-
card: 'summary';
|
|
1338
|
-
};
|
|
1339
|
-
type TwitterSummaryLargeImage = TwitterMetadata & {
|
|
1340
|
-
card: 'summary_large_image';
|
|
1341
|
-
};
|
|
1342
|
-
type TwitterPlayer = TwitterMetadata & {
|
|
1343
|
-
card: 'player';
|
|
1344
|
-
players: TwitterPlayerDescriptor | Array<TwitterPlayerDescriptor>;
|
|
1345
|
-
};
|
|
1346
|
-
type TwitterApp = TwitterMetadata & {
|
|
1347
|
-
card: 'app';
|
|
1348
|
-
app: TwitterAppDescriptor;
|
|
1349
|
-
};
|
|
1350
|
-
type TwitterAppDescriptor = {
|
|
1351
|
-
id: {
|
|
1352
|
-
iphone?: string | number | undefined;
|
|
1353
|
-
ipad?: string | number | undefined;
|
|
1354
|
-
googleplay?: string | undefined;
|
|
1355
|
-
};
|
|
1356
|
-
url?: {
|
|
1357
|
-
iphone?: string | URL | undefined;
|
|
1358
|
-
ipad?: string | URL | undefined;
|
|
1359
|
-
googleplay?: string | URL | undefined;
|
|
1360
|
-
} | undefined;
|
|
1361
|
-
name?: string | undefined;
|
|
1362
|
-
};
|
|
1363
|
-
type TwitterImage = string | TwitterImageDescriptor | URL;
|
|
1364
|
-
type TwitterImageDescriptor = {
|
|
1365
|
-
url: string | URL;
|
|
1366
|
-
alt?: string | undefined;
|
|
1367
|
-
secureUrl?: string | URL | undefined;
|
|
1368
|
-
type?: string | undefined;
|
|
1369
|
-
width?: string | number | undefined;
|
|
1370
|
-
height?: string | number | undefined;
|
|
1371
|
-
};
|
|
1372
|
-
type TwitterPlayerDescriptor = {
|
|
1373
|
-
playerUrl: string | URL;
|
|
1374
|
-
streamUrl: string | URL;
|
|
1375
|
-
width: number;
|
|
1376
|
-
height: number;
|
|
1377
|
-
};
|
|
1378
|
-
//#endregion
|
|
1379
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/lib/metadata/types/metadata-interface.d.ts
|
|
1380
|
-
/**
|
|
1381
|
-
* Metadata interface to describe all the metadata fields that can be set in a document.
|
|
1382
|
-
*
|
|
1383
|
-
* @remarks
|
|
1384
|
-
* This interface covers all the metadata fields available in Next.js including title, description,
|
|
1385
|
-
* icons, openGraph, twitter, and more. Fields such as `metadataBase` help in composing absolute URLs
|
|
1386
|
-
* from relative ones. The `title` field supports both simple strings and a template object with `default`,
|
|
1387
|
-
* `template`, and `absolute` properties.
|
|
1388
|
-
*
|
|
1389
|
-
* @example
|
|
1390
|
-
* ```tsx
|
|
1391
|
-
* // Static metadata export in a layout or page:
|
|
1392
|
-
* import type { Metadata } from 'next'
|
|
1393
|
-
*
|
|
1394
|
-
* export const metadata: Metadata = {
|
|
1395
|
-
* metadataBase: new URL('https://example.com'),
|
|
1396
|
-
* title: { default: 'My Site', template: '%s | My Site' },
|
|
1397
|
-
* description: 'Welcome to My Site',
|
|
1398
|
-
* alternates: {
|
|
1399
|
-
* canonical: 'https://example.com',
|
|
1400
|
-
* languages: {
|
|
1401
|
-
* 'en-US': 'https://example.com/en-US',
|
|
1402
|
-
* 'de-DE': 'https://example.com/de-DE'
|
|
1403
|
-
* }
|
|
1404
|
-
* },
|
|
1405
|
-
* openGraph: {
|
|
1406
|
-
* title: 'My Site',
|
|
1407
|
-
* description: 'Welcome to My Site',
|
|
1408
|
-
* url: 'https://example.com',
|
|
1409
|
-
* siteName: 'My Site',
|
|
1410
|
-
* images: [{ url: 'https://example.com/og.png' }]
|
|
1411
|
-
* },
|
|
1412
|
-
* }
|
|
1413
|
-
* ```
|
|
1414
|
-
*/
|
|
1415
|
-
interface Metadata extends DeprecatedMetadataFields {
|
|
1416
|
-
/**
|
|
1417
|
-
* The base path and origin for absolute URLs in various metadata fields.
|
|
1418
|
-
*
|
|
1419
|
-
* @remarks
|
|
1420
|
-
* When relative URLs (for Open Graph images, alternates, etc.) are used, they are composed with this base.
|
|
1421
|
-
* If not provided, Next.js will populate a default value based on environment variables.
|
|
1422
|
-
*/
|
|
1423
|
-
metadataBase?: null | URL | undefined;
|
|
1424
|
-
/**
|
|
1425
|
-
* The document title.
|
|
1426
|
-
*
|
|
1427
|
-
* @remarks
|
|
1428
|
-
* The title can be a simple string (e.g., `"My Blog"`) or an object with:
|
|
1429
|
-
* - `default`: A fallback title for child segments.
|
|
1430
|
-
* - `template`: A title template (e.g., `"%s | My Website"`) applied to child titles.
|
|
1431
|
-
* - `absolute`: A title that overrides parent templates.
|
|
1432
|
-
*
|
|
1433
|
-
* @example
|
|
1434
|
-
* ```tsx
|
|
1435
|
-
* // As a simple string:
|
|
1436
|
-
* title: "My Blog"
|
|
1437
|
-
*
|
|
1438
|
-
* // As a template object:
|
|
1439
|
-
* title: { default: "Dashboard", template: "%s | My Website" }
|
|
1440
|
-
*
|
|
1441
|
-
* // Using absolute value (ignores parent template):
|
|
1442
|
-
* title: { absolute: "My Blog", template: "%s | My Website" }
|
|
1443
|
-
* ```
|
|
1444
|
-
*/
|
|
1445
|
-
title?: null | string | TemplateString | undefined;
|
|
1446
|
-
/**
|
|
1447
|
-
* The document description, and optionally the Open Graph and Twitter descriptions.
|
|
1448
|
-
*
|
|
1449
|
-
* @example
|
|
1450
|
-
* ```tsx
|
|
1451
|
-
* description: "My Blog Description"
|
|
1452
|
-
* // Renders: <meta name="description" content="My Blog Description" />
|
|
1453
|
-
* ```
|
|
1454
|
-
*/
|
|
1455
|
-
description?: null | string | undefined;
|
|
1456
|
-
/**
|
|
1457
|
-
* The application name.
|
|
1458
|
-
*
|
|
1459
|
-
* @example
|
|
1460
|
-
* ```tsx
|
|
1461
|
-
* applicationName: "My Blog"
|
|
1462
|
-
* // Renders: <meta name="application-name" content="My Blog" />
|
|
1463
|
-
* ```
|
|
1464
|
-
*/
|
|
1465
|
-
applicationName?: null | string | undefined;
|
|
1466
|
-
/**
|
|
1467
|
-
* The authors of the document.
|
|
1468
|
-
*
|
|
1469
|
-
* @example
|
|
1470
|
-
* ```tsx
|
|
1471
|
-
* authors: [{ name: "Next.js Team", url: "https://nextjs.org" }]
|
|
1472
|
-
* // Renders:
|
|
1473
|
-
* // <meta name="author" content="Next.js Team" />
|
|
1474
|
-
* // <link rel="author" href="https://nextjs.org" />
|
|
1475
|
-
* ```
|
|
1476
|
-
*/
|
|
1477
|
-
authors?: null | Author | Array<Author> | undefined;
|
|
1478
|
-
/**
|
|
1479
|
-
* The generator used for the document.
|
|
1480
|
-
*
|
|
1481
|
-
* @example
|
|
1482
|
-
* ```tsx
|
|
1483
|
-
* generator: "Next.js"
|
|
1484
|
-
* // Renders: <meta name="generator" content="Next.js" />
|
|
1485
|
-
* ```
|
|
1486
|
-
*/
|
|
1487
|
-
generator?: null | string | undefined;
|
|
1488
|
-
/**
|
|
1489
|
-
* The keywords for the document.
|
|
1490
|
-
*
|
|
1491
|
-
* @remarks
|
|
1492
|
-
* When an array is provided, keywords are flattened into a comma-separated string.
|
|
1493
|
-
*
|
|
1494
|
-
* @example
|
|
1495
|
-
* ```tsx
|
|
1496
|
-
* keywords: "nextjs, react, blog"
|
|
1497
|
-
* // or
|
|
1498
|
-
* keywords: ["react", "server components"]
|
|
1499
|
-
* ```
|
|
1500
|
-
*/
|
|
1501
|
-
keywords?: null | string | Array<string> | undefined;
|
|
1502
|
-
/**
|
|
1503
|
-
* The referrer setting for the document.
|
|
1504
|
-
*
|
|
1505
|
-
* @example
|
|
1506
|
-
* ```tsx
|
|
1507
|
-
* referrer: "origin"
|
|
1508
|
-
* // Renders: <meta name="referrer" content="origin" />
|
|
1509
|
-
* ```
|
|
1510
|
-
*/
|
|
1511
|
-
referrer?: null | ReferrerEnum | undefined;
|
|
1512
|
-
/**
|
|
1513
|
-
* The theme color for the document.
|
|
1514
|
-
*
|
|
1515
|
-
* @deprecated Use the new viewport configuration (`export const viewport: Viewport = { ... }`) instead.
|
|
1516
|
-
*/
|
|
1517
|
-
themeColor?: null | string | ThemeColorDescriptor | ThemeColorDescriptor[] | undefined;
|
|
1518
|
-
/**
|
|
1519
|
-
* The color scheme for the document.
|
|
1520
|
-
*
|
|
1521
|
-
* @deprecated Use the new viewport configuration (`export const viewport: Viewport = { ... }`) instead.
|
|
1522
|
-
*/
|
|
1523
|
-
colorScheme?: null | ColorSchemeEnum | undefined;
|
|
1524
|
-
/**
|
|
1525
|
-
* The viewport setting for the document.
|
|
1526
|
-
*
|
|
1527
|
-
* @deprecated Use the new viewport configuration (`export const viewport: Viewport = { ... }`) instead.
|
|
1528
|
-
*/
|
|
1529
|
-
viewport?: null | string | ViewportLayout | undefined;
|
|
1530
|
-
/**
|
|
1531
|
-
* The creator of the document.
|
|
1532
|
-
*
|
|
1533
|
-
* @example
|
|
1534
|
-
* ```tsx
|
|
1535
|
-
* creator: "Next.js Team"
|
|
1536
|
-
* // Renders: <meta name="creator" content="Next.js Team" />
|
|
1537
|
-
* ```
|
|
1538
|
-
*/
|
|
1539
|
-
creator?: null | string | undefined;
|
|
1540
|
-
/**
|
|
1541
|
-
* The publisher of the document.
|
|
1542
|
-
*
|
|
1543
|
-
* @example
|
|
1544
|
-
* ```tsx
|
|
1545
|
-
* publisher: "Vercel"
|
|
1546
|
-
* // Renders: <meta name="publisher" content="Vercel" />
|
|
1547
|
-
* ```
|
|
1548
|
-
*/
|
|
1549
|
-
publisher?: null | string | undefined;
|
|
1550
|
-
/**
|
|
1551
|
-
* The robots setting for the document.
|
|
1552
|
-
*
|
|
1553
|
-
* @remarks
|
|
1554
|
-
* Can be a string (e.g., "index, follow") or an object with more granular rules.
|
|
1555
|
-
*
|
|
1556
|
-
* @example
|
|
1557
|
-
* ```tsx
|
|
1558
|
-
* robots: "index, follow"
|
|
1559
|
-
* // or
|
|
1560
|
-
* robots: { index: true, follow: true }
|
|
1561
|
-
* ```
|
|
1562
|
-
*
|
|
1563
|
-
* @see https://developer.mozilla.org/docs/Glossary/Robots.txt
|
|
1564
|
-
*/
|
|
1565
|
-
robots?: null | string | Robots | undefined;
|
|
1566
|
-
/**
|
|
1567
|
-
* The canonical and alternate URLs for the document.
|
|
1568
|
-
*
|
|
1569
|
-
* @remarks
|
|
1570
|
-
* This field allows defining a canonical URL as well as alternate URLs (such as for multiple languages).
|
|
1571
|
-
*
|
|
1572
|
-
* @example
|
|
1573
|
-
* ```tsx
|
|
1574
|
-
* alternates: {
|
|
1575
|
-
* canonical: "https://example.com",
|
|
1576
|
-
* languages: {
|
|
1577
|
-
* "en-US": "https://example.com/en-US"
|
|
1578
|
-
* }
|
|
1579
|
-
* }
|
|
1580
|
-
* ```
|
|
1581
|
-
*/
|
|
1582
|
-
alternates?: null | AlternateURLs | undefined;
|
|
1583
|
-
/**
|
|
1584
|
-
* The icons for the document. Defaults to rel="icon".
|
|
1585
|
-
*
|
|
1586
|
-
* @remarks
|
|
1587
|
-
* You can specify a simple URL or an object to differentiate between icon types (e.g., apple-touch-icon).
|
|
1588
|
-
*
|
|
1589
|
-
* @example
|
|
1590
|
-
* ```tsx
|
|
1591
|
-
* icons: "https://example.com/icon.png"
|
|
1592
|
-
* // or
|
|
1593
|
-
* icons: {
|
|
1594
|
-
* icon: "https://example.com/icon.png",
|
|
1595
|
-
* apple: "https://example.com/apple-icon.png"
|
|
1596
|
-
* }
|
|
1597
|
-
* ```
|
|
1598
|
-
*
|
|
1599
|
-
* @see https://developer.mozilla.org/docs/Web/HTML/Attributes/rel#attr-icon
|
|
1600
|
-
*/
|
|
1601
|
-
icons?: null | IconURL | Array<Icon> | Icons | undefined;
|
|
1602
|
-
/**
|
|
1603
|
-
* A web application manifest, as defined in the Web Application Manifest specification.
|
|
1604
|
-
*
|
|
1605
|
-
* @example
|
|
1606
|
-
* ```tsx
|
|
1607
|
-
* manifest: "https://example.com/manifest.json"
|
|
1608
|
-
* // Renders: <link rel="manifest" href="https://example.com/manifest.json" />
|
|
1609
|
-
* ```
|
|
1610
|
-
*
|
|
1611
|
-
* @see https://developer.mozilla.org/docs/Web/Manifest
|
|
1612
|
-
*/
|
|
1613
|
-
manifest?: null | string | URL | undefined;
|
|
1614
|
-
/**
|
|
1615
|
-
* The Open Graph metadata for the document.
|
|
1616
|
-
*
|
|
1617
|
-
* @remarks
|
|
1618
|
-
* Follows the Open Graph protocol to enrich link previews.
|
|
1619
|
-
*
|
|
1620
|
-
* @example
|
|
1621
|
-
* ```tsx
|
|
1622
|
-
* openGraph: {
|
|
1623
|
-
* type: "website",
|
|
1624
|
-
* url: "https://example.com",
|
|
1625
|
-
* title: "My Website",
|
|
1626
|
-
* description: "My Website Description",
|
|
1627
|
-
* siteName: "My Website",
|
|
1628
|
-
* images: [{ url: "https://example.com/og.png" }]
|
|
1629
|
-
* }
|
|
1630
|
-
* ```
|
|
1631
|
-
*
|
|
1632
|
-
* @see https://ogp.me/
|
|
1633
|
-
*/
|
|
1634
|
-
openGraph?: null | OpenGraph | undefined;
|
|
1635
|
-
/**
|
|
1636
|
-
* The Twitter metadata for the document.
|
|
1637
|
-
*
|
|
1638
|
-
* @remarks
|
|
1639
|
-
* - Used for configuring Twitter Cards and can include details such as `card`, `site`, and `creator`.
|
|
1640
|
-
* - Notably, more sites than just Twitter (now X) use this format.
|
|
1641
|
-
*
|
|
1642
|
-
* @example
|
|
1643
|
-
* ```tsx
|
|
1644
|
-
* twitter: {
|
|
1645
|
-
* card: "summary_large_image",
|
|
1646
|
-
* site: "@site",
|
|
1647
|
-
* creator: "@creator",
|
|
1648
|
-
* images: "https://example.com/og.png"
|
|
1649
|
-
* }
|
|
1650
|
-
* ```
|
|
1651
|
-
*/
|
|
1652
|
-
twitter?: null | Twitter | undefined;
|
|
1653
|
-
/**
|
|
1654
|
-
* The Facebook metadata for the document.
|
|
1655
|
-
*
|
|
1656
|
-
* @remarks
|
|
1657
|
-
* Specify either `appId` or `admins` (but not both) to configure Facebook integration.
|
|
1658
|
-
*
|
|
1659
|
-
* @example
|
|
1660
|
-
* ```tsx
|
|
1661
|
-
* facebook: { appId: "12345678" }
|
|
1662
|
-
* // Renders <meta property="fb:app_id" content="12345678" />
|
|
1663
|
-
* // or
|
|
1664
|
-
* facebook: { admins: ["12345678"] }
|
|
1665
|
-
* // Renders <meta property="fb:admins" content="12345678" />
|
|
1666
|
-
* ```
|
|
1667
|
-
*/
|
|
1668
|
-
facebook?: null | Facebook | undefined;
|
|
1669
|
-
/**
|
|
1670
|
-
* The Pinterest metadata for the document to choose whether opt out of rich pin data.
|
|
1671
|
-
*
|
|
1672
|
-
* @example
|
|
1673
|
-
* ```tsx
|
|
1674
|
-
* pinterest: { richPin: true }
|
|
1675
|
-
* // Renders <meta name="pinterest-rich-pin" content="true" />
|
|
1676
|
-
* ```
|
|
1677
|
-
*/
|
|
1678
|
-
pinterest?: null | Pinterest;
|
|
1679
|
-
/**
|
|
1680
|
-
* The common verification tokens for the document.
|
|
1681
|
-
*
|
|
1682
|
-
* @example
|
|
1683
|
-
* ```tsx
|
|
1684
|
-
* verification: { google: "1234567890", yandex: "1234567890", "me": "1234567890" }
|
|
1685
|
-
* // Renders <meta name="google-site-verification" content="1234567890" />
|
|
1686
|
-
* // <meta name="yandex-verification" content="1234567890" />
|
|
1687
|
-
* // <meta name="me" content="@me" />
|
|
1688
|
-
* ```
|
|
1689
|
-
*/
|
|
1690
|
-
verification?: Verification | undefined;
|
|
1691
|
-
/**
|
|
1692
|
-
* The Apple web app metadata for the document.
|
|
1693
|
-
*
|
|
1694
|
-
* @example
|
|
1695
|
-
* ```tsx
|
|
1696
|
-
* appleWebApp: { capable: true, title: "My Website", statusBarStyle: "black-translucent" }
|
|
1697
|
-
* ```
|
|
1698
|
-
*
|
|
1699
|
-
* @see https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html
|
|
1700
|
-
*/
|
|
1701
|
-
appleWebApp?: null | boolean | AppleWebApp | undefined;
|
|
1702
|
-
/**
|
|
1703
|
-
* Indicates whether devices should interpret certain formats (such as telephone numbers) as actionable links.
|
|
1704
|
-
*
|
|
1705
|
-
* @example
|
|
1706
|
-
* ```tsx
|
|
1707
|
-
* formatDetection: { telephone: false }
|
|
1708
|
-
* // Renders: <meta name="format-detection" content="telephone=no" />
|
|
1709
|
-
* ```
|
|
1710
|
-
*/
|
|
1711
|
-
formatDetection?: null | FormatDetection | undefined;
|
|
1712
|
-
/**
|
|
1713
|
-
* The metadata for the iTunes App.
|
|
1714
|
-
*
|
|
1715
|
-
* @remarks
|
|
1716
|
-
* Adds the `name="apple-itunes-app"` meta tag.
|
|
1717
|
-
*
|
|
1718
|
-
* @example
|
|
1719
|
-
* ```tsx
|
|
1720
|
-
* itunes: { app: { id: "123456789", affiliateData: "123456789", appArguments: "123456789" } }
|
|
1721
|
-
* // Renders <meta name="apple-itunes-app" content="app-id=123456789, affiliate-data=123456789, app-arguments=123456789" />
|
|
1722
|
-
* ```
|
|
1723
|
-
*/
|
|
1724
|
-
itunes?: null | ItunesApp | undefined;
|
|
1725
|
-
/**
|
|
1726
|
-
* A brief description of the web page.
|
|
1727
|
-
*
|
|
1728
|
-
* @remarks
|
|
1729
|
-
* Rendered as the `abstract` meta tag. This is *not recommended* as it is superseded by `description`.
|
|
1730
|
-
*
|
|
1731
|
-
* @example
|
|
1732
|
-
* ```tsx
|
|
1733
|
-
* abstract: "My Website Description"
|
|
1734
|
-
* // Renders <meta name="abstract" content="My Website Description" />
|
|
1735
|
-
* ```
|
|
1736
|
-
*/
|
|
1737
|
-
abstract?: null | string | undefined;
|
|
1738
|
-
/**
|
|
1739
|
-
* The Facebook AppLinks metadata for the document.
|
|
1740
|
-
*
|
|
1741
|
-
* @example
|
|
1742
|
-
* ```tsx
|
|
1743
|
-
* appLinks: {
|
|
1744
|
-
* ios: { appStoreId: "123456789", url: "https://example.com" },
|
|
1745
|
-
* android: { packageName: "com.example", url: "https://example.com" }
|
|
1746
|
-
* }
|
|
1747
|
-
*
|
|
1748
|
-
* // Renders
|
|
1749
|
-
* <meta property="al:ios:app_store_id" content="123456789" />
|
|
1750
|
-
* <meta property="al:ios:url" content="https://example.com" />
|
|
1751
|
-
* <meta property="al:android:package" content="com.example" />
|
|
1752
|
-
* <meta property="al:android:url" content="https://example.com" />
|
|
1753
|
-
* ```
|
|
1754
|
-
*/
|
|
1755
|
-
appLinks?: null | AppLinks | undefined;
|
|
1756
|
-
/**
|
|
1757
|
-
* The archives link rel property.
|
|
1758
|
-
*
|
|
1759
|
-
* @example
|
|
1760
|
-
* ```tsx
|
|
1761
|
-
* archives: "https://example.com/archives"
|
|
1762
|
-
* // Renders <link rel="archives" href="https://example.com/archives" />
|
|
1763
|
-
* ```
|
|
1764
|
-
*/
|
|
1765
|
-
archives?: null | string | Array<string> | undefined;
|
|
1766
|
-
/**
|
|
1767
|
-
* The assets link rel property.
|
|
1768
|
-
*
|
|
1769
|
-
* @example
|
|
1770
|
-
* ```tsx
|
|
1771
|
-
* assets: "https://example.com/assets"
|
|
1772
|
-
* // Renders <link rel="assets" href="https://example.com/assets" />
|
|
1773
|
-
* ```
|
|
1774
|
-
*/
|
|
1775
|
-
assets?: null | string | Array<string> | undefined;
|
|
1776
|
-
/**
|
|
1777
|
-
* The bookmarks link rel property.
|
|
1778
|
-
*
|
|
1779
|
-
* @remarks
|
|
1780
|
-
* Although technically against the HTML spec, this is used in practice.
|
|
1781
|
-
*
|
|
1782
|
-
* @example
|
|
1783
|
-
* ```tsx
|
|
1784
|
-
* bookmarks: "https://example.com/bookmarks"
|
|
1785
|
-
* // Renders <link rel="bookmarks" href="https://example.com/bookmarks" />
|
|
1786
|
-
* ```
|
|
1787
|
-
*/
|
|
1788
|
-
bookmarks?: null | string | Array<string> | undefined;
|
|
1789
|
-
/**
|
|
1790
|
-
* The pagination link rel properties.
|
|
1791
|
-
*
|
|
1792
|
-
* @example
|
|
1793
|
-
* ```tsx
|
|
1794
|
-
* pagination: {
|
|
1795
|
-
* previous: "https://example.com/items?page=1",
|
|
1796
|
-
* next: "https://example.com/items?page=3"
|
|
1797
|
-
* }
|
|
1798
|
-
*
|
|
1799
|
-
* // Renders
|
|
1800
|
-
* <link rel="prev" href="https://example.com/items?page=1" />
|
|
1801
|
-
* <link rel="next" href="https://example.com/items?page=3" />
|
|
1802
|
-
* ```
|
|
1803
|
-
*
|
|
1804
|
-
* @see https://developers.google.com/search/blog/2011/09/pagination-with-relnext-and-relprev
|
|
1805
|
-
*/
|
|
1806
|
-
pagination?: {
|
|
1807
|
-
previous?: null | string | URL | undefined;
|
|
1808
|
-
next?: null | string | URL | undefined;
|
|
1809
|
-
};
|
|
1810
|
-
/**
|
|
1811
|
-
* The category meta name property.
|
|
1812
|
-
*
|
|
1813
|
-
* @example
|
|
1814
|
-
* ```tsx
|
|
1815
|
-
* category: "My Category"
|
|
1816
|
-
* // Renders <meta name="category" content="My Category" />
|
|
1817
|
-
* ```
|
|
1818
|
-
*/
|
|
1819
|
-
category?: null | string | undefined;
|
|
1820
|
-
/**
|
|
1821
|
-
* The classification meta name property.
|
|
1822
|
-
*
|
|
1823
|
-
* @example
|
|
1824
|
-
* ```tsx
|
|
1825
|
-
* classification: "My Classification"
|
|
1826
|
-
* // Renders <meta name="classification" content="My Classification" />
|
|
1827
|
-
* ```
|
|
1828
|
-
*/
|
|
1829
|
-
classification?: null | string | undefined;
|
|
1830
|
-
/**
|
|
1831
|
-
* Arbitrary name/value pairs for additional metadata.
|
|
1832
|
-
*
|
|
1833
|
-
* @remarks
|
|
1834
|
-
* Use this field to define custom meta tags that are not directly supported.
|
|
1835
|
-
*
|
|
1836
|
-
* @example
|
|
1837
|
-
* ```tsx
|
|
1838
|
-
* other: { custom: ["meta1", "meta2"] }
|
|
1839
|
-
* ```
|
|
1840
|
-
*/
|
|
1841
|
-
other?: ({
|
|
1842
|
-
[name: string]: string | number | Array<string | number>;
|
|
1843
|
-
} & DeprecatedMetadataFields) | undefined;
|
|
1844
|
-
}
|
|
1845
|
-
/**
|
|
1846
|
-
* ResolvedMetadata represents the fully processed metadata after defaults are applied
|
|
1847
|
-
* and relative URLs are composed with `metadataBase`.
|
|
1848
|
-
*/
|
|
1849
|
-
//#endregion
|
|
1850
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/request/params.d.ts
|
|
1851
|
-
type ParamValue = string | Array<string> | undefined;
|
|
1852
|
-
type Params = Record<string, ParamValue>;
|
|
1853
|
-
//#endregion
|
|
1854
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/types.d.ts
|
|
1855
|
-
declare module 'react' {
|
|
1856
|
-
interface HtmlHTMLAttributes<T> extends React$1.HTMLAttributes<T> {
|
|
1857
|
-
amp?: string;
|
|
1858
|
-
}
|
|
1859
|
-
interface ImgHTMLAttributes<T> {
|
|
1860
|
-
fetchPriority?: 'high' | 'low' | 'auto' | undefined;
|
|
1861
|
-
}
|
|
1862
|
-
}
|
|
1863
|
-
declare global {
|
|
1864
|
-
interface Crypto {
|
|
1865
|
-
readonly subtle: SubtleCrypto;
|
|
1866
|
-
getRandomValues<T extends Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | null>(array: T): T;
|
|
1867
|
-
randomUUID(): string;
|
|
1868
|
-
}
|
|
1869
|
-
var __NEXT_HTTP_AGENT_OPTIONS: {
|
|
1870
|
-
keepAlive?: boolean;
|
|
1871
|
-
} | undefined;
|
|
1872
|
-
var __NEXT_UNDICI_AGENT_SET: boolean;
|
|
1873
|
-
var __NEXT_HTTP_AGENT: Agent;
|
|
1874
|
-
var __NEXT_HTTPS_AGENT: Agent$1;
|
|
1875
|
-
}
|
|
1876
|
-
//#endregion
|
|
1877
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/shared/lib/utils.d.ts
|
|
1878
|
-
type NEXT_DATA = {
|
|
1879
|
-
props: Record<string, any>;
|
|
1880
|
-
page: string;
|
|
1881
|
-
query: ParsedUrlQuery;
|
|
1882
|
-
buildId: string;
|
|
1883
|
-
assetPrefix?: string;
|
|
1884
|
-
runtimeConfig?: {
|
|
1885
|
-
[key: string]: any;
|
|
1886
|
-
};
|
|
1887
|
-
nextExport?: boolean;
|
|
1888
|
-
autoExport?: boolean;
|
|
1889
|
-
isFallback?: boolean;
|
|
1890
|
-
isExperimentalCompile?: boolean;
|
|
1891
|
-
dynamicIds?: (string | number)[];
|
|
1892
|
-
err?: Error & {
|
|
1893
|
-
statusCode?: number;
|
|
1894
|
-
source?: typeof COMPILER_NAMES.server | typeof COMPILER_NAMES.edgeServer;
|
|
1895
|
-
};
|
|
1896
|
-
gsp?: boolean;
|
|
1897
|
-
gssp?: boolean;
|
|
1898
|
-
customServer?: boolean;
|
|
1899
|
-
gip?: boolean;
|
|
1900
|
-
appGip?: boolean;
|
|
1901
|
-
locale?: string;
|
|
1902
|
-
locales?: readonly string[];
|
|
1903
|
-
defaultLocale?: string;
|
|
1904
|
-
domainLocales?: readonly DomainLocale[];
|
|
1905
|
-
scriptLoader?: any[];
|
|
1906
|
-
isPreview?: boolean;
|
|
1907
|
-
notFoundSrcPage?: string;
|
|
1908
|
-
};
|
|
1909
|
-
//#endregion
|
|
1910
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/config-shared.d.ts
|
|
1911
|
-
type I18NDomains = readonly DomainLocale[];
|
|
1912
|
-
interface I18NConfig {
|
|
1913
|
-
defaultLocale: string;
|
|
1914
|
-
domains?: I18NDomains;
|
|
1915
|
-
localeDetection?: false;
|
|
1916
|
-
locales: readonly string[];
|
|
1917
|
-
}
|
|
1918
|
-
interface DomainLocale {
|
|
1919
|
-
defaultLocale: string;
|
|
1920
|
-
domain: string;
|
|
1921
|
-
http?: true;
|
|
1922
|
-
locales?: readonly string[];
|
|
1923
|
-
}
|
|
1924
|
-
//#endregion
|
|
1925
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/compiled/@vercel/og/types.d.ts
|
|
1926
|
-
declare module 'react' {
|
|
1927
|
-
interface HTMLAttributes<T> {
|
|
1928
|
-
/**
|
|
1929
|
-
* Specify styles using Tailwind CSS classes. This feature is currently experimental.
|
|
1930
|
-
* If `style` prop is also specified, styles generated with `tw` prop will be overridden.
|
|
1931
|
-
*
|
|
1932
|
-
* Example:
|
|
1933
|
-
* - `tw='w-full h-full bg-blue-200'`
|
|
1934
|
-
* - `tw='text-9xl'`
|
|
1935
|
-
* - `tw='text-[80px]'`
|
|
1936
|
-
*
|
|
1937
|
-
* @type {string}
|
|
1938
|
-
*/
|
|
1939
|
-
tw?: string;
|
|
1940
|
-
}
|
|
1941
|
-
}
|
|
1942
|
-
//#endregion
|
|
1943
|
-
//#region ../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/server.d.ts
|
|
1944
|
-
declare global {
|
|
1945
|
-
var AsyncLocalStorage: typeof AsyncLocalStorage;
|
|
1946
|
-
}
|
|
1947
|
-
//#endregion
|
|
1948
|
-
//#region src/types/api.types.d.ts
|
|
1949
|
-
interface RouteHandlers {
|
|
1950
|
-
GET: (request: Request) => Promise<NextResponse>;
|
|
1951
|
-
}
|
|
1952
|
-
interface StripeHandlers {
|
|
1953
|
-
checkout: RouteHandlers;
|
|
1954
|
-
portal: RouteHandlers;
|
|
1955
|
-
update: RouteHandlers;
|
|
1956
|
-
donation: RouteHandlers;
|
|
1957
|
-
}
|
|
1958
|
-
//#endregion
|
|
1959
|
-
//#region ../../node_modules/.pnpm/stripe@17.2.1/node_modules/stripe/types/index.d.ts
|
|
1960
|
-
// Imports: The beginning of the section generated from our OpenAPI spec
|
|
1961
|
-
|
|
1962
|
-
// Imports: The end of the section generated from our OpenAPI spec
|
|
1963
|
-
|
|
1964
|
-
declare module 'stripe' {
|
|
1965
|
-
// Added to in other modules, referenced above.
|
|
1966
|
-
export namespace Stripe {}
|
|
1967
|
-
export class Stripe {
|
|
1968
|
-
static Stripe: typeof Stripe;
|
|
1969
|
-
|
|
1970
|
-
// Actually has the signature `Stripe.Webhooks & ((platformFunctions?: PlatformFunctions) => Stripe.Webhooks)`
|
|
1971
|
-
// However the factory function signature was never public in the typings and
|
|
1972
|
-
// will be removed in the next major version so it is omitted
|
|
1973
|
-
// See https://github.com/stripe/stripe-node/issues/1956
|
|
1974
|
-
static webhooks: Stripe.Webhooks;
|
|
1975
|
-
constructor(apiKey: string, config?: Stripe.StripeConfig);
|
|
1976
|
-
StripeResource: Stripe.StripeResource;
|
|
1977
|
-
|
|
1978
|
-
// Fields: The beginning of the section generated from our OpenAPI spec
|
|
1979
|
-
accountLinks: Stripe.AccountLinksResource;
|
|
1980
|
-
accountSessions: Stripe.AccountSessionsResource;
|
|
1981
|
-
accounts: Stripe.AccountsResource;
|
|
1982
|
-
applePayDomains: Stripe.ApplePayDomainsResource;
|
|
1983
|
-
applicationFees: Stripe.ApplicationFeesResource;
|
|
1984
|
-
balance: Stripe.BalanceResource;
|
|
1985
|
-
balanceTransactions: Stripe.BalanceTransactionsResource;
|
|
1986
|
-
charges: Stripe.ChargesResource;
|
|
1987
|
-
confirmationTokens: Stripe.ConfirmationTokensResource;
|
|
1988
|
-
countrySpecs: Stripe.CountrySpecsResource;
|
|
1989
|
-
coupons: Stripe.CouponsResource;
|
|
1990
|
-
creditNotes: Stripe.CreditNotesResource;
|
|
1991
|
-
customerSessions: Stripe.CustomerSessionsResource;
|
|
1992
|
-
customers: Stripe.CustomersResource;
|
|
1993
|
-
disputes: Stripe.DisputesResource;
|
|
1994
|
-
ephemeralKeys: Stripe.EphemeralKeysResource;
|
|
1995
|
-
events: Stripe.EventsResource;
|
|
1996
|
-
exchangeRates: Stripe.ExchangeRatesResource;
|
|
1997
|
-
fileLinks: Stripe.FileLinksResource;
|
|
1998
|
-
files: Stripe.FilesResource;
|
|
1999
|
-
invoiceItems: Stripe.InvoiceItemsResource;
|
|
2000
|
-
invoiceRenderingTemplates: Stripe.InvoiceRenderingTemplatesResource;
|
|
2001
|
-
invoices: Stripe.InvoicesResource;
|
|
2002
|
-
mandates: Stripe.MandatesResource;
|
|
2003
|
-
paymentIntents: Stripe.PaymentIntentsResource;
|
|
2004
|
-
paymentLinks: Stripe.PaymentLinksResource;
|
|
2005
|
-
paymentMethodConfigurations: Stripe.PaymentMethodConfigurationsResource;
|
|
2006
|
-
paymentMethodDomains: Stripe.PaymentMethodDomainsResource;
|
|
2007
|
-
paymentMethods: Stripe.PaymentMethodsResource;
|
|
2008
|
-
payouts: Stripe.PayoutsResource;
|
|
2009
|
-
plans: Stripe.PlansResource;
|
|
2010
|
-
prices: Stripe.PricesResource;
|
|
2011
|
-
products: Stripe.ProductsResource;
|
|
2012
|
-
promotionCodes: Stripe.PromotionCodesResource;
|
|
2013
|
-
quotes: Stripe.QuotesResource;
|
|
2014
|
-
refunds: Stripe.RefundsResource;
|
|
2015
|
-
reviews: Stripe.ReviewsResource;
|
|
2016
|
-
setupAttempts: Stripe.SetupAttemptsResource;
|
|
2017
|
-
setupIntents: Stripe.SetupIntentsResource;
|
|
2018
|
-
shippingRates: Stripe.ShippingRatesResource;
|
|
2019
|
-
sources: Stripe.SourcesResource;
|
|
2020
|
-
subscriptionItems: Stripe.SubscriptionItemsResource;
|
|
2021
|
-
subscriptionSchedules: Stripe.SubscriptionSchedulesResource;
|
|
2022
|
-
subscriptions: Stripe.SubscriptionsResource;
|
|
2023
|
-
taxCodes: Stripe.TaxCodesResource;
|
|
2024
|
-
taxIds: Stripe.TaxIdsResource;
|
|
2025
|
-
taxRates: Stripe.TaxRatesResource;
|
|
2026
|
-
tokens: Stripe.TokensResource;
|
|
2027
|
-
topups: Stripe.TopupsResource;
|
|
2028
|
-
transfers: Stripe.TransfersResource;
|
|
2029
|
-
v2: Stripe.V2Resource;
|
|
2030
|
-
webhookEndpoints: Stripe.WebhookEndpointsResource;
|
|
2031
|
-
apps: {
|
|
2032
|
-
secrets: Stripe.Apps.SecretsResource;
|
|
2033
|
-
};
|
|
2034
|
-
billing: {
|
|
2035
|
-
alerts: Stripe.Billing.AlertsResource;
|
|
2036
|
-
creditBalanceSummary: Stripe.Billing.CreditBalanceSummaryResource;
|
|
2037
|
-
creditBalanceTransactions: Stripe.Billing.CreditBalanceTransactionsResource;
|
|
2038
|
-
creditGrants: Stripe.Billing.CreditGrantsResource;
|
|
2039
|
-
meters: Stripe.Billing.MetersResource;
|
|
2040
|
-
meterEvents: Stripe.Billing.MeterEventsResource;
|
|
2041
|
-
meterEventAdjustments: Stripe.Billing.MeterEventAdjustmentsResource;
|
|
2042
|
-
};
|
|
2043
|
-
billingPortal: {
|
|
2044
|
-
configurations: Stripe.BillingPortal.ConfigurationsResource;
|
|
2045
|
-
sessions: Stripe.BillingPortal.SessionsResource;
|
|
2046
|
-
};
|
|
2047
|
-
checkout: {
|
|
2048
|
-
sessions: Stripe.Checkout.SessionsResource;
|
|
2049
|
-
};
|
|
2050
|
-
climate: {
|
|
2051
|
-
orders: Stripe.Climate.OrdersResource;
|
|
2052
|
-
products: Stripe.Climate.ProductsResource;
|
|
2053
|
-
suppliers: Stripe.Climate.SuppliersResource;
|
|
2054
|
-
};
|
|
2055
|
-
entitlements: {
|
|
2056
|
-
activeEntitlements: Stripe.Entitlements.ActiveEntitlementsResource;
|
|
2057
|
-
features: Stripe.Entitlements.FeaturesResource;
|
|
2058
|
-
};
|
|
2059
|
-
financialConnections: {
|
|
2060
|
-
accounts: Stripe.FinancialConnections.AccountsResource;
|
|
2061
|
-
sessions: Stripe.FinancialConnections.SessionsResource;
|
|
2062
|
-
transactions: Stripe.FinancialConnections.TransactionsResource;
|
|
2063
|
-
};
|
|
2064
|
-
forwarding: {
|
|
2065
|
-
requests: Stripe.Forwarding.RequestsResource;
|
|
2066
|
-
};
|
|
2067
|
-
identity: {
|
|
2068
|
-
verificationReports: Stripe.Identity.VerificationReportsResource;
|
|
2069
|
-
verificationSessions: Stripe.Identity.VerificationSessionsResource;
|
|
2070
|
-
};
|
|
2071
|
-
issuing: {
|
|
2072
|
-
authorizations: Stripe.Issuing.AuthorizationsResource;
|
|
2073
|
-
cards: Stripe.Issuing.CardsResource;
|
|
2074
|
-
cardholders: Stripe.Issuing.CardholdersResource;
|
|
2075
|
-
disputes: Stripe.Issuing.DisputesResource;
|
|
2076
|
-
personalizationDesigns: Stripe.Issuing.PersonalizationDesignsResource;
|
|
2077
|
-
physicalBundles: Stripe.Issuing.PhysicalBundlesResource;
|
|
2078
|
-
tokens: Stripe.Issuing.TokensResource;
|
|
2079
|
-
transactions: Stripe.Issuing.TransactionsResource;
|
|
2080
|
-
};
|
|
2081
|
-
radar: {
|
|
2082
|
-
earlyFraudWarnings: Stripe.Radar.EarlyFraudWarningsResource;
|
|
2083
|
-
valueLists: Stripe.Radar.ValueListsResource;
|
|
2084
|
-
valueListItems: Stripe.Radar.ValueListItemsResource;
|
|
2085
|
-
};
|
|
2086
|
-
reporting: {
|
|
2087
|
-
reportRuns: Stripe.Reporting.ReportRunsResource;
|
|
2088
|
-
reportTypes: Stripe.Reporting.ReportTypesResource;
|
|
2089
|
-
};
|
|
2090
|
-
sigma: {
|
|
2091
|
-
scheduledQueryRuns: Stripe.Sigma.ScheduledQueryRunsResource;
|
|
2092
|
-
};
|
|
2093
|
-
tax: {
|
|
2094
|
-
calculations: Stripe.Tax.CalculationsResource;
|
|
2095
|
-
registrations: Stripe.Tax.RegistrationsResource;
|
|
2096
|
-
settings: Stripe.Tax.SettingsResource;
|
|
2097
|
-
transactions: Stripe.Tax.TransactionsResource;
|
|
2098
|
-
};
|
|
2099
|
-
terminal: {
|
|
2100
|
-
configurations: Stripe.Terminal.ConfigurationsResource;
|
|
2101
|
-
connectionTokens: Stripe.Terminal.ConnectionTokensResource;
|
|
2102
|
-
locations: Stripe.Terminal.LocationsResource;
|
|
2103
|
-
readers: Stripe.Terminal.ReadersResource;
|
|
2104
|
-
};
|
|
2105
|
-
testHelpers: {
|
|
2106
|
-
confirmationTokens: Stripe.TestHelpers.ConfirmationTokensResource;
|
|
2107
|
-
customers: Stripe.TestHelpers.CustomersResource;
|
|
2108
|
-
refunds: Stripe.TestHelpers.RefundsResource;
|
|
2109
|
-
testClocks: Stripe.TestHelpers.TestClocksResource;
|
|
2110
|
-
issuing: {
|
|
2111
|
-
authorizations: Stripe.TestHelpers.Issuing.AuthorizationsResource;
|
|
2112
|
-
cards: Stripe.TestHelpers.Issuing.CardsResource;
|
|
2113
|
-
personalizationDesigns: Stripe.TestHelpers.Issuing.PersonalizationDesignsResource;
|
|
2114
|
-
transactions: Stripe.TestHelpers.Issuing.TransactionsResource;
|
|
2115
|
-
};
|
|
2116
|
-
terminal: {
|
|
2117
|
-
readers: Stripe.TestHelpers.Terminal.ReadersResource;
|
|
2118
|
-
};
|
|
2119
|
-
treasury: {
|
|
2120
|
-
inboundTransfers: Stripe.TestHelpers.Treasury.InboundTransfersResource;
|
|
2121
|
-
outboundPayments: Stripe.TestHelpers.Treasury.OutboundPaymentsResource;
|
|
2122
|
-
outboundTransfers: Stripe.TestHelpers.Treasury.OutboundTransfersResource;
|
|
2123
|
-
receivedCredits: Stripe.TestHelpers.Treasury.ReceivedCreditsResource;
|
|
2124
|
-
receivedDebits: Stripe.TestHelpers.Treasury.ReceivedDebitsResource;
|
|
2125
|
-
};
|
|
2126
|
-
};
|
|
2127
|
-
treasury: {
|
|
2128
|
-
creditReversals: Stripe.Treasury.CreditReversalsResource;
|
|
2129
|
-
debitReversals: Stripe.Treasury.DebitReversalsResource;
|
|
2130
|
-
financialAccounts: Stripe.Treasury.FinancialAccountsResource;
|
|
2131
|
-
inboundTransfers: Stripe.Treasury.InboundTransfersResource;
|
|
2132
|
-
outboundPayments: Stripe.Treasury.OutboundPaymentsResource;
|
|
2133
|
-
outboundTransfers: Stripe.Treasury.OutboundTransfersResource;
|
|
2134
|
-
receivedCredits: Stripe.Treasury.ReceivedCreditsResource;
|
|
2135
|
-
receivedDebits: Stripe.Treasury.ReceivedDebitsResource;
|
|
2136
|
-
transactions: Stripe.Treasury.TransactionsResource;
|
|
2137
|
-
transactionEntries: Stripe.Treasury.TransactionEntriesResource;
|
|
2138
|
-
};
|
|
2139
|
-
// Fields: The end of the section generated from our OpenAPI spec
|
|
2140
|
-
webhooks: Stripe.Webhooks;
|
|
2141
|
-
oauth: Stripe.OAuthResource;
|
|
2142
|
-
/**
|
|
2143
|
-
* API Errors
|
|
2144
|
-
*/
|
|
2145
|
-
errors: typeof Stripe.errors;
|
|
2146
|
-
on(event: 'request', handler: (event: Stripe.RequestEvent) => void): void;
|
|
2147
|
-
on(event: 'response', handler: (event: Stripe.ResponseEvent) => void): void;
|
|
2148
|
-
once(event: 'request', handler: (event: Stripe.RequestEvent) => void): void;
|
|
2149
|
-
once(event: 'response', handler: (event: Stripe.ResponseEvent) => void): void;
|
|
2150
|
-
off(event: 'request', handler: (event: Stripe.RequestEvent) => void): void;
|
|
2151
|
-
off(event: 'response', handler: (event: Stripe.ResponseEvent) => void): void;
|
|
2152
|
-
|
|
2153
|
-
/**
|
|
2154
|
-
* Allows for sending "raw" requests to the Stripe API, which can be used for
|
|
2155
|
-
* testing new API endpoints or performing requests that the library does
|
|
2156
|
-
* not support yet.
|
|
2157
|
-
*
|
|
2158
|
-
* This is an experimental interface and is not yet stable.
|
|
2159
|
-
*
|
|
2160
|
-
* @param method - HTTP request method, 'GET', 'POST', or 'DELETE'
|
|
2161
|
-
* @param path - The path of the request, e.g. '/v1/beta_endpoint'
|
|
2162
|
-
* @param params - The parameters to include in the request body.
|
|
2163
|
-
* @param options - Additional request options.
|
|
2164
|
-
*/
|
|
2165
|
-
rawRequest(method: string, path: string, params?: {
|
|
2166
|
-
[key: string]: unknown;
|
|
2167
|
-
}, options?: Stripe.RawRequestOptions): Promise<Stripe.Response<unknown>>;
|
|
2168
|
-
|
|
2169
|
-
/**
|
|
2170
|
-
* Parses webhook event payload into a ThinEvent and verifies webhook signature.
|
|
2171
|
-
* To get more information on the event, pass the id from the returned object to
|
|
2172
|
-
* `stripe.v2.core.events.retrieve()`
|
|
2173
|
-
*
|
|
2174
|
-
* @throws Stripe.errors.StripeSignatureVerificationError
|
|
2175
|
-
*/
|
|
2176
|
-
parseThinEvent: (
|
|
2177
|
-
/**
|
|
2178
|
-
* Raw text body payload received from Stripe.
|
|
2179
|
-
*/
|
|
2180
|
-
payload: string | Buffer,
|
|
2181
|
-
/**
|
|
2182
|
-
* Value of the `stripe-signature` header from Stripe.
|
|
2183
|
-
* Typically a string.
|
|
2184
|
-
*
|
|
2185
|
-
* Note that this is typed to accept an array of strings
|
|
2186
|
-
* so that it works seamlessly with express's types,
|
|
2187
|
-
* but will throw if an array is passed in practice
|
|
2188
|
-
* since express should never return this header as an array,
|
|
2189
|
-
* only a string.
|
|
2190
|
-
*/
|
|
2191
|
-
header: string | Buffer | Array<string>,
|
|
2192
|
-
/**
|
|
2193
|
-
* Your Webhook Signing Secret for this endpoint (e.g., 'whsec_...').
|
|
2194
|
-
* You can get this [in your dashboard](https://dashboard.stripe.com/webhooks).
|
|
2195
|
-
*/
|
|
2196
|
-
secret: string,
|
|
2197
|
-
/**
|
|
2198
|
-
* Seconds of tolerance on timestamps.
|
|
2199
|
-
*/
|
|
2200
|
-
tolerance?: number,
|
|
2201
|
-
/**
|
|
2202
|
-
* Optional CryptoProvider to use for computing HMAC signatures.
|
|
2203
|
-
*/
|
|
2204
|
-
cryptoProvider?: Stripe.CryptoProvider,
|
|
2205
|
-
/**
|
|
2206
|
-
* Optional: timestamp to use when checking signature validity. Defaults to Date.now().
|
|
2207
|
-
*/
|
|
2208
|
-
receivedAt?: number) => Stripe.ThinEvent;
|
|
2209
|
-
}
|
|
2210
|
-
export default Stripe;
|
|
2211
|
-
}
|
|
2212
|
-
//#endregion
|
|
2213
|
-
//#region src/types/customer.types.d.ts
|
|
2214
|
-
interface Customer {
|
|
2215
|
-
stripeId: string;
|
|
2216
|
-
email: string;
|
|
2217
|
-
inventory: CustomerInventory;
|
|
2218
|
-
}
|
|
2219
|
-
interface CustomerInventory {
|
|
2220
|
-
subscriptions: {
|
|
2221
|
-
[key: string]: Stripe$1.Subscription & {
|
|
2222
|
-
permissions: string[];
|
|
2223
|
-
};
|
|
2224
|
-
};
|
|
2225
|
-
products: {
|
|
2226
|
-
[key: string]: Stripe$1.Product & {
|
|
2227
|
-
permissions: string[];
|
|
2228
|
-
};
|
|
2229
|
-
};
|
|
2230
|
-
payments: {
|
|
2231
|
-
[key: string]: Stripe$1.PaymentIntent;
|
|
2232
|
-
};
|
|
2233
|
-
invoices: {
|
|
2234
|
-
[key: string]: Stripe$1.Invoice;
|
|
2235
|
-
};
|
|
2236
|
-
}
|
|
2237
|
-
//#endregion
|
|
2238
|
-
//#region src/types/permission.types.d.ts
|
|
2239
|
-
interface Permission {
|
|
2240
|
-
id: number;
|
|
2241
|
-
slug?: string | null;
|
|
2242
|
-
singular_name: string;
|
|
2243
|
-
updatedAt: string;
|
|
2244
|
-
createdAt: string;
|
|
2245
|
-
}
|
|
2246
|
-
interface WithPermissions {
|
|
2247
|
-
permissions?: (number | Permission)[] | null;
|
|
2248
|
-
}
|
|
2249
|
-
interface Subscription {
|
|
2250
|
-
status?: string;
|
|
2251
|
-
}
|
|
2252
|
-
interface BaseUser<T = any> {
|
|
2253
|
-
id: string | number;
|
|
2254
|
-
name?: string;
|
|
2255
|
-
email?: string;
|
|
2256
|
-
customer?: Customer | null;
|
|
2257
|
-
roles?: string[];
|
|
2258
|
-
inventory?: T;
|
|
2259
|
-
[key: string]: any;
|
|
2260
|
-
}
|
|
2261
|
-
interface User extends BaseUser {}
|
|
2262
|
-
//#endregion
|
|
2263
|
-
//#region src/types/user-inventory.types.d.ts
|
|
2264
|
-
interface UnlockItem {
|
|
2265
|
-
collection: string;
|
|
2266
|
-
id: number;
|
|
2267
|
-
dateUnlocked: Date;
|
|
2268
|
-
payload?: any;
|
|
2269
|
-
}
|
|
2270
|
-
interface FavoriteItem {
|
|
2271
|
-
collection: string;
|
|
2272
|
-
id: number;
|
|
2273
|
-
dateUnlocked: Date;
|
|
2274
|
-
payload?: any;
|
|
2275
|
-
}
|
|
2276
|
-
interface UserInventory {
|
|
2277
|
-
unlocks: UnlockItem[];
|
|
2278
|
-
favorites: FavoriteItem[];
|
|
2279
|
-
}
|
|
2280
|
-
//#endregion
|
|
2281
|
-
export { Permission as a, WithPermissions as c, RouteHandlers as d, StripeHandlers as f, BaseUser as i, Customer as l, NextResponse as m, UnlockItem as n, Subscription as o, Metadata as p, UserInventory as r, User as s, FavoriteItem as t, CustomerInventory as u };
|
|
2282
|
-
//# sourceMappingURL=index-Buwcou7F.d.mts.map
|