@guinetik/primitives-ts 0.2.4 → 0.2.5
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.
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deployment History Types
|
|
3
|
+
* Shared between API and Admin for deployment history tracking
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Deployment status types
|
|
7
|
+
*/
|
|
8
|
+
export type DeploymentRecordStatus = 'success' | 'failed' | 'in-progress';
|
|
9
|
+
/**
|
|
10
|
+
* Individual deployment record
|
|
11
|
+
*/
|
|
12
|
+
export interface DeploymentRecord {
|
|
13
|
+
/** Deployment timestamp (ISO 8601 string) */
|
|
14
|
+
timestamp: string;
|
|
15
|
+
/** Application name (api, admin, nginx, etc.) */
|
|
16
|
+
app: string;
|
|
17
|
+
/** Deployment status */
|
|
18
|
+
status: DeploymentRecordStatus;
|
|
19
|
+
/** User who deployed (e.g., 'system', 'guinetik', etc.) */
|
|
20
|
+
deployer: string;
|
|
21
|
+
/** Application version (if available from package.json) */
|
|
22
|
+
version?: string;
|
|
23
|
+
/** Deployment duration in seconds (if available) */
|
|
24
|
+
duration?: number;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Deployment history response
|
|
28
|
+
*/
|
|
29
|
+
export interface DeploymentHistoryResponse {
|
|
30
|
+
/** List of deployment records */
|
|
31
|
+
deployments: DeploymentRecord[];
|
|
32
|
+
/** Total number of deployments found */
|
|
33
|
+
total: number;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=deployment-history.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployment-history.types.d.ts","sourceRoot":"","sources":["../src/deployment-history.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG,QAAQ,GAAG,aAAa,CAAC;AAE1E;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,6CAA6C;IAC7C,SAAS,EAAE,MAAM,CAAC;IAElB,iDAAiD;IACjD,GAAG,EAAE,MAAM,CAAC;IAEZ,wBAAwB;IACxB,MAAM,EAAE,sBAAsB,CAAC;IAE/B,2DAA2D;IAC3D,QAAQ,EAAE,MAAM,CAAC;IAEjB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,oDAAoD;IACpD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,iCAAiC;IACjC,WAAW,EAAE,gBAAgB,EAAE,CAAC;IAEhC,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAC;CACf"}
|
package/dist/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from './website.types';
|
|
|
13
13
|
export * from './firestore.types';
|
|
14
14
|
export * from './website-firestore.types';
|
|
15
15
|
export * from './totp.types';
|
|
16
|
+
export * from './deployment-history.types';
|
|
16
17
|
export type { Security, SecurityChallengeOptions, SecurityChallengeResult } from './security.interface';
|
|
17
18
|
export { SecurityLevel } from './security.interface';
|
|
18
19
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,cAAc,cAAc,CAAC;AAG7B,cAAc,gBAAgB,CAAC;AAG/B,cAAc,iBAAiB,CAAC;AAGhC,cAAc,mBAAmB,CAAC;AAGlC,cAAc,2BAA2B,CAAC;AAG1C,cAAc,cAAc,CAAC;AAG7B,YAAY,EAAE,QAAQ,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACxG,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,cAAc,cAAc,CAAC;AAG7B,cAAc,gBAAgB,CAAC;AAG/B,cAAc,iBAAiB,CAAC;AAGhC,cAAc,mBAAmB,CAAC;AAGlC,cAAc,2BAA2B,CAAC;AAG1C,cAAc,cAAc,CAAC;AAG7B,cAAc,4BAA4B,CAAC;AAG3C,YAAY,EAAE,QAAQ,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACxG,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -36,5 +36,7 @@ __exportStar(require("./firestore.types"), exports);
|
|
|
36
36
|
__exportStar(require("./website-firestore.types"), exports);
|
|
37
37
|
// TOTP/2FA types
|
|
38
38
|
__exportStar(require("./totp.types"), exports);
|
|
39
|
+
// Deployment history types
|
|
40
|
+
__exportStar(require("./deployment-history.types"), exports);
|
|
39
41
|
var security_interface_1 = require("./security.interface");
|
|
40
42
|
Object.defineProperty(exports, "SecurityLevel", { enumerable: true, get: function () { return security_interface_1.SecurityLevel; } });
|