@vite-hub/source 0.0.3 → 0.0.4

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.
@@ -0,0 +1,503 @@
1
+ import { a as sourceError, n as normalizeSafeSourcePath, r as normalizeSourcePath, s as sourcePathError } from "./path-BzmU4Eni.js";
2
+ //#region ../../node_modules/.pnpm/mrmime@2.0.1/node_modules/mrmime/index.mjs
3
+ const mimes = {
4
+ "3g2": "video/3gpp2",
5
+ "3gp": "video/3gpp",
6
+ "3gpp": "video/3gpp",
7
+ "3mf": "model/3mf",
8
+ "aac": "audio/aac",
9
+ "ac": "application/pkix-attr-cert",
10
+ "adp": "audio/adpcm",
11
+ "adts": "audio/aac",
12
+ "ai": "application/postscript",
13
+ "aml": "application/automationml-aml+xml",
14
+ "amlx": "application/automationml-amlx+zip",
15
+ "amr": "audio/amr",
16
+ "apng": "image/apng",
17
+ "appcache": "text/cache-manifest",
18
+ "appinstaller": "application/appinstaller",
19
+ "appx": "application/appx",
20
+ "appxbundle": "application/appxbundle",
21
+ "asc": "application/pgp-keys",
22
+ "atom": "application/atom+xml",
23
+ "atomcat": "application/atomcat+xml",
24
+ "atomdeleted": "application/atomdeleted+xml",
25
+ "atomsvc": "application/atomsvc+xml",
26
+ "au": "audio/basic",
27
+ "avci": "image/avci",
28
+ "avcs": "image/avcs",
29
+ "avif": "image/avif",
30
+ "aw": "application/applixware",
31
+ "bdoc": "application/bdoc",
32
+ "bin": "application/octet-stream",
33
+ "bmp": "image/bmp",
34
+ "bpk": "application/octet-stream",
35
+ "btf": "image/prs.btif",
36
+ "btif": "image/prs.btif",
37
+ "buffer": "application/octet-stream",
38
+ "ccxml": "application/ccxml+xml",
39
+ "cdfx": "application/cdfx+xml",
40
+ "cdmia": "application/cdmi-capability",
41
+ "cdmic": "application/cdmi-container",
42
+ "cdmid": "application/cdmi-domain",
43
+ "cdmio": "application/cdmi-object",
44
+ "cdmiq": "application/cdmi-queue",
45
+ "cer": "application/pkix-cert",
46
+ "cgm": "image/cgm",
47
+ "cjs": "application/node",
48
+ "class": "application/java-vm",
49
+ "coffee": "text/coffeescript",
50
+ "conf": "text/plain",
51
+ "cpl": "application/cpl+xml",
52
+ "cpt": "application/mac-compactpro",
53
+ "crl": "application/pkix-crl",
54
+ "css": "text/css",
55
+ "csv": "text/csv",
56
+ "cu": "application/cu-seeme",
57
+ "cwl": "application/cwl",
58
+ "cww": "application/prs.cww",
59
+ "davmount": "application/davmount+xml",
60
+ "dbk": "application/docbook+xml",
61
+ "deb": "application/octet-stream",
62
+ "def": "text/plain",
63
+ "deploy": "application/octet-stream",
64
+ "dib": "image/bmp",
65
+ "disposition-notification": "message/disposition-notification",
66
+ "dist": "application/octet-stream",
67
+ "distz": "application/octet-stream",
68
+ "dll": "application/octet-stream",
69
+ "dmg": "application/octet-stream",
70
+ "dms": "application/octet-stream",
71
+ "doc": "application/msword",
72
+ "dot": "application/msword",
73
+ "dpx": "image/dpx",
74
+ "drle": "image/dicom-rle",
75
+ "dsc": "text/prs.lines.tag",
76
+ "dssc": "application/dssc+der",
77
+ "dtd": "application/xml-dtd",
78
+ "dump": "application/octet-stream",
79
+ "dwd": "application/atsc-dwd+xml",
80
+ "ear": "application/java-archive",
81
+ "ecma": "application/ecmascript",
82
+ "elc": "application/octet-stream",
83
+ "emf": "image/emf",
84
+ "eml": "message/rfc822",
85
+ "emma": "application/emma+xml",
86
+ "emotionml": "application/emotionml+xml",
87
+ "eps": "application/postscript",
88
+ "epub": "application/epub+zip",
89
+ "exe": "application/octet-stream",
90
+ "exi": "application/exi",
91
+ "exp": "application/express",
92
+ "exr": "image/aces",
93
+ "ez": "application/andrew-inset",
94
+ "fdf": "application/fdf",
95
+ "fdt": "application/fdt+xml",
96
+ "fits": "image/fits",
97
+ "g3": "image/g3fax",
98
+ "gbr": "application/rpki-ghostbusters",
99
+ "geojson": "application/geo+json",
100
+ "gif": "image/gif",
101
+ "glb": "model/gltf-binary",
102
+ "gltf": "model/gltf+json",
103
+ "gml": "application/gml+xml",
104
+ "gpx": "application/gpx+xml",
105
+ "gram": "application/srgs",
106
+ "grxml": "application/srgs+xml",
107
+ "gxf": "application/gxf",
108
+ "gz": "application/gzip",
109
+ "h261": "video/h261",
110
+ "h263": "video/h263",
111
+ "h264": "video/h264",
112
+ "heic": "image/heic",
113
+ "heics": "image/heic-sequence",
114
+ "heif": "image/heif",
115
+ "heifs": "image/heif-sequence",
116
+ "hej2": "image/hej2k",
117
+ "held": "application/atsc-held+xml",
118
+ "hjson": "application/hjson",
119
+ "hlp": "application/winhlp",
120
+ "hqx": "application/mac-binhex40",
121
+ "hsj2": "image/hsj2",
122
+ "htm": "text/html",
123
+ "html": "text/html",
124
+ "ics": "text/calendar",
125
+ "ief": "image/ief",
126
+ "ifb": "text/calendar",
127
+ "iges": "model/iges",
128
+ "igs": "model/iges",
129
+ "img": "application/octet-stream",
130
+ "in": "text/plain",
131
+ "ini": "text/plain",
132
+ "ink": "application/inkml+xml",
133
+ "inkml": "application/inkml+xml",
134
+ "ipfix": "application/ipfix",
135
+ "iso": "application/octet-stream",
136
+ "its": "application/its+xml",
137
+ "jade": "text/jade",
138
+ "jar": "application/java-archive",
139
+ "jhc": "image/jphc",
140
+ "jls": "image/jls",
141
+ "jp2": "image/jp2",
142
+ "jpe": "image/jpeg",
143
+ "jpeg": "image/jpeg",
144
+ "jpf": "image/jpx",
145
+ "jpg": "image/jpeg",
146
+ "jpg2": "image/jp2",
147
+ "jpgm": "image/jpm",
148
+ "jpgv": "video/jpeg",
149
+ "jph": "image/jph",
150
+ "jpm": "image/jpm",
151
+ "jpx": "image/jpx",
152
+ "js": "text/javascript",
153
+ "json": "application/json",
154
+ "json5": "application/json5",
155
+ "jsonld": "application/ld+json",
156
+ "jsonml": "application/jsonml+json",
157
+ "jsx": "text/jsx",
158
+ "jt": "model/jt",
159
+ "jxl": "image/jxl",
160
+ "jxr": "image/jxr",
161
+ "jxra": "image/jxra",
162
+ "jxrs": "image/jxrs",
163
+ "jxs": "image/jxs",
164
+ "jxsc": "image/jxsc",
165
+ "jxsi": "image/jxsi",
166
+ "jxss": "image/jxss",
167
+ "kar": "audio/midi",
168
+ "ktx": "image/ktx",
169
+ "ktx2": "image/ktx2",
170
+ "less": "text/less",
171
+ "lgr": "application/lgr+xml",
172
+ "list": "text/plain",
173
+ "litcoffee": "text/coffeescript",
174
+ "log": "text/plain",
175
+ "lostxml": "application/lost+xml",
176
+ "lrf": "application/octet-stream",
177
+ "m1v": "video/mpeg",
178
+ "m21": "application/mp21",
179
+ "m2a": "audio/mpeg",
180
+ "m2t": "video/mp2t",
181
+ "m2ts": "video/mp2t",
182
+ "m2v": "video/mpeg",
183
+ "m3a": "audio/mpeg",
184
+ "m4a": "audio/mp4",
185
+ "m4p": "application/mp4",
186
+ "m4s": "video/iso.segment",
187
+ "ma": "application/mathematica",
188
+ "mads": "application/mads+xml",
189
+ "maei": "application/mmt-aei+xml",
190
+ "man": "text/troff",
191
+ "manifest": "text/cache-manifest",
192
+ "map": "application/json",
193
+ "mar": "application/octet-stream",
194
+ "markdown": "text/markdown",
195
+ "mathml": "application/mathml+xml",
196
+ "mb": "application/mathematica",
197
+ "mbox": "application/mbox",
198
+ "md": "text/markdown",
199
+ "mdx": "text/mdx",
200
+ "me": "text/troff",
201
+ "mesh": "model/mesh",
202
+ "meta4": "application/metalink4+xml",
203
+ "metalink": "application/metalink+xml",
204
+ "mets": "application/mets+xml",
205
+ "mft": "application/rpki-manifest",
206
+ "mid": "audio/midi",
207
+ "midi": "audio/midi",
208
+ "mime": "message/rfc822",
209
+ "mj2": "video/mj2",
210
+ "mjp2": "video/mj2",
211
+ "mjs": "text/javascript",
212
+ "mml": "text/mathml",
213
+ "mods": "application/mods+xml",
214
+ "mov": "video/quicktime",
215
+ "mp2": "audio/mpeg",
216
+ "mp21": "application/mp21",
217
+ "mp2a": "audio/mpeg",
218
+ "mp3": "audio/mpeg",
219
+ "mp4": "video/mp4",
220
+ "mp4a": "audio/mp4",
221
+ "mp4s": "application/mp4",
222
+ "mp4v": "video/mp4",
223
+ "mpd": "application/dash+xml",
224
+ "mpe": "video/mpeg",
225
+ "mpeg": "video/mpeg",
226
+ "mpf": "application/media-policy-dataset+xml",
227
+ "mpg": "video/mpeg",
228
+ "mpg4": "video/mp4",
229
+ "mpga": "audio/mpeg",
230
+ "mpp": "application/dash-patch+xml",
231
+ "mrc": "application/marc",
232
+ "mrcx": "application/marcxml+xml",
233
+ "ms": "text/troff",
234
+ "mscml": "application/mediaservercontrol+xml",
235
+ "msh": "model/mesh",
236
+ "msi": "application/octet-stream",
237
+ "msix": "application/msix",
238
+ "msixbundle": "application/msixbundle",
239
+ "msm": "application/octet-stream",
240
+ "msp": "application/octet-stream",
241
+ "mtl": "model/mtl",
242
+ "mts": "video/mp2t",
243
+ "musd": "application/mmt-usd+xml",
244
+ "mxf": "application/mxf",
245
+ "mxmf": "audio/mobile-xmf",
246
+ "mxml": "application/xv+xml",
247
+ "n3": "text/n3",
248
+ "nb": "application/mathematica",
249
+ "nq": "application/n-quads",
250
+ "nt": "application/n-triples",
251
+ "obj": "model/obj",
252
+ "oda": "application/oda",
253
+ "oga": "audio/ogg",
254
+ "ogg": "audio/ogg",
255
+ "ogv": "video/ogg",
256
+ "ogx": "application/ogg",
257
+ "omdoc": "application/omdoc+xml",
258
+ "onepkg": "application/onenote",
259
+ "onetmp": "application/onenote",
260
+ "onetoc": "application/onenote",
261
+ "onetoc2": "application/onenote",
262
+ "opf": "application/oebps-package+xml",
263
+ "opus": "audio/ogg",
264
+ "otf": "font/otf",
265
+ "owl": "application/rdf+xml",
266
+ "oxps": "application/oxps",
267
+ "p10": "application/pkcs10",
268
+ "p7c": "application/pkcs7-mime",
269
+ "p7m": "application/pkcs7-mime",
270
+ "p7s": "application/pkcs7-signature",
271
+ "p8": "application/pkcs8",
272
+ "pdf": "application/pdf",
273
+ "pfr": "application/font-tdpfr",
274
+ "pgp": "application/pgp-encrypted",
275
+ "pkg": "application/octet-stream",
276
+ "pki": "application/pkixcmp",
277
+ "pkipath": "application/pkix-pkipath",
278
+ "pls": "application/pls+xml",
279
+ "png": "image/png",
280
+ "prc": "model/prc",
281
+ "prf": "application/pics-rules",
282
+ "provx": "application/provenance+xml",
283
+ "ps": "application/postscript",
284
+ "pskcxml": "application/pskc+xml",
285
+ "pti": "image/prs.pti",
286
+ "qt": "video/quicktime",
287
+ "raml": "application/raml+yaml",
288
+ "rapd": "application/route-apd+xml",
289
+ "rdf": "application/rdf+xml",
290
+ "relo": "application/p2p-overlay+xml",
291
+ "rif": "application/reginfo+xml",
292
+ "rl": "application/resource-lists+xml",
293
+ "rld": "application/resource-lists-diff+xml",
294
+ "rmi": "audio/midi",
295
+ "rnc": "application/relax-ng-compact-syntax",
296
+ "rng": "application/xml",
297
+ "roa": "application/rpki-roa",
298
+ "roff": "text/troff",
299
+ "rq": "application/sparql-query",
300
+ "rs": "application/rls-services+xml",
301
+ "rsat": "application/atsc-rsat+xml",
302
+ "rsd": "application/rsd+xml",
303
+ "rsheet": "application/urc-ressheet+xml",
304
+ "rss": "application/rss+xml",
305
+ "rtf": "text/rtf",
306
+ "rtx": "text/richtext",
307
+ "rusd": "application/route-usd+xml",
308
+ "s3m": "audio/s3m",
309
+ "sbml": "application/sbml+xml",
310
+ "scq": "application/scvp-cv-request",
311
+ "scs": "application/scvp-cv-response",
312
+ "sdp": "application/sdp",
313
+ "senmlx": "application/senml+xml",
314
+ "sensmlx": "application/sensml+xml",
315
+ "ser": "application/java-serialized-object",
316
+ "setpay": "application/set-payment-initiation",
317
+ "setreg": "application/set-registration-initiation",
318
+ "sgi": "image/sgi",
319
+ "sgm": "text/sgml",
320
+ "sgml": "text/sgml",
321
+ "shex": "text/shex",
322
+ "shf": "application/shf+xml",
323
+ "shtml": "text/html",
324
+ "sieve": "application/sieve",
325
+ "sig": "application/pgp-signature",
326
+ "sil": "audio/silk",
327
+ "silo": "model/mesh",
328
+ "siv": "application/sieve",
329
+ "slim": "text/slim",
330
+ "slm": "text/slim",
331
+ "sls": "application/route-s-tsid+xml",
332
+ "smi": "application/smil+xml",
333
+ "smil": "application/smil+xml",
334
+ "snd": "audio/basic",
335
+ "so": "application/octet-stream",
336
+ "spdx": "text/spdx",
337
+ "spp": "application/scvp-vp-response",
338
+ "spq": "application/scvp-vp-request",
339
+ "spx": "audio/ogg",
340
+ "sql": "application/sql",
341
+ "sru": "application/sru+xml",
342
+ "srx": "application/sparql-results+xml",
343
+ "ssdl": "application/ssdl+xml",
344
+ "ssml": "application/ssml+xml",
345
+ "stk": "application/hyperstudio",
346
+ "stl": "model/stl",
347
+ "stpx": "model/step+xml",
348
+ "stpxz": "model/step-xml+zip",
349
+ "stpz": "model/step+zip",
350
+ "styl": "text/stylus",
351
+ "stylus": "text/stylus",
352
+ "svg": "image/svg+xml",
353
+ "svgz": "image/svg+xml",
354
+ "swidtag": "application/swid+xml",
355
+ "t": "text/troff",
356
+ "t38": "image/t38",
357
+ "td": "application/urc-targetdesc+xml",
358
+ "tei": "application/tei+xml",
359
+ "teicorpus": "application/tei+xml",
360
+ "text": "text/plain",
361
+ "tfi": "application/thraud+xml",
362
+ "tfx": "image/tiff-fx",
363
+ "tif": "image/tiff",
364
+ "tiff": "image/tiff",
365
+ "toml": "application/toml",
366
+ "tr": "text/troff",
367
+ "trig": "application/trig",
368
+ "ts": "video/mp2t",
369
+ "tsd": "application/timestamped-data",
370
+ "tsv": "text/tab-separated-values",
371
+ "ttc": "font/collection",
372
+ "ttf": "font/ttf",
373
+ "ttl": "text/turtle",
374
+ "ttml": "application/ttml+xml",
375
+ "txt": "text/plain",
376
+ "u3d": "model/u3d",
377
+ "u8dsn": "message/global-delivery-status",
378
+ "u8hdr": "message/global-headers",
379
+ "u8mdn": "message/global-disposition-notification",
380
+ "u8msg": "message/global",
381
+ "ubj": "application/ubjson",
382
+ "uri": "text/uri-list",
383
+ "uris": "text/uri-list",
384
+ "urls": "text/uri-list",
385
+ "vcard": "text/vcard",
386
+ "vrml": "model/vrml",
387
+ "vtt": "text/vtt",
388
+ "vxml": "application/voicexml+xml",
389
+ "war": "application/java-archive",
390
+ "wasm": "application/wasm",
391
+ "wav": "audio/wav",
392
+ "weba": "audio/webm",
393
+ "webm": "video/webm",
394
+ "webmanifest": "application/manifest+json",
395
+ "webp": "image/webp",
396
+ "wgsl": "text/wgsl",
397
+ "wgt": "application/widget",
398
+ "wif": "application/watcherinfo+xml",
399
+ "wmf": "image/wmf",
400
+ "woff": "font/woff",
401
+ "woff2": "font/woff2",
402
+ "wrl": "model/vrml",
403
+ "wsdl": "application/wsdl+xml",
404
+ "wspolicy": "application/wspolicy+xml",
405
+ "x3d": "model/x3d+xml",
406
+ "x3db": "model/x3d+fastinfoset",
407
+ "x3dbz": "model/x3d+binary",
408
+ "x3dv": "model/x3d-vrml",
409
+ "x3dvz": "model/x3d+vrml",
410
+ "x3dz": "model/x3d+xml",
411
+ "xaml": "application/xaml+xml",
412
+ "xav": "application/xcap-att+xml",
413
+ "xca": "application/xcap-caps+xml",
414
+ "xcs": "application/calendar+xml",
415
+ "xdf": "application/xcap-diff+xml",
416
+ "xdssc": "application/dssc+xml",
417
+ "xel": "application/xcap-el+xml",
418
+ "xenc": "application/xenc+xml",
419
+ "xer": "application/patch-ops-error+xml",
420
+ "xfdf": "application/xfdf",
421
+ "xht": "application/xhtml+xml",
422
+ "xhtml": "application/xhtml+xml",
423
+ "xhvml": "application/xv+xml",
424
+ "xlf": "application/xliff+xml",
425
+ "xm": "audio/xm",
426
+ "xml": "text/xml",
427
+ "xns": "application/xcap-ns+xml",
428
+ "xop": "application/xop+xml",
429
+ "xpl": "application/xproc+xml",
430
+ "xsd": "application/xml",
431
+ "xsf": "application/prs.xsf+xml",
432
+ "xsl": "application/xml",
433
+ "xslt": "application/xml",
434
+ "xspf": "application/xspf+xml",
435
+ "xvm": "application/xv+xml",
436
+ "xvml": "application/xv+xml",
437
+ "yaml": "text/yaml",
438
+ "yang": "application/yang",
439
+ "yin": "application/yin+xml",
440
+ "yml": "text/yaml",
441
+ "zip": "application/zip"
442
+ };
443
+ function lookup(extn) {
444
+ let tmp = ("" + extn).trim().toLowerCase();
445
+ let idx = tmp.lastIndexOf(".");
446
+ return mimes[!~idx ? tmp : tmp.substring(++idx)];
447
+ }
448
+ //#endregion
449
+ //#region src/sources/file.ts
450
+ function normalizeFileSourceOptions(input) {
451
+ return typeof input === "string" ? { path: input } : input;
452
+ }
453
+ function sourceKey(options) {
454
+ if (options.workspacePath) return normalizeSourcePath(options.workspacePath);
455
+ if ("path" in options && options.path) return normalizeSourcePath(normalizeSafeSourcePath(options.path));
456
+ throw new TypeError("[vitehub] file requires a path or workspacePath.");
457
+ }
458
+ function resolveSourceRoot(ctx) {
459
+ return ctx.sourceRootDir || ctx.rootDir;
460
+ }
461
+ async function readSourceFile(options, ctx) {
462
+ if (!("path" in options) || !options.path) throw new TypeError("[vitehub] file requires path when content is not provided.");
463
+ const { readFile } = await import("node:fs/promises");
464
+ return new Uint8Array(await readFile(await resolveSafeSourceFilePath(options.path, ctx)));
465
+ }
466
+ async function resolveSafeSourceFilePath(path, ctx) {
467
+ const { realpath } = await import("node:fs/promises");
468
+ const { relative, resolve, sep } = await import("node:path");
469
+ const root = await realpath(resolve(resolveSourceRoot(ctx)));
470
+ const target = await realpath(resolve(root, normalizeSafeSourcePath(path)));
471
+ const rel = relative(root, target);
472
+ if (rel === ".." || rel.startsWith(`..${sep}`)) throw sourcePathError(path);
473
+ return target;
474
+ }
475
+ function file(input) {
476
+ const options = normalizeFileSourceOptions(input);
477
+ const key = sourceKey(options);
478
+ const mediaType = options.mediaType || lookup(key);
479
+ return {
480
+ name: "file",
481
+ async getKeys() {
482
+ return [key];
483
+ },
484
+ async getMeta(requestedKey, ctx) {
485
+ if (requestedKey !== key) return;
486
+ if (!("path" in options) || !options.path) return;
487
+ const { stat } = await import("node:fs/promises");
488
+ const info = await stat(await resolveSafeSourceFilePath(options.path, ctx));
489
+ return { digest: `${info.size}:${info.mtimeMs}` };
490
+ },
491
+ async getItem(requestedKey, ctx) {
492
+ if (requestedKey !== key) throw sourceError(`[vitehub] file could not find ${JSON.stringify(requestedKey)}.`);
493
+ return {
494
+ key,
495
+ path: key,
496
+ content: typeof options.content === "undefined" ? await readSourceFile(options, ctx) : options.content,
497
+ mediaType
498
+ };
499
+ }
500
+ };
501
+ }
502
+ //#endregion
503
+ export { file as t };
@@ -0,0 +1,20 @@
1
+ import { a as SourceContent, r as Source } from "./types-Bu3WvNX9.js";
2
+
3
+ //#region src/sources/file.d.ts
4
+ interface FileSourcePathOptions<TKey extends string = string> {
5
+ path: string;
6
+ workspacePath?: TKey;
7
+ content?: never;
8
+ mediaType?: string;
9
+ }
10
+ interface FileSourceInlineOptions<TKey extends string = string> {
11
+ workspacePath: TKey;
12
+ content: SourceContent;
13
+ mediaType?: string;
14
+ path?: never;
15
+ }
16
+ type FileSourceOptions<TKey extends string = string> = FileSourcePathOptions<TKey> | FileSourceInlineOptions<TKey>;
17
+ type FileSourceInput<TKey extends string = string> = FileSourceOptions<TKey> | TKey;
18
+ declare function file<const TKey extends string = string>(input: FileSourceInput<TKey>): Source<TKey>;
19
+ //#endregion
20
+ export { file as i, FileSourceOptions as n, FileSourcePathOptions as r, FileSourceInlineOptions as t };
package/dist/file.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ import { i as file, n as FileSourceOptions, r as FileSourcePathOptions, t as FileSourceInlineOptions } from "./file-EQ3AjVM6.js";
2
+ export { type FileSourceInlineOptions, type FileSourceOptions, type FileSourcePathOptions, file };
package/dist/file.js ADDED
@@ -0,0 +1,2 @@
1
+ import { t as file } from "./file-BSWQg9Qv.js";
2
+ export { file };
@@ -0,0 +1,17 @@
1
+ import { i as SourceCacheOptions, r as Source } from "./types-Bu3WvNX9.js";
2
+
3
+ //#region src/sources/github/types.d.ts
4
+ interface GitHubSourceOptions {
5
+ repo: string;
6
+ ref?: string;
7
+ root?: string;
8
+ auth?: false | string | (() => string | undefined);
9
+ include?: string | string[];
10
+ ignore?: string | readonly string[];
11
+ cache?: false | SourceCacheOptions;
12
+ }
13
+ //#endregion
14
+ //#region src/sources/github/index.d.ts
15
+ declare function github(options: GitHubSourceOptions): Source<string>;
16
+ //#endregion
17
+ export { type GitHubSourceOptions, github };