@scalar/cli 2.7.1 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +209 -30
- package/chunks/{action-T5XMJXPO.js → action-354TUG4H.js} +3 -3
- package/chunks/{action-OX2566BE.js → action-43YBNBDR.js} +7 -7
- package/chunks/{action-4NGK5XMD.js → action-6BYGBXRC.js} +9 -9
- package/chunks/{action-HJYZCPUN.js → action-FCAYFPVR.js} +1 -1
- package/chunks/{action-LPVITMWA.js → action-GWXLHL2Z.js} +3 -3
- package/chunks/{action-ATGZOWSH.js → action-HT2DJ34Z.js} +3 -3
- package/chunks/{action-N7BA5I3E.js → action-KTYOCA2V.js} +2 -2
- package/chunks/{action-SCOXTCPR.js → action-LEUD5P2U.js} +8 -8
- package/chunks/{action-E4YSRFGT.js → action-LLH4QPXM.js} +4 -4
- package/chunks/{action-SNPOOW6S.js → action-LXGXKXZZ.js} +4 -4
- package/chunks/{action-CPLH2CQ5.js → action-QQZLPI42.js} +7 -7
- package/chunks/{action-BAQYJ6UE.js → action-UIKH4SZX.js} +7 -7
- package/chunks/{action-BRSSC2SR.js → action-W3C53GPH.js} +3 -3
- package/chunks/{action-LVDU6YOI.js → action-WFDNRA7D.js} +4 -4
- package/chunks/{action-SRBN7N3R.js → action-XIUO64C7.js} +4 -4
- package/chunks/{action-BOZNBCNZ.js → action-Y6NXJQ4H.js} +2 -2
- package/chunks/{action-RBOLLIGX.js → action-Y7OUGD56.js} +4 -4
- package/chunks/{action-QYGOPSTY.js → action-YLF2G4G5.js} +4 -4
- package/chunks/actions-OGIVBQC7.js +158 -0
- package/chunks/{asyncapi-H4FU6GPC.js → asyncapi-QNFKXHEI.js} +2 -2
- package/chunks/{build.action-6V6GXI3X.js → build.action-NM6CAE5F.js} +8 -8
- package/chunks/{chunk-2DSVF5AD.js → chunk-22HYZ7LE.js} +2 -2
- package/chunks/{chunk-LG7IFACX.js → chunk-2OCWX42S.js} +1 -1
- package/chunks/{chunk-4X47MN6Q.js → chunk-5DEU2DVL.js} +2 -2
- package/chunks/{chunk-2PPRO2QB.js → chunk-BPGFSSUH.js} +1 -1
- package/chunks/{chunk-ISXH6Q7I.js → chunk-EXY3ZTV4.js} +12 -3
- package/chunks/{chunk-ZJVYOZFB.js → chunk-GTV2BVXV.js} +1 -1
- package/chunks/{chunk-BIKOD3SG.js → chunk-KKRGBXCE.js} +3 -0
- package/chunks/{chunk-QXQZVEDC.js → chunk-L3UXDCBI.js} +2 -2
- package/chunks/{chunk-BDEPNGTO.js → chunk-PH3WFNXJ.js} +1 -1
- package/chunks/{chunk-CWCETP6H.js → chunk-QVQ4PNVL.js} +1 -1
- package/chunks/{chunk-GPNB7ISG.js → chunk-UXJ753NV.js} +1 -1
- package/chunks/{create.action-P6DLCK4W.js → create.action-FUQ2BVJA.js} +8 -8
- package/chunks/{delete.action-Z3GAA4ZN.js → delete.action-47E66R3I.js} +8 -8
- package/chunks/{delete.action-HJKRRHE2.js → delete.action-BTDFH7WY.js} +8 -8
- package/chunks/{get.action-IT4EHAV4.js → get.action-XC7KC2JO.js} +4 -4
- package/chunks/{list.action-WLIAO5UW.js → list.action-LXKEUYKO.js} +5 -5
- package/chunks/{list.action-2FU5UZNH.js → list.action-OFGLMRE7.js} +8 -8
- package/chunks/{publish.action-T4J4DRXR.js → publish.action-OS27XOX4.js} +9 -9
- package/chunks/{update.action-MY7QPSSU.js → update.action-AEIBLCWD.js} +8 -8
- package/chunks/{update.action-3OVS3HWC.js → update.action-ZMS4CQ3T.js} +8 -8
- package/docs.html +470 -159
- package/index.js +164 -113
- package/package.json +1 -1
- package/skills/scalar-cli/SKILL.md +7 -1
- package/template.md +20 -0
package/README.md
CHANGED
|
@@ -15,6 +15,26 @@ Command-line interface to work with OpenAPI files
|
|
|
15
15
|
- Preview your API reference
|
|
16
16
|
- Bundle multiple OpenAPI files
|
|
17
17
|
|
|
18
|
+
## Access groups
|
|
19
|
+
|
|
20
|
+
Manage access groups and allowed email domains for your current team:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
scalar auth login
|
|
24
|
+
scalar access-group create partners --name Partners --domain example.com
|
|
25
|
+
scalar access-group get partners --json
|
|
26
|
+
scalar access-group update partners --name "Partner access"
|
|
27
|
+
scalar access-group domain add partners partner.com
|
|
28
|
+
scalar access-group domain remove partners partner.com
|
|
29
|
+
scalar access-group delete partners --yes
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Creation requires Pro or above, and mutations require docs edit permission. Commands use your existing login and selected team; CI can authenticate with `scalar auth login --token <personal-token>`. Group arguments are slugs, not UIDs. Rename with `update <slug> --new-slug <new-slug>`, then use the new slug in later commands.
|
|
33
|
+
|
|
34
|
+
Use `--json` for machine-readable output: create/get print the group object, while successful updates, deletions and domain mutations print `null`. Errors go to stderr and exit nonzero. Deletion prompts in a terminal; pass `--yes` for unattended deletion or when using `--json`.
|
|
35
|
+
|
|
36
|
+
Domains are exact email domains, with no wildcards or implicit subdomain matching. Matching preserves existing case-sensitive behavior. Groups support up to 1,000 domains; domain add/remove leaves other domains and individual email entries intact. Creating a group does not assign it to resources or change their privacy settings. Deleting a group removes its project assignments.
|
|
37
|
+
|
|
18
38
|
## Documentation
|
|
19
39
|
|
|
20
40
|
This is an overview + API Reference of the CLI, if you want guides on how to use the CLI in more detail go to our [Docs](https://guides.scalar.com/scalar/scalar-cli)
|
|
@@ -120,8 +140,11 @@ Options:
|
|
|
120
140
|
Commands:
|
|
121
141
|
readme Open documentation for the CLI
|
|
122
142
|
upgrade Upgrade current version of your cli
|
|
123
|
-
context Print every command, argument, and option as JSON for AI
|
|
143
|
+
context Print every command, argument, and option as JSON for AI
|
|
144
|
+
agents
|
|
124
145
|
auth Manage authorization on scalar platform
|
|
146
|
+
access-group Manage access groups and allowed email domains for the current
|
|
147
|
+
team
|
|
125
148
|
document Manage local openapi file
|
|
126
149
|
project Manage scalar project
|
|
127
150
|
registry Manage your scalar registry
|
|
@@ -224,6 +247,132 @@ Options:
|
|
|
224
247
|
-h, --help display help for command
|
|
225
248
|
```
|
|
226
249
|
|
|
250
|
+
### access-group
|
|
251
|
+
```
|
|
252
|
+
Usage: scalar access-group [options] [command]
|
|
253
|
+
|
|
254
|
+
Manage access groups and allowed email domains for the current team
|
|
255
|
+
|
|
256
|
+
Options:
|
|
257
|
+
-h, --help display help for command
|
|
258
|
+
|
|
259
|
+
Commands:
|
|
260
|
+
create [options] <slug> Create an access group (Pro or above)
|
|
261
|
+
get [options] <slug> Get an access group and its allowlists
|
|
262
|
+
update [options] <slug> Update access group metadata
|
|
263
|
+
delete [options] <slug> Delete an access group and remove its project
|
|
264
|
+
assignments
|
|
265
|
+
domain Manage allowed email domains
|
|
266
|
+
help [command] display help for command
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
#### create
|
|
270
|
+
```
|
|
271
|
+
Usage: scalar access-group create [options] <slug>
|
|
272
|
+
|
|
273
|
+
Create an access group (Pro or above)
|
|
274
|
+
|
|
275
|
+
Arguments:
|
|
276
|
+
slug New access group slug
|
|
277
|
+
|
|
278
|
+
Options:
|
|
279
|
+
--name <name> Display name
|
|
280
|
+
--domain <domains...> Allowed email domains
|
|
281
|
+
--json Print the result as JSON
|
|
282
|
+
-h, --help display help for command
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
#### get
|
|
286
|
+
```
|
|
287
|
+
Usage: scalar access-group get [options] <slug>
|
|
288
|
+
|
|
289
|
+
Get an access group and its allowlists
|
|
290
|
+
|
|
291
|
+
Arguments:
|
|
292
|
+
slug Access group slug
|
|
293
|
+
|
|
294
|
+
Options:
|
|
295
|
+
--json Print the result as JSON
|
|
296
|
+
-h, --help display help for command
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
#### update
|
|
300
|
+
```
|
|
301
|
+
Usage: scalar access-group update [options] <slug>
|
|
302
|
+
|
|
303
|
+
Update access group metadata
|
|
304
|
+
|
|
305
|
+
Arguments:
|
|
306
|
+
slug Current access group slug
|
|
307
|
+
|
|
308
|
+
Options:
|
|
309
|
+
--name <name> New display name
|
|
310
|
+
--new-slug <slug> New access group slug
|
|
311
|
+
--json Print the result as JSON
|
|
312
|
+
-h, --help display help for command
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
#### delete
|
|
316
|
+
```
|
|
317
|
+
Usage: scalar access-group delete [options] <slug>
|
|
318
|
+
|
|
319
|
+
Delete an access group and remove its project assignments
|
|
320
|
+
|
|
321
|
+
Arguments:
|
|
322
|
+
slug Access group slug
|
|
323
|
+
|
|
324
|
+
Options:
|
|
325
|
+
-y, --yes Confirm deletion without prompting
|
|
326
|
+
--json Print the result as JSON (requires --yes)
|
|
327
|
+
-h, --help display help for command
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
#### domain
|
|
331
|
+
```
|
|
332
|
+
Usage: scalar access-group domain [options] [command]
|
|
333
|
+
|
|
334
|
+
Manage allowed email domains
|
|
335
|
+
|
|
336
|
+
Options:
|
|
337
|
+
-h, --help display help for command
|
|
338
|
+
|
|
339
|
+
Commands:
|
|
340
|
+
add [options] <slug> <domain> Add an exact email domain to an access group
|
|
341
|
+
remove [options] <slug> <domain> Remove an exact email domain from an access
|
|
342
|
+
group
|
|
343
|
+
help [command] display help for command
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
##### add
|
|
347
|
+
```
|
|
348
|
+
Usage: scalar access-group domain add [options] <slug> <domain>
|
|
349
|
+
|
|
350
|
+
Add an exact email domain to an access group
|
|
351
|
+
|
|
352
|
+
Arguments:
|
|
353
|
+
slug Access group slug
|
|
354
|
+
domain Email domain, such as example.com
|
|
355
|
+
|
|
356
|
+
Options:
|
|
357
|
+
--json Print the result as JSON
|
|
358
|
+
-h, --help display help for command
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
##### remove
|
|
362
|
+
```
|
|
363
|
+
Usage: scalar access-group domain remove [options] <slug> <domain>
|
|
364
|
+
|
|
365
|
+
Remove an exact email domain from an access group
|
|
366
|
+
|
|
367
|
+
Arguments:
|
|
368
|
+
slug Access group slug
|
|
369
|
+
domain Email domain, such as example.com
|
|
370
|
+
|
|
371
|
+
Options:
|
|
372
|
+
--json Print the result as JSON
|
|
373
|
+
-h, --help display help for command
|
|
374
|
+
```
|
|
375
|
+
|
|
227
376
|
### document
|
|
228
377
|
```
|
|
229
378
|
Usage: scalar document [options] [command]
|
|
@@ -234,19 +383,27 @@ Options:
|
|
|
234
383
|
-h, --help display help for command
|
|
235
384
|
|
|
236
385
|
Commands:
|
|
237
|
-
bundle [options] [file|url] Bundle an OpenAPI document by resolving all
|
|
238
|
-
|
|
239
|
-
|
|
386
|
+
bundle [options] [file|url] Bundle an OpenAPI document by resolving all
|
|
387
|
+
references and external dependencies
|
|
388
|
+
split [options] [file|url] Split OpenAPI or AsyncAPI documents into small
|
|
389
|
+
chunks
|
|
390
|
+
join [options] <files...> Merge multiple OpenAPI or AsyncAPI documents
|
|
391
|
+
into a single unified document
|
|
240
392
|
format [options] [file|url] Format an OpenAPI or AsyncAPI file
|
|
241
|
-
convert [options] [file|url] Convert a Postman collection to an OpenAPI
|
|
393
|
+
convert [options] [file|url] Convert a Postman collection to an OpenAPI
|
|
394
|
+
document
|
|
242
395
|
markdown [options] [file|url] Generate Markdown from an OpenAPI file
|
|
243
|
-
mock [options] [file|url] Mock an OpenAPI API or AsyncAPI WebSocket and
|
|
244
|
-
|
|
396
|
+
mock [options] [file|url] Mock an OpenAPI API or AsyncAPI WebSocket and
|
|
397
|
+
SSE channels
|
|
398
|
+
serve [options] [file|url] Serve an API Reference from an OpenAPI or
|
|
399
|
+
AsyncAPI file
|
|
245
400
|
share [options] [file] Share an OpenAPI or AsyncAPI file
|
|
246
401
|
validate [file|url] Validate an OpenAPI or AsyncAPI file
|
|
247
402
|
void [options] Boot a server to mirror HTTP requests
|
|
248
|
-
lint [options] [file|url] Lint your OpenAPI or AsyncAPI file using
|
|
249
|
-
|
|
403
|
+
lint [options] [file|url] Lint your OpenAPI or AsyncAPI file using
|
|
404
|
+
spectral rules
|
|
405
|
+
upgrade [options] [file|url] Upgrade an OpenAPI or AsyncAPI document to
|
|
406
|
+
version 3.1
|
|
250
407
|
help [command] display help for command
|
|
251
408
|
```
|
|
252
409
|
|
|
@@ -263,7 +420,8 @@ Options:
|
|
|
263
420
|
-o, --output <file> Path to save the bundled output file
|
|
264
421
|
--treeShake Remove unused components from the bundled output
|
|
265
422
|
--urlMap Generate a map of resolved URLs in the bundled output
|
|
266
|
-
--fetchLimit <limit> Maximum number of URLs to fetch during bundling at the
|
|
423
|
+
--fetchLimit <limit> Maximum number of URLs to fetch during bundling at the
|
|
424
|
+
same time
|
|
267
425
|
-h, --help display help for command
|
|
268
426
|
```
|
|
269
427
|
|
|
@@ -451,10 +609,13 @@ Options:
|
|
|
451
609
|
Commands:
|
|
452
610
|
init [options] Create a new Scalar Docs project.
|
|
453
611
|
check-config [file] Check a Scalar Configuration file
|
|
454
|
-
create [options] Create a new project that is not linked to a
|
|
612
|
+
create [options] Create a new project that is not linked to a
|
|
613
|
+
github project.
|
|
455
614
|
preview [options] [config] Preview scalar guides
|
|
456
|
-
publish [options] Publish new build for a github sync project that
|
|
457
|
-
|
|
615
|
+
publish [options] Publish new build for a github sync project that
|
|
616
|
+
is not linked.
|
|
617
|
+
rollback [options] Roll the live deployment back to a previously
|
|
618
|
+
deployed build.
|
|
458
619
|
deployments Inspect a project deployment history.
|
|
459
620
|
upgrade [config] Upgrade scalar project
|
|
460
621
|
help [command] display help for command
|
|
@@ -536,7 +697,8 @@ Roll the live deployment back to a previously deployed build.
|
|
|
536
697
|
|
|
537
698
|
Options:
|
|
538
699
|
-s, --slug [slug] Project slug found in Scalar Dashboard
|
|
539
|
-
-t, --to <publishUid> Roll back to a specific build id (defaults to the next
|
|
700
|
+
-t, --to <publishUid> Roll back to a specific build id (defaults to the next
|
|
701
|
+
older deployed build)
|
|
540
702
|
-y, --yes Skip the confirmation prompt
|
|
541
703
|
-h, --help display help for command
|
|
542
704
|
```
|
|
@@ -573,7 +735,8 @@ Usage: scalar project upgrade [options] [config]
|
|
|
573
735
|
Upgrade scalar project
|
|
574
736
|
|
|
575
737
|
Arguments:
|
|
576
|
-
config Path to the Scalar configuration file (usually
|
|
738
|
+
config Path to the Scalar configuration file (usually
|
|
739
|
+
`scalar.config.json5` or `scalar.config.json`)
|
|
577
740
|
|
|
578
741
|
Options:
|
|
579
742
|
-h, --help display help for command
|
|
@@ -589,11 +752,15 @@ Options:
|
|
|
589
752
|
-h, --help display help for command
|
|
590
753
|
|
|
591
754
|
Commands:
|
|
592
|
-
publish [options] [file] Publish an OpenAPI document to the Scalar
|
|
593
|
-
|
|
755
|
+
publish [options] [file] Publish an OpenAPI document to the Scalar
|
|
756
|
+
registry
|
|
757
|
+
update [options] [namespace] [slug] Update document metadata on scalar
|
|
758
|
+
registry
|
|
594
759
|
delete [namespace] [slug] Delete a document from scalar registry
|
|
595
|
-
list [options] List all registry APIs for a team
|
|
596
|
-
|
|
760
|
+
list [options] List all registry APIs for a team
|
|
761
|
+
namespace
|
|
762
|
+
get [options] [namespace] [slug] Get a document version from scalar
|
|
763
|
+
registry
|
|
597
764
|
help [command] display help for command
|
|
598
765
|
```
|
|
599
766
|
|
|
@@ -607,7 +774,8 @@ Arguments:
|
|
|
607
774
|
file OpenAPI file to upload
|
|
608
775
|
|
|
609
776
|
Options:
|
|
610
|
-
--slug <slug> Slug identifier for the registry entry. Defaults to
|
|
777
|
+
--slug <slug> Slug identifier for the registry entry. Defaults to
|
|
778
|
+
title.
|
|
611
779
|
--namespace <namespace> Scalar team namespace
|
|
612
780
|
--version <version> API version (e.g. 0.1.0)
|
|
613
781
|
--private Make API private (default: false)
|
|
@@ -615,8 +783,10 @@ Options:
|
|
|
615
783
|
--force Force override an existing version (default: false)
|
|
616
784
|
--bundle Bundle all external references before uploading
|
|
617
785
|
--treeShake Remove unused components from the bundled document
|
|
618
|
-
--urlMap Generate a map of resolved URLs when bundling the
|
|
619
|
-
|
|
786
|
+
--urlMap Generate a map of resolved URLs when bundling the
|
|
787
|
+
document
|
|
788
|
+
--fetchLimit <limit> Maximum number of concurrent URLs to fetch when
|
|
789
|
+
bundling the document
|
|
620
790
|
-h, --help display help for command
|
|
621
791
|
```
|
|
622
792
|
|
|
@@ -725,7 +895,8 @@ Options:
|
|
|
725
895
|
|
|
726
896
|
Commands:
|
|
727
897
|
list [options] List all SDKs for a team namespace
|
|
728
|
-
create [options] Create a new SDK. The SDK is created in the namespace of the
|
|
898
|
+
create [options] Create a new SDK. The SDK is created in the namespace of the
|
|
899
|
+
API it is built from.
|
|
729
900
|
update [options] Update SDK metadata.
|
|
730
901
|
delete [options] Delete an SDK.
|
|
731
902
|
build [options] Build an SDK.
|
|
@@ -747,12 +918,15 @@ Options:
|
|
|
747
918
|
```
|
|
748
919
|
Usage: scalar sdk create [options]
|
|
749
920
|
|
|
750
|
-
Create a new SDK. The SDK is created in the namespace of the API it is built
|
|
921
|
+
Create a new SDK. The SDK is created in the namespace of the API it is built
|
|
922
|
+
from.
|
|
751
923
|
|
|
752
924
|
Options:
|
|
753
925
|
-a, --api <api> Registry API slug
|
|
754
926
|
-n, --namespace <namespace> Team namespace to look the API up in
|
|
755
|
-
-l, --language <language> Language of your SDK (choices: "typescript",
|
|
927
|
+
-l, --language <language> Language of your SDK (choices: "typescript",
|
|
928
|
+
"python", "cli", "csharp", "java", "ruby", "php",
|
|
929
|
+
"go", "rust", "kotlin", "swift", "cpp", "dart")
|
|
756
930
|
-h, --help display help for command
|
|
757
931
|
```
|
|
758
932
|
|
|
@@ -807,8 +981,10 @@ Commands:
|
|
|
807
981
|
delete [options] Delete a schema.
|
|
808
982
|
update [options] Update schema metadata.
|
|
809
983
|
list [options] List all schemas for a team namespace
|
|
810
|
-
get [options] [namespace] [slug] Get a schema document version from the
|
|
811
|
-
|
|
984
|
+
get [options] [namespace] [slug] Get a schema document version from the
|
|
985
|
+
Scalar registry
|
|
986
|
+
publish [options] [file] Publish a shared schema to the Scalar
|
|
987
|
+
registry
|
|
812
988
|
help [command] display help for command
|
|
813
989
|
```
|
|
814
990
|
|
|
@@ -877,7 +1053,8 @@ Arguments:
|
|
|
877
1053
|
file OpenAPI file to upload
|
|
878
1054
|
|
|
879
1055
|
Options:
|
|
880
|
-
--slug <slug> Slug identifier for the registry entry. Defaults to
|
|
1056
|
+
--slug <slug> Slug identifier for the registry entry. Defaults to
|
|
1057
|
+
title.
|
|
881
1058
|
--title <title> Schema title
|
|
882
1059
|
--namespace <namespace> Scalar team namespace
|
|
883
1060
|
--version <version> API version (e.g. 0.1.0)
|
|
@@ -885,8 +1062,10 @@ Options:
|
|
|
885
1062
|
--force Force override an existing version (default: false)
|
|
886
1063
|
--bundle Bundle all external references before uploading
|
|
887
1064
|
--treeShake Remove unused components from the bundled document
|
|
888
|
-
--urlMap Generate a map of resolved URLs when bundling the
|
|
889
|
-
|
|
1065
|
+
--urlMap Generate a map of resolved URLs when bundling the
|
|
1066
|
+
document
|
|
1067
|
+
--fetchLimit <limit> Maximum number of concurrent URLs to fetch when
|
|
1068
|
+
bundling the document
|
|
890
1069
|
-h, --help display help for command
|
|
891
1070
|
```
|
|
892
1071
|
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./chunk-6YPQGVF4.js";
|
|
5
5
|
import {
|
|
6
6
|
getDatabaseClient
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5DEU2DVL.js";
|
|
8
8
|
import "./chunk-MLSZVVTT.js";
|
|
9
9
|
import {
|
|
10
10
|
getAuthData,
|
|
11
11
|
refreshToken
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-QVQ4PNVL.js";
|
|
13
|
+
import "./chunk-UXJ753NV.js";
|
|
14
14
|
import "./chunk-5UHLAJQD.js";
|
|
15
15
|
import "./chunk-5JLVQVKO.js";
|
|
16
16
|
import {
|
|
@@ -13,21 +13,21 @@ import {
|
|
|
13
13
|
DEFAULT_ASSETS_DIR
|
|
14
14
|
} from "./chunk-XXSQUBXS.js";
|
|
15
15
|
import "./chunk-YILQODZF.js";
|
|
16
|
-
import {
|
|
17
|
-
apiService
|
|
18
|
-
} from "./chunk-ISXH6Q7I.js";
|
|
19
16
|
import {
|
|
20
17
|
getDatabaseClient
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import
|
|
18
|
+
} from "./chunk-5DEU2DVL.js";
|
|
19
|
+
import {
|
|
20
|
+
apiService
|
|
21
|
+
} from "./chunk-EXY3ZTV4.js";
|
|
22
|
+
import "./chunk-KKRGBXCE.js";
|
|
23
23
|
import "./chunk-MLSZVVTT.js";
|
|
24
24
|
import "./chunk-FDC2IESH.js";
|
|
25
25
|
import "./chunk-C2KAWRIX.js";
|
|
26
26
|
import "./chunk-R5LK6VPY.js";
|
|
27
27
|
import {
|
|
28
28
|
getAuthData
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-QVQ4PNVL.js";
|
|
30
|
+
import "./chunk-UXJ753NV.js";
|
|
31
31
|
import "./chunk-5UHLAJQD.js";
|
|
32
32
|
import {
|
|
33
33
|
ConfigVersion,
|
|
@@ -2,7 +2,7 @@ import { createRequire as $$cR } from "node:module"; const require = $$cR(import
|
|
|
2
2
|
import {
|
|
3
3
|
dashboardUrl,
|
|
4
4
|
registryUrl
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GTV2BVXV.js";
|
|
6
6
|
import {
|
|
7
7
|
registry
|
|
8
8
|
} from "./chunk-YILQODZF.js";
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_FETCH_CONCURRENCY
|
|
16
16
|
} from "./chunk-OJ2EWIJH.js";
|
|
17
|
-
import {
|
|
18
|
-
apiService
|
|
19
|
-
} from "./chunk-ISXH6Q7I.js";
|
|
20
17
|
import {
|
|
21
18
|
BaseCollections
|
|
22
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-2OCWX42S.js";
|
|
23
20
|
import {
|
|
24
21
|
getDatabaseClient
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import
|
|
22
|
+
} from "./chunk-5DEU2DVL.js";
|
|
23
|
+
import {
|
|
24
|
+
apiService
|
|
25
|
+
} from "./chunk-EXY3ZTV4.js";
|
|
26
|
+
import "./chunk-KKRGBXCE.js";
|
|
27
27
|
import "./chunk-MLSZVVTT.js";
|
|
28
28
|
import "./chunk-FDC2IESH.js";
|
|
29
29
|
import "./chunk-C2KAWRIX.js";
|
|
30
30
|
import "./chunk-R5LK6VPY.js";
|
|
31
31
|
import {
|
|
32
32
|
getAuthData
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-QVQ4PNVL.js";
|
|
34
|
+
import "./chunk-UXJ753NV.js";
|
|
35
35
|
import {
|
|
36
36
|
teamSchema
|
|
37
37
|
} from "./chunk-5UHLAJQD.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
downloadIsolate,
|
|
5
5
|
isDiskWriteError,
|
|
6
6
|
updateIsolate
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-L3UXDCBI.js";
|
|
8
8
|
import "./chunk-3ZJYGGAA.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-BPGFSSUH.js";
|
|
10
|
+
import "./chunk-UXJ753NV.js";
|
|
11
11
|
import "./chunk-T5HJUAWB.js";
|
|
12
12
|
import "./chunk-3MZYUBJ6.js";
|
|
13
13
|
export {
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
} from "./chunk-HGOD6THU.js";
|
|
8
8
|
import {
|
|
9
9
|
watchFile
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-QVQ4PNVL.js";
|
|
11
|
+
import "./chunk-UXJ753NV.js";
|
|
12
12
|
import "./chunk-5UHLAJQD.js";
|
|
13
13
|
import "./chunk-5JLVQVKO.js";
|
|
14
14
|
import "./chunk-KCCFN4F7.js";
|
|
@@ -111,7 +111,7 @@ function getMethodColor(method) {
|
|
|
111
111
|
async function mockAction(fileArgument, { watch, once, port }) {
|
|
112
112
|
const content = await getFileOrUrl(fileArgument);
|
|
113
113
|
if (isAsyncApiContent(content)) {
|
|
114
|
-
const { mockAsyncApi } = await import("./asyncapi-
|
|
114
|
+
const { mockAsyncApi } = await import("./asyncapi-QNFKXHEI.js");
|
|
115
115
|
return mockAsyncApi(fileArgument, { watch, once, port });
|
|
116
116
|
}
|
|
117
117
|
const origin = isUrl(fileArgument) ? fileArgument : path2.resolve(fileArgument);
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
generateAccessByPersonalToken,
|
|
9
9
|
setAuthData,
|
|
10
10
|
tokenResponseSchema
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QVQ4PNVL.js";
|
|
12
12
|
import {
|
|
13
13
|
config
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-UXJ753NV.js";
|
|
15
15
|
import "./chunk-5UHLAJQD.js";
|
|
16
16
|
import "./chunk-5JLVQVKO.js";
|
|
17
17
|
import "./chunk-4ORL4MST.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { createRequire as $$cR } from "node:module"; const require = $$cR(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
apiService
|
|
4
|
-
} from "./chunk-ISXH6Q7I.js";
|
|
5
2
|
import {
|
|
6
3
|
BaseCollections
|
|
7
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2OCWX42S.js";
|
|
8
5
|
import {
|
|
9
6
|
getDatabaseClient
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import
|
|
7
|
+
} from "./chunk-5DEU2DVL.js";
|
|
8
|
+
import {
|
|
9
|
+
apiService
|
|
10
|
+
} from "./chunk-EXY3ZTV4.js";
|
|
11
|
+
import "./chunk-KKRGBXCE.js";
|
|
12
12
|
import "./chunk-MLSZVVTT.js";
|
|
13
13
|
import "./chunk-FDC2IESH.js";
|
|
14
14
|
import "./chunk-C2KAWRIX.js";
|
|
15
15
|
import "./chunk-R5LK6VPY.js";
|
|
16
16
|
import {
|
|
17
17
|
getAuthData
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-QVQ4PNVL.js";
|
|
19
|
+
import "./chunk-UXJ753NV.js";
|
|
20
20
|
import {
|
|
21
21
|
teamSchema
|
|
22
22
|
} from "./chunk-5UHLAJQD.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as $$cR } from "node:module"; const require = $$cR(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
downloadIsolate
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-L3UXDCBI.js";
|
|
5
5
|
import "./chunk-3ZJYGGAA.js";
|
|
6
6
|
import {
|
|
7
7
|
readAndParseConfig,
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
} from "./chunk-XXSQUBXS.js";
|
|
14
14
|
import {
|
|
15
15
|
ISOLATE_DIR
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BPGFSSUH.js";
|
|
17
17
|
import {
|
|
18
18
|
getAuthData
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QVQ4PNVL.js";
|
|
20
20
|
import {
|
|
21
21
|
config
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-UXJ753NV.js";
|
|
23
23
|
import "./chunk-5UHLAJQD.js";
|
|
24
24
|
import {
|
|
25
25
|
ConfigVersion
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { createRequire as $$cR } from "node:module"; const require = $$cR(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
apiService
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-EXY3ZTV4.js";
|
|
5
|
+
import "./chunk-KKRGBXCE.js";
|
|
6
6
|
import "./chunk-MLSZVVTT.js";
|
|
7
7
|
import "./chunk-FDC2IESH.js";
|
|
8
8
|
import "./chunk-C2KAWRIX.js";
|
|
9
9
|
import "./chunk-R5LK6VPY.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-QVQ4PNVL.js";
|
|
11
|
+
import "./chunk-UXJ753NV.js";
|
|
12
12
|
import "./chunk-5UHLAJQD.js";
|
|
13
13
|
import "./chunk-5JLVQVKO.js";
|
|
14
14
|
import {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { createRequire as $$cR } from "node:module"; const require = $$cR(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
getProjectDeployments
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-22HYZ7LE.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveProject
|
|
7
7
|
} from "./chunk-TSURUX4A.js";
|
|
8
8
|
import {
|
|
9
9
|
formatAbsoluteTime
|
|
10
10
|
} from "./chunk-AEFPCC4U.js";
|
|
11
|
+
import "./chunk-2OCWX42S.js";
|
|
12
|
+
import "./chunk-5DEU2DVL.js";
|
|
11
13
|
import {
|
|
12
14
|
apiService
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-4X47MN6Q.js";
|
|
16
|
-
import "./chunk-BIKOD3SG.js";
|
|
15
|
+
} from "./chunk-EXY3ZTV4.js";
|
|
16
|
+
import "./chunk-KKRGBXCE.js";
|
|
17
17
|
import "./chunk-MLSZVVTT.js";
|
|
18
18
|
import "./chunk-FDC2IESH.js";
|
|
19
19
|
import "./chunk-C2KAWRIX.js";
|
|
20
20
|
import "./chunk-R5LK6VPY.js";
|
|
21
21
|
import {
|
|
22
22
|
getAuthData
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-QVQ4PNVL.js";
|
|
24
|
+
import "./chunk-UXJ753NV.js";
|
|
25
25
|
import "./chunk-5UHLAJQD.js";
|
|
26
26
|
import "./chunk-5JLVQVKO.js";
|
|
27
27
|
import "./chunk-K74E42RV.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as $$cR } from "node:module"; const require = $$cR(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
getProjectDeployments
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-22HYZ7LE.js";
|
|
5
5
|
import {
|
|
6
6
|
getPublishDeploymentUrl
|
|
7
7
|
} from "./chunk-IMG35UXX.js";
|
|
@@ -12,20 +12,20 @@ import {
|
|
|
12
12
|
formatAbsoluteTime
|
|
13
13
|
} from "./chunk-AEFPCC4U.js";
|
|
14
14
|
import "./chunk-YILQODZF.js";
|
|
15
|
+
import "./chunk-2OCWX42S.js";
|
|
16
|
+
import "./chunk-5DEU2DVL.js";
|
|
15
17
|
import {
|
|
16
18
|
apiService
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-4X47MN6Q.js";
|
|
20
|
-
import "./chunk-BIKOD3SG.js";
|
|
19
|
+
} from "./chunk-EXY3ZTV4.js";
|
|
20
|
+
import "./chunk-KKRGBXCE.js";
|
|
21
21
|
import "./chunk-MLSZVVTT.js";
|
|
22
22
|
import "./chunk-FDC2IESH.js";
|
|
23
23
|
import "./chunk-C2KAWRIX.js";
|
|
24
24
|
import "./chunk-R5LK6VPY.js";
|
|
25
25
|
import {
|
|
26
26
|
getAuthData
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-QVQ4PNVL.js";
|
|
28
|
+
import "./chunk-UXJ753NV.js";
|
|
29
29
|
import "./chunk-5UHLAJQD.js";
|
|
30
30
|
import "./chunk-5JLVQVKO.js";
|
|
31
31
|
import {
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
} from "./chunk-6YPQGVF4.js";
|
|
5
5
|
import {
|
|
6
6
|
getDatabaseClient
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5DEU2DVL.js";
|
|
8
8
|
import "./chunk-MLSZVVTT.js";
|
|
9
9
|
import {
|
|
10
10
|
getAuthData
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-QVQ4PNVL.js";
|
|
12
|
+
import "./chunk-UXJ753NV.js";
|
|
13
13
|
import "./chunk-5UHLAJQD.js";
|
|
14
14
|
import "./chunk-5JLVQVKO.js";
|
|
15
15
|
import "./chunk-4ORL4MST.js";
|