@ooneex/status 0.0.1 → 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.
package/dist/index.d.ts CHANGED
@@ -40,8 +40,8 @@ declare enum EStatus {
40
40
  type StatusType = `${EStatus}`;
41
41
  interface IStatus extends IBase {
42
42
  status: StatusType;
43
- color?: IColor;
44
- description?: string;
45
- reason?: string;
43
+ color?: IColor | undefined;
44
+ description?: string | undefined;
45
+ reason?: string | undefined;
46
46
  }
47
47
  export { StatusType, IStatus, EStatus };
package/dist/index.js.map CHANGED
@@ -2,7 +2,7 @@
2
2
  "version": 3,
3
3
  "sources": ["src/types.ts"],
4
4
  "sourcesContent": [
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;\n description?: string;\n reason?: string;\n}\n"
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
7
  "mappings": "AAGO,IAAK,GAAL,CAAK,IAAL,CAEL,QAAQ,QACR,UAAU,UACV,YAAY,YAGZ,YAAY,WACZ,WAAW,WAGX,aAAa,aACb,YAAY,YACZ,SAAS,SAGT,QAAQ,QACR,YAAY,YAGZ,WAAW,WACX,WAAW,WAGX,OAAO,OACP,YAAY,YACZ,UAAU,UAGV,SAAS,SACT,QAAQ,QACR,YAAY,YACZ,UAAU,UAGV,WAAW,WACX,SAAS,SACT,UAAU,UAGV,SAAS,SACT,WAAW,WACX,WAAW,WACX,UAAU,UAGV,YAAY,YACZ,SAAS,SACT,UAAU,SAGV,OAAO,OACP,YAAY,YACZ,OAAO,OAGP,QAAQ,QACR,UAAU,UACV,UAAU,YA1DA",
8
8
  "debugId": "2B22FE638725144964756E2164756E21",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ooneex/status",
3
- "description": "",
4
- "version": "0.0.1",
3
+ "description": "Status type definitions and utilities for content lifecycle management with color-coded visual indicators",
4
+ "version": "0.0.4",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",
@@ -24,14 +24,20 @@
24
24
  "scripts": {
25
25
  "build": "bunup",
26
26
  "lint": "tsgo --noEmit && bunx biome lint",
27
- "publish:prod": "bun publish --tolerate-republish --access public",
28
- "publish:pack": "bun pm pack --destination ./dist",
29
- "publish:dry": "bun publish --dry-run"
27
+ "publish": "bun publish --access public || true",
28
+ "test": "bun test tests"
30
29
  },
31
30
  "dependencies": {},
32
31
  "devDependencies": {
33
32
  "@ooneex/color": "0.0.1",
34
33
  "@ooneex/types": "0.0.1"
35
34
  },
36
- "peerDependencies": {}
35
+ "keywords": [
36
+ "bun",
37
+ "lifecycle",
38
+ "ooneex",
39
+ "state",
40
+ "status",
41
+ "typescript"
42
+ ]
37
43
  }
Binary file