@scalar/types 0.8.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # @scalar/types
2
2
 
3
+ ## 0.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#8862](https://github.com/scalar/scalar/pull/8862): add `python/aiohttp` as a supported code snippet client and expose it through shared snippet client types and config schemas
8
+ - [#8810](https://github.com/scalar/scalar/pull/8810): refactor: move telemetry to an optional plugin
9
+
10
+ ## 0.9.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [#8771](https://github.com/scalar/scalar/pull/8771): feat(snippetz): migrate R code snippets from httr to httr2
15
+
16
+ ### Patch Changes
17
+
18
+ - [#8817](https://github.com/scalar/scalar/pull/8817): feat(snippetz): add a Laravel HTTP client plugin for PHP snippets
19
+
20
+ Added a new `php/laravel` client generator in `@scalar/snippetz`, including comprehensive request coverage for headers, cookies, auth, query params, JSON, multipart, form-encoded, binary, and fallback bodies.
21
+
22
+ Updated generated client registries and schema wiring so the new client is available across Scalar:
23
+ - `@scalar/types` `GROUPED_CLIENTS` / `AVAILABLE_CLIENTS`
24
+ - `@scalar/workspace-store` reference-config schema
25
+ - generated docs and integration client enums
26
+
27
+ Updated api-client expectations for the increased total built-in client count.
28
+
3
29
  ## 0.8.0
4
30
 
5
31
  ### Minor Changes
@@ -132,6 +132,266 @@ export declare const apiReferenceConfigurationSchema: z.ZodObject<{
132
132
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
133
133
  }, z.core.$strip>>>;
134
134
  }, z.core.$strip>>;
135
+ hooks: z.ZodOptional<z.ZodObject<{
136
+ onInit: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodObject<{
137
+ config: z.ZodObject<{
138
+ title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
139
+ slug: z.ZodOptional<z.ZodOptional<z.ZodString>>;
140
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
141
+ baseServerURL: z.ZodOptional<z.ZodOptional<z.ZodString>>;
142
+ hideClientButton: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
143
+ proxyUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
144
+ oauth2RedirectUri: z.ZodOptional<z.ZodOptional<z.ZodString>>;
145
+ searchHotKey: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
146
+ a: "a";
147
+ b: "b";
148
+ c: "c";
149
+ d: "d";
150
+ e: "e";
151
+ f: "f";
152
+ g: "g";
153
+ h: "h";
154
+ i: "i";
155
+ j: "j";
156
+ k: "k";
157
+ l: "l";
158
+ m: "m";
159
+ n: "n";
160
+ o: "o";
161
+ p: "p";
162
+ q: "q";
163
+ r: "r";
164
+ s: "s";
165
+ t: "t";
166
+ u: "u";
167
+ v: "v";
168
+ w: "w";
169
+ x: "x";
170
+ y: "y";
171
+ z: "z";
172
+ }>>>;
173
+ servers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodAny>>>;
174
+ showSidebar: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
175
+ showDeveloperTools: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
176
+ never: "never";
177
+ always: "always";
178
+ localhost: "localhost";
179
+ }>>>>>;
180
+ showToolbar: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
181
+ never: "never";
182
+ always: "always";
183
+ localhost: "localhost";
184
+ }>>>>>;
185
+ operationTitleSource: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
186
+ summary: "summary";
187
+ path: "path";
188
+ }>>>>>;
189
+ theme: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
190
+ default: "default";
191
+ alternate: "alternate";
192
+ moon: "moon";
193
+ purple: "purple";
194
+ solarized: "solarized";
195
+ bluePlanet: "bluePlanet";
196
+ deepSpace: "deepSpace";
197
+ saturn: "saturn";
198
+ kepler: "kepler";
199
+ elysiajs: "elysiajs";
200
+ fastify: "fastify";
201
+ mars: "mars";
202
+ laserwave: "laserwave";
203
+ none: "none";
204
+ }>>>>>;
205
+ _integration: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
206
+ elysiajs: "elysiajs";
207
+ fastify: "fastify";
208
+ adonisjs: "adonisjs";
209
+ astro: "astro";
210
+ docusaurus: "docusaurus";
211
+ dotnet: "dotnet";
212
+ express: "express";
213
+ fastapi: "fastapi";
214
+ go: "go";
215
+ hono: "hono";
216
+ html: "html";
217
+ laravel: "laravel";
218
+ litestar: "litestar";
219
+ nestjs: "nestjs";
220
+ nextjs: "nextjs";
221
+ nitro: "nitro";
222
+ nuxt: "nuxt";
223
+ platformatic: "platformatic";
224
+ react: "react";
225
+ rust: "rust";
226
+ svelte: "svelte";
227
+ vue: "vue";
228
+ }>>>>;
229
+ onRequestSent: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodString], null>, z.ZodVoid>>>;
230
+ persistAuth: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
231
+ plugins: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<readonly [], null>, z.ZodObject<{
232
+ name: z.ZodString;
233
+ views: z.ZodOptional<z.ZodObject<{
234
+ 'request.section': z.ZodOptional<z.ZodArray<z.ZodObject<{
235
+ title: z.ZodOptional<z.ZodString>;
236
+ component: z.ZodUnknown;
237
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
238
+ }, z.core.$strip>>>;
239
+ 'response.section': z.ZodOptional<z.ZodArray<z.ZodObject<{
240
+ title: z.ZodOptional<z.ZodString>;
241
+ component: z.ZodUnknown;
242
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
243
+ }, z.core.$strip>>>;
244
+ }, z.core.$strip>>;
245
+ hooks: z.ZodOptional<z.ZodObject<{
246
+ onBeforeRequest: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodObject<{
247
+ request: z.ZodAny;
248
+ }, z.core.$strip>], null>, z.core.$ZodFunctionOut>>;
249
+ onResponseReceived: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodObject<{
250
+ response: z.ZodCustom<Response, Response>;
251
+ operation: z.ZodRecord<z.ZodString, z.ZodAny>;
252
+ }, z.core.$strip>], null>, z.core.$ZodFunctionOut>>;
253
+ }, z.core.$strip>>;
254
+ }, z.core.$strip>>>>>;
255
+ telemetry: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
256
+ externalUrls: z.ZodOptional<z.ZodPrefault<z.ZodObject<{
257
+ dashboardUrl: z.ZodPrefault<z.ZodString>;
258
+ registryUrl: z.ZodPrefault<z.ZodString>;
259
+ proxyUrl: z.ZodPrefault<z.ZodString>;
260
+ apiBaseUrl: z.ZodPrefault<z.ZodString>;
261
+ }, z.core.$strip>>>;
262
+ }, z.core.$strip>;
263
+ }, z.core.$strip>], null>, z.core.$ZodFunctionOut>>;
264
+ onConfigChange: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodObject<{
265
+ config: z.ZodObject<{
266
+ title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
267
+ slug: z.ZodOptional<z.ZodOptional<z.ZodString>>;
268
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
269
+ baseServerURL: z.ZodOptional<z.ZodOptional<z.ZodString>>;
270
+ hideClientButton: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
271
+ proxyUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
272
+ oauth2RedirectUri: z.ZodOptional<z.ZodOptional<z.ZodString>>;
273
+ searchHotKey: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
274
+ a: "a";
275
+ b: "b";
276
+ c: "c";
277
+ d: "d";
278
+ e: "e";
279
+ f: "f";
280
+ g: "g";
281
+ h: "h";
282
+ i: "i";
283
+ j: "j";
284
+ k: "k";
285
+ l: "l";
286
+ m: "m";
287
+ n: "n";
288
+ o: "o";
289
+ p: "p";
290
+ q: "q";
291
+ r: "r";
292
+ s: "s";
293
+ t: "t";
294
+ u: "u";
295
+ v: "v";
296
+ w: "w";
297
+ x: "x";
298
+ y: "y";
299
+ z: "z";
300
+ }>>>;
301
+ servers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodAny>>>;
302
+ showSidebar: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
303
+ showDeveloperTools: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
304
+ never: "never";
305
+ always: "always";
306
+ localhost: "localhost";
307
+ }>>>>>;
308
+ showToolbar: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
309
+ never: "never";
310
+ always: "always";
311
+ localhost: "localhost";
312
+ }>>>>>;
313
+ operationTitleSource: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
314
+ summary: "summary";
315
+ path: "path";
316
+ }>>>>>;
317
+ theme: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
318
+ default: "default";
319
+ alternate: "alternate";
320
+ moon: "moon";
321
+ purple: "purple";
322
+ solarized: "solarized";
323
+ bluePlanet: "bluePlanet";
324
+ deepSpace: "deepSpace";
325
+ saturn: "saturn";
326
+ kepler: "kepler";
327
+ elysiajs: "elysiajs";
328
+ fastify: "fastify";
329
+ mars: "mars";
330
+ laserwave: "laserwave";
331
+ none: "none";
332
+ }>>>>>;
333
+ _integration: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
334
+ elysiajs: "elysiajs";
335
+ fastify: "fastify";
336
+ adonisjs: "adonisjs";
337
+ astro: "astro";
338
+ docusaurus: "docusaurus";
339
+ dotnet: "dotnet";
340
+ express: "express";
341
+ fastapi: "fastapi";
342
+ go: "go";
343
+ hono: "hono";
344
+ html: "html";
345
+ laravel: "laravel";
346
+ litestar: "litestar";
347
+ nestjs: "nestjs";
348
+ nextjs: "nextjs";
349
+ nitro: "nitro";
350
+ nuxt: "nuxt";
351
+ platformatic: "platformatic";
352
+ react: "react";
353
+ rust: "rust";
354
+ svelte: "svelte";
355
+ vue: "vue";
356
+ }>>>>;
357
+ onRequestSent: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodString], null>, z.ZodVoid>>>;
358
+ persistAuth: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
359
+ plugins: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<readonly [], null>, z.ZodObject<{
360
+ name: z.ZodString;
361
+ views: z.ZodOptional<z.ZodObject<{
362
+ 'request.section': z.ZodOptional<z.ZodArray<z.ZodObject<{
363
+ title: z.ZodOptional<z.ZodString>;
364
+ component: z.ZodUnknown;
365
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
366
+ }, z.core.$strip>>>;
367
+ 'response.section': z.ZodOptional<z.ZodArray<z.ZodObject<{
368
+ title: z.ZodOptional<z.ZodString>;
369
+ component: z.ZodUnknown;
370
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
371
+ }, z.core.$strip>>>;
372
+ }, z.core.$strip>>;
373
+ hooks: z.ZodOptional<z.ZodObject<{
374
+ onBeforeRequest: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodObject<{
375
+ request: z.ZodAny;
376
+ }, z.core.$strip>], null>, z.core.$ZodFunctionOut>>;
377
+ onResponseReceived: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodObject<{
378
+ response: z.ZodCustom<Response, Response>;
379
+ operation: z.ZodRecord<z.ZodString, z.ZodAny>;
380
+ }, z.core.$strip>], null>, z.core.$ZodFunctionOut>>;
381
+ }, z.core.$strip>>;
382
+ }, z.core.$strip>>>>>;
383
+ telemetry: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
384
+ externalUrls: z.ZodOptional<z.ZodPrefault<z.ZodObject<{
385
+ dashboardUrl: z.ZodPrefault<z.ZodString>;
386
+ registryUrl: z.ZodPrefault<z.ZodString>;
387
+ proxyUrl: z.ZodPrefault<z.ZodString>;
388
+ apiBaseUrl: z.ZodPrefault<z.ZodString>;
389
+ }, z.core.$strip>>>;
390
+ }, z.core.$strip>;
391
+ }, z.core.$strip>], null>, z.core.$ZodFunctionOut>>;
392
+ onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [], null>, z.core.$ZodFunctionOut>>;
393
+ }, z.core.$strip>>;
394
+ apiClientPlugins: z.ZodOptional<z.ZodArray<z.ZodAny>>;
135
395
  }, z.core.$strip>>>>;
136
396
  isEditable: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
137
397
  isLoading: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"api-reference-configuration.d.ts","sourceRoot":"","sources":["../../src/api-reference/api-reference-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIrC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAA;AAEjF,OAAO,EAAE,KAAK,mBAAmB,EAA6B,MAAM,wBAAwB,CAAA;AAK5F;;;;;;;;;GASG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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Y,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;KACrC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,SAAS,CAAA;CACvC,CAAA;AAED,oDAAoD;AAGpD,0CAA0C;AAC1C,eAAO,MAAM,yCAAyC,EAAE,OAAO,CAC7D,IAAI,CAAC,yBAAyB,EAAE,KAAK,GAAG,SAAS,CAAC,GAAG,mBAAmB,CAgExE,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAAG,IAAI,CACpD,CAAC,CAAC,KAAK,CAAC,OAAO,yCAAyC,CAAC,EAEzD,OAAO,GAAG,MAAM,GAAG,gBAAgB,GAAG,aAAa,CACpD,GAAG;IACF,cAAc,CAAC,EAAE,2BAA2B,CAAA;CAC7C,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,4CAA4C,GAAG,mCAAmC,GAAG;IAC/F,OAAO,EAAE,mBAAmB,EAAE,CAAA;CAC/B,CAAA;AAED,gDAAgD;AAChD,MAAM,MAAM,4BAA4B,GACpC,OAAO,CAAC,mCAAmC,CAAC,GAC5C,OAAO,CAAC,4CAA4C,CAAC,GACrD,OAAO,CAAC,mCAAmC,CAAC,EAAE,GAC9C,OAAO,CAAC,4CAA4C,CAAC,EAAE,CAAA;AAE3D,uEAAuE;AACvE,eAAO,MAAM,0BAA0B,GACrC,QAAQ,4BAA4B,KACnC,MAAM,IAAI,OAAO,CAAC,4CAA4C,CACkC,CAAA"}
@@ -9,6 +9,265 @@ declare const viewComponentSchema: z.ZodObject<{
9
9
  renderer: z.ZodOptional<z.ZodUnknown>;
10
10
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11
11
  }, z.core.$strip>;
12
+ declare const lifecycleHooksSchema: z.ZodObject<{
13
+ onInit: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodObject<{
14
+ config: z.ZodObject<{
15
+ title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16
+ slug: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
18
+ baseServerURL: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19
+ hideClientButton: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
20
+ proxyUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21
+ oauth2RedirectUri: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22
+ searchHotKey: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
23
+ a: "a";
24
+ b: "b";
25
+ c: "c";
26
+ d: "d";
27
+ e: "e";
28
+ f: "f";
29
+ g: "g";
30
+ h: "h";
31
+ i: "i";
32
+ j: "j";
33
+ k: "k";
34
+ l: "l";
35
+ m: "m";
36
+ n: "n";
37
+ o: "o";
38
+ p: "p";
39
+ q: "q";
40
+ r: "r";
41
+ s: "s";
42
+ t: "t";
43
+ u: "u";
44
+ v: "v";
45
+ w: "w";
46
+ x: "x";
47
+ y: "y";
48
+ z: "z";
49
+ }>>>;
50
+ servers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodAny>>>;
51
+ showSidebar: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
52
+ showDeveloperTools: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
53
+ never: "never";
54
+ always: "always";
55
+ localhost: "localhost";
56
+ }>>>>>;
57
+ showToolbar: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
58
+ never: "never";
59
+ always: "always";
60
+ localhost: "localhost";
61
+ }>>>>>;
62
+ operationTitleSource: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
63
+ summary: "summary";
64
+ path: "path";
65
+ }>>>>>;
66
+ theme: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
67
+ default: "default";
68
+ alternate: "alternate";
69
+ moon: "moon";
70
+ purple: "purple";
71
+ solarized: "solarized";
72
+ bluePlanet: "bluePlanet";
73
+ deepSpace: "deepSpace";
74
+ saturn: "saturn";
75
+ kepler: "kepler";
76
+ elysiajs: "elysiajs";
77
+ fastify: "fastify";
78
+ mars: "mars";
79
+ laserwave: "laserwave";
80
+ none: "none";
81
+ }>>>>>;
82
+ _integration: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
83
+ elysiajs: "elysiajs";
84
+ fastify: "fastify";
85
+ adonisjs: "adonisjs";
86
+ astro: "astro";
87
+ docusaurus: "docusaurus";
88
+ dotnet: "dotnet";
89
+ express: "express";
90
+ fastapi: "fastapi";
91
+ go: "go";
92
+ hono: "hono";
93
+ html: "html";
94
+ laravel: "laravel";
95
+ litestar: "litestar";
96
+ nestjs: "nestjs";
97
+ nextjs: "nextjs";
98
+ nitro: "nitro";
99
+ nuxt: "nuxt";
100
+ platformatic: "platformatic";
101
+ react: "react";
102
+ rust: "rust";
103
+ svelte: "svelte";
104
+ vue: "vue";
105
+ }>>>>;
106
+ onRequestSent: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodString], null>, z.ZodVoid>>>;
107
+ persistAuth: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
108
+ plugins: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<readonly [], null>, z.ZodObject<{
109
+ name: z.ZodString;
110
+ views: z.ZodOptional<z.ZodObject<{
111
+ 'request.section': z.ZodOptional<z.ZodArray<z.ZodObject<{
112
+ title: z.ZodOptional<z.ZodString>;
113
+ component: z.ZodUnknown;
114
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
115
+ }, z.core.$strip>>>;
116
+ 'response.section': z.ZodOptional<z.ZodArray<z.ZodObject<{
117
+ title: z.ZodOptional<z.ZodString>;
118
+ component: z.ZodUnknown;
119
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
120
+ }, z.core.$strip>>>;
121
+ }, z.core.$strip>>;
122
+ hooks: z.ZodOptional<z.ZodObject<{
123
+ onBeforeRequest: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodObject<{
124
+ request: z.ZodAny;
125
+ }, z.core.$strip>], null>, z.core.$ZodFunctionOut>>;
126
+ onResponseReceived: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodObject<{
127
+ response: z.ZodCustom<Response, Response>;
128
+ operation: z.ZodRecord<z.ZodString, z.ZodAny>;
129
+ }, z.core.$strip>], null>, z.core.$ZodFunctionOut>>;
130
+ }, z.core.$strip>>;
131
+ }, z.core.$strip>>>>>;
132
+ telemetry: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
133
+ externalUrls: z.ZodOptional<z.ZodPrefault<z.ZodObject<{
134
+ dashboardUrl: z.ZodPrefault<z.ZodString>;
135
+ registryUrl: z.ZodPrefault<z.ZodString>;
136
+ proxyUrl: z.ZodPrefault<z.ZodString>;
137
+ apiBaseUrl: z.ZodPrefault<z.ZodString>;
138
+ }, z.core.$strip>>>;
139
+ }, z.core.$strip>;
140
+ }, z.core.$strip>], null>, z.core.$ZodFunctionOut>>;
141
+ onConfigChange: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodObject<{
142
+ config: z.ZodObject<{
143
+ title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
144
+ slug: z.ZodOptional<z.ZodOptional<z.ZodString>>;
145
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
146
+ baseServerURL: z.ZodOptional<z.ZodOptional<z.ZodString>>;
147
+ hideClientButton: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
148
+ proxyUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
149
+ oauth2RedirectUri: z.ZodOptional<z.ZodOptional<z.ZodString>>;
150
+ searchHotKey: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
151
+ a: "a";
152
+ b: "b";
153
+ c: "c";
154
+ d: "d";
155
+ e: "e";
156
+ f: "f";
157
+ g: "g";
158
+ h: "h";
159
+ i: "i";
160
+ j: "j";
161
+ k: "k";
162
+ l: "l";
163
+ m: "m";
164
+ n: "n";
165
+ o: "o";
166
+ p: "p";
167
+ q: "q";
168
+ r: "r";
169
+ s: "s";
170
+ t: "t";
171
+ u: "u";
172
+ v: "v";
173
+ w: "w";
174
+ x: "x";
175
+ y: "y";
176
+ z: "z";
177
+ }>>>;
178
+ servers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodAny>>>;
179
+ showSidebar: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
180
+ showDeveloperTools: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
181
+ never: "never";
182
+ always: "always";
183
+ localhost: "localhost";
184
+ }>>>>>;
185
+ showToolbar: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
186
+ never: "never";
187
+ always: "always";
188
+ localhost: "localhost";
189
+ }>>>>>;
190
+ operationTitleSource: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
191
+ summary: "summary";
192
+ path: "path";
193
+ }>>>>>;
194
+ theme: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
195
+ default: "default";
196
+ alternate: "alternate";
197
+ moon: "moon";
198
+ purple: "purple";
199
+ solarized: "solarized";
200
+ bluePlanet: "bluePlanet";
201
+ deepSpace: "deepSpace";
202
+ saturn: "saturn";
203
+ kepler: "kepler";
204
+ elysiajs: "elysiajs";
205
+ fastify: "fastify";
206
+ mars: "mars";
207
+ laserwave: "laserwave";
208
+ none: "none";
209
+ }>>>>>;
210
+ _integration: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
211
+ elysiajs: "elysiajs";
212
+ fastify: "fastify";
213
+ adonisjs: "adonisjs";
214
+ astro: "astro";
215
+ docusaurus: "docusaurus";
216
+ dotnet: "dotnet";
217
+ express: "express";
218
+ fastapi: "fastapi";
219
+ go: "go";
220
+ hono: "hono";
221
+ html: "html";
222
+ laravel: "laravel";
223
+ litestar: "litestar";
224
+ nestjs: "nestjs";
225
+ nextjs: "nextjs";
226
+ nitro: "nitro";
227
+ nuxt: "nuxt";
228
+ platformatic: "platformatic";
229
+ react: "react";
230
+ rust: "rust";
231
+ svelte: "svelte";
232
+ vue: "vue";
233
+ }>>>>;
234
+ onRequestSent: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodString], null>, z.ZodVoid>>>;
235
+ persistAuth: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
236
+ plugins: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<readonly [], null>, z.ZodObject<{
237
+ name: z.ZodString;
238
+ views: z.ZodOptional<z.ZodObject<{
239
+ 'request.section': z.ZodOptional<z.ZodArray<z.ZodObject<{
240
+ title: z.ZodOptional<z.ZodString>;
241
+ component: z.ZodUnknown;
242
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
243
+ }, z.core.$strip>>>;
244
+ 'response.section': z.ZodOptional<z.ZodArray<z.ZodObject<{
245
+ title: z.ZodOptional<z.ZodString>;
246
+ component: z.ZodUnknown;
247
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
248
+ }, z.core.$strip>>>;
249
+ }, z.core.$strip>>;
250
+ hooks: z.ZodOptional<z.ZodObject<{
251
+ onBeforeRequest: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodObject<{
252
+ request: z.ZodAny;
253
+ }, z.core.$strip>], null>, z.core.$ZodFunctionOut>>;
254
+ onResponseReceived: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodObject<{
255
+ response: z.ZodCustom<Response, Response>;
256
+ operation: z.ZodRecord<z.ZodString, z.ZodAny>;
257
+ }, z.core.$strip>], null>, z.core.$ZodFunctionOut>>;
258
+ }, z.core.$strip>>;
259
+ }, z.core.$strip>>>>>;
260
+ telemetry: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
261
+ externalUrls: z.ZodOptional<z.ZodPrefault<z.ZodObject<{
262
+ dashboardUrl: z.ZodPrefault<z.ZodString>;
263
+ registryUrl: z.ZodPrefault<z.ZodString>;
264
+ proxyUrl: z.ZodPrefault<z.ZodString>;
265
+ apiBaseUrl: z.ZodPrefault<z.ZodString>;
266
+ }, z.core.$strip>>>;
267
+ }, z.core.$strip>;
268
+ }, z.core.$strip>], null>, z.core.$ZodFunctionOut>>;
269
+ onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [], null>, z.core.$ZodFunctionOut>>;
270
+ }, z.core.$strip>;
12
271
  export declare const apiReferencePluginSchema: z.ZodFunction<z.ZodTuple<readonly [], null>, z.ZodObject<{
13
272
  name: z.ZodString;
14
273
  extensions: z.ZodArray<z.ZodObject<{
@@ -23,9 +282,270 @@ export declare const apiReferencePluginSchema: z.ZodFunction<z.ZodTuple<readonly
23
282
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
24
283
  }, z.core.$strip>>>;
25
284
  }, z.core.$strip>>;
285
+ hooks: z.ZodOptional<z.ZodObject<{
286
+ onInit: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodObject<{
287
+ config: z.ZodObject<{
288
+ title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
289
+ slug: z.ZodOptional<z.ZodOptional<z.ZodString>>;
290
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
291
+ baseServerURL: z.ZodOptional<z.ZodOptional<z.ZodString>>;
292
+ hideClientButton: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
293
+ proxyUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
294
+ oauth2RedirectUri: z.ZodOptional<z.ZodOptional<z.ZodString>>;
295
+ searchHotKey: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
296
+ a: "a";
297
+ b: "b";
298
+ c: "c";
299
+ d: "d";
300
+ e: "e";
301
+ f: "f";
302
+ g: "g";
303
+ h: "h";
304
+ i: "i";
305
+ j: "j";
306
+ k: "k";
307
+ l: "l";
308
+ m: "m";
309
+ n: "n";
310
+ o: "o";
311
+ p: "p";
312
+ q: "q";
313
+ r: "r";
314
+ s: "s";
315
+ t: "t";
316
+ u: "u";
317
+ v: "v";
318
+ w: "w";
319
+ x: "x";
320
+ y: "y";
321
+ z: "z";
322
+ }>>>;
323
+ servers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodAny>>>;
324
+ showSidebar: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
325
+ showDeveloperTools: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
326
+ never: "never";
327
+ always: "always";
328
+ localhost: "localhost";
329
+ }>>>>>;
330
+ showToolbar: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
331
+ never: "never";
332
+ always: "always";
333
+ localhost: "localhost";
334
+ }>>>>>;
335
+ operationTitleSource: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
336
+ summary: "summary";
337
+ path: "path";
338
+ }>>>>>;
339
+ theme: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
340
+ default: "default";
341
+ alternate: "alternate";
342
+ moon: "moon";
343
+ purple: "purple";
344
+ solarized: "solarized";
345
+ bluePlanet: "bluePlanet";
346
+ deepSpace: "deepSpace";
347
+ saturn: "saturn";
348
+ kepler: "kepler";
349
+ elysiajs: "elysiajs";
350
+ fastify: "fastify";
351
+ mars: "mars";
352
+ laserwave: "laserwave";
353
+ none: "none";
354
+ }>>>>>;
355
+ _integration: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
356
+ elysiajs: "elysiajs";
357
+ fastify: "fastify";
358
+ adonisjs: "adonisjs";
359
+ astro: "astro";
360
+ docusaurus: "docusaurus";
361
+ dotnet: "dotnet";
362
+ express: "express";
363
+ fastapi: "fastapi";
364
+ go: "go";
365
+ hono: "hono";
366
+ html: "html";
367
+ laravel: "laravel";
368
+ litestar: "litestar";
369
+ nestjs: "nestjs";
370
+ nextjs: "nextjs";
371
+ nitro: "nitro";
372
+ nuxt: "nuxt";
373
+ platformatic: "platformatic";
374
+ react: "react";
375
+ rust: "rust";
376
+ svelte: "svelte";
377
+ vue: "vue";
378
+ }>>>>;
379
+ onRequestSent: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodString], null>, z.ZodVoid>>>;
380
+ persistAuth: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
381
+ plugins: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<readonly [], null>, z.ZodObject<{
382
+ name: z.ZodString;
383
+ views: z.ZodOptional<z.ZodObject<{
384
+ 'request.section': z.ZodOptional<z.ZodArray<z.ZodObject<{
385
+ title: z.ZodOptional<z.ZodString>;
386
+ component: z.ZodUnknown;
387
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
388
+ }, z.core.$strip>>>;
389
+ 'response.section': z.ZodOptional<z.ZodArray<z.ZodObject<{
390
+ title: z.ZodOptional<z.ZodString>;
391
+ component: z.ZodUnknown;
392
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
393
+ }, z.core.$strip>>>;
394
+ }, z.core.$strip>>;
395
+ hooks: z.ZodOptional<z.ZodObject<{
396
+ onBeforeRequest: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodObject<{
397
+ request: z.ZodAny;
398
+ }, z.core.$strip>], null>, z.core.$ZodFunctionOut>>;
399
+ onResponseReceived: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodObject<{
400
+ response: z.ZodCustom<Response, Response>;
401
+ operation: z.ZodRecord<z.ZodString, z.ZodAny>;
402
+ }, z.core.$strip>], null>, z.core.$ZodFunctionOut>>;
403
+ }, z.core.$strip>>;
404
+ }, z.core.$strip>>>>>;
405
+ telemetry: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
406
+ externalUrls: z.ZodOptional<z.ZodPrefault<z.ZodObject<{
407
+ dashboardUrl: z.ZodPrefault<z.ZodString>;
408
+ registryUrl: z.ZodPrefault<z.ZodString>;
409
+ proxyUrl: z.ZodPrefault<z.ZodString>;
410
+ apiBaseUrl: z.ZodPrefault<z.ZodString>;
411
+ }, z.core.$strip>>>;
412
+ }, z.core.$strip>;
413
+ }, z.core.$strip>], null>, z.core.$ZodFunctionOut>>;
414
+ onConfigChange: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodObject<{
415
+ config: z.ZodObject<{
416
+ title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
417
+ slug: z.ZodOptional<z.ZodOptional<z.ZodString>>;
418
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
419
+ baseServerURL: z.ZodOptional<z.ZodOptional<z.ZodString>>;
420
+ hideClientButton: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
421
+ proxyUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
422
+ oauth2RedirectUri: z.ZodOptional<z.ZodOptional<z.ZodString>>;
423
+ searchHotKey: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
424
+ a: "a";
425
+ b: "b";
426
+ c: "c";
427
+ d: "d";
428
+ e: "e";
429
+ f: "f";
430
+ g: "g";
431
+ h: "h";
432
+ i: "i";
433
+ j: "j";
434
+ k: "k";
435
+ l: "l";
436
+ m: "m";
437
+ n: "n";
438
+ o: "o";
439
+ p: "p";
440
+ q: "q";
441
+ r: "r";
442
+ s: "s";
443
+ t: "t";
444
+ u: "u";
445
+ v: "v";
446
+ w: "w";
447
+ x: "x";
448
+ y: "y";
449
+ z: "z";
450
+ }>>>;
451
+ servers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodAny>>>;
452
+ showSidebar: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
453
+ showDeveloperTools: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
454
+ never: "never";
455
+ always: "always";
456
+ localhost: "localhost";
457
+ }>>>>>;
458
+ showToolbar: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
459
+ never: "never";
460
+ always: "always";
461
+ localhost: "localhost";
462
+ }>>>>>;
463
+ operationTitleSource: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
464
+ summary: "summary";
465
+ path: "path";
466
+ }>>>>>;
467
+ theme: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
468
+ default: "default";
469
+ alternate: "alternate";
470
+ moon: "moon";
471
+ purple: "purple";
472
+ solarized: "solarized";
473
+ bluePlanet: "bluePlanet";
474
+ deepSpace: "deepSpace";
475
+ saturn: "saturn";
476
+ kepler: "kepler";
477
+ elysiajs: "elysiajs";
478
+ fastify: "fastify";
479
+ mars: "mars";
480
+ laserwave: "laserwave";
481
+ none: "none";
482
+ }>>>>>;
483
+ _integration: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
484
+ elysiajs: "elysiajs";
485
+ fastify: "fastify";
486
+ adonisjs: "adonisjs";
487
+ astro: "astro";
488
+ docusaurus: "docusaurus";
489
+ dotnet: "dotnet";
490
+ express: "express";
491
+ fastapi: "fastapi";
492
+ go: "go";
493
+ hono: "hono";
494
+ html: "html";
495
+ laravel: "laravel";
496
+ litestar: "litestar";
497
+ nestjs: "nestjs";
498
+ nextjs: "nextjs";
499
+ nitro: "nitro";
500
+ nuxt: "nuxt";
501
+ platformatic: "platformatic";
502
+ react: "react";
503
+ rust: "rust";
504
+ svelte: "svelte";
505
+ vue: "vue";
506
+ }>>>>;
507
+ onRequestSent: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodString], null>, z.ZodVoid>>>;
508
+ persistAuth: z.ZodOptional<z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
509
+ plugins: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<readonly [], null>, z.ZodObject<{
510
+ name: z.ZodString;
511
+ views: z.ZodOptional<z.ZodObject<{
512
+ 'request.section': z.ZodOptional<z.ZodArray<z.ZodObject<{
513
+ title: z.ZodOptional<z.ZodString>;
514
+ component: z.ZodUnknown;
515
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
516
+ }, z.core.$strip>>>;
517
+ 'response.section': z.ZodOptional<z.ZodArray<z.ZodObject<{
518
+ title: z.ZodOptional<z.ZodString>;
519
+ component: z.ZodUnknown;
520
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
521
+ }, z.core.$strip>>>;
522
+ }, z.core.$strip>>;
523
+ hooks: z.ZodOptional<z.ZodObject<{
524
+ onBeforeRequest: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodObject<{
525
+ request: z.ZodAny;
526
+ }, z.core.$strip>], null>, z.core.$ZodFunctionOut>>;
527
+ onResponseReceived: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodObject<{
528
+ response: z.ZodCustom<Response, Response>;
529
+ operation: z.ZodRecord<z.ZodString, z.ZodAny>;
530
+ }, z.core.$strip>], null>, z.core.$ZodFunctionOut>>;
531
+ }, z.core.$strip>>;
532
+ }, z.core.$strip>>>>>;
533
+ telemetry: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
534
+ externalUrls: z.ZodOptional<z.ZodPrefault<z.ZodObject<{
535
+ dashboardUrl: z.ZodPrefault<z.ZodString>;
536
+ registryUrl: z.ZodPrefault<z.ZodString>;
537
+ proxyUrl: z.ZodPrefault<z.ZodString>;
538
+ apiBaseUrl: z.ZodPrefault<z.ZodString>;
539
+ }, z.core.$strip>>>;
540
+ }, z.core.$strip>;
541
+ }, z.core.$strip>], null>, z.core.$ZodFunctionOut>>;
542
+ onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [], null>, z.core.$ZodFunctionOut>>;
543
+ }, z.core.$strip>>;
544
+ apiClientPlugins: z.ZodOptional<z.ZodArray<z.ZodAny>>;
26
545
  }, z.core.$strip>>;
27
546
  export type SpecificationExtension = z.infer<typeof openApiExtensionSchema>;
28
547
  export type ViewComponent = z.infer<typeof viewComponentSchema>;
548
+ export type LifecycleHooks = z.infer<typeof lifecycleHooksSchema>;
29
549
  export type ApiReferencePlugin = z.infer<typeof apiReferencePluginSchema>;
30
550
  export {};
31
551
  //# sourceMappingURL=api-reference-plugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"api-reference-plugin.d.ts","sourceRoot":"","sources":["../../src/api-reference/api-reference-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,QAAA,MAAM,sBAAsB;;;;iBAkB1B,CAAA;AAEF,QAAA,MAAM,mBAAmB;;;;iBAavB,CAAA;AASF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;kBAUnC,CAAA;AAGF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAC3E,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAC/D,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,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AACjE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import { baseConfigurationSchema } from './base-configuration.js';
2
3
  const openApiExtensionSchema = z.object({
3
4
  /**
4
5
  * Name of specification extension property. Has to start with `x-`.
@@ -38,6 +39,22 @@ const viewsSchema = z.object({
38
39
  */
39
40
  'content.end': z.array(viewComponentSchema).optional(),
40
41
  });
42
+ const lifecycleHooksSchema = z.object({
43
+ /** Called when the API Reference is initialized */
44
+ onInit: z
45
+ .function({
46
+ input: [z.object({ config: baseConfigurationSchema.partial() })],
47
+ })
48
+ .optional(),
49
+ /** Called when the API Reference configuration changes */
50
+ onConfigChange: z
51
+ .function({
52
+ input: [z.object({ config: baseConfigurationSchema.partial() })],
53
+ })
54
+ .optional(),
55
+ /** Called when the API Reference is destroyed */
56
+ onDestroy: z.function({ input: [] }).optional(),
57
+ });
41
58
  export const apiReferencePluginSchema = z.function({
42
59
  input: [],
43
60
  output: z.object({
@@ -47,5 +64,14 @@ export const apiReferencePluginSchema = z.function({
47
64
  * Components to render at specific views in the API Reference
48
65
  */
49
66
  views: viewsSchema.optional(),
67
+ /**
68
+ * Lifecycle hooks for the plugin
69
+ */
70
+ hooks: lifecycleHooksSchema.optional(),
71
+ /**
72
+ * Client plugins to pass to the embedded API client.
73
+ * Use this to extend the API client from an API reference plugin.
74
+ */
75
+ apiClientPlugins: z.array(z.any()).optional(),
50
76
  }),
51
77
  });
@@ -9,7 +9,7 @@ declare const externalUrlsSchema: z.ZodObject<{
9
9
  export type ExternalUrls = z.output<typeof externalUrlsSchema>;
10
10
  export declare const OLD_PROXY_URL = "https://api.scalar.com/request-proxy";
11
11
  export declare const NEW_PROXY_URL = "https://proxy.scalar.com";
12
- /** Shared configuration for the Api Reference and Api Client */
12
+ /** Shared configuration for the API Reference and API Client */
13
13
  export declare const baseConfigurationSchema: z.ZodObject<{
14
14
  title: z.ZodOptional<z.ZodString>;
15
15
  slug: z.ZodOptional<z.ZodString>;
@@ -136,5 +136,7 @@ export declare const baseConfigurationSchema: z.ZodObject<{
136
136
  apiBaseUrl: z.ZodPrefault<z.ZodString>;
137
137
  }, z.core.$strip>>;
138
138
  }, z.core.$strip>;
139
+ /** Shared configuration for the API Reference and API Client */
140
+ export type BaseConfiguration = z.infer<typeof baseConfigurationSchema>;
139
141
  export {};
140
142
  //# sourceMappingURL=base-configuration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-configuration.d.ts","sourceRoot":"","sources":["../../src/api-reference/base-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AAInB,QAAA,MAAM,kBAAkB;;;;;iBAKtB,CAAA;AAEF,oDAAoD;AACpD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAE9D,eAAO,MAAM,aAAa,yCAAyC,CAAA;AACnE,eAAO,MAAM,aAAa,6BAA6B,CAAA;AAEvD,gEAAgE;AAChE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0JlC,CAAA"}
1
+ {"version":3,"file":"base-configuration.d.ts","sourceRoot":"","sources":["../../src/api-reference/base-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AAInB,QAAA,MAAM,kBAAkB;;;;;iBAKtB,CAAA;AAEF,oDAAoD;AACpD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAE9D,eAAO,MAAM,aAAa,yCAAyC,CAAA;AACnE,eAAO,MAAM,aAAa,6BAA6B,CAAA;AAEvD,gEAAgE;AAChE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0JlC,CAAA;AAEF,gEAAgE;AAChE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
@@ -8,7 +8,7 @@ const externalUrlsSchema = z.object({
8
8
  });
9
9
  export const OLD_PROXY_URL = 'https://api.scalar.com/request-proxy';
10
10
  export const NEW_PROXY_URL = 'https://proxy.scalar.com';
11
- /** Shared configuration for the Api Reference and Api Client */
11
+ /** Shared configuration for the API Reference and API Client */
12
12
  export const baseConfigurationSchema = z.object({
13
13
  /**
14
14
  * The title of the OpenAPI document.
@@ -159,7 +159,7 @@ export const baseConfigurationSchema = z.object({
159
159
  persistAuth: z.boolean().optional().default(false).catch(false),
160
160
  /** Plugins for the API client */
161
161
  plugins: z.array(apiClientPluginSchema).optional(),
162
- /** Enables / disables telemetry*/
162
+ /** Enables / disables telemetry */
163
163
  telemetry: z.boolean().optional().default(true),
164
164
  /** A bunch of external URLs to Scalar's services. */
165
165
  externalUrls: externalUrlsSchema.prefault({}),
@@ -1,9 +1,9 @@
1
1
  export { type ApiClientConfiguration, apiClientConfigurationSchema, } from './api-client-configuration.js';
2
2
  export { type ApiClientPlugin, apiClientPluginSchema, hooksSchema } from './api-client-plugin.js';
3
3
  export { type AnyApiReferenceConfiguration, type ApiReferenceConfiguration, type ApiReferenceConfigurationRaw, type ApiReferenceConfigurationWithMultipleSources, type ApiReferenceConfigurationWithSource, apiReferenceConfigurationSchema, apiReferenceConfigurationWithSourceSchema, isConfigurationWithSources, } from './api-reference-configuration.js';
4
- export type { ApiReferencePlugin, SpecificationExtension, ViewComponent, } from './api-reference-plugin.js';
4
+ export type { ApiReferencePlugin, LifecycleHooks, SpecificationExtension, ViewComponent, } from './api-reference-plugin.js';
5
5
  export type { AuthenticationConfiguration } from './authentication-configuration.js';
6
- export type { ExternalUrls } from './base-configuration.js';
6
+ export type { BaseConfiguration, ExternalUrls } from './base-configuration.js';
7
7
  export type { ApiReferenceInstance, CreateApiReference } from './html-api.js';
8
8
  export { type HtmlRenderingConfiguration, htmlRenderingConfigurationSchema, } from './html-rendering-configuration.js';
9
9
  export { type SourceConfiguration, sourceConfigurationSchema, } from './source-configuration.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api-reference/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,sBAAsB,EAC3B,4BAA4B,GAC7B,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,KAAK,eAAe,EAAE,qBAAqB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAC9F,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,EACjC,KAAK,4CAA4C,EACjD,KAAK,mCAAmC,EACxC,+BAA+B,EAC/B,yCAAyC,EACzC,0BAA0B,GAC3B,MAAM,+BAA+B,CAAA;AACtC,YAAY,EACV,kBAAkB,EAClB,sBAAsB,EACtB,aAAa,GACd,MAAM,wBAAwB,CAAA;AAC/B,YAAY,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAA;AACjF,YAAY,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACxD,YAAY,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC1E,OAAO,EACL,KAAK,0BAA0B,EAC/B,gCAAgC,GACjC,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,KAAK,mBAAmB,EACxB,yBAAyB,GAC1B,MAAM,wBAAwB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api-reference/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,sBAAsB,EAC3B,4BAA4B,GAC7B,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,KAAK,eAAe,EAAE,qBAAqB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAC9F,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,EACjC,KAAK,4CAA4C,EACjD,KAAK,mCAAmC,EACxC,+BAA+B,EAC/B,yCAAyC,EACzC,0BAA0B,GAC3B,MAAM,+BAA+B,CAAA;AACtC,YAAY,EACV,kBAAkB,EAClB,cAAc,EACd,sBAAsB,EACtB,aAAa,GACd,MAAM,wBAAwB,CAAA;AAC/B,YAAY,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAA;AACjF,YAAY,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAC3E,YAAY,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC1E,OAAO,EACL,KAAK,0BAA0B,EAC/B,gCAAgC,GACjC,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,KAAK,mBAAmB,EACxB,yBAAyB,GAC1B,MAAM,wBAAwB,CAAA"}
@@ -21,10 +21,10 @@ export declare const GROUPED_CLIENTS: {
21
21
  readonly node: readonly ["axios", "fetch", "ofetch", "undici"];
22
22
  readonly objc: readonly ["nsurlsession"];
23
23
  readonly ocaml: readonly ["cohttp"];
24
- readonly php: readonly ["curl", "guzzle"];
24
+ readonly php: readonly ["curl", "guzzle", "laravel"];
25
25
  readonly powershell: readonly ["restmethod", "webrequest"];
26
- readonly python: readonly ["python3", "requests", "httpx_sync", "httpx_async"];
27
- readonly r: readonly ["httr"];
26
+ readonly python: readonly ["python3", "requests", "aiohttp", "httpx_sync", "httpx_async"];
27
+ readonly r: readonly ["httr2"];
28
28
  readonly ruby: readonly ["native"];
29
29
  readonly rust: readonly ["reqwest"];
30
30
  readonly shell: readonly ["curl", "httpie", "wget"];
@@ -34,7 +34,7 @@ export declare const GROUPED_CLIENTS: {
34
34
  * Flat array of all available client identifiers.
35
35
  * Each identifier follows the format `target/client` (e.g., `js/fetch`, `python/requests`).
36
36
  */
37
- export declare const AVAILABLE_CLIENTS: ("c/libcurl" | "c/clj_http" | "c/httpclient" | "c/restsharp" | "c/http" | "c/native" | "c/http1.1" | "c/asynchttp" | "c/nethttp" | "c/okhttp" | "c/unirest" | "c/axios" | "c/fetch" | "c/jquery" | "c/ofetch" | "c/xhr" | "c/undici" | "c/nsurlsession" | "c/cohttp" | "c/curl" | "c/guzzle" | "c/restmethod" | "c/webrequest" | "c/python3" | "c/requests" | "c/httpx_sync" | "c/httpx_async" | "c/httr" | "c/reqwest" | "c/httpie" | "c/wget" | "r/libcurl" | "r/clj_http" | "r/httpclient" | "r/restsharp" | "r/http" | "r/native" | "r/http1.1" | "r/asynchttp" | "r/nethttp" | "r/okhttp" | "r/unirest" | "r/axios" | "r/fetch" | "r/jquery" | "r/ofetch" | "r/xhr" | "r/undici" | "r/nsurlsession" | "r/cohttp" | "r/curl" | "r/guzzle" | "r/restmethod" | "r/webrequest" | "r/python3" | "r/requests" | "r/httpx_sync" | "r/httpx_async" | "r/httr" | "r/reqwest" | "r/httpie" | "r/wget" | "go/libcurl" | "go/clj_http" | "go/httpclient" | "go/restsharp" | "go/http" | "go/native" | "go/http1.1" | "go/asynchttp" | "go/nethttp" | "go/okhttp" | "go/unirest" | "go/axios" | "go/fetch" | "go/jquery" | "go/ofetch" | "go/xhr" | "go/undici" | "go/nsurlsession" | "go/cohttp" | "go/curl" | "go/guzzle" | "go/restmethod" | "go/webrequest" | "go/python3" | "go/requests" | "go/httpx_sync" | "go/httpx_async" | "go/httr" | "go/reqwest" | "go/httpie" | "go/wget" | "rust/libcurl" | "rust/clj_http" | "rust/httpclient" | "rust/restsharp" | "rust/http" | "rust/native" | "rust/http1.1" | "rust/asynchttp" | "rust/nethttp" | "rust/okhttp" | "rust/unirest" | "rust/axios" | "rust/fetch" | "rust/jquery" | "rust/ofetch" | "rust/xhr" | "rust/undici" | "rust/nsurlsession" | "rust/cohttp" | "rust/curl" | "rust/guzzle" | "rust/restmethod" | "rust/webrequest" | "rust/python3" | "rust/requests" | "rust/httpx_sync" | "rust/httpx_async" | "rust/httr" | "rust/reqwest" | "rust/httpie" | "rust/wget" | "http/libcurl" | "http/clj_http" | "http/httpclient" | "http/restsharp" | "http/http" | "http/native" | "http/http1.1" | "http/asynchttp" | "http/nethttp" | "http/okhttp" | "http/unirest" | "http/axios" | "http/fetch" | "http/jquery" | "http/ofetch" | "http/xhr" | "http/undici" | "http/nsurlsession" | "http/cohttp" | "http/curl" | "http/guzzle" | "http/restmethod" | "http/webrequest" | "http/python3" | "http/requests" | "http/httpx_sync" | "http/httpx_async" | "http/httr" | "http/reqwest" | "http/httpie" | "http/wget" | "clojure/libcurl" | "clojure/clj_http" | "clojure/httpclient" | "clojure/restsharp" | "clojure/http" | "clojure/native" | "clojure/http1.1" | "clojure/asynchttp" | "clojure/nethttp" | "clojure/okhttp" | "clojure/unirest" | "clojure/axios" | "clojure/fetch" | "clojure/jquery" | "clojure/ofetch" | "clojure/xhr" | "clojure/undici" | "clojure/nsurlsession" | "clojure/cohttp" | "clojure/curl" | "clojure/guzzle" | "clojure/restmethod" | "clojure/webrequest" | "clojure/python3" | "clojure/requests" | "clojure/httpx_sync" | "clojure/httpx_async" | "clojure/httr" | "clojure/reqwest" | "clojure/httpie" | "clojure/wget" | "csharp/libcurl" | "csharp/clj_http" | "csharp/httpclient" | "csharp/restsharp" | "csharp/http" | "csharp/native" | "csharp/http1.1" | "csharp/asynchttp" | "csharp/nethttp" | "csharp/okhttp" | "csharp/unirest" | "csharp/axios" | "csharp/fetch" | "csharp/jquery" | "csharp/ofetch" | "csharp/xhr" | "csharp/undici" | "csharp/nsurlsession" | "csharp/cohttp" | "csharp/curl" | "csharp/guzzle" | "csharp/restmethod" | "csharp/webrequest" | "csharp/python3" | "csharp/requests" | "csharp/httpx_sync" | "csharp/httpx_async" | "csharp/httr" | "csharp/reqwest" | "csharp/httpie" | "csharp/wget" | "dart/libcurl" | "dart/clj_http" | "dart/httpclient" | "dart/restsharp" | "dart/http" | "dart/native" | "dart/http1.1" | "dart/asynchttp" | "dart/nethttp" | "dart/okhttp" | "dart/unirest" | "dart/axios" | "dart/fetch" | "dart/jquery" | "dart/ofetch" | "dart/xhr" | "dart/undici" | "dart/nsurlsession" | "dart/cohttp" | "dart/curl" | "dart/guzzle" | "dart/restmethod" | "dart/webrequest" | "dart/python3" | "dart/requests" | "dart/httpx_sync" | "dart/httpx_async" | "dart/httr" | "dart/reqwest" | "dart/httpie" | "dart/wget" | "fsharp/libcurl" | "fsharp/clj_http" | "fsharp/httpclient" | "fsharp/restsharp" | "fsharp/http" | "fsharp/native" | "fsharp/http1.1" | "fsharp/asynchttp" | "fsharp/nethttp" | "fsharp/okhttp" | "fsharp/unirest" | "fsharp/axios" | "fsharp/fetch" | "fsharp/jquery" | "fsharp/ofetch" | "fsharp/xhr" | "fsharp/undici" | "fsharp/nsurlsession" | "fsharp/cohttp" | "fsharp/curl" | "fsharp/guzzle" | "fsharp/restmethod" | "fsharp/webrequest" | "fsharp/python3" | "fsharp/requests" | "fsharp/httpx_sync" | "fsharp/httpx_async" | "fsharp/httr" | "fsharp/reqwest" | "fsharp/httpie" | "fsharp/wget" | "java/libcurl" | "java/clj_http" | "java/httpclient" | "java/restsharp" | "java/http" | "java/native" | "java/http1.1" | "java/asynchttp" | "java/nethttp" | "java/okhttp" | "java/unirest" | "java/axios" | "java/fetch" | "java/jquery" | "java/ofetch" | "java/xhr" | "java/undici" | "java/nsurlsession" | "java/cohttp" | "java/curl" | "java/guzzle" | "java/restmethod" | "java/webrequest" | "java/python3" | "java/requests" | "java/httpx_sync" | "java/httpx_async" | "java/httr" | "java/reqwest" | "java/httpie" | "java/wget" | "js/libcurl" | "js/clj_http" | "js/httpclient" | "js/restsharp" | "js/http" | "js/native" | "js/http1.1" | "js/asynchttp" | "js/nethttp" | "js/okhttp" | "js/unirest" | "js/axios" | "js/fetch" | "js/jquery" | "js/ofetch" | "js/xhr" | "js/undici" | "js/nsurlsession" | "js/cohttp" | "js/curl" | "js/guzzle" | "js/restmethod" | "js/webrequest" | "js/python3" | "js/requests" | "js/httpx_sync" | "js/httpx_async" | "js/httr" | "js/reqwest" | "js/httpie" | "js/wget" | "kotlin/libcurl" | "kotlin/clj_http" | "kotlin/httpclient" | "kotlin/restsharp" | "kotlin/http" | "kotlin/native" | "kotlin/http1.1" | "kotlin/asynchttp" | "kotlin/nethttp" | "kotlin/okhttp" | "kotlin/unirest" | "kotlin/axios" | "kotlin/fetch" | "kotlin/jquery" | "kotlin/ofetch" | "kotlin/xhr" | "kotlin/undici" | "kotlin/nsurlsession" | "kotlin/cohttp" | "kotlin/curl" | "kotlin/guzzle" | "kotlin/restmethod" | "kotlin/webrequest" | "kotlin/python3" | "kotlin/requests" | "kotlin/httpx_sync" | "kotlin/httpx_async" | "kotlin/httr" | "kotlin/reqwest" | "kotlin/httpie" | "kotlin/wget" | "node/libcurl" | "node/clj_http" | "node/httpclient" | "node/restsharp" | "node/http" | "node/native" | "node/http1.1" | "node/asynchttp" | "node/nethttp" | "node/okhttp" | "node/unirest" | "node/axios" | "node/fetch" | "node/jquery" | "node/ofetch" | "node/xhr" | "node/undici" | "node/nsurlsession" | "node/cohttp" | "node/curl" | "node/guzzle" | "node/restmethod" | "node/webrequest" | "node/python3" | "node/requests" | "node/httpx_sync" | "node/httpx_async" | "node/httr" | "node/reqwest" | "node/httpie" | "node/wget" | "objc/libcurl" | "objc/clj_http" | "objc/httpclient" | "objc/restsharp" | "objc/http" | "objc/native" | "objc/http1.1" | "objc/asynchttp" | "objc/nethttp" | "objc/okhttp" | "objc/unirest" | "objc/axios" | "objc/fetch" | "objc/jquery" | "objc/ofetch" | "objc/xhr" | "objc/undici" | "objc/nsurlsession" | "objc/cohttp" | "objc/curl" | "objc/guzzle" | "objc/restmethod" | "objc/webrequest" | "objc/python3" | "objc/requests" | "objc/httpx_sync" | "objc/httpx_async" | "objc/httr" | "objc/reqwest" | "objc/httpie" | "objc/wget" | "ocaml/libcurl" | "ocaml/clj_http" | "ocaml/httpclient" | "ocaml/restsharp" | "ocaml/http" | "ocaml/native" | "ocaml/http1.1" | "ocaml/asynchttp" | "ocaml/nethttp" | "ocaml/okhttp" | "ocaml/unirest" | "ocaml/axios" | "ocaml/fetch" | "ocaml/jquery" | "ocaml/ofetch" | "ocaml/xhr" | "ocaml/undici" | "ocaml/nsurlsession" | "ocaml/cohttp" | "ocaml/curl" | "ocaml/guzzle" | "ocaml/restmethod" | "ocaml/webrequest" | "ocaml/python3" | "ocaml/requests" | "ocaml/httpx_sync" | "ocaml/httpx_async" | "ocaml/httr" | "ocaml/reqwest" | "ocaml/httpie" | "ocaml/wget" | "php/libcurl" | "php/clj_http" | "php/httpclient" | "php/restsharp" | "php/http" | "php/native" | "php/http1.1" | "php/asynchttp" | "php/nethttp" | "php/okhttp" | "php/unirest" | "php/axios" | "php/fetch" | "php/jquery" | "php/ofetch" | "php/xhr" | "php/undici" | "php/nsurlsession" | "php/cohttp" | "php/curl" | "php/guzzle" | "php/restmethod" | "php/webrequest" | "php/python3" | "php/requests" | "php/httpx_sync" | "php/httpx_async" | "php/httr" | "php/reqwest" | "php/httpie" | "php/wget" | "powershell/libcurl" | "powershell/clj_http" | "powershell/httpclient" | "powershell/restsharp" | "powershell/http" | "powershell/native" | "powershell/http1.1" | "powershell/asynchttp" | "powershell/nethttp" | "powershell/okhttp" | "powershell/unirest" | "powershell/axios" | "powershell/fetch" | "powershell/jquery" | "powershell/ofetch" | "powershell/xhr" | "powershell/undici" | "powershell/nsurlsession" | "powershell/cohttp" | "powershell/curl" | "powershell/guzzle" | "powershell/restmethod" | "powershell/webrequest" | "powershell/python3" | "powershell/requests" | "powershell/httpx_sync" | "powershell/httpx_async" | "powershell/httr" | "powershell/reqwest" | "powershell/httpie" | "powershell/wget" | "python/libcurl" | "python/clj_http" | "python/httpclient" | "python/restsharp" | "python/http" | "python/native" | "python/http1.1" | "python/asynchttp" | "python/nethttp" | "python/okhttp" | "python/unirest" | "python/axios" | "python/fetch" | "python/jquery" | "python/ofetch" | "python/xhr" | "python/undici" | "python/nsurlsession" | "python/cohttp" | "python/curl" | "python/guzzle" | "python/restmethod" | "python/webrequest" | "python/python3" | "python/requests" | "python/httpx_sync" | "python/httpx_async" | "python/httr" | "python/reqwest" | "python/httpie" | "python/wget" | "ruby/libcurl" | "ruby/clj_http" | "ruby/httpclient" | "ruby/restsharp" | "ruby/http" | "ruby/native" | "ruby/http1.1" | "ruby/asynchttp" | "ruby/nethttp" | "ruby/okhttp" | "ruby/unirest" | "ruby/axios" | "ruby/fetch" | "ruby/jquery" | "ruby/ofetch" | "ruby/xhr" | "ruby/undici" | "ruby/nsurlsession" | "ruby/cohttp" | "ruby/curl" | "ruby/guzzle" | "ruby/restmethod" | "ruby/webrequest" | "ruby/python3" | "ruby/requests" | "ruby/httpx_sync" | "ruby/httpx_async" | "ruby/httr" | "ruby/reqwest" | "ruby/httpie" | "ruby/wget" | "shell/libcurl" | "shell/clj_http" | "shell/httpclient" | "shell/restsharp" | "shell/http" | "shell/native" | "shell/http1.1" | "shell/asynchttp" | "shell/nethttp" | "shell/okhttp" | "shell/unirest" | "shell/axios" | "shell/fetch" | "shell/jquery" | "shell/ofetch" | "shell/xhr" | "shell/undici" | "shell/nsurlsession" | "shell/cohttp" | "shell/curl" | "shell/guzzle" | "shell/restmethod" | "shell/webrequest" | "shell/python3" | "shell/requests" | "shell/httpx_sync" | "shell/httpx_async" | "shell/httr" | "shell/reqwest" | "shell/httpie" | "shell/wget" | "swift/libcurl" | "swift/clj_http" | "swift/httpclient" | "swift/restsharp" | "swift/http" | "swift/native" | "swift/http1.1" | "swift/asynchttp" | "swift/nethttp" | "swift/okhttp" | "swift/unirest" | "swift/axios" | "swift/fetch" | "swift/jquery" | "swift/ofetch" | "swift/xhr" | "swift/undici" | "swift/nsurlsession" | "swift/cohttp" | "swift/curl" | "swift/guzzle" | "swift/restmethod" | "swift/webrequest" | "swift/python3" | "swift/requests" | "swift/httpx_sync" | "swift/httpx_async" | "swift/httr" | "swift/reqwest" | "swift/httpie" | "swift/wget")[];
37
+ export declare const AVAILABLE_CLIENTS: ("c/laravel" | "c/libcurl" | "c/clj_http" | "c/httpclient" | "c/restsharp" | "c/http" | "c/native" | "c/http1.1" | "c/asynchttp" | "c/nethttp" | "c/okhttp" | "c/unirest" | "c/axios" | "c/fetch" | "c/jquery" | "c/ofetch" | "c/xhr" | "c/undici" | "c/nsurlsession" | "c/cohttp" | "c/curl" | "c/guzzle" | "c/restmethod" | "c/webrequest" | "c/python3" | "c/requests" | "c/aiohttp" | "c/httpx_sync" | "c/httpx_async" | "c/httr2" | "c/reqwest" | "c/httpie" | "c/wget" | "r/laravel" | "r/libcurl" | "r/clj_http" | "r/httpclient" | "r/restsharp" | "r/http" | "r/native" | "r/http1.1" | "r/asynchttp" | "r/nethttp" | "r/okhttp" | "r/unirest" | "r/axios" | "r/fetch" | "r/jquery" | "r/ofetch" | "r/xhr" | "r/undici" | "r/nsurlsession" | "r/cohttp" | "r/curl" | "r/guzzle" | "r/restmethod" | "r/webrequest" | "r/python3" | "r/requests" | "r/aiohttp" | "r/httpx_sync" | "r/httpx_async" | "r/httr2" | "r/reqwest" | "r/httpie" | "r/wget" | "go/laravel" | "go/libcurl" | "go/clj_http" | "go/httpclient" | "go/restsharp" | "go/http" | "go/native" | "go/http1.1" | "go/asynchttp" | "go/nethttp" | "go/okhttp" | "go/unirest" | "go/axios" | "go/fetch" | "go/jquery" | "go/ofetch" | "go/xhr" | "go/undici" | "go/nsurlsession" | "go/cohttp" | "go/curl" | "go/guzzle" | "go/restmethod" | "go/webrequest" | "go/python3" | "go/requests" | "go/aiohttp" | "go/httpx_sync" | "go/httpx_async" | "go/httr2" | "go/reqwest" | "go/httpie" | "go/wget" | "rust/laravel" | "rust/libcurl" | "rust/clj_http" | "rust/httpclient" | "rust/restsharp" | "rust/http" | "rust/native" | "rust/http1.1" | "rust/asynchttp" | "rust/nethttp" | "rust/okhttp" | "rust/unirest" | "rust/axios" | "rust/fetch" | "rust/jquery" | "rust/ofetch" | "rust/xhr" | "rust/undici" | "rust/nsurlsession" | "rust/cohttp" | "rust/curl" | "rust/guzzle" | "rust/restmethod" | "rust/webrequest" | "rust/python3" | "rust/requests" | "rust/aiohttp" | "rust/httpx_sync" | "rust/httpx_async" | "rust/httr2" | "rust/reqwest" | "rust/httpie" | "rust/wget" | "http/laravel" | "http/libcurl" | "http/clj_http" | "http/httpclient" | "http/restsharp" | "http/http" | "http/native" | "http/http1.1" | "http/asynchttp" | "http/nethttp" | "http/okhttp" | "http/unirest" | "http/axios" | "http/fetch" | "http/jquery" | "http/ofetch" | "http/xhr" | "http/undici" | "http/nsurlsession" | "http/cohttp" | "http/curl" | "http/guzzle" | "http/restmethod" | "http/webrequest" | "http/python3" | "http/requests" | "http/aiohttp" | "http/httpx_sync" | "http/httpx_async" | "http/httr2" | "http/reqwest" | "http/httpie" | "http/wget" | "clojure/laravel" | "clojure/libcurl" | "clojure/clj_http" | "clojure/httpclient" | "clojure/restsharp" | "clojure/http" | "clojure/native" | "clojure/http1.1" | "clojure/asynchttp" | "clojure/nethttp" | "clojure/okhttp" | "clojure/unirest" | "clojure/axios" | "clojure/fetch" | "clojure/jquery" | "clojure/ofetch" | "clojure/xhr" | "clojure/undici" | "clojure/nsurlsession" | "clojure/cohttp" | "clojure/curl" | "clojure/guzzle" | "clojure/restmethod" | "clojure/webrequest" | "clojure/python3" | "clojure/requests" | "clojure/aiohttp" | "clojure/httpx_sync" | "clojure/httpx_async" | "clojure/httr2" | "clojure/reqwest" | "clojure/httpie" | "clojure/wget" | "csharp/laravel" | "csharp/libcurl" | "csharp/clj_http" | "csharp/httpclient" | "csharp/restsharp" | "csharp/http" | "csharp/native" | "csharp/http1.1" | "csharp/asynchttp" | "csharp/nethttp" | "csharp/okhttp" | "csharp/unirest" | "csharp/axios" | "csharp/fetch" | "csharp/jquery" | "csharp/ofetch" | "csharp/xhr" | "csharp/undici" | "csharp/nsurlsession" | "csharp/cohttp" | "csharp/curl" | "csharp/guzzle" | "csharp/restmethod" | "csharp/webrequest" | "csharp/python3" | "csharp/requests" | "csharp/aiohttp" | "csharp/httpx_sync" | "csharp/httpx_async" | "csharp/httr2" | "csharp/reqwest" | "csharp/httpie" | "csharp/wget" | "dart/laravel" | "dart/libcurl" | "dart/clj_http" | "dart/httpclient" | "dart/restsharp" | "dart/http" | "dart/native" | "dart/http1.1" | "dart/asynchttp" | "dart/nethttp" | "dart/okhttp" | "dart/unirest" | "dart/axios" | "dart/fetch" | "dart/jquery" | "dart/ofetch" | "dart/xhr" | "dart/undici" | "dart/nsurlsession" | "dart/cohttp" | "dart/curl" | "dart/guzzle" | "dart/restmethod" | "dart/webrequest" | "dart/python3" | "dart/requests" | "dart/aiohttp" | "dart/httpx_sync" | "dart/httpx_async" | "dart/httr2" | "dart/reqwest" | "dart/httpie" | "dart/wget" | "fsharp/laravel" | "fsharp/libcurl" | "fsharp/clj_http" | "fsharp/httpclient" | "fsharp/restsharp" | "fsharp/http" | "fsharp/native" | "fsharp/http1.1" | "fsharp/asynchttp" | "fsharp/nethttp" | "fsharp/okhttp" | "fsharp/unirest" | "fsharp/axios" | "fsharp/fetch" | "fsharp/jquery" | "fsharp/ofetch" | "fsharp/xhr" | "fsharp/undici" | "fsharp/nsurlsession" | "fsharp/cohttp" | "fsharp/curl" | "fsharp/guzzle" | "fsharp/restmethod" | "fsharp/webrequest" | "fsharp/python3" | "fsharp/requests" | "fsharp/aiohttp" | "fsharp/httpx_sync" | "fsharp/httpx_async" | "fsharp/httr2" | "fsharp/reqwest" | "fsharp/httpie" | "fsharp/wget" | "java/laravel" | "java/libcurl" | "java/clj_http" | "java/httpclient" | "java/restsharp" | "java/http" | "java/native" | "java/http1.1" | "java/asynchttp" | "java/nethttp" | "java/okhttp" | "java/unirest" | "java/axios" | "java/fetch" | "java/jquery" | "java/ofetch" | "java/xhr" | "java/undici" | "java/nsurlsession" | "java/cohttp" | "java/curl" | "java/guzzle" | "java/restmethod" | "java/webrequest" | "java/python3" | "java/requests" | "java/aiohttp" | "java/httpx_sync" | "java/httpx_async" | "java/httr2" | "java/reqwest" | "java/httpie" | "java/wget" | "js/laravel" | "js/libcurl" | "js/clj_http" | "js/httpclient" | "js/restsharp" | "js/http" | "js/native" | "js/http1.1" | "js/asynchttp" | "js/nethttp" | "js/okhttp" | "js/unirest" | "js/axios" | "js/fetch" | "js/jquery" | "js/ofetch" | "js/xhr" | "js/undici" | "js/nsurlsession" | "js/cohttp" | "js/curl" | "js/guzzle" | "js/restmethod" | "js/webrequest" | "js/python3" | "js/requests" | "js/aiohttp" | "js/httpx_sync" | "js/httpx_async" | "js/httr2" | "js/reqwest" | "js/httpie" | "js/wget" | "kotlin/laravel" | "kotlin/libcurl" | "kotlin/clj_http" | "kotlin/httpclient" | "kotlin/restsharp" | "kotlin/http" | "kotlin/native" | "kotlin/http1.1" | "kotlin/asynchttp" | "kotlin/nethttp" | "kotlin/okhttp" | "kotlin/unirest" | "kotlin/axios" | "kotlin/fetch" | "kotlin/jquery" | "kotlin/ofetch" | "kotlin/xhr" | "kotlin/undici" | "kotlin/nsurlsession" | "kotlin/cohttp" | "kotlin/curl" | "kotlin/guzzle" | "kotlin/restmethod" | "kotlin/webrequest" | "kotlin/python3" | "kotlin/requests" | "kotlin/aiohttp" | "kotlin/httpx_sync" | "kotlin/httpx_async" | "kotlin/httr2" | "kotlin/reqwest" | "kotlin/httpie" | "kotlin/wget" | "node/laravel" | "node/libcurl" | "node/clj_http" | "node/httpclient" | "node/restsharp" | "node/http" | "node/native" | "node/http1.1" | "node/asynchttp" | "node/nethttp" | "node/okhttp" | "node/unirest" | "node/axios" | "node/fetch" | "node/jquery" | "node/ofetch" | "node/xhr" | "node/undici" | "node/nsurlsession" | "node/cohttp" | "node/curl" | "node/guzzle" | "node/restmethod" | "node/webrequest" | "node/python3" | "node/requests" | "node/aiohttp" | "node/httpx_sync" | "node/httpx_async" | "node/httr2" | "node/reqwest" | "node/httpie" | "node/wget" | "objc/laravel" | "objc/libcurl" | "objc/clj_http" | "objc/httpclient" | "objc/restsharp" | "objc/http" | "objc/native" | "objc/http1.1" | "objc/asynchttp" | "objc/nethttp" | "objc/okhttp" | "objc/unirest" | "objc/axios" | "objc/fetch" | "objc/jquery" | "objc/ofetch" | "objc/xhr" | "objc/undici" | "objc/nsurlsession" | "objc/cohttp" | "objc/curl" | "objc/guzzle" | "objc/restmethod" | "objc/webrequest" | "objc/python3" | "objc/requests" | "objc/aiohttp" | "objc/httpx_sync" | "objc/httpx_async" | "objc/httr2" | "objc/reqwest" | "objc/httpie" | "objc/wget" | "ocaml/laravel" | "ocaml/libcurl" | "ocaml/clj_http" | "ocaml/httpclient" | "ocaml/restsharp" | "ocaml/http" | "ocaml/native" | "ocaml/http1.1" | "ocaml/asynchttp" | "ocaml/nethttp" | "ocaml/okhttp" | "ocaml/unirest" | "ocaml/axios" | "ocaml/fetch" | "ocaml/jquery" | "ocaml/ofetch" | "ocaml/xhr" | "ocaml/undici" | "ocaml/nsurlsession" | "ocaml/cohttp" | "ocaml/curl" | "ocaml/guzzle" | "ocaml/restmethod" | "ocaml/webrequest" | "ocaml/python3" | "ocaml/requests" | "ocaml/aiohttp" | "ocaml/httpx_sync" | "ocaml/httpx_async" | "ocaml/httr2" | "ocaml/reqwest" | "ocaml/httpie" | "ocaml/wget" | "php/laravel" | "php/libcurl" | "php/clj_http" | "php/httpclient" | "php/restsharp" | "php/http" | "php/native" | "php/http1.1" | "php/asynchttp" | "php/nethttp" | "php/okhttp" | "php/unirest" | "php/axios" | "php/fetch" | "php/jquery" | "php/ofetch" | "php/xhr" | "php/undici" | "php/nsurlsession" | "php/cohttp" | "php/curl" | "php/guzzle" | "php/restmethod" | "php/webrequest" | "php/python3" | "php/requests" | "php/aiohttp" | "php/httpx_sync" | "php/httpx_async" | "php/httr2" | "php/reqwest" | "php/httpie" | "php/wget" | "powershell/laravel" | "powershell/libcurl" | "powershell/clj_http" | "powershell/httpclient" | "powershell/restsharp" | "powershell/http" | "powershell/native" | "powershell/http1.1" | "powershell/asynchttp" | "powershell/nethttp" | "powershell/okhttp" | "powershell/unirest" | "powershell/axios" | "powershell/fetch" | "powershell/jquery" | "powershell/ofetch" | "powershell/xhr" | "powershell/undici" | "powershell/nsurlsession" | "powershell/cohttp" | "powershell/curl" | "powershell/guzzle" | "powershell/restmethod" | "powershell/webrequest" | "powershell/python3" | "powershell/requests" | "powershell/aiohttp" | "powershell/httpx_sync" | "powershell/httpx_async" | "powershell/httr2" | "powershell/reqwest" | "powershell/httpie" | "powershell/wget" | "python/laravel" | "python/libcurl" | "python/clj_http" | "python/httpclient" | "python/restsharp" | "python/http" | "python/native" | "python/http1.1" | "python/asynchttp" | "python/nethttp" | "python/okhttp" | "python/unirest" | "python/axios" | "python/fetch" | "python/jquery" | "python/ofetch" | "python/xhr" | "python/undici" | "python/nsurlsession" | "python/cohttp" | "python/curl" | "python/guzzle" | "python/restmethod" | "python/webrequest" | "python/python3" | "python/requests" | "python/aiohttp" | "python/httpx_sync" | "python/httpx_async" | "python/httr2" | "python/reqwest" | "python/httpie" | "python/wget" | "ruby/laravel" | "ruby/libcurl" | "ruby/clj_http" | "ruby/httpclient" | "ruby/restsharp" | "ruby/http" | "ruby/native" | "ruby/http1.1" | "ruby/asynchttp" | "ruby/nethttp" | "ruby/okhttp" | "ruby/unirest" | "ruby/axios" | "ruby/fetch" | "ruby/jquery" | "ruby/ofetch" | "ruby/xhr" | "ruby/undici" | "ruby/nsurlsession" | "ruby/cohttp" | "ruby/curl" | "ruby/guzzle" | "ruby/restmethod" | "ruby/webrequest" | "ruby/python3" | "ruby/requests" | "ruby/aiohttp" | "ruby/httpx_sync" | "ruby/httpx_async" | "ruby/httr2" | "ruby/reqwest" | "ruby/httpie" | "ruby/wget" | "shell/laravel" | "shell/libcurl" | "shell/clj_http" | "shell/httpclient" | "shell/restsharp" | "shell/http" | "shell/native" | "shell/http1.1" | "shell/asynchttp" | "shell/nethttp" | "shell/okhttp" | "shell/unirest" | "shell/axios" | "shell/fetch" | "shell/jquery" | "shell/ofetch" | "shell/xhr" | "shell/undici" | "shell/nsurlsession" | "shell/cohttp" | "shell/curl" | "shell/guzzle" | "shell/restmethod" | "shell/webrequest" | "shell/python3" | "shell/requests" | "shell/aiohttp" | "shell/httpx_sync" | "shell/httpx_async" | "shell/httr2" | "shell/reqwest" | "shell/httpie" | "shell/wget" | "swift/laravel" | "swift/libcurl" | "swift/clj_http" | "swift/httpclient" | "swift/restsharp" | "swift/http" | "swift/native" | "swift/http1.1" | "swift/asynchttp" | "swift/nethttp" | "swift/okhttp" | "swift/unirest" | "swift/axios" | "swift/fetch" | "swift/jquery" | "swift/ofetch" | "swift/xhr" | "swift/undici" | "swift/nsurlsession" | "swift/cohttp" | "swift/curl" | "swift/guzzle" | "swift/restmethod" | "swift/webrequest" | "swift/python3" | "swift/requests" | "swift/aiohttp" | "swift/httpx_sync" | "swift/httpx_async" | "swift/httr2" | "swift/reqwest" | "swift/httpie" | "swift/wget")[];
38
38
  /**
39
39
  * All available client identifiers in array format
40
40
  * @example
@@ -1 +1 @@
1
- {"version":3,"file":"snippetz.d.ts","sourceRoot":"","sources":["../../src/snippetz/snippetz.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,YAAY,CAAA;AAEvD,YAAY,EACV,KAAK,IAAI,aAAa,EACtB,cAAc,EACd,OAAO,IAAI,UAAU,EACrB,QAAQ,IAAI,WAAW,GACxB,MAAM,YAAY,CAAA;AAEnB;;;;;;GAMG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;CAsBlB,CAAA;AAEV;;;GAGG;AACH,eAAO,MAAM,iBAAiB,gkWAE7B,CAAA;AAED;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,i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AC,EAAE,OAAO,CAAC,UAAU,CAAC,EAAE,aAAa,CAAC,EAAE,mBAAmB,KAAK,MAAM,CAAA;CACzF,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,iDAAiD;IACjD,IAAI,CAAC,EAAE;QACL,QAAQ,EAAE,MAAM,CAAA;QAChB,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;CACF,CAAA"}
@@ -20,10 +20,10 @@ export const GROUPED_CLIENTS = {
20
20
  node: ['axios', 'fetch', 'ofetch', 'undici'],
21
21
  objc: ['nsurlsession'],
22
22
  ocaml: ['cohttp'],
23
- php: ['curl', 'guzzle'],
23
+ php: ['curl', 'guzzle', 'laravel'],
24
24
  powershell: ['restmethod', 'webrequest'],
25
- python: ['python3', 'requests', 'httpx_sync', 'httpx_async'],
26
- r: ['httr'],
25
+ python: ['python3', 'requests', 'aiohttp', 'httpx_sync', 'httpx_async'],
26
+ r: ['httr2'],
27
27
  ruby: ['native'],
28
28
  rust: ['reqwest'],
29
29
  shell: ['curl', 'httpie', 'wget'],
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "scalar",
17
17
  "references"
18
18
  ],
19
- "version": "0.8.0",
19
+ "version": "0.9.1",
20
20
  "engines": {
21
21
  "node": ">=22"
22
22
  },
@@ -62,7 +62,7 @@
62
62
  "nanoid": "^5.1.6",
63
63
  "type-fest": "^5.3.1",
64
64
  "zod": "^4.3.5",
65
- "@scalar/helpers": "0.4.3"
65
+ "@scalar/helpers": "0.5.1"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@types/har-format": "^1.2.16",
@@ -70,7 +70,7 @@
70
70
  },
71
71
  "scripts": {
72
72
  "build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
73
- "test": "vitest",
73
+ "test": "vitest --run",
74
74
  "types:check": "tsc --noEmit"
75
75
  }
76
76
  }