@ifunny/ifunny-api-types 1.0.4 → 1.2.2
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/.devenv/bootstrap/bootstrapLib.nix +650 -0
- package/.devenv/bootstrap/default.nix +22 -0
- package/.devenv/bootstrap/lock-sources.nix +123 -0
- package/.devenv/bootstrap/resolve-input-paths.nix +34 -0
- package/.devenv/bootstrap/resolve-lock.nix +116 -0
- package/.devenv/changelog-cache.json +13 -0
- package/.devenv/devenv.fish +252 -0
- package/.devenv/imports.txt +0 -0
- package/.devenv/input-paths.txt +8 -0
- package/.devenv/load-exports +1 -0
- package/.devenv/nix-eval-cache.db +0 -0
- package/.devenv/nix-eval-cache.db.init.lock +0 -0
- package/.devenv/nixpkgs-config-99f33fda17d41bc9.nix +17 -0
- package/.devenv/nixpkgs-config-c46eff8321b73149.nix +29 -0
- package/.devenv/profiles/nix/bootstrap/bootstrapLib.nix +571 -0
- package/.devenv/profiles/nix/bootstrap/default.nix +19 -0
- package/.devenv/profiles/nix/bootstrap/resolve-lock.nix +157 -0
- package/.devenv/profiles/nix/imports.txt +0 -0
- package/.devenv/profiles/nix/input-paths.txt +4 -0
- package/.devenv/profiles/nix/load-exports +1 -0
- package/.devenv/profiles/nix/nix-eval-cache.db +0 -0
- package/.devenv/profiles/nix/nix-eval-cache.db-shm +0 -0
- package/.devenv/profiles/nix/nix-eval-cache.db-wal +0 -0
- package/.devenv/profiles/nix/nixpkgs-config-99f33fda17d41bc9.nix +17 -0
- package/.devenv/profiles/nix/shell-0d722b4fe4724c8e.sh +2270 -0
- package/.devenv/profiles/nix/shell-314b72302fb2c916.sh +2270 -0
- package/.devenv/profiles/nix/shell-6a4b00b5ca837a3b.sh +2270 -0
- package/.devenv/profiles/nix/shell-956adc1e664f64c3.sh +2270 -0
- package/.devenv/profiles/nix/shell-9dbff87fad44e8d9.sh +2270 -0
- package/.devenv/profiles/nix/shell-b1e9e1f82076662f.sh +2270 -0
- package/.devenv/profiles/nix/shell-b4f4bbfa36797bee.sh +2270 -0
- package/.devenv/profiles/nix/shell-c4b190d331c48d67.sh +2270 -0
- package/.devenv/profiles/nix/state/files.json +1 -0
- package/.devenv/profiles/nix/state/tasks.db +0 -0
- package/.devenv/profiles/nix/state/tasks.db-shm +0 -0
- package/.devenv/profiles/nix/state/tasks.db-wal +0 -0
- package/.devenv/profiles/nix/task-names.txt +5 -0
- package/.devenv/shell-086ca2c39799e6a6.sh +2270 -0
- package/.devenv/shell-2c06a35dd99be3d1.sh +2270 -0
- package/.devenv/shell-36f1fe0faec08873.sh +2270 -0
- package/.devenv/shell-676361065bda5b43.sh +2270 -0
- package/.devenv/shell-9f6cb513d1721fef.sh +2270 -0
- package/.devenv/shell-c0e4459b4f5922d7.sh +2270 -0
- package/.devenv/shell-c862a0db6e9ad5f4.sh +2270 -0
- package/.devenv/shell-d71ade933a43e837.sh +2270 -0
- package/.devenv/shell-dd73aac05b182946.sh +2270 -0
- package/.devenv/shell-e39d0b30a7e0eb13.sh +2270 -0
- package/.devenv/shell-env.sh +2275 -0
- package/.devenv/shell-f924d749ff8c17ee.sh +2270 -0
- package/.devenv/shell-rcfile.sh +152 -0
- package/.devenv/state/files.json +5 -0
- package/.devenv/state/git-hooks-install/hooks +1 -0
- package/.devenv/state/git-hooks-install/key +4 -0
- package/.devenv/state/prek/.lock +0 -0
- package/.devenv/state/prek/README +2 -0
- package/.devenv/state/prek/config-tracking.json +3 -0
- package/.devenv/state/prek/patches/1793595918715-562072.patch +26 -0
- package/.devenv/state/prek/patches/1793596283854-574354.patch +22881 -0
- package/.devenv/state/prek/patches/1793596332255-574728.patch +22870 -0
- package/.devenv/state/prek/patches/1793597557669-617911.patch +284 -0
- package/.devenv/state/prek/patches/1793856046749-331249.patch +2906 -0
- package/.devenv/state/prek/patches/1793856096552-331868.patch +2998 -0
- package/.devenv/state/prek/patches/1793856146786-332328.patch +3009 -0
- package/.devenv/state/prek/patches/1793856181490-332981.patch +11401 -0
- package/.devenv/state/prek/patches/1793856203087-333510.patch +11388 -0
- package/.devenv/state/prek/patches/1793856277935-334258.patch +11372 -0
- package/.devenv/state/prek/patches/1793856646955-337912.patch +8488 -0
- package/.devenv/state/prek/patches/1793856682905-338572.patch +8260 -0
- package/.devenv/state/prek/patches/1793857035751-356215.patch +8295 -0
- package/.devenv/state/tasks.db +0 -0
- package/.devenv/state/tasks.db.init.lock +0 -0
- package/.devenv/task-names.txt +7 -0
- package/.github/workflows/codeql.yml +72 -72
- package/.github/workflows/test.yml +31 -31
- package/.prettierignore +9 -0
- package/CHANGELOG.md +609 -427
- package/LICENSE +121 -121
- package/README.md +2 -2
- package/devenv.lock +103 -0
- package/devenv.nix +35 -0
- package/devenv.yaml +23 -0
- package/dist/errors/bad_request.js +7 -7
- package/dist/errors/bad_request.js.map +1 -1
- package/dist/errors/captcha_required.js +18 -18
- package/dist/errors/captcha_required.js.map +1 -1
- package/dist/errors/email_exists.js +7 -7
- package/dist/errors/email_exists.js.map +1 -1
- package/dist/errors/error.js +2 -2
- package/dist/errors/error_base.js +42 -42
- package/dist/errors/error_base.js.map +1 -1
- package/dist/errors/index.js +28 -28
- package/dist/errors/invalid_client.js +7 -7
- package/dist/errors/invalid_client.js.map +1 -1
- package/dist/errors/invalid_email.js +7 -7
- package/dist/errors/invalid_email.js.map +1 -1
- package/dist/errors/invalid_grant.js +7 -7
- package/dist/errors/invalid_grant.js.map +1 -1
- package/dist/errors/not_found.js +2 -2
- package/dist/errors/permission_denied.js +7 -7
- package/dist/errors/permission_denied.js.map +1 -1
- package/dist/errors/unauthorized.js +7 -7
- package/dist/errors/unauthorized.js.map +1 -1
- package/dist/errors/wrong_params.js +7 -7
- package/dist/errors/wrong_params.js.map +1 -1
- package/dist/index.js +20 -20
- package/dist/payloads/activity.js +49 -49
- package/dist/payloads/activity.js.map +1 -1
- package/dist/payloads/app.js +2 -2
- package/dist/payloads/appeal.js +13 -13
- package/dist/payloads/appeal.js.map +1 -1
- package/dist/payloads/ban.js +35 -35
- package/dist/payloads/ban.js.map +1 -1
- package/dist/payloads/base.js +2 -2
- package/dist/payloads/chat.js +37 -0
- package/dist/payloads/chat.js.map +1 -0
- package/dist/payloads/client.js +12 -12
- package/dist/payloads/client.js.map +1 -1
- package/dist/payloads/comment.js +41 -41
- package/dist/payloads/comment.js.map +1 -1
- package/dist/payloads/content.js +175 -175
- package/dist/payloads/content.js.map +1 -1
- package/dist/payloads/index.js +28 -26
- package/dist/payloads/index.js.map +1 -1
- package/dist/payloads/strike.js +2 -2
- package/dist/payloads/topics.js +72 -0
- package/dist/payloads/topics.js.map +1 -0
- package/dist/payloads/user.js +214 -214
- package/dist/payloads/user.js.map +1 -1
- package/dist/rest/account.js +2 -2
- package/dist/rest/content.js +53 -53
- package/dist/rest/content.js.map +1 -1
- package/dist/rest/counters.js +2 -2
- package/dist/rest/endpoints.js +198 -198
- package/dist/rest/endpoints.js.map +1 -1
- package/dist/rest/explore.js +81 -81
- package/dist/rest/explore.js.map +1 -1
- package/dist/rest/feeds.js +2 -2
- package/dist/rest/index.js +24 -24
- package/dist/rest/issues.js +2 -2
- package/dist/rest/oauth2.js +8 -8
- package/dist/rest/oauth2.js.map +1 -1
- package/dist/utils/index.js +18 -18
- package/dist/utils/rest.js +2 -2
- package/dist/utils/util.js +2 -2
- package/eslint.config.mjs +18 -0
- package/package.json +66 -50
- package/prettier.config.js +15 -0
- package/tag-check.sh +111 -0
- package/types/errors/bad_request.d.ts +11 -11
- package/types/errors/bad_request.d.ts.map +1 -1
- package/types/errors/captcha_required.d.ts +32 -32
- package/types/errors/captcha_required.d.ts.map +1 -1
- package/types/errors/email_exists.d.ts +14 -14
- package/types/errors/email_exists.d.ts.map +1 -1
- package/types/errors/error.d.ts +28 -28
- package/types/errors/error.d.ts.map +1 -1
- package/types/errors/error_base.d.ts +60 -60
- package/types/errors/error_base.d.ts.map +1 -1
- package/types/errors/index.d.ts +12 -12
- package/types/errors/invalid_client.d.ts +14 -14
- package/types/errors/invalid_client.d.ts.map +1 -1
- package/types/errors/invalid_email.d.ts +14 -14
- package/types/errors/invalid_email.d.ts.map +1 -1
- package/types/errors/invalid_grant.d.ts +11 -11
- package/types/errors/invalid_grant.d.ts.map +1 -1
- package/types/errors/not_found.d.ts +7 -7
- package/types/errors/permission_denied.d.ts +11 -11
- package/types/errors/permission_denied.d.ts.map +1 -1
- package/types/errors/unauthorized.d.ts +11 -11
- package/types/errors/unauthorized.d.ts.map +1 -1
- package/types/errors/wrong_params.d.ts +10 -10
- package/types/errors/wrong_params.d.ts.map +1 -1
- package/types/index.d.ts +4 -4
- package/types/payloads/activity.d.ts +113 -113
- package/types/payloads/activity.d.ts.map +1 -1
- package/types/payloads/app.d.ts +265 -265
- package/types/payloads/appeal.d.ts +21 -21
- package/types/payloads/appeal.d.ts.map +1 -1
- package/types/payloads/ban.d.ts +84 -84
- package/types/payloads/ban.d.ts.map +1 -1
- package/types/payloads/base.d.ts +4 -4
- package/types/payloads/chat.d.ts +117 -0
- package/types/payloads/chat.d.ts.map +1 -0
- package/types/payloads/client.d.ts +107 -107
- package/types/payloads/client.d.ts.map +1 -1
- package/types/payloads/comment.d.ts +123 -123
- package/types/payloads/comment.d.ts.map +1 -1
- package/types/payloads/content.d.ts +676 -677
- package/types/payloads/content.d.ts.map +1 -1
- package/types/payloads/index.d.ts +12 -10
- package/types/payloads/index.d.ts.map +1 -1
- package/types/payloads/strike.d.ts +14 -14
- package/types/payloads/topics.d.ts +45 -0
- package/types/payloads/topics.d.ts.map +1 -0
- package/types/payloads/user.d.ts +522 -522
- package/types/payloads/user.d.ts.map +1 -1
- package/types/rest/account.d.ts +3 -3
- package/types/rest/account.d.ts.map +1 -1
- package/types/rest/content.d.ts +95 -95
- package/types/rest/content.d.ts.map +1 -1
- package/types/rest/counters.d.ts +9 -9
- package/types/rest/counters.d.ts.map +1 -1
- package/types/rest/endpoints.d.ts +152 -152
- package/types/rest/explore.d.ts +112 -112
- package/types/rest/explore.d.ts.map +1 -1
- package/types/rest/feeds.d.ts +16 -16
- package/types/rest/index.d.ts +8 -8
- package/types/rest/issues.d.ts +15 -15
- package/types/rest/oauth2.d.ts +36 -36
- package/types/rest/oauth2.d.ts.map +1 -1
- package/types/utils/index.d.ts +2 -2
- package/types/utils/rest.d.ts +49 -49
- package/types/utils/rest.d.ts.map +1 -1
- package/types/utils/util.d.ts +79 -79
- package/types/utils/util.d.ts.map +1 -1
package/dist/rest/issues.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=issues.js.map
|
package/dist/rest/oauth2.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TOKEN_TYPES = void 0;
|
|
4
|
-
var TOKEN_TYPES;
|
|
5
|
-
(function (TOKEN_TYPES) {
|
|
6
|
-
TOKEN_TYPES["BEARER"] = "bearer";
|
|
7
|
-
TOKEN_TYPES["BASIC"] = "basic";
|
|
8
|
-
})(TOKEN_TYPES
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TOKEN_TYPES = void 0;
|
|
4
|
+
var TOKEN_TYPES;
|
|
5
|
+
(function (TOKEN_TYPES) {
|
|
6
|
+
TOKEN_TYPES["BEARER"] = "bearer";
|
|
7
|
+
TOKEN_TYPES["BASIC"] = "basic";
|
|
8
|
+
})(TOKEN_TYPES || (exports.TOKEN_TYPES = TOKEN_TYPES = {}));
|
|
9
9
|
//# sourceMappingURL=oauth2.js.map
|
package/dist/rest/oauth2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth2.js","sourceRoot":"","sources":["../../src/rest/oauth2.ts"],"names":[],"mappings":";;;AAqBA,IAAY,WAGX;AAHD,WAAY,WAAW;IACtB,gCAAiB,CAAA;IACjB,8BAAe,CAAA;AAChB,CAAC,EAHW,WAAW,
|
|
1
|
+
{"version":3,"file":"oauth2.js","sourceRoot":"","sources":["../../src/rest/oauth2.ts"],"names":[],"mappings":";;;AAqBA,IAAY,WAGX;AAHD,WAAY,WAAW;IACtB,gCAAiB,CAAA;IACjB,8BAAe,CAAA;AAChB,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB"}
|
package/dist/utils/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./rest"), exports);
|
|
18
|
-
__exportStar(require("./util"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./rest"), exports);
|
|
18
|
+
__exportStar(require("./util"), exports);
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
package/dist/utils/rest.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=rest.js.map
|
package/dist/utils/util.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=util.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineConfig } from "eslint/config";
|
|
2
|
+
import globals from "globals";
|
|
3
|
+
import js from "@eslint/js";
|
|
4
|
+
import tseslint from "typescript-eslint";
|
|
5
|
+
|
|
6
|
+
export default defineConfig([
|
|
7
|
+
{ files: ["**/*.{js,mjs,cjs,ts}"] },
|
|
8
|
+
{
|
|
9
|
+
files: ["**/*.{js,mjs,cjs,ts}"],
|
|
10
|
+
languageOptions: { globals: globals.browser },
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
files: ["**/*.{js,mjs,cjs,ts}"],
|
|
14
|
+
plugins: { js },
|
|
15
|
+
extends: ["js/recommended"],
|
|
16
|
+
},
|
|
17
|
+
tseslint.configs.recommended,
|
|
18
|
+
]);
|
package/package.json
CHANGED
|
@@ -1,50 +1,66 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ifunny/ifunny-api-types",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "iFunny API typings for use in bot library creaion.",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "types",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"test": "tsc --noEmit",
|
|
9
|
-
"clean": "rm -r -f ./dist && rm -r -f ./types",
|
|
10
|
-
"build": "tsc",
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
},
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"types"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@ifunny/ifunny-api-types",
|
|
3
|
+
"version": "1.2.2",
|
|
4
|
+
"description": "iFunny API typings for use in bot library creaion.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "types",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"test": "tsc --noEmit",
|
|
9
|
+
"clean": "rm -r -f ./dist && rm -r -f ./types",
|
|
10
|
+
"build": "tsc",
|
|
11
|
+
"lint": "npx eslint src",
|
|
12
|
+
"lint:fix": "npm run lint -- --fix",
|
|
13
|
+
"fmt": "npx prettier src --check",
|
|
14
|
+
"fmt:fix": "npm run fmt -- --write",
|
|
15
|
+
"rebuild": "npm run clean && npm run build",
|
|
16
|
+
"update": "npx npm-check-updates -u && npm install",
|
|
17
|
+
"link": "npm run rebuild && npm link",
|
|
18
|
+
"version": "npm run changelog",
|
|
19
|
+
"push": "npm run rebuild && git push && npm publish",
|
|
20
|
+
"changelog": "npx auto-changelog && git add CHANGELOG.md"
|
|
21
|
+
},
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/ifunny-co/ifunny-api-types.git"
|
|
25
|
+
},
|
|
26
|
+
"keywords": [
|
|
27
|
+
"ifunny",
|
|
28
|
+
"types",
|
|
29
|
+
"typescript"
|
|
30
|
+
],
|
|
31
|
+
"author": "MakeShiftArtist <makeshiftdevelopment+npm@proton.me> (https://github.com/makeshiftartist)",
|
|
32
|
+
"license": "CC0-1.0",
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/makeshiftartist/ifunny-api-types/issues"
|
|
35
|
+
},
|
|
36
|
+
"homepage": "https://github.com/makeshiftartist/ifunny-api-types#readme",
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@eslint/js": "^9.23.0",
|
|
39
|
+
"@types/node": "22.13.14",
|
|
40
|
+
"auto-changelog": "^2.7.0",
|
|
41
|
+
"eslint": "^9.39.5",
|
|
42
|
+
"globals": "^16.0.0",
|
|
43
|
+
"prettier": "^3.5.3",
|
|
44
|
+
"typescript": "~6.0.3",
|
|
45
|
+
"typescript-eslint": "^8.28.0"
|
|
46
|
+
},
|
|
47
|
+
"auto-changelog": {
|
|
48
|
+
"template": "changelog-template.hbs",
|
|
49
|
+
"hideEmptyReleases": true,
|
|
50
|
+
"commitLimit": false,
|
|
51
|
+
"unreleased": true,
|
|
52
|
+
"tagPrefix": "v",
|
|
53
|
+
"replaceText": {
|
|
54
|
+
"([bB]reaking:\\s*)": "",
|
|
55
|
+
"([bB]reaking change:\\s*)": "",
|
|
56
|
+
"(^[fF]eat:\\s*)": "",
|
|
57
|
+
"(^[fF]ix:\\s*)": "",
|
|
58
|
+
"(^[cC]hore:\\s*)": "",
|
|
59
|
+
"(^[dD]ocs?:\\s*)": "",
|
|
60
|
+
"(^[rR]efactor:\\s*)": "",
|
|
61
|
+
"(^[tT]est:\\s*)": "",
|
|
62
|
+
"(^[sS]tyle:\\s*)": "",
|
|
63
|
+
"(^[pP]erf:\\s*)": ""
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// prettier.config.js, .prettierrc.js, prettier.config.mjs, or .prettierrc.mjs
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @see https://prettier.io/docs/configuration
|
|
5
|
+
* @type {import("prettier").Config}
|
|
6
|
+
*/
|
|
7
|
+
const config = {
|
|
8
|
+
trailingComma: "es5",
|
|
9
|
+
tabWidth: 4,
|
|
10
|
+
semi: false,
|
|
11
|
+
useTabs: true,
|
|
12
|
+
singleQuote: true,
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export default config;
|
package/tag-check.sh
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
function pkgver
|
|
2
|
+
git show $argv[1] 2>/dev/null | node -e 'try{process.stdout.write(String(JSON.parse(require("fs").readFileSync(0,"utf8")).version||""))}catch(e){}'
|
|
3
|
+
end
|
|
4
|
+
|
|
5
|
+
function tagcheck
|
|
6
|
+
argparse n/dry-run 's/skip=+' -- $argv; or return 1
|
|
7
|
+
|
|
8
|
+
set -l key (git config user.signingkey)
|
|
9
|
+
if not set -q _flag_dry_run; and test -z "$key"
|
|
10
|
+
echo "No user.signingkey configured. Set one first, or run: tagcheck --dry-run"
|
|
11
|
+
return 1
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
set -l seen
|
|
15
|
+
set -l created
|
|
16
|
+
set -l fixed
|
|
17
|
+
set -l n_ok 0
|
|
18
|
+
set -l n_skip 0
|
|
19
|
+
|
|
20
|
+
for c in (git log --reverse --format=%H -G'^[[:space:]]*"version"[[:space:]]*:' -- package.json)
|
|
21
|
+
set -l new (pkgver $c:package.json)
|
|
22
|
+
set -l old (pkgver $c^:package.json)
|
|
23
|
+
test -z "$new"; and continue
|
|
24
|
+
test "$old" = "$new"; and continue
|
|
25
|
+
|
|
26
|
+
set -l tag "v$new"
|
|
27
|
+
set -l short (git log -1 --format=%h $c)
|
|
28
|
+
|
|
29
|
+
if contains -- $new $seen
|
|
30
|
+
echo "WARN $tag version set again at $short (was $old), skipping"
|
|
31
|
+
continue
|
|
32
|
+
end
|
|
33
|
+
set -a seen $new
|
|
34
|
+
|
|
35
|
+
set -l date (git log -1 --format=%cI $c)
|
|
36
|
+
set -l msg "Release $tag"
|
|
37
|
+
set -l action ""
|
|
38
|
+
|
|
39
|
+
if git rev-parse -q --verify "refs/tags/$tag" >/dev/null
|
|
40
|
+
set -l problems
|
|
41
|
+
set -l target (git rev-list -n1 $tag)
|
|
42
|
+
|
|
43
|
+
if test "$target" != "$c"
|
|
44
|
+
set -a problems "points at "(git log -1 --format=%h $target)", expected $short"
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
if test (git cat-file -t $tag) != tag
|
|
48
|
+
set -a problems "lightweight"
|
|
49
|
+
else
|
|
50
|
+
if not git cat-file tag $tag | string match -rq 'BEGIN (PGP|SSH) SIGNATURE'
|
|
51
|
+
set -a problems "unsigned"
|
|
52
|
+
else if not git verify-tag $tag >/dev/null 2>&1
|
|
53
|
+
set -a problems "signature does not verify"
|
|
54
|
+
end
|
|
55
|
+
set -l subj (git tag -l --format='%(contents:subject)' $tag)
|
|
56
|
+
if test -z "$subj"
|
|
57
|
+
set -a problems "empty message"
|
|
58
|
+
else
|
|
59
|
+
set msg $subj
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
if test (count $problems) -eq 0
|
|
64
|
+
echo "OK $tag $short"
|
|
65
|
+
set n_ok (math $n_ok + 1)
|
|
66
|
+
continue
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
if contains -- $tag $_flag_skip
|
|
70
|
+
echo "SKIP $tag $short "(string join "; " $problems)
|
|
71
|
+
set n_skip (math $n_skip + 1)
|
|
72
|
+
continue
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
set action fix
|
|
76
|
+
echo "BAD $tag $short "(string join "; " $problems)
|
|
77
|
+
else
|
|
78
|
+
set -l others (git tag --points-at $c)
|
|
79
|
+
test (count $others) -gt 0; and echo "NOTE $short already has other tag(s): $others"
|
|
80
|
+
set action create
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
if set -q _flag_dry_run
|
|
84
|
+
test $action = fix; and echo "WOULD FIX $tag $short $msg"
|
|
85
|
+
test $action = create; and echo "WOULD CREATE $tag $short $msg"
|
|
86
|
+
else
|
|
87
|
+
set -l flags -s
|
|
88
|
+
test $action = fix; and set flags -s -f
|
|
89
|
+
env GIT_COMMITTER_DATE=$date git tag $flags $tag -m "$msg" $c
|
|
90
|
+
if test $status -ne 0
|
|
91
|
+
echo "FAIL $tag signing failed at $short, stopping"
|
|
92
|
+
return 1
|
|
93
|
+
end
|
|
94
|
+
test $action = fix; and echo "FIXED $tag $short $msg"
|
|
95
|
+
test $action = create; and echo "NEW $tag $short $msg"
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
test $action = fix; and set -a fixed $tag
|
|
99
|
+
test $action = create; and set -a created $tag
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
set -l verb (set -q _flag_dry_run; and echo "to "; or echo "")
|
|
103
|
+
echo
|
|
104
|
+
echo "Summary: $n_ok ok, $n_skip skipped, "(count $fixed)" "$verb"fixed, "(count $created)" "$verb"created"
|
|
105
|
+
|
|
106
|
+
if not set -q _flag_dry_run
|
|
107
|
+
test (count $created) -gt 0; and echo "Push new: git push origin $created"
|
|
108
|
+
test (count $fixed) -gt 0; and echo "Push fixed: git push --force origin $fixed"
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
tagcheck
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { IFUNNY_ERRORS, RESTAPIError } from "./error_base";
|
|
2
|
-
export interface RESTAPIErrorBadRequest extends RESTAPIError {
|
|
3
|
-
error: IFUNNY_ERRORS.BAD_REQUEST;
|
|
4
|
-
error_description: RESTAPIBadRequestMessage;
|
|
5
|
-
status: 400;
|
|
6
|
-
}
|
|
7
|
-
export default RESTAPIErrorBadRequest;
|
|
8
|
-
export declare enum BAD_REQUEST {
|
|
9
|
-
INVALID_USER_ID = "Invalid user id"
|
|
10
|
-
}
|
|
11
|
-
|
|
1
|
+
import { IFUNNY_ERRORS, RESTAPIError } from "./error_base";
|
|
2
|
+
export interface RESTAPIErrorBadRequest extends RESTAPIError {
|
|
3
|
+
error: IFUNNY_ERRORS.BAD_REQUEST;
|
|
4
|
+
error_description: RESTAPIBadRequestMessage;
|
|
5
|
+
status: 400;
|
|
6
|
+
}
|
|
7
|
+
export default RESTAPIErrorBadRequest;
|
|
8
|
+
export declare enum BAD_REQUEST {
|
|
9
|
+
INVALID_USER_ID = "Invalid user id"
|
|
10
|
+
}
|
|
11
|
+
type RESTAPIBadRequestMessage = `${BAD_REQUEST}`;
|
|
12
12
|
//# sourceMappingURL=bad_request.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bad_request.d.ts","sourceRoot":"","sources":["../../src/errors/bad_request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE3D,MAAM,WAAW,sBAAuB,SAAQ,YAAY;IAC3D,KAAK,EAAE,aAAa,CAAC,WAAW,CAAC;IACjC,iBAAiB,EAAE,wBAAwB,CAAC;IAC5C,MAAM,EAAE,GAAG,CAAC;CACZ;AAED,eAAe,sBAAsB,CAAC;AAEtC,oBAAY,WAAW;IACtB,eAAe,oBAAoB;CACnC;AAED,
|
|
1
|
+
{"version":3,"file":"bad_request.d.ts","sourceRoot":"","sources":["../../src/errors/bad_request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE3D,MAAM,WAAW,sBAAuB,SAAQ,YAAY;IAC3D,KAAK,EAAE,aAAa,CAAC,WAAW,CAAC;IACjC,iBAAiB,EAAE,wBAAwB,CAAC;IAC5C,MAAM,EAAE,GAAG,CAAC;CACZ;AAED,eAAe,sBAAsB,CAAC;AAEtC,oBAAY,WAAW;IACtB,eAAe,oBAAoB;CACnC;AAED,KAAK,wBAAwB,GAAG,GAAG,WAAW,EAAE,CAAC"}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { IFUNNY_ERRORS, RESTAPIError } from "./error_base";
|
|
2
|
-
/**
|
|
3
|
-
* This is thrown when you need to solve a captcha to complete the request.
|
|
4
|
-
*/
|
|
5
|
-
export interface RESTAPIErrorCaptchaRequired extends RESTAPIError {
|
|
6
|
-
error: IFUNNY_ERRORS.CAPTCHA_REQUIRED;
|
|
7
|
-
error_description: RESTAPIErrorCaptchaRequiredMessage;
|
|
8
|
-
data: {
|
|
9
|
-
/**
|
|
10
|
-
* Open this url in any browser, solve it, then make the exact same request again.
|
|
11
|
-
*/
|
|
12
|
-
captcha_url: string;
|
|
13
|
-
type: RESTAPICaptchaType;
|
|
14
|
-
};
|
|
15
|
-
status: 403;
|
|
16
|
-
}
|
|
17
|
-
export default RESTAPIErrorCaptchaRequired;
|
|
18
|
-
/**
|
|
19
|
-
* Known error descriptions
|
|
20
|
-
*/
|
|
21
|
-
export declare enum CAPTCHA_REQUIRED {
|
|
22
|
-
VERIFY_HUMAN = "Human verification is required"
|
|
23
|
-
}
|
|
24
|
-
export
|
|
25
|
-
/**
|
|
26
|
-
* Known captcha types
|
|
27
|
-
*/
|
|
28
|
-
declare enum CAPTCHA_TYPE {
|
|
29
|
-
FUN_CAPTCHA = "fun_captcha",
|
|
30
|
-
RECAPTCHA = "recaptcha"
|
|
31
|
-
}
|
|
32
|
-
export
|
|
1
|
+
import { IFUNNY_ERRORS, RESTAPIError } from "./error_base";
|
|
2
|
+
/**
|
|
3
|
+
* This is thrown when you need to solve a captcha to complete the request.
|
|
4
|
+
*/
|
|
5
|
+
export interface RESTAPIErrorCaptchaRequired extends RESTAPIError {
|
|
6
|
+
error: IFUNNY_ERRORS.CAPTCHA_REQUIRED;
|
|
7
|
+
error_description: RESTAPIErrorCaptchaRequiredMessage;
|
|
8
|
+
data: {
|
|
9
|
+
/**
|
|
10
|
+
* Open this url in any browser, solve it, then make the exact same request again.
|
|
11
|
+
*/
|
|
12
|
+
captcha_url: string;
|
|
13
|
+
type: RESTAPICaptchaType;
|
|
14
|
+
};
|
|
15
|
+
status: 403;
|
|
16
|
+
}
|
|
17
|
+
export default RESTAPIErrorCaptchaRequired;
|
|
18
|
+
/**
|
|
19
|
+
* Known error descriptions
|
|
20
|
+
*/
|
|
21
|
+
export declare enum CAPTCHA_REQUIRED {
|
|
22
|
+
VERIFY_HUMAN = "Human verification is required"
|
|
23
|
+
}
|
|
24
|
+
export type RESTAPIErrorCaptchaRequiredMessage = `${CAPTCHA_REQUIRED}`;
|
|
25
|
+
/**
|
|
26
|
+
* Known captcha types
|
|
27
|
+
*/
|
|
28
|
+
declare enum CAPTCHA_TYPE {
|
|
29
|
+
FUN_CAPTCHA = "fun_captcha",
|
|
30
|
+
RECAPTCHA = "recaptcha"
|
|
31
|
+
}
|
|
32
|
+
export type RESTAPICaptchaType = `${CAPTCHA_TYPE}`;
|
|
33
33
|
//# sourceMappingURL=captcha_required.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"captcha_required.d.ts","sourceRoot":"","sources":["../../src/errors/captcha_required.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,YAAY;IAChE,KAAK,EAAE,aAAa,CAAC,gBAAgB,CAAC;IACtC,iBAAiB,EAAE,kCAAkC,CAAC;IACtD,IAAI,EAAE;QACL;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QACpB,IAAI,EAAE,kBAAkB,CAAC;KACzB,CAAC;IACF,MAAM,EAAE,GAAG,CAAC;CACZ;AAED,eAAe,2BAA2B,CAAC;AAE3C;;GAEG;AACH,oBAAY,gBAAgB;IAC3B,YAAY,mCAAmC;CAC/C;AAED,
|
|
1
|
+
{"version":3,"file":"captcha_required.d.ts","sourceRoot":"","sources":["../../src/errors/captcha_required.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,YAAY;IAChE,KAAK,EAAE,aAAa,CAAC,gBAAgB,CAAC;IACtC,iBAAiB,EAAE,kCAAkC,CAAC;IACtD,IAAI,EAAE;QACL;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QACpB,IAAI,EAAE,kBAAkB,CAAC;KACzB,CAAC;IACF,MAAM,EAAE,GAAG,CAAC;CACZ;AAED,eAAe,2BAA2B,CAAC;AAE3C;;GAEG;AACH,oBAAY,gBAAgB;IAC3B,YAAY,mCAAmC;CAC/C;AAED,MAAM,MAAM,kCAAkC,GAAG,GAAG,gBAAgB,EAAE,CAAC;AAEvE;;GAEG;AACH,aAAK,YAAY;IAChB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;CACvB;AAED,MAAM,MAAM,kBAAkB,GAAG,GAAG,YAAY,EAAE,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { IFUNNY_ERRORS, RESTAPIError } from "./error_base";
|
|
2
|
-
/**
|
|
3
|
-
* Returned when trying to create an account with an email that's already taken
|
|
4
|
-
*/
|
|
5
|
-
export interface RESTAPIErrorEmailExists extends RESTAPIError {
|
|
6
|
-
error: IFUNNY_ERRORS.EMAIL_EXISTS;
|
|
7
|
-
error_description: RESTAPIErrorEmailExistsMessage;
|
|
8
|
-
status: 403;
|
|
9
|
-
}
|
|
10
|
-
export default RESTAPIErrorEmailExists;
|
|
11
|
-
export declare enum EMAIL_EXISTS_MESSAGE {
|
|
12
|
-
USER_WITH_EMAIL = "There is a user with this email"
|
|
13
|
-
}
|
|
14
|
-
export
|
|
1
|
+
import { IFUNNY_ERRORS, RESTAPIError } from "./error_base";
|
|
2
|
+
/**
|
|
3
|
+
* Returned when trying to create an account with an email that's already taken
|
|
4
|
+
*/
|
|
5
|
+
export interface RESTAPIErrorEmailExists extends RESTAPIError {
|
|
6
|
+
error: IFUNNY_ERRORS.EMAIL_EXISTS;
|
|
7
|
+
error_description: RESTAPIErrorEmailExistsMessage;
|
|
8
|
+
status: 403;
|
|
9
|
+
}
|
|
10
|
+
export default RESTAPIErrorEmailExists;
|
|
11
|
+
export declare enum EMAIL_EXISTS_MESSAGE {
|
|
12
|
+
USER_WITH_EMAIL = "There is a user with this email"
|
|
13
|
+
}
|
|
14
|
+
export type RESTAPIErrorEmailExistsMessage = `${EMAIL_EXISTS_MESSAGE}`;
|
|
15
15
|
//# sourceMappingURL=email_exists.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email_exists.d.ts","sourceRoot":"","sources":["../../src/errors/email_exists.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,YAAY;IAC5D,KAAK,EAAE,aAAa,CAAC,YAAY,CAAC;IAClC,iBAAiB,EAAE,8BAA8B,CAAC;IAClD,MAAM,EAAE,GAAG,CAAC;CACZ;AACD,eAAe,uBAAuB,CAAC;AAEvC,oBAAY,oBAAoB;IAC/B,eAAe,oCAAoC;CACnD;AAED,
|
|
1
|
+
{"version":3,"file":"email_exists.d.ts","sourceRoot":"","sources":["../../src/errors/email_exists.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,YAAY;IAC5D,KAAK,EAAE,aAAa,CAAC,YAAY,CAAC;IAClC,iBAAiB,EAAE,8BAA8B,CAAC;IAClD,MAAM,EAAE,GAAG,CAAC;CACZ;AACD,eAAe,uBAAuB,CAAC;AAEvC,oBAAY,oBAAoB;IAC/B,eAAe,oCAAoC;CACnD;AAED,MAAM,MAAM,8BAA8B,GAAG,GAAG,oBAAoB,EAAE,CAAC"}
|
package/types/errors/error.d.ts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import RESTAPIError from "./error_base";
|
|
2
|
-
import RESTAPIErrorBadRequest from "./bad_request";
|
|
3
|
-
import RESTAPIErrorCaptchaRequired from "./captcha_required";
|
|
4
|
-
import RESTAPIErrorEmailExists from "./email_exists";
|
|
5
|
-
import RESTAPIErrorInvalidEmail from "./invalid_email";
|
|
6
|
-
import RESTAPIErrorInvalidGrant from "./invalid_grant";
|
|
7
|
-
import RESTAPIErrorNotFound from "./not_found";
|
|
8
|
-
import RESTAPIErrorPermissionDenied from "./permission_denied";
|
|
9
|
-
import RESTAPIErrorUnauthorized from "./unauthorized";
|
|
10
|
-
import RESTAPIErrorInvalidClient from "./invalid_client";
|
|
11
|
-
/**
|
|
12
|
-
* Returns when the request throws an error.\
|
|
13
|
-
* Automatically evaluates the error based on other values
|
|
14
|
-
* @example
|
|
15
|
-
* function foo(error: RESTAPIErrorResponse) {
|
|
16
|
-
* switch(error.status) {
|
|
17
|
-
* case 400:
|
|
18
|
-
* error.error !== 'captcha_required' // true
|
|
19
|
-
* case 403:
|
|
20
|
-
* error.error !== 'bad_request' // true
|
|
21
|
-
* }
|
|
22
|
-
* }
|
|
23
|
-
*/
|
|
24
|
-
export
|
|
25
|
-
/**
|
|
26
|
-
* Use this if you don't know the error being thrown or don't want full intellisense support
|
|
27
|
-
*/
|
|
28
|
-
export
|
|
1
|
+
import RESTAPIError from "./error_base";
|
|
2
|
+
import RESTAPIErrorBadRequest from "./bad_request";
|
|
3
|
+
import RESTAPIErrorCaptchaRequired from "./captcha_required";
|
|
4
|
+
import RESTAPIErrorEmailExists from "./email_exists";
|
|
5
|
+
import RESTAPIErrorInvalidEmail from "./invalid_email";
|
|
6
|
+
import RESTAPIErrorInvalidGrant from "./invalid_grant";
|
|
7
|
+
import RESTAPIErrorNotFound from "./not_found";
|
|
8
|
+
import RESTAPIErrorPermissionDenied from "./permission_denied";
|
|
9
|
+
import RESTAPIErrorUnauthorized from "./unauthorized";
|
|
10
|
+
import RESTAPIErrorInvalidClient from "./invalid_client";
|
|
11
|
+
/**
|
|
12
|
+
* Returns when the request throws an error.\
|
|
13
|
+
* Automatically evaluates the error based on other values
|
|
14
|
+
* @example
|
|
15
|
+
* function foo(error: RESTAPIErrorResponse) {
|
|
16
|
+
* switch(error.status) {
|
|
17
|
+
* case 400:
|
|
18
|
+
* error.error !== 'captcha_required' // true
|
|
19
|
+
* case 403:
|
|
20
|
+
* error.error !== 'bad_request' // true
|
|
21
|
+
* }
|
|
22
|
+
* }
|
|
23
|
+
*/
|
|
24
|
+
export type RESTAPIErrorResponse = RESTAPIErrorInvalidClient | RESTAPIErrorBadRequest | RESTAPIErrorCaptchaRequired | RESTAPIErrorEmailExists | RESTAPIErrorInvalidEmail | RESTAPIErrorInvalidGrant | RESTAPIErrorNotFound | RESTAPIErrorPermissionDenied | RESTAPIErrorUnauthorized;
|
|
25
|
+
/**
|
|
26
|
+
* Use this if you don't know the error being thrown or don't want full intellisense support
|
|
27
|
+
*/
|
|
28
|
+
export type RESTAPIUnknownError = RESTAPIError;
|
|
29
29
|
//# sourceMappingURL=error.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/errors/error.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,cAAc,CAAC;AACxC,OAAO,sBAAsB,MAAM,eAAe,CAAC;AACnD,OAAO,2BAA2B,MAAM,oBAAoB,CAAC;AAC7D,OAAO,uBAAuB,MAAM,gBAAgB,CAAC;AACrD,OAAO,wBAAwB,MAAM,iBAAiB,CAAC;AACvD,OAAO,wBAAwB,MAAM,iBAAiB,CAAC;AACvD,OAAO,oBAAoB,MAAM,aAAa,CAAC;AAC/C,OAAO,4BAA4B,MAAM,qBAAqB,CAAC;AAC/D,OAAO,wBAAwB,MAAM,gBAAgB,CAAC;AACtD,OAAO,yBAAyB,MAAM,kBAAkB,CAAC;AAEzD;;;;;;;;;;;;GAYG;AACH,
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/errors/error.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,cAAc,CAAC;AACxC,OAAO,sBAAsB,MAAM,eAAe,CAAC;AACnD,OAAO,2BAA2B,MAAM,oBAAoB,CAAC;AAC7D,OAAO,uBAAuB,MAAM,gBAAgB,CAAC;AACrD,OAAO,wBAAwB,MAAM,iBAAiB,CAAC;AACvD,OAAO,wBAAwB,MAAM,iBAAiB,CAAC;AACvD,OAAO,oBAAoB,MAAM,aAAa,CAAC;AAC/C,OAAO,4BAA4B,MAAM,qBAAqB,CAAC;AAC/D,OAAO,wBAAwB,MAAM,gBAAgB,CAAC;AACtD,OAAO,yBAAyB,MAAM,kBAAkB,CAAC;AAEzD;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,oBAAoB,GAC7B,yBAAyB,GACzB,sBAAsB,GACtB,2BAA2B,GAC3B,uBAAuB,GACvB,wBAAwB,GACxB,wBAAwB,GACxB,oBAAoB,GACpB,4BAA4B,GAC5B,wBAAwB,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC"}
|