@shipstatic/types 2.5.0-beta.0 → 2.5.0-beta.1

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
@@ -522,7 +522,7 @@ export declare function hasUnbuiltMarker(filePath: string): boolean;
522
522
  export interface PingResponse {
523
523
  /** Always true if service is healthy */
524
524
  success: boolean;
525
- /** Optional timestamp */
525
+ /** Server time in unix seconds — the one wire unit for timestamps. */
526
526
  timestamp?: number;
527
527
  }
528
528
  /**
@@ -727,20 +727,6 @@ export interface StaticFile {
727
727
  /** The size of the file in bytes. */
728
728
  size: number;
729
729
  }
730
- /**
731
- * Progress information for deploy/upload operations.
732
- * Provides consistent percentage-based progress with byte-level details.
733
- */
734
- export interface ProgressInfo {
735
- /** Progress percentage (0-100) */
736
- percent: number;
737
- /** Number of bytes loaded so far */
738
- loaded: number;
739
- /** Total number of bytes to load. May be 0 if unknown initially */
740
- total: number;
741
- /** Current file being processed (optional) */
742
- file?: string;
743
- }
744
730
  /** Default API URL if not otherwise configured. */
745
731
  export declare const DEFAULT_API = "https://api.shipstatic.com";
746
732
  /**
@@ -903,6 +889,12 @@ export interface Activity {
903
889
  /**
904
890
  * Parsed activity metadata.
905
891
  * Different events populate different fields.
892
+ *
893
+ * Naming convention: meta booleans are event-scoped predicates and carry
894
+ * their prefix (`isUpdate`, `wasVerified`, `hasConfig`, `hasPassword`),
895
+ * while entity booleans are bare nouns (`Deployment.config`,
896
+ * `Deployment.password`). Two vocabularies, each internally consistent —
897
+ * deliberate, not drift.
906
898
  */
907
899
  export interface ActivityMeta {
908
900
  /** Number of files in deployment */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipstatic/types",
3
- "version": "2.5.0-beta.0",
3
+ "version": "2.5.0-beta.1",
4
4
  "description": "Shared types for ShipStatic platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -853,7 +853,7 @@ export function hasUnbuiltMarker(filePath: string): boolean {
853
853
  export interface PingResponse {
854
854
  /** Always true if service is healthy */
855
855
  success: boolean;
856
- /** Optional timestamp */
856
+ /** Server time in unix seconds — the one wire unit for timestamps. */
857
857
  timestamp?: number;
858
858
  }
859
859
 
@@ -1179,25 +1179,6 @@ export interface StaticFile {
1179
1179
  size: number;
1180
1180
  }
1181
1181
 
1182
- // =============================================================================
1183
- // PROGRESS TRACKING
1184
- // =============================================================================
1185
-
1186
- /**
1187
- * Progress information for deploy/upload operations.
1188
- * Provides consistent percentage-based progress with byte-level details.
1189
- */
1190
- export interface ProgressInfo {
1191
- /** Progress percentage (0-100) */
1192
- percent: number;
1193
- /** Number of bytes loaded so far */
1194
- loaded: number;
1195
- /** Total number of bytes to load. May be 0 if unknown initially */
1196
- total: number;
1197
- /** Current file being processed (optional) */
1198
- file?: string;
1199
- }
1200
-
1201
1182
  // =============================================================================
1202
1183
  // PLATFORM CONSTANTS
1203
1184
  // =============================================================================
@@ -1447,6 +1428,12 @@ export interface Activity {
1447
1428
  /**
1448
1429
  * Parsed activity metadata.
1449
1430
  * Different events populate different fields.
1431
+ *
1432
+ * Naming convention: meta booleans are event-scoped predicates and carry
1433
+ * their prefix (`isUpdate`, `wasVerified`, `hasConfig`, `hasPassword`),
1434
+ * while entity booleans are bare nouns (`Deployment.config`,
1435
+ * `Deployment.password`). Two vocabularies, each internally consistent —
1436
+ * deliberate, not drift.
1450
1437
  */
1451
1438
  export interface ActivityMeta {
1452
1439
  // Deployment events