@malevich-studio/strapi-sdk-typescript 1.1.2 → 1.2.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/dist/cli.cjs CHANGED
@@ -4,8 +4,6 @@
4
4
  var fs = require('fs');
5
5
  var path = require('path');
6
6
  var require$$0 = require('util');
7
- var promises = require('fs/promises');
8
- var node_path = require('node:path');
9
7
  var require$$2 = require('os');
10
8
  var require$$3 = require('crypto');
11
9
 
@@ -20100,1147 +20098,6 @@ function requireLib () {
20100
20098
  var libExports = requireLib();
20101
20099
  var qs = /*@__PURE__*/getDefaultExportFromCjs(libExports);
20102
20100
 
20103
- const types$2 = {
20104
- 'application/prs.cww': ['cww'],
20105
- 'application/prs.xsf+xml': ['xsf'],
20106
- 'application/vnd.1000minds.decision-model+xml': ['1km'],
20107
- 'application/vnd.3gpp.pic-bw-large': ['plb'],
20108
- 'application/vnd.3gpp.pic-bw-small': ['psb'],
20109
- 'application/vnd.3gpp.pic-bw-var': ['pvb'],
20110
- 'application/vnd.3gpp2.tcap': ['tcap'],
20111
- 'application/vnd.3m.post-it-notes': ['pwn'],
20112
- 'application/vnd.accpac.simply.aso': ['aso'],
20113
- 'application/vnd.accpac.simply.imp': ['imp'],
20114
- 'application/vnd.acucobol': ['acu'],
20115
- 'application/vnd.acucorp': ['atc', 'acutc'],
20116
- 'application/vnd.adobe.air-application-installer-package+zip': ['air'],
20117
- 'application/vnd.adobe.formscentral.fcdt': ['fcdt'],
20118
- 'application/vnd.adobe.fxp': ['fxp', 'fxpl'],
20119
- 'application/vnd.adobe.xdp+xml': ['xdp'],
20120
- 'application/vnd.adobe.xfdf': ['*xfdf'],
20121
- 'application/vnd.age': ['age'],
20122
- 'application/vnd.ahead.space': ['ahead'],
20123
- 'application/vnd.airzip.filesecure.azf': ['azf'],
20124
- 'application/vnd.airzip.filesecure.azs': ['azs'],
20125
- 'application/vnd.amazon.ebook': ['azw'],
20126
- 'application/vnd.americandynamics.acc': ['acc'],
20127
- 'application/vnd.amiga.ami': ['ami'],
20128
- 'application/vnd.android.package-archive': ['apk'],
20129
- 'application/vnd.anser-web-certificate-issue-initiation': ['cii'],
20130
- 'application/vnd.anser-web-funds-transfer-initiation': ['fti'],
20131
- 'application/vnd.antix.game-component': ['atx'],
20132
- 'application/vnd.apple.installer+xml': ['mpkg'],
20133
- 'application/vnd.apple.keynote': ['key'],
20134
- 'application/vnd.apple.mpegurl': ['m3u8'],
20135
- 'application/vnd.apple.numbers': ['numbers'],
20136
- 'application/vnd.apple.pages': ['pages'],
20137
- 'application/vnd.apple.pkpass': ['pkpass'],
20138
- 'application/vnd.aristanetworks.swi': ['swi'],
20139
- 'application/vnd.astraea-software.iota': ['iota'],
20140
- 'application/vnd.audiograph': ['aep'],
20141
- 'application/vnd.balsamiq.bmml+xml': ['bmml'],
20142
- 'application/vnd.blueice.multipass': ['mpm'],
20143
- 'application/vnd.bmi': ['bmi'],
20144
- 'application/vnd.businessobjects': ['rep'],
20145
- 'application/vnd.chemdraw+xml': ['cdxml'],
20146
- 'application/vnd.chipnuts.karaoke-mmd': ['mmd'],
20147
- 'application/vnd.cinderella': ['cdy'],
20148
- 'application/vnd.citationstyles.style+xml': ['csl'],
20149
- 'application/vnd.claymore': ['cla'],
20150
- 'application/vnd.cloanto.rp9': ['rp9'],
20151
- 'application/vnd.clonk.c4group': ['c4g', 'c4d', 'c4f', 'c4p', 'c4u'],
20152
- 'application/vnd.cluetrust.cartomobile-config': ['c11amc'],
20153
- 'application/vnd.cluetrust.cartomobile-config-pkg': ['c11amz'],
20154
- 'application/vnd.commonspace': ['csp'],
20155
- 'application/vnd.contact.cmsg': ['cdbcmsg'],
20156
- 'application/vnd.cosmocaller': ['cmc'],
20157
- 'application/vnd.crick.clicker': ['clkx'],
20158
- 'application/vnd.crick.clicker.keyboard': ['clkk'],
20159
- 'application/vnd.crick.clicker.palette': ['clkp'],
20160
- 'application/vnd.crick.clicker.template': ['clkt'],
20161
- 'application/vnd.crick.clicker.wordbank': ['clkw'],
20162
- 'application/vnd.criticaltools.wbs+xml': ['wbs'],
20163
- 'application/vnd.ctc-posml': ['pml'],
20164
- 'application/vnd.cups-ppd': ['ppd'],
20165
- 'application/vnd.curl.car': ['car'],
20166
- 'application/vnd.curl.pcurl': ['pcurl'],
20167
- 'application/vnd.dart': ['dart'],
20168
- 'application/vnd.data-vision.rdz': ['rdz'],
20169
- 'application/vnd.dbf': ['dbf'],
20170
- 'application/vnd.dece.data': ['uvf', 'uvvf', 'uvd', 'uvvd'],
20171
- 'application/vnd.dece.ttml+xml': ['uvt', 'uvvt'],
20172
- 'application/vnd.dece.unspecified': ['uvx', 'uvvx'],
20173
- 'application/vnd.dece.zip': ['uvz', 'uvvz'],
20174
- 'application/vnd.denovo.fcselayout-link': ['fe_launch'],
20175
- 'application/vnd.dna': ['dna'],
20176
- 'application/vnd.dolby.mlp': ['mlp'],
20177
- 'application/vnd.dpgraph': ['dpg'],
20178
- 'application/vnd.dreamfactory': ['dfac'],
20179
- 'application/vnd.ds-keypoint': ['kpxx'],
20180
- 'application/vnd.dvb.ait': ['ait'],
20181
- 'application/vnd.dvb.service': ['svc'],
20182
- 'application/vnd.dynageo': ['geo'],
20183
- 'application/vnd.ecowin.chart': ['mag'],
20184
- 'application/vnd.enliven': ['nml'],
20185
- 'application/vnd.epson.esf': ['esf'],
20186
- 'application/vnd.epson.msf': ['msf'],
20187
- 'application/vnd.epson.quickanime': ['qam'],
20188
- 'application/vnd.epson.salt': ['slt'],
20189
- 'application/vnd.epson.ssf': ['ssf'],
20190
- 'application/vnd.eszigno3+xml': ['es3', 'et3'],
20191
- 'application/vnd.ezpix-album': ['ez2'],
20192
- 'application/vnd.ezpix-package': ['ez3'],
20193
- 'application/vnd.fdf': ['*fdf'],
20194
- 'application/vnd.fdsn.mseed': ['mseed'],
20195
- 'application/vnd.fdsn.seed': ['seed', 'dataless'],
20196
- 'application/vnd.flographit': ['gph'],
20197
- 'application/vnd.fluxtime.clip': ['ftc'],
20198
- 'application/vnd.framemaker': ['fm', 'frame', 'maker', 'book'],
20199
- 'application/vnd.frogans.fnc': ['fnc'],
20200
- 'application/vnd.frogans.ltf': ['ltf'],
20201
- 'application/vnd.fsc.weblaunch': ['fsc'],
20202
- 'application/vnd.fujitsu.oasys': ['oas'],
20203
- 'application/vnd.fujitsu.oasys2': ['oa2'],
20204
- 'application/vnd.fujitsu.oasys3': ['oa3'],
20205
- 'application/vnd.fujitsu.oasysgp': ['fg5'],
20206
- 'application/vnd.fujitsu.oasysprs': ['bh2'],
20207
- 'application/vnd.fujixerox.ddd': ['ddd'],
20208
- 'application/vnd.fujixerox.docuworks': ['xdw'],
20209
- 'application/vnd.fujixerox.docuworks.binder': ['xbd'],
20210
- 'application/vnd.fuzzysheet': ['fzs'],
20211
- 'application/vnd.genomatix.tuxedo': ['txd'],
20212
- 'application/vnd.geogebra.file': ['ggb'],
20213
- 'application/vnd.geogebra.slides': ['ggs'],
20214
- 'application/vnd.geogebra.tool': ['ggt'],
20215
- 'application/vnd.geometry-explorer': ['gex', 'gre'],
20216
- 'application/vnd.geonext': ['gxt'],
20217
- 'application/vnd.geoplan': ['g2w'],
20218
- 'application/vnd.geospace': ['g3w'],
20219
- 'application/vnd.gmx': ['gmx'],
20220
- 'application/vnd.google-apps.document': ['gdoc'],
20221
- 'application/vnd.google-apps.presentation': ['gslides'],
20222
- 'application/vnd.google-apps.spreadsheet': ['gsheet'],
20223
- 'application/vnd.google-earth.kml+xml': ['kml'],
20224
- 'application/vnd.google-earth.kmz': ['kmz'],
20225
- 'application/vnd.gov.sk.xmldatacontainer+xml': ['xdcf'],
20226
- 'application/vnd.grafeq': ['gqf', 'gqs'],
20227
- 'application/vnd.groove-account': ['gac'],
20228
- 'application/vnd.groove-help': ['ghf'],
20229
- 'application/vnd.groove-identity-message': ['gim'],
20230
- 'application/vnd.groove-injector': ['grv'],
20231
- 'application/vnd.groove-tool-message': ['gtm'],
20232
- 'application/vnd.groove-tool-template': ['tpl'],
20233
- 'application/vnd.groove-vcard': ['vcg'],
20234
- 'application/vnd.hal+xml': ['hal'],
20235
- 'application/vnd.handheld-entertainment+xml': ['zmm'],
20236
- 'application/vnd.hbci': ['hbci'],
20237
- 'application/vnd.hhe.lesson-player': ['les'],
20238
- 'application/vnd.hp-hpgl': ['hpgl'],
20239
- 'application/vnd.hp-hpid': ['hpid'],
20240
- 'application/vnd.hp-hps': ['hps'],
20241
- 'application/vnd.hp-jlyt': ['jlt'],
20242
- 'application/vnd.hp-pcl': ['pcl'],
20243
- 'application/vnd.hp-pclxl': ['pclxl'],
20244
- 'application/vnd.hydrostatix.sof-data': ['sfd-hdstx'],
20245
- 'application/vnd.ibm.minipay': ['mpy'],
20246
- 'application/vnd.ibm.modcap': ['afp', 'listafp', 'list3820'],
20247
- 'application/vnd.ibm.rights-management': ['irm'],
20248
- 'application/vnd.ibm.secure-container': ['sc'],
20249
- 'application/vnd.iccprofile': ['icc', 'icm'],
20250
- 'application/vnd.igloader': ['igl'],
20251
- 'application/vnd.immervision-ivp': ['ivp'],
20252
- 'application/vnd.immervision-ivu': ['ivu'],
20253
- 'application/vnd.insors.igm': ['igm'],
20254
- 'application/vnd.intercon.formnet': ['xpw', 'xpx'],
20255
- 'application/vnd.intergeo': ['i2g'],
20256
- 'application/vnd.intu.qbo': ['qbo'],
20257
- 'application/vnd.intu.qfx': ['qfx'],
20258
- 'application/vnd.ipunplugged.rcprofile': ['rcprofile'],
20259
- 'application/vnd.irepository.package+xml': ['irp'],
20260
- 'application/vnd.is-xpr': ['xpr'],
20261
- 'application/vnd.isac.fcs': ['fcs'],
20262
- 'application/vnd.jam': ['jam'],
20263
- 'application/vnd.jcp.javame.midlet-rms': ['rms'],
20264
- 'application/vnd.jisp': ['jisp'],
20265
- 'application/vnd.joost.joda-archive': ['joda'],
20266
- 'application/vnd.kahootz': ['ktz', 'ktr'],
20267
- 'application/vnd.kde.karbon': ['karbon'],
20268
- 'application/vnd.kde.kchart': ['chrt'],
20269
- 'application/vnd.kde.kformula': ['kfo'],
20270
- 'application/vnd.kde.kivio': ['flw'],
20271
- 'application/vnd.kde.kontour': ['kon'],
20272
- 'application/vnd.kde.kpresenter': ['kpr', 'kpt'],
20273
- 'application/vnd.kde.kspread': ['ksp'],
20274
- 'application/vnd.kde.kword': ['kwd', 'kwt'],
20275
- 'application/vnd.kenameaapp': ['htke'],
20276
- 'application/vnd.kidspiration': ['kia'],
20277
- 'application/vnd.kinar': ['kne', 'knp'],
20278
- 'application/vnd.koan': ['skp', 'skd', 'skt', 'skm'],
20279
- 'application/vnd.kodak-descriptor': ['sse'],
20280
- 'application/vnd.las.las+xml': ['lasxml'],
20281
- 'application/vnd.llamagraphics.life-balance.desktop': ['lbd'],
20282
- 'application/vnd.llamagraphics.life-balance.exchange+xml': ['lbe'],
20283
- 'application/vnd.lotus-1-2-3': ['123'],
20284
- 'application/vnd.lotus-approach': ['apr'],
20285
- 'application/vnd.lotus-freelance': ['pre'],
20286
- 'application/vnd.lotus-notes': ['nsf'],
20287
- 'application/vnd.lotus-organizer': ['org'],
20288
- 'application/vnd.lotus-screencam': ['scm'],
20289
- 'application/vnd.lotus-wordpro': ['lwp'],
20290
- 'application/vnd.macports.portpkg': ['portpkg'],
20291
- 'application/vnd.mapbox-vector-tile': ['mvt'],
20292
- 'application/vnd.mcd': ['mcd'],
20293
- 'application/vnd.medcalcdata': ['mc1'],
20294
- 'application/vnd.mediastation.cdkey': ['cdkey'],
20295
- 'application/vnd.mfer': ['mwf'],
20296
- 'application/vnd.mfmp': ['mfm'],
20297
- 'application/vnd.micrografx.flo': ['flo'],
20298
- 'application/vnd.micrografx.igx': ['igx'],
20299
- 'application/vnd.mif': ['mif'],
20300
- 'application/vnd.mobius.daf': ['daf'],
20301
- 'application/vnd.mobius.dis': ['dis'],
20302
- 'application/vnd.mobius.mbk': ['mbk'],
20303
- 'application/vnd.mobius.mqy': ['mqy'],
20304
- 'application/vnd.mobius.msl': ['msl'],
20305
- 'application/vnd.mobius.plc': ['plc'],
20306
- 'application/vnd.mobius.txf': ['txf'],
20307
- 'application/vnd.mophun.application': ['mpn'],
20308
- 'application/vnd.mophun.certificate': ['mpc'],
20309
- 'application/vnd.mozilla.xul+xml': ['xul'],
20310
- 'application/vnd.ms-artgalry': ['cil'],
20311
- 'application/vnd.ms-cab-compressed': ['cab'],
20312
- 'application/vnd.ms-excel': ['xls', 'xlm', 'xla', 'xlc', 'xlt', 'xlw'],
20313
- 'application/vnd.ms-excel.addin.macroenabled.12': ['xlam'],
20314
- 'application/vnd.ms-excel.sheet.binary.macroenabled.12': ['xlsb'],
20315
- 'application/vnd.ms-excel.sheet.macroenabled.12': ['xlsm'],
20316
- 'application/vnd.ms-excel.template.macroenabled.12': ['xltm'],
20317
- 'application/vnd.ms-fontobject': ['eot'],
20318
- 'application/vnd.ms-htmlhelp': ['chm'],
20319
- 'application/vnd.ms-ims': ['ims'],
20320
- 'application/vnd.ms-lrm': ['lrm'],
20321
- 'application/vnd.ms-officetheme': ['thmx'],
20322
- 'application/vnd.ms-outlook': ['msg'],
20323
- 'application/vnd.ms-pki.seccat': ['cat'],
20324
- 'application/vnd.ms-pki.stl': ['*stl'],
20325
- 'application/vnd.ms-powerpoint': ['ppt', 'pps', 'pot'],
20326
- 'application/vnd.ms-powerpoint.addin.macroenabled.12': ['ppam'],
20327
- 'application/vnd.ms-powerpoint.presentation.macroenabled.12': ['pptm'],
20328
- 'application/vnd.ms-powerpoint.slide.macroenabled.12': ['sldm'],
20329
- 'application/vnd.ms-powerpoint.slideshow.macroenabled.12': ['ppsm'],
20330
- 'application/vnd.ms-powerpoint.template.macroenabled.12': ['potm'],
20331
- 'application/vnd.ms-project': ['*mpp', 'mpt'],
20332
- 'application/vnd.ms-word.document.macroenabled.12': ['docm'],
20333
- 'application/vnd.ms-word.template.macroenabled.12': ['dotm'],
20334
- 'application/vnd.ms-works': ['wps', 'wks', 'wcm', 'wdb'],
20335
- 'application/vnd.ms-wpl': ['wpl'],
20336
- 'application/vnd.ms-xpsdocument': ['xps'],
20337
- 'application/vnd.mseq': ['mseq'],
20338
- 'application/vnd.musician': ['mus'],
20339
- 'application/vnd.muvee.style': ['msty'],
20340
- 'application/vnd.mynfc': ['taglet'],
20341
- 'application/vnd.nato.bindingdataobject+xml': ['bdo'],
20342
- 'application/vnd.neurolanguage.nlu': ['nlu'],
20343
- 'application/vnd.nitf': ['ntf', 'nitf'],
20344
- 'application/vnd.noblenet-directory': ['nnd'],
20345
- 'application/vnd.noblenet-sealer': ['nns'],
20346
- 'application/vnd.noblenet-web': ['nnw'],
20347
- 'application/vnd.nokia.n-gage.ac+xml': ['*ac'],
20348
- 'application/vnd.nokia.n-gage.data': ['ngdat'],
20349
- 'application/vnd.nokia.n-gage.symbian.install': ['n-gage'],
20350
- 'application/vnd.nokia.radio-preset': ['rpst'],
20351
- 'application/vnd.nokia.radio-presets': ['rpss'],
20352
- 'application/vnd.novadigm.edm': ['edm'],
20353
- 'application/vnd.novadigm.edx': ['edx'],
20354
- 'application/vnd.novadigm.ext': ['ext'],
20355
- 'application/vnd.oasis.opendocument.chart': ['odc'],
20356
- 'application/vnd.oasis.opendocument.chart-template': ['otc'],
20357
- 'application/vnd.oasis.opendocument.database': ['odb'],
20358
- 'application/vnd.oasis.opendocument.formula': ['odf'],
20359
- 'application/vnd.oasis.opendocument.formula-template': ['odft'],
20360
- 'application/vnd.oasis.opendocument.graphics': ['odg'],
20361
- 'application/vnd.oasis.opendocument.graphics-template': ['otg'],
20362
- 'application/vnd.oasis.opendocument.image': ['odi'],
20363
- 'application/vnd.oasis.opendocument.image-template': ['oti'],
20364
- 'application/vnd.oasis.opendocument.presentation': ['odp'],
20365
- 'application/vnd.oasis.opendocument.presentation-template': ['otp'],
20366
- 'application/vnd.oasis.opendocument.spreadsheet': ['ods'],
20367
- 'application/vnd.oasis.opendocument.spreadsheet-template': ['ots'],
20368
- 'application/vnd.oasis.opendocument.text': ['odt'],
20369
- 'application/vnd.oasis.opendocument.text-master': ['odm'],
20370
- 'application/vnd.oasis.opendocument.text-template': ['ott'],
20371
- 'application/vnd.oasis.opendocument.text-web': ['oth'],
20372
- 'application/vnd.olpc-sugar': ['xo'],
20373
- 'application/vnd.oma.dd2+xml': ['dd2'],
20374
- 'application/vnd.openblox.game+xml': ['obgx'],
20375
- 'application/vnd.openofficeorg.extension': ['oxt'],
20376
- 'application/vnd.openstreetmap.data+xml': ['osm'],
20377
- 'application/vnd.openxmlformats-officedocument.presentationml.presentation': [
20378
- 'pptx',
20379
- ],
20380
- 'application/vnd.openxmlformats-officedocument.presentationml.slide': [
20381
- 'sldx',
20382
- ],
20383
- 'application/vnd.openxmlformats-officedocument.presentationml.slideshow': [
20384
- 'ppsx',
20385
- ],
20386
- 'application/vnd.openxmlformats-officedocument.presentationml.template': [
20387
- 'potx',
20388
- ],
20389
- 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': ['xlsx'],
20390
- 'application/vnd.openxmlformats-officedocument.spreadsheetml.template': [
20391
- 'xltx',
20392
- ],
20393
- 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': [
20394
- 'docx',
20395
- ],
20396
- 'application/vnd.openxmlformats-officedocument.wordprocessingml.template': [
20397
- 'dotx',
20398
- ],
20399
- 'application/vnd.osgeo.mapguide.package': ['mgp'],
20400
- 'application/vnd.osgi.dp': ['dp'],
20401
- 'application/vnd.osgi.subsystem': ['esa'],
20402
- 'application/vnd.palm': ['pdb', 'pqa', 'oprc'],
20403
- 'application/vnd.pawaafile': ['paw'],
20404
- 'application/vnd.pg.format': ['str'],
20405
- 'application/vnd.pg.osasli': ['ei6'],
20406
- 'application/vnd.picsel': ['efif'],
20407
- 'application/vnd.pmi.widget': ['wg'],
20408
- 'application/vnd.pocketlearn': ['plf'],
20409
- 'application/vnd.powerbuilder6': ['pbd'],
20410
- 'application/vnd.previewsystems.box': ['box'],
20411
- 'application/vnd.proteus.magazine': ['mgz'],
20412
- 'application/vnd.publishare-delta-tree': ['qps'],
20413
- 'application/vnd.pvi.ptid1': ['ptid'],
20414
- 'application/vnd.pwg-xhtml-print+xml': ['xhtm'],
20415
- 'application/vnd.quark.quarkxpress': [
20416
- 'qxd',
20417
- 'qxt',
20418
- 'qwd',
20419
- 'qwt',
20420
- 'qxl',
20421
- 'qxb',
20422
- ],
20423
- 'application/vnd.rar': ['rar'],
20424
- 'application/vnd.realvnc.bed': ['bed'],
20425
- 'application/vnd.recordare.musicxml': ['mxl'],
20426
- 'application/vnd.recordare.musicxml+xml': ['musicxml'],
20427
- 'application/vnd.rig.cryptonote': ['cryptonote'],
20428
- 'application/vnd.rim.cod': ['cod'],
20429
- 'application/vnd.rn-realmedia': ['rm'],
20430
- 'application/vnd.rn-realmedia-vbr': ['rmvb'],
20431
- 'application/vnd.route66.link66+xml': ['link66'],
20432
- 'application/vnd.sailingtracker.track': ['st'],
20433
- 'application/vnd.seemail': ['see'],
20434
- 'application/vnd.sema': ['sema'],
20435
- 'application/vnd.semd': ['semd'],
20436
- 'application/vnd.semf': ['semf'],
20437
- 'application/vnd.shana.informed.formdata': ['ifm'],
20438
- 'application/vnd.shana.informed.formtemplate': ['itp'],
20439
- 'application/vnd.shana.informed.interchange': ['iif'],
20440
- 'application/vnd.shana.informed.package': ['ipk'],
20441
- 'application/vnd.simtech-mindmapper': ['twd', 'twds'],
20442
- 'application/vnd.smaf': ['mmf'],
20443
- 'application/vnd.smart.teacher': ['teacher'],
20444
- 'application/vnd.software602.filler.form+xml': ['fo'],
20445
- 'application/vnd.solent.sdkm+xml': ['sdkm', 'sdkd'],
20446
- 'application/vnd.spotfire.dxp': ['dxp'],
20447
- 'application/vnd.spotfire.sfs': ['sfs'],
20448
- 'application/vnd.stardivision.calc': ['sdc'],
20449
- 'application/vnd.stardivision.draw': ['sda'],
20450
- 'application/vnd.stardivision.impress': ['sdd'],
20451
- 'application/vnd.stardivision.math': ['smf'],
20452
- 'application/vnd.stardivision.writer': ['sdw', 'vor'],
20453
- 'application/vnd.stardivision.writer-global': ['sgl'],
20454
- 'application/vnd.stepmania.package': ['smzip'],
20455
- 'application/vnd.stepmania.stepchart': ['sm'],
20456
- 'application/vnd.sun.wadl+xml': ['wadl'],
20457
- 'application/vnd.sun.xml.calc': ['sxc'],
20458
- 'application/vnd.sun.xml.calc.template': ['stc'],
20459
- 'application/vnd.sun.xml.draw': ['sxd'],
20460
- 'application/vnd.sun.xml.draw.template': ['std'],
20461
- 'application/vnd.sun.xml.impress': ['sxi'],
20462
- 'application/vnd.sun.xml.impress.template': ['sti'],
20463
- 'application/vnd.sun.xml.math': ['sxm'],
20464
- 'application/vnd.sun.xml.writer': ['sxw'],
20465
- 'application/vnd.sun.xml.writer.global': ['sxg'],
20466
- 'application/vnd.sun.xml.writer.template': ['stw'],
20467
- 'application/vnd.sus-calendar': ['sus', 'susp'],
20468
- 'application/vnd.svd': ['svd'],
20469
- 'application/vnd.symbian.install': ['sis', 'sisx'],
20470
- 'application/vnd.syncml+xml': ['xsm'],
20471
- 'application/vnd.syncml.dm+wbxml': ['bdm'],
20472
- 'application/vnd.syncml.dm+xml': ['xdm'],
20473
- 'application/vnd.syncml.dmddf+xml': ['ddf'],
20474
- 'application/vnd.tao.intent-module-archive': ['tao'],
20475
- 'application/vnd.tcpdump.pcap': ['pcap', 'cap', 'dmp'],
20476
- 'application/vnd.tmobile-livetv': ['tmo'],
20477
- 'application/vnd.trid.tpt': ['tpt'],
20478
- 'application/vnd.triscape.mxs': ['mxs'],
20479
- 'application/vnd.trueapp': ['tra'],
20480
- 'application/vnd.ufdl': ['ufd', 'ufdl'],
20481
- 'application/vnd.uiq.theme': ['utz'],
20482
- 'application/vnd.umajin': ['umj'],
20483
- 'application/vnd.unity': ['unityweb'],
20484
- 'application/vnd.uoml+xml': ['uoml', 'uo'],
20485
- 'application/vnd.vcx': ['vcx'],
20486
- 'application/vnd.visio': ['vsd', 'vst', 'vss', 'vsw'],
20487
- 'application/vnd.visionary': ['vis'],
20488
- 'application/vnd.vsf': ['vsf'],
20489
- 'application/vnd.wap.wbxml': ['wbxml'],
20490
- 'application/vnd.wap.wmlc': ['wmlc'],
20491
- 'application/vnd.wap.wmlscriptc': ['wmlsc'],
20492
- 'application/vnd.webturbo': ['wtb'],
20493
- 'application/vnd.wolfram.player': ['nbp'],
20494
- 'application/vnd.wordperfect': ['wpd'],
20495
- 'application/vnd.wqd': ['wqd'],
20496
- 'application/vnd.wt.stf': ['stf'],
20497
- 'application/vnd.xara': ['xar'],
20498
- 'application/vnd.xfdl': ['xfdl'],
20499
- 'application/vnd.yamaha.hv-dic': ['hvd'],
20500
- 'application/vnd.yamaha.hv-script': ['hvs'],
20501
- 'application/vnd.yamaha.hv-voice': ['hvp'],
20502
- 'application/vnd.yamaha.openscoreformat': ['osf'],
20503
- 'application/vnd.yamaha.openscoreformat.osfpvg+xml': ['osfpvg'],
20504
- 'application/vnd.yamaha.smaf-audio': ['saf'],
20505
- 'application/vnd.yamaha.smaf-phrase': ['spf'],
20506
- 'application/vnd.yellowriver-custom-menu': ['cmp'],
20507
- 'application/vnd.zul': ['zir', 'zirz'],
20508
- 'application/vnd.zzazz.deck+xml': ['zaz'],
20509
- 'application/x-7z-compressed': ['7z'],
20510
- 'application/x-abiword': ['abw'],
20511
- 'application/x-ace-compressed': ['ace'],
20512
- 'application/x-apple-diskimage': ['*dmg'],
20513
- 'application/x-arj': ['arj'],
20514
- 'application/x-authorware-bin': ['aab', 'x32', 'u32', 'vox'],
20515
- 'application/x-authorware-map': ['aam'],
20516
- 'application/x-authorware-seg': ['aas'],
20517
- 'application/x-bcpio': ['bcpio'],
20518
- 'application/x-bdoc': ['*bdoc'],
20519
- 'application/x-bittorrent': ['torrent'],
20520
- 'application/x-blorb': ['blb', 'blorb'],
20521
- 'application/x-bzip': ['bz'],
20522
- 'application/x-bzip2': ['bz2', 'boz'],
20523
- 'application/x-cbr': ['cbr', 'cba', 'cbt', 'cbz', 'cb7'],
20524
- 'application/x-cdlink': ['vcd'],
20525
- 'application/x-cfs-compressed': ['cfs'],
20526
- 'application/x-chat': ['chat'],
20527
- 'application/x-chess-pgn': ['pgn'],
20528
- 'application/x-chrome-extension': ['crx'],
20529
- 'application/x-cocoa': ['cco'],
20530
- 'application/x-conference': ['nsc'],
20531
- 'application/x-cpio': ['cpio'],
20532
- 'application/x-csh': ['csh'],
20533
- 'application/x-debian-package': ['*deb', 'udeb'],
20534
- 'application/x-dgc-compressed': ['dgc'],
20535
- 'application/x-director': [
20536
- 'dir',
20537
- 'dcr',
20538
- 'dxr',
20539
- 'cst',
20540
- 'cct',
20541
- 'cxt',
20542
- 'w3d',
20543
- 'fgd',
20544
- 'swa',
20545
- ],
20546
- 'application/x-doom': ['wad'],
20547
- 'application/x-dtbncx+xml': ['ncx'],
20548
- 'application/x-dtbook+xml': ['dtb'],
20549
- 'application/x-dtbresource+xml': ['res'],
20550
- 'application/x-dvi': ['dvi'],
20551
- 'application/x-envoy': ['evy'],
20552
- 'application/x-eva': ['eva'],
20553
- 'application/x-font-bdf': ['bdf'],
20554
- 'application/x-font-ghostscript': ['gsf'],
20555
- 'application/x-font-linux-psf': ['psf'],
20556
- 'application/x-font-pcf': ['pcf'],
20557
- 'application/x-font-snf': ['snf'],
20558
- 'application/x-font-type1': ['pfa', 'pfb', 'pfm', 'afm'],
20559
- 'application/x-freearc': ['arc'],
20560
- 'application/x-futuresplash': ['spl'],
20561
- 'application/x-gca-compressed': ['gca'],
20562
- 'application/x-glulx': ['ulx'],
20563
- 'application/x-gnumeric': ['gnumeric'],
20564
- 'application/x-gramps-xml': ['gramps'],
20565
- 'application/x-gtar': ['gtar'],
20566
- 'application/x-hdf': ['hdf'],
20567
- 'application/x-httpd-php': ['php'],
20568
- 'application/x-install-instructions': ['install'],
20569
- 'application/x-iso9660-image': ['*iso'],
20570
- 'application/x-iwork-keynote-sffkey': ['*key'],
20571
- 'application/x-iwork-numbers-sffnumbers': ['*numbers'],
20572
- 'application/x-iwork-pages-sffpages': ['*pages'],
20573
- 'application/x-java-archive-diff': ['jardiff'],
20574
- 'application/x-java-jnlp-file': ['jnlp'],
20575
- 'application/x-keepass2': ['kdbx'],
20576
- 'application/x-latex': ['latex'],
20577
- 'application/x-lua-bytecode': ['luac'],
20578
- 'application/x-lzh-compressed': ['lzh', 'lha'],
20579
- 'application/x-makeself': ['run'],
20580
- 'application/x-mie': ['mie'],
20581
- 'application/x-mobipocket-ebook': ['*prc', 'mobi'],
20582
- 'application/x-ms-application': ['application'],
20583
- 'application/x-ms-shortcut': ['lnk'],
20584
- 'application/x-ms-wmd': ['wmd'],
20585
- 'application/x-ms-wmz': ['wmz'],
20586
- 'application/x-ms-xbap': ['xbap'],
20587
- 'application/x-msaccess': ['mdb'],
20588
- 'application/x-msbinder': ['obd'],
20589
- 'application/x-mscardfile': ['crd'],
20590
- 'application/x-msclip': ['clp'],
20591
- 'application/x-msdos-program': ['*exe'],
20592
- 'application/x-msdownload': ['*exe', '*dll', 'com', 'bat', '*msi'],
20593
- 'application/x-msmediaview': ['mvb', 'm13', 'm14'],
20594
- 'application/x-msmetafile': ['*wmf', '*wmz', '*emf', 'emz'],
20595
- 'application/x-msmoney': ['mny'],
20596
- 'application/x-mspublisher': ['pub'],
20597
- 'application/x-msschedule': ['scd'],
20598
- 'application/x-msterminal': ['trm'],
20599
- 'application/x-mswrite': ['wri'],
20600
- 'application/x-netcdf': ['nc', 'cdf'],
20601
- 'application/x-ns-proxy-autoconfig': ['pac'],
20602
- 'application/x-nzb': ['nzb'],
20603
- 'application/x-perl': ['pl', 'pm'],
20604
- 'application/x-pilot': ['*prc', '*pdb'],
20605
- 'application/x-pkcs12': ['p12', 'pfx'],
20606
- 'application/x-pkcs7-certificates': ['p7b', 'spc'],
20607
- 'application/x-pkcs7-certreqresp': ['p7r'],
20608
- 'application/x-rar-compressed': ['*rar'],
20609
- 'application/x-redhat-package-manager': ['rpm'],
20610
- 'application/x-research-info-systems': ['ris'],
20611
- 'application/x-sea': ['sea'],
20612
- 'application/x-sh': ['sh'],
20613
- 'application/x-shar': ['shar'],
20614
- 'application/x-shockwave-flash': ['swf'],
20615
- 'application/x-silverlight-app': ['xap'],
20616
- 'application/x-sql': ['*sql'],
20617
- 'application/x-stuffit': ['sit'],
20618
- 'application/x-stuffitx': ['sitx'],
20619
- 'application/x-subrip': ['srt'],
20620
- 'application/x-sv4cpio': ['sv4cpio'],
20621
- 'application/x-sv4crc': ['sv4crc'],
20622
- 'application/x-t3vm-image': ['t3'],
20623
- 'application/x-tads': ['gam'],
20624
- 'application/x-tar': ['tar'],
20625
- 'application/x-tcl': ['tcl', 'tk'],
20626
- 'application/x-tex': ['tex'],
20627
- 'application/x-tex-tfm': ['tfm'],
20628
- 'application/x-texinfo': ['texinfo', 'texi'],
20629
- 'application/x-tgif': ['*obj'],
20630
- 'application/x-ustar': ['ustar'],
20631
- 'application/x-virtualbox-hdd': ['hdd'],
20632
- 'application/x-virtualbox-ova': ['ova'],
20633
- 'application/x-virtualbox-ovf': ['ovf'],
20634
- 'application/x-virtualbox-vbox': ['vbox'],
20635
- 'application/x-virtualbox-vbox-extpack': ['vbox-extpack'],
20636
- 'application/x-virtualbox-vdi': ['vdi'],
20637
- 'application/x-virtualbox-vhd': ['vhd'],
20638
- 'application/x-virtualbox-vmdk': ['vmdk'],
20639
- 'application/x-wais-source': ['src'],
20640
- 'application/x-web-app-manifest+json': ['webapp'],
20641
- 'application/x-x509-ca-cert': ['der', 'crt', 'pem'],
20642
- 'application/x-xfig': ['fig'],
20643
- 'application/x-xliff+xml': ['*xlf'],
20644
- 'application/x-xpinstall': ['xpi'],
20645
- 'application/x-xz': ['xz'],
20646
- 'application/x-zmachine': ['z1', 'z2', 'z3', 'z4', 'z5', 'z6', 'z7', 'z8'],
20647
- 'audio/vnd.dece.audio': ['uva', 'uvva'],
20648
- 'audio/vnd.digital-winds': ['eol'],
20649
- 'audio/vnd.dra': ['dra'],
20650
- 'audio/vnd.dts': ['dts'],
20651
- 'audio/vnd.dts.hd': ['dtshd'],
20652
- 'audio/vnd.lucent.voice': ['lvp'],
20653
- 'audio/vnd.ms-playready.media.pya': ['pya'],
20654
- 'audio/vnd.nuera.ecelp4800': ['ecelp4800'],
20655
- 'audio/vnd.nuera.ecelp7470': ['ecelp7470'],
20656
- 'audio/vnd.nuera.ecelp9600': ['ecelp9600'],
20657
- 'audio/vnd.rip': ['rip'],
20658
- 'audio/x-aac': ['*aac'],
20659
- 'audio/x-aiff': ['aif', 'aiff', 'aifc'],
20660
- 'audio/x-caf': ['caf'],
20661
- 'audio/x-flac': ['flac'],
20662
- 'audio/x-m4a': ['*m4a'],
20663
- 'audio/x-matroska': ['mka'],
20664
- 'audio/x-mpegurl': ['m3u'],
20665
- 'audio/x-ms-wax': ['wax'],
20666
- 'audio/x-ms-wma': ['wma'],
20667
- 'audio/x-pn-realaudio': ['ram', 'ra'],
20668
- 'audio/x-pn-realaudio-plugin': ['rmp'],
20669
- 'audio/x-realaudio': ['*ra'],
20670
- 'audio/x-wav': ['*wav'],
20671
- 'chemical/x-cdx': ['cdx'],
20672
- 'chemical/x-cif': ['cif'],
20673
- 'chemical/x-cmdf': ['cmdf'],
20674
- 'chemical/x-cml': ['cml'],
20675
- 'chemical/x-csml': ['csml'],
20676
- 'chemical/x-xyz': ['xyz'],
20677
- 'image/prs.btif': ['btif', 'btf'],
20678
- 'image/prs.pti': ['pti'],
20679
- 'image/vnd.adobe.photoshop': ['psd'],
20680
- 'image/vnd.airzip.accelerator.azv': ['azv'],
20681
- 'image/vnd.dece.graphic': ['uvi', 'uvvi', 'uvg', 'uvvg'],
20682
- 'image/vnd.djvu': ['djvu', 'djv'],
20683
- 'image/vnd.dvb.subtitle': ['*sub'],
20684
- 'image/vnd.dwg': ['dwg'],
20685
- 'image/vnd.dxf': ['dxf'],
20686
- 'image/vnd.fastbidsheet': ['fbs'],
20687
- 'image/vnd.fpx': ['fpx'],
20688
- 'image/vnd.fst': ['fst'],
20689
- 'image/vnd.fujixerox.edmics-mmr': ['mmr'],
20690
- 'image/vnd.fujixerox.edmics-rlc': ['rlc'],
20691
- 'image/vnd.microsoft.icon': ['ico'],
20692
- 'image/vnd.ms-dds': ['dds'],
20693
- 'image/vnd.ms-modi': ['mdi'],
20694
- 'image/vnd.ms-photo': ['wdp'],
20695
- 'image/vnd.net-fpx': ['npx'],
20696
- 'image/vnd.pco.b16': ['b16'],
20697
- 'image/vnd.tencent.tap': ['tap'],
20698
- 'image/vnd.valve.source.texture': ['vtf'],
20699
- 'image/vnd.wap.wbmp': ['wbmp'],
20700
- 'image/vnd.xiff': ['xif'],
20701
- 'image/vnd.zbrush.pcx': ['pcx'],
20702
- 'image/x-3ds': ['3ds'],
20703
- 'image/x-cmu-raster': ['ras'],
20704
- 'image/x-cmx': ['cmx'],
20705
- 'image/x-freehand': ['fh', 'fhc', 'fh4', 'fh5', 'fh7'],
20706
- 'image/x-icon': ['*ico'],
20707
- 'image/x-jng': ['jng'],
20708
- 'image/x-mrsid-image': ['sid'],
20709
- 'image/x-ms-bmp': ['*bmp'],
20710
- 'image/x-pcx': ['*pcx'],
20711
- 'image/x-pict': ['pic', 'pct'],
20712
- 'image/x-portable-anymap': ['pnm'],
20713
- 'image/x-portable-bitmap': ['pbm'],
20714
- 'image/x-portable-graymap': ['pgm'],
20715
- 'image/x-portable-pixmap': ['ppm'],
20716
- 'image/x-rgb': ['rgb'],
20717
- 'image/x-tga': ['tga'],
20718
- 'image/x-xbitmap': ['xbm'],
20719
- 'image/x-xpixmap': ['xpm'],
20720
- 'image/x-xwindowdump': ['xwd'],
20721
- 'message/vnd.wfa.wsc': ['wsc'],
20722
- 'model/vnd.bary': ['bary'],
20723
- 'model/vnd.cld': ['cld'],
20724
- 'model/vnd.collada+xml': ['dae'],
20725
- 'model/vnd.dwf': ['dwf'],
20726
- 'model/vnd.gdl': ['gdl'],
20727
- 'model/vnd.gtw': ['gtw'],
20728
- 'model/vnd.mts': ['*mts'],
20729
- 'model/vnd.opengex': ['ogex'],
20730
- 'model/vnd.parasolid.transmit.binary': ['x_b'],
20731
- 'model/vnd.parasolid.transmit.text': ['x_t'],
20732
- 'model/vnd.pytha.pyox': ['pyo', 'pyox'],
20733
- 'model/vnd.sap.vds': ['vds'],
20734
- 'model/vnd.usda': ['usda'],
20735
- 'model/vnd.usdz+zip': ['usdz'],
20736
- 'model/vnd.valve.source.compiled-map': ['bsp'],
20737
- 'model/vnd.vtu': ['vtu'],
20738
- 'text/prs.lines.tag': ['dsc'],
20739
- 'text/vnd.curl': ['curl'],
20740
- 'text/vnd.curl.dcurl': ['dcurl'],
20741
- 'text/vnd.curl.mcurl': ['mcurl'],
20742
- 'text/vnd.curl.scurl': ['scurl'],
20743
- 'text/vnd.dvb.subtitle': ['sub'],
20744
- 'text/vnd.familysearch.gedcom': ['ged'],
20745
- 'text/vnd.fly': ['fly'],
20746
- 'text/vnd.fmi.flexstor': ['flx'],
20747
- 'text/vnd.graphviz': ['gv'],
20748
- 'text/vnd.in3d.3dml': ['3dml'],
20749
- 'text/vnd.in3d.spot': ['spot'],
20750
- 'text/vnd.sun.j2me.app-descriptor': ['jad'],
20751
- 'text/vnd.wap.wml': ['wml'],
20752
- 'text/vnd.wap.wmlscript': ['wmls'],
20753
- 'text/x-asm': ['s', 'asm'],
20754
- 'text/x-c': ['c', 'cc', 'cxx', 'cpp', 'h', 'hh', 'dic'],
20755
- 'text/x-component': ['htc'],
20756
- 'text/x-fortran': ['f', 'for', 'f77', 'f90'],
20757
- 'text/x-handlebars-template': ['hbs'],
20758
- 'text/x-java-source': ['java'],
20759
- 'text/x-lua': ['lua'],
20760
- 'text/x-markdown': ['mkd'],
20761
- 'text/x-nfo': ['nfo'],
20762
- 'text/x-opml': ['opml'],
20763
- 'text/x-org': ['*org'],
20764
- 'text/x-pascal': ['p', 'pas'],
20765
- 'text/x-processing': ['pde'],
20766
- 'text/x-sass': ['sass'],
20767
- 'text/x-scss': ['scss'],
20768
- 'text/x-setext': ['etx'],
20769
- 'text/x-sfv': ['sfv'],
20770
- 'text/x-suse-ymp': ['ymp'],
20771
- 'text/x-uuencode': ['uu'],
20772
- 'text/x-vcalendar': ['vcs'],
20773
- 'text/x-vcard': ['vcf'],
20774
- 'video/vnd.dece.hd': ['uvh', 'uvvh'],
20775
- 'video/vnd.dece.mobile': ['uvm', 'uvvm'],
20776
- 'video/vnd.dece.pd': ['uvp', 'uvvp'],
20777
- 'video/vnd.dece.sd': ['uvs', 'uvvs'],
20778
- 'video/vnd.dece.video': ['uvv', 'uvvv'],
20779
- 'video/vnd.dvb.file': ['dvb'],
20780
- 'video/vnd.fvt': ['fvt'],
20781
- 'video/vnd.mpegurl': ['mxu', 'm4u'],
20782
- 'video/vnd.ms-playready.media.pyv': ['pyv'],
20783
- 'video/vnd.uvvu.mp4': ['uvu', 'uvvu'],
20784
- 'video/vnd.vivo': ['viv'],
20785
- 'video/x-f4v': ['f4v'],
20786
- 'video/x-fli': ['fli'],
20787
- 'video/x-flv': ['flv'],
20788
- 'video/x-m4v': ['m4v'],
20789
- 'video/x-matroska': ['mkv', 'mk3d', 'mks'],
20790
- 'video/x-mng': ['mng'],
20791
- 'video/x-ms-asf': ['asf', 'asx'],
20792
- 'video/x-ms-vob': ['vob'],
20793
- 'video/x-ms-wm': ['wm'],
20794
- 'video/x-ms-wmv': ['wmv'],
20795
- 'video/x-ms-wmx': ['wmx'],
20796
- 'video/x-ms-wvx': ['wvx'],
20797
- 'video/x-msvideo': ['avi'],
20798
- 'video/x-sgi-movie': ['movie'],
20799
- 'video/x-smv': ['smv'],
20800
- 'x-conference/x-cooltalk': ['ice'],
20801
- };
20802
- Object.freeze(types$2);
20803
-
20804
- const types$1 = {
20805
- 'application/andrew-inset': ['ez'],
20806
- 'application/appinstaller': ['appinstaller'],
20807
- 'application/applixware': ['aw'],
20808
- 'application/appx': ['appx'],
20809
- 'application/appxbundle': ['appxbundle'],
20810
- 'application/atom+xml': ['atom'],
20811
- 'application/atomcat+xml': ['atomcat'],
20812
- 'application/atomdeleted+xml': ['atomdeleted'],
20813
- 'application/atomsvc+xml': ['atomsvc'],
20814
- 'application/atsc-dwd+xml': ['dwd'],
20815
- 'application/atsc-held+xml': ['held'],
20816
- 'application/atsc-rsat+xml': ['rsat'],
20817
- 'application/automationml-aml+xml': ['aml'],
20818
- 'application/automationml-amlx+zip': ['amlx'],
20819
- 'application/bdoc': ['bdoc'],
20820
- 'application/calendar+xml': ['xcs'],
20821
- 'application/ccxml+xml': ['ccxml'],
20822
- 'application/cdfx+xml': ['cdfx'],
20823
- 'application/cdmi-capability': ['cdmia'],
20824
- 'application/cdmi-container': ['cdmic'],
20825
- 'application/cdmi-domain': ['cdmid'],
20826
- 'application/cdmi-object': ['cdmio'],
20827
- 'application/cdmi-queue': ['cdmiq'],
20828
- 'application/cpl+xml': ['cpl'],
20829
- 'application/cu-seeme': ['cu'],
20830
- 'application/cwl': ['cwl'],
20831
- 'application/dash+xml': ['mpd'],
20832
- 'application/dash-patch+xml': ['mpp'],
20833
- 'application/davmount+xml': ['davmount'],
20834
- 'application/docbook+xml': ['dbk'],
20835
- 'application/dssc+der': ['dssc'],
20836
- 'application/dssc+xml': ['xdssc'],
20837
- 'application/ecmascript': ['ecma'],
20838
- 'application/emma+xml': ['emma'],
20839
- 'application/emotionml+xml': ['emotionml'],
20840
- 'application/epub+zip': ['epub'],
20841
- 'application/exi': ['exi'],
20842
- 'application/express': ['exp'],
20843
- 'application/fdf': ['fdf'],
20844
- 'application/fdt+xml': ['fdt'],
20845
- 'application/font-tdpfr': ['pfr'],
20846
- 'application/geo+json': ['geojson'],
20847
- 'application/gml+xml': ['gml'],
20848
- 'application/gpx+xml': ['gpx'],
20849
- 'application/gxf': ['gxf'],
20850
- 'application/gzip': ['gz'],
20851
- 'application/hjson': ['hjson'],
20852
- 'application/hyperstudio': ['stk'],
20853
- 'application/inkml+xml': ['ink', 'inkml'],
20854
- 'application/ipfix': ['ipfix'],
20855
- 'application/its+xml': ['its'],
20856
- 'application/java-archive': ['jar', 'war', 'ear'],
20857
- 'application/java-serialized-object': ['ser'],
20858
- 'application/java-vm': ['class'],
20859
- 'application/javascript': ['*js'],
20860
- 'application/json': ['json', 'map'],
20861
- 'application/json5': ['json5'],
20862
- 'application/jsonml+json': ['jsonml'],
20863
- 'application/ld+json': ['jsonld'],
20864
- 'application/lgr+xml': ['lgr'],
20865
- 'application/lost+xml': ['lostxml'],
20866
- 'application/mac-binhex40': ['hqx'],
20867
- 'application/mac-compactpro': ['cpt'],
20868
- 'application/mads+xml': ['mads'],
20869
- 'application/manifest+json': ['webmanifest'],
20870
- 'application/marc': ['mrc'],
20871
- 'application/marcxml+xml': ['mrcx'],
20872
- 'application/mathematica': ['ma', 'nb', 'mb'],
20873
- 'application/mathml+xml': ['mathml'],
20874
- 'application/mbox': ['mbox'],
20875
- 'application/media-policy-dataset+xml': ['mpf'],
20876
- 'application/mediaservercontrol+xml': ['mscml'],
20877
- 'application/metalink+xml': ['metalink'],
20878
- 'application/metalink4+xml': ['meta4'],
20879
- 'application/mets+xml': ['mets'],
20880
- 'application/mmt-aei+xml': ['maei'],
20881
- 'application/mmt-usd+xml': ['musd'],
20882
- 'application/mods+xml': ['mods'],
20883
- 'application/mp21': ['m21', 'mp21'],
20884
- 'application/mp4': ['*mp4', '*mpg4', 'mp4s', 'm4p'],
20885
- 'application/msix': ['msix'],
20886
- 'application/msixbundle': ['msixbundle'],
20887
- 'application/msword': ['doc', 'dot'],
20888
- 'application/mxf': ['mxf'],
20889
- 'application/n-quads': ['nq'],
20890
- 'application/n-triples': ['nt'],
20891
- 'application/node': ['cjs'],
20892
- 'application/octet-stream': [
20893
- 'bin',
20894
- 'dms',
20895
- 'lrf',
20896
- 'mar',
20897
- 'so',
20898
- 'dist',
20899
- 'distz',
20900
- 'pkg',
20901
- 'bpk',
20902
- 'dump',
20903
- 'elc',
20904
- 'deploy',
20905
- 'exe',
20906
- 'dll',
20907
- 'deb',
20908
- 'dmg',
20909
- 'iso',
20910
- 'img',
20911
- 'msi',
20912
- 'msp',
20913
- 'msm',
20914
- 'buffer',
20915
- ],
20916
- 'application/oda': ['oda'],
20917
- 'application/oebps-package+xml': ['opf'],
20918
- 'application/ogg': ['ogx'],
20919
- 'application/omdoc+xml': ['omdoc'],
20920
- 'application/onenote': ['onetoc', 'onetoc2', 'onetmp', 'onepkg'],
20921
- 'application/oxps': ['oxps'],
20922
- 'application/p2p-overlay+xml': ['relo'],
20923
- 'application/patch-ops-error+xml': ['xer'],
20924
- 'application/pdf': ['pdf'],
20925
- 'application/pgp-encrypted': ['pgp'],
20926
- 'application/pgp-keys': ['asc'],
20927
- 'application/pgp-signature': ['sig', '*asc'],
20928
- 'application/pics-rules': ['prf'],
20929
- 'application/pkcs10': ['p10'],
20930
- 'application/pkcs7-mime': ['p7m', 'p7c'],
20931
- 'application/pkcs7-signature': ['p7s'],
20932
- 'application/pkcs8': ['p8'],
20933
- 'application/pkix-attr-cert': ['ac'],
20934
- 'application/pkix-cert': ['cer'],
20935
- 'application/pkix-crl': ['crl'],
20936
- 'application/pkix-pkipath': ['pkipath'],
20937
- 'application/pkixcmp': ['pki'],
20938
- 'application/pls+xml': ['pls'],
20939
- 'application/postscript': ['ai', 'eps', 'ps'],
20940
- 'application/provenance+xml': ['provx'],
20941
- 'application/pskc+xml': ['pskcxml'],
20942
- 'application/raml+yaml': ['raml'],
20943
- 'application/rdf+xml': ['rdf', 'owl'],
20944
- 'application/reginfo+xml': ['rif'],
20945
- 'application/relax-ng-compact-syntax': ['rnc'],
20946
- 'application/resource-lists+xml': ['rl'],
20947
- 'application/resource-lists-diff+xml': ['rld'],
20948
- 'application/rls-services+xml': ['rs'],
20949
- 'application/route-apd+xml': ['rapd'],
20950
- 'application/route-s-tsid+xml': ['sls'],
20951
- 'application/route-usd+xml': ['rusd'],
20952
- 'application/rpki-ghostbusters': ['gbr'],
20953
- 'application/rpki-manifest': ['mft'],
20954
- 'application/rpki-roa': ['roa'],
20955
- 'application/rsd+xml': ['rsd'],
20956
- 'application/rss+xml': ['rss'],
20957
- 'application/rtf': ['rtf'],
20958
- 'application/sbml+xml': ['sbml'],
20959
- 'application/scvp-cv-request': ['scq'],
20960
- 'application/scvp-cv-response': ['scs'],
20961
- 'application/scvp-vp-request': ['spq'],
20962
- 'application/scvp-vp-response': ['spp'],
20963
- 'application/sdp': ['sdp'],
20964
- 'application/senml+xml': ['senmlx'],
20965
- 'application/sensml+xml': ['sensmlx'],
20966
- 'application/set-payment-initiation': ['setpay'],
20967
- 'application/set-registration-initiation': ['setreg'],
20968
- 'application/shf+xml': ['shf'],
20969
- 'application/sieve': ['siv', 'sieve'],
20970
- 'application/smil+xml': ['smi', 'smil'],
20971
- 'application/sparql-query': ['rq'],
20972
- 'application/sparql-results+xml': ['srx'],
20973
- 'application/sql': ['sql'],
20974
- 'application/srgs': ['gram'],
20975
- 'application/srgs+xml': ['grxml'],
20976
- 'application/sru+xml': ['sru'],
20977
- 'application/ssdl+xml': ['ssdl'],
20978
- 'application/ssml+xml': ['ssml'],
20979
- 'application/swid+xml': ['swidtag'],
20980
- 'application/tei+xml': ['tei', 'teicorpus'],
20981
- 'application/thraud+xml': ['tfi'],
20982
- 'application/timestamped-data': ['tsd'],
20983
- 'application/toml': ['toml'],
20984
- 'application/trig': ['trig'],
20985
- 'application/ttml+xml': ['ttml'],
20986
- 'application/ubjson': ['ubj'],
20987
- 'application/urc-ressheet+xml': ['rsheet'],
20988
- 'application/urc-targetdesc+xml': ['td'],
20989
- 'application/voicexml+xml': ['vxml'],
20990
- 'application/wasm': ['wasm'],
20991
- 'application/watcherinfo+xml': ['wif'],
20992
- 'application/widget': ['wgt'],
20993
- 'application/winhlp': ['hlp'],
20994
- 'application/wsdl+xml': ['wsdl'],
20995
- 'application/wspolicy+xml': ['wspolicy'],
20996
- 'application/xaml+xml': ['xaml'],
20997
- 'application/xcap-att+xml': ['xav'],
20998
- 'application/xcap-caps+xml': ['xca'],
20999
- 'application/xcap-diff+xml': ['xdf'],
21000
- 'application/xcap-el+xml': ['xel'],
21001
- 'application/xcap-ns+xml': ['xns'],
21002
- 'application/xenc+xml': ['xenc'],
21003
- 'application/xfdf': ['xfdf'],
21004
- 'application/xhtml+xml': ['xhtml', 'xht'],
21005
- 'application/xliff+xml': ['xlf'],
21006
- 'application/xml': ['xml', 'xsl', 'xsd', 'rng'],
21007
- 'application/xml-dtd': ['dtd'],
21008
- 'application/xop+xml': ['xop'],
21009
- 'application/xproc+xml': ['xpl'],
21010
- 'application/xslt+xml': ['*xsl', 'xslt'],
21011
- 'application/xspf+xml': ['xspf'],
21012
- 'application/xv+xml': ['mxml', 'xhvml', 'xvml', 'xvm'],
21013
- 'application/yang': ['yang'],
21014
- 'application/yin+xml': ['yin'],
21015
- 'application/zip': ['zip'],
21016
- 'audio/3gpp': ['*3gpp'],
21017
- 'audio/aac': ['adts', 'aac'],
21018
- 'audio/adpcm': ['adp'],
21019
- 'audio/amr': ['amr'],
21020
- 'audio/basic': ['au', 'snd'],
21021
- 'audio/midi': ['mid', 'midi', 'kar', 'rmi'],
21022
- 'audio/mobile-xmf': ['mxmf'],
21023
- 'audio/mp3': ['*mp3'],
21024
- 'audio/mp4': ['m4a', 'mp4a'],
21025
- 'audio/mpeg': ['mpga', 'mp2', 'mp2a', 'mp3', 'm2a', 'm3a'],
21026
- 'audio/ogg': ['oga', 'ogg', 'spx', 'opus'],
21027
- 'audio/s3m': ['s3m'],
21028
- 'audio/silk': ['sil'],
21029
- 'audio/wav': ['wav'],
21030
- 'audio/wave': ['*wav'],
21031
- 'audio/webm': ['weba'],
21032
- 'audio/xm': ['xm'],
21033
- 'font/collection': ['ttc'],
21034
- 'font/otf': ['otf'],
21035
- 'font/ttf': ['ttf'],
21036
- 'font/woff': ['woff'],
21037
- 'font/woff2': ['woff2'],
21038
- 'image/aces': ['exr'],
21039
- 'image/apng': ['apng'],
21040
- 'image/avci': ['avci'],
21041
- 'image/avcs': ['avcs'],
21042
- 'image/avif': ['avif'],
21043
- 'image/bmp': ['bmp', 'dib'],
21044
- 'image/cgm': ['cgm'],
21045
- 'image/dicom-rle': ['drle'],
21046
- 'image/dpx': ['dpx'],
21047
- 'image/emf': ['emf'],
21048
- 'image/fits': ['fits'],
21049
- 'image/g3fax': ['g3'],
21050
- 'image/gif': ['gif'],
21051
- 'image/heic': ['heic'],
21052
- 'image/heic-sequence': ['heics'],
21053
- 'image/heif': ['heif'],
21054
- 'image/heif-sequence': ['heifs'],
21055
- 'image/hej2k': ['hej2'],
21056
- 'image/hsj2': ['hsj2'],
21057
- 'image/ief': ['ief'],
21058
- 'image/jls': ['jls'],
21059
- 'image/jp2': ['jp2', 'jpg2'],
21060
- 'image/jpeg': ['jpeg', 'jpg', 'jpe'],
21061
- 'image/jph': ['jph'],
21062
- 'image/jphc': ['jhc'],
21063
- 'image/jpm': ['jpm', 'jpgm'],
21064
- 'image/jpx': ['jpx', 'jpf'],
21065
- 'image/jxl': ['jxl'],
21066
- 'image/jxr': ['jxr'],
21067
- 'image/jxra': ['jxra'],
21068
- 'image/jxrs': ['jxrs'],
21069
- 'image/jxs': ['jxs'],
21070
- 'image/jxsc': ['jxsc'],
21071
- 'image/jxsi': ['jxsi'],
21072
- 'image/jxss': ['jxss'],
21073
- 'image/ktx': ['ktx'],
21074
- 'image/ktx2': ['ktx2'],
21075
- 'image/png': ['png'],
21076
- 'image/sgi': ['sgi'],
21077
- 'image/svg+xml': ['svg', 'svgz'],
21078
- 'image/t38': ['t38'],
21079
- 'image/tiff': ['tif', 'tiff'],
21080
- 'image/tiff-fx': ['tfx'],
21081
- 'image/webp': ['webp'],
21082
- 'image/wmf': ['wmf'],
21083
- 'message/disposition-notification': ['disposition-notification'],
21084
- 'message/global': ['u8msg'],
21085
- 'message/global-delivery-status': ['u8dsn'],
21086
- 'message/global-disposition-notification': ['u8mdn'],
21087
- 'message/global-headers': ['u8hdr'],
21088
- 'message/rfc822': ['eml', 'mime'],
21089
- 'model/3mf': ['3mf'],
21090
- 'model/gltf+json': ['gltf'],
21091
- 'model/gltf-binary': ['glb'],
21092
- 'model/iges': ['igs', 'iges'],
21093
- 'model/jt': ['jt'],
21094
- 'model/mesh': ['msh', 'mesh', 'silo'],
21095
- 'model/mtl': ['mtl'],
21096
- 'model/obj': ['obj'],
21097
- 'model/prc': ['prc'],
21098
- 'model/step+xml': ['stpx'],
21099
- 'model/step+zip': ['stpz'],
21100
- 'model/step-xml+zip': ['stpxz'],
21101
- 'model/stl': ['stl'],
21102
- 'model/u3d': ['u3d'],
21103
- 'model/vrml': ['wrl', 'vrml'],
21104
- 'model/x3d+binary': ['*x3db', 'x3dbz'],
21105
- 'model/x3d+fastinfoset': ['x3db'],
21106
- 'model/x3d+vrml': ['*x3dv', 'x3dvz'],
21107
- 'model/x3d+xml': ['x3d', 'x3dz'],
21108
- 'model/x3d-vrml': ['x3dv'],
21109
- 'text/cache-manifest': ['appcache', 'manifest'],
21110
- 'text/calendar': ['ics', 'ifb'],
21111
- 'text/coffeescript': ['coffee', 'litcoffee'],
21112
- 'text/css': ['css'],
21113
- 'text/csv': ['csv'],
21114
- 'text/html': ['html', 'htm', 'shtml'],
21115
- 'text/jade': ['jade'],
21116
- 'text/javascript': ['js', 'mjs'],
21117
- 'text/jsx': ['jsx'],
21118
- 'text/less': ['less'],
21119
- 'text/markdown': ['md', 'markdown'],
21120
- 'text/mathml': ['mml'],
21121
- 'text/mdx': ['mdx'],
21122
- 'text/n3': ['n3'],
21123
- 'text/plain': ['txt', 'text', 'conf', 'def', 'list', 'log', 'in', 'ini'],
21124
- 'text/richtext': ['rtx'],
21125
- 'text/rtf': ['*rtf'],
21126
- 'text/sgml': ['sgml', 'sgm'],
21127
- 'text/shex': ['shex'],
21128
- 'text/slim': ['slim', 'slm'],
21129
- 'text/spdx': ['spdx'],
21130
- 'text/stylus': ['stylus', 'styl'],
21131
- 'text/tab-separated-values': ['tsv'],
21132
- 'text/troff': ['t', 'tr', 'roff', 'man', 'me', 'ms'],
21133
- 'text/turtle': ['ttl'],
21134
- 'text/uri-list': ['uri', 'uris', 'urls'],
21135
- 'text/vcard': ['vcard'],
21136
- 'text/vtt': ['vtt'],
21137
- 'text/wgsl': ['wgsl'],
21138
- 'text/xml': ['*xml'],
21139
- 'text/yaml': ['yaml', 'yml'],
21140
- 'video/3gpp': ['3gp', '3gpp'],
21141
- 'video/3gpp2': ['3g2'],
21142
- 'video/h261': ['h261'],
21143
- 'video/h263': ['h263'],
21144
- 'video/h264': ['h264'],
21145
- 'video/iso.segment': ['m4s'],
21146
- 'video/jpeg': ['jpgv'],
21147
- 'video/jpm': ['*jpm', '*jpgm'],
21148
- 'video/mj2': ['mj2', 'mjp2'],
21149
- 'video/mp2t': ['ts', 'm2t', 'm2ts', 'mts'],
21150
- 'video/mp4': ['mp4', 'mp4v', 'mpg4'],
21151
- 'video/mpeg': ['mpeg', 'mpg', 'mpe', 'm1v', 'm2v'],
21152
- 'video/ogg': ['ogv'],
21153
- 'video/quicktime': ['qt', 'mov'],
21154
- 'video/webm': ['webm'],
21155
- };
21156
- Object.freeze(types$1);
21157
-
21158
- var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
21159
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
21160
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
21161
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
21162
- };
21163
- var _Mime_extensionToType, _Mime_typeToExtension, _Mime_typeToExtensions;
21164
- class Mime {
21165
- constructor(...args) {
21166
- _Mime_extensionToType.set(this, new Map());
21167
- _Mime_typeToExtension.set(this, new Map());
21168
- _Mime_typeToExtensions.set(this, new Map());
21169
- for (const arg of args) {
21170
- this.define(arg);
21171
- }
21172
- }
21173
- define(typeMap, force = false) {
21174
- for (let [type, extensions] of Object.entries(typeMap)) {
21175
- type = type.toLowerCase();
21176
- extensions = extensions.map((ext) => ext.toLowerCase());
21177
- if (!__classPrivateFieldGet(this, _Mime_typeToExtensions, "f").has(type)) {
21178
- __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").set(type, new Set());
21179
- }
21180
- const allExtensions = __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").get(type);
21181
- let first = true;
21182
- for (let extension of extensions) {
21183
- const starred = extension.startsWith('*');
21184
- extension = starred ? extension.slice(1) : extension;
21185
- allExtensions?.add(extension);
21186
- if (first) {
21187
- __classPrivateFieldGet(this, _Mime_typeToExtension, "f").set(type, extension);
21188
- }
21189
- first = false;
21190
- if (starred)
21191
- continue;
21192
- const currentType = __classPrivateFieldGet(this, _Mime_extensionToType, "f").get(extension);
21193
- if (currentType && currentType != type && !force) {
21194
- throw new Error(`"${type} -> ${extension}" conflicts with "${currentType} -> ${extension}". Pass \`force=true\` to override this definition.`);
21195
- }
21196
- __classPrivateFieldGet(this, _Mime_extensionToType, "f").set(extension, type);
21197
- }
21198
- }
21199
- return this;
21200
- }
21201
- getType(path) {
21202
- if (typeof path !== 'string')
21203
- return null;
21204
- const last = path.replace(/^.*[/\\]/, '').toLowerCase();
21205
- const ext = last.replace(/^.*\./, '').toLowerCase();
21206
- const hasPath = last.length < path.length;
21207
- const hasDot = ext.length < last.length - 1;
21208
- if (!hasDot && hasPath)
21209
- return null;
21210
- return __classPrivateFieldGet(this, _Mime_extensionToType, "f").get(ext) ?? null;
21211
- }
21212
- getExtension(type) {
21213
- if (typeof type !== 'string')
21214
- return null;
21215
- type = type?.split?.(';')[0];
21216
- return ((type && __classPrivateFieldGet(this, _Mime_typeToExtension, "f").get(type.trim().toLowerCase())) ?? null);
21217
- }
21218
- getAllExtensions(type) {
21219
- if (typeof type !== 'string')
21220
- return null;
21221
- return __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").get(type.toLowerCase()) ?? null;
21222
- }
21223
- _freeze() {
21224
- this.define = () => {
21225
- throw new Error('define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances');
21226
- };
21227
- Object.freeze(this);
21228
- for (const extensions of __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").values()) {
21229
- Object.freeze(extensions);
21230
- }
21231
- return this;
21232
- }
21233
- _getTestState() {
21234
- return {
21235
- types: __classPrivateFieldGet(this, _Mime_extensionToType, "f"),
21236
- extensions: __classPrivateFieldGet(this, _Mime_typeToExtension, "f"),
21237
- };
21238
- }
21239
- }
21240
- _Mime_extensionToType = new WeakMap(), _Mime_typeToExtension = new WeakMap(), _Mime_typeToExtensions = new WeakMap();
21241
-
21242
- var mime = new Mime(types$1, types$2)._freeze();
21243
-
21244
20101
  class Strapi {
21245
20102
  constructor(url, token) {
21246
20103
  this.url = url;
@@ -21297,20 +20154,6 @@ class Strapi {
21297
20154
  ...params,
21298
20155
  });
21299
20156
  }
21300
- /**
21301
- * For Node.js
21302
- *
21303
- * @param files list of files names which will be uploaded, example: ['/app/data/cover.js']
21304
- */
21305
- async upload(files) {
21306
- const form = new FormData();
21307
- await Promise.all(files.map(async (item) => {
21308
- const fileBuffer = await promises.readFile(item.path);
21309
- const file = new File([fileBuffer], item.filename || node_path.basename(item.path), { type: mime.getType(item.path) || 'image/jpeg' });
21310
- form.append('files', file);
21311
- }));
21312
- return await this.uploadForm(form);
21313
- }
21314
20157
  async uploadForm(form) {
21315
20158
  return (await this.baseFetch('upload', {
21316
20159
  method: 'POST',
@@ -21319,9 +20162,11 @@ class Strapi {
21319
20162
  }
21320
20163
  async baseFetch(endpoint, params = {}) {
21321
20164
  const response = await fetch(`${this.url}/api/${endpoint}`, _.merge({
21322
- headers: {
21323
- Authorization: `Bearer ${this.token}`,
21324
- },
20165
+ ...(this.token ? {
20166
+ headers: {
20167
+ Authorization: `Bearer ${this.token}`,
20168
+ }
20169
+ } : {}),
21325
20170
  }, params));
21326
20171
  if (!response.ok) {
21327
20172
  console.log(`${this.url}/api/${endpoint}`);