@dev-ecosystem/core 0.1.0
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/README.md +0 -0
- package/dist/capabilities/devforge.capabilities.json +0 -0
- package/dist/capabilities/mediaproc.capabilities.json +0 -0
- package/dist/capabilities/orbyt.capabilities.json +0 -0
- package/dist/capabilities/vaulta.capabilities.json +0 -0
- package/dist/contracts/adapter.contract.d.ts +1 -0
- package/dist/contracts/adapter.contract.d.ts.map +1 -0
- package/dist/contracts/adapter.contract.js +2 -0
- package/dist/contracts/adapter.contract.js.map +1 -0
- package/dist/contracts/cli.contract.d.ts +1 -0
- package/dist/contracts/cli.contract.d.ts.map +1 -0
- package/dist/contracts/cli.contract.js +2 -0
- package/dist/contracts/cli.contract.js.map +1 -0
- package/dist/contracts/engine.contract.d.ts +1 -0
- package/dist/contracts/engine.contract.d.ts.map +1 -0
- package/dist/contracts/engine.contract.js +2 -0
- package/dist/contracts/engine.contract.js.map +1 -0
- package/dist/contracts/plugin.contract.d.ts +1 -0
- package/dist/contracts/plugin.contract.d.ts.map +1 -0
- package/dist/contracts/plugin.contract.js +2 -0
- package/dist/contracts/plugin.contract.js.map +1 -0
- package/dist/contracts/vault.contract.d.ts +1 -0
- package/dist/contracts/vault.contract.d.ts.map +1 -0
- package/dist/contracts/vault.contract.js +2 -0
- package/dist/contracts/vault.contract.js.map +1 -0
- package/dist/contracts/workflow.contract.d.ts +1 -0
- package/dist/contracts/workflow.contract.d.ts.map +1 -0
- package/dist/contracts/workflow.contract.js +2 -0
- package/dist/contracts/workflow.contract.js.map +1 -0
- package/dist/errors/BaseError.d.ts +108 -0
- package/dist/errors/BaseError.d.ts.map +1 -0
- package/dist/errors/BaseError.js +163 -0
- package/dist/errors/BaseError.js.map +1 -0
- package/dist/errors/ErrorCodes.d.ts +111 -0
- package/dist/errors/ErrorCodes.d.ts.map +1 -0
- package/dist/errors/ErrorCodes.js +130 -0
- package/dist/errors/ErrorCodes.js.map +1 -0
- package/dist/errors/ErrorTypes.d.ts +144 -0
- package/dist/errors/ErrorTypes.d.ts.map +1 -0
- package/dist/errors/ErrorTypes.js +172 -0
- package/dist/errors/ErrorTypes.js.map +1 -0
- package/dist/errors/devforge.codes.d.ts +71 -0
- package/dist/errors/devforge.codes.d.ts.map +1 -0
- package/dist/errors/devforge.codes.js +84 -0
- package/dist/errors/devforge.codes.js.map +1 -0
- package/dist/errors/devforge.errors.d.ts +126 -0
- package/dist/errors/devforge.errors.d.ts.map +1 -0
- package/dist/errors/devforge.errors.js +139 -0
- package/dist/errors/devforge.errors.js.map +1 -0
- package/dist/errors/index.d.ts +22 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +37 -0
- package/dist/errors/index.js.map +1 -0
- package/dist/errors/mediaproc.codes.d.ts +92 -0
- package/dist/errors/mediaproc.codes.d.ts.map +1 -0
- package/dist/errors/mediaproc.codes.js +108 -0
- package/dist/errors/mediaproc.codes.js.map +1 -0
- package/dist/errors/mediaproc.errors.d.ts +120 -0
- package/dist/errors/mediaproc.errors.d.ts.map +1 -0
- package/dist/errors/mediaproc.errors.js +133 -0
- package/dist/errors/mediaproc.errors.js.map +1 -0
- package/dist/errors/orbyt.errors.d.ts +168 -0
- package/dist/errors/orbyt.errors.d.ts.map +1 -0
- package/dist/errors/orbyt.errors.js +187 -0
- package/dist/errors/orbyt.errors.js.map +1 -0
- package/dist/errors/vaulta.codes.d.ts +81 -0
- package/dist/errors/vaulta.codes.d.ts.map +1 -0
- package/dist/errors/vaulta.codes.js +94 -0
- package/dist/errors/vaulta.codes.js.map +1 -0
- package/dist/errors/vaulta.errors.d.ts +135 -0
- package/dist/errors/vaulta.errors.d.ts.map +1 -0
- package/dist/errors/vaulta.errors.js +154 -0
- package/dist/errors/vaulta.errors.js.map +1 -0
- package/dist/exit-codes/ExitCodes.d.ts +136 -0
- package/dist/exit-codes/ExitCodes.d.ts.map +1 -0
- package/dist/exit-codes/ExitCodes.js +229 -0
- package/dist/exit-codes/ExitCodes.js.map +1 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +48 -0
- package/dist/index.js.map +1 -0
- package/dist/logging/LogFormat.d.ts +1 -0
- package/dist/logging/LogFormat.d.ts.map +1 -0
- package/dist/logging/LogFormat.js +2 -0
- package/dist/logging/LogFormat.js.map +1 -0
- package/dist/manifests/adapter.manifest.json +0 -0
- package/dist/manifests/plugin.manifest.json +0 -0
- package/dist/manifests/workflow.manifest.json +0 -0
- package/dist/schemas/adapter.schema.json +0 -0
- package/dist/schemas/capability.schem.json +0 -0
- package/dist/schemas/index.d.ts +401 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +107 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/manifest.schame.json +0 -0
- package/dist/schemas/plugin.schema.json +0 -0
- package/dist/schemas/workflow.schema.json +485 -0
- package/dist/schemas/workflow.schema.zod.d.ts +450 -0
- package/dist/schemas/workflow.schema.zod.d.ts.map +1 -0
- package/dist/schemas/workflow.schema.zod.js +234 -0
- package/dist/schemas/workflow.schema.zod.js.map +1 -0
- package/dist/types/adapter.types.d.ts +1 -0
- package/dist/types/adapter.types.d.ts.map +1 -0
- package/dist/types/adapter.types.js +2 -0
- package/dist/types/adapter.types.js.map +1 -0
- package/dist/types/global.types.d.ts +1 -0
- package/dist/types/global.types.d.ts.map +1 -0
- package/dist/types/global.types.js +2 -0
- package/dist/types/global.types.js.map +1 -0
- package/dist/types/plugin.types.d.ts +1 -0
- package/dist/types/plugin.types.d.ts.map +1 -0
- package/dist/types/plugin.types.js +2 -0
- package/dist/types/plugin.types.js.map +1 -0
- package/dist/types/workflow.types.d.ts +503 -0
- package/dist/types/workflow.types.d.ts.map +1 -0
- package/dist/types/workflow.types.js +90 -0
- package/dist/types/workflow.types.js.map +1 -0
- package/dist/utils/assert.d.ts +1 -0
- package/dist/utils/assert.d.ts.map +1 -0
- package/dist/utils/assert.js +2 -0
- package/dist/utils/assert.js.map +1 -0
- package/package.json +30 -0
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ecosystem Exit Codes
|
|
3
|
+
*
|
|
4
|
+
* Process-level exit codes used across ALL ecosystem components.
|
|
5
|
+
* These are numeric, stable, and cross-language compatible.
|
|
6
|
+
*
|
|
7
|
+
* Pattern:
|
|
8
|
+
* - 0 → Success
|
|
9
|
+
* - 1xx → User / Input errors
|
|
10
|
+
* - 2xx → Configuration / Environment errors
|
|
11
|
+
* - 3xx → Execution failures
|
|
12
|
+
* - 4xx → Security / Permission issues
|
|
13
|
+
* - 5xx → Internal / System errors
|
|
14
|
+
*
|
|
15
|
+
* Rules:
|
|
16
|
+
* - NEVER remove or change an exit code once published
|
|
17
|
+
* - Use these in CLI, Engine, Services, all products
|
|
18
|
+
* - Keep them component-agnostic at this level
|
|
19
|
+
* - Specific errors use error codes, these are just outcomes
|
|
20
|
+
*
|
|
21
|
+
* @category Core
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export var ExitCodes;
|
|
25
|
+
(function (ExitCodes) {
|
|
26
|
+
// =========================================================================
|
|
27
|
+
// SUCCESS
|
|
28
|
+
// =========================================================================
|
|
29
|
+
/** Operation completed successfully */
|
|
30
|
+
ExitCodes[ExitCodes["SUCCESS"] = 0] = "SUCCESS";
|
|
31
|
+
// =========================================================================
|
|
32
|
+
// USER / INPUT ERRORS (1xx)
|
|
33
|
+
// =========================================================================
|
|
34
|
+
/** Invalid command-line arguments or input parameters */
|
|
35
|
+
ExitCodes[ExitCodes["INVALID_INPUT"] = 100] = "INVALID_INPUT";
|
|
36
|
+
/** Invalid schema or workflow definition */
|
|
37
|
+
ExitCodes[ExitCodes["INVALID_SCHEMA"] = 101] = "INVALID_SCHEMA";
|
|
38
|
+
/** Required input file not found or invalid */
|
|
39
|
+
ExitCodes[ExitCodes["INVALID_FILE"] = 102] = "INVALID_FILE";
|
|
40
|
+
/** Invalid format or malformed data */
|
|
41
|
+
ExitCodes[ExitCodes["INVALID_FORMAT"] = 103] = "INVALID_FORMAT";
|
|
42
|
+
/** Missing required input or parameter */
|
|
43
|
+
ExitCodes[ExitCodes["MISSING_REQUIRED_INPUT"] = 104] = "MISSING_REQUIRED_INPUT";
|
|
44
|
+
/** Validation failed */
|
|
45
|
+
ExitCodes[ExitCodes["VALIDATION_FAILED"] = 105] = "VALIDATION_FAILED";
|
|
46
|
+
// =========================================================================
|
|
47
|
+
// CONFIGURATION / ENVIRONMENT ERRORS (2xx)
|
|
48
|
+
// =========================================================================
|
|
49
|
+
/** Missing or invalid configuration file */
|
|
50
|
+
ExitCodes[ExitCodes["MISSING_CONFIG"] = 200] = "MISSING_CONFIG";
|
|
51
|
+
/** Secret not found or unavailable */
|
|
52
|
+
ExitCodes[ExitCodes["MISSING_SECRET"] = 201] = "MISSING_SECRET";
|
|
53
|
+
/** Required dependency not found */
|
|
54
|
+
ExitCodes[ExitCodes["MISSING_DEPENDENCY"] = 202] = "MISSING_DEPENDENCY";
|
|
55
|
+
/** Environment not properly set up */
|
|
56
|
+
ExitCodes[ExitCodes["ENVIRONMENT_ERROR"] = 203] = "ENVIRONMENT_ERROR";
|
|
57
|
+
/** Invalid configuration values */
|
|
58
|
+
ExitCodes[ExitCodes["INVALID_CONFIG"] = 204] = "INVALID_CONFIG";
|
|
59
|
+
/** Required service unavailable */
|
|
60
|
+
ExitCodes[ExitCodes["SERVICE_UNAVAILABLE"] = 205] = "SERVICE_UNAVAILABLE";
|
|
61
|
+
// =========================================================================
|
|
62
|
+
// EXECUTION FAILURES (3xx)
|
|
63
|
+
// =========================================================================
|
|
64
|
+
/** Workflow execution failed */
|
|
65
|
+
ExitCodes[ExitCodes["WORKFLOW_FAILED"] = 300] = "WORKFLOW_FAILED";
|
|
66
|
+
/** Individual step failed */
|
|
67
|
+
ExitCodes[ExitCodes["STEP_FAILED"] = 301] = "STEP_FAILED";
|
|
68
|
+
/** Adapter execution failed */
|
|
69
|
+
ExitCodes[ExitCodes["ADAPTER_FAILED"] = 302] = "ADAPTER_FAILED";
|
|
70
|
+
/** Plugin execution failed */
|
|
71
|
+
ExitCodes[ExitCodes["PLUGIN_FAILED"] = 303] = "PLUGIN_FAILED";
|
|
72
|
+
/** Operation timeout */
|
|
73
|
+
ExitCodes[ExitCodes["TIMEOUT"] = 304] = "TIMEOUT";
|
|
74
|
+
/** Circular dependency detected */
|
|
75
|
+
ExitCodes[ExitCodes["CIRCULAR_DEPENDENCY"] = 305] = "CIRCULAR_DEPENDENCY";
|
|
76
|
+
/** Dependency failure */
|
|
77
|
+
ExitCodes[ExitCodes["DEPENDENCY_FAILED"] = 306] = "DEPENDENCY_FAILED";
|
|
78
|
+
/** Resource allocation failed */
|
|
79
|
+
ExitCodes[ExitCodes["RESOURCE_ERROR"] = 307] = "RESOURCE_ERROR";
|
|
80
|
+
// =========================================================================
|
|
81
|
+
// SECURITY / PERMISSION ISSUES (4xx)
|
|
82
|
+
// =========================================================================
|
|
83
|
+
/** Permission denied */
|
|
84
|
+
ExitCodes[ExitCodes["PERMISSION_DENIED"] = 400] = "PERMISSION_DENIED";
|
|
85
|
+
/** Vault is locked, requires unlock */
|
|
86
|
+
ExitCodes[ExitCodes["VAULT_LOCKED"] = 401] = "VAULT_LOCKED";
|
|
87
|
+
/** Authentication failed */
|
|
88
|
+
ExitCodes[ExitCodes["AUTH_FAILED"] = 402] = "AUTH_FAILED";
|
|
89
|
+
/** Invalid credentials */
|
|
90
|
+
ExitCodes[ExitCodes["INVALID_CREDENTIALS"] = 403] = "INVALID_CREDENTIALS";
|
|
91
|
+
/** Access forbidden */
|
|
92
|
+
ExitCodes[ExitCodes["FORBIDDEN"] = 404] = "FORBIDDEN";
|
|
93
|
+
/** Secret resolution failed */
|
|
94
|
+
ExitCodes[ExitCodes["SECRET_RESOLUTION_FAILED"] = 405] = "SECRET_RESOLUTION_FAILED";
|
|
95
|
+
/** Security policy violation */
|
|
96
|
+
ExitCodes[ExitCodes["SECURITY_VIOLATION"] = 406] = "SECURITY_VIOLATION";
|
|
97
|
+
// =========================================================================
|
|
98
|
+
// INTERNAL / SYSTEM ERRORS (5xx)
|
|
99
|
+
// =========================================================================
|
|
100
|
+
/** Internal system error */
|
|
101
|
+
ExitCodes[ExitCodes["INTERNAL_ERROR"] = 500] = "INTERNAL_ERROR";
|
|
102
|
+
/** Unhandled exception */
|
|
103
|
+
ExitCodes[ExitCodes["UNHANDLED_EXCEPTION"] = 501] = "UNHANDLED_EXCEPTION";
|
|
104
|
+
/** Engine initialization failed */
|
|
105
|
+
ExitCodes[ExitCodes["INITIALIZATION_FAILED"] = 502] = "INITIALIZATION_FAILED";
|
|
106
|
+
/** State corruption detected */
|
|
107
|
+
ExitCodes[ExitCodes["STATE_CORRUPTION"] = 503] = "STATE_CORRUPTION";
|
|
108
|
+
/** Critical system failure */
|
|
109
|
+
ExitCodes[ExitCodes["CRITICAL_FAILURE"] = 504] = "CRITICAL_FAILURE";
|
|
110
|
+
/** Database error */
|
|
111
|
+
ExitCodes[ExitCodes["DATABASE_ERROR"] = 505] = "DATABASE_ERROR";
|
|
112
|
+
/** File system error */
|
|
113
|
+
ExitCodes[ExitCodes["FILESYSTEM_ERROR"] = 506] = "FILESYSTEM_ERROR";
|
|
114
|
+
/** Network error */
|
|
115
|
+
ExitCodes[ExitCodes["NETWORK_ERROR"] = 507] = "NETWORK_ERROR";
|
|
116
|
+
/** Out of memory */
|
|
117
|
+
ExitCodes[ExitCodes["OUT_OF_MEMORY"] = 508] = "OUT_OF_MEMORY";
|
|
118
|
+
/** Bug detected (should never happen) */
|
|
119
|
+
ExitCodes[ExitCodes["BUG_DETECTED"] = 509] = "BUG_DETECTED";
|
|
120
|
+
})(ExitCodes || (ExitCodes = {}));
|
|
121
|
+
/**
|
|
122
|
+
* Get human-readable description of an exit code
|
|
123
|
+
*
|
|
124
|
+
* @param code - Exit code to describe
|
|
125
|
+
* @returns Human-readable description
|
|
126
|
+
*
|
|
127
|
+
* @example
|
|
128
|
+
* ```typescript
|
|
129
|
+
* const desc = getExitCodeDescription(ExitCodes.VAULT_LOCKED);
|
|
130
|
+
* // Returns: "Vault is locked, requires unlock"
|
|
131
|
+
* ```
|
|
132
|
+
*/
|
|
133
|
+
export function getExitCodeDescription(code) {
|
|
134
|
+
const descriptions = {
|
|
135
|
+
[ExitCodes.SUCCESS]: 'Operation completed successfully',
|
|
136
|
+
// User / Input
|
|
137
|
+
[ExitCodes.INVALID_INPUT]: 'Invalid command-line arguments or input parameters',
|
|
138
|
+
[ExitCodes.INVALID_SCHEMA]: 'Invalid schema or workflow definition',
|
|
139
|
+
[ExitCodes.INVALID_FILE]: 'Required input file not found or invalid',
|
|
140
|
+
[ExitCodes.INVALID_FORMAT]: 'Invalid format or malformed data',
|
|
141
|
+
[ExitCodes.MISSING_REQUIRED_INPUT]: 'Missing required input or parameter',
|
|
142
|
+
[ExitCodes.VALIDATION_FAILED]: 'Validation failed',
|
|
143
|
+
// Config / Environment
|
|
144
|
+
[ExitCodes.MISSING_CONFIG]: 'Missing or invalid configuration file',
|
|
145
|
+
[ExitCodes.MISSING_SECRET]: 'Secret not found or unavailable',
|
|
146
|
+
[ExitCodes.MISSING_DEPENDENCY]: 'Required dependency not found',
|
|
147
|
+
[ExitCodes.ENVIRONMENT_ERROR]: 'Environment not properly set up',
|
|
148
|
+
[ExitCodes.INVALID_CONFIG]: 'Invalid configuration values',
|
|
149
|
+
[ExitCodes.SERVICE_UNAVAILABLE]: 'Required service unavailable',
|
|
150
|
+
// Execution
|
|
151
|
+
[ExitCodes.WORKFLOW_FAILED]: 'Workflow execution failed',
|
|
152
|
+
[ExitCodes.STEP_FAILED]: 'Individual step failed',
|
|
153
|
+
[ExitCodes.ADAPTER_FAILED]: 'Adapter execution failed',
|
|
154
|
+
[ExitCodes.PLUGIN_FAILED]: 'Plugin execution failed',
|
|
155
|
+
[ExitCodes.TIMEOUT]: 'Operation timeout',
|
|
156
|
+
[ExitCodes.CIRCULAR_DEPENDENCY]: 'Circular dependency detected',
|
|
157
|
+
[ExitCodes.DEPENDENCY_FAILED]: 'Dependency failure',
|
|
158
|
+
[ExitCodes.RESOURCE_ERROR]: 'Resource allocation failed',
|
|
159
|
+
// Security
|
|
160
|
+
[ExitCodes.PERMISSION_DENIED]: 'Permission denied',
|
|
161
|
+
[ExitCodes.VAULT_LOCKED]: 'Vault is locked, requires unlock',
|
|
162
|
+
[ExitCodes.AUTH_FAILED]: 'Authentication failed',
|
|
163
|
+
[ExitCodes.INVALID_CREDENTIALS]: 'Invalid credentials',
|
|
164
|
+
[ExitCodes.FORBIDDEN]: 'Access forbidden',
|
|
165
|
+
[ExitCodes.SECRET_RESOLUTION_FAILED]: 'Secret resolution failed',
|
|
166
|
+
[ExitCodes.SECURITY_VIOLATION]: 'Security policy violation',
|
|
167
|
+
// Internal
|
|
168
|
+
[ExitCodes.INTERNAL_ERROR]: 'Internal system error',
|
|
169
|
+
[ExitCodes.UNHANDLED_EXCEPTION]: 'Unhandled exception',
|
|
170
|
+
[ExitCodes.INITIALIZATION_FAILED]: 'Engine initialization failed',
|
|
171
|
+
[ExitCodes.STATE_CORRUPTION]: 'State corruption detected',
|
|
172
|
+
[ExitCodes.CRITICAL_FAILURE]: 'Critical system failure',
|
|
173
|
+
[ExitCodes.DATABASE_ERROR]: 'Database error',
|
|
174
|
+
[ExitCodes.FILESYSTEM_ERROR]: 'File system error',
|
|
175
|
+
[ExitCodes.NETWORK_ERROR]: 'Network error',
|
|
176
|
+
[ExitCodes.OUT_OF_MEMORY]: 'Out of memory',
|
|
177
|
+
[ExitCodes.BUG_DETECTED]: 'Bug detected (should never happen)',
|
|
178
|
+
};
|
|
179
|
+
return descriptions[code] || 'Unknown exit code';
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Get exit code category
|
|
183
|
+
*
|
|
184
|
+
* @param code - Exit code
|
|
185
|
+
* @returns Category name
|
|
186
|
+
*/
|
|
187
|
+
export function getExitCodeCategory(code) {
|
|
188
|
+
if (code === 0)
|
|
189
|
+
return 'success';
|
|
190
|
+
if (code >= 100 && code < 200)
|
|
191
|
+
return 'user-error';
|
|
192
|
+
if (code >= 200 && code < 300)
|
|
193
|
+
return 'config-error';
|
|
194
|
+
if (code >= 300 && code < 400)
|
|
195
|
+
return 'execution-error';
|
|
196
|
+
if (code >= 400 && code < 500)
|
|
197
|
+
return 'security-error';
|
|
198
|
+
if (code >= 500 && code < 600)
|
|
199
|
+
return 'internal-error';
|
|
200
|
+
return 'unknown';
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Check if exit code represents success
|
|
204
|
+
*/
|
|
205
|
+
export function isSuccess(code) {
|
|
206
|
+
return code === ExitCodes.SUCCESS;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Check if exit code represents a user error
|
|
210
|
+
*/
|
|
211
|
+
export function isUserError(code) {
|
|
212
|
+
return code >= 100 && code < 200;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Check if exit code represents a retryable error
|
|
216
|
+
* Retryable: timeouts, network errors, service unavailable
|
|
217
|
+
* Not retryable: validation, permission, bad input
|
|
218
|
+
*/
|
|
219
|
+
export function isRetryable(code) {
|
|
220
|
+
const retryable = [
|
|
221
|
+
ExitCodes.TIMEOUT,
|
|
222
|
+
ExitCodes.SERVICE_UNAVAILABLE,
|
|
223
|
+
ExitCodes.NETWORK_ERROR,
|
|
224
|
+
ExitCodes.DATABASE_ERROR,
|
|
225
|
+
ExitCodes.RESOURCE_ERROR,
|
|
226
|
+
];
|
|
227
|
+
return retryable.includes(code);
|
|
228
|
+
}
|
|
229
|
+
//# sourceMappingURL=ExitCodes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExitCodes.js","sourceRoot":"","sources":["../../src/exit-codes/ExitCodes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,MAAM,CAAN,IAAY,SA0IX;AA1ID,WAAY,SA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C,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ecosystem Core - Central Exports
|
|
3
|
+
*
|
|
4
|
+
* This is the main entry point for the @dev-ecosystem/core package.
|
|
5
|
+
* All schemas, types, errors, exit codes, and utilities are exported from here.
|
|
6
|
+
*
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
* @module @dev-ecosystem/core
|
|
9
|
+
*/
|
|
10
|
+
export * from './exit-codes/ExitCodes.js';
|
|
11
|
+
export * from './errors/ErrorTypes.js';
|
|
12
|
+
export * from './errors/BaseError.js';
|
|
13
|
+
export * from './errors/ErrorCodes.js';
|
|
14
|
+
export * from './errors/mediaproc.codes.js';
|
|
15
|
+
export * from './errors/vaulta.codes.js';
|
|
16
|
+
export * from './errors/devforge.codes.js';
|
|
17
|
+
export * from './errors/orbyt.errors.js';
|
|
18
|
+
export * from './errors/mediaproc.errors.js';
|
|
19
|
+
export * from './errors/vaulta.errors.js';
|
|
20
|
+
export * from './errors/devforge.errors.js';
|
|
21
|
+
export * from './schemas/workflow.schema.zod.js';
|
|
22
|
+
export * from './types/workflow.types.js';
|
|
23
|
+
export * from './schemas/index.js';
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAMH,cAAc,2BAA2B,CAAC;AAM1C,cAAc,wBAAwB,CAAC;AAMvC,cAAc,uBAAuB,CAAC;AAMtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAM3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAM5C,cAAc,kCAAkC,CAAC;AAMjD,cAAc,2BAA2B,CAAC;AAM1C,cAAc,oBAAoB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ecosystem Core - Central Exports
|
|
3
|
+
*
|
|
4
|
+
* This is the main entry point for the @dev-ecosystem/core package.
|
|
5
|
+
* All schemas, types, errors, exit codes, and utilities are exported from here.
|
|
6
|
+
*
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
* @module @dev-ecosystem/core
|
|
9
|
+
*/
|
|
10
|
+
// ============================================================================
|
|
11
|
+
// EXIT CODES
|
|
12
|
+
// ============================================================================
|
|
13
|
+
export * from './exit-codes/ExitCodes.js';
|
|
14
|
+
// ============================================================================
|
|
15
|
+
// ERROR TYPES & SEVERITY
|
|
16
|
+
// ============================================================================
|
|
17
|
+
export * from './errors/ErrorTypes.js';
|
|
18
|
+
// ============================================================================
|
|
19
|
+
// BASE ERROR & UTILITIES
|
|
20
|
+
// ============================================================================
|
|
21
|
+
export * from './errors/BaseError.js';
|
|
22
|
+
// ============================================================================
|
|
23
|
+
// ERROR CODES - All Components
|
|
24
|
+
// ============================================================================
|
|
25
|
+
export * from './errors/ErrorCodes.js';
|
|
26
|
+
export * from './errors/mediaproc.codes.js';
|
|
27
|
+
export * from './errors/vaulta.codes.js';
|
|
28
|
+
export * from './errors/devforge.codes.js';
|
|
29
|
+
// ============================================================================
|
|
30
|
+
// ERROR CLASSES - All Components
|
|
31
|
+
// ============================================================================
|
|
32
|
+
export * from './errors/orbyt.errors.js';
|
|
33
|
+
export * from './errors/mediaproc.errors.js';
|
|
34
|
+
export * from './errors/vaulta.errors.js';
|
|
35
|
+
export * from './errors/devforge.errors.js';
|
|
36
|
+
// ============================================================================
|
|
37
|
+
// WORKFLOW SCHEMAS - Zod (Runtime Validation)
|
|
38
|
+
// ============================================================================
|
|
39
|
+
export * from './schemas/workflow.schema.zod.js';
|
|
40
|
+
// ============================================================================
|
|
41
|
+
// WORKFLOW TYPES - TypeScript Definitions
|
|
42
|
+
// ============================================================================
|
|
43
|
+
export * from './types/workflow.types.js';
|
|
44
|
+
// ============================================================================
|
|
45
|
+
// SCHEMA UTILITIES
|
|
46
|
+
// ============================================================================
|
|
47
|
+
export * from './schemas/index.js';
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,+EAA+E;AAC/E,aAAa;AACb,+EAA+E;AAE/E,cAAc,2BAA2B,CAAC;AAE1C,+EAA+E;AAC/E,yBAAyB;AACzB,+EAA+E;AAE/E,cAAc,wBAAwB,CAAC;AAEvC,+EAA+E;AAC/E,yBAAyB;AACzB,+EAA+E;AAE/E,cAAc,uBAAuB,CAAC;AAEtC,+EAA+E;AAC/E,+BAA+B;AAC/B,+EAA+E;AAE/E,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAE3C,+EAA+E;AAC/E,iCAAiC;AACjC,+EAA+E;AAE/E,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAE5C,+EAA+E;AAC/E,8CAA8C;AAC9C,+EAA+E;AAE/E,cAAc,kCAAkC,CAAC;AAEjD,+EAA+E;AAC/E,0CAA0C;AAC1C,+EAA+E;AAE/E,cAAc,2BAA2B,CAAC;AAE1C,+EAA+E;AAC/E,mBAAmB;AACnB,+EAA+E;AAE/E,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=LogFormat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogFormat.d.ts","sourceRoot":"","sources":["../../src/logging/LogFormat.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogFormat.js","sourceRoot":"","sources":["../../src/logging/LogFormat.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|