@taico/errors 0.0.1 → 0.0.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/dist/error-codes.d.ts +3 -0
- package/dist/error-codes.js +3 -0
- package/package.json +10 -5
package/dist/error-codes.d.ts
CHANGED
|
@@ -3,9 +3,12 @@ export declare const ErrorCodes: {
|
|
|
3
3
|
readonly TASK_NOT_ASSIGNED: "TASK_NOT_ASSIGNED";
|
|
4
4
|
readonly INVALID_STATUS_TRANSITION: "INVALID_STATUS_TRANSITION";
|
|
5
5
|
readonly COMMENT_REQUIRED: "COMMENT_REQUIRED";
|
|
6
|
+
readonly TASK_IS_THREAD_PARENT: "TASK_IS_THREAD_PARENT";
|
|
7
|
+
readonly INPUT_REQUEST_SELF_ASSIGNMENT: "INPUT_REQUEST_SELF_ASSIGNMENT";
|
|
6
8
|
readonly PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
7
9
|
readonly PARENT_PAGE_NOT_FOUND: "PARENT_PAGE_NOT_FOUND";
|
|
8
10
|
readonly CIRCULAR_REFERENCE: "CIRCULAR_REFERENCE";
|
|
11
|
+
readonly BLOCK_IS_THREAD_STATE: "BLOCK_IS_THREAD_STATE";
|
|
9
12
|
readonly AGENT_NOT_FOUND: "AGENT_NOT_FOUND";
|
|
10
13
|
readonly AGENT_SLUG_CONFLICT: "AGENT_SLUG_CONFLICT";
|
|
11
14
|
readonly AGENT_RUN_NOT_FOUND: "AGENT_RUN_NOT_FOUND";
|
package/dist/error-codes.js
CHANGED
|
@@ -4,10 +4,13 @@ export const ErrorCodes = {
|
|
|
4
4
|
TASK_NOT_ASSIGNED: 'TASK_NOT_ASSIGNED',
|
|
5
5
|
INVALID_STATUS_TRANSITION: 'INVALID_STATUS_TRANSITION',
|
|
6
6
|
COMMENT_REQUIRED: 'COMMENT_REQUIRED',
|
|
7
|
+
TASK_IS_THREAD_PARENT: 'TASK_IS_THREAD_PARENT',
|
|
8
|
+
INPUT_REQUEST_SELF_ASSIGNMENT: 'INPUT_REQUEST_SELF_ASSIGNMENT',
|
|
7
9
|
// Context errors
|
|
8
10
|
PAGE_NOT_FOUND: 'PAGE_NOT_FOUND',
|
|
9
11
|
PARENT_PAGE_NOT_FOUND: 'PARENT_PAGE_NOT_FOUND',
|
|
10
12
|
CIRCULAR_REFERENCE: 'CIRCULAR_REFERENCE',
|
|
13
|
+
BLOCK_IS_THREAD_STATE: 'BLOCK_IS_THREAD_STATE',
|
|
11
14
|
// Agent errors
|
|
12
15
|
AGENT_NOT_FOUND: 'AGENT_NOT_FOUND',
|
|
13
16
|
AGENT_SLUG_CONFLICT: 'AGENT_SLUG_CONFLICT',
|
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taico/errors",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"type": "module",
|
|
5
|
+
"private": false,
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"main": "./dist/index.js",
|
|
7
8
|
"types": "./dist/index.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"package.json"
|
|
12
|
+
],
|
|
10
13
|
"exports": {
|
|
11
14
|
".": {
|
|
12
15
|
"types": "./dist/index.d.ts",
|
|
@@ -16,9 +19,11 @@
|
|
|
16
19
|
"./package.json": "./package.json"
|
|
17
20
|
},
|
|
18
21
|
"scripts": {
|
|
19
|
-
"build": "tsc -p tsconfig.build.json"
|
|
22
|
+
"build": "tsc -p tsconfig.build.json",
|
|
23
|
+
"pack": "npm run build && npm pack",
|
|
24
|
+
"release": "npm run build && npm publish --access public"
|
|
20
25
|
},
|
|
21
26
|
"devDependencies": {
|
|
22
27
|
"typescript": "^5.6.3"
|
|
23
28
|
}
|
|
24
|
-
}
|
|
29
|
+
}
|