@ooneex/status 0.0.11 → 0.0.13
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/index.js +43 -2
- package/dist/index.js.map +2 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,3 +1,44 @@
|
|
|
1
|
-
|
|
1
|
+
// src/types.ts
|
|
2
|
+
var EStatus;
|
|
3
|
+
((EStatus2) => {
|
|
4
|
+
EStatus2["DRAFT"] = "draft";
|
|
5
|
+
EStatus2["PENDING"] = "pending";
|
|
6
|
+
EStatus2["SUBMITTED"] = "submitted";
|
|
7
|
+
EStatus2["IN_REVIEW"] = "inReview";
|
|
8
|
+
EStatus2["REVIEWED"] = "reviewed";
|
|
9
|
+
EStatus2["PROCESSING"] = "processing";
|
|
10
|
+
EStatus2["PROCESSED"] = "processed";
|
|
11
|
+
EStatus2["QUEUED"] = "queued";
|
|
12
|
+
EStatus2["READY"] = "ready";
|
|
13
|
+
EStatus2["SCHEDULED"] = "scheduled";
|
|
14
|
+
EStatus2["APPROVED"] = "approved";
|
|
15
|
+
EStatus2["REJECTED"] = "rejected";
|
|
16
|
+
EStatus2["DONE"] = "done";
|
|
17
|
+
EStatus2["COMPLETED"] = "completed";
|
|
18
|
+
EStatus2["SUCCESS"] = "success";
|
|
19
|
+
EStatus2["FAILED"] = "failed";
|
|
20
|
+
EStatus2["ERROR"] = "error";
|
|
21
|
+
EStatus2["CANCELLED"] = "cancelled";
|
|
22
|
+
EStatus2["TIMEOUT"] = "timeout";
|
|
23
|
+
EStatus2["ARCHIVED"] = "archived";
|
|
24
|
+
EStatus2["DELETE"] = "delete";
|
|
25
|
+
EStatus2["DELETED"] = "deleted";
|
|
26
|
+
EStatus2["ACTIVE"] = "active";
|
|
27
|
+
EStatus2["INACTIVE"] = "inactive";
|
|
28
|
+
EStatus2["DISABLED"] = "disabled";
|
|
29
|
+
EStatus2["ENABLED"] = "enabled";
|
|
30
|
+
EStatus2["SUSPENDED"] = "suspended";
|
|
31
|
+
EStatus2["PAUSED"] = "paused";
|
|
32
|
+
EStatus2["ON_HOLD"] = "onHold";
|
|
33
|
+
EStatus2["SENT"] = "sent";
|
|
34
|
+
EStatus2["DELIVERED"] = "delivered";
|
|
35
|
+
EStatus2["READ"] = "read";
|
|
36
|
+
EStatus2["VALID"] = "valid";
|
|
37
|
+
EStatus2["INVALID"] = "invalid";
|
|
38
|
+
EStatus2["EXPIRED"] = "expired";
|
|
39
|
+
})(EStatus ||= {});
|
|
40
|
+
export {
|
|
41
|
+
EStatus
|
|
42
|
+
};
|
|
2
43
|
|
|
3
|
-
//# debugId=
|
|
44
|
+
//# debugId=929B65B4FD7A47E664756E2164756E21
|
package/dist/index.js.map
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"sourcesContent": [
|
|
5
5
|
"import type { IColor } from \"@ooneex/color\";\nimport type { IBase } from \"@ooneex/types\";\n\nexport enum EStatus {\n // Initial states\n DRAFT = \"draft\",\n PENDING = \"pending\",\n SUBMITTED = \"submitted\",\n\n // Review states\n IN_REVIEW = \"inReview\",\n REVIEWED = \"reviewed\",\n\n // Processing states\n PROCESSING = \"processing\",\n PROCESSED = \"processed\",\n QUEUED = \"queued\",\n\n // Ready states\n READY = \"ready\",\n SCHEDULED = \"scheduled\",\n\n // Decision states\n APPROVED = \"approved\",\n REJECTED = \"rejected\",\n\n // Completion states\n DONE = \"done\",\n COMPLETED = \"completed\",\n SUCCESS = \"success\",\n\n // Error states\n FAILED = \"failed\",\n ERROR = \"error\",\n CANCELLED = \"cancelled\",\n TIMEOUT = \"timeout\",\n\n // Storage states\n ARCHIVED = \"archived\",\n DELETE = \"delete\",\n DELETED = \"deleted\",\n\n // Active states\n ACTIVE = \"active\",\n INACTIVE = \"inactive\",\n DISABLED = \"disabled\",\n ENABLED = \"enabled\",\n\n // Temporary states\n SUSPENDED = \"suspended\",\n PAUSED = \"paused\",\n ON_HOLD = \"onHold\",\n\n // Communication states\n SENT = \"sent\",\n DELIVERED = \"delivered\",\n READ = \"read\",\n\n // Validation states\n VALID = \"valid\",\n INVALID = \"invalid\",\n EXPIRED = \"expired\",\n}\n\nexport type StatusType = `${EStatus}`;\n\nexport interface IStatus extends IBase {\n status: StatusType;\n color?: IColor | undefined;\n description?: string | undefined;\n reason?: string | undefined;\n}\n"
|
|
6
6
|
],
|
|
7
|
-
"mappings": "AAGO,IAAK,
|
|
8
|
-
"debugId": "
|
|
7
|
+
"mappings": ";AAGO,IAAK;AAAA,CAAL,CAAK,aAAL;AAAA,EAEL,oBAAQ;AAAA,EACR,sBAAU;AAAA,EACV,wBAAY;AAAA,EAGZ,wBAAY;AAAA,EACZ,uBAAW;AAAA,EAGX,yBAAa;AAAA,EACb,wBAAY;AAAA,EACZ,qBAAS;AAAA,EAGT,oBAAQ;AAAA,EACR,wBAAY;AAAA,EAGZ,uBAAW;AAAA,EACX,uBAAW;AAAA,EAGX,mBAAO;AAAA,EACP,wBAAY;AAAA,EACZ,sBAAU;AAAA,EAGV,qBAAS;AAAA,EACT,oBAAQ;AAAA,EACR,wBAAY;AAAA,EACZ,sBAAU;AAAA,EAGV,uBAAW;AAAA,EACX,qBAAS;AAAA,EACT,sBAAU;AAAA,EAGV,qBAAS;AAAA,EACT,uBAAW;AAAA,EACX,uBAAW;AAAA,EACX,sBAAU;AAAA,EAGV,wBAAY;AAAA,EACZ,qBAAS;AAAA,EACT,sBAAU;AAAA,EAGV,mBAAO;AAAA,EACP,wBAAY;AAAA,EACZ,mBAAO;AAAA,EAGP,oBAAQ;AAAA,EACR,sBAAU;AAAA,EACV,sBAAU;AAAA,GA1DA;",
|
|
8
|
+
"debugId": "929B65B4FD7A47E664756E2164756E21",
|
|
9
9
|
"names": []
|
|
10
10
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ooneex/status",
|
|
3
3
|
"description": "Status type definitions and utilities for content lifecycle management with color-coded visual indicators",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.13",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@ooneex/color": "0.0.
|
|
33
|
-
"@ooneex/types": "0.0.
|
|
32
|
+
"@ooneex/color": "0.0.11",
|
|
33
|
+
"@ooneex/types": "0.0.11"
|
|
34
34
|
},
|
|
35
35
|
"keywords": [
|
|
36
36
|
"bun",
|