fork of hey-api/openapi-ts because I need some additional things
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: add symlink

Lubos 3ec732b0 71ebb245

+299 -1
-1
docs/patches
··· 1 - ../patches
+298
docs/patches/vitepress.patch
··· 1 + diff --git a/dist/client/shared.js b/dist/client/shared.js 2 + index f65eb22fe2b0dfeb9bd823c00c737f5035f2c891..8a4f602c8e8d029428bc5bcc0104e84cb30f4ae6 100644 3 + --- a/dist/client/shared.js 4 + +++ b/dist/client/shared.js 5 + @@ -16,16 +16,32 @@ export const notFoundPageData = { 6 + lastUpdated: 0, 7 + isNotFound: true 8 + }; 9 + +const versionedPaths = ['clients', 'plugins']; 10 + export function isActive(currentPath, matchPath, asRegex = false) { 11 + if (matchPath === undefined) { 12 + return false; 13 + } 14 + currentPath = normalize(`/${currentPath}`); 15 + + console.log(currentPath, matchPath) 16 + + if (true) { 17 + + return true; 18 + + } 19 + if (asRegex) { 20 + return new RegExp(matchPath).test(currentPath); 21 + } 22 + - if (normalize(matchPath) !== currentPath) { 23 + - return false; 24 + + const normalizedMatchPath = normalize(matchPath); 25 + + if (normalizedMatchPath !== currentPath) { 26 + + const currentPathParts = currentPath.split('/'); 27 + + if (currentPathParts.length > 3 && 28 + + versionedPaths.some((entry) => entry === currentPathParts[2])) { 29 + + currentPath = currentPathParts.slice(0, 4).join('/'); 30 + + if (normalizedMatchPath !== currentPath) { 31 + + return false; 32 + + } 33 + + } 34 + + else { 35 + + return false; 36 + + } 37 + } 38 + const hashMatch = matchPath.match(HASH_RE); 39 + if (hashMatch) { 40 + diff --git a/dist/node/chunk-CwUP9ZhX.js b/dist/node/chunk-CwUP9ZhX.js 41 + index e8b4954d00f247fb852096bb1f8f077fcfc1f93f..4e55f584e2d71b52cf937585c49b1de52577a604 100644 42 + --- a/dist/node/chunk-CwUP9ZhX.js 43 + +++ b/dist/node/chunk-CwUP9ZhX.js 44 + @@ -2053,7 +2053,7 @@ function requireBrowser () { 45 + } catch (error) { 46 + return '[UnexpectedJSONParseError]: ' + error.message; 47 + } 48 + - }; 49 + + }; 50 + } (browser, browser.exports)); 51 + return browser.exports; 52 + } 53 + @@ -2328,7 +2328,7 @@ function requireNode () { 54 + formatters.O = function (v) { 55 + this.inspectOpts.colors = this.useColors; 56 + return util.inspect(v, this.inspectOpts); 57 + - }; 58 + + }; 59 + } (node, node.exports)); 60 + return node.exports; 61 + } 62 + @@ -3522,7 +3522,7 @@ function requireFs () { 63 + 'fs.realpath.native is not a function. Is fs being monkey-patched?', 64 + 'Warning', 'fs-extra-WARN0003' 65 + ); 66 + - } 67 + + } 68 + } (fs$1)); 69 + return fs$1; 70 + } 71 + @@ -6185,7 +6185,7 @@ class AST { 72 + const aps = addPatternStart; 73 + // check if we have a possibility of matching . or .., 74 + // and prevent that. 75 + - const needNoTrav = 76 + + const needNoTrav = 77 + // dots are allowed, and the pattern starts with [ or . 78 + (dot && aps.has(src.charAt(0))) || 79 + // the pattern starts with \., and then [ or . 80 + @@ -8616,11 +8616,11 @@ class LRUCache { 81 + b.__abortController instanceof AC); 82 + } 83 + async fetch(k, fetchOptions = {}) { 84 + - const { 85 + + const { 86 + // get options 87 + - allowStale = this.allowStale, updateAgeOnGet = this.updateAgeOnGet, noDeleteOnStaleGet = this.noDeleteOnStaleGet, 88 + + allowStale = this.allowStale, updateAgeOnGet = this.updateAgeOnGet, noDeleteOnStaleGet = this.noDeleteOnStaleGet, 89 + // set options 90 + - ttl = this.ttl, noDisposeOnSet = this.noDisposeOnSet, size = 0, sizeCalculation = this.sizeCalculation, noUpdateTTL = this.noUpdateTTL, 91 + + ttl = this.ttl, noDisposeOnSet = this.noDisposeOnSet, size = 0, sizeCalculation = this.sizeCalculation, noUpdateTTL = this.noUpdateTTL, 92 + // fetch exclusive options 93 + noDeleteOnFetchRejection = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection = this.allowStaleOnFetchRejection, ignoreFetchAbort = this.ignoreFetchAbort, allowStaleOnFetchAbort = this.allowStaleOnFetchAbort, context, forceRefresh = false, status, signal, } = fetchOptions; 94 + if (!this.#hasFetchMethod) { 95 + @@ -14468,7 +14468,7 @@ function requireUtils$4 () { 96 + } 97 + 98 + return last; 99 + - }; 100 + + }; 101 + } (utils$5)); 102 + return utils$5; 103 + } 104 + @@ -17226,7 +17226,7 @@ function requireDist$1 () { 105 + exports.fdir = void 0; 106 + const builder_1 = requireBuilder(); 107 + Object.defineProperty(exports, "fdir", { enumerable: true, get: function () { return builder_1.Builder; } }); 108 + - __exportStar(requireTypes$1(), exports); 109 + + __exportStar(requireTypes$1(), exports); 110 + } (dist$1)); 111 + return dist$1; 112 + } 113 + @@ -18267,16 +18267,30 @@ const notFoundPageData = { 114 + lastUpdated: 0, 115 + isNotFound: true 116 + }; 117 + +const versionedPaths = ["clients", "plugins"]; 118 + function isActive(currentPath, matchPath, asRegex = false) { 119 + if (matchPath === void 0) { 120 + return false; 121 + } 122 + currentPath = normalize$1(`/${currentPath}`); 123 + + console.log(currentPath, matchPath) 124 + + if (true) { 125 + + return true; 126 + + } 127 + if (asRegex) { 128 + return new RegExp(matchPath).test(currentPath); 129 + } 130 + - if (normalize$1(matchPath) !== currentPath) { 131 + - return false; 132 + + const normalizedMatchPath = normalize$1(matchPath); 133 + + if (normalizedMatchPath !== currentPath) { 134 + + const currentPathParts = currentPath.split("/"); 135 + + if (currentPathParts.length > 3 && versionedPaths.some((entry) => entry === currentPathParts[2])) { 136 + + currentPath = currentPathParts.slice(0, 4).join("/"); 137 + + if (normalizedMatchPath !== currentPath) { 138 + + return false; 139 + + } 140 + + } else { 141 + + return false; 142 + + } 143 + } 144 + const hashMatch = matchPath.match(HASH_RE); 145 + if (hashMatch) { 146 + @@ -23631,7 +23645,7 @@ function requireEngines () { 147 + stringify: function() { 148 + throw new Error('stringifying JavaScript is not supported'); 149 + } 150 + - }; 151 + + }; 152 + } (engines)); 153 + return engines.exports; 154 + } 155 + @@ -23731,7 +23745,7 @@ function requireUtils$2 () { 156 + exports.startsWith = function(str, substr, len) { 157 + if (typeof len !== 'number') len = substr.length; 158 + return str.slice(0, len) === substr; 159 + - }; 160 + + }; 161 + } (utils$3)); 162 + return utils$3; 163 + } 164 + @@ -25043,7 +25057,7 @@ const decodeMap = new Map([ 165 + /** 166 + * Polyfill for `String.fromCodePoint`. It is used to create a string from a Unicode code point. 167 + */ 168 + -const fromCodePoint$1 = 169 + +const fromCodePoint$1 = 170 + // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins 171 + (_a = String.fromCodePoint) !== null && _a !== void 0 ? _a : function (codePoint) { 172 + let output = ""; 173 + @@ -25135,7 +25149,7 @@ var DecodingMode; 174 + class EntityDecoder { 175 + constructor( 176 + /** The tree used to decode entities. */ 177 + - decodeTree, 178 + + decodeTree, 179 + /** 180 + * The function that is called when a codepoint is decoded. 181 + * 182 + @@ -25145,7 +25159,7 @@ class EntityDecoder { 183 + * @param codepoint The decoded codepoint. 184 + * @param consumed The number of bytes consumed by the decoder. 185 + */ 186 + - emitCodePoint, 187 + + emitCodePoint, 188 + /** An object that is used to produce errors. */ 189 + errors) { 190 + this.decodeTree = decodeTree; 191 + @@ -25458,7 +25472,7 @@ function getDecoder(decodeTree) { 192 + while ((offset = str.indexOf("&", offset)) >= 0) { 193 + ret += str.slice(lastIndex, offset); 194 + decoder.startEntity(decodeMode); 195 + - const len = decoder.write(str, 196 + + const len = decoder.write(str, 197 + // Skip the "&" 198 + offset + 1); 199 + if (len < 0) { 200 + @@ -38931,7 +38945,7 @@ class SignalExit extends SignalExitBase { 201 + const process$1 = globalThis.process; 202 + // wrap so that we call the method on the actual handler, without 203 + // exporting it directly. 204 + -const { 205 + +const { 206 + /** 207 + * Called when the process is exiting, whether via signal, explicit 208 + * exit, or running out of stuff to do. 209 + @@ -41070,7 +41084,7 @@ function requireEastasianwidth () { 210 + eawLen += charLen; 211 + } 212 + return result; 213 + - }; 214 + + }; 215 + } (eastasianwidth)); 216 + return eastasianwidth.exports; 217 + } 218 + @@ -42826,7 +42840,7 @@ function requireTypes () { 219 + IndexTagNames["sitemapindex"] = "sitemapindex"; 220 + IndexTagNames["loc"] = "loc"; 221 + IndexTagNames["lastmod"] = "lastmod"; 222 + - })(exports.IndexTagNames || (exports.IndexTagNames = {})); 223 + + })(exports.IndexTagNames || (exports.IndexTagNames = {})); 224 + } (types)); 225 + return types; 226 + } 227 + @@ -42840,7 +42854,7 @@ function requireSitemapXml () { 228 + hasRequiredSitemapXml = 1; 229 + Object.defineProperty(sitemapXml, "__esModule", { value: true }); 230 + sitemapXml.element = sitemapXml.ctag = sitemapXml.otag = sitemapXml.text = void 0; 231 + - const invalidXMLUnicodeRegex = 232 + + const invalidXMLUnicodeRegex = 233 + // eslint-disable-next-line no-control-regex 234 + /[\u0000-\u0008\u000B\u000C\u000E-\u001F\u007F-\u0084\u0086-\u009F\uD800-\uDFFF\uFDD0-\uFDDF\u{1FFFE}-\u{1FFFF}\u{2FFFE}-\u{2FFFF}\u{3FFFE}-\u{3FFFF}\u{4FFFE}-\u{4FFFF}\u{5FFFE}-\u{5FFFF}\u{6FFFE}-\u{6FFFF}\u{7FFFE}-\u{7FFFF}\u{8FFFE}-\u{8FFFF}\u{9FFFE}-\u{9FFFF}\u{AFFFE}-\u{AFFFF}\u{BFFFE}-\u{BFFFF}\u{CFFFE}-\u{CFFFF}\u{DFFFE}-\u{DFFFF}\u{EFFFE}-\u{EFFFF}\u{FFFFE}-\u{FFFFF}\u{10FFFE}-\u{10FFFF}]/gu; 235 + const amp = /&/g; 236 + @@ -43586,7 +43600,7 @@ function requireSitemapStream () { 237 + }); 238 + }); 239 + } 240 + - exports.streamToPromise = streamToPromise; 241 + + exports.streamToPromise = streamToPromise; 242 + } (sitemapStream)); 243 + return sitemapStream; 244 + } 245 + @@ -43809,7 +43823,7 @@ function requireSitemapIndexStream () { 246 + }); 247 + } 248 + } 249 + - exports.SitemapAndIndexStream = SitemapAndIndexStream; 250 + + exports.SitemapAndIndexStream = SitemapAndIndexStream; 251 + } (sitemapIndexStream)); 252 + return sitemapIndexStream; 253 + } 254 + @@ -45470,7 +45484,7 @@ function requireSax () { 255 + } 256 + }()); 257 + } 258 + - })(exports); 259 + + })(exports); 260 + } (sax)); 261 + return sax; 262 + } 263 + @@ -46277,7 +46291,7 @@ function requireSitemapSimple () { 264 + } 265 + }; 266 + exports.simpleSitemapAndIndex = simpleSitemapAndIndex; 267 + - exports.default = exports.simpleSitemapAndIndex; 268 + + exports.default = exports.simpleSitemapAndIndex; 269 + } (sitemapSimple)); 270 + return sitemapSimple; 271 + } 272 + @@ -46333,7 +46347,7 @@ function requireDist () { 273 + Object.defineProperty(exports, "XMLToSitemapIndexStream", { enumerable: true, get: function () { return sitemap_index_parser_1.XMLToSitemapIndexStream; } }); 274 + Object.defineProperty(exports, "IndexObjectStreamToJSON", { enumerable: true, get: function () { return sitemap_index_parser_1.IndexObjectStreamToJSON; } }); 275 + var sitemap_simple_1 = requireSitemapSimple(); 276 + - Object.defineProperty(exports, "simpleSitemapAndIndex", { enumerable: true, get: function () { return sitemap_simple_1.simpleSitemapAndIndex; } }); 277 + + Object.defineProperty(exports, "simpleSitemapAndIndex", { enumerable: true, get: function () { return sitemap_simple_1.simpleSitemapAndIndex; } }); 278 + } (dist)); 279 + return dist; 280 + } 281 + @@ -48930,7 +48944,7 @@ function requireLodash_template () { 282 + return false; 283 + } 284 + 285 + - module.exports = template; 286 + + module.exports = template; 287 + } (lodash_template, lodash_template.exports)); 288 + return lodash_template.exports; 289 + } 290 + @@ -49165,7 +49179,7 @@ function requirePostcssPrefixSelector () { 291 + 292 + return { 293 + postcssPlugin: 'postcss-prefix-selector', 294 + - prepare(result) { 295 + + prepare(result) { 296 + const root = result.root; 297 + const file = root.source.input.file; 298 +
+1
docs/vercel.json
··· 1 1 { 2 + "$schema": "https://openapi.vercel.sh/vercel.json", 2 3 "buildCommand": "pnpm run build", 3 4 "cleanUrls": true, 4 5 "devCommand": "pnpm run dev",